:root {
    --ink: #173d23;
    --muted: #63736a;
    --primary: #22b036;
    --primary-dark: #168527;
    --primary-soft: #e8f8ea;
    --primary-rgb: 34, 176, 54;
    --secondary: #0296e7;
    --secondary-dark: #0276b7;
    --secondary-soft: #e5f5fd;
    --secondary-rgb: 2, 150, 231;
    --teal: var(--primary-dark);
    --teal-dark: #0f641c;
    --teal-soft: var(--primary-soft);
    --mint: var(--secondary);
    --coral: #f18b75;
    --coral-soft: #ffe6df;
    --cream: #f8f5ee;
    --line: #dfe8e5;
    --white: #fff;
    --shadow: 0 18px 45px rgba(20, 61, 58, .1);
}

* { box-sizing: border-box; }
html { width: 100%; min-width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { width: 100%; min-width: 100%; max-width: 100%; margin: 0; overflow-x: hidden; overflow-x: clip; color: var(--ink); background: #fff; font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body > .site, .site-main, #contenido { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; overflow-x: clip; }
.announcement-bar, .site-header, .site-main, .site-footer { width: 100%; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.shell-wide { width: min(1360px, calc(100% - 32px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; background: #fff; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.is-hidden { display: none !important; }

.announcement-bar { background: var(--teal-dark); color: #fff; font-size: .78rem; letter-spacing: .015em; }
.announcement-bar__inner { min-height: 30px; display: flex; align-items: center; justify-content: center; gap: 44px; }
.announcement-bar a { text-decoration: underline; text-underline-offset: 3px; }
.announcement-message { display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.97); box-shadow: 0 1px rgba(6,72,67,.09); backdrop-filter: blur(16px); }
.header-main { min-height: 76px; display: grid; grid-template-columns: auto minmax(280px, 1fr) auto; align-items: center; gap: 34px; }
.brand-logo { display: block; width: 190px; height: 73px; flex: none; overflow: hidden; background: #fff; border-radius: 8px; }
.brand-logo__image { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: contain; object-position: center; }
.search-box { display: flex; height: 44px; align-items: center; padding: 0 5px 0 15px; border: 1px solid #d7e4e1; border-radius: 99px; background: #f8fbfa; transition: border-color .2s, box-shadow .2s, background .2s; }
.search-box:focus-within { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(var(--primary-rgb),.11); }
.search-box svg { width: 20px; flex: none; color: var(--teal); }
.search-box input { width: 100%; min-width: 80px; padding: 0 12px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: #84918f; }
.search-box button { height: 34px; padding: 0 18px; border: 0; color: #fff; background: var(--teal); border-radius: 99px; cursor: pointer; font-size: .78rem; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-action { position: relative; display: flex; align-items: center; flex-direction: column; gap: 4px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--ink); font-size: .67rem; font-weight: 700; }
.header-action__icon { position: relative; display: grid; width: 26px; height: 26px; place-items: center; }
.header-action svg { width: 25px; height: 25px; stroke-width: 1.7; }
.action-count { position: absolute; top: -7px; right: -8px; display: grid; width: 18px; height: 18px; place-items: center; color: #fff; background: var(--coral); border: 2px solid #fff; border-radius: 50%; font-size: .58rem; font-weight: 800; }
.mobile-menu-button, .mobile-search { display: none; }

.category-nav { position: relative; border-top: 1px solid #edf2f1; }
.category-nav__inner { display: flex; min-height: 42px; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: clamp(14px, 1.8vw, 28px); row-gap: 0; }
.category-nav a { display: inline-flex; align-items: center; gap: 5px; font-size: .81rem; font-weight: 650; white-space: nowrap; }
.category-nav a:hover { color: var(--teal); }
.category-nav__inner > a { min-height: 42px; }
.category-nav__special { color: #d85d49 !important; }
.category-nav__special svg { width: 17px; }
.nav-category { position: static; min-height: 42px; display: flex; align-items: center; }
.nav-category__heading { display: flex; min-height: 42px; align-items: center; }
.nav-category__toggle { display: none; width: 28px; height: 28px; padding: 0; place-items: center; color: var(--ink); border: 0; background: transparent; border-radius: 7px; cursor: pointer; }
.nav-category__toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.mega-menu { position: absolute; z-index: 20; top: 100%; right: 0; left: 0; padding: 14px 0 0; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-category:hover .mega-menu, .nav-category:focus-within .mega-menu { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.mega-menu__content { display: grid; width: min(1120px, calc(100% - 48px)); max-height: min(70vh, 660px); margin: auto; padding: 28px; grid-template-columns: 190px minmax(0, 1fr); gap: 32px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--line); border-radius: 0 0 24px 24px; box-shadow: var(--shadow); }
.mega-menu__eyebrow, .eyebrow { margin: 0 0 7px; color: var(--teal); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.mega-menu h2 { margin: 0 0 18px; font-size: 1.55rem; letter-spacing: -.04em; }
.mega-menu__intro { padding-right: 26px; border-right: 1px solid var(--line); }
.mega-menu__view-all { color: var(--teal); font-size: .75rem !important; font-weight: 800 !important; }
.mega-menu__subcategories { min-width: 0; }
.mega-menu__subcategories > p { margin: 0 0 11px; color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mega-menu__subcategory-grid { display: grid; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.mega-menu__subcategory-card { min-width: 0; margin: 0; padding: 15px 16px 14px; background: #f8fbf9; border: 1px solid #e3ede7; border-radius: 15px; transition: border-color .2s ease, box-shadow .2s ease; }
.mega-menu__subcategory-card:hover, .mega-menu__subcategory-card:focus-within { border-color: #b7dac5; box-shadow: 0 8px 20px rgba(8,55,52,.07); }
.mega-menu__subcategory-card h3 { margin: 0; }
.mega-menu__subcategory-title { display: flex !important; min-height: 24px; align-items: flex-start !important; justify-content: space-between; gap: 8px; color: var(--ink); font-size: .85rem !important; font-weight: 800 !important; line-height: 1.3; white-space: normal !important; }
.mega-menu__subcategory-title span:last-child { flex: none; color: var(--teal); transition: transform .2s ease; }
.mega-menu__subcategory-title:hover span:last-child, .mega-menu__subcategory-title:focus-visible span:last-child { transform: translateX(3px); }
.mega-menu__leaf-list { display: flex; margin: 10px 0 0; padding: 10px 0 0; flex-direction: column; gap: 2px; list-style: none; border-top: 1px solid #e3ede7; }
.mega-menu__leaf-list li { min-width: 0; }
.mega-menu__leaf-list a { display: block; width: fit-content; max-width: 100%; padding: 5px 0; color: #526c5c; font-size: .76rem; font-weight: 550; line-height: 1.35; white-space: normal; }
.mega-menu__leaf-list a:hover, .mega-menu__leaf-list a:focus-visible { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.mega-menu__subcategory-title:focus-visible, .mega-menu__leaf-list a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

.hero { position: relative; height: clamp(340px, 31vw, 420px); margin-top: 14px; overflow: hidden; border-radius: 22px; background: var(--cream); box-shadow: 0 14px 40px rgba(23,66,62,.08); }
.hero__track, .hero-slide { position: absolute; inset: 0; }
.hero-slide { display: flex; align-items: center; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .35s ease, visibility .35s; }
.hero-slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.hero-slide--main { background: linear-gradient(90deg, rgba(250,248,242,.98) 0%, rgba(250,248,242,.84) 36%, rgba(250,248,242,.04) 60%), url('../images/hero-pharmacy.png') center/cover no-repeat; }
.hero-slide--beauty { overflow: hidden; color: #fff; background: radial-gradient(circle at 75% 50%, #efb7aa 0, transparent 38%), linear-gradient(125deg, #6d3147, #b05767 60%, #d79283); }
.hero-slide--beauty::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(73,24,43,.4), transparent 60%); }
.hero-slide--beauty img { position: absolute; z-index: 1; right: 5%; bottom: -22%; width: min(48%, 610px); border-radius: 48% 48% 0 0; mix-blend-mode: soft-light; transform: rotate(4deg); }
.hero-slide--bank { overflow: hidden; background: linear-gradient(120deg, var(--secondary-soft) 0%, #f8fbf4 52%, var(--primary-soft) 100%); }
.hero-slide__bank-image { position: absolute; right: 4%; bottom: 0; width: min(46%, 590px); height: 88%; object-fit: contain; object-position: center bottom; }
.hero-slide__content { position: relative; z-index: 3; width: min(540px, 48%); margin-left: clamp(42px, 7vw, 105px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 19px; color: var(--teal); font-size: .72rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.hero-kicker::before { width: 25px; height: 2px; content: ''; background: currentColor; }
.hero-slide h1, .hero-slide h2 { margin: 0; font-size: clamp(3rem, 5.3vw, 5.6rem); font-weight: 760; line-height: .92; letter-spacing: -.075em; }
.hero-slide p { max-width: 460px; margin: 24px 0 30px; color: #516c69; font-size: clamp(.95rem, 1.3vw, 1.15rem); line-height: 1.65; }
.hero-slide__content--light .hero-kicker, .hero-slide__content--light p { color: #ffece7; }
.primary-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 16px; padding: 0 24px; color: #fff; background: var(--teal); border-radius: 99px; font-size: .85rem; font-weight: 800; box-shadow: 0 10px 25px rgba(var(--primary-rgb),.22); transition: transform .2s, box-shadow .2s; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(var(--primary-rgb),.28); }
.primary-button--light { color: #703145; background: #fff; }
.hero-card-art { position: absolute; right: 8%; width: 35%; height: 58%; transform: rotate(-8deg); }
.hero-card-art span { position: absolute; display: block; width: 75%; aspect-ratio: 1.6; border-radius: 22px; box-shadow: 0 25px 55px rgba(17,65,59,.16); }
.hero-card-art span:nth-child(1) { top: 12%; right: 0; background: linear-gradient(135deg, #078679, #29aa96); }
.hero-card-art span:nth-child(2) { top: 30%; left: 2%; background: linear-gradient(135deg, #fff, #f4ead7); }
.hero-card-art span:nth-child(3) { right: 8%; bottom: 0; background: linear-gradient(135deg, #ef8c76, #ffb09d); }
.hero-arrow { position: absolute; z-index: 5; top: 50%; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(21,59,58,.13); background: rgba(255,255,255,.88); border-radius: 50%; box-shadow: 0 8px 20px rgba(21,59,58,.1); cursor: pointer; font-size: 1.45rem; transform: translateY(-50%); }
.hero-arrow--prev { left: 18px; }
.hero-arrow--next { right: 18px; }
.hero-dots { position: absolute; z-index: 5; right: 0; bottom: 21px; left: 0; display: flex; justify-content: center; gap: 7px; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; background: rgba(7,95,88,.28); border-radius: 99px; cursor: pointer; transition: width .25s, background .25s; }
.hero-dots button.is-active { width: 30px; background: var(--teal); }
.hero-slide--visual { display: block; background: #edf4f1; }
.hero-slide--visual picture { display: block; width: 100%; height: 100%; }
.hero-slide--visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.section { padding-top: 66px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: clamp(1.75rem, 2.5vw, 2.35rem); line-height: 1; letter-spacing: -.05em; }
.section-heading--single { margin-bottom: 25px; align-items: center; }
.section-heading--single h2 { display: flex; align-items: center; gap: 13px; color: var(--ink); line-height: 1.08; }
.section-heading--single h2::before { width: 5px; height: 32px; flex: none; content: ''; background: linear-gradient(180deg, var(--primary) 0 50%, var(--secondary) 50% 100%); border-radius: 99px; box-shadow: 0 4px 12px rgba(var(--primary-rgb), .16); }
.section-heading a { color: var(--teal); font-size: .78rem; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.section-heading__actions { display: flex; align-items: center; gap: 18px; }
.section-intro { max-width: 570px; margin: 12px 0 0; color: var(--muted); line-height: 1.65; }
.carousel-controls { display: flex; gap: 9px; }
.carousel-controls button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; }
.carousel-controls button[hidden] { display: none !important; }
.carousel-controls button:hover { color: #fff; background: var(--teal); border-color: var(--teal); }
.product-carousel { display: grid; overflow-x: auto; padding: 5px 3px 22px; grid-auto-columns: minmax(215px, 1fr); grid-auto-flow: column; gap: 14px; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x mandatory; }
.product-carousel::-webkit-scrollbar { display: none; }
.product-card { display: flex; height: 100%; min-width: 0; overflow: hidden; flex-direction: column; background: #fff; border: 1px solid #e2eae7; border-radius: 14px; cursor: pointer; scroll-snap-align: start; transition: transform .25s, border-color .25s, box-shadow .25s; }
.product-card:hover { border-color: #c4dad4; box-shadow: 0 18px 38px rgba(14,75,69,.1); transform: translateY(-4px); }
.product-card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #f7f8f5; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.discount-badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 9px; color: #fff; background: #e26552; border-radius: 8px; font-size: .67rem; font-weight: 850; }
.discount-badge--soft { color: var(--teal); background: var(--teal-soft); }
.icon-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(20,61,58,.1); background: rgba(255,255,255,.9); border-radius: 50%; cursor: pointer; }
.icon-button svg { width: 19px; }
.product-card__favorite { position: absolute; z-index: 2; top: 12px; right: 12px; }
.product-card__favorite.is-active { color: #e05263; background: #fff0f2; border-color: #ffd2d8; }
.product-card__favorite.is-active svg { fill: currentColor; }
.product-card__placeholder { display: grid; height: 100%; place-items: center; color: #fff; background: var(--teal-soft); font-size: 4rem; font-weight: 900; }
.product-card__body { display: flex; padding: 13px; flex: 1; flex-direction: column; }
.product-card__brand { min-width: 0; min-height: 1.42em; margin: 0 0 7px; overflow: hidden; color: var(--teal); font-size: .65rem; font-weight: 800; letter-spacing: .1em; line-height: 1.42; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.product-card__brand a { display: block; overflow: hidden; color: inherit; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.product-card__brand a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.product-card h3 { min-height: 3.34em; max-height: 3.34em; margin: 0; overflow: hidden; font-size: .84rem; font-weight: 720; line-height: 1.42; }
.product-card h3 a { display: -webkit-box; padding-bottom: .12em; overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.product-card h3 a:hover { color: var(--teal); }
.rating { display: flex; align-items: center; gap: 7px; margin-bottom: 13px; color: #ecad40; font-size: .67rem; letter-spacing: 1px; }
.rating small { color: var(--muted); letter-spacing: 0; }
.product-card__price { display: flex; min-height: 62px; margin-top: auto; padding-top: 9px; flex-direction: column; justify-content: flex-end; }
.product-card__price del { color: #8f9997; font-size: .72rem; }
.product-card__price strong { margin: 2px 0; font-size: 1.25rem; letter-spacing: -.04em; }
.product-card__price small { color: var(--teal); font-size: .66rem; font-weight: 700; }
.product-card__payment-qr { white-space: nowrap; }
.add-to-cart { display: flex; width: 100%; height: 36px; align-items: center; justify-content: center; gap: 7px; margin-top: 11px; border: 1px solid var(--teal); color: var(--teal); background: #fff; border-radius: 8px; cursor: pointer; font-size: .72rem; font-weight: 800; transition: color .2s, background .2s; }
.add-to-cart:hover:not(:disabled) { color: #fff; background: var(--teal); }
.add-to-cart:disabled { border-color: #ccd4d2; color: #9aa4a2; cursor: not-allowed; }
.add-to-cart svg { width: 18px; }
.add-to-cart__icon { width: 17px; height: 17px; flex: none; transition: transform .2s ease; }
.add-to-cart:hover .add-to-cart__icon { transform: translateX(-2px); }
.add-to-cart { position: relative; overflow: hidden; }
.add-to-cart .button-spinner { display: none; width: 15px; height: 15px; flex: none; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: fm-spin .65s linear infinite; }
.add-to-cart.is-loading { color: #fff !important; background: var(--teal) !important; pointer-events: none; }
.add-to-cart.is-loading .add-to-cart__icon { display: none; }
.add-to-cart.is-loading .button-spinner { display: block; }
.add-to-cart.is-success { color: #fff !important; background: #208d61 !important; border-color: #208d61 !important; }
.add-to-cart.is-success .add-to-cart__icon { animation: fm-cart-pop .38s ease; }
.add-to-cart.has-error { animation: fm-shake .3s ease; }
@keyframes fm-spin { to { transform: rotate(360deg); } }
@keyframes fm-cart-pop { 50% { transform: scale(1.28); } }
@keyframes fm-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

.bank-section { position: relative; margin: 9px auto 0; overflow: visible; padding: 0; color: var(--ink); background: transparent; }
.bank-section::before { display: none; }
.bank-section > .shell { position: relative; z-index: 1; }
.bank-carousel { position: relative; }
.bank-grid { display: grid; overflow-x: auto; padding: 3px 3px 8px; grid-auto-columns: calc((100% - 13px) / 2); grid-auto-flow: column; gap: 13px; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x mandatory; }
.bank-grid.bank-grid--single { margin-right: 0; grid-auto-columns: 100%; }
.bank-grid::-webkit-scrollbar { display: none; }
.bank-carousel__controls { position: absolute; z-index: 3; top: 50%; right: -18px; left: -18px; justify-content: space-between; pointer-events: none; transform: translateY(-50%); }
.bank-carousel__controls button { width: 42px; height: 42px; color: var(--teal); background: rgba(255,255,255,.96); border-color: #d4e3de; box-shadow: 0 8px 22px rgba(17,72,65,.14); pointer-events: auto; }
.bank-carousel__controls button:hover { color: #fff; background: var(--teal); border-color: var(--teal); }
.bank-card { position: relative; min-height: 225px; overflow: hidden; padding: 25px; color: var(--ink); border-radius: 20px; box-shadow: 0 15px 30px rgba(0,0,0,.13); }
.bank-card::after { position: absolute; right: -28px; bottom: -56px; width: 170px; height: 170px; content: ''; border: 28px solid rgba(255,255,255,.4); border-radius: 50%; }
.bank-card--mint { background: #bfe7fb; }
.bank-card--cream { background: #f2dfbb; }
.bank-card--coral { background: #ef947e; }
.bank-card__day { display: inline-block; padding: 5px 8px; border: 1px solid rgba(21,59,58,.35); border-radius: 99px; font-size: .59rem; font-weight: 850; letter-spacing: .1em; }
.bank-card__logo { margin: 22px 0 8px; font-size: 1rem; font-weight: 900; letter-spacing: .08em; }
.bank-card strong { display: block; font-size: 2.35rem; letter-spacing: -.06em; }
.bank-card p { max-width: 230px; margin: 8px 0 0; font-size: .72rem; line-height: 1.5; }
.bank-card--visual { display: block; min-height: 0; overflow: hidden; padding: 0; aspect-ratio: 7 / 2; background: #fff; border: 1px solid #dde7e3; border-radius: 14px; box-shadow: 0 10px 24px rgba(15,67,61,.09); scroll-snap-align: start; transition: transform .25s ease, box-shadow .25s ease; }
.bank-card--visual::after { display: none; }
.bank-card--visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.bank-card--visual:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, .2); transform: translateY(-4px); }
.bank-card--visual:hover img { transform: scale(1.025); }

.home-brands { position: relative; margin-top: 23px; overflow: hidden; padding: 22px 24px 17px; color: var(--ink); background: linear-gradient(125deg, #fff 0%, #f4fbf6 56%, #eff9fe 100%); border: 1px solid #d9e9e3; border-radius: 20px; box-shadow: 0 15px 38px rgba(17,68,61,.09); }
.home-brands::before { position: absolute; z-index: 2; top: 0; right: 0; left: 0; height: 4px; content: ''; background: linear-gradient(90deg, var(--primary) 0 50%, var(--secondary) 50% 100%); }
.home-brands.home-brands--standalone { margin-top: 38px; border-color: #d9e9e3; box-shadow: 0 15px 38px rgba(17,68,61,.09); }
.home-brands.home-brands--after-offer { margin-top: 30px; }
.home-brands::after { position: absolute; top: -82px; right: -60px; width: 190px; height: 190px; content: ''; background: rgba(var(--secondary-rgb), .07); border-radius: 50%; pointer-events: none; }
.home-brands > * { position: relative; z-index: 1; }
.home-brands__header { display: flex; margin-bottom: 17px; align-items: center; justify-content: space-between; gap: 20px; }
.home-brands__header span { color: var(--teal); font-size: .57rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.home-brands__header h3 { margin: 3px 0 0; font-size: 1.05rem; letter-spacing: -.03em; }
.home-brands__header.section-heading--single h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.035em; }
.home-brands__header.section-heading--single h2::before { height: 25px; }
.home-brands .carousel-controls button { width: 34px; height: 34px; color: var(--teal); background: rgba(255,255,255,.94); border-color: #cfe2dc; box-shadow: 0 5px 14px rgba(17,68,61,.07); }
.home-brands .carousel-controls button:hover { color: #fff; background: var(--teal); border-color: var(--teal); }
.home-brands__track { display: grid; min-width: 0; overflow-x: auto; padding: 2px 2px 9px; grid-auto-columns: calc((100% - 33px) / 4); grid-auto-flow: column; gap: 11px; scroll-behavior: smooth; scrollbar-width: none; scroll-padding-inline: 2px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; }
.home-brands__track::-webkit-scrollbar { display: none; }
.home-brands__track > a { display: grid; height: 98px; padding: 11px 15px 8px; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 6px; overflow: hidden; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid #dce9e5; border-radius: 14px; box-shadow: 0 6px 18px rgba(18,73,66,.055); scroll-snap-align: start; scroll-snap-stop: always; transition: border-color .2s, box-shadow .2s, transform .2s; }
.home-brands__track > a:hover { border-color: #82c9ba; box-shadow: 0 12px 25px rgba(18,73,66,.12); transform: translateY(-3px); }
.home-brands__logo { display: grid; width: 100%; min-height: 0; place-items: center; overflow: hidden; }
.home-brands__track img { width: 100%; height: 100%; max-height: 58px; object-fit: contain; }
.home-brands__track strong { font-size: .72rem; text-align: center; }
.home-brands__track small { color: #78908a; font-size: .5rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.home-brands__track > a:hover small { color: var(--teal); }
.home-brands__all { display: inline-flex; width: fit-content; min-height: 32px; margin: 5px 0 0 auto; padding: 0 11px; align-items: center; gap: 7px; color: var(--teal) !important; background: rgba(255,255,255,.78); border: 1px solid #d5e6e1; border-radius: 99px; font-size: .63rem; font-weight: 850; transition: background .2s, color .2s, border-color .2s; }
.home-brands__all:hover { color: #fff !important; background: var(--teal); border-color: var(--teal); }

.offer-layout { display: grid; grid-template-columns: minmax(260px, .82fr) 2fr; gap: 42px; }
.offer-layout.offer-layout--no-image { grid-template-columns: 1fr; }
.offer-layout.offer-layout--no-products { max-width: 420px; margin-inline: auto; grid-template-columns: 1fr; }
.offer-feature { position: relative; min-height: 555px; overflow: hidden; padding: 38px; color: #fff; background: linear-gradient(150deg, var(--teal) 0%, var(--teal-dark) 100%); border-radius: 24px; }
.offer-feature::after { position: absolute; right: -110px; bottom: -100px; width: 360px; height: 360px; content: ''; border: 55px solid rgba(178,232,220,.15); border-radius: 50%; }
.offer-feature .eyebrow { color: #ade9dc; }
.offer-feature h2 { max-width: 330px; margin: 28px 0 18px; font-size: clamp(2.2rem, 3.5vw, 3.5rem); line-height: .98; letter-spacing: -.07em; }
.offer-feature p { max-width: 310px; color: #c6e0dc; font-size: .86rem; line-height: 1.7; }
.offer-feature__number { position: relative; z-index: 1; display: flex; align-items: flex-start; margin-top: 50px; color: #fff; font-size: 7.3rem; font-weight: 900; line-height: .7; letter-spacing: -.1em; }
.offer-feature__number small { margin: -4px 0 0 12px; font-size: 1.45rem; line-height: .9; letter-spacing: -.04em; }
.offer-feature > a { position: absolute; z-index: 2; bottom: 35px; left: 38px; display: flex; align-items: center; gap: 20px; color: #fff; font-size: .76rem; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.offer-products { min-width: 0; }
.offer-products .section-heading { margin-bottom: 23px; }
.offer-products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.offer-products__grid .product-card__media { aspect-ratio: 1; }
.offer-feature--visual { min-height: 0; padding: 0; aspect-ratio: 4 / 5; background: #0b746a; }
.offer-feature--visual::after { display: none; }
.offer-feature--visual img { width: 100%; height: 100%; object-fit: cover; }
.offer-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer-layout--carousel { max-width: 1080px; margin-inline: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: stretch; gap: 13px; }
.offer-layout--carousel .offer-feature--visual { width: 100%; height: 100%; min-height: 0; margin: 0; aspect-ratio: auto; }
.offer-products-carousel { display: grid; min-width: 0; overflow-x: auto; padding: 0 2px 4px; grid-auto-columns: calc((100% - 26px) / 3); grid-auto-flow: column; align-items: stretch; gap: 13px; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x mandatory; }
.offer-products-carousel::-webkit-scrollbar { display: none; }
.offer-products-carousel .product-card { height: 100%; scroll-snap-align: start; }

.filter-pills { display: flex; overflow-x: auto; padding: 3px 2px 7px; gap: 9px; margin: -5px 0 22px; scrollbar-width: none; scroll-snap-type: x proximity; }
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pills button { display: inline-flex; min-height: 40px; padding: 8px 15px; align-items: center; flex: none; gap: 9px; border: 1px solid var(--line); color: var(--ink); background: #fff; border-radius: 999px; box-shadow: 0 5px 14px rgba(20,65,60,.045); cursor: pointer; font-size: .71rem; font-weight: 780; white-space: nowrap; scroll-snap-align: start; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.filter-pills button:hover { border-color: #b9d5ce; transform: translateY(-1px); }
.filter-pills button.is-active { border-color: var(--teal); color: #fff; background: var(--teal); }
.filter-pill__media { display: grid; width: 35px; height: 35px; place-items: center; overflow: hidden; color: var(--teal); background: var(--teal-soft); border-radius: 10px; }
.filter-pill__media img { width: 100%; height: 100%; object-fit: cover; }
.filter-pill__media svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.filter-pills button.is-active .filter-pill__media { color: var(--teal-dark); background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-grid > div { min-width: 0; }
.product-grid > div[hidden] { display: none; }
.section[data-product-filters] .product-grid { transition: opacity .18s ease; }
.section[data-product-filters].is-loading .product-grid { opacity: .48; pointer-events: none; }
.home-products-empty { grid-column: 1 / -1; margin: 0; padding: 28px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); background: #fff; text-align: center; }


.social-section { position: relative; margin-top: 82px; overflow: hidden; padding: 70px 0 78px; background: linear-gradient(135deg, #f4f8f6 0%, #f7f4ed 54%, #eef7fb 100%); }
.social-section::before { position: absolute; top: -140px; right: -110px; width: 330px; height: 330px; content: ''; background: rgba(32,163,218,.08); border-radius: 50%; }
.social-section > .shell { position: relative; z-index: 1; }
.social-section__heading { margin-bottom: 27px; }
.social-section__heading h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.social-section__heading.section-heading--single h2 { font-size: clamp(1.75rem, 2.5vw, 2.35rem); }
.stories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.story-card { position: relative; display: block; aspect-ratio: .72; overflow: hidden; color: #fff; background: #ddd; border-radius: 20px; box-shadow: 0 14px 30px rgba(21,59,58,.11); }
.story-card::after { position: absolute; inset: 35% 0 0; content: ''; background: linear-gradient(transparent, rgba(6,36,34,.86)); }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story-card:hover img { transform: scale(1.045); }
.story-card__overlay { position: absolute; z-index: 2; right: 20px; bottom: 20px; left: 20px; }
.story-card__overlay span { font-size: .62rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.story-card__overlay h3 { margin: 7px 0 0; font-size: 1.12rem; line-height: 1.25; letter-spacing: -.025em; }
.story-card > button { position: absolute; z-index: 3; top: 16px; right: 16px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.65); color: #fff; background: rgba(0,0,0,.2); border-radius: 50%; backdrop-filter: blur(8px); cursor: pointer; }
.story-card > button svg { width: 22px; fill: currentColor; stroke: none; }
.stories-grid--reels { display: grid; overflow-x: auto; padding: 5px 3px 21px; grid-template-columns: none; grid-auto-columns: calc((100% - 34px) / 3); grid-auto-flow: column; align-items: stretch; gap: 17px; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x mandatory; }
.stories-grid--reels::-webkit-scrollbar { display: none; }
.reel-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; background: #fff; border: 1px solid #dce7e3; border-radius: 18px; box-shadow: 0 16px 34px rgba(21,59,58,.09); }
.stories-grid--reels .reel-card { scroll-snap-align: start; }
.reel-card__embed { min-height: 520px; overflow: hidden; flex: 1; background: linear-gradient(145deg,#f5faf8,#f4f9fc); }
.reel-card .instagram-media { width: 100% !important; min-width: 0 !important; margin: 0 !important; border: 0 !important; }
.reel-card .instagram-media > a { display: grid; min-height: 520px; padding: 30px; place-items: center; color: var(--teal); font-size: .68rem; font-weight: 800; text-align: center; }
.reel-product { display: grid; padding: 12px; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; background: #f8fbfa; border-top: 1px solid #e4ece9; }
.reel-product__image { display: block; width: 52px; height: 52px; overflow: hidden; background: #fff; border: 1px solid #e0e8e5; border-radius: 10px; }
.reel-product__image img { width: 100%; height: 100%; object-fit: cover; }
.reel-product > div { min-width: 0; }
.reel-product > div > span { display: block; margin-bottom: 3px; color: var(--teal); font-size: .5rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.reel-product h3 { display: -webkit-box; margin: 0; overflow: hidden; font-size: .7rem; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.reel-product small { display: block; margin-top: 4px; color: var(--ink); font-size: .66rem; font-weight: 850; }
.reel-product__button { display: inline-flex; min-height: 34px; padding: 0 12px; align-items: center; gap: 7px; color: #fff; background: var(--teal); border-radius: 99px; font-size: .58rem; font-weight: 850; white-space: nowrap; }
.reel-product__button:hover { color: #fff; background: var(--teal-dark); }
.reel-product__button b { font-size: .8rem; }
.reels-empty { padding: 48px 24px; text-align: center; background: rgba(255,255,255,.62); border: 1px dashed #c9d8d4; border-radius: 20px; }
.reels-empty > span { display: grid; width: 52px; height: 52px; margin: 0 auto 14px; place-items: center; color: #fff; background: linear-gradient(135deg, #dc4667, #f3a04f); border-radius: 15px; font-size: 1.55rem; }
.reels-empty strong { display: block; }
.reels-empty p { margin: 7px 0 0; color: var(--muted); font-size: .78rem; }

.newsletter { display: grid; margin-top: 62px; margin-bottom: 62px; padding: 40px 48px; grid-template-columns: 1fr .9fr; align-items: center; gap: 45px; background: var(--teal-soft); border-radius: 20px; }
.newsletter h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.06em; }
.newsletter--single-title > div { padding-left: 18px; border-left: 5px solid var(--primary); }
.newsletter p { margin-bottom: 0; color: var(--muted); }
.newsletter form { display: grid; gap: 14px; min-width: 0; }
.newsletter-form__controls { display: flex; padding: 5px; background: #fff; border: 1px solid #c9dfda; border-radius: 12px; }
.newsletter input { width: 100%; padding: 0 18px; border: 0; outline: 0; background: transparent; }
.newsletter button { height: 45px; padding: 0 22px; border: 0; color: #fff; background: var(--teal); border-radius: 99px; cursor: pointer; font-size: .76rem; font-weight: 850; white-space: nowrap; }
.newsletter-consent { display: block; margin: 0; color: #68817a; font-size: .7rem; line-height: 1.45; }
.newsletter-consent a { color: var(--teal-dark); font-weight: 800; text-decoration: underline; }
.newsletter .fm-form-verification { margin: 0; min-width: 0; }
.newsletter .newsletter-submit { margin: 0; width: 100%; border-radius: 12px; }
@media (min-width: 1025px) {
    .newsletter-form__controls { padding: 0; background: transparent; border: 0; border-radius: 0; }
    .newsletter input { height: 54px; padding: 0 20px; background: #fff; border: 1px solid #c9dfda; border-radius: 99px; box-shadow: 0 10px 26px rgba(14,75,69,.08); transition: border-color .2s ease, box-shadow .2s ease; }
    .newsletter input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,110,96,.11), 0 12px 28px rgba(14,75,69,.1); }
}
.fm-form-verification__error { display: block; color: #9a3f32 !important; font-size: .68rem !important; font-weight: 700; line-height: 1.4; }
.fm-postcode-availability { display: block; width: 100%; margin-top: 7px; padding: 9px 11px; color: #9a3f32; background: #fff0ed; border: 1px solid #f1c9c1; border-radius: 9px; font-size: .68rem; font-weight: 700; line-height: 1.45; }

.publication-archive .page-hero p { max-width: 620px; margin: 18px 0 0; color: var(--muted); line-height: 1.7; }
.publication-grid { display: grid; padding-top: 64px; padding-bottom: 90px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.publication-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .25s, box-shadow .25s; }
.publication-card:hover { box-shadow: 0 18px 42px rgba(14,75,69,.1); transform: translateY(-4px); }
.publication-card__image { display: block; aspect-ratio: 1.25; overflow: hidden; background: var(--teal-soft); }
.publication-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.publication-card:hover .publication-card__image img { transform: scale(1.035); }
.publication-card__image > span { display: grid; height: 100%; place-items: center; color: var(--teal); font-size: 4rem; font-weight: 900; }
.publication-card__body { padding: 24px; }
.publication-card__body > span { color: var(--teal); font-size: .65rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.publication-card__body h2, .publication-card__body h3 { margin: 10px 0 12px; font-size: 1.55rem; line-height: 1.08; letter-spacing: -.045em; }
.publication-card__body h3 { font-size: 1.3rem; }
.publication-card__body p { min-height: 66px; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.publication-card__body .text-link { display: inline-block; margin-top: 8px; color: var(--teal); font-size: .74rem; font-weight: 800; }
.publication-pagination { grid-column: 1 / -1; padding-top: 20px; }
.publication-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.publication-pagination .page-numbers { display: grid; min-width: 40px; height: 40px; padding-inline: 12px; place-items: center; border: 1px solid var(--line); border-radius: 9px; font-size: .74rem; font-weight: 750; }
.publication-pagination .current { color: #fff; background: var(--teal); border-color: var(--teal); }
.publication-hero { padding: 75px 0 110px; background: linear-gradient(135deg, #eaf6f3, #faf7ef); }
.publication-hero__inner { max-width: 900px; }
.publication-hero__inner > a { display: inline-block; margin-bottom: 46px; color: var(--teal); font-size: .74rem; font-weight: 800; }
.publication-hero__inner > .eyebrow { display: block; }
.publication-hero h1 { max-width: 900px; margin: 13px 0 26px; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .9; letter-spacing: -.075em; }
.publication-meta { display: flex; gap: 20px; color: var(--muted); font-size: .72rem; font-weight: 650; }
.publication-content { max-width: 1040px; margin-top: -65px; padding-bottom: 90px; }
.publication-featured { overflow: hidden; margin: 0 0 55px; background: #edf3f1; border: 10px solid #fff; border-radius: 28px; box-shadow: 0 24px 60px rgba(18,74,68,.13); }
.publication-featured img { width: 100%; max-height: 650px; object-fit: cover; }
.publication-body { width: min(100% - 30px, 750px); margin: auto; font-size: 1rem; line-height: 1.85; }
.publication-body > :first-child { margin-top: 0; }
.publication-body :is(h2,h3) { margin-top: 2.2em; line-height: 1.1; letter-spacing: -.045em; }
.publication-body h2 { font-size: 2.25rem; }
.publication-body a { color: var(--teal); text-decoration: underline; }
.publication-related { padding: 75px 0; background: #f5f4ee; }
.publication-grid--related { padding: 0; }

.site-footer { padding: 62px 0 22px; color: #e4f6e7; background: #103d19; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.1fr; gap: 48px; }
.brand-logo--footer { width: 210px; height: 81px; border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,.14); }
.footer-grid h3 { margin: 0 0 20px; color: #fff; font-size: .79rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.footer-grid p, .footer-grid a, .footer-grid small { margin: 0; color: #afc6c2; font-size: .73rem; line-height: 1.6; }
.footer-grid a:hover { color: #fff; }
.footer-grid > div:first-child p { max-width: 290px; margin-top: 12px; }
.footer-grid strong { color: #fff; font-size: .82rem; }
.footer-quick-contact a { display: flex; flex-direction: column; gap: 1px; }
.footer-quick-contact a span { color: #8fb1aa; font-size: .65rem; }
.footer-quick-contact a strong { transition: color .2s ease; }
.footer-quick-contact a:hover strong { color: #62dcae; }
.footer-location { display: grid; overflow: hidden; margin-top: 42px; padding: 10px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); gap: 10px; }
.footer-location__details { display: flex; min-width: 0; align-items: flex-start; flex-direction: column; padding: 32px; }
.footer-location__eyebrow { color: #62dcae; font-size: .65rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-location h2 { margin: 8px 0 22px; color: #fff; font-size: clamp(1.55rem, 2.3vw, 2.15rem); line-height: 1; letter-spacing: -.045em; }
.footer-location__address { display: flex; align-items: center; gap: 13px; color: #fff; }
.footer-location__address > svg { width: 38px; height: 38px; flex: 0 0 38px; padding: 9px; fill: none; stroke: #62dcae; stroke-width: 1.7; background: rgba(98,220,174,.11); border-radius: 50%; }
.footer-location__address > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.footer-location__address strong { color: #fff; font-size: .88rem; }
.footer-location__address small { color: #9dbcb6; font-size: .67rem; }
.footer-location__hours { display: grid; width: 100%; margin: 24px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.footer-location__hours > div { display: flex; min-width: 0; flex-direction: column; gap: 5px; padding: 13px 14px; background: rgba(255,255,255,.055); border-radius: 12px; }
.footer-location__hours span { color: #8fb1aa; font-size: .64rem; }
.footer-location__hours strong { color: #fff; font-size: .72rem; line-height: 1.45; }
.footer-whatsapp-button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; color: #073b21; background: #62dcae; border-radius: 99px; font-size: .7rem; font-weight: 850; transition: transform .2s ease, background .2s ease; }
.footer-whatsapp-button svg { width: 18px; height: 18px; fill: currentColor; }
.footer-whatsapp-button:hover { color: #073b21; background: #83e8c1; transform: translateY(-2px); }
.footer-location__map { position: relative; overflow: hidden; min-height: 330px; background: #d9e7e0; border-radius: 17px; }
.footer-location__map iframe { display: block; width: 100%; height: 100%; min-height: 330px; border: 0; filter: saturate(.84) contrast(.96); }
.footer-location__map > a { position: absolute; right: 12px; bottom: 12px; display: inline-flex; min-height: 36px; align-items: center; gap: 7px; padding: 0 13px; color: #103d19; background: rgba(255,255,255,.94); border-radius: 99px; box-shadow: 0 7px 20px rgba(0,0,0,.16); font-size: .65rem; font-weight: 800; }
.footer-legal-highlight { color: #fff !important; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.11); color: #93b5b0; font-size: .65rem; }
.footer-copyright { color: #cfe0dc; font-weight: 650; letter-spacing: .01em; }
.footer-bottom nav { display: flex; align-items: center; gap: 18px; }
.footer-bottom nav a:hover { color: #fff; }
.toast { position: fixed; z-index: 100000; right: 24px; bottom: 24px; display: grid; width: min(380px, calc(100vw - 48px)); min-height: 62px; padding: 12px 15px; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 11px; visibility: hidden; opacity: 0; color: #173f38; background: rgba(255,255,255,.98); border: 1px solid #cdded8; border-left: 4px solid var(--teal); border-radius: 14px; box-shadow: 0 16px 42px rgba(9,53,47,.2); backdrop-filter: blur(12px); font-size: .72rem; font-weight: 700; line-height: 1.45; pointer-events: none; transform: translateY(14px) scale(.98); transition: opacity .22s ease, visibility .22s ease, transform .22s ease; }
.toast__icon { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: .85rem; font-weight: 900; }
.toast__icon::before { content: 'i'; }
.toast__message { min-width: 0; }
.toast[data-type="success"] { border-left-color: #17804d; background: #f5fcf8; }
.toast[data-type="success"] .toast__icon { background: #17804d; }
.toast[data-type="success"] .toast__icon::before { content: '✓'; }
.toast[data-type="error"] { color: #762f28; background: #fff8f6; border-color: #efc9c3; border-left-color: #c65549; }
.toast[data-type="error"] .toast__icon { background: #c65549; }
.toast[data-type="error"] .toast__icon::before { content: '!'; }
.toast.is-visible { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
body:has(.fm-cookie-banner:not([hidden])) .toast { bottom: 92px; }

/* Storefront pages */
.breadcrumbs { display: flex; min-width: 0; align-items: center; gap: 9px; margin-bottom: 30px; color: var(--muted); font-size: .72rem; }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-hero { padding: 65px 0 58px; background: linear-gradient(135deg, #eef8f5, #fbf7ef); }
.page-hero--compact { padding-block: 42px; }
.page-hero h1 { max-width: 820px; margin: 8px 0 12px; font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.07em; }
.page-hero p { max-width: 660px; margin: 0; color: var(--muted); line-height: 1.7; }
.page-hero .breadcrumbs { margin-bottom: 38px; }
.page-hero--compact h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }

.catalog-layout { display: grid; padding-block: 62px 90px; grid-template-columns: 235px minmax(0, 1fr); gap: 48px; }
.catalog-filters { align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: 18px; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.filter-heading h2 { margin: 0; font-size: 1.25rem; }
.filter-heading a { color: var(--teal); font-size: .69rem; font-weight: 800; text-decoration: underline; }
.catalog-filters form, .auth-card form, .review-form { display: flex; flex-direction: column; gap: 17px; }
.catalog-filters label, .auth-card label, .review-form label, .product-buy-box > label { display: flex; flex-direction: column; gap: 7px; color: var(--ink); font-size: .73rem; font-weight: 750; }
.catalog-filters select, .auth-card input, .review-form input, .review-form select, .review-form textarea, .product-buy-box select { width: 100%; min-height: 45px; padding: 0 12px; border: 1px solid #d6e1de; outline: 0; background: #fff; border-radius: 9px; font-size: .81rem; font-weight: 500; }
.review-form textarea { padding-block: 12px; resize: vertical; }
.catalog-filters select:focus, .auth-card input:focus, .review-form :is(input, select, textarea):focus, .product-buy-box select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.11); }
.catalog-filters .primary-button { width: 100%; margin-top: 5px; border: 0; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; color: var(--muted); font-size: .72rem; }
.catalog-toolbar strong { color: var(--ink); font-size: .85rem; }
.pagination { margin-top: 35px; }
.empty-state { display: flex; min-height: 390px; align-items: center; justify-content: center; flex-direction: column; padding: 40px; text-align: center; background: #fafbf9; border: 1px dashed #cddbd7; border-radius: 20px; }
.empty-state > span { font-size: 2.5rem; }
.empty-state h2 { margin: 17px 0 7px; font-size: 1.7rem; letter-spacing: -.04em; }
.empty-state p { margin: 0 0 25px; color: var(--muted); }

.product-page { padding-top: 28px; padding-bottom: 90px; }
.product-detail { display: grid; grid-template-columns: minmax(0, 480px) minmax(340px, 1fr); gap: clamp(32px, 5vw, 58px); }
.product-gallery__layout:has(.product-gallery__thumbs) { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: start; gap: 13px; }
.product-gallery__thumbs { display: grid; max-height: 610px; overflow-y: auto; gap: 10px; scrollbar-width: thin; }
.product-gallery__thumb { aspect-ratio: 1; overflow: hidden; padding: 3px; border: 1px solid var(--line); background: #fff; border-radius: 11px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.product-gallery__thumb:hover, .product-gallery__thumb.is-active { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(var(--primary-rgb),.14); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.product-gallery__main { position: relative; aspect-ratio: 1; overflow: hidden; background: #f6f7f3; border-radius: 24px; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease, transform .45s ease; }
.product-gallery__main:hover img { transform: scale(1.025); }
.product-gallery__main .discount-badge { padding: 9px 12px; font-size: .76rem; }
.product-gallery__count { position: absolute; right: 15px; bottom: 15px; padding: 6px 9px; color: #fff; background: rgba(8,55,52,.72); border-radius: 99px; backdrop-filter: blur(8px); font-size: .65rem; font-weight: 800; }
.product-info { padding-top: 8px; }
.product-info__brand { margin: 0 0 13px; color: var(--teal); font-size: .71rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.product-info__heading { display: flex; align-items: flex-start; gap: 16px; }
.product-info h1 { margin: 0; font-size: clamp(1.9rem, 3vw, 3.05rem); line-height: 1.04; letter-spacing: -.055em; }
.product-info__favorite { width: 46px; height: 46px; flex: none; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 24px rgba(8,55,52,.08); }
.product-info__favorite:hover { border-color: var(--teal); transform: translateY(-2px); }
.product-info__favorite.is-active { color: #fff; border-color: #c75d63; background: #c75d63; }
.product-info__lead { margin: 15px 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.product-info__rating { margin: 0 0 23px; }
.prescription-notice { padding: 14px 17px; margin-bottom: 20px; color: #734526; background: #fff4e4; border: 1px solid #f2d2a7; border-radius: 11px; }
.prescription-notice strong { font-size: .8rem; }
.prescription-notice p { margin: 4px 0 0; font-size: .72rem; }
.product-info__price { display: flex; padding: 17px 0; flex-direction: column; border-block: 1px solid var(--line); }
.product-info__price del { color: #879491; font-size: .85rem; }
.product-info__price strong { margin: 2px 0 4px; font-size: 1.9rem; letter-spacing: -.05em; }
.product-info__price > span { color: var(--teal); font-size: .76rem; font-weight: 750; }
.product-info__price small { align-self: flex-start; margin-top: 11px; padding: 5px 8px; color: #b34d3c; background: var(--coral-soft); border-radius: 6px; font-weight: 750; }
.payment-methods { display: grid; padding: 13px 0 8px; gap: 8px; color: inherit; text-decoration: none; transition: opacity .2s ease; }
.payment-methods:hover { color: inherit; opacity: .82; }
.payment-methods > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 11px; }
.payment-methods > div > span { display: grid; width: 32px; height: 32px; place-items: center; color: var(--teal); background: var(--teal-soft); border-radius: 9px; font-size: .69rem; font-weight: 900; }
.payment-methods > div > span svg { width: 18px; height: 18px; }
.payment-methods p { display: flex; margin: 0; flex-direction: column; gap: 2px; }
.payment-methods strong { font-size: .72rem; }
.payment-methods small { color: var(--muted); font-size: .63rem; line-height: 1.4; }
.payment-promo { display: flex; margin: 0; padding: 8px 0 13px 45px; flex-direction: column; gap: 3px; border-bottom: 1px solid var(--line); }
.payment-promo strong { color: var(--teal); font-size: .69rem; font-weight: 750; }
.payment-promo small { color: var(--muted); font-size: .61rem; line-height: 1.45; }
.product-buy-box { padding: 17px 0; }
.product-variants { padding: 0; margin: 0 0 16px; border: 0; }
.product-variants legend, .single-attributes > span { margin-bottom: 9px; padding: 0; color: var(--ink); font-size: .73rem; font-weight: 800; }
.variant-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.variant-option { position: relative; display: flex; min-width: 0; padding: 12px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.variant-option:hover, .variant-option:has(input:checked) { border-color: var(--teal); background: #f2faf8; box-shadow: inset 0 0 0 1px var(--teal); }
.variant-option.is-disabled { opacity: .48; cursor: not-allowed; }
.variant-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.variant-option__swatch { width: 25px; height: 25px; flex: none; background: var(--swatch-color); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #bac8c5; }
.variant-option > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.variant-option strong { overflow: hidden; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.variant-option small { overflow: hidden; color: var(--muted); font-size: .59rem; text-overflow: ellipsis; white-space: nowrap; }
.single-attributes { margin-bottom: 16px; }
.single-attributes > div { display: flex; flex-wrap: wrap; gap: 8px; }
.single-attributes p { display: flex; margin: 0; padding: 8px 11px; flex-direction: column; gap: 2px; background: #f5f8f7; border: 1px solid var(--line); border-radius: 8px; }
.single-attributes p small { color: var(--muted); font-size: .57rem; text-transform: uppercase; }
.single-attributes p strong { font-size: .7rem; }
.stock-status { margin: 4px 0 10px; color: var(--teal); font-size: .68rem; font-weight: 800; }
.stock-status::before { display: inline-block; width: 7px; height: 7px; margin-right: 7px; content: ''; background: #32a377; border-radius: 50%; }
.stock-status.is-out { color: #a34a41; }
.stock-status.is-out::before { background: #d06658; }
.buy-actions { display: grid; grid-template-columns: 125px 1fr; gap: 12px; margin-top: 17px; }
.quantity-control { display: grid; height: 48px; grid-template-columns: 35px 1fr 35px; border: 1px solid var(--line); border-radius: 10px; }
.quantity-control button, .quantity-control input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; text-align: center; }
.quantity-control input { appearance: textfield; }
.quantity-control button { cursor: pointer; font-size: 1.1rem; }
.primary-button--wide { width: 100%; justify-content: center; border: 0; }
.delivery-options { display: grid; gap: 9px; }
.delivery-options article { display: flex; align-items: center; gap: 11px; padding: 11px 13px; background: #f7faf9; border-radius: 10px; }
.delivery-options article > span { font-size: 1.25rem; }
.delivery-options strong { font-size: .77rem; }
.delivery-options p { margin: 3px 0 0; color: var(--muted); font-size: .67rem; }
.product-content { display: grid; margin-top: 52px; padding: 38px; grid-template-columns: 1.5fr .75fr; gap: 50px; background: #f7f8f5; border-radius: 20px; }
.product-description h2, .reviews-section h2 { margin: 0 0 19px; font-size: clamp(1.7rem, 2.6vw, 2.45rem); letter-spacing: -.05em; }
.product-description p { color: var(--muted); line-height: 1.8; }
.product-description h3, .product-facts h3 { margin: 28px 0 14px; font-size: 1rem; }
.product-description ul { display: grid; gap: 10px; padding-left: 20px; color: var(--muted); }
.product-facts { padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.product-facts h3 { margin-top: 0; }
.product-facts dl { margin: 0; }
.product-facts dl div { display: grid; padding: 11px 0; grid-template-columns: 1fr 1.2fr; gap: 10px; border-bottom: 1px solid var(--line); font-size: .71rem; }
.product-facts dl div:last-child { border: 0; }
.product-facts dt { color: var(--muted); }
.product-facts dd { margin: 0; font-weight: 700; }
.information-panels { display: grid; margin-top: 20px; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.information-panels article { padding: 30px; background: var(--teal-soft); border-radius: 18px; }
.information-panels__warning { background: #fff4e8 !important; }
.information-panels span { color: var(--teal); font-size: .67rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.information-panels h3 { margin: 9px 0; }
.information-panels p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.reviews-section { display: grid; margin-top: 52px; grid-template-columns: 1.2fr .8fr; gap: 48px; }
.review { padding: 20px 0; border-top: 1px solid var(--line); }
.review > div { display: flex; justify-content: space-between; }
.review > div span { color: #ecad40; }
.review h3 { margin: 12px 0 5px; font-size: .91rem; }
.review p, .muted-copy { color: var(--muted); font-size: .8rem; line-height: 1.7; }
.review-form, .review-login { align-self: start; padding: 28px; background: #f7f8f5; border-radius: 18px; }
.review-form h3, .review-login h3 { margin: 0 0 18px; }
.review-login p { color: var(--muted); }
.related-products { padding-top: 75px; }
.pharmacy-disclaimer { margin: 50px 0 0; padding: 17px; color: var(--muted); background: #faf9f5; border-radius: 10px; font-size: .69rem; line-height: 1.65; text-align: center; }

.auth-page { display: grid; min-height: 720px; padding-block: 60px 80px; grid-template-columns: 1fr 1fr; gap: 24px; }
.auth-visual { position: relative; display: flex; overflow: hidden; padding: 60px; justify-content: center; flex-direction: column; color: #fff; background: linear-gradient(145deg, var(--teal), var(--teal-dark)); border-radius: 26px; }
.auth-visual::after { position: absolute; right: -120px; bottom: -130px; width: 430px; height: 430px; content: ''; border: 70px solid rgba(255,255,255,.11); border-radius: 50%; }
.auth-visual .eyebrow { color: #ace8dc; }
.auth-visual h1 { max-width: 560px; margin: 17px 0; font-size: clamp(3rem, 5vw, 5.4rem); line-height: .93; letter-spacing: -.08em; }
.auth-visual p { max-width: 450px; color: #cce3df; line-height: 1.7; }
.auth-visual ul { display: grid; gap: 12px; padding: 20px 0 0; list-style: none; font-size: .78rem; font-weight: 700; }
.auth-visual li::before { margin-right: 9px; content: '✓'; color: #9ee2d5; }
.auth-visual--register { background: linear-gradient(145deg, #e9b5a4, #dc765f); }
.auth-visual--register .eyebrow { color: #713a2e; }
.auth-visual--register p { color: #fff7f4; }
.welcome-code { position: relative; z-index: 1; display: flex; width: fit-content; margin-top: 35px; padding: 18px 24px; flex-direction: column; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 14px; }
.welcome-code small { font-size: .65rem; text-transform: uppercase; }
.welcome-code strong { margin: 6px 0; font-size: 1.5rem; letter-spacing: .08em; }
.welcome-code span { font-size: .7rem; }
.auth-card { display: flex; padding: clamp(35px, 6vw, 80px); justify-content: center; flex-direction: column; border: 1px solid var(--line); border-radius: 26px; }
.auth-card h2 { margin: 6px 0 9px; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.06em; }
.auth-card > p { margin: 0 0 28px; color: var(--muted); font-size: .83rem; }
.auth-card label > small { color: var(--muted); font-weight: 500; }
.auth-field { display: flex; flex-direction: column; gap: 7px; }
.auth-field > label { display: block; color: var(--ink); font-size: .73rem; font-weight: 750; }
:is(.password-input, .fm-password-input) { position: relative; }
:is(.password-input, .fm-password-input) input { padding-right: 78px; }
:is(.password-input, .fm-password-input) > button { position: absolute; top: 50%; right: 9px; padding: 7px 8px; border: 0; color: var(--teal); background: transparent; border-radius: 6px; cursor: pointer; font-size: .63rem; font-weight: 800; transform: translateY(-50%); }
:is(.password-input, .fm-password-input) > button:hover { background: var(--teal-soft); }
.auth-card input.is-invalid { border-color: #c85c50; background: #fff9f8; box-shadow: 0 0 0 3px rgba(200,92,80,.09); }
.auth-card input.is-valid { border-color: #2c9a72; background: #f8fffc; box-shadow: 0 0 0 3px rgba(44,154,114,.08); }
.password-rules { display: grid; padding: 2px 0 0; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 14px; list-style: none; }
.password-rules li { display: flex; align-items: center; gap: 7px; color: #75827f; font-size: .63rem; font-weight: 650; transition: color .2s; }
.password-rules li::before { display: grid; width: 16px; height: 16px; flex: none; place-items: center; content: '·'; color: #7f8e8a; background: #edf1ef; border-radius: 50%; font-size: .75rem; font-weight: 900; transition: color .2s, background .2s; }
.password-rules li.is-valid { color: #21805f; }
.password-rules li.is-valid::before { content: '✓'; color: #fff; background: #2c9a72; }
.password-rules li.is-unmet { color: #b24b42; }
.password-rules li.is-unmet::before { content: '×'; color: #b24b42; background: #fff0ed; }
.check-label { display: flex !important; align-items: center; flex-direction: row !important; font-weight: 500 !important; }
.check-label input { width: 17px; min-height: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-alert { position: relative; display: flex; padding: 14px 16px 14px 48px; margin-bottom: 20px; flex-direction: column; gap: 5px; color: #762f28; background: #fff8f6; border: 1px solid #efc9c3; border-left: 4px solid #c65549; border-radius: 13px; box-shadow: 0 8px 24px rgba(118,47,40,.06); font-size: .74rem; line-height: 1.55; }
.form-alert::before { position: absolute; top: 13px; left: 12px; display: grid; width: 26px; height: 26px; content: '!'; place-items: center; color: #fff; background: #c65549; border-radius: 50%; font-size: .72rem; font-weight: 900; }
.form-alert ul { margin: 0; padding-left: 18px; }
.auth-switch { margin-top: 24px; color: var(--muted); font-size: .75rem; text-align: center; }
.auth-switch a { color: var(--teal); font-weight: 800; text-decoration: underline; }
.auth-card button[disabled] { opacity: .7; cursor: wait; }

.cart-layout { display: grid; padding-block: 55px 90px; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 42px; }
.cart-line { display: grid; padding: 20px 0; grid-template-columns: 125px minmax(0, 1fr) 110px 110px; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); }
.cart-line:first-child { padding-top: 0; }
.cart-line__image { display: grid; aspect-ratio: 1; overflow: hidden; place-items: center; background: #f6f7f3; border-radius: 13px; }
.cart-line__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__info > small { color: var(--teal); font-size: .62rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.cart-line__info h2 { margin: 7px 0 4px; font-size: .93rem; }
.cart-line__info p { margin: 0; color: var(--muted); font-size: .7rem; }
.line-promotion { display: inline-block; margin-top: 8px; padding: 4px 6px; color: #b34d3c; background: var(--coral-soft); border-radius: 5px; font-size: .61rem; font-weight: 750; }
.cart-line__quantity label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: .65rem; }
.cart-line__quantity input { width: 75px; height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; }
.cart-line__quantity button, .cart-line__price button { padding: 7px 0; border: 0; color: var(--teal); background: transparent; cursor: pointer; font-size: .65rem; text-decoration: underline; }
.cart-line__quantity > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: .63rem; }
.cart-quantity-control { display: grid; width: 104px; height: 38px; grid-template-columns: 30px 44px 30px; border: 1px solid var(--line); border-radius: 8px; }
.cart-quantity-control button, .cart-quantity-control input { width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; text-align: center; }
.cart-quantity-control button { cursor: pointer; font-size: .95rem; text-decoration: none; }
.cart-quantity-control button:hover { color: var(--teal); background: var(--teal-soft); }
.cart-quantity-control input { appearance: textfield; font-size: .72rem; font-weight: 750; }
.cart-line__quantity > small { display: block; min-height: 14px; margin-top: 4px; color: var(--teal); font-size: .57rem; }
.cart-line { transition: opacity .2s, transform .2s; }
.cart-line.is-updating { opacity: .62; pointer-events: none; }
.cart-line.is-removing { opacity: 0; transform: translateX(20px); }
.cart-line__price { display: flex; align-items: flex-end; flex-direction: column; }
.cart-line__price del { color: var(--muted); font-size: .67rem; }
.cart-line__price strong { font-size: 1.15rem; }
.cart-summary { position: sticky; top: 190px; padding: 27px; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 30px rgba(21,59,58,.06); }
.cart-summary h2 { margin: 0 0 22px; font-size: 1.25rem; }
.cart-summary > div { display: flex; justify-content: space-between; margin: 13px 0; color: var(--muted); font-size: .73rem; }
.cart-summary > div strong { color: var(--ink); }
.cart-summary .summary-discount, .cart-summary .summary-discount strong { color: var(--teal); }
.cart-summary .summary-total { padding-top: 17px; margin-top: 17px; border-top: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.cart-summary .summary-total strong { font-size: 1.35rem; }
.cart-summary > small { display: block; color: var(--teal); font-size: .67rem; text-align: right; }
.coupon-form { padding: 20px 0; margin-top: 19px; border-top: 1px solid var(--line); }
.coupon-form > label { display: block; margin-bottom: 8px; font-size: .7rem; font-weight: 750; }
.coupon-form > div { display: flex; }
.coupon-form input { width: 100%; min-width: 0; height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px 0 0 8px; }
.coupon-form button { padding: 0 13px; border: 0; color: #fff; background: var(--teal); border-radius: 0 8px 8px 0; font-size: .68rem; font-weight: 800; }
.field-error { display: block; margin-top: 7px; color: #b33d32 !important; text-align: left !important; }
.field-error--terms { margin-top: -10px; }
.coupon-applied { display: flex !important; padding: 12px; margin-block: 18px !important; align-items: flex-start; justify-content: space-between; gap: 10px; color: var(--teal) !important; background: var(--teal-soft); border-radius: 8px; font-weight: 750; }
.coupon-applied.is-hidden { display: none !important; }
.coupon-applied > div { display: flex; min-width: 0; flex-wrap: wrap; gap: 3px 5px; }
.coupon-applied > div small { width: 100%; color: #52736d; font-size: .58rem; font-weight: 600; line-height: 1.4; }
.coupon-applied form button { border: 0; color: var(--teal); background: transparent; cursor: pointer; font-size: .65rem; text-decoration: underline; }
.coupon-zone { display: block !important; margin: 0 !important; color: inherit !important; font-size: inherit !important; }
.cart-summary.is-refreshing [data-summary-total] { color: var(--teal); }
.cart-layout:not(:has(.cart-summary)) { grid-template-columns: 1fr; }
.continue-shopping { display: block; margin-top: 14px; color: var(--teal); font-size: .7rem; font-weight: 750; text-align: center; }
.secure-note { margin-top: 18px; color: var(--muted); font-size: .64rem; text-align: center; }

.account-hero { padding: 60px 0; color: #fff; background: linear-gradient(120deg, var(--teal), var(--teal-dark)); }
.account-hero > div { display: flex; align-items: flex-end; justify-content: space-between; }
.account-hero .eyebrow { color: #a9e4d7; }
.account-hero h1 { margin: 7px 0; font-size: clamp(2.7rem, 5vw, 4.8rem); letter-spacing: -.07em; }
.account-hero p { margin: 0; color: #c7e2dd; }
.account-hero button { padding: 10px 15px; border: 1px solid rgba(255,255,255,.35); color: #fff; background: transparent; border-radius: 8px; cursor: pointer; font-size: .7rem; font-weight: 750; }
.account-layout { display: grid; padding-block: 55px 90px; grid-template-columns: 190px minmax(0, 1fr); gap: 50px; }
.account-nav { position: sticky; top: 180px; display: flex; align-self: start; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; }
.account-nav a { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: .73rem; font-weight: 700; }
.account-nav a:last-child { border: 0; }
.account-nav a:hover { color: var(--teal); background: #f7fbfa; }
.account-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.account-cards article { display: flex; padding: 23px; flex-direction: column; background: #f6f8f6; border-radius: 15px; }
.account-cards span, .account-cards small { color: var(--muted); font-size: .66rem; }
.account-cards strong { margin: 11px 0 3px; font-size: 1.65rem; }
.account-section { padding-top: 60px; }
.account-section .section-heading { margin-bottom: 22px; }
.order-row { display: grid; padding: 17px; grid-template-columns: repeat(4, 1fr) auto; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 11px; }
.order-row > div { display: flex; flex-direction: column; gap: 4px; }
.order-row small { color: var(--muted); font-size: .61rem; }
.order-row strong { font-size: .75rem; }
.order-status { padding: 6px 9px; color: var(--teal); background: var(--teal-soft); border-radius: 99px; font-size: .62rem; font-weight: 750; }
.account-empty { padding: 28px; background: #f7f8f5; border-radius: 13px; }
.account-empty p { margin-top: 0; color: var(--muted); }
.account-empty a { color: var(--teal); font-size: .75rem; font-weight: 800; }
.profile-card { display: grid; padding: 28px; grid-template-columns: repeat(2, 1fr); gap: 25px; border: 1px solid var(--line); border-radius: 15px; }
.profile-card > div { display: flex; flex-direction: column; gap: 6px; }
.profile-card small { color: var(--muted); }
.profile-card strong { font-size: .82rem; }

.checkout-layout { display: grid; padding-block: 55px 90px; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 50px; }
.checkout-form { display: flex; flex-direction: column; gap: 20px; }
.checkout-form fieldset { display: flex; padding: 28px; flex-direction: column; gap: 18px; border: 1px solid var(--line); border-radius: 17px; }
.checkout-form legend { padding: 0 10px; font-size: 1rem; font-weight: 800; }
.checkout-form legend span { display: inline-grid; width: 27px; height: 27px; margin-right: 8px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: .7rem; }
.checkout-form label:not(.choice-card) { display: flex; flex-direction: column; gap: 7px; font-size: .72rem; font-weight: 750; }
.checkout-form label small { color: var(--muted); font-weight: 500; }
.checkout-form :is(input, textarea) { min-height: 44px; padding: 0 12px; border: 1px solid #d6e1de; outline: 0; border-radius: 9px; font-size: .8rem; }
.checkout-form textarea { padding-block: 12px; resize: vertical; }
.checkout-form :is(input, textarea):focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.11); }
.checkout-form input:disabled { color: var(--muted); background: #f5f7f6; }
.form-row--street { grid-template-columns: 2fr .7fr; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice-card { display: flex; padding: 16px; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
.choice-card:has(input:checked) { border-color: var(--teal); background: #f1faf7; box-shadow: inset 0 0 0 1px var(--teal); }
.choice-card input { width: 17px; min-height: 17px; margin: 2px 0 0; accent-color: var(--teal); }
.choice-card span { display: flex; flex-direction: column; gap: 5px; }
.choice-card strong { font-size: .77rem; }
.choice-card small { color: var(--muted); font-size: .65rem; line-height: 1.4; }
.address-fields { display: flex; flex-direction: column; gap: 15px; padding-top: 5px; }
.address-fields[hidden] { display: none; }
.checkout-note { margin: 0; padding: 11px 13px; color: var(--muted); background: #f7f8f5; border-radius: 8px; font-size: .67rem; line-height: 1.6; }
.checkout-submit { min-height: 52px; }
.checkout-summary { position: sticky; top: 190px; padding: 27px; border: 1px solid var(--line); border-radius: 18px; }
.checkout-summary h2 { margin: 0 0 20px; }
.checkout-product { display: grid; padding: 13px 0; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: start; gap: 9px; border-bottom: 1px solid var(--line); }
.checkout-product > span { display: grid; width: 24px; height: 24px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: .62rem; font-weight: 800; }
.checkout-product p { display: flex; margin: 0; flex-direction: column; font-size: .71rem; font-weight: 700; line-height: 1.4; }
.checkout-product p small { color: var(--muted); font-weight: 500; }
.checkout-product strong { font-size: .73rem; }
.checkout-totals { padding-top: 13px; }
.checkout-totals p { display: flex; justify-content: space-between; margin: 12px 0; color: var(--muted); font-size: .7rem; }
.checkout-totals strong { color: var(--ink); }
.checkout-totals .summary-discount, .checkout-totals .summary-discount strong { color: var(--teal); }
.checkout-totals .summary-total { padding-top: 15px; border-top: 1px solid var(--line); color: var(--ink); }
.checkout-totals .summary-total strong { font-size: 1.2rem; }
.checkout-summary > small { color: var(--muted); font-size: .63rem; line-height: 1.5; }
.order-success { max-width: 850px; padding-block: 80px 100px; text-align: center; }
.success-mark { display: grid; width: 72px; height: 72px; margin: 0 auto 24px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: 2rem; }
.order-success h1 { margin: 8px 0 15px; font-size: clamp(2.7rem, 6vw, 5rem); letter-spacing: -.075em; }
.order-success > p { max-width: 620px; margin: 0 auto; color: var(--muted); line-height: 1.7; }
.order-success__grid { display: grid; margin-top: 40px; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 15px; }
.order-success__grid article { display: flex; padding: 22px; flex-direction: column; gap: 7px; border-right: 1px solid var(--line); }
.order-success__grid article:last-child { border: 0; }
.order-success__grid small { color: var(--muted); }
.order-success__grid strong { font-size: .8rem; }
.order-success__items { margin-top: 22px; padding: 25px; border: 1px solid var(--line); border-radius: 15px; text-align: left; }
.order-success__items h2 { margin-top: 0; }
.order-success__items > div { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); font-size: .75rem; }
.order-success__items small { display: block; color: var(--muted); }
.success-actions { display: flex; align-items: center; justify-content: center; gap: 25px; margin-top: 35px; }
.success-actions > a:last-child { color: var(--teal); font-size: .74rem; font-weight: 800; text-decoration: underline; }

@media (max-width: 1100px) {
    .header-main { grid-template-columns: auto 1fr auto; gap: 24px; }
    .header-actions { gap: 17px; }
    .header-action > span:last-child { display: none; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .bank-grid { grid-auto-columns: calc((100% - 28px) / 3); }
    .offer-layout { grid-template-columns: 1fr; }
    .offer-layout--carousel { grid-template-columns: minmax(210px, 1fr) minmax(0, 3fr); }
    .offer-feature { min-height: 430px; }
    .offer-feature--visual { width: min(100%, 520px); min-height: 0; margin-inline: auto; }
    .stories-grid { grid-template-columns: repeat(2, 1fr); }
    .story-card { aspect-ratio: .82; }
    .catalog-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 28px; }
    .catalog-results .product-grid { grid-template-columns: repeat(3, 1fr); }
    .cart-line { grid-template-columns: 105px minmax(0, 1fr) 90px; }
    .cart-line__price { grid-column: 3; }
    .cart-line__quantity { grid-column: 2; grid-row: 2; }
}

@media (max-width: 1024px) {
    .shell { width: min(100% - 30px, 1260px); }
    .shell-wide { width: calc(100% - 20px); }
    .announcement-bar__inner { position: relative; min-height: 32px; overflow: hidden; }
    .announcement-message { position: absolute; inset: 0; opacity: 0; transform: translateY(100%); animation: announcement-cycle 9s ease-in-out infinite; }
    .announcement-message:nth-child(2) { animation-delay: 3s; }
    .announcement-message:nth-child(3) { animation-delay: 6s; }
    .site-header { position: relative; }
    .header-main { position: relative; min-height: 70px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
    .mobile-menu-button { display: flex; width: 35px; height: 35px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; padding: 0; border: 0; background: transparent; }
    .mobile-menu-button > span:not(.sr-only) { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
    .brand-logo { position: absolute; left: 50%; width: 124px; height: 51px; justify-self: center; border-radius: 6px; transform: translateX(-50%); }
    .brand-logo--footer { position: static; left: auto; width: 190px; height: 73px; transform: none; }
    .header-main > .search-box { display: none; }
    .header-actions { justify-self: end; gap: 10px; }
    .header-main > .header-actions { grid-column: 3; }
    .header-action { display: flex; min-width: 29px; }
    .header-action__icon { width: 25px; height: 25px; }
    .header-action svg { width: 23px; height: 23px; }
    .header-action--account { display: flex; }
    .mobile-search { display: block; padding-bottom: 12px; }
    .mobile-search .search-box { height: 42px; }
    .mobile-search .search-box button { display: none; }
    .category-nav { display: none; max-height: calc(100vh - 115px); overflow-y: auto; border-top: 1px solid var(--line); }
    .category-nav.is-open { display: block; }
    .category-nav__inner { width: 100%; min-height: 0; align-items: stretch; flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 12px 20px 22px; }
    .category-nav__inner > a { min-height: 0; justify-content: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-align: center; }
    .nav-category { display: block; min-height: 0; border-bottom: 1px solid var(--line); }
    .nav-category__heading { display: grid; min-height: 0; padding: 9px 0; grid-template-columns: 28px minmax(0, 1fr) 28px; align-items: center; }
    .nav-category__heading::before { width: 28px; height: 1px; content: ''; }
    .nav-category__heading > a { width: auto; min-height: 34px; justify-content: center; grid-column: 2; text-align: center; }
    .nav-category__heading > .nav-category__toggle { grid-column: 3; }
    .nav-category__toggle { display: grid; flex: none; }
    .nav-category__toggle:hover { color: var(--teal); background: var(--teal-soft); }
    .nav-category.is-open .nav-category__toggle svg { transform: rotate(180deg); }
    .mega-menu { position: static; display: none; padding: 0 0 12px; visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
    .nav-category.is-open .mega-menu { display: block; }
    .mega-menu__content { width: 100%; max-height: none; padding: 16px; grid-template-columns: 1fr; gap: 18px; overflow: visible; background: #f7fbfa; border: 0; border-radius: 14px; box-shadow: none; }
    .mega-menu__intro { padding: 0; border: 0; }
    .mega-menu__intro h2 { margin-bottom: 10px; font-size: 1.25rem; }
    .mega-menu__subcategory-grid { display: grid; column-count: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .mega-menu__subcategory-card { margin: 0; padding: 12px 13px; background: #fff; border-color: var(--line); }
    .hero { height: 270px; margin-top: 10px; border-radius: 18px; }
    .hero-slide--main { align-items: flex-start; background-position: 63% bottom; }
    .hero-slide--main::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgba(250,248,242,.98) 0%, rgba(250,248,242,.78) 48%, rgba(250,248,242,.05) 78%); }
    .hero-slide__content { width: auto; margin: 35px 30px; }
    .hero-slide h1, .hero-slide h2 { font-size: 2.8rem; }
    .hero-slide p { max-width: 430px; margin: 18px 0 24px; font-size: .9rem; }
    .hero-slide--beauty img { right: -12%; bottom: -7%; width: 72%; opacity: .45; }
    .hero-card-art { right: -15%; bottom: 4%; width: 68%; height: 42%; opacity: .8; }
    .hero-arrow { display: none; }
    .section { padding-top: 50px; }
    .bank-section { margin-top: 42px; padding: 32px 0 34px; }
    .bank-section.bank-section--carousel-only { margin: 10px auto 0; padding: 0; }
    .bank-grid { margin-right: 0; padding: 3px 2px 8px; grid-auto-columns: 100%; gap: 10px; scroll-padding-inline: 2px; }
    .bank-card--visual { border-radius: 12px; scroll-snap-align: center; scroll-snap-stop: always; }
    .home-brands { margin-top: 19px; }
    .home-brands.home-brands--standalone { margin-top: 32px; }
    .home-brands.home-brands--after-offer { margin-top: 22px; }
    .home-brands__track { grid-auto-columns: calc((100% - 22px) / 3); }
    .offer-products__grid { overflow-x: auto; grid-template-columns: repeat(4, minmax(205px, 66vw)); }
    .offer-layout--carousel { width: min(100%, 620px); grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: stretch; gap: 9px; }
    .offer-layout--carousel .offer-feature--visual { width: 100%; height: 100%; margin: 0; aspect-ratio: auto; }
    .offer-products-carousel { margin: 0; grid-auto-columns: 100%; gap: 10px; }
    .offer-products-carousel .product-card__body { padding: 11px; }
    .offer-products-carousel .product-card h3 { min-height: 3.34em; max-height: 3.34em; font-size: .78rem; line-height: 1.42; }
    .offer-products-carousel .product-card__price { min-height: 55px; }
    .offer-products-carousel .product-card__price strong { font-size: 1.12rem; }
    .offer-products-carousel .add-to-cart { height: 34px; margin-top: 8px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .stories-grid--reels { grid-auto-columns: min(300px, 78vw); }
    .newsletter { padding: 40px; grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-location { grid-template-columns: 1fr; }
    .footer-location__map, .footer-location__map iframe { min-height: 285px; }
    .page-hero { padding-block: 45px; }
    .catalog-layout, .product-detail, .product-content, .reviews-section, .auth-page, .cart-layout, .account-layout, .checkout-layout { grid-template-columns: 1fr; }
    .catalog-layout { padding-top: 30px; }
    .catalog-filters { position: static; }
    .catalog-filters form { display: grid; grid-template-columns: repeat(3, 1fr); }
    .catalog-filters .primary-button { min-height: 45px; align-self: end; }
    .catalog-results .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail { gap: 35px; }
    .product-gallery { max-width: 430px; margin: auto; }
    .product-content { padding: 35px; gap: 30px; }
    .reviews-section { gap: 30px; }
    .auth-page { min-height: 0; padding-block: 30px 60px; }
    .auth-visual { min-height: 460px; padding: 45px; }
    .auth-card { padding: 45px; }
    .cart-layout { gap: 30px; }
    .cart-summary { position: static; }
    .account-nav { position: static; overflow-x: auto; flex-direction: row; }
    .account-nav a { flex: none; border-right: 1px solid var(--line); border-bottom: 0; }
    .account-layout { gap: 10px; }
    .checkout-summary { position: static; grid-row: 1; }
}

/* En tablet se reutiliza el banner de computadora con su proporción original. */
@media (min-width: 681px) and (max-width: 1024px) {
    .header-main { min-height: 60px; grid-template-columns: 34px 116px minmax(170px,1fr) auto; gap: 10px; }
    .mobile-menu-button { width: 34px; height: 34px; }
    .brand-logo { width: 116px; height: 45px; }
    .header-main > .search-box { display: flex; height: 40px; min-width: 0; padding-left: 12px; }
    .header-main > .search-box input { min-width: 0; padding-inline: 9px; font-size: .75rem; }
    .header-main > .search-box button { display: none; }
    .mobile-search { display: none; }
    .header-actions { gap: 8px; }
    .header-action { min-width: 27px; }
    .header-action__icon { width: 23px; height: 23px; }
    .header-action svg { width: 22px; height: 22px; }
    .hero { height: auto; aspect-ratio: 16 / 5; }
}

@media (max-width: 680px) {
    .mega-menu__content { padding: 12px; gap: 14px; }
    .mega-menu__intro h2 { display: none; }
    .mega-menu__subcategory-grid { grid-template-columns: minmax(0, 1fr); }
    .mega-menu__subcategory-card { padding: 11px 13px; }
    .mega-menu__leaf-list { display: flex; margin-top: 7px; padding-top: 7px; flex-direction: row; flex-wrap: wrap; gap: 5px 7px; }
    .mega-menu__leaf-list a { width: auto; min-height: 32px; display: inline-flex; align-items: center; padding: 5px 9px; background: #f2f8f3; border: 1px solid #e1eee4; border-radius: 999px; font-size: .72rem; text-decoration: none !important; }
    .mega-menu__leaf-list a:hover, .mega-menu__leaf-list a:focus-visible { background: var(--teal-soft); border-color: #b7dac5; }
    .hero { height: auto; aspect-ratio: 4 / 3; touch-action: pan-y; }
    .hero-dots { bottom: 12px; }
    .hero-dots button { width: 7px; height: 7px; }
    .hero-dots button.is-active { width: 24px; }
}

@media (max-width: 560px) {
    .announcement-bar { font-size: .65rem; }
    .announcement-bar__inner { min-height: 30px; }
    .announcement-bar a { display: inline-flex; }
    .header-main { gap: 7px; }
    .header-actions { gap: 5px; }
    .header-action { min-width: 27px; }
    .header-action__icon { width: 23px; height: 23px; }
    .header-action svg { width: 21px; height: 21px; }
    .action-count { top: -6px; right: -7px; width: 16px; height: 16px; border-width: 1.5px; font-size: .52rem; }
    .hero { height: auto; aspect-ratio: 4 / 3; border-radius: 15px; }
    .hero-slide__content { margin: 28px 22px; }
    .hero-slide h1, .hero-slide h2 { font-size: 2.25rem; }
    .primary-button { min-height: 44px; padding: 0 19px; }
    .section-heading { align-items: flex-start; }
    .section-heading h2 { font-size: 1.75rem; }
    .section-heading--single { margin-bottom: 19px; gap: 10px; }
    .section-heading--single h2 { gap: 10px; font-size: 1.48rem; }
    .section-heading--single h2::before { width: 4px; height: 27px; }
    .bank-section.bank-section--carousel-only { margin-top: 8px; padding: 0; }
    .bank-grid { grid-auto-columns: 100%; }
    .section-heading > a, .carousel-controls { display: none; }
    .bank-section .carousel-controls, #ofertas .carousel-controls, .social-section .carousel-controls { display: flex; }
    .bank-section .bank-carousel__controls { display: none; }
    .bank-section .carousel-controls button, #ofertas .carousel-controls button, .social-section .carousel-controls button { width: 36px; height: 36px; }
    .section-heading__actions { align-items: flex-end; flex-direction: column; gap: 10px; }
    .section-heading__actions > a { display: none; }
    .product-carousel { margin-right: 0; grid-auto-columns: minmax(190px, 60vw); }
    .offer-feature { min-height: 445px; padding: 30px; }
    .offer-feature--visual { min-height: 0; padding: 0; }
    .offer-feature__number { font-size: 6rem; }
    .offer-feature > a { bottom: 30px; left: 30px; }
    .offer-products__grid { margin-right: 0; grid-template-columns: repeat(4, minmax(190px, 60vw)); }
    .offer-layout--carousel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .offer-layout--carousel .offer-feature--visual { width: 100%; }
    .offer-products-carousel { grid-auto-columns: 100%; gap: 8px; }
    .offer-products-carousel .product-card__media { aspect-ratio: 1; }
    .offer-products-carousel .product-card__brand { margin-bottom: 5px; font-size: .56rem; }
    .offer-products-carousel .product-card h3 { font-size: .71rem; }
    .offer-products-carousel .product-card__price { min-height: 48px; padding-top: 6px; }
    .offer-products-carousel .product-card__price strong { font-size: 1rem; }
    .offer-products-carousel .product-card__price small { font-size: .58rem; }
    .offer-products-carousel .add-to-cart { font-size: .65rem; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-grid .product-card__body { padding: 12px; }
    .product-grid .product-card h3 { min-height: 3.34em; max-height: 3.34em; font-size: .82rem; }
    .product-grid .product-card__price strong { font-size: 1.18rem; }
    .product-grid .product-card__media { aspect-ratio: 1; }
    .product-grid .rating { display: none; }
    .filter-pills { margin-right: 0; gap: 7px; }
    .filter-pills button { min-height: 38px; padding: 7px 12px; gap: 7px; font-size: .66rem; }
    .filter-pill__media { width: 33px; height: 33px; border-radius: 9px; }
    .stories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stories-grid--reels { grid-template-columns: none; grid-auto-columns: min(290px, 82vw); gap: 12px; }
    .social-section { margin-top: 60px; padding: 52px 0 58px; }
    .social-section__heading { margin-bottom: 22px; }
    .social-section__heading h2 { font-size: 2rem; }
    .social-section__heading.section-heading--single h2 { font-size: 1.48rem; }
    .social-section__heading .section-intro { margin-top: 9px; font-size: .75rem; line-height: 1.55; }
    .reel-card { border-radius: 15px; }
    .reel-product { padding: 10px; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 8px; }
    .reel-product__image { width: 46px; height: 46px; }
    .reel-product__button { min-height: 32px; padding-inline: 10px; }
    .home-brands { margin-top: 14px; padding: 17px 12px 12px; border-radius: 16px; }
    .home-brands.home-brands--standalone { margin-top: 28px; }
    .home-brands.home-brands--after-offer { margin-top: 18px; }
    .home-brands__header { margin-bottom: 13px; align-items: center; }
    .home-brands__header h3 { max-width: 210px; font-size: .9rem; }
    .home-brands__header.section-heading--single h2 { max-width: 240px; font-size: 1rem; }
    .home-brands__header.section-heading--single h2::before { height: 22px; }
    .home-brands__header > div > span { display: none; }
    .home-brands .carousel-controls { display: flex; gap: 6px; }
    .home-brands .carousel-controls button { width: 30px; height: 30px; }
    .home-brands__track { grid-auto-columns: 138px; gap: 8px; }
    .home-brands__track > a { height: 78px; padding: 8px 10px; border-radius: 11px; }
    .home-brands__track img { max-height: 52px; }
    .home-brands__track small { display: none; }
    .home-brands__all { display: inline-flex; min-height: 30px; margin-top: 5px; font-size: .58rem; }
    .story-card__overlay { right: 13px; bottom: 14px; left: 13px; }
    .story-card__overlay h3 { font-size: .88rem; }
    .story-card > button { top: 10px; right: 10px; width: 36px; height: 36px; }
    .newsletter { margin-top: 48px; margin-bottom: 48px; padding: 26px 22px; }
	.newsletter-form__controls { align-items: stretch; flex-direction: column; gap: 8px; padding: 0; background: transparent; border: 0; }
	.newsletter .newsletter-submit { width: 100%; margin-left: 0; }
    .newsletter input { height: 46px; background: #fff; border: 1px solid #c9dfda; border-radius: 99px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .site-footer { padding-top: 44px; }
    .footer-location { margin-top: 34px; padding: 7px; border-radius: 18px; }
    .footer-location__details { padding: 24px 18px 22px; }
    .footer-location h2 { margin-bottom: 19px; }
    .footer-location__hours { grid-template-columns: 1fr; margin-block: 20px; }
    .footer-whatsapp-button { width: 100%; }
    .footer-location__map, .footer-location__map iframe { min-height: 240px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
    .breadcrumbs { margin-bottom: 22px; }
    .page-hero h1 { font-size: 2.5rem; }
    .catalog-filters form { display: flex; }
    .catalog-toolbar span { display: none; }
    .catalog-results .product-grid { gap: 10px; }
    .product-page { padding-top: 18px; }
    .product-gallery__layout:has(.product-gallery__thumbs) { grid-template-columns: 1fr; }
    .product-gallery__main { order: 1; border-radius: 18px; }
    .product-gallery__thumbs { order: 2; overflow-x: auto; overflow-y: hidden; grid-auto-columns: 62px; grid-auto-flow: column; grid-template-columns: none; padding: 3px; }
    .product-info h1 { font-size: 1.95rem; }
    .buy-actions { grid-template-columns: 105px 1fr; }
    .variant-options { grid-template-columns: 1fr; }
    .product-content { margin-top: 38px; padding: 24px 20px; }
    .information-panels { grid-template-columns: 1fr; }
    .reviews-section { margin-top: 40px; }
    .auth-visual { min-height: 410px; padding: 30px; }
    .auth-visual h1 { font-size: 3rem; }
    .auth-card { padding: 30px 22px; }
    .form-row { grid-template-columns: 1fr; }
    .password-rules { grid-template-columns: 1fr; }
    .cart-line { padding-block: 15px; grid-template-columns: 82px minmax(0, 1fr); gap: 13px; }
    .cart-line__price { grid-column: 2; align-items: flex-start; }
    .cart-line__quantity { grid-column: 2; }
    .cart-summary { padding: 22px; }
    .account-hero > div { align-items: flex-start; flex-direction: column; gap: 25px; }
    .account-cards { grid-template-columns: 1fr; }
    .order-row { grid-template-columns: repeat(2, 1fr); }
    .order-status { justify-self: start; }
    .profile-card { grid-template-columns: 1fr; }
    .checkout-form fieldset { padding: 22px 17px; }
    .choice-grid { grid-template-columns: 1fr; }
    .order-success { padding-block: 60px 80px; }
    .order-success__grid { grid-template-columns: 1fr; }
    .order-success__grid article { border-right: 0; border-bottom: 1px solid var(--line); }
    .success-actions { flex-direction: column; }
	.toast { right: 12px; bottom: 12px; width: calc(100vw - 24px); min-height: 58px; padding: 11px 13px; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; font-size: .68rem; }
	.toast__icon { width: 32px; height: 32px; }
	body:has(.fm-cookie-banner:not([hidden])) .toast { bottom: 84px; }
	.woocommerce-message, .woocommerce-info, .woocommerce-error { min-height: 54px; padding: 14px 13px 14px 49px !important; border-radius: 12px; font-size: .7rem; }
	.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { top: 12px; left: 11px; width: 26px; height: 26px; }
	.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { min-height: 30px !important; padding-inline: 11px !important; margin-left: 9px; font-size: .62rem !important; line-height: 28px !important; }
}

/* Directorio automático de marcas de WooCommerce */
.brands-directory { padding-block: 38px 90px; }
.brands-directory__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 30px; }
.brands-directory__header h1 { margin: 0; color: var(--ink); font-size: clamp(2.15rem, 4vw, 3.35rem); line-height: 1; letter-spacing: -.06em; }
.brands-search { display: flex; width: min(360px, 100%); height: 46px; align-items: center; padding: 0 14px; background: #f8fbfa; border: 1px solid #d6e3df; border-radius: 99px; transition: border-color .2s, box-shadow .2s, background .2s; }
.brands-search:focus-within { background: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(var(--primary-rgb),.1); }
.brands-search svg { width: 19px; flex: none; color: var(--teal); fill: none; stroke: currentColor; stroke-width: 1.8; }
.brands-search input { width: 100%; height: 100%; padding: 0 10px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .74rem; }
.brands-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.brand-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; background: #fff; border: 1px solid #dfe8e5; border-radius: 17px; box-shadow: 0 4px 15px rgba(20,65,54,.035); transition: border-color .22s, box-shadow .22s, transform .22s; }
.brand-card:hover { border-color: #acd0c4; box-shadow: 0 17px 38px rgba(20,65,54,.1); transform: translateY(-4px); }
.brand-card[hidden] { display: none !important; }
.brand-card__logo { display: grid; aspect-ratio: 2 / 1; padding: 24px; margin: 0; place-items: center; overflow: hidden; background: linear-gradient(145deg, #fff, #f7faf9); }
.brand-card__logo img { display: block; width: 100%; height: 100%; object-fit: contain; filter: saturate(.96); transition: transform .3s; }
.brand-card:hover .brand-card__logo img { transform: scale(1.035); }
.brand-card__wordmark { max-width: 100%; overflow: hidden; color: var(--teal-dark); font-size: clamp(1rem, 2vw, 1.45rem); font-weight: 900; letter-spacing: -.035em; text-align: center; text-overflow: ellipsis; text-transform: capitalize; white-space: nowrap; }
.brands-no-results { min-height: 310px; padding: 35px; text-align: center; background: #f8faf9; border: 1px dashed #bdcec8; border-radius: 20px; }
.brands-no-results[hidden] { display: none; }
.brands-no-results > span { display: grid; width: 54px; height: 54px; margin: 45px auto 16px; place-items: center; color: var(--teal); background: var(--teal-soft); border-radius: 50%; font-size: 1.5rem; }
.brands-no-results h3 { margin: 0 0 7px; font-size: 1.25rem; }
.brands-no-results p { margin: 0; color: var(--muted); font-size: .75rem; }
.brands-admin-tip { display: flex; margin-top: 28px; padding: 16px 18px; align-items: center; justify-content: space-between; gap: 20px; color: #49665e; background: #f1f8f5; border: 1px solid #cee4dc; border-radius: 14px; }
.brands-admin-tip > div { display: flex; align-items: center; gap: 12px; }
.brands-admin-tip > div > span { display: grid; width: 34px; height: 34px; flex: none; place-items: center; color: #fff; background: var(--teal); border-radius: 10px; }
.brands-admin-tip p { display: flex; margin: 0; flex-direction: column; gap: 3px; font-size: .68rem; line-height: 1.5; }
.brands-admin-tip a { flex: none; padding: 10px 14px; color: #fff; background: var(--teal); border-radius: 8px; font-size: .65rem; font-weight: 800; }

@media (max-width: 900px) {
    .brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .brands-directory { padding-block: 27px 60px; }
    .brands-directory__header { align-items: stretch; flex-direction: column; gap: 18px; }
    .brands-search { width: 100%; }
    .brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .brand-card { border-radius: 14px; }
    .brand-card__logo { padding: 14px; }
    .brands-admin-tip { align-items: stretch; flex-direction: column; }
    .brands-admin-tip a { text-align: center; }
}

@keyframes announcement-cycle {
    0%, 27% { visibility: visible; opacity: 1; transform: translateY(0); }
    33%, 100% { visibility: hidden; opacity: 0; transform: translateY(-100%); }
}

@media (max-width: 380px) {
    .shell { width: min(100% - 22px, 1260px); }
    .header-main { gap: 5px; }
    .mobile-menu-button { width: 28px; }
    .brand-logo { width: 118px; height: 45px; }
    .brand-logo--footer { width: 180px; height: 69px; }
    .header-actions { gap: 3px; }
    .header-action { min-width: 25px; }
    .header-action__icon { width: 22px; height: 22px; }
    .header-action svg { width: 20px; height: 20px; }
    .mobile-search { width: calc(100% - 22px); }
    .product-grid, .catalog-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid .product-card h3 { min-height: 3.34em; max-height: 3.34em; }
    .stories-grid { grid-template-columns: 1fr; }
    .stories-grid--reels { grid-template-columns: none; grid-auto-columns: min(280px, 88vw); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .announcement-message { visibility: hidden; opacity: 0; }
    .announcement-message:first-child { visibility: visible; opacity: 1; transform: none; }
}

/* Integración WordPress + WooCommerce */
@media (min-width: 1025px) {
    body.admin-bar .site-header { top: 32px; }
}
.site-main { min-height: 55vh; }
.content-page { padding-block: 48px 90px; }
.content-page > *:first-child { margin-top: 0; }
.content-page :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { min-height: 44px; padding: 0 12px; border: 1px solid #d6e1de; border-radius: 9px; }
.content-page textarea { min-height: 120px; padding-block: 12px; }

/* Beneficios y medios de pago. */
.payments-page { background: #fff; }
.payments-page__hero { padding: clamp(42px,6vw,78px) 0; overflow: hidden; background: linear-gradient(135deg,#eaf8f0 0%,#f5fbff 58%,#fff 100%); border-bottom: 1px solid #dcebe5; }
.payments-page__hero-inner { display: block; }
.payments-page__eyebrow, .payments-section__heading > div > span { display: block; margin-bottom: 9px; color: var(--teal); font-size: .65rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.payments-page__hero h1 { max-width: 790px; margin: 0; font-size: clamp(2.5rem,5vw,4.7rem); line-height: .98; letter-spacing: -.07em; }
.payments-page__hero p { max-width: 720px; margin: 20px 0 0; color: #49655d; font-size: clamp(.8rem,1.4vw,.96rem); line-height: 1.7; }
.payments-page__quick-links { display: grid; gap: 9px; }
.payments-page__quick-links a { display: grid; min-height: 56px; padding: 10px 15px; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 11px; color: var(--ink); background: rgba(255,255,255,.85); border: 1px solid #cfe3da; border-radius: 13px; box-shadow: 0 8px 24px rgba(18,76,57,.055); font-size: .72rem; font-weight: 850; }
.payments-page__quick-links a:hover { color: var(--teal-dark); border-color: var(--teal); transform: translateY(-1px); }
.payments-page__quick-links span { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: linear-gradient(135deg,var(--teal),var(--secondary)); border-radius: 10px; font-size: .72rem; font-weight: 900; }
.payments-section { padding-block: clamp(50px,7vw,82px); scroll-margin-top: 150px; }
.payments-section__heading { display: flex; margin-bottom: 28px; align-items: end; justify-content: space-between; gap: 30px; }
.payments-section__heading h2 { margin: 0; font-size: clamp(2rem,3.8vw,3.15rem); line-height: 1.02; letter-spacing: -.055em; }
.payments-section__heading p { max-width: 720px; margin: 12px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.65; }
.benefit-terms__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.benefit-terms__list article { display: grid; padding: 21px 2px; grid-template-columns: minmax(200px,.38fr) minmax(0,1fr); gap: 28px; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; transition: background .2s ease, padding .2s ease; }
.benefit-terms__list article:target { padding-inline: 15px; background: #eff9f5; border-color: #bcded1; border-radius: 10px; }
.benefit-terms__list h3 { margin: 0; font-size: .88rem; letter-spacing: -.02em; }
.benefit-terms__list p { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.7; }
.payment-terms { scroll-margin-top: 150px; }
.payment-terms--after-benefits { margin-top: clamp(42px,6vw,70px); padding-top: clamp(35px,5vw,55px); border-top: 1px solid var(--line); }
.payment-terms > header { max-width: 760px; margin-bottom: 22px; }
.payment-terms > header h2 { margin: 0; font-size: clamp(1.7rem,3vw,2.35rem); letter-spacing: -.045em; }
.payment-terms > header p { margin: 10px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.65; }
.payment-terms__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.payment-terms__list article { display: grid; padding: 19px 2px; grid-template-columns: minmax(180px,.38fr) minmax(0,1fr); gap: 25px; border-bottom: 1px solid var(--line); }
.payment-terms__list h3 { margin: 0; font-size: .82rem; letter-spacing: -.015em; }
.payment-terms__list p { margin: 0; color: var(--muted); font-size: .69rem; line-height: 1.65; }
.payments-page__closing { display: grid; padding-block: clamp(45px,6vw,72px); grid-template-columns: minmax(0,1.35fr) auto; align-items: center; gap: 28px; }
.payments-notice { display: grid; padding: 20px 22px; grid-template-columns: 36px minmax(0,1fr); gap: 14px; color: #31554b; background: #eef8f4; border: 1px solid #cfe6dc; border-radius: 15px; }
.payments-notice > span { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.payments-notice h2 { margin: 1px 0 6px; font-size: .88rem; }
.payments-notice p { margin: 0; color: #547169; font-size: .66rem; line-height: 1.6; }
.payments-page__actions { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.payments-page__actions > a:not(.primary-button) { color: var(--teal); font-size: .7rem; font-weight: 850; }
.payments-page__actions > a:not(.primary-button):hover { color: var(--teal-dark); }

/* Directorio compacto de promociones y condiciones. */
.terms-page { background: #fff; }
.terms-page__header { padding: 34px 0 30px; background: #f2f8f5; border-bottom: 1px solid #dce8e2; }
.terms-page__header h1 { margin: 0; font-size: clamp(2rem,4vw,3.25rem); line-height: 1; letter-spacing: -.055em; }
.terms-page__header p { max-width: 760px; margin: 12px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.65; }
.terms-directory { padding-block: 38px 65px; }
.terms-group + .terms-group { margin-top: 42px; }
.terms-group > header { max-width: 760px; margin-bottom: 16px; }
.terms-group > header h2 { margin: 0; font-size: clamp(1.35rem,2.6vw,2rem); letter-spacing: -.04em; }
.terms-group > header p { margin: 8px 0 0; color: var(--muted); font-size: .69rem; line-height: 1.6; }
.terms-list { border-top: 1px solid var(--line); }
.terms-list article { display: flex; min-height: 76px; padding: 15px 2px; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--line); scroll-margin-top: 145px; }
.terms-list article:target { padding-inline: 12px; background: #eff9f5; border-radius: 10px; }
.terms-list small { display: block; margin-bottom: 3px; color: var(--secondary); font-size: .52rem; font-weight: 850; text-transform: uppercase; }
.terms-list h3 { margin: 0; font-size: .85rem; }
.terms-list button { display: inline-flex; padding: 8px 0; align-items: center; gap: 8px; flex: none; color: var(--teal); background: transparent; border: 0; font-size: .64rem; font-weight: 850; cursor: pointer; }
.terms-list button:hover { color: var(--teal-dark); }
.terms-page__notice { margin-top: 38px; padding: 17px 19px; color: #3f5e55; background: #f3f8f5; border: 1px solid #dbe8e2; border-radius: 12px; }
.terms-page__notice strong { font-size: .7rem; }
.terms-page__notice p { margin: 5px 0 0; font-size: .64rem; line-height: 1.6; }
body.has-terms-modal { overflow: hidden; }
.terms-modal[hidden] { display: none !important; }
.terms-modal { position: fixed; z-index: 100000; inset: 0; display: grid; padding: 20px; place-items: center; }
.terms-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: rgba(5,20,18,.78); border: 0; cursor: pointer; backdrop-filter: blur(4px); }
.terms-modal__dialog { position: relative; z-index: 1; width: min(680px,100%); max-height: min(78vh,720px); padding: clamp(24px,5vw,42px); overflow-y: auto; color: var(--ink); background: #fff; border-radius: 20px; box-shadow: 0 28px 80px rgba(0,0,0,.35); animation: terms-modal-in .2s ease-out; }
@keyframes terms-modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.terms-modal__close { display: inline-flex; margin: 0 0 28px; padding: 0; align-items: center; gap: 8px; color: var(--teal); background: transparent; border: 0; font-size: .66rem; font-weight: 850; cursor: pointer; }
.terms-modal__close span { display: grid; width: 30px; height: 30px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: .9rem; }
.terms-modal__dialog > small { display: block; color: var(--secondary); font-size: .56rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.terms-modal__dialog h2 { margin: 7px 0 18px; font-size: clamp(1.65rem,4vw,2.55rem); line-height: 1.05; letter-spacing: -.05em; }
.terms-modal__copy { color: #536b64; font-size: .75rem; line-height: 1.75; }
.terms-modal__copy p { margin: 0 0 13px; }
@media (max-width: 900px) {
	.payments-page__quick-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.payments-page__closing { grid-template-columns: 1fr; }
	.payments-page__actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
	.terms-page__header { padding-block: 27px 24px; }
	.terms-directory { padding-block: 28px 50px; }
	.terms-list article { min-height: 72px; align-items: flex-start; flex-direction: column; gap: 5px; }
	.terms-list button { padding-block: 5px; }
	.terms-modal { padding: 10px; align-items: end; }
	.terms-modal__dialog { width: 100%; max-height: 88vh; border-radius: 18px 18px 12px 12px; }
	.payments-page__hero { padding-block: 38px; }
	.payments-page__hero h1 { font-size: 2.55rem; }
	.payments-section { padding-block: 45px; scroll-margin-top: 115px; }
	.payments-section__heading { margin-bottom: 21px; }
	.benefit-terms__list article { padding-block: 18px; grid-template-columns: 1fr; gap: 7px; scroll-margin-top: 120px; }
	.benefit-terms__list article:target { padding-inline: 12px; }
	.payment-terms { scroll-margin-top: 120px; }
	.payment-terms__list article { padding-block: 17px; grid-template-columns: 1fr; gap: 7px; }
	.payments-page__closing { padding-block: 38px 52px; }
	.payments-page__actions { align-items: stretch; flex-direction: column; gap: 12px; text-align: center; }
	.payments-page__actions .primary-button { justify-content: center; }
}
.farmacia-legal-page .page-hero { padding-block: 38px 34px; }
.farmacia-legal-page .page-hero h1 { max-width: 900px; margin-bottom: 0; font-size: clamp(2rem,4vw,3.35rem); }
.farmacia-legal-page .content-page { width: min(980px,calc(100% - 48px)); padding-block: 34px 80px; color: #435e56; }
.farmacia-legal-page .content-page > section { padding: 25px 0; border-bottom: 1px solid var(--line); }
.farmacia-legal-page .content-page > section:last-child { border-bottom: 0; }
.farmacia-legal-page .content-page h2 { margin: 0 0 11px; color: var(--ink); font-size: clamp(1.15rem,2vw,1.45rem); letter-spacing: -.025em; }
.farmacia-legal-page .content-page p, .farmacia-legal-page .content-page li { font-size: .78rem; line-height: 1.75; }
.farmacia-legal-page .content-page ul, .farmacia-legal-page .content-page ol { padding-left: 20px; }
.farmacia-legal-page .content-page li + li { margin-top: 7px; }
.farmacia-legal-page .content-page a:not(.fm-legal-button) { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fm-legal-lead { padding: 24px 26px; color: #49645c; background: linear-gradient(120deg,#eff9f2,#eef8fd); border: 1px solid #d7e9df; border-radius: 18px; }
.fm-legal-lead strong { display: block; color: var(--ink); font-size: 1.12rem; letter-spacing: -.02em; }
.fm-legal-lead p { max-width: 760px; margin: 7px 0 9px; }
.fm-legal-lead small { color: #71867f; font-size: .63rem; }
.fm-legal-index { display: flex; margin: 14px 0 2px; padding: 12px 15px; align-items: center; flex-wrap: wrap; gap: 8px 16px; background: #fafcfb; border: 1px solid var(--line); border-radius: 13px; }
.fm-legal-index strong { margin-right: 3px; color: var(--ink); font-size: .66rem; }
.fm-legal-index a { color: var(--teal); font-size: .62rem; font-weight: 750; }
.fm-legal-table { overflow-x: auto; margin-top: 17px; border: 1px solid var(--line); border-radius: 13px; }
.fm-legal-table table { width: 100%; min-width: 620px; border-collapse: collapse; }
.fm-legal-table th, .fm-legal-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: .68rem; line-height: 1.5; }
.fm-legal-table th { color: var(--ink); background: #f2f8f5; }
.fm-legal-table tr:last-child td { border-bottom: 0; }
.fm-legal-button { display: inline-flex; min-height: 42px; padding: 0 18px; align-items: center; justify-content: center; color: #fff; background: var(--teal); border-radius: 99px; font-size: .7rem; font-weight: 850; }
.fm-withdrawal-form { display: grid; margin-top: 18px; padding: 22px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; background: #f8fbfa; border: 1px solid var(--line); border-radius: 17px; }
.fm-withdrawal-form label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: var(--ink); font-size: .7rem; font-weight: 750; }
.fm-withdrawal-form label span small { color: var(--muted); font-weight: 500; }
.fm-withdrawal-form :is(input,select,textarea) { width: 100%; background: #fff; outline: 0; font-size: .75rem; }
.fm-withdrawal-form :is(input,select,textarea):focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.1); }
.fm-withdrawal-form__wide, .fm-withdrawal-form__footer { grid-column: 1/-1; }
.fm-form-verification { display: grid; min-width: 0; grid-column: 1/-1; gap: 5px; }
.fm-form-verification .cf-turnstile { width: 100%; max-width: 320px; }
.fm-form-verification .g-recaptcha { overflow: hidden; width: 100%; max-width: 304px; }
.fm-form-verification > small { color: var(--muted); font-size: .58rem; }
.fm-auth-email-form .fm-form-verification { margin-top: -2px; }
.fm-withdrawal-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.fm-withdrawal-form__footer p { max-width: 520px; margin: 0; color: var(--muted); font-size: .62rem !important; }
.fm-withdrawal-form__footer button { min-height: 42px; padding: 0 18px; flex: none; color: #fff; background: var(--teal); border: 0; border-radius: 99px; font-size: .68rem; font-weight: 850; cursor: pointer; }
.fm-form-trap { position: absolute !important; left: -9999px; }
.fm-legal-success, .fm-legal-error { margin: 15px 0; padding: 15px 17px; border-radius: 12px; }
.fm-legal-success { color: #205c34; background: #e9f8ed; border: 1px solid #bfe2c8; }
.fm-legal-error { color: #7c372f; background: #fff0ed; border: 1px solid #efc3bb; }
.fm-legal-success p, .fm-legal-error p { margin: 4px 0 0; }
.fm-catalog-filter { width: 100%; margin: 2px 0 22px; padding: 10px; background: #f6faf8; border: 1px solid #dce9e4; border-radius: 14px; }
.fm-catalog-filter form { display: grid; grid-template-columns: minmax(230px,1fr) auto auto auto; align-items: center; gap: 8px; }
.fm-catalog-filter label { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: #49645c; font-size: .57rem; font-weight: 800; }
.fm-catalog-filter :is(input,select) { width: 100%; min-width: 0; height: 41px; padding: 0 10px; color: var(--ink); background: #fff; border: 1px solid #d4e2dd; border-radius: 9px; outline: 0; font-size: .68rem; }
.fm-filter-field { position: relative; display: flex; align-items: center; }
.fm-filter-field svg { position: absolute; left: 10px; width: 16px; color: var(--teal); pointer-events: none; }
.fm-filter-field input { padding-left: 32px; }
.fm-catalog-filter :is(input,select):focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.09); }
.fm-catalog-filter button { min-height: 41px; padding: 0 16px; color: #fff; background: var(--teal); border: 0; border-radius: 9px; font-size: .65rem; font-weight: 850; cursor: pointer; }
.fm-filter-options { min-width: 145px; }
.fm-filter-options summary { display: flex; min-height: 41px; padding: 0 13px; align-items: center; justify-content: center; gap: 8px; color: var(--ink); background: #fff; border: 1px solid #d4e2dd; border-radius: 9px; cursor: pointer; font-size: .66rem; font-weight: 800; list-style: none; }
.fm-filter-options summary::-webkit-details-marker { display: none; }
.fm-filter-options summary svg { width: 17px; color: var(--teal); }
.fm-filter-options summary small { display: grid; width: 19px; height: 19px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: .53rem; }
.fm-filter-options[open] { grid-column: 1 / -1; }
.fm-filter-options[open] summary { width: max-content; margin: 3px 0 10px auto; color: var(--teal); border-color: #acd0c4; }
.fm-filter-options__fields { display: grid; grid-template-columns: repeat(4,minmax(135px,1fr)); align-items: end; gap: 8px; padding-top: 1px; }
.fm-filter-options__fields > label.is-disabled { opacity: .58; }
.fm-filter-options__fields > label.is-disabled select { background: #f2f5f4; cursor: not-allowed; }
.fm-filter-apply { min-width: 115px; }
.fm-filter-clear { padding: 8px 6px; color: var(--teal); font-size: .62rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-main { padding: 32px 0 70px; }
.woocommerce-shell { min-height: 55vh; }
.woocommerce .woocommerce-breadcrumb { margin: 0 0 26px; color: var(--muted); font-size: .72rem; }
.woocommerce .woocommerce-breadcrumb a { color: var(--teal); }
.woocommerce-products-header__title.page-title { margin: 0 0 22px; font-size: clamp(2.15rem, 4vw, 3.35rem); letter-spacing: -.06em; }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: .76rem; }
.woocommerce .woocommerce-ordering { margin-bottom: 28px; }
.woocommerce .woocommerce-ordering select { min-height: 42px; padding: 0 36px 0 12px; border: 1px solid var(--line); background: #fff; border-radius: 9px; color: var(--ink); }
.woocommerce ul.products { display: grid; clear: both; margin: 18px -4px 0; padding: 4px 4px 18px; align-items: stretch; grid-auto-rows: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; overflow: visible; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product.farmacia-loop-item { display: flex; float: none; width: auto; min-width: 0; height: auto; margin: 0; padding: 0; align-self: stretch; overflow: visible; list-style: none; }
.woocommerce ul.products li.product.farmacia-loop-item .product-card { width: 100%; height: auto; min-height: 100%; }
.woocommerce ul.products li.product.farmacia-loop-item .product-card__media { width: 100%; flex: none; }
.woocommerce ul.products li.product.farmacia-loop-item .product-card__media > a { display: block; width: 100%; height: 100%; margin: 0; }
.woocommerce ul.products li.product.farmacia-loop-item .product-card__media img { width: 100%; height: 100%; margin: 0 !important; object-fit: contain; }
.woocommerce ul.products li.product.farmacia-loop-item .product-card__body { min-width: 0; }
.woocommerce ul.products li.product.farmacia-loop-item .product-card h3 { height: auto; min-height: 3.34em; max-height: none; overflow: visible; line-height: 1.42; }
.woocommerce ul.products li.product.farmacia-loop-item .product-card h3 a { display: block; padding-bottom: .3em; overflow: visible; text-overflow: clip; -webkit-box-orient: initial; -webkit-line-clamp: unset; line-clamp: unset; }
.product-card__price .price { display: flex !important; min-height: 45px; align-items: flex-start; justify-content: flex-end; flex-direction: column; color: var(--ink) !important; }
.product-card__price .price ins { color: var(--ink); text-decoration: none; }
.product-card__price .price > :is(span, ins) { max-width: 100%; font-size: clamp(.96rem, 2vw, 1.24rem); font-weight: 800; letter-spacing: -.04em; }
.product-card__price .price del { color: #8f9997 !important; font-size: .72rem; opacity: 1 !important; }
.product-card__price small .woocommerce-Price-amount { font-weight: 700; }
.woocommerce ul.products li.product.farmacia-loop-item a.add-to-cart.button { display: flex; width: 100%; height: 38px; min-height: 38px; padding: 0 10px; align-items: center; justify-content: center; gap: 7px; margin-top: 11px; color: var(--teal); background: #fff; border: 1px solid var(--teal); border-radius: 8px; font-size: .72rem; line-height: 1; }
.woocommerce ul.products li.product.farmacia-loop-item a.add-to-cart.button:hover { color: #fff; background: var(--teal); }
.woocommerce a.add-to-cart.added { color: #fff; background: var(--teal); }
a.added_to_cart.wc-forward, .added_to_cart.wc-forward { display: none !important; }
.woocommerce nav.woocommerce-pagination { margin-top: 40px; }
.woocommerce nav.woocommerce-pagination ul { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.woocommerce nav.woocommerce-pagination ul li { border-right-color: var(--line); }
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { color: #fff; background: var(--teal); }
.woocommerce-notices-wrapper:not(:empty) { width: 100%; margin: 0 0 18px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { position: relative; min-height: 58px; padding: 16px 18px 16px 54px !important; margin: 0 0 14px !important; border: 1px solid #c7e4d5 !important; border-left: 4px solid #17804d !important; border-radius: 14px; color: #21463a; background: #f5fcf8; box-shadow: 0 9px 26px rgba(18,85,57,.065); font-size: .74rem; line-height: 1.55; list-style: none; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { position: absolute; top: 14px; left: 13px; display: grid; width: 28px; height: 28px; content: '✓'; place-items: center; color: #fff; background: #17804d; border-radius: 50%; font-family: inherit; font-size: .72rem; font-weight: 900; line-height: 1; }
.woocommerce-info { color: #24516b; background: #f4faff; border-color: #c9e3f1 !important; border-left-color: var(--secondary) !important; box-shadow: 0 9px 26px rgba(21,156,223,.065); }
.woocommerce-info::before { content: 'i'; background: var(--secondary); }
.woocommerce-error { color: #762f28; background: #fff8f6; border-color: #efc9c3 !important; border-left-color: #c65549 !important; box-shadow: 0 9px 26px rgba(118,47,40,.065); }
.woocommerce-error::before { content: '!'; background: #c65549; }
.woocommerce-error li + li { margin-top: 5px; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a:not(.button) { color: inherit; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { min-height: 34px !important; padding: 0 14px !important; margin: -4px 0 -4px 14px; float: right; border: 1px solid currentColor !important; color: inherit !important; background: transparent !important; line-height: 32px !important; }
.woocommerce-message .button:hover, .woocommerce-info .button:hover, .woocommerce-error .button:hover { color: #fff !important; background: var(--teal-dark) !important; border-color: var(--teal-dark) !important; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wp-block-button__link { min-height: 44px; padding: 0 20px; border: 0; color: #fff; background: var(--teal); border-radius: 99px; font-size: .78rem; font-weight: 800; line-height: 44px; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { color: #fff; background: var(--teal-dark); }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { color: #fff; background: var(--teal); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { color: #fff; background: var(--teal-dark); }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .8fr); gap: clamp(35px, 6vw, 80px); }
.woocommerce div.product .woocommerce-product-gallery, .woocommerce div.product .summary { float: none; width: auto; margin: 0; }
.woocommerce div.product .woocommerce-product-gallery__wrapper { overflow: hidden; background: #f6f7f3; border-radius: 24px; }
.woocommerce div.product .woocommerce-product-gallery__image img { width: 100%; }
.woocommerce div.product .summary { padding: clamp(10px, 3vw, 35px) 0; }
.woocommerce div.product .product_title { margin: 8px 0 18px; font-size: clamp(2.4rem, 4vw, 4.2rem); line-height: .98; letter-spacing: -.07em; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 2rem; font-weight: 850; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product p.price del { color: var(--muted); font-size: 1rem; opacity: .75; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); line-height: 1.75; }
.woocommerce div.product form.cart { display: flex; gap: 12px; margin-top: 28px; }
.woocommerce .quantity .qty { width: 76px; height: 48px; border: 1px solid var(--line); border-radius: 10px; }
.woocommerce div.product form.cart .button { min-height: 48px; padding-inline: 28px; }
.woocommerce div.product .product_meta { display: flex; margin-top: 25px; flex-direction: column; gap: 8px; color: var(--muted); font-size: .7rem; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; padding: 42px; background: #f7f8f5; border-radius: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-color: var(--line); background: #eef3f1; }
.woocommerce div.product .related { grid-column: 1 / -1; padding-top: 40px; }
.woocommerce div.product .related > h2 { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.05em; }
.woocommerce div.product .related ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Ficha individual: jerarquía visual inspirada en la tienda original. */
.single-product .woocommerce-shell { padding-top: 18px; padding-bottom: 62px; }
.woocommerce div.product.fm-product { display: block; max-width: 1080px; margin-inline: auto; }
.fm-product .product-gallery { position: relative; min-width: 0; }
.fm-product .product-gallery .woocommerce-product-gallery { float: none !important; width: 100% !important; margin: 0 !important; }
.fm-product .woocommerce-product-gallery:has(.flex-control-thumbs) { display: grid; grid-template-areas: 'main' 'thumbs'; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 15px; }
.fm-product .woocommerce-product-gallery__wrapper,
.fm-product .woocommerce-product-gallery .flex-viewport { grid-area: main; width: 100%; aspect-ratio: 1; min-height: 0; margin: 0; overflow: hidden; background: #f7f8f4; border-radius: 20px; }
.fm-product .woocommerce-product-gallery .flex-viewport { height: auto !important; touch-action: pan-y pinch-zoom; }
.fm-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper { height: 100%; aspect-ratio: auto; background: transparent; border-radius: 0; }
.fm-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image { aspect-ratio: 1; }
.fm-product .woocommerce-product-gallery__image, .fm-product .woocommerce-product-gallery__image > a { display: block; width: 100%; height: 100%; }
.fm-product .woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fm-product .woocommerce-product-gallery__image img.zoomImg { display: none !important; }
.fm-product .woocommerce-product-gallery .flex-control-thumbs { grid-area: thumbs; display: grid; width: 100%; max-height: none; padding: 3px 2px 8px; margin: 0; overflow-x: auto !important; overflow-y: hidden !important; grid-auto-columns: 104px; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: 104px; gap: 12px; list-style: none; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: rgba(var(--primary-rgb),.38) transparent; scrollbar-width: thin; overscroll-behavior-inline: contain; }
.fm-product .woocommerce-product-gallery .flex-control-thumbs li { float: none !important; width: 100% !important; height: 100%; overflow: hidden; padding: 5px; border: 1px solid var(--line); background: #fff; border-radius: 14px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.fm-product .woocommerce-product-gallery .flex-control-thumbs li { scroll-snap-align: start; }
.fm-product .woocommerce-product-gallery .flex-control-thumbs li:hover { border-color: var(--teal); box-shadow: 0 6px 18px rgba(var(--primary-rgb),.14); transform: translateY(-1px); }
.fm-product .woocommerce-product-gallery .flex-control-thumbs img { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; opacity: .6; }
.fm-product .woocommerce-product-gallery .flex-control-thumbs img:hover, .fm-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; }
.fm-product .woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active) { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(var(--primary-rgb),.16); }
.fm-product .woocommerce-product-gallery__trigger { z-index: 5 !important; top: 15px !important; right: 15px !important; display: inline-flex !important; width: auto !important; height: 42px !important; padding: 0 14px !important; align-items: center; gap: 7px; color: var(--ink) !important; background: rgba(255,255,255,.92) !important; border: 1px solid var(--line); border-radius: 99px !important; box-shadow: 0 8px 22px rgba(8,55,52,.08); font-size: .7rem !important; font-weight: 800; text-indent: 0 !important; }
.fm-product .woocommerce-product-gallery__trigger span { display: none; }
.fm-product .woocommerce-product-gallery__trigger::before { position: static !important; width: auto !important; height: auto !important; content: '↗' !important; color: var(--teal); background: none !important; border: 0 !important; border-radius: 0 !important; font-size: .95rem; line-height: 1; transform: none !important; }
.fm-product .woocommerce-product-gallery__trigger::after { position: static !important; width: auto !important; height: auto !important; content: 'Ver imagen' !important; background: none !important; border: 0 !important; border-radius: 0 !important; line-height: 1; transform: none !important; }
.fm-product .woocommerce-product-gallery__trigger:hover { color: var(--teal-dark) !important; background: #fff !important; border-color: rgba(var(--primary-rgb),.3); }
.pswp__bg { background: rgba(8,38,33,.68) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pswp__img { border-radius: 22px; box-shadow: 0 28px 90px rgba(0,0,0,.28); }
.pswp__button--close { margin: 14px !important; background-color: rgba(255,255,255,.92) !important; border: 1px solid rgba(255,255,255,.55) !important; border-radius: 50% !important; box-shadow: 0 8px 26px rgba(0,0,0,.18); }
.fm-product .product-gallery > .discount-badge { z-index: 11; top: 14px; left: 14px; padding: 9px 12px; font-size: .76rem; }
.fm-product .product-info__lead p { margin: 0; }
.fm-product .product-info__rating { margin-top: 0; }
.fm-product .fm-product-price { display: flex; align-items: flex-start; flex-direction: column; color: var(--ink); font-size: 1.9rem; font-weight: 850; line-height: 1.08; letter-spacing: -.05em; }
.fm-product .fm-product-price del { color: #879491; font-size: .85rem; font-weight: 500; line-height: 1.5; letter-spacing: 0; opacity: 1; }
.fm-product .fm-product-price ins { color: var(--ink); text-decoration: none; }
.fm-product .product-buy-box { padding: 17px 0; }
.woocommerce .fm-product .product-buy-box form.cart { margin: 16px 0 0; }
.woocommerce .fm-product .product-buy-box form.cart:not(.variations_form):not(.grouped_form), .woocommerce .fm-product .woocommerce-variation-add-to-cart { display: grid; grid-template-columns: minmax(0, 1fr) 125px; align-items: stretch; gap: 12px; }
.woocommerce .fm-product .product-buy-box .quantity { display: grid; width: 125px; height: 48px; grid-template-columns: 35px minmax(0, 1fr) 35px; border: 1px solid var(--line); border-radius: 10px; }
.woocommerce .fm-product .product-buy-box .single_add_to_cart_button { grid-column: 1; grid-row: 1; }
.woocommerce .fm-product .product-buy-box .quantity { grid-column: 2; grid-row: 1; }
.woocommerce .fm-product .product-buy-box .quantity .qty { width: 100%; height: 46px; padding: 0; border: 0; background: transparent; border-radius: 0; box-shadow: none; -moz-appearance: textfield; }
.fm-product .product-buy-box .quantity .qty::-webkit-inner-spin-button, .fm-product .product-buy-box .quantity .qty::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.fm-product .quantity-control__button { width: 100%; padding: 0; border: 0; color: var(--ink); background: transparent; border-radius: 9px; font-size: 1.08rem; line-height: 1; cursor: pointer; }
.fm-product .quantity-control__button:hover { color: var(--teal); background: var(--teal-soft); }
.woocommerce .fm-product .product-buy-box .single_add_to_cart_button { width: 100%; min-height: 48px; padding: 0 25px; border-radius: 99px; }
.woocommerce .fm-product .product-buy-box .single_add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.woocommerce .fm-product .product-buy-box .single_add_to_cart_button::before { width: 18px; height: 18px; flex: none; content: ''; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h2l2.1 9.1a2 2 0 0 0 1.95 1.55h7.9a2 2 0 0 0 1.95-1.55L20.2 7H6.05M9 20a1.25 1.25 0 1 0 0-2.5A1.25 1.25 0 0 0 9 20Zm8 0a1.25 1.25 0 1 0 0-2.5A1.25 1.25 0 0 0 17 20Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h2l2.1 9.1a2 2 0 0 0 1.95 1.55h7.9a2 2 0 0 0 1.95-1.55L20.2 7H6.05M9 20a1.25 1.25 0 1 0 0-2.5A1.25 1.25 0 0 0 9 20Zm8 0a1.25 1.25 0 1 0 0-2.5A1.25 1.25 0 0 0 17 20Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.woocommerce .fm-product .product-buy-box form.variations_form { display: block; }
.fm-product .variations { margin-bottom: 15px !important; }
.fm-product .variations th, .fm-product .variations td { display: block; padding: 0 0 7px !important; text-align: left; }
.fm-product .variations label { font-size: .72rem; }
.fm-product .variations select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; }
.fm-product .reset_variations { display: inline-block; margin-top: 7px; color: var(--teal); font-size: .68rem; font-weight: 800; }
.fm-product .woocommerce-variation-price { margin: 0 0 14px; }
.fm-product .woocommerce-variation-price .price { color: var(--ink) !important; font-size: 1.35rem !important; }
.fm-product .stock-status + .stock { display: none; }
.fm-product .delivery-options { margin-top: 2px; }
.fm-product .product-description__copy > :first-child { margin-top: 0; }
.fm-product .product-description__copy > :last-child { margin-bottom: 0; }
.fm-product .reviews-section { align-items: start; grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr); }
.fm-product .reviews-section__heading { position: sticky; top: 190px; }
.fm-product .reviews-section__heading h2 { margin: 8px 0 0; font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -.05em; }
.fm-product .reviews-section__content { min-width: 0; padding: 25px; background: #f7f8f5; border-radius: 16px; }
.fm-product .woocommerce-Reviews-title { display: none; }
.fm-product .woocommerce-noreviews { margin-top: 0; color: var(--muted); }
.fm-product #review_form_wrapper { margin-top: 25px; padding-top: 25px; border-top: 1px solid var(--line); }
.fm-product #review_form_wrapper .comment-reply-title { display: block; margin-bottom: 18px; font-size: 1.1rem; font-weight: 800; }
.fm-product #review_form_wrapper label { display: block; margin-bottom: 6px; font-size: .7rem; font-weight: 800; }
.fm-product #review_form_wrapper :is(input, textarea) { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; }
.fm-product #review_form_wrapper textarea { min-height: 120px; resize: vertical; }
.fm-product #review_form_wrapper .form-submit input { width: auto; }
.fm-product .commentlist { padding: 0; list-style: none; }
.fm-product .commentlist .comment_container { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fm-product .fm-related-products .related { padding-top: 52px; }
.fm-product .fm-related-products .related > h2 { margin-bottom: 25px; }
.woocommerce table.shop_table { overflow: hidden; border-color: var(--line); border-radius: 14px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 16px 14px; border-top-color: var(--line); }
.woocommerce table.shop_table img { width: 90px; border-radius: 10px; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 170px; min-height: 44px; padding: 0 12px; border-color: var(--line); border-radius: 9px; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: min(100%, 430px); margin-left: auto; padding: 26px; border: 1px solid var(--line); border-radius: 18px; }
.woocommerce .cart-collaterals .cart_totals h2 { margin-top: 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { min-height: 52px; line-height: 52px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 44px; padding: 0 12px; border: 1px solid #d6e1de; border-radius: 9px; }
.woocommerce form .form-row textarea { min-height: 110px; padding-block: 12px; }
.woocommerce-account .woocommerce { display: block; }
.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: 100%; margin-bottom: 28px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; margin: 0; padding: 6px; overflow-x: auto; gap: 4px; background: #f4f7f5; border: 1px solid var(--line); border-radius: 14px; list-style: none; scrollbar-width: thin; }
.woocommerce-account .woocommerce-MyAccount-navigation li { flex: 1 0 auto; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; text-align: center; border-radius: 9px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation li a:hover { color: #fff; background: var(--teal); box-shadow: 0 5px 14px rgba(var(--primary-rgb),.16); }
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-account .woocommerce-MyAccount-content > form:not(.woocommerce-form) { padding: clamp(22px, 4vw, 38px); background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.woocommerce-account .woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-account .woocommerce-Address { float: none; width: 100%; padding: 24px; background: #f7faf8; border: 1px solid var(--line); border-radius: 16px; }
.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.woocommerce-account .woocommerce-Address-title h2 { font-size: 1.5rem; }
.woocommerce-account .woocommerce-Address-title a { color: var(--teal); font-size: .72rem; font-weight: 800; }
.woocommerce-account fieldset { margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; }
.woocommerce-account legend { padding: 0 8px; font-weight: 800; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; width: min(100%, 1080px); margin-inline: auto; }
.account-welcome { display: flex; margin-bottom: 18px; padding: clamp(24px, 4vw, 38px); align-items: center; justify-content: space-between; gap: 24px; color: #fff; background: linear-gradient(130deg, var(--teal-dark), var(--teal)); border-radius: 22px; box-shadow: 0 18px 45px rgba(var(--primary-rgb),.16); }
.account-welcome__identity { display: flex; align-items: center; gap: 18px; }
.account-welcome img { width: 72px; height: 72px; flex: none; border: 3px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.account-welcome span { color: #c9ebfd; font-size: .65rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.account-welcome h2 { margin: 4px 0 6px; color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.055em; }
.account-welcome p { margin: 0; color: rgba(255, 255, 255, .78); }
.account-welcome > a { flex: none; padding: 10px 16px; color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; font-size: .69rem; font-weight: 800; }
.account-welcome > a:hover { background: rgba(255, 255, 255, .12); }
.account-admin-banner { display: flex; margin-bottom: 18px; padding: 18px 20px; align-items: center; justify-content: space-between; gap: 18px; background: #fff9ec; border: 1px solid #ead8ad; border-radius: 16px; }
.account-admin-banner > div { display: flex; align-items: center; gap: 13px; }
.account-admin-banner__icon { display: grid; width: 38px; height: 38px; place-items: center; flex: none; color: #835d10; background: #f6e5b9; border-radius: 11px; }
.account-admin-banner strong { display: block; color: #5f4513; }
.account-admin-banner p { margin: 3px 0 0; color: #8a7345; font-size: .72rem; }
.account-admin-banner nav { display: flex; flex-wrap: wrap; gap: 7px; }
.account-admin-banner nav a { padding: 8px 12px; color: #604814; background: #fff; border: 1px solid #e4d19d; border-radius: 99px; font-size: .66rem; font-weight: 800; }
.account-admin-banner nav a:hover { color: #fff; background: #7b5d1b; border-color: #7b5d1b; }
.account-shortcuts { display: grid; margin-bottom: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.account-shortcut { display: flex; min-height: 155px; padding: 20px; flex-direction: column; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.account-shortcut:hover { color: var(--ink); border-color: #8fc8bf; box-shadow: 0 12px 28px rgba(12, 70, 63, .09); transform: translateY(-3px); }
.account-shortcut__icon { display: grid; width: 35px; height: 35px; margin-bottom: auto; place-items: center; color: var(--secondary-dark); background: var(--secondary-soft); border-radius: 10px; font-size: 1rem; font-weight: 800; }
.account-shortcut strong { display: block; margin-top: 18px; font-size: .84rem; }
.account-shortcut small { margin-top: 4px; color: var(--muted); font-size: .66rem; }
.account-recent-orders { padding: clamp(22px, 4vw, 34px); background: #f7faf8; border: 1px solid var(--line); border-radius: 20px; }
.account-section-heading { display: flex; margin-bottom: 20px; align-items: flex-end; justify-content: space-between; gap: 20px; }
.account-section-heading span { color: var(--teal); font-size: .62rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.account-section-heading h3 { margin: 5px 0 0; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.045em; }
.account-section-heading > a { color: var(--teal); font-size: .7rem; font-weight: 850; }
.account-order-list { display: grid; gap: 8px; }
.account-order { display: grid; padding: 14px 16px; grid-template-columns: minmax(170px, 1fr) auto auto; align-items: center; gap: 20px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.account-order:hover { color: var(--ink); border-color: #8fc8bf; }
.account-order > span:first-child { display: flex; flex-direction: column; }
.account-order small { margin-top: 3px; color: var(--muted); font-size: .65rem; }
.account-order__status { padding: 6px 10px; color: var(--teal-dark); background: var(--teal-soft); border-radius: 99px; font-size: .64rem; font-weight: 800; }
.account-empty-state { padding: 26px 15px 5px; text-align: center; }
.account-empty-state > span { display: grid; width: 48px; height: 48px; margin: 0 auto 13px; place-items: center; color: var(--secondary-dark); background: var(--secondary-soft); border-radius: 50%; font-size: 1.25rem; }
.account-empty-state strong { display: block; }
.account-empty-state p { margin: 7px 0 16px; color: var(--muted); font-size: .75rem; }
.farmacia-auth-intro { display: grid; margin-bottom: 24px; padding: clamp(28px, 5vw, 54px); grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(28px, 6vw, 70px); color: #fff; background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 62%, var(--secondary-dark) 100%); border-radius: 26px; box-shadow: 0 22px 50px rgba(var(--primary-rgb),.16); }
.farmacia-auth-eyebrow { display: block; margin-bottom: 13px; color: #c9ebfd; font-size: .68rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.farmacia-auth-intro h2 { max-width: 650px; margin: 0; color: #fff; font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: .98; letter-spacing: -.065em; }
.farmacia-auth-intro p { max-width: 590px; margin: 20px 0 0; color: rgba(255, 255, 255, .78); line-height: 1.7; }
.farmacia-auth-intro ul { display: flex; align-self: center; margin: 0; padding: 0; flex-direction: column; gap: 14px; list-style: none; }
.farmacia-auth-intro li { position: relative; padding-left: 30px; color: #fff; font-size: .82rem; font-weight: 700; line-height: 1.45; }
.farmacia-auth-intro li::before { position: absolute; top: 1px; left: 0; display: grid; width: 20px; height: 20px; place-items: center; content: '\2713'; color: var(--secondary-dark); background: var(--secondary-soft); border-radius: 50%; font-size: .68rem; }
.farmacia-google-access { margin-bottom: 24px; padding: 24px; text-align: center; background: #f5f8f7; border: 1px solid var(--line); border-radius: 18px; }
.farmacia-google-access p { margin: 0 0 14px; color: var(--ink); font-size: .82rem; font-weight: 800; }
.farmacia-google-access > span { display: flex; margin-top: 17px; align-items: center; gap: 15px; color: var(--muted); font-size: .68rem; }
.farmacia-google-access > span::before, .farmacia-google-access > span::after { height: 1px; flex: 1; content: ''; background: var(--line); }
.farmacia-google-button .nsl-container { display: flex; justify-content: center; }
.farmacia-google-button .nsl-container, .farmacia-google-button .nsl-container-buttons { width: 100%; max-width: none; }
.farmacia-google-button .nsl-button { width: 100%; justify-content: center; }
.fm-google-pending-button { display: flex; width: 100%; min-height: 47px; padding: 0 18px; align-items: center; justify-content: center; gap: 11px; color: #26332f; background: #fff; border: 1px solid #ccd7d3; border-radius: 10px; cursor: pointer; font-size: .74rem; font-weight: 800; box-shadow: 0 2px 7px rgba(18,55,46,.05); transition: border-color .2s, box-shadow .2s, transform .2s; }
.fm-google-pending-button:hover { border-color: #aebdb8; box-shadow: 0 5px 15px rgba(18,55,46,.09); transform: translateY(-1px); }
.fm-google-pending-button::before { content: 'G'; color: #4285f4; font-family: Arial, sans-serif; font-size: 1.15rem; font-weight: 850; }
.fm-google-pending-message { display: block; margin-top: 9px; color: #7b6451; font-size: .63rem; line-height: 1.45; }
.fm-google-pending-message[hidden] { display: none; }
.woocommerce-account #customer_login { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.woocommerce-account #customer_login::before, .woocommerce-account #customer_login::after { display: none; }
.woocommerce-account #customer_login .u-column1, .woocommerce-account #customer_login .u-column2 { float: none; width: auto; padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 20px; }
.woocommerce-account #customer_login h2 { margin: 0 0 22px; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.045em; }
.woocommerce-account form.login, .woocommerce-account form.register { margin: 0; padding: 0; border: 0; }
.woocommerce-account form.login .form-row, .woocommerce-account form.register .form-row { display: block; float: none; width: 100%; margin-bottom: 16px; padding: 0; }
.woocommerce-account form.login label, .woocommerce-account form.register label { margin-bottom: 6px; color: var(--ink); font-size: .72rem; font-weight: 750; }
.woocommerce-account form.login input.input-text, .woocommerce-account form.register input.input-text { width: 100%; }
.woocommerce-account form.login .woocommerce-form-login__submit, .woocommerce-account form.register .woocommerce-form-register__submit { display: block; width: 100%; margin: 14px 0 0; }
.woocommerce-account form.login .lost_password { margin: 17px 0 0; font-size: .72rem; }
.woocommerce-account form.login .lost_password a { color: var(--teal); font-weight: 750; }
.woocommerce-account .woocommerce-form-login__rememberme { margin-right: 12px; font-size: .72rem; }
.wc-block-components-button:not(.is-link) { color: #fff; background: var(--teal); border-radius: 99px; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input { border-color: #d6e1de !important; border-radius: 9px !important; }
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .985); box-shadow: 0 10px 32px rgba(6, 72, 67, .1); }
.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal-ready.is-revealed { opacity: 1; transform: none; }

@media (max-width: 900px) {
    body.admin-bar .site-header { top: 0; }
    .woocommerce ul.products, .woocommerce div.product .related ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .woocommerce div.product { grid-template-columns: 1fr; }
    .fm-product .reviews-section { grid-template-columns: 1fr; gap: 25px; }
    .fm-product .reviews-section__heading { position: static; }
    .account-admin-banner { align-items: flex-start; flex-direction: column; }
    .account-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .farmacia-auth-intro { grid-template-columns: 1fr; }
    .publication-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    body.admin-bar .site-header { top: 0; }
    .woocommerce ul.products, .woocommerce div.product .related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .woocommerce div.product .woocommerce-tabs { padding: 26px 18px; }
    .single-product .woocommerce-shell { padding-top: 18px; padding-bottom: 55px; }
    .fm-product .woocommerce-product-gallery:has(.flex-control-thumbs) { grid-template-areas: 'main' 'thumbs'; grid-template-columns: 1fr; gap: 12px; }
    .fm-product .woocommerce-product-gallery__wrapper, .fm-product .woocommerce-product-gallery .flex-viewport { border-radius: 18px; }
    .fm-product .woocommerce-product-gallery .flex-control-thumbs { width: 100%; overflow-x: auto !important; overflow-y: hidden !important; grid-auto-columns: 86px; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: 86px; padding: 4px 2px 8px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .fm-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar { display: none; }
    .fm-product .woocommerce-product-gallery .flex-control-thumbs li { padding: 4px; scroll-snap-align: start; }
    .fm-product .product-gallery { width: 100%; max-width: 430px; }
    .fm-product .product-info h1 { font-size: 1.95rem; }
    .woocommerce .fm-product .product-buy-box form.cart:not(.variations_form):not(.grouped_form), .woocommerce .fm-product .woocommerce-variation-add-to-cart { grid-template-columns: minmax(0, 1fr) 105px; }
    .woocommerce .fm-product .product-buy-box .quantity { width: 105px; grid-template-columns: 30px minmax(0, 1fr) 30px; }
    .fm-product .product-content { padding: 24px 20px; }
    .fm-product .reviews-section__content { padding: 21px 18px; }
    .woocommerce-cart table.cart td.actions .coupon { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
    .woocommerce-cart table.cart td.actions .coupon .input-text { width: 100%; }
    .farmacia-auth-intro { padding: 30px 23px; border-radius: 20px; }
    .farmacia-auth-intro h2 { font-size: 2.45rem; }
    .woocommerce-account #customer_login { grid-template-columns: 1fr; }
    .woocommerce-account #customer_login .u-column1, .woocommerce-account #customer_login .u-column2 { padding: 25px 21px; }
    .woocommerce-account .woocommerce-Addresses { grid-template-columns: 1fr; }
    .account-welcome { align-items: flex-start; flex-direction: column; }
    .account-welcome__identity { align-items: flex-start; }
    .account-shortcuts { grid-template-columns: 1fr; }
    .account-shortcut { min-height: 135px; }
    .account-order { grid-template-columns: 1fr auto; gap: 10px; }
    .account-order > strong { grid-column: 1 / -1; }
    .publication-grid { padding-top: 38px; grid-template-columns: 1fr; }
    .publication-hero { padding: 55px 0 85px; }
    .publication-hero__inner > a { margin-bottom: 34px; }
    .publication-hero h1 { font-size: 3.35rem; }
    .publication-content { margin-top: -45px; }
    .publication-featured { margin-bottom: 38px; border-width: 6px; border-radius: 20px; }
    .publication-body { width: calc(100% - 18px); }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-ready { opacity: 1; transform: none; transition: none; }
}

/* Checkout WooCommerce: envío, facturación y pago */
.woocommerce-checkout .content-page { width: 100%; max-width: none; padding: 0 0 80px; }
.fm-checkout-hero { margin-top: 26px; padding: clamp(25px, 4vw, 44px); background: linear-gradient(135deg, #f0faf5 0%, #f7fbfd 58%, #eef8fc 100%); border: 1px solid #d5e8de; border-radius: 24px; }
.fm-checkout-back { display: inline-flex; margin-bottom: 25px; color: var(--teal-dark); font-size: .7rem; font-weight: 850; }
.fm-checkout-back:hover { color: var(--secondary-dark); }
.fm-checkout-hero__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.fm-checkout-hero .eyebrow { color: var(--teal); }
.fm-checkout-hero h1 { margin: 5px 0 8px; font-size: clamp(2.5rem, 5vw, 4.35rem); line-height: .95; letter-spacing: -.07em; }
.fm-checkout-hero__heading > div:first-child > p { margin: 0; color: var(--muted); font-size: .8rem; }
.fm-checkout-security { display: grid; min-width: 245px; padding: 14px 16px; grid-template-columns: 34px 1fr; column-gap: 10px; background: rgba(255,255,255,.78); border: 1px solid rgba(var(--primary-rgb),.14); border-radius: 14px; }
.fm-checkout-security > span { display: grid; width: 34px; height: 34px; grid-row: 1 / 3; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.fm-checkout-security strong { align-self: end; font-size: .72rem; }
.fm-checkout-security small { color: var(--muted); font-size: .59rem; }
.fm-checkout-steps { display: grid; margin: 34px 0 0; padding: 0; grid-template-columns: repeat(3, 1fr); list-style: none; }
.fm-checkout-steps li { position: relative; display: flex; align-items: center; gap: 11px; color: #82908a; }
.fm-checkout-steps li:not(:last-child)::after { position: absolute; top: 18px; right: 18px; left: 50px; height: 2px; content: ''; background: #d8e5de; }
.fm-checkout-steps li > span { z-index: 1; display: grid; width: 36px; height: 36px; flex: none; place-items: center; background: #fff; border: 1px solid #cadad1; border-radius: 50%; font-size: .68rem; font-weight: 900; }
.fm-checkout-steps li > div { z-index: 1; padding-right: 15px; background: linear-gradient(90deg, transparent, #f4faf7 20%); }
.fm-checkout-steps strong, .fm-checkout-steps small { display: block; }
.fm-checkout-steps strong { color: var(--ink); font-size: .71rem; }
.fm-checkout-steps small { margin-top: 2px; font-size: .59rem; }
.fm-checkout-steps li.is-current > span, .fm-checkout-steps li.is-complete > span { color: #fff; background: var(--teal); border-color: var(--teal); box-shadow: 0 5px 14px rgba(var(--primary-rgb),.2); }
.fm-checkout-steps li.is-complete > span { font-size: 0; }
.fm-checkout-steps li.is-complete > span::before { content: '\2713'; font-size: .72rem; }
.fm-checkout { padding-top: 28px; }
.fm-checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: clamp(22px, 4vw, 45px); }
.fm-checkout-main { display: grid; gap: 18px; }
.fm-checkout-card { padding: clamp(22px, 3.4vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 7px 24px rgba(18,68,37,.045); transition: border-color .2s ease, box-shadow .2s ease; }
.fm-checkout-card:focus-within { border-color: rgba(var(--primary-rgb),.45); box-shadow: 0 12px 32px rgba(var(--primary-rgb),.07); }
.fm-checkout-card__header { display: grid; margin-bottom: 27px; grid-template-columns: 36px minmax(0, 1fr); gap: 13px; }
.fm-checkout-card__number { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; background: var(--teal); border-radius: 11px; font-size: .72rem; font-weight: 900; box-shadow: 0 6px 15px rgba(var(--primary-rgb),.17); }
.fm-checkout-card__header > div > span { display: block; margin-bottom: 4px; color: var(--teal); font-size: .58rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.fm-checkout-card__header h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.1; letter-spacing: -.035em; }
.fm-checkout-card__header p { margin: 7px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.55; }
.fm-checkout-saved { display: flex; margin: -7px 0 23px; padding: 12px 14px; align-items: center; gap: 11px; color: #155f42; background: #edf9f2; border: 1px solid #c7e8d5; border-radius: 12px; }
.fm-checkout-saved > span { display: grid; width: 25px; height: 25px; flex: none; place-items: center; color: #fff; background: #27895f; border-radius: 50%; font-size: .6rem; font-weight: 900; }
.fm-checkout-saved p, .fm-checkout-saved strong, .fm-checkout-saved small { display: block; margin: 0; }
.fm-checkout-saved strong { font-size: .68rem; }
.fm-checkout-saved small { margin-top: 2px; color: #56806b; font-size: .6rem; }
.fm-checkout-address-picker { display: grid; margin: -7px 0 22px; padding: 15px; grid-template-columns: minmax(0,1fr) minmax(240px,1.2fr); align-items: center; gap: 5px 16px; background: linear-gradient(120deg,#f4faf7,#f1f8fc); border: 1px solid #d8e8e1; border-radius: 13px; }
.fm-checkout-address-picker label { color: #244e44; font-size: .69rem; font-weight: 850; }
.fm-checkout-address-picker select { width: 100%; min-height: 44px; padding: 0 12px; color: var(--ink); background: #fff; border: 1px solid #c8dcd3; border-radius: 10px; outline: 0; font-size: .7rem; }
.fm-checkout-address-picker select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.09); }
.fm-checkout-address-picker small { grid-column: 2; color: var(--muted); font-size: .57rem; }
.fm-checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.woocommerce .fm-checkout-fields .form-row { float: none; width: auto; margin: 0; padding: 0; }
.woocommerce .fm-checkout-fields .form-row-wide, .fm-checkout-fields #billing_country_field, .fm-checkout-fields #billing_address_1_field, .fm-checkout-fields #billing_address_2_field, .fm-checkout-fields #billing_email_field, .fm-checkout-fields #billing_company_field { grid-column: 1 / -1; }
.woocommerce .fm-checkout-fields label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .67rem; font-weight: 800; }
.woocommerce .fm-checkout-fields .required { color: var(--teal); text-decoration: none; }
.woocommerce .fm-checkout-fields :is(input.input-text, select) { width: 100%; min-height: 47px; padding: 0 13px; color: var(--ink); background: #fff; border: 1px solid #cfddd5; outline: none; border-radius: 10px; box-shadow: none; font-size: .73rem; transition: border-color .15s ease, box-shadow .15s ease; }
.woocommerce .fm-checkout-fields :is(input.input-text, select):focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.1); }
.woocommerce .fm-checkout-fields .woocommerce-invalid :is(input.input-text, select) { border-color: #c75a4b; box-shadow: 0 0 0 3px rgba(199,90,75,.08); }
.woocommerce .fm-checkout-fields .select2-container .select2-selection--single { height: 47px; border-color: #cfddd5; border-radius: 10px; }
.woocommerce .fm-checkout-fields .select2-container .select2-selection--single .select2-selection__rendered { padding: 9px 36px 9px 13px; color: var(--ink); font-size: .73rem; line-height: 27px; }
.woocommerce .fm-checkout-fields .select2-container .select2-selection--single .select2-selection__arrow { height: 45px; right: 8px; }
.fm-shipping-methods { margin-top: 25px; padding: 18px; background: #f6faf8; border: 1px solid #dce9e1; border-radius: 14px; }
.fm-shipping-methods__heading { display: flex; margin-bottom: 13px; align-items: center; gap: 10px; }
.fm-shipping-methods__heading > span { display: grid; width: 32px; height: 32px; flex: none; place-items: center; color: var(--teal-dark); background: var(--teal-soft); border-radius: 9px; }
.fm-shipping-methods__heading strong, .fm-shipping-methods__heading small { display: block; }
.fm-shipping-methods__heading strong { font-size: .72rem; }
.fm-shipping-methods__heading small { margin-top: 2px; color: var(--muted); font-size: .6rem; }
.fm-shipping-placeholder { margin: 0; padding: 11px 13px; color: var(--muted); background: #fff; border: 1px dashed #c9d9d0; border-radius: 9px; font-size: .65rem; }
.fm-shipping-options-table { width: 100%; border: 0 !important; border-radius: 0 !important; }
.woocommerce .fm-shipping-options-table th, .woocommerce .fm-shipping-options-table td { display: block; padding: 0; border: 0; text-align: left; }
.woocommerce .fm-shipping-options-table th { margin-bottom: 7px; color: var(--muted); font-size: .62rem; }
.woocommerce .fm-shipping-options-table ul#shipping_method { display: grid; gap: 8px; margin: 0; }
.woocommerce .fm-shipping-options-table ul#shipping_method li { position: relative; margin: 0; }
.woocommerce .fm-shipping-options-table ul#shipping_method input { position: absolute; top: 16px; left: 14px; margin: 0; accent-color: var(--teal); }
.woocommerce .fm-shipping-options-table ul#shipping_method label { display: block; padding: 13px 13px 13px 40px; background: #fff; border: 1px solid #cfddd5; border-radius: 10px; cursor: pointer; font-size: .68rem; font-weight: 750; }
.woocommerce .fm-shipping-options-table ul#shipping_method input:checked + label { color: var(--teal-dark); background: #eff9f4; border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.fm-checkout .woocommerce-shipping-fields { margin-top: 16px; }
.fm-checkout #ship-to-different-address { margin: 0; font-size: .7rem; }
.fm-checkout #ship-to-different-address label, .fm-checkout-account > label { display: flex; padding: 12px 14px; align-items: center; gap: 9px; background: #f7f9f8; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 750; }
.fm-checkout :is(#ship-to-different-address, .fm-checkout-account) input[type="checkbox"] { width: 17px; height: 17px; flex: none; accent-color: var(--teal); }
.fm-checkout .shipping_address { margin-top: 14px; padding: 18px; background: #f8faf9; border: 1px solid var(--line); border-radius: 12px; }
.fm-checkout .shipping_address .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.fm-checkout .shipping_address .form-row { float: none; width: auto; margin: 0; padding: 0; }
.fm-checkout .shipping_address .form-row-wide { grid-column: 1 / -1; }
.fm-checkout .woocommerce-additional-fields { margin-top: 17px; }
.fm-checkout .woocommerce-additional-fields h3 { margin: 0 0 8px; font-size: .76rem; }
.fm-checkout .woocommerce-additional-fields .form-row { margin: 0; padding: 0; }
.fm-checkout .woocommerce-additional-fields textarea { min-height: 82px; }
.fm-invoice-address-choice { margin-top: 22px; padding: 16px; background: #f7faf9; border: 1px solid #dce8e2; border-radius: 14px; }
.fm-invoice-address-default { display: flex; align-items: center; gap: 11px; }
.fm-invoice-address-default > span { display: grid; width: 29px; height: 29px; flex: none; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: .62rem; font-weight: 900; }
.fm-invoice-address-default p, .fm-invoice-address-default strong, .fm-invoice-address-default small, .fm-invoice-address-toggle strong, .fm-invoice-address-toggle small { display: block; margin: 0; }
.fm-invoice-address-default strong, .fm-invoice-address-toggle strong { font-size: .69rem; }
.fm-invoice-address-default small, .fm-invoice-address-toggle small { margin-top: 3px; color: var(--muted); font-size: .58rem; line-height: 1.4; }
.fm-invoice-address-toggle { display: flex; margin-top: 14px; padding: 13px; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid #d5e2dc; border-radius: 11px; cursor: pointer; }
.fm-invoice-address-toggle input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.fm-invoice-address-fields { display: grid; margin-top: 14px; padding-top: 16px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; border-top: 1px solid #dce8e2; }
.fm-invoice-address-fields[hidden] { display: none; }
.woocommerce .fm-invoice-address-fields .form-row { display: flex; float: none; width: auto; margin: 0; padding: 0; flex-direction: column; }
.woocommerce .fm-invoice-address-fields .form-row-wide { grid-column: 1 / -1; }
.woocommerce .fm-invoice-address-fields label { margin-bottom: 7px; color: var(--ink); font-size: .66rem; font-weight: 800; }
.woocommerce .fm-invoice-address-fields :is(input.input-text,select) { width: 100%; min-height: 45px; padding: 0 12px; color: var(--ink); background: #fff; border: 1px solid #cfddd5; border-radius: 10px; outline: 0; font-size: .71rem; }
.woocommerce .fm-invoice-address-fields :is(input.input-text,select):focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.09); }
.fm-checkout-account { margin-top: 22px; }
.fm-checkout-account .create-account { margin-top: 14px; }
.fm-checkout-summary { position: sticky; top: 152px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 38px rgba(18,68,37,.07); }
.fm-checkout-summary__heading { display: flex; margin-bottom: 18px; align-items: flex-end; justify-content: space-between; gap: 15px; }
.fm-checkout-summary__heading span { display: block; color: var(--teal); font-size: .57rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.fm-checkout-summary__heading h2 { margin: 4px 0 0; font-size: 1.35rem; letter-spacing: -.04em; }
.fm-checkout-summary__heading a { flex: none; color: var(--teal); font-size: .62rem; font-weight: 850; text-decoration: underline; }
.woocommerce .fm-checkout-summary table.shop_table { margin: 0; border: 0; border-radius: 0; }
.woocommerce .fm-checkout-summary table.shop_table thead { display: none; }
.woocommerce .fm-checkout-summary table.shop_table th, .woocommerce .fm-checkout-summary table.shop_table td { padding: 12px 0; border-color: var(--line); font-size: .67rem; }
.woocommerce .fm-checkout-summary table.shop_table .product-name { padding-right: 13px; color: var(--ink); line-height: 1.45; }
.woocommerce .fm-checkout-summary table.shop_table .product-total { color: var(--ink); font-weight: 800; text-align: right; white-space: nowrap; }
.woocommerce .fm-checkout-summary table.shop_table .product-quantity { color: var(--muted); font-size: .61rem; }
.woocommerce .fm-checkout-summary table.shop_table tfoot th { color: var(--muted); font-weight: 650; }
.woocommerce .fm-checkout-summary table.shop_table .fm-summary-shipping th, .woocommerce .fm-checkout-summary table.shop_table .fm-summary-shipping td { padding-top: 11px; padding-bottom: 11px; color: var(--ink); }
.woocommerce .fm-checkout-summary table.shop_table .fm-summary-shipping td { color: var(--teal-dark); font-weight: 850; text-align: right; }
.fm-summary-shipping__method { display: block; max-width: 150px; margin-top: 3px; color: var(--muted); font-size: .56rem; font-weight: 650; line-height: 1.35; }
.fm-summary-shipping__method[hidden] { display: none; }
.woocommerce .fm-checkout-summary table.shop_table.is-awaiting-shipping-confirmation .fm-summary-shipping td { color: var(--muted); font-size: .62rem; font-weight: 700; }
.woocommerce .fm-checkout-summary table.shop_table .fm-summary-shipping td, .woocommerce .fm-checkout-summary table.shop_table .order-total td { transition: color .2s ease, opacity .2s ease; }
.fm-summary-shipping__free { color: #27895f; font-size: .67rem; }
.woocommerce .fm-checkout-summary table.shop_table .order-total th, .woocommerce .fm-checkout-summary table.shop_table .order-total td { padding-top: 17px; color: var(--ink); font-size: .77rem; }
.woocommerce .fm-checkout-summary table.shop_table .order-total .amount { color: var(--teal-dark); font-size: 1.2rem; }
.fm-checkout-trust { display: flex; margin-top: 18px; padding: 12px; align-items: center; gap: 10px; background: #f3f9f6; border-radius: 11px; }
.fm-checkout-trust > span { display: grid; width: 26px; height: 26px; flex: none; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: .59rem; }
.fm-checkout-trust p, .fm-checkout-trust strong, .fm-checkout-trust small { display: block; margin: 0; }
.fm-checkout-trust strong { font-size: .64rem; }
.fm-checkout-trust small { margin-top: 2px; color: var(--muted); font-size: .57rem; line-height: 1.35; }
.woocommerce .fm-checkout-card #payment { background: transparent; border-radius: 0; }
.woocommerce .fm-checkout-card #payment ul.payment_methods { display: grid; margin: 0; padding: 0; gap: 10px; border: 0; }
.woocommerce .fm-checkout-card #payment ul.payment_methods > li { position: relative; margin: 0; padding: 15px 16px; background: #fff; border: 1px solid #d4e0d9; border-radius: 13px; list-style: none; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.woocommerce .fm-checkout-card #payment ul.payment_methods > li:has(input:checked) { background: #f0faf5; border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.woocommerce .fm-checkout-card #payment ul.payment_methods > li > input { margin: 3px 8px 0 0; accent-color: var(--teal); }
.woocommerce .fm-checkout-card #payment ul.payment_methods > li > label { color: var(--ink); font-size: .75rem; font-weight: 850; cursor: pointer; }
.woocommerce .fm-checkout-card #payment ul.payment_methods > li > label img { max-height: 27px; width: auto; margin-left: 8px; vertical-align: middle; }
.woocommerce .fm-checkout-card #payment div.payment_box { margin: 13px 0 0; padding: 13px 14px; color: var(--muted); background: #fff; border: 1px solid #dbe5df; border-radius: 9px; font-size: .66rem; line-height: 1.55; }
.woocommerce .fm-checkout-card #payment div.payment_box::before { display: none; }
.fm-payment-pending { display: grid; grid-template-columns: 17px 43px minmax(0, 1fr) auto; align-items: center; gap: 10px; opacity: .62; }
.fm-payment-pending__radio { width: 14px; height: 14px; border: 1px solid #82928a; border-radius: 50%; }
.fm-payment-brand { display: grid; min-height: 31px; padding: 4px; place-items: center; color: var(--teal-dark); background: var(--teal-soft); border-radius: 7px; font-size: .57rem; font-weight: 900; }
.fm-payment-pending--mp .fm-payment-brand { color: #084b73; background: #dff3ff; }
.fm-payment-pending--modo .fm-payment-brand { color: #4e237f; background: #eee4ff; font-size: .49rem; }
.fm-payment-pending p, .fm-payment-pending strong, .fm-payment-pending small { display: block; margin: 0; }
.fm-payment-pending strong { font-size: .7rem; }
.fm-payment-pending small { margin-top: 3px; color: var(--muted); font-size: .59rem; }
.fm-payment-pending em { padding: 5px 8px; color: #755d2a; background: #fff5dc; border-radius: 99px; font-size: .54rem; font-style: normal; font-weight: 850; white-space: nowrap; }
.woocommerce .fm-checkout-card #payment .place-order { margin: 22px 0 0; padding: 0; }
.woocommerce .fm-checkout-card #payment .woocommerce-privacy-policy-text { color: var(--muted); font-size: .61rem; line-height: 1.5; }
.woocommerce .fm-checkout-card #payment .woocommerce-privacy-policy-text a, .woocommerce .fm-checkout-card #payment .woocommerce-terms-and-conditions-link { color: var(--teal); font-weight: 750; }
.woocommerce .fm-checkout-card #payment .validate-required label { font-size: .65rem; line-height: 1.45; }
.woocommerce .fm-checkout-card #payment #place_order.fm-place-order { display: flex; width: 100%; min-height: 58px; margin-top: 14px; padding: 10px 22px; align-items: center; justify-content: center; flex-direction: column; color: #fff; background: var(--teal); border: 0; border-radius: 99px; box-shadow: 0 9px 23px rgba(var(--primary-rgb),.22); }
.woocommerce .fm-checkout-card #payment #place_order.fm-place-order:hover { background: var(--teal-dark); transform: translateY(-1px); }
.woocommerce .fm-checkout-card #payment #place_order.fm-place-order span { font-size: .76rem; font-weight: 900; }
.woocommerce .fm-checkout-card #payment #place_order.fm-place-order small { margin-top: 3px; color: rgba(255,255,255,.75); font-size: .54rem; font-weight: 600; text-transform: none; }
.woocommerce .fm-checkout-card #payment.processing::after { position: absolute; inset: 0; content: ''; background: rgba(255,255,255,.55); border-radius: 16px; cursor: wait; }
.woocommerce .fm-checkout-card #payment.processing { position: relative; }
.woocommerce-checkout .woocommerce-form-login-toggle, .woocommerce-checkout .woocommerce-form-coupon-toggle { width: min(1180px, calc(100% - 40px)); margin: 18px auto 0; }
.woocommerce-checkout form.login, .woocommerce-checkout form.checkout_coupon { width: min(1180px, calc(100% - 40px)); margin: 12px auto 0; padding: 20px; border-color: var(--line); border-radius: 14px; }
.woocommerce-checkout .blockUI.blockOverlay { background: rgba(255,255,255,.55) !important; opacity: 1 !important; }

/* Checkout por pantallas: una tarea clara por vez. */
.fm-checkout-hero { margin-top: 14px; padding: 18px 24px; border-radius: 18px; }
.fm-checkout-back { margin-bottom: 11px; }
.fm-checkout-hero__heading { align-items: center; }
.fm-checkout-hero h1 { margin: 3px 0 5px; font-size: clamp(2.15rem, 4vw, 3.15rem); }
.fm-checkout-hero__heading > div:first-child > p { font-size: .7rem; }
.fm-checkout-security { min-width: 215px; padding: 10px 12px; grid-template-columns: 29px 1fr; }
.fm-checkout-security > span { width: 29px; height: 29px; }
.fm-checkout-steps { margin-top: 17px; }
.fm-checkout-steps li { display: block; }
.fm-checkout-steps li:not(:last-child)::after { top: 16px; left: 43px; }
.fm-checkout-steps button { position: relative; z-index: 1; display: flex; padding: 0; align-items: center; gap: 9px; color: #82908a; background: transparent; border: 0; cursor: pointer; text-align: left; }
.fm-checkout-steps button > span:first-child { display: grid; width: 32px; height: 32px; flex: none; place-items: center; color: #718078; background: #fff; border: 1px solid #cadad1; border-radius: 50%; font-size: .64rem; font-weight: 900; }
.fm-checkout-steps button > span:last-child { padding-right: 13px; background: linear-gradient(90deg, transparent, #f4faf7 20%); }
.fm-checkout-steps li.is-current button > span:first-child, .fm-checkout-steps li.is-complete button > span:first-child { color: #fff; background: var(--teal); border-color: var(--teal); box-shadow: 0 5px 14px rgba(var(--primary-rgb),.2); }
.fm-checkout-steps li.is-complete button > span:first-child { font-size: 0; }
.fm-checkout-steps li.is-complete button > span:first-child::before { content: '\2713'; font-size: .7rem; }
.fm-checkout-steps li:not(.is-current):not(.is-complete) button { cursor: default; }
.has-js .fm-checkout-card[data-checkout-section] { display: none; }
.has-js .fm-checkout-card[data-checkout-section].is-active { display: block; animation: fm-checkout-step-in .24s ease both; }
@keyframes fm-checkout-step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.woocommerce .fm-checkout-fields .form-row { display: flex !important; align-items: stretch; flex-direction: column; }
.woocommerce .fm-checkout-fields .woocommerce-input-wrapper { display: block; width: 100%; }
.woocommerce .fm-checkout-fields label { width: 100%; text-align: left; }
.woocommerce .fm-checkout-fields #billing_address_1_field, .woocommerce .fm-checkout-fields #billing_number_field, .woocommerce .fm-checkout-fields #billing_floor_field, .woocommerce .fm-checkout-fields #billing_apartment_field, .woocommerce .fm-checkout-fields #billing_postcode_field, .woocommerce .fm-checkout-fields #billing_state_field { grid-column: auto; }
.woocommerce .fm-checkout-fields #billing_between_streets_field, .woocommerce .fm-checkout-fields #billing_city_field { grid-column: 1 / -1; }
.fm-delivery-notes { margin-top: 14px !important; }
.fm-delivery-notes label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .67rem; font-weight: 800; }
.fm-delivery-notes textarea { width: 100%; min-height: 82px !important; padding: 11px 13px !important; }
.fm-checkout-navigation { display: flex; margin-top: 26px; padding-top: 20px; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); }
.fm-checkout-navigation > span { color: var(--muted); font-size: .62rem; font-weight: 750; }
.fm-checkout-navigation .primary-button { display: inline-flex; min-height: 44px; padding-inline: 20px; align-items: center; gap: 9px; border: 0; cursor: pointer; }
.fm-checkout-previous { padding: 7px 0; color: var(--teal-dark); background: transparent; border: 0; cursor: pointer; font-size: .67rem; font-weight: 850; }
.fm-checkout-previous:hover { color: var(--secondary-dark); }
.fm-checkout-previous--payment { margin: -7px 0 17px; }
.fm-checkout-card.has-step-errors { border-color: #d88476; box-shadow: 0 0 0 3px rgba(199,90,75,.08); }
.fm-checkout-card.has-step-errors .fm-checkout-card__header p { color: #a64e42; }

@media (max-width: 980px) {
    .fm-checkout-layout { grid-template-columns: 1fr; }
    .fm-checkout-summary { position: static; grid-row: 1; }
    .fm-checkout-main { grid-row: 2; }
	.fm-address-grid--delivery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
    .woocommerce-checkout .content-page { padding-bottom: 50px; }
    .fm-checkout-hero { width: calc(100% - 24px); margin-top: 10px; padding: 16px 17px; border-radius: 16px; }
    .fm-checkout-hero__heading { align-items: flex-start; flex-direction: column; }
    .fm-checkout-security { display: none; }
    .fm-checkout-hero h1 { font-size: 2.25rem; }
    .fm-checkout-steps { margin-top: 18px; }
    .fm-checkout-steps li { gap: 6px; }
    .fm-checkout-steps li:not(:last-child)::after { right: 8px; left: 37px; }
    .fm-checkout-steps button { gap: 5px; }
    .fm-checkout-steps button > span:first-child { width: 31px; height: 31px; }
    .fm-checkout-steps button > span:last-child { padding-right: 5px; }
    .fm-checkout-steps small { display: none; }
    .fm-checkout { width: calc(100% - 24px); padding-top: 14px; }
    .fm-checkout-layout { gap: 12px; }
    .fm-checkout-summary, .fm-checkout-card { padding: 20px 17px; border-radius: 16px; }
    .fm-checkout-fields, .fm-checkout .shipping_address .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; gap: 12px; }
    .woocommerce .fm-checkout-fields .form-row, .woocommerce .fm-checkout-fields .form-row-wide, .fm-checkout .shipping_address .form-row, .fm-checkout .shipping_address .form-row-wide { grid-column: 1; }
    .fm-checkout-card__header { margin-bottom: 23px; }
    .fm-checkout-card__header h2 { font-size: 1.45rem; }
    .fm-checkout-saved { align-items: flex-start; }
	.fm-checkout-address-picker { grid-template-columns: 1fr; }
	.fm-checkout-address-picker small { grid-column: auto; }
	.fm-invoice-address-fields { grid-template-columns: 1fr; }
	.woocommerce .fm-invoice-address-fields .form-row, .woocommerce .fm-invoice-address-fields .form-row-wide { grid-column: 1; }
    .fm-shipping-methods { padding: 15px 13px; }
    .fm-payment-pending { grid-template-columns: 17px 38px minmax(0, 1fr); }
    .fm-payment-pending em { display: none; }
    .fm-checkout-summary__heading h2 { font-size: 1.2rem; }
    .fm-checkout-navigation { align-items: stretch; flex-direction: column-reverse; }
    .fm-checkout-navigation .primary-button { width: 100%; justify-content: center; }
    .fm-checkout-navigation > span { text-align: center; }
    .fm-checkout-previous { align-self: center; }
}

/* Confirmación, detalle y seguimiento del pedido */
.woocommerce-order-received .content-page { width: 100%; max-width: none; padding: 22px 0 85px; }
.fm-thankyou.shell { width: min(1180px, calc(100% - 40px)); }
.fm-thankyou-hero { display: grid; padding: clamp(24px, 4vw, 40px); grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 20px; color: #fff; background: linear-gradient(135deg, var(--teal-dark), var(--teal) 65%, var(--secondary-dark)); border-radius: 24px; box-shadow: 0 18px 45px rgba(var(--primary-rgb),.16); }
.fm-thankyou-hero__check { display: grid; width: 58px; height: 58px; place-items: center; color: var(--teal-dark); background: #fff; border-radius: 50%; font-size: 1.35rem; font-weight: 950; }
.fm-thankyou-hero__copy > span { color: #c9ebfd; font-size: .63rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.fm-thankyou-hero h1 { margin: 5px 0 7px; color: #fff; font-size: clamp(2.25rem, 4.5vw, 3.8rem); line-height: .95; letter-spacing: -.065em; }
.fm-thankyou-hero p { margin: 0; color: rgba(255,255,255,.78); font-size: .74rem; line-height: 1.55; }
.fm-thankyou-status { padding: 8px 12px; color: var(--teal-dark); background: #fff; border-radius: 99px; font-size: .64rem; white-space: nowrap; }
.fm-order-overview { display: grid; margin: 16px 0; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.fm-order-overview article { display: flex; min-height: 84px; padding: 17px; justify-content: center; flex-direction: column; border-right: 1px solid var(--line); }
.fm-order-overview article:last-child { border: 0; }
.fm-order-overview span { color: var(--muted); font-size: .58rem; font-weight: 750; text-transform: uppercase; }
.fm-order-overview strong { margin-top: 5px; color: var(--ink); font-size: .74rem; line-height: 1.35; }
.fm-thankyou-message { display: flex; padding: 13px 16px; align-items: center; gap: 11px; color: #155f42; background: #edf9f2; border: 1px solid #c7e8d5; border-radius: 12px; }
.fm-thankyou-message > span { display: grid; width: 28px; height: 28px; flex: none; place-items: center; background: #fff; border-radius: 50%; }
.fm-thankyou-message p, .fm-thankyou-message strong, .fm-thankyou-message small { display: block; margin: 0; }
.fm-thankyou-message strong { font-size: .68rem; }
.fm-thankyou-message small { margin-top: 3px; color: #56806b; font-size: .6rem; }
.fm-thankyou-transfer { margin: 18px 0; padding: clamp(20px, 3vw, 30px); background: #f4fbf7; border: 2px solid #159447; border-radius: 18px; }
.fm-thankyou-transfer__heading, .fm-thankyou-transfer__proof { display: flex; align-items: flex-start; gap: 14px; }
.fm-thankyou-transfer__heading > span, .fm-thankyou-transfer__proof > span { display: grid; width: 30px; height: 30px; flex: none; place-items: center; color: #fff; background: #159447; border-radius: 50%; font-size: .72rem; font-weight: 850; }
.fm-thankyou-transfer h2, .fm-thankyou-transfer h3 { margin: 0 0 7px; color: #17312c; font-size: 1.25rem; line-height: 1.25; }
.fm-thankyou-transfer h3 { font-size: 1rem; }
.fm-thankyou-transfer p { margin: 0; color: #526b65; font-size: .72rem; line-height: 1.6; }
.fm-thankyou-transfer__details { display: grid; margin: 20px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fm-thankyou-transfer__details > div { min-width: 0; padding: 12px 15px; background: #fff; border: 1px solid #d5e9dc; border-radius: 10px; }
.fm-thankyou-transfer__details span, .fm-thankyou-transfer__details strong { display: block; }
.fm-thankyou-transfer__details span { margin-bottom: 4px; color: #58716a; font-size: .58rem; font-weight: 750; text-transform: uppercase; }
.fm-thankyou-transfer__details strong { overflow-wrap: anywhere; color: #17312c; font-size: .78rem; }
.fm-thankyou-transfer__links { display: flex; margin-top: 12px; flex-wrap: wrap; gap: 10px; }
.fm-thankyou-transfer__links a { display: inline-flex; min-height: 40px; padding: 9px 15px; align-items: center; color: #fff; background: #159447; border-radius: 8px; font-size: .67rem; font-weight: 800; text-decoration: none; }
.fm-thankyou-transfer__links a:first-child { color: #08763a; background: #fff; border: 1px solid #159447; }
.fm-thankyou-actions { display: flex; margin: 18px 0 30px; align-items: center; gap: 22px; }
.fm-thankyou-actions .primary-button { display: inline-flex; min-height: 43px; align-items: center; }
.fm-thankyou-actions > a:last-child { color: var(--teal); font-size: .68rem; font-weight: 850; text-decoration: underline; }
.fm-thankyou-error { padding: 55px 28px; text-align: center; background: #fff7f5; border: 1px solid #efc9c2; border-radius: 22px; }
.fm-thankyou-error > span { display: grid; width: 55px; height: 55px; margin: 0 auto 16px; place-items: center; color: #fff; background: #bd5547; border-radius: 50%; font-size: 1.3rem; font-weight: 900; }
.fm-thankyou-error h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.fm-thankyou-error p { max-width: 620px; margin: 13px auto 22px; color: var(--muted); line-height: 1.6; }
.fm-thankyou-error > div { display: flex; justify-content: center; gap: 20px; }
.fm-order-details { margin-top: 24px; }
.fm-order-timeline { padding: clamp(22px, 3vw, 30px); background: #f7faf8; border: 1px solid var(--line); border-radius: 18px; }
.fm-order-timeline > header { display: flex; margin-bottom: 25px; align-items: flex-end; justify-content: space-between; gap: 20px; }
.fm-order-timeline > header span, .fm-order-details__heading span, .fm-order-delivery > span, .fm-order-totals > span { display: block; color: var(--teal); font-size: .57rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.fm-order-timeline > header h2 { margin: 4px 0 0; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.045em; }
.fm-order-timeline > header > strong, .fm-order-details__heading > strong { padding: 7px 11px; color: var(--teal-dark); background: var(--teal-soft); border-radius: 99px; font-size: .61rem; }
.fm-order-timeline ol { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(5, 1fr); list-style: none; }
.fm-order-timeline li { position: relative; display: flex; padding-right: 15px; align-items: flex-start; gap: 9px; color: #7d8a84; }
.fm-order-timeline li:not(:last-child)::after { position: absolute; top: 14px; right: 3px; left: 31px; height: 2px; content: ''; background: #d6e3dc; }
.fm-order-timeline li > span { z-index: 1; display: grid; width: 29px; height: 29px; flex: none; place-items: center; color: #78867f; background: #fff; border: 1px solid #c9d8d0; border-radius: 50%; font-size: .57rem; font-weight: 900; }
.fm-order-timeline li > div { z-index: 1; padding-right: 6px; background: #f7faf8; }
.fm-order-timeline li strong, .fm-order-timeline li small { display: block; }
.fm-order-timeline li strong { color: var(--ink); font-size: .63rem; line-height: 1.3; }
.fm-order-timeline li small { margin-top: 3px; font-size: .54rem; line-height: 1.4; }
.fm-order-timeline li.is-complete > span, .fm-order-timeline li.is-current > span { color: #fff; background: var(--teal); border-color: var(--teal); }
.fm-order-timeline li.is-complete:not(:last-child)::after { background: var(--teal); }
.fm-order-timeline li.is-current > span { box-shadow: 0 0 0 4px rgba(var(--primary-rgb),.12); }
.fm-order-details__heading { display: flex; margin-top: 16px; padding: 21px 24px; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 17px 17px 0 0; }
.fm-order-details__heading h2 { margin: 4px 0 0; font-size: 1.45rem; letter-spacing: -.04em; }
.fm-order-items { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 0 0 17px 17px; }
.fm-order-item { display: grid; min-height: 102px; padding: 16px 20px; grid-template-columns: 72px minmax(0, 1fr) 85px 115px; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); }
.fm-order-item:last-child { border: 0; }
.fm-order-item__image { display: grid; width: 72px; height: 72px; overflow: hidden; place-items: center; background: #f6f8f5; border-radius: 11px; }
.fm-order-item__image img { width: 100%; height: 100%; object-fit: contain; }
.fm-order-item__copy > span, .fm-order-item__quantity span, .fm-order-item__total span { display: block; color: var(--muted); font-size: .55rem; font-weight: 750; text-transform: uppercase; }
.fm-order-item__copy h3 { margin: 4px 0 0; font-size: .75rem; line-height: 1.4; }
.fm-order-item__copy h3 a { color: var(--ink); }
.fm-order-item__copy .wc-item-meta { margin: 4px 0 0; padding: 0; color: var(--muted); font-size: .58rem; list-style: none; }
.fm-order-item__quantity, .fm-order-item__total { text-align: right; }
.fm-order-item__quantity strong, .fm-order-item__total strong { display: block; margin-top: 5px; font-size: .72rem; }
.fm-order-details__grid { display: grid; margin-top: 16px; grid-template-columns: minmax(0, 1fr) minmax(310px, .7fr); gap: 16px; }
.fm-order-delivery, .fm-order-totals { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.fm-order-delivery h3, .fm-order-totals h3 { margin: 5px 0 15px; font-size: 1.15rem; }
.fm-order-delivery address { color: var(--ink); font-size: .7rem; font-style: normal; line-height: 1.7; }
.fm-order-delivery small { display: block; margin-top: 9px; color: var(--muted); font-size: .61rem; }
.fm-order-delivery p { margin: 13px 0 0; padding-top: 12px; color: var(--muted); border-top: 1px solid var(--line); font-size: .65rem; line-height: 1.5; }
.fm-order-totals dl { margin: 0; }
.fm-order-totals dl > div { display: flex; padding: 9px 0; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
.fm-order-totals dt { color: var(--muted); font-size: .65rem; }
.fm-order-totals dd { margin: 0; color: var(--ink); font-size: .68rem; font-weight: 800; text-align: right; }
.fm-order-totals dl > div:last-child :is(dt, dd) { color: var(--teal-dark); font-size: .8rem; }
.fm-order-actions { display: flex; margin-top: 15px; justify-content: flex-end; gap: 9px; }
.fm-order-actions .button { border-radius: 99px !important; }
.fm-thankyou .woocommerce-bacs-bank-details, .fm-thankyou .wc-bacs-bank-details-account-name { padding: 20px; background: #fffaf0; border: 1px solid #ecd9b5; border-radius: 14px; }

@media (max-width: 820px) {
    .fm-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fm-order-overview article:nth-child(2) { border-right: 0; }
    .fm-order-overview article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .fm-order-timeline ol { grid-template-columns: 1fr; gap: 0; }
    .fm-order-timeline li { min-height: 65px; padding: 0 0 12px; }
    .fm-order-timeline li:not(:last-child)::after { top: 29px; bottom: 0; left: 14px; width: 2px; height: auto; }
    .fm-order-timeline li > div { padding: 5px 0 10px; }
    .fm-order-item { grid-template-columns: 64px minmax(0, 1fr) auto; }
    .fm-order-item__image { width: 64px; height: 64px; }
    .fm-order-item__quantity { text-align: right; }
    .fm-order-item__total { grid-column: 2 / -1; text-align: left; }
    .fm-order-details__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .woocommerce-order-received .content-page { padding-top: 12px; }
    .fm-thankyou.shell { width: calc(100% - 24px); }
    .fm-thankyou-hero { padding: 22px 18px; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; border-radius: 18px; }
    .fm-thankyou-hero__check { width: 44px; height: 44px; }
    .fm-thankyou-hero h1 { font-size: 2.25rem; }
    .fm-thankyou-status { grid-column: 1 / -1; width: max-content; }
    .fm-order-overview article { padding: 14px; }
    .fm-thankyou-message { align-items: flex-start; }
    .fm-thankyou-transfer__details { grid-template-columns: 1fr; }
    .fm-thankyou-actions { align-items: stretch; flex-direction: column; text-align: center; }
    .fm-thankyou-actions .primary-button { justify-content: center; }
    .fm-order-timeline, .fm-order-details__heading, .fm-order-delivery, .fm-order-totals { padding: 19px 16px; }
    .fm-order-timeline > header, .fm-order-details__heading { align-items: flex-start; flex-direction: column; }
    .fm-order-item { padding: 14px; grid-template-columns: 55px minmax(0, 1fr); gap: 10px; }
    .fm-order-item__image { width: 55px; height: 55px; }
    .fm-order-item__quantity, .fm-order-item__total { grid-column: auto; text-align: left; }
}

/* Carrito WooCommerce personalizado */
.fm-cart-hero { margin-top: 24px; padding: 32px clamp(24px, 4vw, 48px); background: linear-gradient(120deg, #f2faf7, #f9f6ee); border: 1px solid var(--line); border-radius: 22px; }
.woocommerce-cart .content-page, .woocommerce-account .content-page { padding-top: 22px; }
.fm-cart-hero .breadcrumbs { margin-bottom: 24px; }
.fm-cart-hero .eyebrow { color: var(--teal); }
.fm-cart-hero h1 { margin: 6px 0; font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: .95; letter-spacing: -.07em; }
.fm-cart-hero p { margin: 0; color: var(--muted); font-size: .78rem; }
.fm-cart-form .cart-layout { padding-block: 34px 70px; }
.fm-cart-lines { border-top: 1px solid var(--line); }
.fm-cart-lines .cart-line:first-child { padding-top: 20px; }
.cart-line__image a { display: block; width: 100%; height: 100%; }
.cart-line__info > span { display: block; color: var(--teal); font-size: .61rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.cart-line__info h2 a { color: var(--ink); }
.cart-line__info h2 a:hover { color: var(--teal); }
.cart-line__info > small { display: block; margin-top: 8px; color: var(--muted); font-weight: 650; letter-spacing: 0; text-transform: none; }
.cart-line__info .variation { margin: 5px 0 0; color: var(--muted); font-size: .65rem; }
.cart-line__info .variation dt, .cart-line__info .variation dd { display: inline; margin: 0; }
.cart-quantity-control { display: block; width: max-content; height: auto; border: 0; border-radius: 0; }
.cart-quantity-control .quantity { display: grid; width: 118px; height: 42px; overflow: hidden; grid-template-columns: 38px 42px 38px; background: #fff; border: 1px solid #cfdcd3; border-radius: 99px; box-shadow: 0 5px 14px rgba(24,80,35,.06); }
.cart-quantity-control .quantity .quantity-control__button { display: grid; width: 38px; height: 40px; padding: 0; place-items: center; color: var(--teal-dark); background: #fff; border: 0; border-radius: 0; cursor: pointer; font-size: 1.05rem; font-weight: 850; line-height: 1; text-decoration: none; transition: color .15s ease, background .15s ease; }
.cart-quantity-control .quantity .quantity-control__button:first-child { border-right: 1px solid var(--line); }
.cart-quantity-control .quantity .quantity-control__button:last-child { border-left: 1px solid var(--line); }
.cart-quantity-control .quantity .quantity-control__button:hover:not(:disabled) { color: #fff; background: var(--teal); }
.cart-quantity-control .quantity .quantity-control__button:active:not(:disabled) { transform: scale(.9); }
.cart-quantity-control .quantity .quantity-control__button:disabled { color: #aeb9b1; background: #f5f7f5; cursor: not-allowed; }
.cart-quantity-control .quantity .qty { width: 42px; min-width: 0; height: 40px; padding: 0; color: var(--ink); border: 0; outline: 0; background: #fff; box-shadow: none; font-size: .78rem; font-weight: 850; line-height: 40px; text-align: center; -moz-appearance: textfield; }
.cart-quantity-control .quantity .qty::-webkit-inner-spin-button, .cart-quantity-control .quantity .qty::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.cart-line.is-pending .cart-quantity-control { border-radius: 99px; box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.1); }
.cart-line.is-pending [data-cart-line-total] { color: var(--teal); }
.woocommerce .fm-cart-form .cart-line__price a.remove { display: inline; width: auto; height: auto; margin-top: 8px; color: var(--teal) !important; background: transparent !important; border-radius: 0; font-size: .65rem; font-weight: 750; line-height: 1.2; text-decoration: underline; }
.woocommerce .fm-cart-form .cart-line__price a.remove:hover { color: var(--teal-dark) !important; background: transparent !important; }
.fm-cart-actions { display: flex; padding-top: 18px; align-items: center; justify-content: flex-end; gap: 12px; }
.fm-cart-actions .secondary-button { min-height: 40px; padding: 0 17px; border: 1px solid var(--teal); color: var(--teal); background: #fff; border-radius: 99px; cursor: pointer; font-size: .68rem; font-weight: 800; }
.fm-cart-actions .secondary-button:hover { color: #fff; background: var(--teal); }
.fm-cart-live-status { display: none; color: var(--muted); font-size: .67rem; font-weight: 700; }
.has-js .fm-cart-form:not(.has-sync-error) .fm-cart-actions .secondary-button { display: none; }
.has-js .fm-cart-form.has-sync-error .fm-cart-actions .secondary-button { display: inline-flex; }
.has-js .fm-cart-live-status { display: inline-flex; align-items: center; gap: 7px; }
.has-js .fm-cart-live-status::before { width: 7px; height: 7px; content: ''; background: var(--teal); border-radius: 50%; }
.fm-cart-form.is-updating .cart-summary { opacity: .9; }
.fm-cart-form .cart-summary { transition: opacity .12s ease; }
.fm-cart-form .cart-summary { top: 155px; }
.cart-sync-banner { display: flex; min-height: 36px; margin-bottom: 12px; padding: 8px 12px; align-items: center; gap: 9px; color: var(--muted); background: #f6faf7; border: 1px solid var(--line); border-radius: 10px; font-size: .67rem; opacity: .85; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.cart-sync-banner__spinner { width: 14px; height: 14px; flex: none; border: 2px solid #b7c9be; border-right-color: transparent; border-radius: 50%; }
.cart-sync-banner.is-active { color: var(--teal-dark); background: var(--primary-soft); border-color: rgba(var(--primary-rgb),.25); opacity: 1; }
.cart-sync-banner.is-active .cart-sync-banner__spinner { border-color: var(--teal); border-right-color: transparent; animation: fm-spin .65s linear infinite; }
.fm-cart-form.has-sync-error .cart-sync-banner { color: #8b3d32; background: #fff3f0; border-color: #f0c3bb; }
.fm-cart-form .cart-summary .coupon-form { display: block; }
.fm-checkout-button { display: flex; width: 100%; margin-top: 4px; justify-content: center; }
.fm-cart-form .woocommerce-remove-coupon { display: inline-flex; min-height: 36px; margin-top: 6px; padding: 6px 10px; align-items: center; color: var(--teal-dark); border: 1px solid currentColor; border-radius: 8px; font-size: .72rem; font-weight: 800; line-height: 1.2; text-decoration: none; }
.fm-cart-form .woocommerce-remove-coupon:hover, .fm-cart-form .woocommerce-remove-coupon:focus-visible { color: #fff; background: var(--teal-dark); }
.fm-cart-form .cart-collaterals { display: none; }
.fm-cart-empty { min-height: 360px; margin: 26px 0 70px; }
.fm-cart-empty__icon { display: grid; width: 72px; height: 72px; place-items: center; background: var(--teal-soft); border-radius: 50%; }
.fm-cart-empty p { max-width: 560px; line-height: 1.65; }

/* Favoritos conectados con WooCommerce */
.favorites-hero { padding: 52px 0 46px; background: linear-gradient(120deg, var(--primary-soft), var(--secondary-soft)); border-bottom: 1px solid var(--line); }
.favorites-hero .breadcrumbs { margin-bottom: 25px; }
.favorites-hero h1 { margin: 7px 0 9px; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .96; letter-spacing: -.07em; }
.favorites-hero p { max-width: 600px; margin: 0; color: var(--muted); line-height: 1.6; }
.favorites-content { padding-block: 30px 75px; }
.favorites-session-note { display: flex; padding: 17px 19px; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 8px 24px rgba(23,61,35,.05); }
.favorites-session-note > span { display: grid; width: 38px; height: 38px; flex: none; place-items: center; color: var(--secondary-dark); background: var(--secondary-soft); border-radius: 50%; font-size: 1.15rem; font-weight: 850; }
.favorites-session-note strong { display: block; font-size: .78rem; }
.favorites-session-note p { margin: 4px 0 0; color: var(--muted); font-size: .69rem; line-height: 1.45; }
.favorites-session-note a { color: var(--teal); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.favorites-toolbar { display: flex; margin: 38px 0 20px; align-items: flex-end; justify-content: space-between; gap: 20px; }
.favorites-toolbar h2 { margin: 5px 0 0; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.05em; }
.favorites-toolbar > a { color: var(--teal); font-size: .73rem; font-weight: 800; }
.favorites-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.favorites-grid.is-empty { display: none; }
.favorites-grid > [data-favorite-item] { min-width: 0; transition: opacity .18s ease, transform .18s ease; }
.favorites-grid > [data-favorite-item] .product-card { height: 100%; }
.favorites-grid > [data-favorite-item].is-removing { opacity: 0; transform: scale(.97); }
.favorites-empty { min-height: 360px; margin-top: 24px; }
.product-card__favorite, .product-info__favorite { transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.product-card__favorite:hover, .product-info__favorite:hover { transform: scale(1.08); }
.product-card__favorite:active, .product-info__favorite:active { transform: scale(.9); }
.product-card__favorite.is-syncing, .product-info__favorite.is-syncing { cursor: wait; }
.product-card__favorite.is-syncing svg, .product-info__favorite.is-syncing svg { opacity: .15; }
.product-card__favorite.is-syncing::after, .product-info__favorite.is-syncing::after { position: absolute; width: 16px; height: 16px; content: ''; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: fm-spin .65s linear infinite; }

/* Acceso y registro WooCommerce */
.fm-auth-page { display: grid; min-height: 600px; padding-block: 30px 70px; grid-template-columns: minmax(310px, .85fr) minmax(420px, 1.15fr); gap: 20px; }
.fm-auth-page .auth-visual { position: sticky; top: 18px; min-height: 570px; padding: clamp(35px, 4vw, 55px); align-self: start; }
.fm-auth-page .auth-visual h1 { max-width: 500px; font-size: clamp(2.8rem, 4.5vw, 4.5rem); }
.fm-auth-card { display: block; padding: clamp(30px, 4vw, 48px); }
.fm-auth-tabs { display: grid; padding: 4px; margin-bottom: 24px; grid-template-columns: repeat(2, 1fr); background: #eef3f1; border-radius: 12px; }
.fm-auth-tabs button { min-height: 40px; padding: 0 14px; border: 0; color: var(--muted); background: transparent; border-radius: 9px; cursor: pointer; font-size: .72rem; font-weight: 800; }
.fm-auth-tabs button.is-active { color: var(--teal-dark); background: #fff; box-shadow: 0 4px 13px rgba(14,67,62,.08); }
.fm-auth-panel[hidden] { display: none !important; }
.fm-auth-panel > .eyebrow { color: var(--teal); }
.fm-auth-panel h2 { margin: 6px 0 7px; font-size: clamp(2rem, 3vw, 2.65rem); }
.fm-auth-panel > p { margin: 0 0 22px; color: var(--muted); font-size: .77rem; line-height: 1.6; }
.fm-auth-page form.login, .fm-auth-page form.register { display: grid; gap: 16px; }
.fm-auth-page .auth-field { margin: 0; }
.fm-auth-page .auth-field input { width: 100%; height: 45px; padding: 0 13px; border: 1px solid #d6e1de; outline: 0; border-radius: 9px; }
.fm-auth-page .auth-field input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.11); }
.fm-auth-page :is(.password-input, .fm-password-input) input { padding-right: 78px; }
.fm-auth-options { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.fm-auth-options a { color: var(--teal); font-size: .68rem; font-weight: 750; }
.fm-auth-submit { width: 100%; justify-content: center; border: 0; cursor: pointer; }
.fm-auth-help { margin: 0; padding: 12px 14px; color: var(--muted); background: #f6f8f7; border-radius: 8px; font-size: .7rem; line-height: 1.5; }
.fm-auth-google { padding: 18px; margin-bottom: 22px; }
.fm-auth-google p { margin-bottom: 10px; }
.fm-auth-google > span { margin-top: 13px; }
.fm-register-methods { display: grid; margin-bottom: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fm-register-methods button { display: flex; min-height: 82px; padding: 14px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; border: 1px solid #dce6e3; color: var(--ink); background: #fff; border-radius: 12px; cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s, transform .2s; }
.fm-register-methods button:hover { border-color: #a9c8bf; transform: translateY(-1px); }
.fm-register-methods button.is-active { border-color: var(--teal); background: var(--teal-soft); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.1); }
.fm-register-methods strong { font-size: .74rem; }
.fm-register-methods small { color: var(--muted); font-size: .61rem; line-height: 1.45; }
.fm-register-method-panel[hidden] { display: none !important; }
.fm-register-method-panel .fm-auth-google { margin-bottom: 13px; }
.fm-auth-progress { display: grid; padding: 0; margin: 0 0 24px; grid-template-columns: repeat(3, 1fr); list-style: none; }
.fm-auth-progress li { position: relative; display: flex; align-items: center; flex-direction: column; gap: 6px; color: #8b9995; font-size: .62rem; font-weight: 750; text-align: center; }
.fm-auth-progress li::before { position: absolute; z-index: 0; top: 14px; left: -50%; width: 100%; height: 2px; content: ''; background: #dfe8e5; }
.fm-auth-progress li:first-child::before { display: none; }
.fm-auth-progress li span { position: relative; z-index: 1; display: grid; width: 29px; height: 29px; place-items: center; color: #7b8b86; background: #edf2f0; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #dfe8e5; }
.fm-auth-progress li.is-active { color: var(--teal-dark); }
.fm-auth-progress li.is-active span { color: #fff; background: var(--teal); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.13); }
.fm-auth-progress li.is-complete { color: #27835f; }
.fm-auth-progress li.is-complete::before, .fm-auth-progress li.is-complete span { background: #bcebd9; }
.fm-auth-stage h3 { margin: 0 0 8px; color: var(--ink); font-size: 1.12rem; }
.fm-auth-stage > p { margin: 0 0 19px; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.fm-auth-email-form, .fm-auth-code-form { display: grid; gap: 15px; }
.fm-auth-stage__icon { display: grid; width: 52px; height: 52px; margin-bottom: 17px; place-items: center; color: var(--teal); background: var(--teal-soft); border-radius: 16px; font-size: 1.3rem; }
.fm-auth-code-form > label { color: var(--ink); font-size: .72rem; font-weight: 750; }
.fm-code-input { width: 100%; height: 58px !important; padding-inline: 14px !important; color: var(--ink); font-size: 1.45rem; font-weight: 800; letter-spacing: .42em; text-align: center; }
.fm-auth-stage__links { display: flex; align-items: center; justify-content: center; margin-top: 17px; gap: 20px; font-size: .68rem; font-weight: 750; }
.fm-auth-stage__links form { margin: 0; }
.fm-auth-stage__links a, .fm-link-button { padding: 0; border: 0; color: var(--teal); background: transparent; cursor: pointer; font: inherit; text-decoration: underline; }
.fm-auth-security { display: flex; align-items: center; margin: 15px 0 0 !important; gap: 8px; color: #547069 !important; font-size: .64rem !important; }
.fm-auth-security span { display: grid; width: 18px; height: 18px; place-items: center; color: #fff; background: #35a778; border-radius: 50%; font-size: .55rem; }
.fm-profile-form { display: grid; gap: 21px; }
.fm-profile-section { padding: 18px; background: #f8faf9; border: 1px solid #e1e9e6; border-radius: 13px; }
.fm-profile-section__heading { display: flex; align-items: center; margin-bottom: 16px; gap: 10px; }
.fm-profile-section__heading > span { display: grid; width: 28px; height: 28px; flex: none; place-items: center; color: #fff; background: var(--teal); border-radius: 9px; font-size: .67rem; font-weight: 850; }
.fm-profile-section__heading div { display: flex; flex-direction: column; gap: 2px; }
.fm-profile-section__heading strong { color: var(--ink); font-size: .76rem; }
.fm-profile-section__heading small { color: var(--muted); font-size: .59rem; }
.fm-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.fm-profile-grid .fm-profile-wide { grid-column: 1 / -1; }
.fm-profile-grid :is(input, select) { width: 100%; height: 43px; padding: 0 12px; border: 1px solid #d6e1de; outline: 0; background: #fff; border-radius: 9px; color: var(--ink); }
.fm-profile-grid :is(input, select):focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.11); }
.fm-profile-terms { align-items: flex-start; gap: 9px; color: var(--muted); font-size: .66rem; line-height: 1.5; }
.fm-profile-terms a { color: var(--teal); font-weight: 750; }
.fm-profile-terms input { flex: none; margin-top: 1px; }
[data-auth-loading].is-loading { opacity: .72; pointer-events: none; }
[data-auth-loading].is-loading .fm-auth-submit { position: relative; padding-right: 42px; }
[data-auth-loading].is-loading .fm-auth-submit::after { position: absolute; right: 17px; width: 15px; height: 15px; content: ''; border: 2px solid rgba(255,255,255,.55); border-top-color: #fff; border-radius: 50%; animation: fm-spin .65s linear infinite; }
.fm-google-profile { padding: clamp(22px, 4vw, 38px); margin-bottom: 26px; background: #fff; border: 1px solid #dce8e4; border-radius: 20px; box-shadow: 0 12px 35px rgba(27,77,64,.07); }
.fm-google-profile__heading { margin-bottom: 24px; }
.fm-google-profile__heading > span { color: var(--teal); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.fm-google-profile__heading h2 { margin: 5px 0 7px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.fm-google-profile__heading p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.6; }

/* Recuperación de contraseña WooCommerce */
.fm-recovery-page { min-height: 570px; align-items: stretch; }
.fm-recovery-page .fm-recovery-visual { min-height: 540px; }
.fm-recovery-visual::before { position: absolute; top: -85px; left: -95px; width: 245px; height: 245px; content: ''; border: 45px solid rgba(255,255,255,.065); border-radius: 50%; }
.fm-recovery-visual > * { position: relative; z-index: 1; }
.fm-recovery-visual__icon { display: grid; width: 66px; height: 66px; margin-bottom: 30px; place-items: center; color: var(--teal-dark); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.62); border-radius: 21px; box-shadow: 0 14px 35px rgba(6,54,50,.18); }
.fm-recovery-visual__icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fm-recovery-page .fm-recovery-visual h1 { max-width: 520px; font-size: clamp(2.8rem, 4.6vw, 4.65rem); }
.fm-recovery-page .fm-recovery-visual p { max-width: 490px; }
.fm-recovery-card { position: relative; justify-content: center; background: #fff; box-shadow: 0 18px 55px rgba(16,69,63,.07); }
.fm-recovery-back { display: inline-flex; width: fit-content; margin-bottom: clamp(34px, 6vw, 66px); align-items: center; gap: 8px; color: var(--teal-dark); font-size: .69rem; font-weight: 800; }
.fm-recovery-back span { font-size: 1rem; line-height: 1; transition: transform .2s ease; }
.fm-recovery-back:hover { color: var(--secondary-dark); }
.fm-recovery-back:hover span { transform: translateX(-3px); }
.fm-recovery-heading { max-width: 590px; }
.fm-recovery-heading > .eyebrow { color: var(--teal); }
.fm-recovery-heading h2 { margin: 7px 0 10px; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1; letter-spacing: -.06em; }
.fm-recovery-heading > p { margin: 0 0 28px; color: var(--muted); font-size: .79rem; line-height: 1.7; }
.fm-recovery-form { display: grid !important; max-width: 590px; margin: 0 !important; padding: 0 !important; gap: 18px; border: 0 !important; }
.fm-recovery-form .auth-field { display: grid; gap: 8px; }
.fm-recovery-form .auth-field > label { display: block; margin: 0; color: var(--ink); font-size: .72rem; font-weight: 800; }
.fm-recovery-form input.input-text { width: 100%; height: 49px; margin: 0; padding: 0 14px; border: 1px solid #cfddd8; outline: 0; background: #fff; border-radius: 10px; color: var(--ink); font-size: .8rem; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.fm-recovery-form input.input-text:hover { border-color: #acc8bf; }
.fm-recovery-form input.input-text:focus { border-color: var(--teal); background: #fdfffe; box-shadow: 0 0 0 4px rgba(var(--primary-rgb),.1); }
.fm-recovery-form .fm-password-input input { padding-right: 82px; }
.fm-recovery-form .fm-password-input > button { right: 10px; min-height: 31px; padding-inline: 9px; }
.fm-recovery-form .fm-auth-submit { min-height: 50px; margin: 3px 0 0 !important; padding: 0 23px !important; color: #fff !important; background: var(--teal) !important; border-radius: 99px !important; font-size: .75rem !important; font-weight: 850 !important; box-shadow: 0 9px 23px rgba(var(--primary-rgb),.18); transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.fm-recovery-form .fm-auth-submit:hover { background: var(--teal-dark) !important; box-shadow: 0 12px 28px rgba(var(--primary-rgb),.22); transform: translateY(-1px); }
.fm-recovery-form .fm-auth-submit:focus-visible { outline: 3px solid rgba(var(--primary-rgb),.25); outline-offset: 3px; }
.fm-password-requirements { display: flex; margin-top: -3px; padding: 12px 14px; align-items: center; gap: 10px; color: #49655e; background: #f2f8f5; border: 1px solid #dcebe4; border-radius: 10px; }
.fm-password-requirements > span { display: grid; width: 22px; height: 22px; flex: none; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: .63rem; font-weight: 900; }
.fm-password-requirements p { margin: 0; font-size: .66rem; line-height: 1.45; }
.fm-recovery-security { display: flex; max-width: 590px; margin-top: 25px; padding-top: 20px; align-items: flex-start; gap: 10px; border-top: 1px solid var(--line); color: var(--muted); }
.fm-recovery-security > span { display: grid; width: 22px; height: 22px; flex: none; place-items: center; color: #237858; background: #dff4e9; border-radius: 50%; font-size: .62rem; font-weight: 900; }
.fm-recovery-security p { margin: 1px 0 0; font-size: .65rem; line-height: 1.55; }
.fm-recovery-security strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: .68rem; }
.fm-recovery-card :is(.woocommerce-password-strength, .woocommerce-password-hint) { font-size: .65rem; line-height: 1.5; }
.fm-recovery-card .woocommerce-password-strength { margin-top: 7px; padding: 7px 9px; border-radius: 7px; }

@media (max-width: 900px) {
    .fm-auth-page { grid-template-columns: 1fr; }
    .fm-auth-page .auth-visual { position: relative; top: auto; min-height: 330px; }
    .fm-recovery-page { padding-top: 22px; }
    .fm-recovery-page .fm-recovery-card { order: -1; }
    .fm-recovery-page .fm-recovery-visual { min-height: 330px; }
    .fm-recovery-back { margin-bottom: 38px; }
    .favorites-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .fm-cart-form .cart-layout { padding-top: 24px; }
}

@media (max-width: 560px) {
    .fm-cart-hero { margin-top: 14px; padding: 24px 20px; border-radius: 17px; }
    .woocommerce-cart .content-page, .woocommerce-account .content-page { padding-top: 10px; }
    .fm-cart-hero .breadcrumbs { margin-bottom: 18px; }
    .fm-cart-hero h1 { font-size: 2.65rem; }
    .cart-line { padding: 16px 0; grid-template-columns: 82px minmax(0, 1fr); align-items: start; gap: 13px; }
    .cart-line__image { grid-column: 1; grid-row: 1 / span 2; }
    .cart-line__info { grid-column: 2; }
    .cart-line__info h2 { margin-top: 4px; font-size: .8rem; }
    .cart-line__quantity { grid-column: 2; grid-row: 2; }
    .cart-line__price { grid-column: 1 / -1; grid-row: 3; align-items: center; justify-content: space-between; flex-direction: row; }
    .cart-line__price .remove { margin-top: 0; }
    .fm-cart-actions { justify-content: stretch; }
    .fm-cart-actions .secondary-button { width: 100%; }
    .fm-cart-empty { min-height: 330px; padding: 30px 20px; }
    .favorites-hero { padding: 35px 0 32px; }
    .favorites-hero h1 { font-size: 2.75rem; }
    .favorites-content { padding-top: 20px; }
    .favorites-session-note { align-items: flex-start; }
    .favorites-toolbar { margin-top: 30px; align-items: flex-start; flex-direction: column; gap: 8px; }
    .favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .favorites-empty { min-height: 315px; padding: 28px 18px; }
    .fm-auth-page { padding-top: 15px; }
    .fm-auth-page .auth-visual { min-height: 290px; padding: 30px 24px; }
    .fm-auth-page .auth-visual h1 { font-size: 2.65rem; }
    .fm-auth-page .auth-visual ul { display: none; }
    .fm-auth-card { padding: 26px 21px; }
    .fm-recovery-page { gap: 14px; padding-bottom: 48px; }
    .fm-recovery-page .fm-recovery-card { padding: 25px 20px 27px; border-radius: 18px; }
    .fm-recovery-page .fm-recovery-visual { min-height: 255px; padding: 27px 23px; border-radius: 18px; }
    .fm-recovery-page .fm-recovery-visual h1 { margin-block: 13px; font-size: 2.45rem; }
    .fm-recovery-page .fm-recovery-visual p { margin-bottom: 0; font-size: .73rem; }
    .fm-recovery-visual__icon { width: 51px; height: 51px; margin-bottom: 21px; border-radius: 16px; }
    .fm-recovery-visual__icon svg { width: 26px; height: 26px; }
    .fm-recovery-back { margin-bottom: 31px; }
    .fm-recovery-heading h2 { font-size: 2.15rem; }
    .fm-recovery-heading > p { margin-bottom: 23px; font-size: .74rem; }
    .fm-recovery-form input.input-text { height: 48px; }
    .fm-recovery-security { margin-top: 22px; }
    .fm-register-methods { grid-template-columns: 1fr; }
    .fm-register-methods button { min-height: 72px; }
    .fm-auth-options { align-items: flex-start; flex-direction: column; gap: 8px; }
    .fm-profile-grid { grid-template-columns: 1fr; }
    .fm-profile-grid .fm-profile-wide { grid-column: auto; }
    .fm-profile-section { padding: 15px; }
    .fm-auth-progress li { font-size: .56rem; }
}

/* Mi cuenta: navegación y datos del cliente */
.woocommerce-account.logged-in .woocommerce-shell { padding-top: 25px; padding-bottom: 75px; }
.fm-account-shell { width: 100%; }
.fm-account-hero { display: grid; padding: clamp(23px, 3vw, 34px); grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; background: linear-gradient(130deg, #effaf2 0%, #f9fcfa 52%, #eef8fd 100%); border: 1px solid #d7e9df; border-radius: 24px; box-shadow: 0 14px 38px rgba(18,73,66,.07); }
.fm-account-hero__identity { display: flex; min-width: 0; align-items: center; gap: 19px; }
.fm-account-hero__identity img { width: 76px; height: 76px; flex: none; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 8px 22px rgba(20,72,63,.13); }
.fm-account-hero__identity span { color: var(--teal); font-size: .65rem; font-weight: 850; letter-spacing: .08em; }
.fm-account-hero__identity h1 { margin: 4px 0 5px; color: var(--ink); font-size: clamp(2rem, 3.8vw, 3.15rem); line-height: .98; letter-spacing: -.06em; }
.fm-account-hero__identity p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.fm-account-progress { display: flex; min-width: 270px; padding: 12px 15px; align-items: center; gap: 13px; background: rgba(255,255,255,.85); border: 1px solid #dce9e4; border-radius: 16px; }
.fm-account-progress > span { position: relative; display: grid; width: 62px; height: 62px; padding: 6px; place-items: center; flex: none; background: conic-gradient(var(--primary) var(--fm-profile-progress), #dcebe5 0); border-radius: 50%; }
.fm-account-progress > span::before { position: absolute; width: 49px; height: 49px; content: ''; background: #fff; border-radius: 50%; }
.fm-account-progress > span strong, .fm-account-progress > span small { position: relative; z-index: 1; grid-column: 1; grid-row: 1; }
.fm-account-progress > span strong { margin-top: -8px; font-size: .8rem; }
.fm-account-progress > span small { margin-top: 14px; color: var(--muted); font-size: .45rem; }
.fm-account-progress > div { display: flex; flex-direction: column; gap: 3px; }
.fm-account-progress > div strong { font-size: .74rem; }
.fm-account-progress > div small { max-width: 150px; color: var(--muted); font-size: .58rem; line-height: 1.35; }
.fm-account-layout { display: grid; margin-top: 22px; grid-template-columns: 230px minmax(0, 1fr); align-items: start; gap: 24px; }
.woocommerce-account .fm-account-nav { position: sticky; top: 165px; float: none; width: auto; margin: 0; }
.woocommerce-account .fm-account-nav ul { display: grid; overflow: hidden; margin: 0; padding: 7px; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 10px 28px rgba(18,73,66,.055); list-style: none; }
.woocommerce-account .fm-account-nav li { width: 100%; }
.woocommerce-account .fm-account-nav li a { display: flex; min-height: 47px; padding: 9px 11px; align-items: center; gap: 11px; color: #405b54; border-radius: 11px; font-size: .7rem; font-weight: 800; text-align: left; }
.woocommerce-account .fm-account-nav li a svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.woocommerce-account .fm-account-nav li.is-active a, .woocommerce-account .fm-account-nav li a:hover { color: #fff; background: linear-gradient(115deg, var(--primary-dark), var(--primary)); box-shadow: 0 7px 17px rgba(var(--primary-rgb),.18); }
.woocommerce-account .fm-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a { margin-top: 4px; color: #9b4545; background: #fff7f7; }
.woocommerce-account .fm-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { color: #fff; background: #ad4e4e; }
.fm-account-nav__security { display: grid; margin-top: 10px; padding: 13px; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 9px; color: #42635b; background: #f2f9f6; border: 1px solid #dceae5; border-radius: 13px; }
.fm-account-nav__security > span { display: grid; width: 30px; height: 30px; place-items: center; color: #fff; background: var(--primary); border-radius: 50%; font-size: .65rem; font-weight: 900; }
.fm-account-nav__security strong, .fm-account-nav__security small { display: block; }
.fm-account-nav__security strong { font-size: .63rem; }
.fm-account-nav__security small { margin-top: 2px; color: var(--muted); font-size: .52rem; line-height: 1.35; }
.woocommerce-account .fm-account-content { float: none; width: auto; min-width: 0; }
.woocommerce-account .fm-account-content > form:not(.woocommerce-form) { padding: 0; background: transparent; border: 0; border-radius: 0; }
.fm-account-intro { display: grid; margin-bottom: 16px; padding: 21px 23px; grid-template-columns: minmax(230px,.7fr) minmax(0,1fr); align-items: center; gap: 25px; background: #f7faf8; border: 1px solid var(--line); border-radius: 17px; }
.fm-account-intro span { color: var(--teal); font-size: .58rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.fm-account-intro h2 { margin: 4px 0 0; font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: -.045em; }
.fm-account-intro p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.fm-account-intro--form { margin-bottom: 12px; }
.fm-account-panel { padding: clamp(21px, 3vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: 19px; }
.fm-account-panel__heading { display: grid; margin-bottom: 21px; padding-bottom: 17px; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 13px; border-bottom: 1px solid #e6eeeb; }
.fm-account-panel__heading .fm-account-panel__icon { display: grid; width: 36px; height: 36px; place-items: center; flex: none; color: #fff; background: linear-gradient(145deg, var(--primary), var(--secondary)); border-radius: 11px; font-size: .68rem; font-weight: 900; }
.fm-account-panel__heading .fm-account-panel__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.fm-account-panel__heading h2 { margin: 0 0 3px; font-size: 1.15rem; }
.fm-account-panel__heading p { margin: 0; color: var(--muted); font-size: .65rem; line-height: 1.45; }
.fm-account-panel__heading > small { color: #648078; font-size: .56rem; font-weight: 700; white-space: nowrap; }
.fm-account-fields, .fm-address-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px 17px; }
.woocommerce-account :is(.fm-account-fields,.fm-address-fields) .form-row { display: flex; float: none; width: 100%; min-width: 0; margin: 0; padding: 0; flex-direction: column; }
.woocommerce-account :is(.fm-account-fields,.fm-address-fields) .form-row-wide { grid-column: 1 / -1; }
.woocommerce-account .fm-account-form label, .woocommerce-account .fm-address-form label { display: block; margin-bottom: 6px; color: #33564e; font-size: .68rem; font-weight: 800; }
.woocommerce-account .fm-account-form :is(input.input-text,select), .woocommerce-account .fm-address-form :is(input.input-text,select) { width: 100%; min-height: 46px; padding: 0 12px; background: #fbfdfc; border: 1px solid #ceddd7; border-radius: 10px; box-shadow: none; }
.woocommerce-account .fm-account-form :is(input.input-text,select):focus, .woocommerce-account .fm-address-form :is(input.input-text,select):focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.09); outline: 0; }
.fm-display-name-field { padding: 13px !important; background: linear-gradient(110deg,#f4faf7,#f4f9fc); border: 1px solid #dcebe6; border-radius: 12px; }
.fm-display-name-field small { display: block; margin-top: 6px; color: var(--muted); font-size: .58rem; }
.fm-password-panel { margin-top: 13px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.fm-password-panel summary { display: grid; min-height: 67px; padding: 13px 18px; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.fm-password-panel summary::-webkit-details-marker { display: none; }
.fm-password-panel summary > span { display: grid; width: 36px; height: 36px; place-items: center; color: var(--secondary-dark); background: var(--secondary-soft); border-radius: 10px; }
.fm-password-panel summary strong, .fm-password-panel summary small { display: block; }
.fm-password-panel summary strong { font-size: .75rem; }
.fm-password-panel summary small { margin-top: 3px; color: var(--muted); font-size: .58rem; }
.fm-password-panel summary > b { font-size: 1.2rem; transition: transform .2s; }
.fm-password-panel[open] summary > b { transform: rotate(45deg); }
.fm-password-panel__fields { display: grid; padding: 20px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; border-top: 1px solid var(--line); }
.fm-password-panel__fields .form-row { display: flex; float: none; width: 100%; min-width: 0; margin: 0; padding: 0; flex-direction: column; }
.fm-account-form__actions { display: flex; min-height: 69px; margin-top: 13px; padding: 12px 14px 12px 17px; align-items: center; justify-content: space-between; gap: 20px; background: #f2f8f5; border: 1px solid #dceae5; border-radius: 15px; }
.fm-account-form__actions > div { display: flex; min-width: 0; flex-direction: column; }
.fm-account-form__actions > div strong { color: #31584f; font-size: .67rem; }
.fm-account-form__actions > div small { margin-top: 3px; color: var(--muted); font-size: .56rem; }
.woocommerce-account .fm-account-form__actions .button { min-height: 46px; padding: 0 23px; color: #fff; background: var(--primary-dark); border: 0; border-radius: 99px; font-size: .72rem; font-weight: 850; }
.woocommerce-account .fm-account-form__actions .button:hover { color: #fff; background: var(--primary); }
.fm-address-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.woocommerce-account .fm-address-grid .fm-address-card { float: none; width: auto; min-height: 235px; padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.fm-address-card > header { display: grid; padding: 18px 19px; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; background: linear-gradient(120deg,#f5faf7,#f1f9fd); border-bottom: 1px solid var(--line); }
.fm-address-card__icon { display: grid; width: 38px; height: 38px; place-items: center; color: var(--secondary-dark); background: #fff; border-radius: 11px; box-shadow: 0 5px 13px rgba(18,73,66,.06); }
.fm-address-card header small { color: var(--muted); font-size: .55rem; }
.woocommerce-account .fm-address-card header h2 { margin: 2px 0 0; font-size: 1.12rem; }
.fm-address-card header a { padding: 7px 10px; color: var(--teal); background: #fff; border: 1px solid #cfe1db; border-radius: 99px; font-size: .62rem; font-weight: 850; }
.fm-address-card__body { padding: 21px; }
.fm-address-card address { margin: 0; color: #405b54; font-size: .73rem; font-style: normal; line-height: 1.75; }
.fm-address-card__body > small { display: block; margin-top: 9px; color: var(--muted); font-size: .6rem; }
.fm-address-empty strong { font-size: .75rem; }
.fm-address-empty p { margin: 6px 0 0; color: var(--muted); font-size: .65rem; line-height: 1.5; }
.fm-address-book-toolbar { display: flex; margin: 0 0 14px; padding: 11px 13px; align-items: center; justify-content: space-between; gap: 12px; background: #f4f9f7; border: 1px solid #dce9e4; border-radius: 12px; }
.fm-address-book-toolbar > span { color: var(--muted); font-size: .63rem; font-weight: 750; }
.woocommerce-account .fm-address-book-toolbar .button, .woocommerce-account .fm-address-book-empty .button { padding: 10px 15px; color: #fff; background: var(--primary-dark); border: 0; border-radius: 99px; font-size: .65rem; font-weight: 850; }
.fm-address-grid--delivery { grid-template-columns: repeat(3,minmax(0,1fr)); }
.woocommerce-account .fm-address-grid--delivery .fm-address-card { display: flex; min-height: 255px; flex-direction: column; }
.fm-address-card.is-default { border-color: #87cbb0; box-shadow: 0 8px 22px rgba(var(--primary-rgb),.08); }
.fm-address-default-badge { padding: 6px 8px; color: #12623f; background: #dff5e9; border-radius: 99px; font-size: .53rem; font-weight: 900; }
.fm-address-grid--delivery .fm-address-card__body { flex: 1; }
.fm-address-card__actions { display: flex; min-height: 50px; padding: 9px 12px; align-items: center; flex-wrap: wrap; gap: 7px; background: #fbfdfc; border-top: 1px solid var(--line); }
.fm-address-card__actions form { margin: 0; }
.fm-address-card__actions a, .fm-address-card__actions button { padding: 6px 8px; color: var(--teal-dark); background: transparent; border: 0; border-radius: 7px; font-size: .58rem; font-weight: 800; cursor: pointer; }
.fm-address-card__actions :is(a,button):hover { background: var(--teal-soft); }
.fm-address-card__actions button.is-delete { color: #a3473c; }
.fm-address-default-choice { display: flex !important; margin-top: 18px; padding: 13px; align-items: flex-start; gap: 10px; background: #f4faf7; border: 1px solid #d9e9e2; border-radius: 11px; cursor: pointer; }
.fm-address-default-choice input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--teal); }
.fm-address-default-choice strong, .fm-address-default-choice small { display: block; }
.fm-address-default-choice small { margin-top: 3px; color: var(--muted); font-size: .58rem; }
.fm-address-form__actions { justify-content: flex-end; }
.fm-address-cancel { padding: 10px 13px; color: var(--muted); font-size: .65rem; font-weight: 800; }
.fm-address-book-empty { display: grid; padding: 25px; grid-template-columns: 45px minmax(0,1fr) auto; align-items: center; gap: 15px; background: #fff; border: 1px dashed #bfd4ca; border-radius: 16px; }
.fm-address-book-empty > span { display: grid; width: 45px; height: 45px; place-items: center; color: var(--secondary-dark); background: var(--secondary-soft); border-radius: 13px; }
.fm-address-book-empty h3 { margin: 0; font-size: .9rem; }
.fm-address-book-empty p { margin: 5px 0 0; color: var(--muted); font-size: .64rem; }
.fm-orders-list { display: grid; gap: 10px; }
.fm-order-card { display: grid; min-height: 105px; padding: 16px 18px; grid-template-columns: minmax(185px,1.25fr) minmax(115px,.7fr) minmax(105px,.55fr) minmax(115px,.7fr) auto; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.fm-order-card:hover { border-color: #9accc0; box-shadow: 0 10px 24px rgba(18,73,66,.07); transform: translateY(-1px); }
.fm-order-card__main { display: flex; align-items: center; gap: 12px; }
.fm-order-card__icon { display: grid; width: 39px; height: 39px; place-items: center; flex: none; color: var(--secondary-dark); background: var(--secondary-soft); border-radius: 11px; }
.fm-order-card small { display: block; color: var(--muted); font-size: .55rem; }
.fm-order-card__main h2 { margin: 2px 0; font-size: 1rem; }
.fm-order-card__main time { color: var(--muted); font-size: .58rem; }
.fm-order-card__meta strong { display: block; margin-top: 4px; font-size: .68rem; }
.fm-order-status { width: fit-content; padding: 6px 9px; color: var(--teal-dark); background: var(--teal-soft); border-radius: 99px; }
.fm-order-card__total strong { font-size: .78rem; }
.fm-order-card__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.woocommerce-account .fm-order-card__actions .button { margin: 0; padding: 8px 11px; color: var(--teal); background: #fff; border: 1px solid #cfe0db; border-radius: 99px; font-size: .6rem; line-height: 1; }
.woocommerce-account .fm-order-card__actions .button.view { display: inline-flex; min-height: 40px; padding: 0 16px; align-items: center; justify-content: center; gap: 8px; color: #fff; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); border-color: transparent; font-size: .68rem; font-weight: 850; line-height: 1.1; box-shadow: 0 7px 16px rgba(var(--primary-rgb),.18); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.woocommerce-account .fm-order-card__actions .button.view::after { content: '\2192'; font-size: .9rem; line-height: 1; transition: transform .18s ease; }
.woocommerce-account .fm-order-card__actions .button.view:hover, .woocommerce-account .fm-order-card__actions .button.view:focus-visible { color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary-dark)); box-shadow: 0 9px 20px rgba(var(--primary-rgb),.23); transform: translateY(-1px); }
.woocommerce-account .fm-order-card__actions .button.view:hover::after, .woocommerce-account .fm-order-card__actions .button.view:focus-visible::after { transform: translateX(3px); }
.fm-account-pagination { display: flex; margin-top: 17px; justify-content: space-between; }
.fm-account-empty { padding: 55px 25px; text-align: center; background: #f7faf8; border: 1px solid var(--line); border-radius: 19px; }
.fm-account-empty > span { display: grid; width: 52px; height: 52px; margin: 0 auto 14px; place-items: center; color: var(--secondary-dark); background: var(--secondary-soft); border-radius: 50%; }
.fm-account-empty h2 { margin: 0; font-size: 1.25rem; }
.fm-account-empty p { margin: 7px 0 18px; color: var(--muted); font-size: .7rem; }
.woocommerce-account .fm-account-content > .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 12px; }
.woocommerce-account .fm-account-content .woocommerce-message, .woocommerce-account .fm-account-content .woocommerce-error, .woocommerce-account .fm-account-content .woocommerce-info { border-radius: 12px; }
.woocommerce-account .fm-account-content .woocommerce-order-details, .woocommerce-account .fm-account-content .woocommerce-customer-details { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.woocommerce-account .fm-account-content .woocommerce-order-details__title, .woocommerce-account .fm-account-content .woocommerce-column__title { margin-top: 0; font-size: 1.25rem; }

@media (max-width: 980px) {
    .fm-account-hero { grid-template-columns: 1fr; }
    .fm-account-progress { width: fit-content; }
    .fm-account-layout { grid-template-columns: 1fr; }
    .woocommerce-account .fm-account-nav { position: static; overflow: hidden; }
    .woocommerce-account .fm-account-nav ul { display: flex; overflow-x: auto; border-radius: 15px; scrollbar-width: none; }
    .woocommerce-account .fm-account-nav ul::-webkit-scrollbar { display: none; }
    .woocommerce-account .fm-account-nav li { width: auto; flex: none; }
    .woocommerce-account .fm-account-nav li a { min-height: 43px; padding-inline: 13px; }
    .fm-account-nav__security { display: none; }
    .fm-order-card { grid-template-columns: minmax(180px,1fr) repeat(3,auto); }
    .fm-order-card__actions { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 620px) {
    .woocommerce-account.logged-in .woocommerce-shell { padding-top: 12px; padding-bottom: 52px; }
    .fm-account-hero { padding: 20px 18px; gap: 17px; border-radius: 18px; }
    .fm-account-hero__identity { align-items: flex-start; gap: 13px; }
    .fm-account-hero__identity img { width: 58px; height: 58px; border-width: 3px; }
    .fm-account-hero__identity h1 { font-size: 2rem; }
    .fm-account-hero__identity p { font-size: .66rem; }
    .fm-account-progress { width: 100%; min-width: 0; padding: 10px 12px; }
    .fm-account-progress > span { width: 54px; height: 54px; }
    .fm-account-progress > span::before { width: 42px; height: 42px; }
    .fm-account-layout { margin-top: 13px; gap: 15px; }
    .woocommerce-account .fm-account-nav { margin: 0 -5px; }
    .woocommerce-account .fm-account-nav ul { padding: 5px; }
    .woocommerce-account .fm-account-nav li a { min-height: 40px; padding: 8px 10px; gap: 7px; font-size: .62rem; }
    .woocommerce-account .fm-account-nav li a svg { width: 17px; height: 17px; }
    .fm-account-intro { padding: 18px; grid-template-columns: 1fr; gap: 8px; border-radius: 14px; }
    .fm-account-panel { padding: 19px 16px; border-radius: 15px; }
    .fm-account-panel__heading { grid-template-columns: 36px minmax(0,1fr); align-items: flex-start; gap: 11px; }
    .fm-account-panel__heading > small { grid-column: 1 / -1; padding: 7px 9px; background: #f5faf8; border-radius: 8px; white-space: normal; }
    .fm-account-fields, .fm-address-fields, .fm-password-panel__fields { grid-template-columns: 1fr; }
    .woocommerce-account :is(.fm-account-fields,.fm-address-fields) .form-row-wide { grid-column: auto; }
    .fm-password-panel summary { padding-inline: 14px; }
    .fm-password-panel summary small { max-width: 215px; }
    .fm-password-panel__fields { padding: 16px; }
    .fm-account-form__actions { padding: 13px; align-items: stretch; flex-direction: column; justify-content: stretch; gap: 11px; }
    .woocommerce-account .fm-account-form__actions .button { width: 100%; }
    .fm-address-grid { grid-template-columns: 1fr; }
    .woocommerce-account .fm-address-grid .fm-address-card { min-height: 205px; }
	.fm-address-book-toolbar { align-items: stretch; flex-direction: column; }
	.woocommerce-account .fm-address-book-toolbar .button { width: 100%; text-align: center; }
	.fm-address-book-empty { padding: 20px 17px; grid-template-columns: 42px minmax(0,1fr); }
	.fm-address-book-empty .button { grid-column: 1 / -1; text-align: center; }
    .fm-order-card { padding: 15px; grid-template-columns: 1fr 1fr; gap: 13px; }
    .fm-order-card__main { grid-column: 1 / -1; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
    .fm-order-card__total { text-align: right; }
    .fm-order-card__actions { grid-column: 1 / -1; }
    .woocommerce-account .fm-order-card__actions .button { flex: 1; text-align: center; }
    .woocommerce-account .fm-order-card__actions .button.view { min-height: 44px; }
    .account-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
    .account-shortcut { min-height: 118px; padding: 15px; }
    .account-shortcut strong { margin-top: 13px; }
    .account-recent-orders { padding: 18px 14px; }
}

@media (max-width: 1050px) {
    .fm-filter-options__fields { grid-template-columns: repeat(3,minmax(0,1fr)); }
	.fm-filter-apply { width: 100%; }
}

@media (max-width: 700px) {
    .farmacia-legal-page .page-hero { padding-block: 27px 24px; }
    .farmacia-legal-page .content-page { width: min(100% - 30px,980px); padding-block: 22px 55px; }
    .fm-legal-lead { padding: 19px; }
    .fm-legal-index { align-items: flex-start; flex-direction: column; }
    .fm-withdrawal-form { padding: 16px; grid-template-columns: 1fr; }
    .fm-withdrawal-form__wide, .fm-withdrawal-form__footer { grid-column: auto; }
    .fm-withdrawal-form__footer { align-items: stretch; flex-direction: column; }
    .fm-withdrawal-form__footer button { width: 100%; }
    .fm-catalog-filter { padding: 8px; border-radius: 12px; }
    .fm-catalog-filter form { grid-template-columns: minmax(0,1fr) auto; }
    .fm-filter-options, .fm-filter-options[open] { grid-column: 1/-1; min-width: 0; }
    .fm-filter-options summary, .fm-filter-options[open] summary { width: 100%; margin: 0; justify-content: flex-start; }
    .fm-filter-options__fields { grid-template-columns: repeat(2,minmax(0,1fr)); padding-top: 9px; }
    .fm-filter-options__fields .fm-filter-apply { grid-column: 1/-1; }
    .fm-filter-clear { grid-column: 1/-1; padding: 3px 4px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
    .footer-bottom nav { flex-wrap: wrap; gap: 8px 15px; }
}

/* Contención móvil: los carruseles conservan su gesto horizontal sin ensanchar la página. */
@media (max-width: 560px) {
    html, body { max-width: 100%; overflow-x: hidden !important; }
    body.home { position: relative; width: 100%; max-width: 100vw; }
    body.home #contenido { width: 100%; max-width: 100vw; overflow-x: hidden; contain: layout paint inline-size; }
    body.home #contenido > section { width: auto; max-width: 100%; min-width: 0; overflow-x: hidden; contain: layout paint; }
    .site-main > section, .section, .bank-section, .social-section, .home-brands, .newsletter { max-width: 100%; min-width: 0; }
    .product-carousel, .bank-grid, .home-brands__track, .offer-products__grid, .offer-products-carousel, .filter-pills, .stories-grid--reels { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; contain: layout paint; overscroll-behavior-inline: contain; }
    .header-main { grid-template-columns: 35px minmax(0, 1fr) auto; }
    .header-main .brand-logo { width: 118px; }
    #productos .section-heading { align-items: center; }
    #productos .section-heading > .text-link { display: inline-flex; flex: none; font-size: .62rem; white-space: nowrap; }
    .product-carousel { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
    .product-carousel .product-card__body { padding: 10px; }
    .product-carousel .product-card h3 { font-size: .76rem; }
    .product-carousel .product-card__price strong { font-size: 1.02rem; }
    .product-carousel .product-card__price small { font-size: .57rem; }
}

@media (max-width: 360px) {
    .header-main .brand-logo { width: 104px; }
    .header-actions { gap: 2px; }
    .header-action { min-width: 24px; }
}

/* Respiración lateral y tarjetas más legibles en teléfonos. La vista de escritorio no cambia. */
@media (max-width: 680px) {
    .shell, .shell-wide { width: calc(100% - 32px); max-width: calc(100% - 32px); margin-inline: auto; }
    body.home #contenido > section.shell, body.home #contenido > section.shell-wide { width: calc(100% - 32px); max-width: calc(100% - 32px); margin-inline: auto; }
    .hero { margin-top: 12px; border-radius: 18px; }
    .hero-slide--visual img { object-position: center; }
    .bank-card--visual, .offer-feature--visual, .product-card, .story-card, .reel-card { border-radius: 15px; }
    .section { padding-top: 44px; }
    .section-heading { margin-bottom: 18px; }
    .product-carousel { padding-inline: 1px; grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
    .product-grid, .catalog-results .product-grid { gap: 12px; }
    .product-card__body, .product-grid .product-card__body, .product-carousel .product-card__body { padding: 11px; }
    .bank-grid { padding-inline: 1px; }
    .offer-layout--carousel { gap: 10px; }
    .home-brands { padding-inline: 14px; }
    .newsletter { padding: 25px 19px; }
}

@media (max-width: 380px) {
    .shell, .shell-wide { width: calc(100% - 28px); max-width: calc(100% - 28px); }
    body.home #contenido > section.shell, body.home #contenido > section.shell-wide { width: calc(100% - 28px); max-width: calc(100% - 28px); }
    .product-carousel { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
    .product-grid, .catalog-results .product-grid { gap: 10px; }
    .product-card__body, .product-grid .product-card__body, .product-carousel .product-card__body { padding: 9px; }
}

/* Avisos transaccionales legibles y con acciones cómodas en cualquier pantalla. */
.woocommerce-notices-wrapper { max-width: 100%; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { overflow-wrap: anywhere; font-size: .82rem; }
@media (max-width: 680px) {
    .woocommerce-notices-wrapper { margin-inline: auto; }
    .woocommerce-message, .woocommerce-info, .woocommerce-error { min-height: 58px; padding: 15px 14px 15px 51px !important; font-size: .78rem; line-height: 1.5; }
    .woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { display: inline-flex; min-height: 40px !important; margin: 10px 0 0 !important; padding: 7px 13px !important; align-items: center; float: none; line-height: 1.2 !important; }
}
