/*!
Theme Name: teohua_v2
Theme URI: http://underscores.me/
Author: Danny García
Author URI: https://www.dgarcia.mx
Description: Template personalizado para Teouhua Centro Holístico
Version: 2.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: teohua
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

teohua is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;600;800&display=swap');

a{text-decoration: none;}

.skip-link:not(:focus) {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: #fff;
  background-color: var(--bs-primary);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(35, 22, 54, 0.3);
  font-size: 0.86rem;
  font-weight: 700;
}

.blur-up {-webkit-filter: blur(5px);filter: blur(5px);transition: filter 400ms, -webkit-filter 400ms;}
.blur-up.lazyloaded {-webkit-filter: blur(0);filter: blur(0);}

.bg-one{background-color: #422D6C;}
.bg-two{background-color: #9A4082;}
.bg-three{background-color: #5F409A;}

/* Encabezado compacto y persistente. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #fff;
  box-shadow: 0 2px 18px rgba(66, 45, 108, 0.1);
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Franja superior con el degradado de marca en vez del morado plano de Bootstrap. */
#topbar {
  overflow: hidden;
  max-height: 36px;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  transition: max-height 220ms ease, opacity 180ms ease, transform 220ms ease;
}

#topbar ul {gap: .1rem;}
#topbar ul li a{display: inline-flex;min-height: 36px;align-items: center;gap: .45rem;padding: .35rem .55rem;color: rgba(255, 255, 255, .92);font-size: .78rem;letter-spacing: .015em;transition: color 160ms ease, background-color 160ms ease;}
#topbar ul li a:hover,
#topbar ul li a:focus{color: #fff;background-color: rgba(255, 255, 255, .1);}
#topbar ul li a i:before{font-size: 1rem;transition: transform 160ms ease;}
#topbar ul li a:hover i:before{transform: scale(1.12);}

#topbar .social-top .nav-link:not(.disabled) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  transition: background-color 160ms ease, transform 160ms ease;
}

#topbar .social-top .nav-link:not(.disabled):hover,
#topbar .social-top .nav-link:not(.disabled):focus {
  background-color: rgba(255, 255, 255, .18);
  transform: translateY(-2px);
}

.topbar-social-label {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 .5rem;
  color: rgba(255, 255, 255, .78);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#menu-principal li{position: relative;padding: 0 8px;}
ul#menu-principal li a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .45rem 0;
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--bs-primary);
  font-weight: 600;
  letter-spacing: .02em;
  transition: color 180ms ease;
}
ul#menu-principal li a:hover {color: var(--bs-secondary);}

/* Subrayado animado en degradado (usa ::before para no chocar con la flecha
   del dropdown, que ya usa ::after). */
ul#menu-principal li a::before {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  content: "";
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border-radius: 2px;
  transition: width 220ms ease;
}

ul#menu-principal li a:hover::before,
#menu-principal .current-menu-item > .nav-link::before,
#menu-principal .current-menu-parent > .nav-link::before,
#menu-principal .current-menu-item > .dropdown-toggle::before,
#menu-principal .current-menu-parent > .dropdown-toggle::before {
  width: 100%;
}

/* Resalta la página/sección activa, igual que ya hace el menú móvil. */
#menu-principal .current-menu-item > .nav-link,
#menu-principal .current-menu-parent > .nav-link,
#menu-principal .current-menu-item > .dropdown-toggle,
#menu-principal .current-menu-parent > .dropdown-toggle {
  color: var(--bs-secondary);
}

#menu-principal .dropdown-toggle::after {
  margin-left: .4rem;
  vertical-align: .15em;
  transition: transform 180ms ease;
}

#menu-principal .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Dropdown de escritorio con el mismo lenguaje visual que el resto del sitio. */
#menu-principal .dropdown-menu {
  margin-top: .5rem;
  padding: .6rem;
  border: 1px solid rgba(66, 45, 108, .1);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(66, 45, 108, .18);
}

#menu-principal .dropdown-item {
  padding: .55rem .9rem;
  color: #352f38;
  font-size: .92rem;
  font-weight: 500;
  border-radius: 10px;
  transition: background-color 150ms ease, color 150ms ease;
}

#menu-principal .dropdown-item:hover,
#menu-principal .dropdown-item:focus {
  color: var(--bs-primary);
  background-color: rgba(154, 64, 152, .08);
}

#menu-principal .dropdown-item.active,
#menu-principal .dropdown-item:active {
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
}

@media (min-width: 1200px) {
  #menu-principal .dropdown-menu.show {
    animation: teohua-dropdown-in 160ms ease;
  }
}

@keyframes teohua-dropdown-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Logo: pequeño feedback al pasar el mouse/foco. */
.navbar-brand img {
  transition: transform 200ms ease;
}

.navbar-brand:hover img,
.navbar-brand:focus-visible img {
  transform: scale(1.04);
}

/* Botones ícono del header (buscar, carrito, cuenta): circulares, mismo
   tratamiento en escritorio y móvil — se rellenan con el degradado al
   pasar el mouse o el foco. */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: 1rem;
}

.navbar-actions .btn,
.mobile-header-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--bs-primary);
  background-color: transparent;
  border: 1.5px solid rgba(154, 64, 152, .22);
  border-radius: 50%;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.navbar-actions .btn {
  width: 46px;
  height: 46px;
  font-size: 1.05rem;
}

.navbar-actions .btn:hover,
.navbar-actions .btn:focus-visible,
.mobile-header-actions .btn:hover,
.mobile-header-actions .btn:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(66, 45, 108, .22);
  transform: translateY(-2px);
}

/* Badge del carrito: pequeño "ping" cuando hay artículos, para llamar la atención sin ser invasivo. */
.js-cart-count {
  font-size: .68rem;
  font-weight: 700;
}

.js-cart-count.is-updated {
  animation: teohua-badge-ping .8s ease-out;
}

@keyframes teohua-badge-ping {
  0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, .55); }
  70% { box-shadow: 0 0 0 8px rgba(220, 53, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .js-cart-count {
    animation: none;
  }
}

/* El header completo es sticky; al desplazarse se oculta la franja informativa. */
.site-navbar-sticky {
  position: relative;
  background-color: #fff;
}

.site-navbar-sticky .navbar {
  min-height: 94px;
  padding: .45rem 0;
  transition: min-height 220ms ease, padding 220ms ease;
}

.site-navbar-sticky .navbar-brand img {
  display: block;
  width: 124px;
  height: auto;
  transition: width 220ms ease, transform 200ms ease;
}

.site-header.is-scrolled #topbar {
  max-height: 0;
  opacity: 0;
  transform: translateY(-100%);
}

.site-header.is-scrolled .site-navbar-sticky .navbar {
  min-height: 76px;
  padding-top: .25rem;
  padding-bottom: .25rem;
}

.site-header.is-scrolled .site-navbar-sticky .navbar-brand img {
  width: 98px;
}

.mobile-header {
  position: relative;
  background-color: #fff;
}

.mobile-header .navbar {
  position: relative;
  min-height: 72px;
  padding: 0.5rem 0;
}

.mobile-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
}

.mobile-header .navbar-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-right: auto;
  color: var(--bs-primary);
  font-weight: 600;
}

.mobile-header .navbar-brand img {
  display: block;
  width: auto;
  max-width: 104px;
  max-height: 52px;
  height: auto;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.35rem;
}

.mobile-header-actions .btn,
.mobile-header-actions .navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
}

.mobile-header-actions .btn i {
  font-size: 1.15rem;
}

.mobile-header .navbar-collapse {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1040;
  width: 100%;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  padding: 0.5rem 0.75rem 0.85rem;
  background-color: rgba(255, 255, 255, .98);
  border-top: 1px solid rgba(66, 45, 108, .08);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 20px 38px rgba(40, 26, 61, .18);
}

.mobile-header .navbar-toggler {
  color: var(--bs-primary);
  background-color: transparent;
  border: 1.5px solid rgba(154, 64, 152, .22);
  border-radius: 50%;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mobile-header .navbar-toggler:hover,
.mobile-header .navbar-toggler:focus-visible,
.mobile-header .navbar-toggler[aria-expanded="true"] {
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border-color: transparent;
}

.teohua-menu-icon {
  position: relative;
  display: flex;
  width: 20px;
  height: 16px;
  flex-direction: column;
  justify-content: space-between;
}

.teohua-menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.navbar-toggler[aria-expanded="true"] .teohua-menu-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .teohua-menu-icon span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .teohua-menu-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#mobile-menu .menu-item {
  position: relative;
  border-top: 1px solid rgba(66, 45, 108, 0.14);
}

#mobile-menu .nav-link {
  display: block;
  padding: 0.85rem .5rem;
  border-radius: 10px;
  color: var(--bs-primary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, padding-left 160ms ease;
}

.mobile-menu-utilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: .7rem;
  padding-top: .7rem;
  border-top: 1px solid rgba(66, 45, 108, .1);
  gap: .55rem;
}

.mobile-menu-utilities a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
  background-color: #f7f3f8;
  border-radius: 11px;
  font-size: .8rem;
  font-weight: 650;
  gap: .45rem;
}

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 3px solid rgba(154, 64, 130, .34);
  outline-offset: 3px;
}

#mobile-menu .nav-link:hover,
#mobile-menu .nav-link:focus,
#mobile-menu .current-menu-item > .nav-link {
  padding-left: .8rem;
  color: var(--bs-secondary);
  background-color: rgba(154, 64, 152, .07);
}

#mobile-menu .dropdown-toggle::after {
  transition: transform 180ms ease;
}

#mobile-menu .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

#mobile-menu .dropdown-menu {
  position: static;
  width: 100%;
  margin: 0 0 0.5rem;
  border: 0;
  border-left: 3px solid var(--bs-secondary);
  border-radius: 0;
  box-shadow: none;
}

#mobile-menu .dropdown-item {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  color: var(--bs-primary);
  font-size: .92rem;
  transition: background-color 150ms ease, color 150ms ease;
}

#mobile-menu .dropdown-item:hover,
#mobile-menu .dropdown-item:focus {
  color: var(--bs-secondary);
  background-color: rgba(154, 64, 152, .08);
}

.text-white .aioseo-breadcrumb a {color: white !important;}

.homepage-carousel,
.homepage-carousel .carousel-inner,
.homepage-carousel .carousel-item {height: clamp(560px, 90vh, 820px);}
.main-swiper {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Degradado de protección: el texto ya no depende por completo del
   contraste de la foto de fondo (antes no había ningún overlay). */
.main-swiper:before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(180deg, rgba(20, 12, 28, .1) 0%, rgba(20, 12, 28, .12) 45%, rgba(20, 12, 28, .55) 100%);
  pointer-events: none;
}

.main-swiper > .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.main-swiper > .container > .row {
  width: 100%;
}

/* Botones del hero: el mismo degradado de marca que el resto del sitio,
   en vez de los .btn-secondary/.btn-primary sólidos de antes. */
.hero-cta {
  padding: .85rem 1.75rem;
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border: 0;
  border-radius: 13px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
  letter-spacing: .02em;
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  color: #fff;
  filter: brightness(1.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .34);
  transform: translateY(-2px);
}

.hero-cta-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .8);
  box-shadow: none;
}

.hero-cta-outline:hover,
.hero-cta-outline:focus-visible {
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
}

/* Controles del carrusel principal: mismo lenguaje circular/de marca que
   testimonios, talleres y productos (antes eran los genéricos de Bootstrap). */
.homepage-carousel .carousel-control-prev,
.homepage-carousel .carousel-control-next {
  z-index: 2;
  width: 52px;
  height: 52px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  color: var(--bs-primary);
  background-color: rgba(255, 255, 255, .92);
  border-radius: 50%;
  opacity: 1;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.homepage-carousel .carousel-control-prev {
  left: 1.25rem;
}

.homepage-carousel .carousel-control-next {
  right: 1.25rem;
}

.homepage-carousel .carousel-control-prev:hover,
.homepage-carousel .carousel-control-prev:focus,
.homepage-carousel .carousel-control-next:hover,
.homepage-carousel .carousel-control-next:focus {
  color: #fff;
  background-color: var(--bs-primary);
  opacity: 1;
  transform: translateY(-52%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .3);
}

.homepage-carousel .carousel-control-prev i,
.homepage-carousel .carousel-control-next i {
  font-size: 1.2rem;
}

.homepage-carousel .carousel-indicators {
  z-index: 2;
  margin-right: 0;
  margin-bottom: 1.5rem;
  margin-left: 0;
  gap: .5rem;
}

.homepage-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-top: 0;
  border-bottom: 0;
  border-radius: 50%;
  opacity: .55;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  transition: width 220ms ease, opacity 180ms ease, background-color 180ms ease, border-radius 220ms ease;
}

.homepage-carousel .carousel-indicators .active {
  width: 28px;
  background: linear-gradient(90deg, var(--bs-secondary), var(--bs-primary));
  border-radius: 999px;
  opacity: 1;
}

@media (max-width: 767.98px) {
  .homepage-carousel .carousel-control-prev,
  .homepage-carousel .carousel-control-next {
    width: 42px;
    height: 42px;
  }

  .homepage-carousel .carousel-control-prev {
    left: .6rem;
  }

  .homepage-carousel .carousel-control-next {
    right: .6rem;
  }
}
.btn {text-transform: uppercase; font-weight: 300;}

.servicio-content {position: absolute;top: 0;left: 0;width: 32%;height: 100%;display: flex;padding: 12px;}

.equilibrium-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background:
    radial-gradient(circle at 4% 12%, rgba(154, 64, 130, .09), transparent 22rem),
    radial-gradient(circle at 96% 88%, rgba(66, 45, 108, .08), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #fcf9fc 100%);
}

.equilibrium-section::before,
.equilibrium-section::after {
  position: absolute;
  border: 1px solid rgba(154, 64, 130, .1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.equilibrium-section::before {
  top: -9rem;
  left: -9rem;
  width: 22rem;
  height: 22rem;
}

.equilibrium-section::after {
  right: -7rem;
  bottom: -10rem;
  width: 19rem;
  height: 19rem;
}

.equilibrium-section > .container {
  position: relative;
  z-index: 1;
}

.equilibrium-heading {
  max-width: 760px;
  margin: 0 auto clamp(2.25rem, 4vw, 3.5rem);
}

.equilibrium-eyebrow,
.equilibrium-card__kicker {
  margin: 0 0 .55rem;
  color: #8f367f;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.equilibrium-heading .main-title {
  margin-bottom: .8rem;
  line-height: 1.12;
}

.equilibrium-intro {
  max-width: 660px;
  margin: 0 auto;
  color: #504b55;
  line-height: 1.65;
}

.equilibrium-divider {
  margin-top: 1.15rem;
}

.equilibrium-divider img {
  display: block;
  width: 190px;
  height: auto;
  margin: 0 auto;
}

.equilibrium-showcase {
  max-width: 1120px;
  margin: 0 auto;
}

.equilibrium-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.equilibrium-services--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.equilibrium-services--count-1 {
  display: block;
}

.equilibrium-card {
  display: flex;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  color: #342f39;
  text-decoration: none;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(79, 48, 112, .1);
  border-radius: 26px;
  box-shadow: 0 20px 55px rgba(62, 39, 78, .12);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.equilibrium-showcase--single .equilibrium-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  min-height: 410px;
}

.equilibrium-card__media {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: #ece7ee;
}

.equilibrium-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(65, 44, 106, .08), transparent 55%);
  content: "";
  pointer-events: none;
}

.equilibrium-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.equilibrium-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3.5rem);
}

.equilibrium-card__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.equilibrium-card__icon {
  display: inline-flex;
  flex: 0 0 76px;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(66, 45, 108, .2);
}

.equilibrium-card__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.equilibrium-card__heading h3 {
  margin: 0;
  color: #402b63;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
}

.equilibrium-card__body > p {
  margin: 0 0 1.6rem;
  color: #5c5660;
  font-size: 1.05rem;
  line-height: 1.7;
}

.equilibrium-card__cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .65rem;
  min-height: 48px;
  padding: .75rem 1.15rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #432d6c, #a33c97);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(92, 43, 112, .22);
  transition: gap .25s ease, transform .25s ease;
}

.equilibrium-card:hover {
  color: #342f39;
  border-color: rgba(154, 64, 130, .28);
  box-shadow: 0 28px 65px rgba(62, 39, 78, .18);
  transform: translateY(-5px);
}

.equilibrium-card:hover .equilibrium-card__media > img {
  transform: scale(1.045);
}

.equilibrium-card:hover .equilibrium-card__cta {
  gap: .9rem;
  transform: translateX(2px);
}

.equilibrium-card:focus-visible {
  outline: 3px solid rgba(154, 64, 130, .5);
  outline-offset: 4px;
}

.equilibrium-services:not(.equilibrium-services--count-1) .equilibrium-card,
.equilibrium-carousel .equilibrium-card {
  flex-direction: column;
}

.equilibrium-services:not(.equilibrium-services--count-1) .equilibrium-card__media,
.equilibrium-carousel .equilibrium-card__media {
  aspect-ratio: 3 / 2;
  min-height: 0;
}

.equilibrium-services:not(.equilibrium-services--count-1) .equilibrium-card__body,
.equilibrium-carousel .equilibrium-card__body {
  flex: 1;
  justify-content: flex-start;
  padding: 1.5rem;
}

.equilibrium-services:not(.equilibrium-services--count-1) .equilibrium-card__icon,
.equilibrium-carousel .equilibrium-card__icon {
  flex-basis: 62px;
  width: 62px;
  height: 62px;
  border-radius: 18px;
}

.equilibrium-carousel {
  overflow: hidden;
  padding: .35rem;
}

.equilibrium-carousel .swiper-slide {
  height: auto;
}

.equilibrium-navigation {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.75rem;
}

.equilibrium-navigation .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
}

@media (max-width: 991.98px) {
  .equilibrium-showcase--single .equilibrium-card {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  }

  .equilibrium-services--count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .equilibrium-section {
    padding: 3.75rem 0;
  }

  .equilibrium-heading {
    margin-bottom: 2rem;
  }

  .equilibrium-intro {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .equilibrium-divider img {
    width: 168px;
  }

  .equilibrium-services,
  .equilibrium-services--count-3 {
    grid-template-columns: 1fr;
  }

  .equilibrium-showcase--single .equilibrium-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .equilibrium-showcase--single .equilibrium-card__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .equilibrium-card__body {
    padding: 1.5rem;
  }

  .equilibrium-card__heading {
    margin-bottom: 1rem;
  }

  .equilibrium-card__icon {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }

  .equilibrium-card__icon img {
    width: 38px;
    height: 38px;
  }

  .equilibrium-card__heading h3 {
    font-size: 1.65rem;
  }

  .equilibrium-card__body > p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .equilibrium-section {
    padding: 3.25rem 0;
  }

  .equilibrium-heading .main-title {
    font-size: 2rem;
  }

  .equilibrium-card {
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .equilibrium-card,
  .equilibrium-card__media > img,
  .equilibrium-card__cta {
    transition: none;
  }
}

.testimonials-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(154, 64, 130, 0.08), transparent 24rem),
    radial-gradient(circle at 92% 82%, rgba(66, 45, 108, 0.07), transparent 22rem),
    linear-gradient(180deg, #fff 0%, #fbf8fb 100%);
}

.testimonials-heading {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.testimonials-eyebrow {
  color: var(--bs-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.testimonials-heading h2 {
  color: var(--bs-primary);
  letter-spacing: -0.025em;
}

.testimonials-heading h2:after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 1rem auto 0;
  content: "";
  background: linear-gradient(90deg, var(--bs-secondary), var(--bs-primary));
  border-radius: 999px;
}

.testimonials-intro {
  color: #665f6b;
  font-size: 1.05rem;
  line-height: 1.7;
}

.testimonials-intro > :last-child {
  margin-bottom: 0;
}

.testimonials-carousel-shell {
  position: relative;
  z-index: 1;
}

.testimoniales {
  overflow: hidden;
  padding: 0.75rem 0.35rem 1.2rem;
}

.testimonial-slide {
  height: auto;
}

.testimonial-card {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 330px;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  background-color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(66, 45, 108, 0.11);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(66, 45, 108, 0.1);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.testimonial-card:before {
  position: absolute;
  top: 0;
  right: 1.6rem;
  left: 1.6rem;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--bs-secondary), var(--bs-primary), transparent);
  border-radius: 0 0 999px 999px;
}

.testimonial-card:hover {
  border-color: rgba(154, 64, 130, 0.23);
  box-shadow: 0 22px 52px rgba(66, 45, 108, 0.15);
  transform: translateY(-5px);
}

.testimonial-quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(66, 45, 108, 0.2);
  font-size: 1.6rem;
}

.testimonial-quote-icon i {
  display: flex;
}

.testimonial-quote {
  flex: 1;
  color: #4a444e;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  font-style: normal;
  line-height: 1.72;
  text-align: left;
}

.testimonial-quote > :last-child {
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(66, 45, 108, 0.1);
  gap: 0.9rem;
}

.testimonial-avatar {
  display: inline-flex;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  background-color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(66, 45, 108, 0.14), 0 8px 20px rgba(66, 45, 108, 0.13);
}

.testimonial-avatar-fallback {
  color: var(--bs-secondary);
  background: linear-gradient(145deg, #faf4f8, #eee8f4);
  font-size: 1.45rem;
}

.testimonial-author-name {
  color: var(--bs-primary);
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.testimonials-controls {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: 48px minmax(100px, auto) 48px;
  margin-top: 0.35rem;
  gap: 1rem;
}

.testimonial-control {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--bs-primary);
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.16);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(66, 45, 108, 0.11);
  font-size: 1.2rem;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.testimonial-control:hover,
.testimonial-control:focus-visible {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  transform: translateY(-2px);
}

.testimonial-control:focus-visible {
  outline: 3px solid rgba(154, 64, 130, 0.35);
  outline-offset: 3px;
}

.testimonial-control.swiper-button-disabled {
  cursor: default;
  opacity: 0.4;
  transform: none;
}

.testimonial-control.swiper-button-lock,
.testimonials-pagination.swiper-pagination-lock {
  display: none;
}

.testimonials-pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
}

.testimonials-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background-color: var(--bs-primary);
  opacity: 0.25;
  transition: width 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
  width: 24px;
  background-color: var(--bs-secondary);
  border-radius: 999px;
  opacity: 1;
}

@media (max-width: 767.98px) {
  .testimonials-section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .testimonials-heading {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .testimonials-intro {
    font-size: 1rem;
  }

  .testimoniales {
    margin-right: -0.15rem;
    margin-left: -0.15rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .testimonial-card {
    min-height: 0;
    padding: 1.5rem;
  }

  .testimonial-quote {
    line-height: 1.65;
  }

  .testimonials-controls {
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card,
  .testimonial-control {
    transition: none;
  }
}

.products-section {
  position: relative;
  overflow: hidden;
  background-color: #34264b;
  background-position: center;
  background-size: cover;
}

.products-section:before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, rgba(36, 24, 53, 0.5), rgba(66, 45, 108, 0.2));
  pointer-events: none;
}

.products-panel {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 5vw, 4.75rem);
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(29, 17, 40, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.products-heading {
  max-width: 740px;
}

.products-eyebrow {
  color: var(--bs-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.products-heading h2 {
  letter-spacing: -0.025em;
}

.products-heading h2:after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 1rem auto 0;
  content: "";
  background: linear-gradient(90deg, var(--bs-secondary), var(--bs-primary));
  border-radius: 999px;
}

.products-intro {
  color: #665f6b;
  font-size: 1.05rem;
  line-height: 1.7;
}

.products-carousel-shell {
  position: relative;
}

.productos {
  overflow: hidden;
  padding: 0.5rem 0.35rem 1.25rem;
}

.product-slide {
  height: auto;
  padding: 0.4rem 0.15rem 1rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(66, 45, 108, 0.11);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(154, 64, 130, 0.25);
  box-shadow: 0 20px 48px rgba(66, 45, 108, 0.18);
  transform: translateY(-6px);
}

.product-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  padding: 0.8rem;
  background: linear-gradient(145deg, #faf8fb, #f1edf4);
}

.product-card-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 420ms ease;
}

.product-card:hover .product-card-image,
.product-card:focus-within .product-card-image {
  transform: scale(1.035);
}

.product-card-badges {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.product-badge {
  padding: 0.35rem 0.65rem;
  color: #fff;
  background-color: var(--bs-primary);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-badge-sale {
  background-color: var(--bs-secondary);
}

.product-badge-stock {
  background-color: #625968;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem 1.2rem 0.75rem;
}

.product-card-category {
  align-self: flex-start;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.65rem;
  color: var(--bs-secondary);
  background-color: rgba(154, 64, 130, 0.09);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.75em;
  margin: 0 0 0.85rem;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.015em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-title a {
  color: #352f38;
}

.product-card-title a:hover,
.product-card-title a:focus {
  color: var(--bs-secondary);
}

.product-card-price {
  margin-top: auto;
  color: var(--bs-primary);
  font-size: 1.18rem;
  font-weight: 700;
}

.product-card-price del {
  margin-right: 0.35rem;
  color: #837b87;
  font-size: 0.86rem;
  font-weight: 400;
}

.product-card-price ins {
  text-decoration: none;
}

.product-card-footer {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 0.65rem 1.2rem 1.2rem;
  gap: 0.75rem;
}

.product-card-details {
  color: var(--bs-primary);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.product-card-details:hover,
.product-card-details:focus {
  color: var(--bs-secondary);
}

.product-card .product-card-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  color: #fff;
  background-color: var(--bs-secondary);
  border: 0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  gap: 0.4rem;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.product-card .product-card-cart:hover,
.product-card .product-card-cart:focus,
.product-card .product-card-cart.added {
  color: #fff;
  background-color: var(--bs-primary);
  box-shadow: 0 8px 20px rgba(66, 45, 108, 0.2);
  transform: translateY(-1px);
}

.product-card .product-card-cart.loading {
  opacity: 0.65;
  pointer-events: none;
}

.product-card .added_to_cart {
  grid-column: 1 / -1;
  color: var(--bs-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: right;
}

.product-card-unavailable {
  color: #756c79;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: right;
}

.products-controls {
  position: absolute;
  top: 38%;
  right: -14px;
  left: -14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.products-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  color: var(--bs-primary);
  background-color: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(66, 45, 108, 0.14);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(66, 45, 108, 0.2);
  pointer-events: auto;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.products-control:hover,
.products-control:focus {
  color: #fff;
  background-color: var(--bs-primary);
  transform: scale(1.06);
}

.products-control:focus-visible {
  outline: 3px solid rgba(154, 64, 130, 0.38);
  outline-offset: 3px;
}

.products-control.swiper-button-disabled {
  opacity: 0.4;
}

.products-control.swiper-button-lock,
.products-pagination.swiper-pagination-lock {
  display: none;
}

.products-pagination {
  position: static;
  margin-top: 0.4rem;
}

.products-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--bs-primary);
  opacity: 0.25;
}

.products-pagination .swiper-pagination-bullet-active {
  width: 24px;
  background-color: var(--bs-secondary);
  border-radius: 999px;
  opacity: 1;
}

.products-cta {
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 9px 24px rgba(66, 45, 108, 0.2);
}

.products-cta i {
  margin-left: 0.35rem;
  transition: transform 180ms ease;
}

.products-cta:hover i,
.products-cta:focus i {
  transform: translateX(4px);
}

@media (max-width: 767.98px) {
  .products-section {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .products-panel {
    width: calc(100% - 1rem);
    padding: 2.5rem 1rem;
    border-radius: 22px;
  }

  .products-intro {
    padding-right: 0.25rem;
    padding-left: 0.25rem;
    font-size: 0.98rem;
  }

  .product-card {
    border-radius: 18px;
  }

  .product-card-footer {
    grid-template-columns: 1fr;
  }

  .product-card-details {
    text-align: center;
  }

  .products-controls {
    position: static;
    justify-content: center;
    margin-top: 0.25rem;
    gap: 0.75rem;
    transform: none;
  }

  .products-control {
    width: 48px;
    height: 48px;
  }

  .products-cta {
    width: min(100%, 296px);
  }
}

.latest-articles-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(154, 64, 130, 0.08), transparent 26%),
    linear-gradient(180deg, #fff 0%, #fbf8fc 100%);
}

.latest-articles-heading {
  max-width: 720px;
}

.latest-articles-eyebrow {
  color: var(--bs-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.latest-articles-heading h2 {
  letter-spacing: -0.025em;
}

.latest-articles-heading h2:after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 1rem auto 0;
  content: "";
  background: linear-gradient(90deg, var(--bs-secondary), var(--bs-primary));
  border-radius: 999px;
}

.latest-articles-intro {
  color: #665f6b;
  font-size: 1.05rem;
  line-height: 1.7;
}

.articulos {
  position: relative;
}

.articulos .glide__track {
  padding: 0.5rem 0 1rem;
}

.latest-article-slide {
  height: auto;
  padding: 0.5rem 0.7rem 1.25rem;
}

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.09);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(66, 45, 108, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.article-card:hover,
.article-card:focus-within {
  border-color: rgba(154, 64, 130, 0.24);
  box-shadow: 0 20px 48px rgba(66, 45, 108, 0.17);
  transform: translateY(-6px);
}

.article-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(66, 45, 108, 0.1), rgba(154, 64, 130, 0.12));
}

.article-card-media:after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 62%, rgba(40, 22, 58, 0.14));
  pointer-events: none;
}

.article-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.article-card:hover .article-card-image,
.article-card:focus-within .article-card-image {
  transform: scale(1.035);
}

.article-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  color: rgba(66, 45, 108, 0.55);
  font-size: 3rem;
  place-items: center;
}

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.3rem 0.75rem;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 25px;
  margin-bottom: 0.85rem;
  gap: 0.75rem;
  color: #6f6773;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.article-card-category {
  overflow: hidden;
  max-width: 64%;
  padding: 0.3rem 0.65rem;
  color: var(--bs-secondary);
  background-color: rgba(154, 64, 130, 0.09);
  border-radius: 999px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-card-meta time {
  flex-shrink: 0;
}

.article-card-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.75em;
  margin: 0 0 0.8rem;
  color: #352f38;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -0.018em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #6b646e;
  font-size: 0.92rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card-footer {
  padding: 0.65rem 1.3rem 1.3rem;
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  color: var(--bs-primary);
  font-size: 0.88rem;
  font-weight: 600;
  gap: 0.45rem;
}

.article-card-link i {
  transition: transform 180ms ease;
}

.article-card:hover .article-card-link,
.article-card-link:focus {
  color: var(--bs-secondary);
}

.article-card:hover .article-card-link i,
.article-card-link:focus i {
  transform: translateX(4px);
}

.latest-articles-controls {
  position: absolute;
  top: 32%;
  right: -8px;
  left: -8px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.articulos .glide__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  color: var(--bs-primary);
  background-color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(66, 45, 108, 0.14);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(66, 45, 108, 0.18);
  pointer-events: auto;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.articulos .glide__arrow:hover,
.articulos .glide__arrow:focus {
  color: #fff;
  background-color: var(--bs-primary);
  box-shadow: 0 10px 28px rgba(66, 45, 108, 0.28);
  transform: scale(1.06);
}

.articulos .glide__arrow:focus-visible {
  outline: 3px solid rgba(154, 64, 130, 0.35);
  outline-offset: 3px;
}

.articulos .glide__arrow i {
  font-size: 1.15rem;
  line-height: 1;
}

.latest-articles-cta {
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 9px 24px rgba(66, 45, 108, 0.2);
}

.latest-articles-cta i {
  margin-left: 0.35rem;
  transition: transform 180ms ease;
}

.latest-articles-cta:hover i,
.latest-articles-cta:focus i {
  transform: translateX(4px);
}

@media (max-width: 767.98px) {
  .latest-articles-section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .latest-articles-intro {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    font-size: 0.98rem;
  }

  .latest-article-slide {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .article-card {
    border-radius: 18px;
  }

  .article-card-body {
    padding: 1.1rem 1.1rem 0.7rem;
  }

  .article-card-footer {
    padding: 0.55rem 1.1rem 1.15rem;
  }

  .latest-articles-controls {
    position: static;
    justify-content: center;
    margin-top: 0.15rem;
    gap: 0.75rem;
    transform: none;
  }

  .articulos .glide__arrow {
    width: 48px;
    height: 48px;
  }

  .latest-articles-cta {
    width: min(100%, 310px);
  }
}

.imagen-noticia {min-height: 300px;background-position: center;background-size: cover;background-repeat: no-repeat;}
.post-thumbnail{padding: 0 0 20px 0;}
.post-thumbnail img {
    width: 100%;
    height: auto;
}

.widget-area section {padding-bottom: 30px;}
/*
.post-thumbnail{z-index: 3;}
.shadow-box, .shadow-box.light {position: relative;padding: 50px;background: #fff;box-shadow: 0 2px 15px 0px rgb(0 0 0 / 7%);z-index: 2;}
.shadow-box {padding: 50px!important;}
.shadow-box.overlap-left {margin-top: 80px;margin-left: -120px;}
.overlap-left {margin-left: -120px!important;z-index: 2;}

.shadow-box:before {content: '';position: absolute;width: 100%;height: 100%;background: #fff;left: 0;top: 0;z-index: -1;}
.shadow-box:after {content: '';background: url("./assets/images/bg-3.png");display: block;width: 100%;
    height: 100%;position: absolute;left: -72px;bottom: -76px;z-index: -2;}*/

.dialog{background-color: var(--bs-primary);}
.dialog:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-color: var(--bs-primary) transparent;
    border-width: 20px 20px 0;
    bottom: -20px;
    left: 16%;
    margin-left: -20px;
}

#talleres {
  background-color: #2f2342;
  background-image:
    linear-gradient(118deg, rgba(38, 27, 54, 0.91), rgba(66, 45, 108, 0.78)),
    url("./assets/images/bg-talleres.jpeg");
  background-position: center;
  background-size: cover;
}

.workshops-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.workshops-section:before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 12% 82%, rgba(241, 141, 205, 0.13), transparent 24rem),
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.08), transparent 22rem);
  pointer-events: none;
}

.workshops-section > .container {
  position: relative;
  z-index: 1;
}

.workshops-heading {
  max-width: 760px;
}

.workshops-eyebrow {
  color: #f3b8df;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.workshops-heading h2 {
  color: #fff;
  letter-spacing: -0.025em;
}

.workshops-heading h2:after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 1rem auto 0;
  content: "";
  background: linear-gradient(90deg, #f3b8df, #fff);
  border-radius: 999px;
}

.workshops-intro {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.72;
}

.workshops-carousel-shell {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

.talleres {
  overflow: hidden;
  padding: 0.75rem 0.35rem 1.25rem;
  transition: height 280ms ease;
}

.workshop-slide {
  height: auto;
}

.workshop-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  background-color: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: 0 28px 75px rgba(21, 13, 31, 0.34);
}

.workshop-card-media {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 520px;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  background: linear-gradient(145deg, #f6f1f5, #eae3ee);
}

.workshop-card-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: contain;
  filter: saturate(0.96);
  transition: filter 320ms ease, transform 420ms ease;
}

.workshop-card:hover .workshop-card-image,
.workshop-card:focus-within .workshop-card-image {
  filter: saturate(1.04);
  transform: scale(1.025);
}

.workshop-card-image-placeholder {
  display: inline-flex;
  width: 110px;
  height: 110px;
  align-items: center;
  justify-content: center;
  color: rgba(66, 45, 108, 0.45);
  background-color: rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  font-size: 3rem;
}

.workshop-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.25rem);
}

.workshop-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 0.65rem;
}

.workshop-meta-item {
  display: inline-flex;
  max-width: 100%;
  align-items: flex-start;
  padding: 0.42rem 0.72rem;
  color: #665c6b;
  background-color: #f6f1f6;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
  gap: 0.5rem;
}

.workshop-meta-item i {
  flex: 0 0 auto;
  color: var(--bs-secondary);
}

.workshop-card-title {
  margin-bottom: 1rem;
  color: var(--bs-primary);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.025em;
}

.workshop-card-summary {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 1.5rem;
  color: #625a66;
  font-size: 1rem;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.workshop-card-cta {
  display: inline-flex;
  min-height: 50px;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(66, 45, 108, 0.2);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  gap: 0.55rem;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.workshop-card-cta:hover,
.workshop-card-cta:focus-visible {
  color: #fff;
  box-shadow: 0 16px 34px rgba(66, 45, 108, 0.27);
  transform: translateY(-2px);
}

.workshop-card-cta:focus-visible,
.workshops-control:focus-visible {
  outline: 3px solid rgba(243, 184, 223, 0.72);
  outline-offset: 3px;
}

.workshops-controls {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: 48px minmax(110px, auto) 48px;
  margin-top: 0.55rem;
  gap: 1rem;
}

.workshops-control {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.workshops-control:hover,
.workshops-control:focus-visible {
  color: var(--bs-primary);
  background-color: #fff;
  transform: translateY(-2px);
}

.workshops-control.swiper-button-disabled {
  cursor: default;
  opacity: 0.38;
  transform: none;
}

.workshops-control.swiper-button-lock,
.workshops-pagination.swiper-pagination-lock {
  display: none;
}

.workshops-pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
}

.workshops-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background-color: #fff;
  opacity: 0.35;
  transition: width 180ms ease, opacity 180ms ease;
}

.workshops-pagination .swiper-pagination-bullet-active {
  width: 24px;
  background-color: #f3b8df;
  border-radius: 999px;
  opacity: 1;
}

@media (max-width: 767.98px) {
  .workshops-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .workshops-heading {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .workshops-intro {
    font-size: 1rem;
  }

  .talleres {
    margin-right: -0.15rem;
    margin-left: -0.15rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .workshop-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .workshop-card-media {
    min-height: 0;
    aspect-ratio: 4 / 5;
    padding: 0.75rem;
  }

  .workshop-card-image {
    max-height: none;
  }

  .workshop-card-content {
    padding: 1.6rem;
  }

  .workshop-card-title {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }

  .workshop-card-summary {
    -webkit-line-clamp: 4;
  }

  .workshop-card-cta {
    width: 100%;
  }

  .workshops-controls {
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .talleres,
  .workshop-card-image,
  .workshop-card-cta,
  .workshops-control {
    transition: none;
  }
}

/* El fondo de #newsletter ahora vive en .newsletter-section (ver bloque "Newsletter" más abajo). */

#main-head{background-size:cover;background-position: center;background-repeat: no-repeat;}

/* ===== Internal page headers and breadcrumbs ===== */

.site-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  color: #fff;
  background:
    radial-gradient(circle at 8% 110%, rgba(243, 184, 223, .22), transparent 24rem),
    radial-gradient(circle at 92% -20%, rgba(255, 255, 255, .13), transparent 25rem),
    linear-gradient(125deg, #2e2448 0%, #49316f 48%, #8e3c83 100%);
}

.site-page-hero::before,
.site-page-hero::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  pointer-events: none;
}

.site-page-hero::before {
  top: -12rem;
  left: -8rem;
  width: 28rem;
  height: 28rem;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, .018), 0 0 0 8rem rgba(255, 255, 255, .012);
}

.site-page-hero::after {
  right: -7rem;
  bottom: -12rem;
  width: 25rem;
  height: 25rem;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, .018);
}

.site-page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.site-page-hero__eyebrow {
  margin: 1.35rem 0 .65rem;
  color: #f3b8df;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.site-page-hero__title {
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.site-page-hero__title::after {
  display: block;
  width: 62px;
  height: 3px;
  margin: 1.15rem auto 0;
  content: "";
  background: linear-gradient(90deg, #f3b8df, #fff);
  border-radius: 999px;
}

.site-page-hero__description {
  max-width: 720px;
  margin: 1.15rem auto 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  text-wrap: balance;
}

.site-breadcrumbs {
  min-width: 0;
  color: #655e69;
  font-size: .84rem;
  line-height: 1.4;
}

.site-breadcrumbs .aioseo-breadcrumbs,
.site-breadcrumbs .teohua-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: .15rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-breadcrumbs .aioseo-breadcrumb,
.site-breadcrumbs .teohua-breadcrumb-list li {
  min-width: 0;
}

.site-breadcrumbs a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.site-breadcrumbs a:hover,
.site-breadcrumbs a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-breadcrumbs .aioseo-breadcrumb-separator,
.teohua-breadcrumb-list li + li::before {
  display: inline-block;
  margin: 0 .55rem;
  color: currentColor;
  content: "/";
  opacity: .52;
}

.site-page-hero__breadcrumbs {
  display: inline-flex;
  max-width: 100%;
  padding: .6rem .9rem;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .085);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.site-page-hero__breadcrumbs .aioseo-breadcrumbs,
.site-page-hero__breadcrumbs .teohua-breadcrumb-list {
  justify-content: center;
}

.site-page-hero__breadcrumbs a {
  color: #fff;
}

.cart-page-hero .purchase-page-breadcrumbs {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 1.35rem;
  padding: .55rem .85rem;
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
}

.cart-page-hero .purchase-page-breadcrumbs a {
  color: #fff;
}

.error-page-breadcrumbs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (max-width: 767.98px) {
  .site-page-hero {
    padding: 3.25rem 0;
  }

  .site-page-hero__eyebrow {
    margin-top: 1.1rem;
  }

  .site-page-hero__title {
    font-size: clamp(2.1rem, 11vw, 3.15rem);
  }

  .site-page-hero__description {
    font-size: 1rem;
  }

  .site-page-hero__breadcrumbs,
  .cart-page-hero .purchase-page-breadcrumbs,
  .product-breadcrumbs .site-breadcrumbs {
    display: block;
    overflow-x: auto;
    max-width: 100%;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .site-page-hero__breadcrumbs::-webkit-scrollbar,
  .cart-page-hero .purchase-page-breadcrumbs::-webkit-scrollbar,
  .product-breadcrumbs .site-breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .site-breadcrumbs .aioseo-breadcrumbs,
  .site-breadcrumbs .teohua-breadcrumb-list {
    display: inline-flex;
    width: max-content;
    max-width: none;
  }
}

footer.site-footer{color:white;background-image: url("./assets/images/bg-footer.png"); background-size:cover; background-position: center;}
footer .widget-title{color:white; font-size: 12pt; text-transform: uppercase;font-weight: 300;}
footer hr {width: 80%;margin: 0 auto;}
footer ul li a{color: white;text-decoration: none;}

@media only screen and (max-width: 767.98px) {
  .homepage-carousel,
  .homepage-carousel .carousel-inner,
  .homepage-carousel .carousel-item {
    height: clamp(480px, 85vh, 680px);
  }

  .main-swiper > .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media only screen and (max-width: 359px) {
  .mobile-header .navbar-brand img {
    max-width: 88px;
  }

  .mobile-header-actions .btn,
  .mobile-header-actions .navbar-toggler {
    width: 44px;
    height: 44px;
  }
}


body.woocommerce-page header.entry-header {display: none;}
.card-product {overflow: hidden;}
.card-hover {position: absolute;bottom: -300px;background-color: white;padding: 20px 0;align-items: center;width: 100%;transition: all 0.4s;}

.card-product:hover .card-hover{bottom: 0;}

/* ===== Shop archive ===== */

.shop-archive {
  overflow: hidden;
  background-color: #fbf9fc;
}

.shop-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.75rem, 7vw, 6rem) 0;
  color: #fff;
  background:
    radial-gradient(circle at 14% 110%, rgba(243, 184, 223, 0.2), transparent 24rem),
    radial-gradient(circle at 88% -20%, rgba(255, 255, 255, 0.12), transparent 25rem),
    linear-gradient(125deg, #302348 0%, var(--bs-primary) 54%, #68436f 100%);
}

.shop-hero:after {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 26rem;
  height: 26rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(255, 255, 255, 0.025),
    0 0 0 8rem rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.shop-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.shop-eyebrow {
  color: #f3b8df;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-title {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.shop-title:after {
  display: block;
  width: 58px;
  height: 3px;
  margin: 1.15rem auto 0;
  content: "";
  background: linear-gradient(90deg, #f3b8df, #fff);
  border-radius: 999px;
}

.shop-intro {
  max-width: 690px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.72;
}

.shop-catalog {
  padding: clamp(2.75rem, 6vw, 5.5rem) 0;
  background:
    radial-gradient(circle at 4% 22%, rgba(154, 64, 130, 0.06), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #fbf8fc 100%);
}

.shop-category-nav {
  display: flex;
  overflow-x: auto;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.2rem 0.1rem 0.65rem;
  gap: 0.65rem;
  scrollbar-width: thin;
}

.shop-category-chip {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.95rem;
  color: #5d5361;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.14);
  border-radius: 999px;
  box-shadow: 0 5px 16px rgba(66, 45, 108, 0.05);
  font-size: 0.88rem;
  font-weight: 600;
  gap: 0.5rem;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.shop-category-chip:hover,
.shop-category-chip:focus-visible,
.shop-category-chip.is-active {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  transform: translateY(-1px);
}

.shop-category-chip:focus-visible,
.shop-product-search input:focus-visible,
.shop-product-search button:focus-visible,
.shop-ordering-wrap select:focus-visible {
  outline: 3px solid rgba(154, 64, 130, 0.3);
  outline-offset: 2px;
}

.shop-category-count {
  display: inline-flex;
  min-width: 23px;
  min-height: 23px;
  align-items: center;
  justify-content: center;
  padding: 0 0.38rem;
  color: var(--bs-primary);
  background-color: #f5edf4;
  border-radius: 999px;
  font-size: 0.72rem;
}

.shop-category-chip.is-active .shop-category-count,
.shop-category-chip:hover .shop-category-count,
.shop-category-chip:focus-visible .shop-category-count {
  color: var(--bs-primary);
  background-color: #fff;
}

.shop-tools {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(260px, 1fr) auto;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(66, 45, 108, 0.07);
  gap: 1rem;
}

.shop-product-search {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 620px;
  align-items: center;
}

.shop-product-search > i {
  position: absolute;
  left: 1rem;
  z-index: 1;
  color: var(--bs-secondary);
}

.shop-product-search input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 7rem 0.75rem 2.8rem;
  color: #443d47;
  background-color: #faf7fb;
  border: 1px solid rgba(66, 45, 108, 0.14);
  border-radius: 13px;
}

.shop-product-search input::placeholder {
  color: #837986;
}

.shop-product-search button {
  position: absolute;
  right: 0.35rem;
  min-width: 92px;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  color: #fff;
  background-color: var(--bs-secondary);
  border: 0;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
}

.shop-product-search button:hover,
.shop-product-search button:focus-visible {
  background-color: var(--bs-primary);
}

.shop-ordering-wrap {
  min-width: 250px;
}

.shop-ordering-wrap > label {
  display: block;
  margin-bottom: 0.4rem;
  color: #655c69;
  font-size: 0.78rem;
  font-weight: 600;
}

.shop-ordering-wrap .woocommerce-ordering {
  margin: 0;
}

.shop-ordering-wrap select {
  width: 100%;
  min-height: 50px;
  padding: 0.65rem 2.5rem 0.65rem 0.9rem;
  color: #443d47;
  background-color: #faf7fb;
  border: 1px solid rgba(66, 45, 108, 0.14);
  border-radius: 13px;
  font-size: 0.9rem;
}

.shop-results-heading {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 1rem;
}

.shop-result-count {
  display: inline-flex;
  align-items: center;
  color: #6b626f;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.5rem;
}

.shop-result-count i {
  color: var(--bs-secondary);
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.shop-product-card {
  min-width: 0;
  height: 100%;
}

.shop-product-card .product-card-media {
  aspect-ratio: 1 / 1;
  padding: 1rem;
}

.shop-product-card .product-card-title {
  min-height: 2.8em;
  -webkit-line-clamp: 2;
}

.shop-product-card .product-card-footer {
  margin-top: auto;
}

.shop-pagination {
  margin-top: 2.5rem;
}

.shop-pagination:empty {
  display: none;
}

.shop-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.45rem;
}

.shop-pagination .page-numbers a,
.shop-pagination .page-numbers span {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--bs-primary);
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.14);
  border-radius: 50%;
  font-weight: 600;
}

.shop-pagination .page-numbers .current,
.shop-pagination .page-numbers a:hover,
.shop-pagination .page-numbers a:focus-visible {
  color: #fff;
  background-color: var(--bs-primary);
}

.shop-empty-state {
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(66, 45, 108, 0.08);
  text-align: center;
}

.shop-empty-state > i {
  color: var(--bs-secondary);
  font-size: 2.5rem;
}

.shop-empty-state h2 {
  margin: 0.75rem 0 0.5rem;
  color: var(--bs-primary);
}

.shop-empty-state p {
  margin-bottom: 1.4rem;
  color: #6b626f;
}

.shop-assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 1.25rem;
  background: linear-gradient(120deg, #33264a, var(--bs-primary));
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(43, 29, 61, 0.2);
  gap: 0.75rem;
}

.shop-assurance {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 1rem;
  color: #fff;
  gap: 0.9rem;
}

.shop-assurance > i {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  color: #f3b8df;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 1.25rem;
}

.shop-assurance strong,
.shop-assurance span {
  display: block;
}

.shop-assurance strong {
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

.shop-assurance span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-tools {
    grid-template-columns: 1fr;
  }

  .shop-product-search,
  .shop-ordering-wrap {
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .shop-hero {
    padding: 3.5rem 0;
  }

  .shop-hero-inner {
    padding-right: 1.15rem;
    padding-left: 1.15rem;
  }

  .shop-intro {
    font-size: 0.98rem;
  }

  .shop-catalog {
    padding-top: 2.25rem;
    padding-bottom: 3.5rem;
  }

  .shop-category-nav {
    margin-right: -0.75rem;
    padding-right: 0.75rem;
  }

  .shop-tools {
    padding: 0.8rem;
    border-radius: 16px;
  }

  .shop-product-search input {
    padding-right: 3.25rem;
  }

  .shop-product-search button {
    width: 42px;
    min-width: 42px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .shop-product-search button:after {
    color: #fff;
    content: "\f52a";
    font-family: "bootstrap-icons";
    font-size: 1rem;
  }

  .shop-product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .shop-product-card {
    display: grid;
    grid-template-columns: minmax(126px, 38%) minmax(0, 62%);
    grid-template-rows: 1fr auto;
    min-height: 246px;
  }

  .shop-product-card .product-card-media {
    grid-row: 1 / -1;
    aspect-ratio: auto;
    min-height: 100%;
    padding: 0.65rem;
  }

  .shop-product-card .product-card-body {
    padding: 1rem 0.95rem 0.5rem;
  }

  .shop-product-card .product-card-category {
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
  }

  .shop-product-card .product-card-title {
    min-height: 0;
    margin-bottom: 0.65rem;
    font-size: 1rem;
    -webkit-line-clamp: 4;
  }

  .shop-product-card .product-card-price {
    font-size: 1.08rem;
  }

  .shop-product-card .product-card-footer {
    grid-template-columns: 1fr;
    padding: 0.35rem 0.95rem 1rem;
    gap: 0.55rem;
  }

  .shop-product-card .product-card-details {
    text-align: left;
  }

  .shop-product-card .product-card-cart {
    width: 100%;
    min-height: 46px;
  }

  .shop-assurances {
    grid-template-columns: 1fr;
    padding: 0.65rem;
    border-radius: 19px;
  }

  .shop-assurance {
    padding: 0.85rem;
  }
}

/* ===== Cart page ===== */

.cart-page {
  overflow: hidden;
  background-color: #fbf9fc;
}

.cart-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0 2.4rem;
  color: #fff;
  background:
    radial-gradient(circle at 12% 120%, rgba(243, 184, 223, 0.18), transparent 22rem),
    radial-gradient(circle at 90% -30%, rgba(255, 255, 255, 0.12), transparent 24rem),
    linear-gradient(125deg, #302348, var(--bs-primary) 58%, #70446f);
}

.cart-page-hero:after {
  position: absolute;
  right: -7rem;
  bottom: -10rem;
  width: 28rem;
  height: 28rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 4.5rem rgba(255, 255, 255, 0.022), 0 0 0 9rem rgba(255, 255, 255, 0.015);
  pointer-events: none;
}

.cart-page-hero .container {
  position: relative;
  z-index: 1;
}

.cart-page-eyebrow {
  color: #f3b8df;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cart-page-title {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.cart-page-intro {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.cart-progress {
  display: flex;
  max-width: 490px;
  align-items: center;
  justify-content: center;
  margin: 1.75rem auto 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.64);
  list-style: none;
  font-size: 0.78rem;
  font-weight: 600;
}

.cart-progress li {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.cart-progress li:not(:last-child):after {
  position: absolute;
  top: 50%;
  right: -18%;
  width: 36%;
  height: 1px;
  content: "";
  background-color: rgba(255, 255, 255, 0.24);
}

.cart-progress li > span {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.cart-progress .is-current {
  color: #fff;
}

.cart-progress .is-current > span {
  color: var(--bs-primary);
  background-color: #fff;
  border-color: #fff;
}

.cart-page-content {
  padding: clamp(2.25rem, 5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 4% 28%, rgba(154, 64, 130, 0.055), transparent 22rem),
    linear-gradient(180deg, #fff, #fbf8fc);
}

.cart-page-actions {
  display: flex;
  margin-bottom: 1.25rem;
}

.cart-continue-shopping {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  color: var(--bs-primary);
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.14);
  border-radius: 999px;
  box-shadow: 0 7px 20px rgba(66, 45, 108, 0.06);
  font-size: 0.86rem;
  font-weight: 600;
  gap: 0.5rem;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.cart-continue-shopping:hover,
.cart-continue-shopping:focus-visible {
  color: #fff;
  background-color: var(--bs-primary);
  transform: translateY(-1px);
}

.cart-continue-shopping:focus-visible,
.cart-page .wc-block-cart__submit-button:focus-visible,
.cart-page .wc-block-components-quantity-selector button:focus-visible,
.cart-page .wc-block-cart-item__remove-link:focus-visible {
  outline: 3px solid rgba(154, 64, 130, 0.32);
  outline-offset: 3px;
}

.cart-page article,
.cart-page .entry-content {
  margin: 0;
}

.cart-page .wp-block-woocommerce-cart {
  margin: 0;
}

.cart-page .wc-block-cart {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
  gap: 2rem;
}

.cart-page .wc-block-cart__main,
.cart-page .wc-block-cart__sidebar {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cart-page .wc-block-cart__main {
  overflow: hidden;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(66, 45, 108, 0.08);
}

.cart-page .wc-block-cart__sidebar {
  position: sticky;
  top: 112px;
  padding: 1.4rem !important;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(66, 45, 108, 0.09);
}

.cart-page .wc-block-cart-items {
  margin: 0;
  border: 0 !important;
}

.cart-page .wc-block-cart-items thead {
  background-color: #f7f2f7;
}

.cart-page .wc-block-cart-items th {
  padding: 0.85rem 1rem !important;
  color: #675d6b;
  border: 0 !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-page .wc-block-cart-items__row td {
  padding-top: 1.35rem !important;
  padding-bottom: 1.35rem !important;
  border-color: rgba(66, 45, 108, 0.1) !important;
}

.cart-page .wc-block-cart-item__image {
  padding-left: 1.25rem !important;
}

.cart-page .wc-block-cart-item__image img {
  overflow: hidden;
  width: 104px !important;
  height: 104px !important;
  padding: 0.35rem;
  object-fit: contain;
  background-color: #f7f3f8;
  border-radius: 16px;
}

.cart-page .wc-block-cart-item__product {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}

.cart-page .wc-block-components-product-name {
  color: #3f3743 !important;
  font-size: 1rem !important;
  font-weight: 650 !important;
  line-height: 1.42 !important;
}

.cart-page .wc-block-components-product-name:hover,
.cart-page .wc-block-components-product-name:focus {
  color: var(--bs-secondary) !important;
}

.cart-page .wc-block-components-product-price {
  margin-top: 0.35rem;
  color: var(--bs-primary);
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-page .wc-block-components-product-metadata {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 0.45rem;
  color: #716875;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-page .wc-block-components-product-metadata p {
  margin: 0;
  font-weight: 400 !important;
}

.cart-page .wc-block-components-quantity-selector {
  min-height: 44px;
  margin-top: 0.85rem !important;
  border: 1px solid rgba(66, 45, 108, 0.18) !important;
  border-radius: 11px !important;
}

.cart-page .wc-block-components-quantity-selector input,
.cart-page .wc-block-components-quantity-selector button {
  min-width: 44px !important;
  min-height: 44px !important;
}

.cart-page .wc-block-components-quantity-selector button {
  color: var(--bs-primary) !important;
  font-size: 1rem !important;
}

.cart-page .wc-block-cart-item__remove-link {
  display: inline-flex !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  align-items: center;
  justify-content: center;
  margin: 0.85rem 0 0 0.45rem !important;
  color: #6e626f !important;
  background-color: #f7f3f8 !important;
  border-radius: 11px !important;
}

.cart-page .wc-block-cart-item__remove-link:hover,
.cart-page .wc-block-cart-item__remove-link:focus-visible {
  color: #fff !important;
  background-color: var(--bs-secondary) !important;
}

.cart-page .wc-block-cart-item__total {
  padding-right: 1.25rem !important;
  color: var(--bs-primary);
  font-size: 1rem;
  font-weight: 700;
}

.cart-page .wc-block-cart__totals-title {
  margin: 0 0 0.65rem !important;
  padding: 0 0 0.9rem !important;
  color: #3e3642;
  border-bottom: 1px solid rgba(66, 45, 108, 0.12);
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-align: left !important;
}

.cart-page .wc-block-components-totals-wrapper {
  padding: 1rem 0 !important;
  border-color: rgba(66, 45, 108, 0.12) !important;
}

.cart-page .wc-block-components-totals-coupon__button {
  color: var(--bs-secondary) !important;
  font-weight: 600 !important;
}

.cart-page .wc-block-components-totals-item__label,
.cart-page .wc-block-components-totals-item__value {
  color: #443b47;
}

.cart-page .wc-block-components-totals-item__value {
  font-weight: 700 !important;
}

.cart-page .wc-block-cart__submit-container {
  margin-top: 1rem;
}

.cart-page .wc-block-cart__submit-button {
  min-height: 56px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary)) !important;
  border: 0 !important;
  border-radius: 13px !important;
  box-shadow: 0 12px 28px rgba(66, 45, 108, 0.22);
  font-size: 0.95rem;
  font-weight: 700;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.cart-page .wc-block-cart__submit-button:hover,
.cart-page .wc-block-cart__submit-button:focus-visible {
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(66, 45, 108, 0.3);
  transform: translateY(-2px);
}

.cart-page .wc-block-cart__submit-button .wc-block-components-button__text {
  color: #fff !important;
}

/* Empty cart and product recommendations. */
.cart-page .wp-block-woocommerce-empty-cart-block {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem);
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 26px;
  box-shadow: 0 20px 54px rgba(66, 45, 108, 0.08);
}

.cart-page .wp-block-woocommerce-empty-cart-block:before {
  display: block;
  width: 150px;
  height: 112px;
  margin: 0 auto 0.4rem;
  content: "";
  background: url("./assets/images/empty-cart.svg") center / contain no-repeat;
}

.cart-page .wc-block-cart__empty-cart__title:before {
  display: none !important;
}

.cart-page .wc-block-cart__empty-cart__title {
  margin-bottom: 2.5rem !important;
  color: #413944;
  font-size: clamp(1.45rem, 3vw, 2rem) !important;
  font-weight: 700 !important;
}

.cart-page .wp-block-woocommerce-empty-cart-block > .wp-block-heading {
  color: var(--bs-primary);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.cart-page .wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 920px;
  margin: 1.5rem auto 0 !important;
  gap: 1.25rem;
}

.cart-page .wc-block-grid__product {
  display: flex !important;
  width: auto !important;
  max-width: none !important;
  flex-direction: column;
  overflow: hidden;
  padding: 0 0 1.15rem !important;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.11) !important;
  border-radius: 19px;
  box-shadow: 0 12px 34px rgba(66, 45, 108, 0.09);
}

.cart-page .wc-block-grid__product-image {
  display: flex !important;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  align-items: center;
  justify-content: center;
  margin: 0 0 1rem !important;
  padding: 0.85rem;
  background: linear-gradient(145deg, #faf8fb, #f1edf4);
}

.cart-page .wc-block-grid__product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.cart-page .wc-block-grid__product-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.75em;
  margin: 0 1rem 0.75rem !important;
  color: #443b47;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-page .wc-block-grid__product-price {
  margin: auto 1rem 0.9rem !important;
  color: var(--bs-primary);
  font-size: 1rem;
  font-weight: 700;
}

.cart-page .wc-block-grid__product-add-to-cart {
  margin: 0 1rem !important;
}

.cart-page .wc-block-grid__product-add-to-cart .wp-block-button__link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  color: #fff !important;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary)) !important;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
}

.cart-assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1rem;
  color: #fff;
  background: linear-gradient(120deg, #33264a, var(--bs-primary), var(--bs-secondary));
  border-radius: 21px;
  box-shadow: 0 18px 45px rgba(43, 29, 61, 0.18);
  gap: 0.5rem;
}

.cart-assurance {
  display: flex;
  align-items: center;
  padding: 0.9rem;
  gap: 0.8rem;
}

.cart-assurance > i {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  color: #f3b8df;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 1.15rem;
}

.cart-assurance span,
.cart-assurance strong {
  display: block;
}

.cart-assurance span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.45;
}

.cart-assurance strong {
  margin-bottom: 0.12rem;
  color: #fff;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .cart-page .wc-block-cart {
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.8fr);
    gap: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .cart-page-hero {
    padding: 3rem 0 2rem;
  }

  .cart-page-intro {
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 0.94rem;
  }

  .cart-progress {
    margin-top: 1.4rem;
    font-size: 0.7rem;
  }

  .cart-progress li {
    flex-direction: column;
  }

  .cart-progress li:not(:last-child):after {
    top: 14px;
    right: -22%;
    width: 44%;
  }

  .cart-page .wc-block-cart {
    display: block;
  }

  .cart-page .wc-block-cart__sidebar {
    position: static;
    margin-top: 1rem !important;
  }

  .cart-page .wc-block-cart-items thead {
    display: none;
  }

  .cart-page .wc-block-cart-items__row {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    padding: 1rem;
  }

  .cart-page .wc-block-cart-items__row td {
    padding: 0 !important;
    border: 0 !important;
  }

  .cart-page .wc-block-cart-item__image {
    grid-row: 1 / span 2 !important;
    grid-column: 1 !important;
    align-self: start;
    padding-right: 0.85rem !important;
  }

  .cart-page .wc-block-cart-item__image img {
    width: 82px !important;
    height: 96px !important;
    border-radius: 13px;
  }

  .cart-page .wc-block-cart-item__product {
    grid-row: 1 !important;
    grid-column: 2 !important;
    min-width: 0;
  }

  .cart-page .wc-block-cart-item__total {
    position: static !important;
    display: flex !important;
    grid-row: 2 !important;
    grid-column: 2 !important;
    align-items: baseline;
    justify-content: flex-start !important;
    margin-top: 0.65rem;
    padding-top: 0.75rem !important;
    border-top: 1px solid rgba(66, 45, 108, 0.1) !important;
    text-align: left !important;
  }

  .cart-page .wc-block-cart-item__total:before {
    margin-right: 0.4rem;
    color: #746a77;
    content: "Total:";
    font-size: 0.76rem;
    font-weight: 600;
  }

  .cart-page .wc-block-components-quantity-selector {
    display: inline-flex;
  }

  .cart-page .wc-block-cart-item__remove-link {
    vertical-align: top;
  }

  .cart-page .wc-block-cart__sidebar {
    padding: 1.15rem !important;
  }

  .cart-page .wc-block-grid__products {
    grid-template-columns: 1fr;
  }

  .cart-page .wc-block-grid__product {
    display: grid !important;
    grid-template-columns: 38% minmax(0, 62%);
    grid-template-rows: auto auto auto;
    min-height: 220px;
    padding: 0 !important;
  }

  .cart-page .wc-block-grid__product > a {
    grid-row: 1 / -1;
    grid-column: 1;
  }

  .cart-page .wc-block-grid__product-image {
    height: 100%;
    aspect-ratio: auto;
    margin: 0 !important;
    padding: 0.65rem;
  }

  .cart-page .wc-block-grid__product-title,
  .cart-page .wc-block-grid__product-price,
  .cart-page .wc-block-grid__product-add-to-cart {
    grid-column: 2;
  }

  .cart-page .wc-block-grid__product-title {
    min-height: 0;
    margin: 1rem 0.9rem 0.5rem !important;
    -webkit-line-clamp: 3;
  }

  .cart-page .wc-block-grid__product-price {
    margin: 0 0.9rem 0.65rem !important;
  }

  .cart-page .wc-block-grid__product-add-to-cart {
    align-self: end;
    margin: 0 0.9rem 1rem !important;
  }

  .cart-page .wc-block-grid__product-add-to-cart .wp-block-button__link {
    width: 100%;
  }

  .cart-assurances {
    grid-template-columns: 1fr;
    padding: 0.65rem;
  }
}

@media (max-width: 379.98px) {
  .cart-page .wc-block-cart-items__row {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    padding: 0.85rem;
  }

  .cart-page .wc-block-cart-item__image img {
    width: 70px !important;
    height: 86px !important;
  }
}

/* ===== Checkout page ===== */

.checkout-page {
  overflow: hidden;
  background-color: #fbf9fc;
}

.checkout-page .cart-progress .is-complete {
  color: rgba(255, 255, 255, 0.88);
}

.checkout-page .cart-progress .is-complete > span {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.checkout-page .cart-page-actions {
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.checkout-support-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  color: #fff;
  background-color: var(--bs-secondary);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(154, 64, 130, 0.2);
  font-size: 0.86rem;
  font-weight: 600;
  gap: 0.5rem;
}

.checkout-support-link:hover,
.checkout-support-link:focus-visible {
  color: #fff;
  background-color: var(--bs-primary);
}

.checkout-support-link:focus-visible,
.checkout-page .wc-block-components-checkout-place-order-button:focus-visible,
.checkout-page input:focus-visible,
.checkout-page select:focus-visible,
.checkout-page textarea:focus-visible {
  outline: 3px solid rgba(154, 64, 130, 0.3) !important;
  outline-offset: 2px;
}

.checkout-page article,
.checkout-page .entry-content,
.checkout-page .wp-block-woocommerce-checkout {
  margin: 0;
}

.checkout-page .wp-block-woocommerce-checkout {
  display: block;
}

.checkout-page .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout {
  display: grid;
  width: 100%;
  align-items: start;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.85fr);
  gap: 2rem;
}

.checkout-page .wc-block-checkout__main,
.checkout-page .wc-block-checkout__sidebar {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.checkout-page .wc-block-checkout__main {
  padding: clamp(1.25rem, 3vw, 2rem) !important;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(66, 45, 108, 0.08);
}

.checkout-page .wc-block-checkout__sidebar {
  position: sticky;
  top: 112px;
  padding: 1.35rem !important;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(66, 45, 108, 0.09);
}

.checkout-page .wc-block-components-checkout-step {
  margin: 0 0 1.75rem !important;
  padding: 0 0 1.5rem !important;
  border-bottom: 1px solid rgba(66, 45, 108, 0.1);
}

.checkout-page .wc-block-components-checkout-step:last-of-type {
  margin-bottom: 0 !important;
}

.checkout-page .wc-block-components-checkout-step__heading {
  margin-bottom: 1rem !important;
}

.checkout-page .wc-block-components-checkout-step__title,
.checkout-page .wc-block-components-title {
  color: #3f3743 !important;
  font-size: clamp(1.12rem, 2vw, 1.35rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em;
}

.checkout-page .wc-block-components-checkout-step__description {
  color: #706775;
  font-size: 0.84rem;
  line-height: 1.55;
}

.checkout-page .wc-block-components-text-input input,
.checkout-page .wc-block-components-address-form select,
.checkout-page .wc-block-components-combobox-control input,
.checkout-page .wc-block-components-textarea {
  min-height: 54px !important;
  color: #443d47 !important;
  background-color: #faf8fb !important;
  border: 1px solid rgba(66, 45, 108, 0.19) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.checkout-page .wc-block-components-text-input input:focus,
.checkout-page .wc-block-components-address-form select:focus,
.checkout-page .wc-block-components-combobox-control input:focus,
.checkout-page .wc-block-components-textarea:focus {
  background-color: #fff !important;
  border-color: var(--bs-secondary) !important;
}

.checkout-page .wc-block-components-text-input label,
.checkout-page .wc-block-components-combobox-control label {
  color: #6c626f !important;
}

.checkout-page .wc-block-components-address-form__address_2-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--bs-secondary) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
}

.checkout-page .wc-block-components-checkbox {
  display: flex;
  min-height: 44px;
  align-items: center;
}

.checkout-page .wc-block-components-checkbox__input {
  width: 24px !important;
  height: 24px !important;
  margin-right: 0.6rem !important;
}

.checkout-page .wc-block-components-checkbox__label {
  color: #574e5a;
  font-size: 0.84rem;
}

.checkout-page .wc-block-components-notice-banner {
  padding: 1rem !important;
  border-radius: 13px !important;
  font-size: 0.88rem;
  line-height: 1.55;
}

.checkout-page .wc-block-components-notice-banner.is-error {
  color: #6d2330;
  background-color: #fff4f5 !important;
  border: 1px solid rgba(174, 48, 68, 0.28) !important;
}

.checkout-page .wc-block-components-validation-error {
  margin-top: 0.4rem;
  color: #a62c43;
  font-size: 0.78rem;
  font-weight: 600;
}

.checkout-page .wc-block-components-checkout-place-order-button {
  min-height: 56px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary)) !important;
  border: 0 !important;
  border-radius: 13px !important;
  box-shadow: 0 12px 28px rgba(66, 45, 108, 0.22);
  font-size: 0.95rem;
  font-weight: 700;
  transition: box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.checkout-page .wc-block-components-checkout-place-order-button:not(:disabled):hover,
.checkout-page .wc-block-components-checkout-place-order-button:not(:disabled):focus-visible {
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(66, 45, 108, 0.3);
  transform: translateY(-2px);
}

.checkout-page .wc-block-components-checkout-place-order-button:disabled,
.checkout-page .has-no-payment-method .wc-block-components-checkout-place-order-button {
  cursor: not-allowed;
  color: #fff !important;
  background: #847b88 !important;
  box-shadow: none;
  opacity: 0.72;
}

.checkout-page .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
  color: #fff !important;
}

.checkout-page .wc-block-checkout__terms {
  color: #6a616d;
  font-size: 0.78rem;
  line-height: 1.55;
}

.checkout-page .wc-block-checkout__terms a {
  color: var(--bs-secondary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-page .wc-block-components-order-summary {
  border: 0 !important;
}

.checkout-page .wc-block-components-order-summary-item {
  padding: 1rem 0 !important;
  border-color: rgba(66, 45, 108, 0.1) !important;
}

.checkout-page .wc-block-components-order-summary-item__image img {
  padding: 0.25rem;
  object-fit: contain;
  background-color: #f7f3f8;
  border-radius: 12px;
}

.checkout-page .wc-block-components-order-summary-item__description {
  min-width: 0;
}

.checkout-page .wc-block-components-product-name {
  color: #443b47 !important;
  font-size: 0.88rem !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
}

.checkout-page .wc-block-components-product-metadata {
  display: -webkit-box;
  overflow: hidden;
  color: #706775;
  font-size: 0.74rem;
  font-weight: 400 !important;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.checkout-page .wc-block-components-product-metadata p {
  margin: 0;
  font-weight: 400 !important;
}

.checkout-page .wc-block-components-totals-wrapper {
  padding: 1rem 0 !important;
  border-color: rgba(66, 45, 108, 0.11) !important;
}

.checkout-page .wc-block-components-totals-item__label,
.checkout-page .wc-block-components-totals-item__value {
  color: #453c48;
}

.checkout-page .wc-block-components-totals-item__value {
  font-weight: 700 !important;
}

.checkout-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.checkout-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--bs-primary);
  font-size: 1.22rem !important;
}

.checkout-page .wc-block-components-totals-coupon__button,
.checkout-page .wc-block-components-panel__button {
  color: var(--bs-secondary) !important;
  font-weight: 600 !important;
}

.checkout-page .wc-block-components-totals-coupon__form {
  gap: 0.5rem;
}

.checkout-page .wc-block-components-totals-coupon__button {
  min-width: 112px;
  min-height: 54px;
  padding: 0.75rem 1rem !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary)) !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(66, 45, 108, 0.18);
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.checkout-page .wc-block-components-totals-coupon__button:not(:disabled):hover {
  color: #fff !important;
  box-shadow: 0 12px 25px rgba(66, 45, 108, 0.27);
  transform: translateY(-1px);
}

.checkout-page .wc-block-components-totals-coupon__button:focus-visible {
  outline: 3px solid rgba(154, 64, 130, 0.3) !important;
  outline-offset: 2px;
}

.checkout-page .wc-block-components-totals-coupon__button:disabled {
  cursor: not-allowed;
  color: #655d68 !important;
  background: #ebe7ed !important;
  box-shadow: none;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .checkout-page .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(290px, 0.8fr);
    gap: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .checkout-page .cart-page-actions {
    align-items: stretch;
  }

  .checkout-page .cart-page-actions > a {
    flex: 1;
  }

  .checkout-page .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout {
    display: block;
  }

  .checkout-page .wc-block-checkout__main {
    padding: 1rem !important;
    border-radius: 18px;
  }

  .checkout-page .wc-block-checkout__sidebar {
    display: none !important;
  }

  .checkout-page .wc-block-components-checkout-step {
    margin-bottom: 1.4rem !important;
    padding-bottom: 1.25rem !important;
  }

  .checkout-page .wc-block-components-checkout-place-order-button {
    min-height: 56px !important;
  }
}

@media (max-width: 479.98px) {
  .checkout-page .cart-page-actions {
    flex-direction: column;
  }
}

/* ===== Order confirmation page ===== */

.order-confirmation-page {
  overflow: hidden;
  background-color: #fbf9fc;
}

.order-confirmation-page .cart-progress .is-complete {
  color: rgba(255, 255, 255, 0.88);
}

.order-confirmation-page .cart-progress .is-complete > span {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.order-confirmation-page .cart-progress .is-current > span {
  color: var(--bs-primary);
  background-color: #fff;
  border-color: #fff;
}

.order-confirmation-page .cart-page-actions {
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.order-confirmation-page article,
.order-confirmation-page .entry-content {
  margin: 0;
}

.order-confirmation-page .woocommerce {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.teohua-order-success {
  display: flex;
  max-width: 860px;
  align-items: center;
  margin: 0 auto 1.25rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  color: #3f3743;
  background:
    radial-gradient(circle at 100% 0, rgba(154, 64, 152, 0.08), transparent 16rem),
    #fff;
  border: 1px solid rgba(66, 45, 108, 0.11);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(66, 45, 108, 0.09);
  gap: 1rem;
}

.teohua-order-success__icon {
  display: inline-flex;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(66, 45, 108, 0.24);
  font-size: 1.55rem;
}

.teohua-order-success__eyebrow {
  margin: 0 0 0.2rem;
  color: var(--bs-secondary);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-confirmation-page .woocommerce-thankyou-order-received {
  margin: 0;
  color: #3f3743;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
}

.teohua-order-success__note {
  margin: 0.3rem 0 0;
  color: #706775;
  font-size: 0.86rem;
  line-height: 1.55;
}

.order-confirmation-page .woocommerce-info,
.order-confirmation-page .woocommerce-error,
.order-confirmation-page .woocommerce-message {
  max-width: 680px;
  margin: 0 auto 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(66, 45, 108, 0.14);
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  list-style: none;
}

.order-confirmation-page .woocommerce-info {
  color: #4d4351;
  background-color: #f7f3f8;
}

.order-confirmation-page .woocommerce-error {
  color: #7b2636;
  background-color: #fff3f5;
  border-color: rgba(174, 48, 68, 0.24);
}

.order-confirmation-page .woocommerce-message {
  color: #315c46;
  background-color: #eff9f3;
  border-color: rgba(50, 130, 85, 0.2);
}

.order-confirmation-page .woocommerce-form-login,
.order-confirmation-page .woocommerce-verify-email {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(66, 45, 108, 0.09);
}

.teohua-order-login-intro {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(66, 45, 108, 0.1);
  gap: 0.85rem;
}

.teohua-order-login-intro__icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  color: var(--bs-secondary);
  background-color: #f6eff6;
  border-radius: 50%;
  font-size: 1.05rem;
}

.teohua-order-login-intro h2 {
  margin: 0 0 0.2rem;
  color: #3f3743;
  font-size: 1.25rem;
  font-weight: 700;
}

.teohua-order-login-intro p {
  margin: 0;
  color: #706775;
  font-size: 0.82rem;
  line-height: 1.5;
}

.order-confirmation-page .woocommerce-form-login .form-row,
.order-confirmation-page .woocommerce-verify-email .form-row {
  width: 100%;
  float: none;
  margin: 0 0 1rem;
}

.order-confirmation-page .woocommerce-form-login label,
.order-confirmation-page .woocommerce-verify-email label {
  display: block;
  margin-bottom: 0.4rem;
  color: #514853;
  font-size: 0.84rem;
  font-weight: 650;
}

.order-confirmation-page .woocommerce-form-login .input-text,
.order-confirmation-page .woocommerce-verify-email .input-text {
  width: 100%;
  min-height: 54px;
  padding: 0.75rem 0.9rem;
  color: #443d47;
  background-color: #faf8fb;
  border: 1px solid rgba(66, 45, 108, 0.2);
  border-radius: 12px;
  box-shadow: none;
}

.order-confirmation-page .woocommerce-form-login .input-text:focus,
.order-confirmation-page .woocommerce-verify-email .input-text:focus {
  background-color: #fff;
  border-color: var(--bs-secondary);
  outline: 3px solid rgba(154, 64, 130, 0.18);
  outline-offset: 1px;
}

.order-confirmation-page .password-input {
  position: relative;
  display: block;
}

.order-confirmation-page .show-password-input {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #6d6370;
  background: transparent;
  border: 0;
  border-radius: 9px;
}

.order-confirmation-page .show-password-input:before {
  width: 18px;
  height: 12px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50% 0;
  transform: rotate(45deg);
}

.order-confirmation-page .show-password-input:after {
  position: absolute;
  width: 5px;
  height: 5px;
  content: "";
  background-color: currentColor;
  border-radius: 50%;
}

.order-confirmation-page .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  min-height: 44px;
  align-items: center;
  margin: 0 0 0.75rem !important;
  gap: 0.55rem;
}

.order-confirmation-page .woocommerce-form-login__rememberme input {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin: 0;
  accent-color: var(--bs-secondary);
}

.order-confirmation-page .woocommerce-form-login__rememberme span {
  font-size: 0.82rem;
  font-weight: 500;
}

.order-confirmation-page .woocommerce-form-login__submit,
.order-confirmation-page .woocommerce-verify-email button,
.order-confirmation-page .woocommerce-order .button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  color: #fff !important;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(66, 45, 108, 0.2);
  font-size: 0.88rem;
  font-weight: 700;
}

.order-confirmation-page .woocommerce-form-login__submit {
  width: 100%;
}

.order-confirmation-page .woocommerce-form-login__submit:hover,
.order-confirmation-page .woocommerce-form-login__submit:focus-visible,
.order-confirmation-page .woocommerce-verify-email button:hover,
.order-confirmation-page .woocommerce-verify-email button:focus-visible,
.order-confirmation-page .woocommerce-order .button:hover,
.order-confirmation-page .woocommerce-order .button:focus-visible {
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(66, 45, 108, 0.3);
  transform: translateY(-1px);
}

.order-confirmation-page .show-password-input:focus-visible,
.order-confirmation-page .woocommerce-form-login__submit:focus-visible,
.order-confirmation-page .woocommerce-verify-email button:focus-visible,
.order-confirmation-page .woocommerce-order .button:focus-visible {
  outline: 3px solid rgba(154, 64, 130, 0.3);
  outline-offset: 2px;
}

.order-confirmation-page .lost_password {
  margin: 0;
  text-align: center;
}

.order-confirmation-page .lost_password a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--bs-secondary);
  font-size: 0.84rem;
  font-weight: 650;
}

.order-confirmation-page .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
  gap: 0.75rem;
}

.order-confirmation-page .woocommerce-order-overview li {
  width: auto;
  min-width: 0;
  float: none;
  margin: 0;
  padding: 1rem;
  color: #756b78;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.order-confirmation-page .woocommerce-order-overview li strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 0.35rem;
  color: #403743;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.order-confirmation-page .woocommerce-order-details,
.order-confirmation-page .woocommerce-order-downloads,
.order-confirmation-page .woocommerce-customer-details {
  overflow: hidden;
  margin-top: 1.25rem;
  padding: clamp(1.2rem, 3vw, 1.75rem);
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(66, 45, 108, 0.07);
}

.order-confirmation-page .woocommerce-order-details__title,
.order-confirmation-page .woocommerce-order-downloads__title,
.order-confirmation-page .woocommerce-customer-details h2 {
  margin: 0 0 1rem;
  color: #3f3743;
  font-size: 1.25rem;
  font-weight: 700;
}

.order-confirmation-page .woocommerce-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.order-confirmation-page .woocommerce-table th,
.order-confirmation-page .woocommerce-table td {
  padding: 0.9rem;
  color: #514853;
  border-bottom: 1px solid rgba(66, 45, 108, 0.1);
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
}

.order-confirmation-page .woocommerce-table thead th {
  color: #6c626f;
  background-color: #f8f5f9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.order-confirmation-page .woocommerce-table th:last-child,
.order-confirmation-page .woocommerce-table td:last-child {
  text-align: right;
}

.order-confirmation-page .woocommerce-table tfoot tr:last-child th,
.order-confirmation-page .woocommerce-table tfoot tr:last-child td {
  color: var(--bs-secondary);
  border-bottom: 0;
  font-size: 1rem;
  font-weight: 700;
}

.order-confirmation-page .woocommerce-table .product-name a {
  color: #403743;
  font-weight: 700;
}

.order-confirmation-page .woocommerce-table .product-name a:hover,
.order-confirmation-page .woocommerce-table .product-name a:focus-visible {
  color: var(--bs-secondary);
}

.order-confirmation-page .woocommerce-order-downloads .download-file .button {
  min-height: 46px;
}

.order-confirmation-page .woocommerce-customer-details address {
  margin: 0;
  padding: 1rem;
  color: #5f5662;
  background-color: #faf8fb;
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 13px;
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.65;
}

.order-confirmation-page .woocommerce-thankyou-order-failed {
  max-width: 760px;
  margin: 0 auto 1rem;
  padding: 1.2rem;
  color: #742638;
  background-color: #fff3f5;
  border: 1px solid rgba(174, 48, 68, 0.24);
  border-radius: 14px;
}

.order-confirmation-page .woocommerce-thankyou-order-failed-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 767.98px) {
  .order-confirmation-page .cart-page-actions {
    align-items: stretch;
  }

  .order-confirmation-page .cart-page-actions > a {
    flex: 1;
  }

  .teohua-order-success {
    align-items: flex-start;
    padding: 1.15rem;
    border-radius: 18px;
  }

  .teohua-order-success__icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    font-size: 1.25rem;
  }

  .order-confirmation-page .woocommerce-form-login,
  .order-confirmation-page .woocommerce-verify-email {
    padding: 1.15rem;
    border-radius: 18px;
  }

  .order-confirmation-page .woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-confirmation-page .woocommerce-order-details,
  .order-confirmation-page .woocommerce-order-downloads,
  .order-confirmation-page .woocommerce-customer-details {
    padding: 1rem;
    border-radius: 17px;
  }

  .order-confirmation-page .woocommerce-table th,
  .order-confirmation-page .woocommerce-table td {
    padding: 0.75rem 0.55rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 479.98px) {
  .order-confirmation-page .cart-page-actions {
    flex-direction: column;
  }

  .teohua-order-success {
    display: block;
  }

  .teohua-order-success__icon {
    margin-bottom: 0.8rem;
  }

  .teohua-order-login-intro {
    align-items: flex-start;
  }

  .order-confirmation-page .woocommerce-order-overview {
    grid-template-columns: 1fr;
  }
}

.contact-container {border-radius: 20px;}

.info-box {border-radius: 20px;background-size: cover;background-repeat: no-repeat;}
.woocommerce-input-wrapper input {width: 100%;height: 42px;border: 2px solid #cecece;}

/* Redes sociales del panel de contacto: badges circulares en vez de íconos sueltos. */
.info-box ul.justify-content-start .nav-link {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-right: .5rem;
  background-color: rgba(255, 255, 255, .16);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: background-color 180ms ease, transform 180ms ease;
}

.info-box ul.justify-content-start .nav-link:hover,
.info-box ul.justify-content-start .nav-link:focus-visible {
  background-color: rgba(255, 255, 255, .3);
  transform: translateY(-2px);
}

/* Datos de contacto (teléfono, email, WhatsApp): mismo tratamiento de ícono+hover que el topbar. */
.info-box ul.flex-column .nav-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 0;
  transition: color 180ms ease, gap 180ms ease;
}

.info-box ul.flex-column .nav-link:hover,
.info-box ul.flex-column .nav-link:focus-visible {
  color: #fff;
  gap: .85rem;
}

.info-box ul.flex-column .nav-link i {
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* ===== Formulario de contacto (Contact Form 7) ===== */

.form-container .wpcf7-form p {
  margin-bottom: 1.1rem;
}

.form-container .wpcf7-form label {
  display: block;
  margin-bottom: .4rem;
  color: #352f38;
  font-weight: 600;
  font-size: .92rem;
}

.form-container .wpcf7-form-control-wrap {
  display: block;
}

.form-container .wpcf7-form-control {
  width: 100%;
  padding: .75rem 1rem;
  color: #352f38;
  background-color: #faf8fb;
  border: 1.5px solid rgba(66, 45, 108, .14);
  border-radius: 12px;
  font-size: .95rem;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.form-container .wpcf7-form-control:focus {
  outline: 0;
  background-color: #fff;
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 .2rem rgba(154, 64, 152, .15);
}

.form-container textarea.wpcf7-form-control {
  min-height: 140px;
  resize: vertical;
}

.form-container .wpcf7-form-control.wpcf7-not-valid {
  border-color: #dc3232;
}

.form-container .wpcf7-not-valid-tip {
  margin-top: .35rem;
  font-size: .82rem;
  font-weight: 500;
}

.form-container .wpcf7-form p:last-of-type {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 0;
}

.form-container .wpcf7-submit {
  width: 100%;
  padding: .9rem 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border: 0;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 600;
  font-size: .9rem;
  transition: filter 180ms ease, transform 180ms ease;
}

.form-container .wpcf7-submit:hover:not(:disabled),
.form-container .wpcf7-submit:focus-visible:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.form-container .wpcf7-response-output {
  margin: 0;
  padding: .85rem 1.1rem;
  border-radius: 12px;
  border-width: 1.5px;
  font-size: .9rem;
}

.form-container form.sent .wpcf7-response-output {
  color: #1c6b3d;
  background-color: rgba(70, 180, 80, .1);
  border-color: rgba(70, 180, 80, .4);
}

.form-container form.failed .wpcf7-response-output,
.form-container form.aborted .wpcf7-response-output {
  color: #a3241f;
  background-color: rgba(220, 50, 50, .08);
  border-color: rgba(220, 50, 50, .35);
}

.form-container form.spam .wpcf7-response-output {
  color: #a15417;
  background-color: rgba(245, 110, 40, .1);
  border-color: rgba(245, 110, 40, .4);
}

.form-container form.invalid .wpcf7-response-output,
.form-container form.unaccepted .wpcf7-response-output,
.form-container form.payment-required .wpcf7-response-output {
  color: #8a6d00;
  background-color: rgba(255, 185, 0, .12);
  border-color: rgba(255, 185, 0, .45);
}

/* ===== Newsletter ===== */

.newsletter-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bs-secondary) 0%, #5F409A 55%, var(--bs-primary) 100%);
}

.newsletter-section:before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("./assets/images/bg-newsletter.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  mix-blend-mode: overlay;
  opacity: .35;
  pointer-events: none;
}

.newsletter-card {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 3.25rem;
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 60px -18px rgba(30, 18, 46, .45);
  text-align: center;
}

.newsletter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.1rem;
  color: #fff;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(154, 64, 152, .35);
}

.newsletter-title {
  margin-bottom: .6rem;
  color: #352f38;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.01em;
}

.newsletter-description {
  max-width: 460px;
  margin: 0 auto 2rem;
  color: #6b646e;
  font-size: 1rem;
  line-height: 1.65;
}

.newsletter-form {
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-name {
  margin-bottom: .75rem;
  border: 1.5px solid rgba(66, 45, 108, .14);
  border-radius: 14px;
  font-size: .95rem;
}

.newsletter-name:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 .2rem rgba(154, 64, 152, .15);
}

.newsletter-input-group {
  flex-wrap: nowrap;
  border: 1.5px solid rgba(66, 45, 108, .14);
  border-radius: 14px !important;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.newsletter-input-group:focus-within {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 .2rem rgba(154, 64, 152, .15);
}

.newsletter-input-group .input-group-text {
  background-color: #fff;
  border: 0;
  color: #a89bb5;
}

.newsletter-input-group .form-control {
  min-width: 0;
  border: 0;
  font-size: .95rem;
}

.newsletter-input-group .form-control:focus {
  box-shadow: none;
}

.newsletter-submit {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: .4rem;
  padding: 0 1.35rem;
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border: 0;
  transition: filter 180ms ease, transform 180ms ease;
}

.newsletter-submit:hover:not(:disabled),
.newsletter-submit:focus-visible:not(:disabled) {
  color: #fff;
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.newsletter-submit:disabled {
  opacity: .75;
  cursor: progress;
}

.newsletter-submit .spinner-border {
  width: .9rem;
  height: .9rem;
}

.newsletter-feedback {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-height: 1.4em;
  margin-top: .85rem;
  font-size: .88rem;
}

.newsletter-feedback.is-success {
  color: #2f7a4f;
}

.newsletter-feedback.is-error {
  color: #c3384a;
}

.newsletter-privacy {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 1rem 0 0;
  color: #a49bab;
  font-size: .78rem;
}

@media only screen and (max-width: 767.98px) {
  .newsletter-card {
    padding: 2.25rem 1.5rem;
    border-radius: 20px;
  }

  .newsletter-description {
    text-align: center;
  }
}

@media only screen and (max-width: 420px) {
  .newsletter-input-group {
    flex-wrap: wrap;
    border-radius: 14px !important;
  }

  .newsletter-input-group .form-control {
    flex: 1 1 100%;
    border-radius: 0 !important;
  }

  .newsletter-submit {
    flex: 1 1 100%;
    justify-content: center;
    padding: .7rem 1rem;
    border-radius: 0 !important;
  }
}

.select2-container--default .select2-selection--single {
    height: 40px;
    border: 2px solid #cecece;
}

/* El overlap solo tiene sentido si hay mapa arriba (si no, el título queda
   tapado por el header sticky — ver page-contacto.php). */
@media only screen and (min-width: 768px) {
  #contacto.has-map-overlap {
    margin-top: -110px;
    z-index: 99;
    position: relative;
  }
}

/* ===== Botón flotante de WhatsApp ===== */

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #fff;
  font-size: 1.7rem;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-color: #25d366;
  border-radius: 50%;
  opacity: .55;
  animation: teohua-whatsapp-ping 2.4s ease-out infinite;
}

@keyframes teohua-whatsapp-ping {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before {
    animation: none;
  }
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 211, 102, .55);
  transform: translateY(-3px) scale(1.05);
}

@media only screen and (max-width: 575.98px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}

/* ===== Mini-carrito (offcanvas) ===== */

.teohua-cart-offcanvas {
  width: 400px;
  max-width: 100%;
  border-left: 0;
  box-shadow: -18px 0 45px rgba(66, 45, 108, .18);
}

.teohua-cart-offcanvas .offcanvas-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(66, 45, 108, .1);
}

.teohua-cart-offcanvas .btn-close,
#searchModal .btn-close {
  width: 44px;
  height: 44px;
  padding: 0;
  background-position: center;
  border-radius: 50%;
}

.teohua-cart-offcanvas .offcanvas-title {
  color: #352f38;
  font-weight: 700;
}

.teohua-cart-offcanvas .offcanvas-body {
  padding: 1.25rem 1.5rem;
}

.widget_shopping_cart_content .woocommerce-mini-cart {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget_shopping_cart_content .woocommerce-mini-cart-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 2.1rem 1rem 0;
  border-bottom: 1px solid rgba(66, 45, 108, .08);
}

.widget_shopping_cart_content .woocommerce-mini-cart-item:first-child {
  padding-top: 0;
}

.widget_shopping_cart_content .woocommerce-mini-cart-item img {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
}

.widget_shopping_cart_content .woocommerce-mini-cart-item a:not(.remove_from_cart_button) {
  color: #352f38;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}

.widget_shopping_cart_content .woocommerce-mini-cart-item a:not(.remove_from_cart_button):hover {
  color: var(--bs-primary);
}

.widget_shopping_cart_content .quantity {
  display: block;
  margin-top: .25rem;
  color: #6b646e;
  font-size: .85rem;
}

.widget_shopping_cart_content .remove_from_cart_button {
  position: absolute;
  top: 1rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #a89bb5 !important;
  font-size: 1.2rem;
  line-height: 1;
  text-decoration: none !important;
  border-radius: 50%;
  transition: background-color 150ms ease, color 150ms ease;
}

.widget_shopping_cart_content .remove_from_cart_button:hover {
  color: #fff !important;
  background-color: var(--bs-primary);
}

.woocommerce-mini-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.1rem 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(66, 45, 108, .12);
  color: #352f38;
  font-weight: 700;
  font-size: 1.05rem;
}

.woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: 0;
}

.woocommerce-mini-cart__buttons .button {
  display: block;
  padding: .75rem 1rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-weight: 600;
  font-size: .85rem;
  border-radius: 12px;
  transition: filter 180ms ease, transform 180ms ease;
}

.woocommerce-mini-cart__buttons .wc-forward:not(.checkout) {
  color: var(--bs-primary);
  background-color: #fff;
  border: 1.5px solid var(--bs-primary);
}

.woocommerce-mini-cart__buttons .checkout {
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border: 0;
}

.woocommerce-mini-cart__buttons .button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.woocommerce-mini-cart__empty-message {
  padding: 2rem 1rem 1rem;
  color: #6b646e;
  font-size: .95rem;
  text-align: center;
}

.teohua-mini-cart-empty-action {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: .5rem;
  color: #fff !important;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(66, 45, 108, .2);
  font-size: .86rem;
  font-weight: 700;
  gap: .5rem;
}

/* ===== Modal de búsqueda ===== */

#searchModal .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -18px rgba(30, 18, 46, .45);
}

#searchModal .modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(66, 45, 108, .1);
}

#searchModal .modal-title {
  color: #352f38;
  font-weight: 700;
}

#searchModal .modal-body {
  padding: 1.5rem;
}

#searchModal #site-search {
  padding: .9rem 1.1rem;
  font-size: 1.05rem;
  border: 1.5px solid rgba(66, 45, 108, .14);
  border-radius: 12px;
}

#searchModal #site-search:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 .2rem rgba(154, 64, 152, .15);
}

#searchModal .modal-footer {
  padding: 0 1.5rem 1.5rem;
  border-top: 0;
}

#searchModal .btn-primary {
  min-height: 48px;
  padding: .65rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-weight: 600;
  border-radius: 12px;
}

/* ===== Listado del blog (index.php) ===== */

.blog-empty-state {
  color: #6b646e;
}

.blog-empty-state i {
  display: block;
  margin-bottom: 1rem;
  color: rgba(66, 45, 108, .35);
  font-size: 3rem;
}

/* Paginación con el mismo lenguaje visual que el resto del sitio. */
.blog-index .pagination {
  gap: .35rem;
}

.blog-index .page-link {
  color: #352f38;
  font-weight: 600;
  border: 0;
  border-radius: 10px;
  transition: background-color 150ms ease, color 150ms ease;
}

.blog-index .page-link:hover,
.blog-index .page-link:focus {
  color: var(--bs-primary);
  background-color: rgba(154, 64, 152, .08);
}

.blog-index .page-item.active .page-link {
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
}

.blog-index .page-item.disabled .page-link {
  color: #c3bdc7;
  background-color: transparent;
}

/* ===== Sidebar del blog ===== */

#secondary.widget-area {
  padding: 1.75rem;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, .08);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(66, 45, 108, .08);
}

#secondary .widget {
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(66, 45, 108, .1);
}

#secondary .widget:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

#secondary .widget-title {
  margin-bottom: 1rem;
  color: #352f38;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

#secondary .widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#secondary .widget ul li {
  padding: .55rem 0;
  border-bottom: 1px dashed rgba(66, 45, 108, .12);
}

#secondary .widget ul li:last-child {
  border-bottom: 0;
}

#secondary .widget a {
  color: #352f38;
  font-size: .92rem;
  transition: color 150ms ease;
}

#secondary .widget a:hover,
#secondary .widget a:focus {
  color: var(--bs-primary);
}

#secondary .widget_search .search-form {
  display: flex;
  gap: .5rem;
}

#secondary .widget_search .search-field {
  flex: 1 1 auto;
  min-width: 0;
  padding: .6rem .9rem;
  border: 1.5px solid rgba(66, 45, 108, .14);
  border-radius: 10px;
}

#secondary .widget_search .search-field:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 .2rem rgba(154, 64, 152, .15);
  outline: 0;
}

#secondary .widget_search .search-submit {
  padding: .6rem 1.1rem;
  color: #fff;
  background-color: var(--bs-primary);
  border: 0;
  border-radius: 10px;
  transition: background-color 150ms ease;
}

#secondary .widget_search .search-submit:hover {
  background-color: var(--bs-secondary);
}

/* Widget "Teohua: Artículos recientes" (con miniatura). */
#secondary .widget .teohua-recent-posts {
  margin: 0;
  padding: 0;
  list-style: none;
}

#secondary .widget .teohua-recent-posts li {
  padding: .85rem 0;
  border-bottom: 1px dashed rgba(66, 45, 108, .12);
}

#secondary .widget .teohua-recent-posts li:first-child {
  padding-top: 0;
}

#secondary .widget .teohua-recent-posts li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.teohua-recent-post-link {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  text-decoration: none;
}

.teohua-recent-post-thumb {
  display: block;
  overflow: hidden;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(66, 45, 108, .1), rgba(154, 64, 152, .12));
  border-radius: 12px;
}

.teohua-recent-post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.teohua-recent-post-link:hover .teohua-recent-post-thumb img,
.teohua-recent-post-link:focus .teohua-recent-post-thumb img {
  transform: scale(1.08);
}

.teohua-recent-post-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(66, 45, 108, .5);
  font-size: 1.3rem;
}

.teohua-recent-post-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.teohua-recent-post-title {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: .3rem;
  color: #352f38;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 150ms ease;
}

.teohua-recent-post-link:hover .teohua-recent-post-title,
.teohua-recent-post-link:focus .teohua-recent-post-title {
  color: var(--bs-primary);
}

.teohua-recent-post-date {
  color: #948c9a;
  font-size: .76rem;
}

/* Ficha de producto */
.single-product-page {
  background-color: #fff;
}

.product-breadcrumbs {
  padding: 0.85rem 0;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(110deg, var(--bs-primary), #5f409a);
  font-size: 0.86rem;
}

.product-breadcrumbs a {
  color: #fff;
  font-weight: 500;
}

.product-breadcrumbs .site-breadcrumbs {
  color: inherit;
}

.product-breadcrumbs a:hover,
.product-breadcrumbs a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-breadcrumbs .aioseo-breadcrumbs,
.product-breadcrumbs .aioseo-breadcrumb {
  color: inherit;
}

.product-detail-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 6rem) 0;
  background:
    radial-gradient(circle at 4% 8%, rgba(154, 64, 130, 0.08), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #fcfafc 100%);
}

.product-gallery-panel {
  position: relative;
}

.product-gallery-main {
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.5rem);
  background-color: #f7f3f8;
  border: 1px solid rgba(66, 45, 108, 0.1);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(66, 45, 108, 0.13);
}

.product-gallery-slide {
  height: auto;
}

.product-gallery-zoom {
  position: relative;
  display: flex;
  min-height: 460px;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 249, 0.96));
  border-radius: 20px;
}

.product-gallery-image {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(66, 45, 108, 0.12);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(66, 45, 108, 0.12);
}

.product-gallery-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--bs-primary);
  background-color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(66, 45, 108, 0.14);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(66, 45, 108, 0.15);
  transform: translateY(-50%);
  transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.product-gallery-control:hover,
.product-gallery-control:focus-visible {
  color: #fff;
  background-color: var(--bs-primary);
}

.product-gallery-control:focus-visible,
.product-gallery-thumb:focus-visible {
  outline: 3px solid rgba(154, 64, 130, 0.35);
  outline-offset: 3px;
}

.product-gallery-prev {
  left: 1.75rem;
}

.product-gallery-next {
  right: 1.75rem;
}

.product-gallery-control.swiper-button-disabled {
  cursor: default;
  opacity: 0.35;
}

.product-gallery-pagination {
  position: absolute;
  right: 0;
  bottom: 1.4rem !important;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.product-gallery-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--bs-primary);
  opacity: 0.28;
}

.product-gallery-pagination .swiper-pagination-bullet-active {
  width: 24px;
  background-color: var(--bs-secondary);
  border-radius: 999px;
  opacity: 1;
}

.product-gallery-thumbs {
  overflow: hidden;
  padding: 0.25rem;
}

.product-gallery-thumb {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  padding: 0.4rem;
  background-color: #fff;
  border: 2px solid transparent;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(66, 45, 108, 0.09);
  opacity: 0.62;
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.swiper-slide-thumb-active {
  border-color: var(--bs-secondary);
  opacity: 1;
  transform: translateY(-2px);
}

.product-gallery-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-purchase-panel {
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background-color: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(66, 45, 108, 0.11);
  border-radius: 28px;
  box-shadow: 0 24px 65px rgba(66, 45, 108, 0.12);
}

.product-detail-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.1rem;
  gap: 0.6rem;
}

.product-detail-badge,
.product-detail-category {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-detail-badge {
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  gap: 0.4rem;
}

.product-detail-category {
  color: var(--bs-secondary);
  background-color: rgba(154, 64, 130, 0.09);
}

.product-detail-title {
  margin-bottom: 1.15rem;
  color: #352f38;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.product-detail-excerpt {
  color: #625b66;
  font-size: 1.03rem;
  line-height: 1.72;
}

.product-detail-excerpt > :last-child {
  margin-bottom: 0;
}

.product-detail-price {
  margin: 1.5rem 0 0.5rem;
  color: var(--bs-primary);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
}

.product-detail-price del {
  margin-right: 0.5rem;
  color: #918995;
  font-size: 1rem;
  font-weight: 400;
}

.product-detail-price ins {
  text-decoration: none;
}

.product-purchase-panel .stock {
  margin-bottom: 1rem;
  color: #357151;
  font-weight: 600;
}

.product-detail-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(66, 45, 108, 0.1);
  border-bottom: 1px solid rgba(66, 45, 108, 0.1);
  gap: 1rem;
}

.product-detail-benefit {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.product-detail-benefit > i {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  color: var(--bs-secondary);
  background-color: rgba(154, 64, 130, 0.09);
  border-radius: 13px;
  font-size: 1.2rem;
}

.product-detail-benefit span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.product-detail-benefit strong {
  color: #3f3943;
  font-size: 0.9rem;
}

.product-detail-benefit small {
  color: #7b737f;
  font-size: 0.78rem;
  line-height: 1.35;
}

.product-detail-cart {
  margin-top: 1.5rem;
}

.product-cart-row {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(80px, 0.28fr) minmax(0, 1fr);
  gap: 0.85rem;
}

.product-cart-quantity .quantity,
.product-cart-quantity input {
  width: 100%;
  height: 54px;
}

.product-cart-quantity input {
  border-color: rgba(66, 45, 108, 0.18);
  border-radius: 13px;
  font-weight: 700;
  text-align: center;
}

.product-cart-submit .single_add_to_cart_button {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border: 0;
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(66, 45, 108, 0.22);
  font-weight: 600;
  gap: 0.55rem;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.product-cart-submit .single_add_to_cart_button:hover,
.product-cart-submit .single_add_to_cart_button:focus-visible {
  box-shadow: 0 16px 34px rgba(66, 45, 108, 0.28);
  transform: translateY(-2px);
}

.product-detail-assurance {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(66, 45, 108, 0.1);
}

.product-detail-assurance p {
  display: flex;
  margin-bottom: 0.85rem;
  color: #6f6873;
  font-size: 0.88rem;
  line-height: 1.5;
  gap: 0.55rem;
}

.product-detail-assurance p i {
  flex: 0 0 auto;
  color: #3a845a;
}

.product-payment-methods {
  display: block;
  max-width: 100%;
  height: auto;
}

.product-description-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background-color: #f7f3f8;
}

.product-description-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  padding: clamp(2rem, 5vw, 4.5rem);
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.09);
  border-radius: 28px;
  box-shadow: 0 20px 55px rgba(66, 45, 108, 0.09);
  gap: clamp(2rem, 5vw, 5rem);
}

.product-description-eyebrow {
  margin-bottom: 0.65rem;
  color: var(--bs-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-description-heading h2,
.related-products-heading h2 {
  margin: 0;
  color: var(--bs-primary);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.product-description-content {
  color: #574f5a;
  font-size: 1.02rem;
  line-height: 1.78;
}

.product-description-content > :last-child {
  margin-bottom: 0;
}

.product-description-content ul {
  margin: 1.25rem 0;
  padding: 1.15rem 1.25rem 1.15rem 2.75rem;
  background-color: rgba(154, 64, 130, 0.055);
  border-left: 3px solid var(--bs-secondary);
  border-radius: 0 14px 14px 0;
}

.product-description-content li + li {
  margin-top: 0.45rem;
}

.product-description-content li p {
  margin-bottom: 0;
}

.related-products-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background-color: #fff;
}

.related-products-heading {
  max-width: 720px;
}

.related-products-heading > p:last-child {
  margin: 1rem 0 0;
  color: #706875;
  font-size: 1rem;
  line-height: 1.65;
}

@media (min-width: 992px) {
  .product-gallery-panel {
    position: sticky;
    top: 112px;
  }
}

@media (max-width: 991.98px) {
  .product-gallery-zoom {
    min-height: min(70vw, 500px);
  }

  .product-description-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .product-breadcrumbs {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .product-gallery-main,
  .product-purchase-panel,
  .product-description-panel {
    border-radius: 22px;
  }

  .product-gallery-main {
    padding: 0.75rem;
  }

  .product-gallery-zoom {
    min-height: 330px;
    padding: 0.75rem;
    border-radius: 16px;
  }

  .product-gallery-prev {
    left: 1rem;
  }

  .product-gallery-next {
    right: 1rem;
  }

  .product-detail-title {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }

  .product-detail-benefits {
    grid-template-columns: 1fr;
  }

  .product-cart-row {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .product-cart-submit .single_add_to_cart_button {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    font-size: 0.86rem;
  }

  .product-description-panel {
    padding: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-gallery-control,
  .product-gallery-thumb,
  .product-cart-submit .single_add_to_cart_button {
    transition: none;
  }
}

/* Confirmación de producto añadido */
.cart-confirmation-modal .modal-dialog {
  max-width: 510px;
  padding: 1rem;
}

.cart-confirmation-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0, rgba(154, 64, 130, 0.11), transparent 15rem),
    #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(36, 24, 53, 0.3);
}

.cart-confirmation-card:before {
  position: absolute;
  top: 0;
  right: 2rem;
  left: 2rem;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--bs-secondary), var(--bs-primary), transparent);
  border-radius: 0 0 999px 999px;
}

.cart-confirmation-close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(66, 45, 108, 0.09);
}

.cart-confirmation-card .modal-body {
  padding: clamp(2.25rem, 6vw, 3.5rem);
}

.cart-confirmation-icon {
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border: 6px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(154, 64, 130, 0.12), 0 14px 34px rgba(66, 45, 108, 0.22);
  font-size: 2rem;
}

.cart-confirmation-eyebrow {
  color: var(--bs-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cart-confirmation-title {
  margin-bottom: 0.75rem;
  color: var(--bs-primary);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.cart-confirmation-message {
  max-width: 390px;
  margin-right: auto;
  margin-bottom: 1.35rem;
  margin-left: auto;
  color: #68606c;
  font-size: 0.98rem;
  line-height: 1.6;
}

.cart-confirmation-product {
  display: grid;
  align-items: center;
  grid-template-columns: 72px minmax(0, 1fr);
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background-color: #f8f5f9;
  border: 1px solid rgba(66, 45, 108, 0.09);
  border-radius: 16px;
  text-align: left;
  gap: 0.9rem;
}

.cart-confirmation-product[hidden] {
  display: none;
}

.cart-confirmation-product-image {
  width: 72px;
  height: 72px;
  padding: 0.25rem;
  object-fit: contain;
  background-color: #fff;
  border-radius: 12px;
  mix-blend-mode: multiply;
}

.cart-confirmation-product-name {
  color: #403943;
  font-size: 0.92rem;
  line-height: 1.4;
}

.cart-confirmation-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.cart-confirmation-actions .btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-size: 0.84rem;
  font-weight: 600;
  gap: 0.5rem;
}

.cart-confirmation-checkout {
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border: 0;
  box-shadow: 0 11px 25px rgba(66, 45, 108, 0.2);
}

.cart-confirmation-checkout:hover,
.cart-confirmation-checkout:focus-visible {
  color: #fff;
  box-shadow: 0 15px 30px rgba(66, 45, 108, 0.27);
  transform: translateY(-2px);
}

.cart-confirmation-continue {
  color: var(--bs-primary);
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.2);
}

.cart-confirmation-continue:hover,
.cart-confirmation-continue:focus-visible {
  color: var(--bs-secondary);
  background-color: rgba(154, 64, 130, 0.06);
  border-color: var(--bs-secondary);
}

.cart-confirmation-actions .btn:focus-visible,
.cart-confirmation-close:focus-visible {
  outline: 3px solid rgba(154, 64, 130, 0.35);
  outline-offset: 3px;
}

.cart-modal-enabled .added_to_cart.wc-forward,
.cart-notice-consumed {
  display: none !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  position: relative;
  padding: 1rem 1.15rem 1rem 3.35rem !important;
  color: #49414d;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, 0.12);
  border-left: 4px solid var(--bs-secondary);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(66, 45, 108, 0.09);
  list-style: none;
}

.woocommerce-message:before,
.woocommerce-info:before,
.woocommerce-error:before {
  position: absolute;
  top: 0.95rem;
  left: 1.05rem;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: var(--bs-secondary);
  border-radius: 50%;
  content: "\2713";
  font-size: 0.82rem;
  font-weight: 700;
}

.woocommerce-error {
  border-left-color: #b7435b;
}

.woocommerce-error:before {
  background-color: #b7435b;
  content: "!";
}

@media (max-width: 575.98px) {
  .cart-confirmation-modal .modal-dialog {
    margin: 0.5rem;
    padding: 0;
  }

  .cart-confirmation-card {
    border-radius: 22px;
  }

  .cart-confirmation-card .modal-body {
    padding: 2rem 1.25rem 1.35rem;
  }

  .cart-confirmation-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 1rem;
    font-size: 1.75rem;
  }

  .cart-confirmation-actions {
    grid-template-columns: 1fr;
  }

  .cart-confirmation-checkout {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-confirmation-actions .btn {
    transition: none;
  }
}

/* ===== Interior de artículo (single.php) ===== */

.entry-content {
  color: #3d3640;
  font-size: 1.05rem;
  line-height: 1.75;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: #352f38;
  font-weight: 700;
}

.entry-content h2 {
  font-size: 1.5rem;
}

.entry-content h3 {
  font-size: 1.25rem;
}

.entry-content h4 {
  font-size: 1.1rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.4rem;
}

.entry-content li {
  margin-bottom: .5rem;
}

.entry-content a {
  color: var(--bs-primary);
  text-decoration: underline;
  text-decoration-color: rgba(154, 64, 152, .35);
  text-underline-offset: 2px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.entry-content a:hover,
.entry-content a:focus {
  color: var(--bs-secondary);
  text-decoration-color: currentColor;
}

.entry-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  color: #4a4350;
  font-style: italic;
  background-color: rgba(154, 64, 152, .05);
  border-left: 4px solid var(--bs-primary);
  border-radius: 0 12px 12px 0;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content img {
  height: auto;
  max-width: 100%;
  border-radius: 16px;
}

.entry-content figure {
  margin: 2rem 0;
}

.entry-content figcaption {
  margin-top: .5rem;
  color: #948c9a;
  font-size: .85rem;
  text-align: center;
}

.entry-content table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
  padding: .6rem .9rem;
  border: 1px solid rgba(66, 45, 108, .12);
}

.entry-content table th {
  background-color: rgba(66, 45, 108, .05);
}

.entry-content hr {
  margin: 2.5rem 0;
  border-color: rgba(66, 45, 108, .12);
}

/* Meta del post (fecha / autor). */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  color: #948c9a;
  font-size: .88rem;
}

.entry-meta a {
  color: #6b646e;
  text-decoration: none;
  transition: color 150ms ease;
}

.entry-meta a:hover,
.entry-meta a:focus {
  color: var(--bs-primary);
}

.entry-meta i {
  margin-right: .3rem;
  color: var(--bs-primary);
}

/* Footer del post (categorías / tags / editar). */
.entry-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: .85rem;
  border-top: 1px solid rgba(66, 45, 108, .1);
}

.entry-footer .cat-links,
.entry-footer .tags-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}

.entry-footer .cat-links > i,
.entry-footer .tags-links > i {
  margin-right: .2rem;
  color: var(--bs-primary);
}

.entry-footer .cat-links a,
.entry-footer .tags-links a {
  padding: .3rem .75rem;
  color: var(--bs-primary);
  font-weight: 600;
  text-decoration: none;
  background-color: rgba(154, 64, 152, .08);
  border-radius: 999px;
  transition: background-color 150ms ease, color 150ms ease;
}

.entry-footer .cat-links a:hover,
.entry-footer .tags-links a:hover {
  color: #fff;
  background-color: var(--bs-primary);
}

.entry-footer .edit-link a {
  padding: 0;
  color: #948c9a;
  text-decoration: underline;
  background-color: transparent;
}

/* Caja de autor. */
.author-box {
  background-color: #faf8fb;
  border: 1px solid rgba(66, 45, 108, .08);
  border-radius: 20px;
}

.author-box-avatar {
  flex-shrink: 0;
}

.author-box-label {
  color: #948c9a;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.author-box-bio {
  color: #6b646e;
  font-size: .92rem;
  line-height: 1.6;
}

/* Navegación anterior / siguiente artículo. */
.post-navigation {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(66, 45, 108, .1);
}

.post-navigation a {
  display: block;
  padding: 1rem 1.25rem;
  color: #352f38;
  text-decoration: none;
  border: 1px solid rgba(66, 45, 108, .1);
  border-radius: 16px;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.post-navigation a:hover,
.post-navigation a:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 10px 24px rgba(66, 45, 108, .12);
  transform: translateY(-2px);
}

.post-nav-label {
  display: block;
  margin-bottom: .3rem;
  color: var(--bs-primary);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.post-nav-title {
  display: -webkit-box;
  overflow: hidden;
  color: #352f38;
  font-size: .95rem;
  font-weight: 600;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* ===== Comentarios ===== */

.comments-area {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(66, 45, 108, .1);
}

.comments-title {
  margin-bottom: 1.5rem;
  color: #352f38;
  font-size: 1.4rem;
  font-weight: 700;
}

.comment-list {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.comment-list .children {
  margin: 0;
  padding-left: 2.5rem;
  list-style: none;
}

.comment-list .comment {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(66, 45, 108, .08);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
}

.comment-author .avatar {
  border-radius: 50%;
}

.comment-author .fn {
  color: #352f38;
  font-style: normal;
  font-weight: 700;
}

.comment-metadata {
  margin-bottom: .5rem;
  color: #948c9a;
  font-size: .8rem;
}

.comment-metadata a {
  color: inherit;
  text-decoration: none;
}

.comment-content p {
  margin-bottom: .75rem;
  color: #4a4350;
}

.reply {
  margin-top: .5rem;
}

.comment-reply-link {
  padding: .3rem .8rem;
  color: var(--bs-primary);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  background-color: rgba(154, 64, 152, .08);
  border-radius: 999px;
  transition: background-color 150ms ease, color 150ms ease;
}

.comment-reply-link:hover,
.comment-reply-link:focus {
  color: #fff;
  background-color: var(--bs-primary);
}

.comment-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: .9rem;
}

.comment-navigation a {
  color: var(--bs-primary);
  font-weight: 600;
  text-decoration: none;
}

.no-comments {
  color: #948c9a;
  font-style: italic;
}

#respond {
  margin-top: 1rem;
}

.comment-reply-title {
  margin-bottom: 1.25rem;
  color: #352f38;
  font-size: 1.15rem;
  font-weight: 700;
}

.comment-form label {
  display: block;
  margin-bottom: .4rem;
  color: #352f38;
  font-size: .88rem;
  font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: .7rem .9rem;
  margin-bottom: 1rem;
  font-family: inherit;
  border: 1.5px solid rgba(66, 45, 108, .14);
  border-radius: 12px;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  border-color: var(--bs-primary);
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(154, 64, 152, .15);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}

.comment-form-cookies-consent label {
  margin-bottom: 0;
  font-weight: 400;
}

.form-submit {
  margin: 0;
}

.comment-form .submit {
  padding: .75rem 1.75rem;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border: 0;
  border-radius: 999px;
  transition: filter 150ms ease, transform 150ms ease;
}

.comment-form .submit:hover,
.comment-form .submit:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ===== Talleres (listado, relacionados y barra de fecha/lugar) ===== */

.taller-card,
.terapia-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, .09);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(66, 45, 108, .1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.taller-card:hover,
.taller-card:focus-within,
.terapia-card:hover,
.terapia-card:focus-within {
  border-color: rgba(154, 64, 152, .24);
  box-shadow: 0 20px 48px rgba(66, 45, 108, .17);
  transform: translateY(-6px);
}

.taller-card-media,
.terapia-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(66, 45, 108, .1), rgba(154, 64, 152, .12));
}

.taller-card-image,
.terapia-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.taller-card-placeholder,
.terapia-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(66, 45, 108, .5);
  font-size: 2.5rem;
}

.taller-card-body,
.terapia-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.3rem 0;
}

.taller-card-meta {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: .9rem;
}

.taller-card-meta-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--bs-secondary);
  font-size: .85rem;
  font-weight: 600;
}

.taller-card-meta-item i {
  color: var(--bs-primary);
}

.taller-card-summary,
.terapia-card-excerpt {
  overflow: hidden;
  margin-bottom: 1rem;
  color: #6b646e;
  font-size: .92rem;
  line-height: 1.6;
}

.taller-card-summary p:last-child,
.terapia-card-excerpt p:last-child {
  margin-bottom: 0;
}

.terapia-card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.taller-card-title,
.terapia-card-title {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 1rem;
  color: #352f38;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.taller-card-footer,
.terapia-card-footer {
  padding: 0 1.3rem 1.3rem;
  margin-top: auto;
}

.taller-card-footer .btn,
.terapia-card-footer .btn {
  width: 100%;
  padding-top: .55rem;
  padding-bottom: .55rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 600;
  border-radius: 12px;
}

/* Barra de fecha/lugar dentro del detalle de un taller. */
.taller-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.25rem;
  background-color: rgba(154, 64, 152, .06);
  border-radius: 14px;
}

.taller-meta-bar-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #352f38;
  font-weight: 600;
  font-size: .95rem;
}

.taller-meta-bar-item i {
  color: var(--bs-primary);
  font-size: 1.1rem;
}

/* ===== Botones oscuros -> degradado morado (consistencia con el Home) =====
   El tema usa .btn-dark (negro plano de Bootstrap) en varias tarjetas y CTAs
   (talleres, terapias, tienda, cupón de WooCommerce). Se reemplaza aquí por
   el mismo degradado usado en el Home (newsletter, mini-carrito, etc.) para
   que todos los botones de acción principal se vean consistentes. */
.btn.btn-dark {
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border-color: transparent;
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn.btn-dark:hover,
.btn.btn-dark:focus-visible,
.btn.btn-dark:active {
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border-color: transparent;
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ===== Resultados de búsqueda (search.php) ===== */

/* Barra para refinar la búsqueda sin volver al modal del header. */
.search-refine {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.search-refine-icon {
  position: absolute;
  left: 1.1rem;
  color: rgba(66, 45, 108, .4);
  font-size: 1rem;
  pointer-events: none;
}

.search-refine-input {
  width: 100%;
  padding: .9rem 1.1rem .9rem 2.6rem;
  color: #352f38;
  background-color: #fff;
  border: 1.5px solid rgba(66, 45, 108, .14);
  border-radius: 12px 0 0 12px;
  font-size: .95rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.search-refine-input:focus {
  outline: 0;
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 .2rem rgba(154, 64, 152, .15);
}

.search-refine-submit {
  flex-shrink: 0;
  padding: 0 1.5rem;
  height: calc(.9rem * 2 + 1.5em);
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border: 0;
  border-radius: 0 12px 12px 0;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 600;
  font-size: .82rem;
  transition: filter 180ms ease;
}

.search-refine-submit:hover,
.search-refine-submit:focus-visible {
  filter: brightness(1.1);
}

/* Precio en las tarjetas de producto dentro de resultados mixtos. */
.article-card-price {
  flex-shrink: 0;
  color: var(--bs-primary);
  font-weight: 700;
}

.article-card-price del {
  margin-right: .3rem;
  color: #a49da8;
  font-weight: 400;
}

/* Salidas rápidas dentro del estado "sin resultados". */
.search-empty-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

.search-empty-links .btn {
  border-radius: 999px;
}

@media (max-width: 575.98px) {
  .search-refine {
    flex-wrap: wrap;
  }

  .search-refine-input {
    border-radius: 12px;
  }

  .search-refine-submit {
    width: 100%;
    height: auto;
    padding: .75rem 1rem;
    margin-top: .6rem;
    border-radius: 12px;
  }
}

/* ===== Página 404 ===== */

.error-404-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
  background:
    radial-gradient(circle at 12% 15%, rgba(154, 64, 152, .08), transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(66, 45, 108, .08), transparent 45%);
}

.error-404-icon {
  display: inline-flex;
  width: 92px;
  height: 92px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 2.1rem;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(154, 64, 152, .32);
}

.error-404-code {
  margin: 0;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(4.5rem, 12vw, 8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}

.error-404-title {
  margin: .5rem 0 .9rem;
  color: #352f38;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -.01em;
}

.error-404-text {
  max-width: 480px;
  margin: 0 auto 2rem;
  color: #6b646e;
  font-size: 1.02rem;
  line-height: 1.65;
}

.error-404-section .search-refine {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.error-404-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: 2.5rem;
}

.error-404-link {
  display: flex;
  width: 108px;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 1.1rem .5rem;
  color: #352f38;
  background-color: #fff;
  border: 1px solid rgba(66, 45, 108, .09);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(66, 45, 108, .07);
  font-size: .82rem;
  font-weight: 600;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, color 200ms ease;
}

.error-404-link-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
  background-color: rgba(154, 64, 152, .09);
  border-radius: 50%;
  font-size: 1.15rem;
  transition: color 200ms ease, background-color 200ms ease;
}

.error-404-link:hover,
.error-404-link:focus-visible {
  color: var(--bs-secondary);
  border-color: rgba(154, 64, 152, .28);
  box-shadow: 0 16px 34px rgba(66, 45, 108, .14);
  transform: translateY(-4px);
}

.error-404-link:hover .error-404-link-icon,
.error-404-link:focus-visible .error-404-link-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
}

@media (max-width: 575.98px) {
  .error-404-section {
    padding: 3.5rem 0 4rem;
  }

  .error-404-icon {
    width: 76px;
    height: 76px;
    font-size: 1.7rem;
  }

  .error-404-link {
    width: 92px;
    padding: .9rem .4rem;
    font-size: .76rem;
  }
}

/* ===== Botón de reproducir video (página Quiénes somos) ===== */

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.play-btn img {
  transition: transform 220ms ease;
}

.play-btn:hover,
.play-btn:focus-visible {
  box-shadow: 0 18px 42px rgba(0, 0, 0, .4);
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .play-btn,
  .play-btn:hover,
  .play-btn:focus-visible {
    transform: none;
  }
}
