@import url('fonts.css?v=20261021-2');

/* Dynamic home cards keep a wrapping grid at every viewport size. */
.products.new-products .product-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
    transform: none;
}
.new-products .product-card-heading h3,
.new-products .product-card-footer { overflow-wrap: anywhere; }
.new-products .product-card-footer { flex-wrap: wrap; }
.new-products .product-availability { color: var(--brown-deep); font-size: 13px; }
.new-products [aria-disabled="true"] { opacity: .6; cursor: default; }
.new-products .products-status { padding: 20px; text-align: center; }
@media (max-width: 850px) {
    .products.new-products .product-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .products.new-products .product-track { grid-template-columns: minmax(0, 1fr); }
}

:root {
    --brown-deep: #593e2e;
    --brown: #8c5b3e;
    --sand: #bf9b7a;
    --light: #ededed;
    --white: #ffffff;
    --black: #000000;
    --text: #4a403a;
    --shadow: 0 12px 30px rgba(89, 62, 46, 0.12);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--light);
    line-height: 1.5;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); 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; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--black); color: var(--white); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--white); position: relative; z-index: 20; border-bottom: 2px solid var(--brown); box-shadow: 0 5px 12px rgba(89, 62, 46, .07); }
.topbar { width: calc(100% - 48px); min-height: 104px; display: grid; grid-template-columns: minmax(240px, 1fr) minmax(250px, 520px) minmax(240px, 1fr); align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brown-deep); width: max-content; }
.brand img { display: block; width: 154px; height: auto; }

.search { height: 46px; display: flex; align-items: center; border: 2px solid var(--brown); border-radius: 24px; padding-right: 16px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--brown); box-shadow: 0 0 0 4px rgba(191, 155, 122, .2); }
.search-icon { display: block; width: 15px; height: 15px; border: 2px solid var(--brown); border-radius: 50%; position: relative; flex: 0 0 auto; }
.search-icon::after { content: ""; width: 7px; height: 2px; background: var(--brown); position: absolute; right: -5px; bottom: -2px; transform: rotate(45deg); }
.search input { min-width: 0; width: 100%; border: 0; outline: 0; padding: 0 12px; color: var(--brown-deep); }
.search input::placeholder { color: var(--brown); opacity: .75; }
.search-decoration { display: grid; place-items: center; flex: 0 0 44px; width: 44px; align-self: stretch; pointer-events: none; user-select: none; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; }
.cart-button { display: flex; align-items: center; gap: 9px; border: 0; background: transparent; color: var(--brown-deep); cursor: pointer; padding: 10px; }
.cart-button span { font-size: 17px; white-space: nowrap; }
.cart-icon { display: block; width: 43px; height: 39px; object-fit: contain; transition: transform .2s; }
.cart-button:hover .cart-icon { transform: translateX(2px); }
.account-menu { position: relative; margin-left: 5px; }
.account-button { display: flex; align-items: center; gap: 4px; padding: 5px; border: 0; background: transparent; color: var(--brown); cursor: pointer; }
.account-button img { display: block; width: 40px; height: 40px; transition: transform .2s; }
.account-button:hover img { transform: translateY(-2px); }
.account-button span { font-size: 18px; transition: transform .2s; }
.header-actions .account-button[aria-expanded="true"] > span { transform: rotate(180deg); }
.account-dropdown { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; width: 175px; padding: 8px; border: 1px solid #e2d4c8; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.account-dropdown::before { content: ""; position: absolute; top: -7px; right: 25px; width: 13px; height: 13px; border-top: 1px solid #e2d4c8; border-left: 1px solid #e2d4c8; background: var(--white); transform: rotate(45deg); }
.account-dropdown a,
.account-dropdown button { position: relative; z-index: 1; display: block; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--brown-deep); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.account-dropdown a:hover,
.account-dropdown button:hover { background: var(--light); }
.account-dropdown a[href="login"],
.account-dropdown a[href="registro"] { display: flex; align-items: center; gap: 8px; }
.account-dropdown a[href="login"]::before,
.account-dropdown a[href="registro"]::before { content: ""; flex: 0 0 20px; width: 20px; height: 20px; background-position: center; background-repeat: no-repeat; background-size: contain; opacity: .65; }
.account-dropdown a[href="login"]::before { background-image: url('../icons/icon-login.svg'); }
.account-dropdown a[href="registro"]::before { background-image: url('../icons/icon-register.svg'); }
.main-nav .account-dropdown a::after { display: none; }
.account-logout-form { margin: 0; }
.account-logout-form button { color: #c62828; }
.account-logout-form button:hover { color: #a91515; }
.logout-confirm-dialog {
    width: min(390px, calc(100% - 40px));
    padding: 28px;
    border: 2px solid var(--sand);
    border-radius: 18px;
    background: var(--white);
    color: var(--brown-deep);
    box-shadow: 0 24px 70px rgba(59, 39, 28, .28);
    text-align: center;
}
.logout-confirm-dialog::backdrop { background: rgba(59, 39, 28, .42); backdrop-filter: blur(2px); }
.logout-confirm-dialog h2 { margin: 0 0 10px; color: var(--brown); font-size: 24px; line-height: 1.25; }
.logout-confirm-dialog p { margin: 0; color: #766961; line-height: 1.5; }
.logout-confirm-actions { display: flex; gap: 12px; margin-top: 24px; }
.logout-confirm-actions button { flex: 1; min-height: 46px; padding: 10px 16px; border: 2px solid var(--brown); border-radius: 24px; font: inherit; font-weight: 700; cursor: pointer; }
.logout-confirm-cancel { background: var(--white); color: var(--brown-deep); }
.logout-confirm-accept { background: var(--brown); color: var(--white); }
.logout-confirm-actions button:hover { border-color: var(--brown-deep); background: var(--brown-deep); color: var(--white); }
.logout-confirm-actions button:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--brown-deep); transition: transform .25s, opacity .25s; }
.menu-drawer-close { display: none; }
.main-nav .mobile-nav-brand { display: none; }
.mobile-account-menu-item { display: none; }

.nav-inner { min-height: 66px; display: flex; justify-content: center; align-items: center; position: relative; }
.main-nav ul { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.cart-nav-form { margin: 0; }
.main-nav a, .main-nav .cart-button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-width: 104px; padding: 8px 16px 7px; border-radius: 12px; color: #706761; font-size: 14px; text-align: center; transition: color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.main-nav a[href="#inicio"], .main-nav a[href="./#inicio"] { --nav-icon: url('../icons/icon-home.svg'); }
.main-nav a[href="#productos"], .main-nav a[href="productos"], .main-nav a[href="catalogo"] { --nav-icon: url('../icons/icon-book.svg'); }
.main-nav a[href="paneladministrativo"] { --nav-icon: url('../icons/add-cart.svg'); }
.main-nav a[href="#nosotros"], .main-nav a[href="./#nosotros"], .main-nav a[href="nosotros"] { --nav-icon: url('../icons/icon-group.svg'); }
.main-nav .purchases-nav-link { --nav-icon: url('../icons/icon-money.svg'); }
.main-nav a::after { content: ""; order: -1; flex-shrink: 0; width: 24px; height: 24px; background-color: currentColor; -webkit-mask: var(--nav-icon) center / contain no-repeat; mask: var(--nav-icon) center / contain no-repeat; transition: transform .25s ease; }
.main-nav a:hover, .main-nav .cart-button:hover { color: var(--brown); background: transparent; box-shadow: inset 0 -3px 0 var(--brown); }
.main-nav a:hover::after { transform: scale(1.1); }
.main-nav .cart-button span { font-size: inherit; }
.main-nav .cart-icon { order: -1; flex-shrink: 0; width: 26px; height: 24px; background-color: currentColor; -webkit-mask: url('../icons/icon-cart.svg') center / contain no-repeat; mask: url('../icons/icon-cart.svg') center / contain no-repeat; transition: transform .25s ease; }
.main-nav .cart-button:hover .cart-icon { transform: scale(1.1); }
.main-nav .cart-button .cart-count { position: absolute; top: 1px; right: 18px; z-index: 2; display: grid; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid var(--white); border-radius: 10px; background: var(--brown); color: var(--white); place-items: center; font-size: 10px; font-weight: 700; line-height: 1; }
.main-nav a.active { color: var(--brown); font-weight: 700; }
.main-nav .cart-button.active { color: var(--brown); font-weight: 700; }

main { width: 100%; margin: 0 auto 36px; }
.page-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.about-page { color: var(--brown); }
.about-story,
.about-process { width: min(1360px, calc(100% - 48px)); margin: 40px auto 0; padding: clamp(38px, 5vw, 72px); border-radius: 16px; background: var(--white); box-shadow: 0 9px 28px rgba(89, 62, 46, .07); }
.about-story-heading,
.about-process-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.about-story-heading p,
.about-process-heading p { margin: 0 0 5px; color: var(--sand); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-story-heading h1,
.about-process-heading h2 { margin: 0; color: var(--brown-deep); font-size: clamp(32px, 4vw, 48px); line-height: 1.15; }
.about-principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 70px); }
.about-principles article { padding-top: 22px; border-top: 3px solid var(--sand); }
.about-principles h2,
.about-values h2 { margin: 0 0 14px; color: var(--brown-deep); font-size: clamp(23px, 2.2vw, 30px); }
.about-principles p,
.about-values dd,
.about-process-copy p { margin: 0; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.75; }
.about-values { margin-top: clamp(44px, 6vw, 82px); }
.about-values > h2 { text-align: center; }
.about-values dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 28px 0 0; }
.about-values dl > div { padding: 24px; border: 1px solid #eadfd6; border-radius: 14px; background: #fbf8f5; }
.about-values dt { margin-bottom: 8px; color: var(--brown-deep); font-size: 19px; font-weight: 700; }
.about-values dd { margin: 0; font-size: 16px; }
.about-process { margin-bottom: 40px; }
.about-process-list { display: grid; gap: clamp(45px, 7vw, 90px); }
.about-process-step { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-process-step:nth-child(even) .about-process-copy { order: 2; }
.about-process-step video,.about-process-media { display: block; width: 100%; aspect-ratio: 16 / 8.5; border-radius: 28px; background: var(--brown-deep); object-fit: cover; box-shadow: var(--shadow); }
.about-process-copy span { display: inline-block; margin-bottom: 8px; color: var(--sand); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-process-copy h3 { margin: 0 0 12px; color: var(--brown-deep); font-size: clamp(23px, 2.4vw, 32px); line-height: 1.2; }

@media (max-width: 820px) {
    .about-page { text-align: center; }
    .about-story,
    .about-process { width: min(100% - 28px, 680px); margin-top: 22px; padding: 34px 24px; }
    .about-principles,
    .about-values dl { grid-template-columns: 1fr; }
    .about-story-heading,
    .about-process-heading { margin-bottom: 34px; }
    .about-process-step { grid-template-columns: 1fr; gap: 20px; }
    .about-process-step:nth-child(even) .about-process-copy { order: 0; }
    .about-process-step video { border-radius: 18px; }
}

@media (max-width: 480px) {
    .about-story,
    .about-process { width: 100%; margin-top: 12px; padding: 30px 18px; border-radius: 0; }
    .about-values dl > div { padding: 20px; }
    .about-process-step video { border-radius: 12px; }
}
.flash-offers { position: relative; z-index: 11; margin-top: -2px; padding: 0 0 34px; background: var(--light); }
.flash-offers .page-shell { width: 100%; max-width: none; padding: 0 40px 34px; border-block: 1px solid #eadfd6; background: var(--white); box-shadow: var(--shadow); }
.flash-offers-banner { display: flex; min-height: 66px; margin-inline: -40px; margin-bottom: 16px; padding: 9px 6%; align-items: center; justify-content: space-between; gap: 28px; border: 2px solid var(--brown-deep); background: var(--brown-deep); color: var(--white); }
.flash-offers-banner p { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; line-height: 1.2; }
.flash-countdown { display: grid; grid-template-columns: repeat(3, auto); gap: 16px; flex: 0 0 auto; }
.flash-countdown span { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 5px; }
.flash-countdown strong { min-width: 2ch; font-size: clamp(25px, 2.6vw, 34px); line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
.flash-countdown small { font-size: clamp(15px, 1.5vw, 20px); font-weight: 700; }
.flash-offers-heading { margin-bottom: 22px; }
.flash-offers-heading h2 { font-size: 21px; }
.flash-offers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.flash-offer-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #eadfd6; border-radius: 14px; background: var(--white); box-shadow: 0 8px 22px rgba(89, 62, 46, .08); transition: box-shadow .25s, transform .25s; }
.flash-offer-card:hover { box-shadow: 0 16px 34px rgba(89, 62, 46, .16); transform: translateY(-4px) scale(1.015); }
.flash-offer-card .product-card-link:hover { background: transparent; }
.flash-offer-card:nth-child(even) .product-image { background: transparent; }
.flash-cart-cta { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: var(--brown); cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.flash-cart-cta::before { content: ""; width: 30px; height: 30px; background: currentColor; -webkit-mask: url('../icons/add-cart.svg') center / contain no-repeat; mask: url('../icons/add-cart.svg') center / contain no-repeat; }
.flash-cart-cta:hover, .flash-cart-cta:focus-visible { background: var(--light); color: var(--brown-deep); transform: scale(1.06); }
.flash-cart-cta:focus-visible { outline: 2px solid var(--brown); outline-offset: 2px; }
.flash-cart-cta[aria-disabled="true"] { opacity: .5; cursor: default; }
.flash-offer-card .flash-buy-cta { width: 100%; min-width: 0; margin: 14px 0 0; align-self: stretch; border: 2px solid var(--brown); }
.product-buy-cta { display: inline-flex; min-height: 42px; margin-top: 16px; padding: 10px 22px; align-items: center; justify-content: center; border-radius: 22px; background: var(--brown); color: var(--white); font-size: 14px; font-weight: 700; transition: background-color .2s, transform .2s, box-shadow .2s; }
.product-card-link:hover .product-buy-cta { background: var(--brown-deep); box-shadow: 0 5px 14px rgba(89, 62, 46, .22); transform: translateY(-1px); }
.hero { width: 100%; height: 460px; position: relative; overflow: hidden; background: var(--sand); }
.hero-track { height: 100%; position: relative; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform 1s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }
.image-placeholder { background: #d7c4b3; position: relative; overflow: hidden; }
.image-placeholder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.2) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s; }
.image-placeholder:hover::after { transform: translateX(120%); }
.hero-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--sand), #d8c0aa); }
.hero-slide:first-child .hero-placeholder {
    background-color: var(--sand);
    background-image: url('../img/carrusel-principal-01.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-placeholder.alternate { background: linear-gradient(135deg, #d3b99e, #a77c5d); }
.hero-placeholder.dark { background: linear-gradient(135deg, #967056, var(--brown-deep)); }
.hero-slide:nth-child(2) .hero-placeholder,
.hero-slide:nth-child(3) .hero-placeholder {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-slide:nth-child(2) .hero-placeholder { background-image: url('../img/carrusel-principal-02.png'); }
.hero-slide:nth-child(3) .hero-placeholder { background-image: url('../img/carrusel-principal-03.png'); }
.offer-badge { position: absolute; z-index: 2; right: 9%; top: 25%; width: 145px; height: 68px; display: grid; place-content: center; text-align: center; background: rgba(255,255,255,.97); color: var(--brown-deep); border-radius: 38px; box-shadow: var(--shadow); }
.offer-badge small { font-size: 13px; font-weight: 700; }
.offer-badge strong { font-size: 18px; }
.side-tab-sticky { position: sticky; z-index: 30; top: 88px; height: 0; pointer-events: none; }
.side-tab { position: absolute; z-index: 3; top: 82px; left: 0; padding: 20px 9px; border: 0; border-radius: 0; outline: 0; box-shadow: none; -webkit-appearance: none; appearance: none; background: var(--brown-deep); color: var(--white); font-size: 10px; line-height: 1.4; letter-spacing: 1.5px; writing-mode: vertical-rl; transform: rotate(180deg); cursor: pointer; pointer-events: auto; }
.side-tab:focus, .side-tab:focus-visible { border-radius: 0; outline: 0; box-shadow: none; }
.hero-controls { position: absolute; z-index: 3; left: 50%; bottom: 15px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; }
.hero-dots { display: flex; gap: 12px; }
.dot { width: 64px; height: 18px; border: 3px solid var(--white); border-radius: 14px; background: transparent; cursor: pointer; transition: background .25s, width .25s; }
.dot.active { width: 22px; background: var(--white); }
.slider-arrow { display: none; }

.section-card { width: min(1180px, calc(100% - 40px)); margin-inline: auto; background: var(--white); border-radius: var(--radius); margin-top: 30px; overflow: hidden; box-shadow: 0 8px 24px rgba(89, 62, 46, .04); }
.products { width: 100%; max-width: none; padding: 30px 0 34px; border-radius: var(--radius) var(--radius) 0 0; box-shadow: none; }
.section-heading { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 28px; }
.section-heading span { width: 38px; height: 1px; background: var(--sand); }
.section-heading h2 { margin: 0; color: var(--brown); font-size: 18px; }
.product-carousel { position: relative; display: flex; align-items: center; }
.product-viewport { width: 100%; overflow: hidden; }
.product-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; width: calc(100% - 44px); margin-inline: auto; padding: 10px 4px 18px; border-radius: 14px; overflow: visible; background: var(--white); }
.product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #eadfd6; border-radius: 20px; background: var(--white); box-shadow: 0 10px 24px rgba(89, 62, 46, .1); transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: 0 16px 34px rgba(89, 62, 46, .16); transform: translateY(-4px) scale(1.015); }
.products .product-card { box-shadow: -12px 0 20px -18px rgba(89, 62, 46, .22), 12px 0 20px -18px rgba(89, 62, 46, .22); }
.products .product-card:hover { box-shadow: -15px 0 24px -19px rgba(89, 62, 46, .28), 15px 0 24px -19px rgba(89, 62, 46, .28); }
.product-card-link { display: block; height: 100%; padding: 20px 18px 22px; color: inherit; transition: background-color .25s; }
.products .product-card-link,
.flash-offer-card .product-card-link { display: flex; flex-direction: column; padding: 22px; }
.product-card-link:hover { background: #fbf8f5; }
.products .product-card-link:hover { background: transparent; }
.products .product-card-link:hover .product-buy-cta {
    background: var(--brown);
    box-shadow: none;
    transform: none;
}
.products .product-card-link:hover .product-buy-cta:hover {
    background: var(--brown-deep);
    box-shadow: 0 7px 18px rgba(89, 62, 46, .28);
    transform: scale(1.06);
}
.flash-offer-card .product-card-link:hover .product-buy-cta {
    background: var(--brown);
    box-shadow: none;
    transform: none;
}
.flash-offer-card .product-card-link:hover .product-buy-cta:hover {
    background: var(--brown-deep);
    box-shadow: 0 7px 18px rgba(89, 62, 46, .28);
    transform: scale(1.06);
}
.product-card-link:focus-visible { position: relative; z-index: 1; outline: 3px solid var(--sand); outline-offset: -3px; }
.product-image { width: min(100%, 160px); margin-inline: auto; aspect-ratio: .8 / 1; background: #d7d2cd; }
.product-card:nth-child(even) .product-image { background: #e2d1bf; }
.product-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.products .product-image,
.flash-offer-card .product-image {
    display: flex;
    width: min(100%, 200px);
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
}
.products .product-card:nth-child(even) .product-image { background: transparent; }
.products .product-image img,
.flash-offer-card .product-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-position: center;
}
.product-meta { padding: 14px 0 0; text-align: center; }
.products .product-card-heading,
.flash-offer-card .product-card-heading { padding: 0 0 16px; text-align: left; }
.products .product-card-heading h3,
.flash-offer-card .product-card-heading h3 { color: var(--brown-deep); font-size: 18px; }
.products .product-card-heading .product-description,
.flash-offer-card .product-card-heading .product-description { min-height: 0; margin: 5px 0 0; color: #766961; -webkit-line-clamp: 2; }
.product-card-footer { display: flex; margin-top: 18px; align-items: center; justify-content: space-between; gap: 14px; }
.cart-page { min-height: 55vh; padding-top: 42px; padding-bottom: 64px; }
.cart-page > h1 { color: var(--brown-deep); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.cart-items, .cart-summary, .cart-empty { border: 1px solid #e4d8d0; border-radius: 16px; background: #fff; padding: 24px; }
.cart-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid #eadfd8; }
.cart-item img { width: 120px; height: 120px; object-fit: contain; }
.cart-item h2 { margin: 0 0 8px; color: var(--brown-deep); font-size: 20px; }
.cart-item p { margin: 5px 0; }
.cart-item-actions { display: grid; gap: 8px; justify-items: end; }
.cart-item-actions form { display: flex; gap: 8px; align-items: end; }
.cart-item-actions button, .cart-clear { border: 0; background: transparent; color: var(--brown); cursor: pointer; font-weight: 700; }
.cart-remove, .cart-clear, .cart-warning { color: #b42318 !important; }
.cart-quantity-label { color: var(--brown-deep); }
.cart-quantity-control { display: grid; grid-template-columns: 38px 42px 38px; min-height: 38px; overflow: hidden; border: 1px solid #caa58f; border-radius: 9px; background: #fff; }
.cart-quantity-control button { display: grid; width: 38px; min-height: 38px; padding: 0; place-items: center; color: var(--brown); font-size: 21px; font-weight: 500; transition: background-color .2s ease; }
.cart-quantity-control button:hover:not(:disabled) { background: #f4ede8; }
.cart-quantity-control button:disabled { cursor: not-allowed; opacity: .38; }
.cart-quantity-control output { display: grid; min-width: 42px; place-items: center; border-inline: 1px solid #eadfd8; color: var(--brown-deep); font-weight: 700; }
.cart-item.is-updating { opacity: .65; pointer-events: none; }
.cart-remove-form { margin: 0; }
.cart-remove-form button { padding: 2px 0; color: #b42318; }
.cart-summary { position: sticky; top: 20px; }
.cart-summary p { display: flex; justify-content: space-between; gap: 20px; }
.cart-coupon-preview { margin: 22px 0; padding-top: 18px; border-top: 1px solid #eadfd8; }
.cart-coupon-preview label { display: block; margin-bottom: 8px; color: var(--brown-deep); font-size: 13px; font-weight: 700; }
.cart-coupon-preview > div { display: flex; gap: 8px; }
.cart-coupon-preview input { min-width: 0; width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--sand); border-radius: 9px; color: var(--brown-deep); background: #faf8f6; }
.cart-coupon-preview button { min-width: 78px; border: 0; border-radius: 20px; background: var(--sand); color: var(--white); font-weight: 700; }
.cart-coupon-preview :disabled { cursor: not-allowed; opacity: .72; }
.cart-coupon-preview small { display: block; margin-top: 7px; color: #8b7d75; }
.cart-primary-action { display: inline-flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 22px; background: var(--brown); color: #fff; cursor: pointer; font-weight: 700; text-decoration: none; }
.cart-notice { padding: 14px; border-radius: 10px; background: #f4ede8; }
.cart-footer-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.cart-footer-actions form { margin: 0; }
@media (max-width: 760px) { .cart-layout { grid-template-columns: 1fr; } .cart-item { grid-template-columns: 80px 1fr; } .cart-item img { width: 80px; height: 80px; } .cart-item-actions { grid-column: 1 / -1; justify-items: start; } }
.product-price-group { display: grid; gap: 2px; }
.product-original-price { margin: 0; color: #938b86; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.products .product-card-footer .product-buy-cta,
.flash-offer-card .product-card-footer .product-buy-cta { min-width: 104px; min-height: 40px; margin: 0; padding: 9px 20px; }
.product-cart-label {
    display: inline-flex;
    margin-top: 14px;
    align-items: center;
    align-self: center;
    gap: 7px;
    color: var(--brown);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease;
}
.product-cart-label:hover,
.product-cart-label:focus-visible { color: var(--sand); }
.product-cart-label[aria-disabled="true"] { cursor: default; }
.product-cart-label[aria-disabled="true"]:hover { color: var(--brown); }
.products .product-buy-cta { width: 100%; align-self: center; }
.product-meta h3 { margin: 0; color: var(--brown); font-size: 15px; font-weight: 700; }
.product-description { display: -webkit-box; min-height: 42px; margin: 8px 0 10px; overflow: hidden; color: #766961; font-size: 13px; font-weight: 400; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-price { margin: 0; color: var(--brown-deep); font-size: 21px; font-weight: 700; line-height: 1.25; }
.empty-results { text-align: center; color: var(--brown); }
.bundle-showcase { width: 100%; max-width: none; padding: 34px 40px 42px; border-radius: 0; }
.bundle-showcase .section-heading { margin-bottom: 8px; }
.bundle-intro { margin: 0 0 24px; color: #766961; text-align: center; font-size: 13px; }
.bundle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: min(1120px, 100%); margin-inline: auto; }
.bundle-card { display: grid; grid-template-columns: minmax(190px, .9fr) 1.1fr; align-items: center; min-width: 0; padding: 22px; border: 1px solid #eadfd6; border-radius: 18px; background: var(--white); box-shadow: 0 8px 22px rgba(89, 62, 46, .08); }
.bundle-images { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 8px; }
.bundle-images img { width: 42%; max-width: 105px; aspect-ratio: 1 / 1; object-fit: contain; }
.bundle-images span { color: var(--brown); font-size: 24px; font-weight: 700; }
.bundle-copy { min-width: 0; }
.bundle-status { display: inline-flex; padding: 4px 10px; border-radius: 14px; background: #f4ede8; color: var(--brown); font-size: 11px; font-weight: 700; }
.bundle-copy h3 { margin: 10px 0 6px; color: var(--brown-deep); font-size: 18px; }
.bundle-copy p { margin: 0 0 14px; color: #766961; font-size: 13px; line-height: 1.55; }
.bundle-copy button { min-height: 38px; padding: 8px 18px; border: 0; border-radius: 20px; background: var(--brown); color: var(--white); font-weight: 700; cursor: pointer; transition: background .2s, box-shadow .2s; }
.bundle-copy button:hover { background: var(--brown-deep); box-shadow: 0 5px 14px rgba(89, 62, 46, .22); }
@media (max-width: 850px) { .bundle-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bundle-showcase { padding-inline: 20px; } .bundle-card { grid-template-columns: 1fr; gap: 18px; text-align: center; } }

.catalog-page { padding: 38px 20px 0; }
.catalog-panel {
    width: min(1180px, 100%);
    margin-inline: auto;
    padding: 42px clamp(22px, 4vw, 58px) 58px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(89, 62, 46, .06);
}
.catalog-heading { margin-bottom: 34px; text-align: center; }
.catalog-heading p { margin: 0 0 5px; color: var(--sand); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.catalog-heading h1 { margin: 0; color: var(--brown); font-size: clamp(30px, 4vw, 50px); line-height: 1.15; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalog-grid .product-card-heading h3,
.catalog-grid .product-card-footer { overflow-wrap: anywhere; }
.catalog-grid .product-card-footer { flex-wrap: wrap; }
.catalog-grid .product-availability { color: var(--brown-deep); font-size: 13px; }
.catalog-grid [aria-disabled="true"] { opacity: .6; cursor: default; }
.catalog-status { text-align: center; }

@media (max-width: 850px) {
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .catalog-page { padding: 18px 12px 0; }
    .catalog-panel { padding: 30px 14px 36px; }
    .catalog-heading { margin-bottom: 24px; }
    .catalog-grid { grid-template-columns: 1fr; gap: 24px; }
}

.about { width: 100%; max-width: none; min-height: 0; aspect-ratio: 2.65 / 1; display: grid; grid-template-columns: 1.08fr .92fr; border-radius: 0; }
.about-visual {
    min-height: 0;
    background-color: #cbc5be;
    background-image: url('../img/librero-nosotros-hd.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.about-copy { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px; background: var(--sand); color: var(--white); text-align: center; }
.about-logo { display: block; width: min(265px, 75%); height: auto; filter: brightness(0) invert(1); }
.about-copy p { max-width: 430px; margin: 28px 0; font-size: 15px; }
.outline-button { min-width: 130px; padding: 12px 22px; border: 2px solid var(--brown); border-radius: 24px; background: var(--brown); color: var(--white); font-size: 16px; font-weight: 400; transition: background .2s, border-color .2s, box-shadow .2s; }
.outline-button:hover, .outline-button:active { border-color: var(--brown-deep); background: var(--brown-deep); color: var(--white); box-shadow: 0 4px 12px rgba(89, 62, 46, .2); }
.toast { position: fixed; right: 260px; bottom: 24px; z-index: 1200; padding: 12px 18px; border: 2px solid var(--sand); border-radius: 10px; background: var(--brown-deep); color: var(--white); box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.toast--top { top: 20px; right: auto; bottom: auto; left: 50%; width: max-content; max-width: calc(100vw - 32px); text-align: center; transform: translate(-50%, -20px); }
.toast.toast--top.show { opacity: 1; transform: translate(-50%, 0); }
.toast.has-action { display: flex; align-items: center; gap: 14px; pointer-events: auto; }
.toast.has-action a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.toast.has-action a:hover, .toast.has-action a:focus-visible { color: #f6ded0; }

body.loading-screen-open { overflow: hidden; }
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    min-width: 100%;
    min-height: 100%;
    background: rgba(255, 255, 255, .72);
    cursor: wait;
    overscroll-behavior: contain;
}
.loading-screen[hidden] { display: none; }
.loading-screen__spinner {
    width: 72px;
    height: 72px;
    border: 7px solid var(--brown);
    border-left-color: transparent;
    border-radius: 50%;
    animation: loading-screen-spin .8s linear infinite;
}

@keyframes loading-screen-spin {
    to { transform: rotate(1turn); }
}

@media (prefers-reduced-motion: reduce) {
    .loading-screen__spinner { animation-duration: .8s; }
}

.subscribe-modal { width: min(860px, calc(100% - 48px)); max-width: none; margin: auto 0; padding: 0; border: 0; border-radius: 0 18px 18px 0; overflow: visible; background: var(--white); color: var(--brown-deep); box-shadow: 0 24px 70px rgba(36, 25, 19, .35); }
.subscribe-modal[open] { display: grid; grid-template-columns: .9fr 1.1fr; will-change: transform, opacity; }
.subscribe-modal::backdrop { background: rgba(32, 24, 20, .66); backdrop-filter: blur(3px); }
.subscribe-modal-tab { position: absolute; top: 34px; right: -42px; z-index: 3; width: 42px; padding: 18px 10px; border: 0; border-radius: 0; outline: 0; -webkit-appearance: none; appearance: none; background: var(--brown-deep); color: var(--white); font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: 1.3px; writing-mode: vertical-rl; transform: rotate(180deg); cursor: pointer; box-shadow: 6px 6px 16px rgba(36, 25, 19, .2); }
.subscribe-modal-tab:focus, .subscribe-modal-tab:focus-visible { border-radius: 0; outline: 0; }
.subscribe-modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(89, 62, 46, .2); border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--brown-deep); font-size: 25px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.subscribe-modal-close:hover { background: var(--brown-deep); color: var(--white); }
.subscribe-modal-visual { display: flex; align-items: flex-end; min-height: 440px; padding: 34px; overflow: hidden; background: linear-gradient(180deg, rgba(45, 29, 19, .06), rgba(45, 29, 19, .7)), url('../img/carrusel-principal-02.png') center / cover no-repeat; color: var(--white); }
.subscribe-modal-visual p { margin: 0; font-size: clamp(29px, 4vw, 43px); font-weight: 700; line-height: 1.05; }
.subscribe-modal-visual span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; }
.subscribe-modal-content { display: flex; flex-direction: column; justify-content: center; padding: 54px 48px 44px; border-radius: 0 18px 18px 0; background: var(--white); }
.subscribe-modal-eyebrow { color: var(--brown); font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.subscribe-modal-content h2 { margin: 10px 0 14px; font-size: clamp(27px, 3vw, 38px); line-height: 1.15; }
.subscribe-modal-content > p { margin: 0 0 28px; color: #74645b; font-size: 14px; line-height: 1.65; }
.subscribe-modal-form { display: grid; gap: 10px; }
.subscribe-modal-form label { font-size: 12px; font-weight: 700; }
.subscribe-modal-form input { width: 100%; height: 48px; padding: 0 15px; border: 1px solid var(--sand); border-radius: 8px; outline: 0; color: var(--brown-deep); }
.subscribe-modal-form input:focus { border-color: var(--brown); box-shadow: 0 0 0 4px rgba(191, 155, 122, .2); }
.subscribe-modal-form button { min-height: 48px; margin-top: 4px; border: 0; border-radius: 24px; background: var(--brown); color: var(--white); cursor: pointer; transition: background .2s, box-shadow .2s; }
.subscribe-modal-form button:hover { background: var(--brown-deep); box-shadow: 0 5px 15px rgba(89, 62, 46, .22); }
.subscribe-modal-content small { margin-top: 16px; color: #8b7d75; font-size: 10px; line-height: 1.5; }
body.modal-open { overflow: hidden; }

.site-footer { width: 100%; margin-top: 34px; color: var(--white); }
.newsletter { min-height: 116px; display: flex; align-items: center; justify-content: center; gap: 64px; padding: 24px 40px; background: var(--white); color: var(--brown-deep); }
.standalone-newsletter { margin-top: 34px; margin-bottom: 0; }
.standalone-newsletter + .site-footer { margin-top: 0; }
.newsletter-copy h2 { margin: 0 0 5px; font-size: 18px; }
.newsletter-copy p { margin: 0; color: var(--brown); font-size: 12px; }
.newsletter-form { display: flex; align-items: center; gap: 24px; width: min(570px, 50%); }
.newsletter-form input { width: 100%; height: 44px; padding: 0 14px; border: 2px solid var(--brown); outline: 0; color: var(--brown-deep); transition: box-shadow .2s, border-color .2s; }
.newsletter-form input:focus { border-color: var(--sand); box-shadow: 0 0 0 4px rgba(191,155,122,.2); }
.newsletter-form button { flex: 0 0 auto; min-width: 130px; padding: 12px 22px; border: 0; border-radius: 24px; background: var(--brown); color: var(--white); cursor: pointer; transition: background .2s, transform .2s; }
.newsletter-form button:hover { background: var(--brown-deep); box-shadow: 0 4px 12px rgba(89, 62, 46, .2); }
.footer-main { display: grid; grid-template-columns: 31% 69%; min-height: 310px; }
.footer-brand-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; padding: 38px 36px; background: var(--sand); text-align: center; }
.footer-logo img { display: block; width: 165px; height: auto; filter: brightness(0) invert(1); }
.footer-brand-panel p { max-width: 300px; margin: 0; font-size: 12px; line-height: 1.7; }
.footer-links-panel { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 50px; align-items: start; padding: 45px 54px 32px; background: var(--brown); }
.footer-column h3 { display: inline-block; margin: 0 0 16px; padding-bottom: 6px; border-bottom: 3px solid var(--white); font-size: 15px; }
.footer-column ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.footer-column li { display: flex; gap: 8px; align-items: center; }
.footer-column li::before { content: ">"; font-weight: 700; }
.contact-column li::before { display: none; }
.footer-column a { transition: opacity .2s, transform .2s; }
.footer-column a:hover { opacity: .72; }
.footer-bottom { min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 15px; background: #969696; }
.payment-methods { display: flex; align-items: center; gap: 22px; font-size: 23px; }
.payment-placeholder { width: 42px; height: 25px; border: 2px solid var(--white); border-radius: 3px; transform: rotate(-8deg); }
.footer-bottom p { margin: 0; font-size: 11px; }

@keyframes mobile-nav-enter { from { transform: translate3d(100%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes mobile-nav-exit { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(100%, 0, 0); } }
@keyframes mobile-nav-enter-reduced { from { opacity: 0; transform: translate3d(12px, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes mobile-nav-exit-reduced { from { opacity: 1; transform: translate3d(0, 0, 0); } to { opacity: 0; transform: translate3d(12px, 0, 0); } }
@keyframes mobile-nav-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes mobile-nav-backdrop-exit { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .loading-screen__spinner { animation-duration: .8s !important; }
    .main-nav.open { animation-name: mobile-nav-enter-reduced !important; animation-duration: .18s !important; }
    .main-nav.open.closing { animation-name: mobile-nav-exit-reduced !important; animation-duration: .18s !important; }
    .site-header:has(.main-nav.open)::before { animation-duration: .18s !important; }
}

@media (min-width: 1200px) {
    .site-header { container-type: inline-size; --account-width: 72px; display: grid; grid-template-columns: 154px minmax(180px, 1fr) max-content var(--account-width); align-items: center; gap: 16px; min-height: 104px; padding: 20px 24px; }
    .topbar { display: contents; }
    .topbar .brand { grid-column: 1; grid-row: 1; }
    .topbar .search { grid-column: 2; grid-row: 1; width: min(100%, 520px); justify-self: center; }
    .topbar .header-actions { grid-column: 4; grid-row: 1; }
    .header-actions .account-menu { margin-left: 0; }
    /* Half of the empty space after the centered search belongs on each side of the navigation. */
    .main-nav { grid-column: 3; grid-row: 1; translate: min(0px, calc((520px + 154px + 48px + var(--account-width) + 100% - 100cqw) / 4)) 0; }
    .nav-inner { width: 100%; min-height: 46px; }
    .main-nav ul { gap: 8px; }
    .main-nav a, .main-nav .cart-button { min-width: 0; padding-inline: 12px; white-space: nowrap; }
}

@media (max-width: 850px) {
    .topbar { grid-template-columns: auto 1fr auto; min-height: 86px; gap: 18px; }
    .brand img { width: 118px; }
    .main-nav a, .main-nav .cart-button { min-width: 88px; padding-inline: 12px; }
    .hero { height: 390px; }
    .product-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flash-offers .page-shell { width: 100%; padding-inline: 28px; }
    .flash-offers-banner { margin-inline: -28px; padding-inline: 28px; }
    .newsletter { gap: 30px; }
    .newsletter-form { width: 52%; gap: 10px; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-brand-panel { min-height: 250px; }
    .footer-links-panel { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 850px) {
    .site-header { z-index: 40; }
    .toast.toast--top { top: max(76px, calc(56px + env(safe-area-inset-top))); }
    .site-header:has(.main-nav.open)::before { content: ""; position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, .28); animation: mobile-nav-backdrop-enter .42s both; }
    .site-header:has(.main-nav.closing)::before { animation-name: mobile-nav-backdrop-exit; }
    .header-actions .account-menu { display: none; }
    .menu-toggle { position: relative; z-index: 22; display: block; }
    .menu-toggle.open { opacity: 0; pointer-events: none; }
    .main-nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 21; width: min(78vw, 360px); height: 100vh; height: 100dvh; overflow: visible; background: var(--white); border-radius: 28px 0 0 28px; box-shadow: -8px 0 24px rgba(89, 62, 46, .18); transform: translate3d(100%, 0, 0); visibility: hidden; will-change: transform; }
    .main-nav.open { visibility: visible; animation: mobile-nav-enter .42s cubic-bezier(.4, 0, .2, 1) both; }
    .main-nav.open.closing { pointer-events: none; animation: mobile-nav-exit .42s cubic-bezier(.4, 0, .2, 1) both; }
    .menu-drawer-close { position: absolute; top: 50%; left: -18px; z-index: 23; display: grid; place-items: center; width: 36px; height: 72px; padding: 0; border: 2px solid var(--brown); border-radius: 18px; background: var(--white); color: var(--brown-deep); transform: translateY(-50%); cursor: pointer; }
    .menu-drawer-close span { font-size: 28px; font-weight: 700; line-height: 1; }
    .nav-inner {
        width: 100%;
        height: 100%;
        min-height: 100%;
        padding: max(clamp(40px, 10dvh, 96px), env(safe-area-inset-top)) 16px max(88px, calc(64px + env(safe-area-inset-bottom)));
        overflow-y: auto;
        overscroll-behavior: contain;
        flex-direction: column;
        justify-content: flex-start;
    }
    .main-nav .mobile-nav-brand { display: block; flex: 0 0 auto; width: 140px; min-height: 0; margin: 0 auto 24px; padding: 0; }
    .mobile-nav-brand img { display: block; width: 100%; height: auto; }
    .main-nav .mobile-nav-brand::after { display: none; }
    .main-nav ul { width: 100%; margin: 0 auto; flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav li { width: 100%; min-height: 52px; }
    .main-nav a, .main-nav .cart-button { width: 100%; min-width: 0; min-height: 52px; flex-direction: row; justify-content: center; gap: 14px; padding: 12px 10px; border-radius: 0; text-align: center; }
    .main-nav .cart-button .cart-count { position: static; order: 1; min-width: 19px; margin-left: -7px; align-self: center; }
    .main-nav a:hover, .main-nav .cart-button:hover { background: var(--light); box-shadow: none; }
    .main-nav a:focus-visible, .main-nav a:active, .main-nav a.active { color: var(--brown); }
    .main-nav .mobile-account-menu-item { position: relative; display: block; margin-top: 0; }
    .mobile-account-menu-item .account-menu { width: 100%; margin: 0; }
    .mobile-account-menu-item .account-button { width: 100%; min-height: 52px; justify-content: center; gap: 14px; padding: 12px 10px; color: #706761; transition: color .25s; }
    .mobile-account-menu-item .account-button[aria-expanded="true"] { color: var(--brown); }
    .mobile-account-menu-item .account-button img { display: none; }
    .mobile-account-menu-item .account-button::before { content: ""; flex: 0 0 auto; width: 24px; height: 24px; background: currentColor; -webkit-mask: url('../icons/icon-user.svg') center / contain no-repeat; mask: url('../icons/icon-user.svg') center / contain no-repeat; }
    .mobile-account-menu-item .mobile-account-label { display: inline; font-size: 14px; transform: none; }
    .mobile-account-menu-item .mobile-account-chevron { display: grid; width: 20px; height: 20px; flex: 0 0 20px; font-size: 14px; line-height: 1; place-items: center; transform: none; transition: transform .2s; transform-origin: center; }
    .mobile-account-menu-item .account-button[aria-expanded="true"] .mobile-account-label { transform: none; }
    .mobile-account-menu-item .account-button[aria-expanded="true"] .mobile-account-chevron { transform: rotate(180deg); }
    .mobile-account-menu-item .account-dropdown { position: static; width: 100%; margin-top: 4px; box-shadow: none; text-align: center; }
    .mobile-account-menu-item .account-dropdown a,
    .mobile-account-menu-item .account-dropdown button { display: flex; min-height: 52px; padding: 12px 10px; align-items: center; justify-content: center; text-align: center; }
    .mobile-account-menu-item .account-dropdown::before { display: none; }
}

@media (max-width: 850px) and (max-height: 700px) {
    .nav-inner { justify-content: flex-start; }
    .main-nav ul { flex: 0 0 auto; padding-bottom: calc(160px + env(safe-area-inset-bottom)); }
    .subscribe-modal-content { max-height: calc(100dvh - 204px); justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 600px) {
    .container { width: min(100% - 24px, 1180px); }
    .topbar { width: calc(100% - 24px); grid-template-columns: auto 1fr auto; gap: 10px; padding-block: 12px; }
    .brand img { width: 94px; }
    .search { height: 42px; }
    .search:focus-within { box-shadow: none; }
    .search input {
        font-size: 16px;
        background-color: transparent;
        border-radius: 0;
        box-shadow: none;
        -webkit-appearance: none;
        appearance: none;
    }
    .cart-button { padding: 8px 5px; }
    .account-button { padding-inline: 2px; }
    .account-button span { display: none; }
    .hero { width: 100%; height: 330px; margin-inline: 0; }
    .page-shell { width: calc(100% - 24px); }
    .flash-offers { padding: 0 0 24px; }
    .flash-offers .page-shell { width: 100%; padding: 0 12px 24px; }
    .flash-offers-banner { min-height: 0; margin: 0 -12px 18px; padding: 12px 16px; align-items: flex-start; flex-direction: column; gap: 10px; }
    .flash-offers-banner p { font-size: 19px; }
    .side-tab-sticky { top: 72px; }
    .side-tab { top: 116px; padding: 16px 8px; font-size: 9px; }
    .flash-countdown { width: 100%; justify-content: space-between; gap: 10px; }
    .flash-countdown strong { font-size: 26px; }
    .flash-countdown small { font-size: 14px; }
    .flash-offers-heading { margin-bottom: 18px; }
    .flash-offers-heading h2 { font-size: 18px; }
    .flash-offers-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc(100% - 28px);
        gap: 12px;
        padding: 4px 20px 16px 0;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }
    .flash-offers-grid::-webkit-scrollbar { display: none; }
    .flash-offer-card { scroll-snap-align: start; scroll-snap-stop: always; }
    .flash-offer-card .product-card-link { display: flex; padding: 20px; }
    .flash-offer-card .product-image { width: min(100%, 200px); }
    .flash-offer-card .product-card-heading { padding: 0 0 16px; text-align: left; }
    .flash-offer-card .flash-buy-cta { width: 100%; margin-top: 14px; }
    .section-card { width: calc(100% - 24px); }
    .products { width: 100%; }
    .about { width: 100%; }
    .offer-badge { top: 24%; right: 7%; width: 112px; height: 62px; }
        .dot { width: 40px; height: 14px; }
    .section-card { margin-top: 18px; border-radius: 13px; }
    .products { padding-top: 23px; border-radius: var(--radius) var(--radius) 0 0; }
    .section-heading { margin-bottom: 18px; }
    .section-heading h2 { font-size: 16px; }
    .product-track {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc(100% - 28px);
        width: calc(100% - 24px);
        padding-right: 20px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }
    .product-track::-webkit-scrollbar { display: none; }
    .product-track .product-card { scroll-snap-align: start; scroll-snap-stop: always; }
    .product-card-link { padding: 14px 10px 18px; }
    .products .product-card-link { padding: 20px; }
    .product-description { font-size: 12px; }
    .product-price { font-size: 19px; }
    .about { grid-template-columns: 1fr; aspect-ratio: auto; }
    .about.section-card { border-radius: 0; }
    .about-visual { min-height: 0; aspect-ratio: 1500 / 1049; }
    .about-copy { min-height: 300px; padding: 36px 24px; }
    .newsletter { flex-direction: column; align-items: stretch; gap: 18px; padding: 28px 20px; text-align: center; }
    .newsletter-form { width: 100%; flex-direction: column; gap: 10px; }
    .newsletter-form button { width: 100%; }
    .footer-main { grid-template-columns: 31% 69%; min-height: 230px; }
    .footer-brand-panel { min-height: 230px; gap: 18px; padding: 20px 8px; }
    .footer-logo img { width: min(92px, 88%); margin-inline: auto; }
    .footer-brand-panel p { font-size: 9px; line-height: 1.45; }
    .footer-links-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 32px 10px 24px; }
    .footer-column h3 { margin-bottom: 10px; padding-bottom: 4px; border-bottom-width: 2px; font-size: 10px; }
    .footer-column ul { gap: 10px; font-size: 8px; line-height: 1.35; }
    .footer-column li { gap: 3px; align-items: flex-start; }
    .footer-bottom { min-height: 72px; gap: 7px; padding: 10px; }
    .footer-bottom p { font-size: 8px; }
    .toast { right: 12px; bottom: 192px; }
    .subscribe-modal[open] { grid-template-columns: 1fr; }
    .subscribe-modal-visual { min-height: 180px; padding: 24px; }
    .subscribe-modal-visual p { max-width: 260px; }
    .subscribe-modal-content { padding: 32px 24px 28px; }
    .payment-methods { gap: 10px; font-size: 15px; }
    .payment-placeholder { width: 30px; height: 18px; }
}

@media (max-width: 390px) {
    .footer-main { grid-template-columns: 32% 68%; }
    .footer-brand-panel { padding-inline: 6px; }
    .footer-logo img { width: min(78px, 90%); }
    .footer-brand-panel p { font-size: 8px; }
    .footer-links-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding-inline: 7px; }
    .footer-column h3 { font-size: 8px; }
    .footer-column ul { gap: 8px; font-size: 7px; }
}

/* Login */
.login-page {
    display: grid;
    min-height: 590px;
    margin: 0;
    padding: 20px 20px 70px;
    place-items: start center;
    background: #f4f4f4;
}
.login-panel {
    position: relative;
    width: min(650px, 100%);
    min-width: 0;
    margin-inline: auto;
    padding-top: 58px;
}
.login-avatar {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 116px;
    height: 116px;
    border: 3px solid var(--brown);
    border-radius: 50%;
    background: var(--white);
    place-items: center;
    transform: translateX(-50%);
}
.login-avatar img {
    display: block;
    width: 88%;
    height: 88%;
}
.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    min-height: 390px;
    padding: 61px 46px 30px;
    overflow: hidden;
    border: 3px solid var(--brown);
    border-radius: 16px;
    background: var(--white);
}
.login-card::before,
.login-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    background: #eee9e5;
    pointer-events: none;
}
.login-card::before {
    top: -220px;
    left: -190px;
    width: 410px;
    height: 410px;
}
.login-card::after {
    right: -210px;
    bottom: -240px;
    width: 450px;
    height: 450px;
}
.login-card > * {
    position: relative;
    z-index: 1;
}
.login-title {
    margin: 12px 0 24px;
    color: var(--brown-deep);
    font-size: 27px;
    line-height: 1.2;
    text-align: center;
}
.login-form { display: grid; gap: 22px; }
.login-field { display: grid; gap: 8px; }
.login-field label {
    color: var(--brown-deep);
    font-size: 15px;
    font-weight: 700;
}
.login-input-wrap { position: relative; }
.login-input-wrap::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    width: 25px;
    height: 25px;
    background-color: var(--brown);
    transform: translateY(-50%);
    pointer-events: none;
}
.login-input-wrap--email::before {
    -webkit-mask: url('../icons/icon-email.svg') center / contain no-repeat;
    mask: url('../icons/icon-email.svg') center / contain no-repeat;
}
.login-input-wrap--password::before {
    width: 21px;
    height: 25px;
    -webkit-mask: url('../icons/icon-lock-keyhole.svg') center / contain no-repeat;
    mask: url('../icons/icon-lock-keyhole.svg') center / contain no-repeat;
}
.login-input-wrap input {
    width: 100%;
    height: 48px;
    padding: 0 52px;
    border: 3px solid var(--brown);
    border-radius: 15px;
    outline: 0;
    background: var(--white);
    color: var(--brown-deep);
    font-size: 14px;
    font-weight: 600;
    transition: border-color .2s, box-shadow .2s;
}
.login-input-wrap input::placeholder { color: #aaa7a5; opacity: 1; }
.login-input-wrap input:focus {
    border-color: var(--brown-deep);
    box-shadow: 0 0 0 4px rgba(191, 155, 122, .25);
}
.login-password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background-color: var(--brown);
    -webkit-mask: url('../icons/icon-password-show.svg') center / 28px auto no-repeat;
    mask: url('../icons/icon-password-show.svg') center / 28px auto no-repeat;
    cursor: pointer;
    transform: translateY(-50%);
}
.login-password-toggle[aria-pressed="true"] {
    -webkit-mask-image: url('../icons/icon-password-hide.svg');
    mask-image: url('../icons/icon-password-hide.svg');
}
.login-password-toggle:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }
.login-submit {
    min-width: 220px;
    min-height: 48px;
    margin: 6px auto 0;
    padding: 11px 32px;
    border: 0;
    border-radius: 15px;
    background: var(--brown);
    color: var(--white);
    font-size: 15px;
    cursor: pointer;
    transition: background-color .2s, box-shadow .2s, transform .2s;
}
.login-submit:hover { background: var(--brown-deep); box-shadow: var(--shadow); transform: translateY(-1px); }
.login-submit:focus-visible { outline: 3px solid var(--brown-deep); outline-offset: 3px; }
.login-recovery {
    margin: 32px 0 0;
    color: var(--black);
    font-size: 14px;
    text-align: center;
}
.login-recovery a {
    color: var(--brown);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color .2s;
}
.login-recovery a:hover { color: var(--sand); }
.login-recovery a:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
.login-register {
    display: flex;
    width: calc(100% - 110px);
    min-height: 64px;
    margin: -2px auto 0;
    padding: 15px 26px;
    align-items: center;
    justify-content: center;
    gap: 32px;
    border: 2px solid var(--brown-deep);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    background: var(--brown);
    color: var(--white);
    font-size: 15px;
}
.login-register a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color .2s;
}
.login-register a:hover { color: var(--sand); }
.login-register a:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.login-alert {
    position: absolute;
    top: -8px;
    left: 50%;
    z-index: 4;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 14px 26px;
    border: 2px solid var(--brown);
    border-radius: 14px;
    background: var(--white);
    color: var(--brown-deep);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 10px 24px rgba(89, 62, 46, .15);
    transform: translateX(-50%);
    will-change: opacity, transform;
}
.login-alert[hidden] { display: none; }
.login-alert.is-entering { animation: login-alert-enter 1.8s cubic-bezier(.25, .1, .25, 1) both; }
.login-alert.is-leaving { animation: login-alert-exit 1.4s cubic-bezier(.45, 0, .55, 1) both; }

@keyframes login-alert-enter {
    0% { opacity: 0; transform: translate(-50%, -4px); }
    100% { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes login-alert-exit {
    from { opacity: 1; transform: translate(-50%, 0); }
    to { opacity: 0; transform: translate(-50%, -8px); }
}

@media (max-width: 760px) {
    .login-page { min-height: 570px; padding: 18px 14px 60px; overflow-x: clip; }
    .login-panel { width: 100%; padding-top: 52px; }
    .login-avatar { width: 104px; height: 104px; border-width: 3px; }
    .login-card { min-height: 0; padding: 61px 22px 28px; border-width: 2px; }
    .login-title { margin: 10px 0 20px; font-size: 23px; }
    .login-form { gap: 22px; }
    .login-field { gap: 9px; }
    .login-field label { font-size: 17px; }
    .login-input-wrap input { height: 50px; padding-left: 50px; padding-right: 48px; border-width: 2px; font-size: 14px; }
    .login-input-wrap::before { left: 15px; width: 25px; height: 25px; }
    .login-input-wrap--password::before { width: 21px; height: 25px; }
    .login-password-toggle { right: 10px; }
    .login-submit { width: min(100%, 230px); min-width: 0; min-height: 48px; font-size: 15px; }
    .login-recovery { margin-top: 30px; font-size: 14px; }
    .login-register { width: calc(100% - 34px); min-height: 64px; padding: 15px; gap: 18px; font-size: 14px; }
    .login-alert { top: -6px; padding: 12px 20px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .login-alert { will-change: auto; }
    .login-alert.is-entering,
    .login-alert.is-leaving { animation-duration: .6s !important; }
    .login-alert.is-entering { animation-duration: .8s !important; }
    .login-alert.is-entering { animation-name: login-alert-enter-reduced !important; }
    .login-alert.is-leaving { animation-name: login-alert-exit-reduced !important; }
}

@keyframes login-alert-enter-reduced {
    from { opacity: 0; transform: translateX(-50%); }
    to { opacity: 1; transform: translateX(-50%); }
}

@keyframes login-alert-exit-reduced {
    from { opacity: 1; transform: translateX(-50%); }
    to { opacity: 0; transform: translateX(-50%); }
}

@media (max-width: 390px) {
    .login-page { padding-inline: 10px; }
    .login-card { padding-inline: 16px; }
    .login-recovery { display: flex; justify-content: center; gap: 4px; white-space: nowrap; }
    .login-register { width: calc(100% - 20px); flex-direction: row; gap: 8px; white-space: nowrap; }
}

/* Registro */
.registration-page {
    display: grid;
    min-height: 1080px;
    margin: 0;
    padding: 118px 24px 92px;
    place-items: start center;
    background: #f4f4f4;
}
.registration-panel {
    position: relative;
    width: min(650px, 100%);
}
.registration-avatar {
    position: absolute;
    top: -104px;
    left: 50%;
    z-index: 3;
    display: grid;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #f4f4f4;
    place-items: center;
    transform: translateX(-50%);
}
.registration-avatar img {
    display: block;
    width: 104px;
    height: 104px;
}
.registration-avatar-key {
    position: absolute;
    top: 96px;
    left: 50%;
    display: flex;
    width: 166px;
    height: 62px;
    border: 7px solid var(--brown);
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--brown);
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 8px;
    line-height: 1;
    transform: translateX(-50%);
}
.registration-card {
    position: relative;
    z-index: 1;
    min-height: 0;
    padding: 84px 30px 28px;
    overflow: hidden;
    border: 3px solid var(--brown);
    border-radius: 16px;
    background: var(--white);
}
.registration-title { position: relative; z-index: 1; margin: 10px 0 24px; color: var(--brown-deep); font-size: 27px; line-height: 1.2; text-align: center; }
.registration-card::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -450px;
    z-index: 0;
    width: 850px;
    height: 1150px;
    border-radius: 50% 0 0 50%;
    background: #e6dfdb;
    pointer-events: none;
    transform: rotate(13deg);
}
.registration-form {
    position: relative;
    z-index: 1;
}
.registration-response-alert { position: relative; z-index: 1; margin: 0 0 18px; padding: 11px 14px; border: 1px solid #b86a55; border-radius: 10px; background: #fff7f4; color: var(--brown-deep); font-size: 13px; text-align: center; }
.registration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 18px;
}
.registration-field {
    display: grid;
    align-content: start;
    gap: 10px;
}
.registration-email-field { grid-column: 1 / -1; }
.registration-field label {
    color: var(--brown-deep);
    font-size: 15px;
    font-weight: 700;
}
.registration-field input:not([type="checkbox"]),
.registration-field select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 3px solid var(--brown);
    border-radius: 15px;
    outline: 0;
    background: var(--white);
    color: var(--brown-deep);
    font-size: 13px;
    font-weight: 600;
    transition: border-color .2s, box-shadow .2s;
}
.registration-field select { padding-right: 48px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23593e2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: right 24px center; background-repeat: no-repeat; background-size: 12px 7px; }
.registration-select-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0 !important; }
.registration-system-select { position: relative; width: 100%; }
.registration-system-select-trigger { display: flex; width: 100%; height: 48px; padding: 0 48px 0 14px; align-items: center; border: 3px solid var(--brown); border-radius: 15px; outline: 0; background: var(--white); color: var(--brown-deep); font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.registration-system-select-trigger::after { content: ""; position: absolute; right: 24px; width: 12px; height: 7px; background: var(--brown-deep); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='2'/%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 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.registration-system-select-trigger.is-placeholder { color: #a98f7f; }
.registration-system-select-trigger:focus-visible { border-color: var(--brown-deep); box-shadow: 0 0 0 4px rgba(191, 155, 122, .25); }
.registration-system-select-list { position: absolute; top: calc(100% + 4px); right: 0; left: 0; z-index: 20; max-height: 260px; padding: 6px; overflow-y: auto; overscroll-behavior: contain; border: 2px solid var(--brown); border-radius: 12px; background: var(--white); box-shadow: 0 12px 28px rgba(89, 62, 46, .18); }
.registration-system-select-option { display: block; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 8px; outline: 0; background: var(--white); color: var(--brown-deep); font: inherit; text-align: left; cursor: pointer; }
.registration-system-select-option:hover, .registration-system-select-option:focus-visible { background: #f2e7de; }
.registration-system-select-option.is-selected, .registration-system-select-option[aria-selected="true"] { background: var(--brown); color: var(--white); }
.registration-system-select-trigger:disabled { cursor: default; opacity: .72; }
.registration-field input::placeholder {
    color: #906c57;
    opacity: 1;
}
#registration-city:invalid { color: #a98f7f; }
#registration-city option { color: var(--brown-deep); }
#registration-state option:checked,
#registration-city option:checked { background: var(--brown); color: var(--white); }
.registration-city-hint { min-height: 17px; color: #a98f7f; font-size: 12px; font-weight: 500; line-height: 1.35; text-align: left; }
.registration-system-select.is-enabled + .registration-city-hint { visibility: hidden; }
.registration-field input:focus,
.registration-field select:focus {
    border-color: var(--brown-deep);
    box-shadow: 0 0 0 4px rgba(191, 155, 122, .25);
}

.registration-date-trigger {
    width: 100%;
    height: 48px;
    margin-top: 24px;
    padding: 0 16px;
    border: 2px solid var(--brown);
    border-radius: 14px;
    background: var(--white);
    color: #906c57;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

.registration-date-trigger.has-value {
    color: var(--brown-deep);
}

.registration-date-trigger:focus-visible {
    border-color: var(--brown-deep);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(191, 155, 122, .25);
}

.registration-date-dialog {
    width: min(660px, calc(100% - 32px));
    max-width: none;
    margin: auto;
    padding: 38px 42px 34px;
    overflow: visible;
    border: 2px solid var(--sand);
    border-radius: 18px;
    background: var(--white);
    color: var(--brown-deep);
    box-shadow: 0 24px 70px rgba(59, 39, 28, .28);
}

.registration-date-dialog::backdrop {
    background: rgba(59, 39, 28, .34);
    backdrop-filter: blur(2px);
}

.registration-date-dialog h2 {
    margin: 0 0 28px;
    color: var(--brown);
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 500;
    line-height: 1.2;
}

.registration-date-content { display: contents; }

.registration-date-close {
    position: absolute;
    top: -22px;
    right: -18px;
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 3px solid var(--sand);
    border-radius: 50%;
    background: var(--white);
    color: var(--brown);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    place-items: center;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}

.registration-date-close::before {
    content: "×";
    display: block;
    font-size: 32px;
    line-height: 1;
    transform: translateY(-1px);
}

.registration-date-close:hover {
    border-color: var(--brown);
    background: var(--brown);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(89, 62, 46, .2);
}

.registration-date-close:active {
    border-color: var(--brown-deep);
    background: var(--brown-deep);
    color: var(--white);
    transform: scale(.92);
}
.registration-date-close.is-pressed { border-color: var(--brown); background: var(--brown); color: var(--white); box-shadow: 0 6px 16px rgba(89, 62, 46, .2); transform: scale(.92); }

.registration-date-grid {
    display: grid;
    grid-template-columns: minmax(82px, .75fr) minmax(160px, 1.5fr) minmax(100px, .9fr);
    gap: 28px;
}

.registration-date-grid label {
    display: grid;
    gap: 12px;
}

.registration-date-grid label > span {
    color: var(--brown);
    font-size: 20px;
}

.registration-date-grid select {
    width: 100%;
    height: 54px;
    padding: 0 12px;
    border: 2px solid var(--sand);
    border-radius: 12px;
    outline: 0;
    background: var(--white);
    color: var(--brown-deep);
    font-size: 16px;
}
.registration-date-grid .registration-system-select-trigger { height: 54px; border-width: 2px; border-color: var(--sand); border-radius: 12px; font-size: 16px; }
.registration-date-grid .registration-system-select-list { z-index: 30; }

.registration-date-grid select:focus {
    border-color: var(--brown-deep);
    box-shadow: 0 0 0 4px rgba(191, 155, 122, .25);
}
.registration-date-grid option:checked { background: var(--brown); color: var(--white); }

.registration-date-error {
    margin: 14px 0 0;
    color: var(--brown-deep);
    font-size: 14px;
}

.registration-date-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
}

.registration-date-actions button {
    min-width: 150px;
    min-height: 48px;
    padding: 10px 24px;
    border: 2px solid var(--brown);
    border-radius: 26px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}

.registration-date-cancel {
    background: var(--brown);
    color: var(--white);
}

.registration-date-cancel:hover {
    border-color: var(--brown-deep);
    background: var(--brown-deep);
    box-shadow: 0 6px 16px rgba(89, 62, 46, .2);
}

.registration-date-cancel:active {
    border-color: var(--sand);
    background: var(--sand);
    transform: scale(.97);
}

.registration-date-accept {
    background: #f4e7df;
    color: var(--brown-deep);
}

.registration-date-accept:hover {
    background: var(--sand);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(89, 62, 46, .18);
}

.registration-date-accept:active {
    border-color: var(--brown-deep);
    background: var(--brown-deep);
    color: var(--white);
    transform: scale(.97);
}

.registration-date-close:focus,
.registration-date-close:focus-visible { border-color: var(--brown); outline: 0; background: var(--brown); color: var(--white); box-shadow: 0 6px 16px rgba(89, 62, 46, .2); }
.registration-date-actions button:focus-visible {
    outline: 3px solid var(--brown-deep);
    outline-offset: 3px;
}
.registration-password-wrap { position: relative; }
.registration-password-wrap input { padding-right: 58px !important; }
.registration-password-wrap .login-password-toggle { right: 12px; }
.registration-requirements {
    display: grid;
    margin: 12px 0 0 8px;
    color: #8b6651;
    font-size: 13px;
    line-height: 1.35;
}
.registration-requirements strong { margin-bottom: 5px; }
.registration-requirements span {
    transition: color .2s ease;
}
.registration-requirements span.is-invalid { color: #c62828; }
.registration-requirements span.is-valid { color: #2e7d32; }
.registration-terms {
    display: flex;
    width: max-content;
    margin: 24px auto;
    align-items: center;
    gap: 16px;
    color: var(--brown);
    cursor: pointer;
    font-size: 15px;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
}
.registration-terms input {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin: 0;
    border: 3px solid var(--brown);
    border-radius: 13px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--white);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.registration-terms input:checked { background-color: var(--brown); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4 4L19 7' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: center; background-repeat: no-repeat; background-size: 24px; }
.registration-terms span {
    padding: 8px 16px;
    border: 3px solid var(--brown);
    border-radius: 13px;
    background: var(--white);
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.registration-submit {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 24px;
    border: 0;
    border-radius: 31px;
    background: var(--brown);
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: background-color .2s, box-shadow .2s, transform .2s;
}
.registration-submit:hover {
    background: var(--brown-deep);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}
.registration-submit:focus-visible {
    outline: 3px solid var(--brown-deep);
    outline-offset: 3px;
}
.registration-terms input:focus,
.registration-terms input:focus-visible,
.registration-terms input:active,
.registration-terms:focus-within,
.registration-terms:active { outline: 0; box-shadow: none; }
.registration-terms-note {
    margin: 18px 0 0;
    color: #a47c64;
    font-size: 13px;
    text-align: center;
}
.registration-login {
    display: flex;
    width: calc(100% - 110px);
    min-height: 64px;
    margin: -2px auto 0;
    padding: 18px 30px;
    align-items: center;
    justify-content: center;
    gap: 32px;
    border-radius: 0 0 16px 16px;
    background: var(--brown);
    color: var(--white);
    font-size: 15px;
}
.registration-login a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.registration-login a:hover { color: var(--sand); }
.registration-login a:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

@media (max-width: 850px) {
    .registration-page { padding: 104px 14px 60px; }
    .registration-card { padding: 88px 26px 30px; }
    .registration-grid { column-gap: 30px; }
    .registration-field label { font-size: 18px; }
    .registration-field input:not([type="checkbox"]),
    .registration-field select { font-size: 15px; }
    .registration-phone-wrap { font-size: 15px; }
    .registration-login { width: calc(100% - 60px); gap: 34px; }
}

@media (max-width: 600px) {
    .registration-page { padding: 94px 10px 50px; }
    .registration-avatar { top: -82px; width: 88px; height: 88px; }
    .registration-avatar img { width: 82px; height: 82px; }
    .registration-avatar-key { top: 74px; width: 132px; height: 48px; border-width: 5px; font-size: 23px; }
    .registration-card { min-height: 0; padding: 70px 18px 26px; border-width: 2px; }
    .registration-card::after { top: 30%; right: -330px; width: 620px; height: 920px; }
    .registration-grid { grid-template-columns: 1fr; gap: 20px; }
    .registration-email-field { grid-column: auto; }
    .registration-field label { font-size: 16px; }
    .registration-field input:not([type="checkbox"]),
    .registration-field select { height: 50px; border-width: 2px; font-size: 14px; }
    .registration-date-trigger { height: 50px; margin-top: 0; }
    .registration-date-dialog {
        width: calc(100% - 64px);
        height: calc(100vh - 48px);
        height: calc(100dvh - 48px);
        max-height: none;
        padding: 0;
        overflow: visible;
    }
    .registration-date-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        max-height: none;
        padding: 30px 20px 24px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-radius: inherit;
    }
    .registration-date-dialog h2 { margin-right: 36px; margin-bottom: 22px; font-size: 24px; }
    .registration-date-close { top: 0; right: 0; z-index: 2; width: 44px; height: 44px; border-width: 2px; transform: translate(35%, -45%); }
    .registration-date-close:active { transform: translate(35%, -45%) scale(.92); }
    .registration-date-close.is-pressed { transform: translate(35%, -45%) scale(.92); }
    .registration-date-close::before { font-size: 27px; }
    .registration-date-grid { min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .registration-date-grid label,
    .registration-date-grid .registration-system-select { min-width: 0; }
    .registration-date-grid label:last-child .registration-system-select-list {
        top: calc(100% + 8px);
        right: 6px;
        left: 6px;
        max-height: 200px;
    }
    .registration-date-grid label { gap: 7px; }
    .registration-date-grid label > span { font-size: 17px; }
    .registration-date-actions { gap: 10px; margin-top: auto; padding-top: 24px; }
    .registration-date-actions button { min-width: 0; flex: 1; padding-inline: 14px; }
    .registration-date-cancel.is-pressed { border-color: var(--sand); background: var(--sand); color: var(--white); transform: scale(.97); }
    .registration-date-accept.is-pressed { border-color: var(--brown-deep); background: var(--brown-deep); color: var(--white); transform: scale(.97); }
    .registration-requirements { font-size: 14px; }
    .registration-terms { gap: 10px; font-size: 15px; }
    .registration-terms input { width: 38px; height: 38px; border-width: 2px; }
    .registration-terms span { padding: 8px 12px; border-width: 2px; }
    .registration-submit { min-height: 52px; font-size: 17px; }
    .registration-terms-note { font-size: 13px; }
    .registration-login { width: calc(100% - 28px); min-height: 68px; padding: 14px; gap: 12px; font-size: 14px; }
}

@media (max-width: 600px) and (max-height: 600px) {
    .registration-date-content { padding: 20px 18px 18px; }
    .registration-date-dialog h2 { margin-right: 42px; margin-bottom: 14px; font-size: 21px; }
    .registration-date-grid { gap: 10px; }
    .registration-date-grid label { gap: 4px; }
    .registration-date-grid label > span { font-size: 16px; }
    .registration-date-grid .registration-system-select-trigger { height: 44px; }
    .registration-date-actions { margin-top: auto; padding-top: 16px; }
    .registration-date-actions button { min-height: 44px; padding-block: 8px; }
}

/* Perfil de usuario */
.profile-page {
    display: grid;
    gap: 30px;
    padding: 14px 18px 40px;
    background: #f4f4f4;
}

.profile-section {
    width: 100%;
    margin-inline: auto;
}

.profile-section > h1,
.profile-section > h2 {
    margin: 0 0 18px;
    color: var(--brown);
    font-size: clamp(25px, 3vw, 31px);
    line-height: 1.2;
}

.profile-card,
.profile-address-card {
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(89, 62, 46, .07);
}

.profile-card {
    display: grid;
    justify-items: center;
    padding: 28px clamp(24px, 4vw, 54px) 32px;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    margin-bottom: 22px;
}

.profile-avatar img { display: block; width: 100%; height: 100%; }

.profile-data-grid {
    display: grid;
    width: 100%;
    margin: 0 0 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px clamp(34px, 7vw, 90px);
}

.profile-data-grid > div { min-width: 0; text-align: center; }
.profile-data-grid dt { color: var(--brown-deep); font-size: 15px; font-weight: 700; }
.profile-data-grid dd { margin: 3px 0 0; overflow-wrap: anywhere; color: var(--brown); font-size: 14px; }

.profile-primary-action {
    min-width: 220px;
    min-height: 48px;
    padding: 11px 26px;
    border: 2px solid var(--brown);
    border-radius: 16px;
    background: var(--sand);
    color: var(--white);
    font-size: 15px;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, transform .15s, box-shadow .2s;
}

.profile-primary-action:hover { border-color: var(--brown-deep); background: var(--brown); box-shadow: 0 7px 18px rgba(89, 62, 46, .18); }
.profile-primary-action:active { background: var(--brown-deep); transform: scale(.98); }
.profile-primary-action:focus-visible,
.profile-address-edit:focus-visible { outline: 3px solid var(--brown-deep); outline-offset: 3px; }

.profile-address-card {
    display: grid;
    justify-items: center;
    gap: 22px;
    padding: 26px 30px 30px;
}

.profile-address-copy { width: 100%; }
.profile-address-copy h3,
.profile-address-copy h4 { margin: 0; color: var(--brown-deep); font-size: 18px; }
.profile-address-copy h4 { margin-top: 16px; color: #8c817b; }
.profile-address-copy p { margin: 5px 0 0; color: var(--brown); font-size: 16px; }

.profile-address-edit {
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brown-deep);
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .profile-page { gap: 26px; padding: 18px 10px 44px; }
    .profile-section > h1,
    .profile-section > h2 { margin: 0 0 18px 8px; font-size: 26px; }
    .profile-card { padding: 24px 16px 28px; }
    .profile-avatar { width: 96px; height: 96px; margin-bottom: 22px; }
    .profile-data-grid { grid-template-columns: 1fr; gap: 18px; }
    .profile-data-grid dt { font-size: 15px; }
    .profile-data-grid dd { font-size: 14px; }
    .profile-primary-action { width: 100%; min-width: 0; }
    .profile-address-card { padding: 24px 18px 26px; }
}

/* Panel administrativo de productos */
.admin-product-page {
    padding: 14px 18px 24px;
}

.admin-product-panel {
    width: 100%;
    margin-inline: auto;
    padding: clamp(28px, 3.5vw, 54px);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.admin-product-heading {
    margin-bottom: 42px;
    text-align: center;
}

.admin-product-heading h1 {
    margin: 0;
    color: var(--brown);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.admin-product-form {
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
    gap: 38px clamp(34px, 6vw, 74px);
}

.admin-product-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.admin-product-form legend,
.admin-field label {
    margin-bottom: 9px;
    color: var(--brown-deep);
    font-size: 15px;
    font-weight: 700;
}

.admin-product-form legend {
    padding: 0;
}

.admin-product-left {
    display: grid;
    gap: 30px;
    align-self: start;
    align-content: start;
}

.admin-media-workspace {
    display: grid;
    grid-template-columns: minmax(92px, 140px) minmax(0, 420px);
    align-items: start;
    justify-content: center;
    gap: 18px;
}

.admin-media-instruction {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    color: var(--brown-deep);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

.admin-upload-area {
    display: grid;
    width: 100%;
    height: 500px;
    min-height: 0;
    margin-inline: auto;
    align-self: start;
    padding: 18px 24px;
    border: 3px solid var(--sand);
    border-radius: 18px;
    background: #fbf8f5;
    color: var(--brown-deep);
    overflow: hidden;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.admin-media-main-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
}

.admin-file-input:focus + .admin-field-help {
    color: var(--brown-deep);
}

.admin-product-media:focus-within .admin-upload-area {
    border-color: var(--brown-deep);
    box-shadow: 0 0 0 4px rgba(191, 155, 122, .25);
}

.admin-upload-area strong {
    font-size: 18px;
}

.admin-media-main-placeholder > span:last-child {
    color: #806e64;
    font-size: 13px;
}

.admin-upload-area.has-preview {
    padding: 0;
    border-style: solid;
    background: #f3ece6;
}

.admin-upload-area > img,
.admin-upload-area > video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.admin-upload-media-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 8px;
}

.admin-upload-icon {
    display: block;
    width: 104px;
    height: 82px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 82' fill='none' stroke='%238c5b3e' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='98' height='76' rx='6' stroke-width='5'/%3E%3Ccircle cx='78' cy='22' r='12' stroke-width='4'/%3E%3Cpath d='M15 64 43 30l25 34H15Z' stroke-width='5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.admin-upload-icon-separator {
    color: var(--sand);
    font-size: 54px;
    font-weight: 300;
    line-height: 1;
}

.admin-upload-play-icon {
    display: block;
    width: 76px;
    height: 76px;
    background: url('../icons/play-circle.svg') center / contain no-repeat;
}

.admin-upload-icon::before {
    content: none;
}

.admin-upload-icon::after {
    content: none;
}

.admin-media-thumbnails {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
}

.admin-media-thumbnails span {
    position: relative;
    overflow: hidden;
    height: 92px;
    min-height: 0;
    border: 2px dashed #d8c3b3;
    border-radius: 10px;
    background: #fbf8f5;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.admin-media-slot:hover {
    border-color: var(--brown);
    transform: translateY(-2px);
}

.admin-media-slot:focus-visible,
.admin-media-slot.is-active {
    border-color: var(--brown-deep);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(191, 155, 122, .35);
}

.admin-media-thumbnails span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(68%, 76px);
    aspect-ratio: 104 / 82;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 82' fill='none' stroke='%238c5b3e' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='98' height='76' rx='6' stroke-width='5'/%3E%3Ccircle cx='78' cy='22' r='12' stroke-width='4'/%3E%3Cpath d='M15 64 43 30l25 34H15Z' stroke-width='5'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: translate(-50%, -50%);
}

.admin-media-slot:last-child::before {
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 0;
    background: url('../icons/play-circle.svg') center / contain no-repeat;
}

.admin-media-slot:last-child::after {
    content: none;
}

.admin-media-thumbnails span.has-preview::before,
.admin-media-thumbnails span.has-preview::after {
    display: none;
}

.admin-media-thumbnails img,
.admin-media-thumbnails video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-media-remove {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: 5px;
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: rgba(80, 45, 29, .9);
    color: var(--white);
    font: inherit;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    place-items: center;
    box-shadow: 0 2px 8px rgba(49, 29, 19, .25);
}

.admin-media-remove:hover {
    background: var(--brown-deep);
}

.admin-media-remove:focus-visible {
    outline: 3px solid var(--brown-deep);
    outline-offset: 2px;
}

.admin-field-help {
    margin: 9px 4px 0;
    color: #806e64;
    font-size: 12px;
    line-height: 1.5;
}

.admin-product-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 22px;
    align-content: start;
}

.admin-field {
    display: grid;
    min-width: 0;
    align-content: start;
}

.admin-field--wide,
.admin-dimensions {
    grid-column: 1 / -1;
}

.admin-field input,
.admin-field textarea {
    width: 100%;
    min-width: 0;
    border: 2px solid var(--brown);
    border-radius: 14px;
    outline: 0;
    background: var(--white);
    color: var(--brown-deep);
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.admin-field input {
    height: 52px;
    padding: 0 16px;
}

.admin-field textarea {
    min-height: 112px;
    padding: 14px 16px;
    line-height: 1.55;
    resize: vertical;
}

.admin-field input::placeholder,
.admin-field textarea::placeholder {
    color: #a98f7f;
    opacity: 1;
}

.admin-field input:focus,
.admin-field textarea:focus {
    border-color: var(--brown-deep);
    box-shadow: 0 0 0 4px rgba(191, 155, 122, .25);
}

.admin-input-suffix {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.admin-input-suffix span {
    color: var(--brown-deep);
    font-size: 14px;
    font-weight: 700;
}

.admin-input-suffix .admin-suffix-spacer {
    visibility: hidden;
}

.admin-dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.admin-dimensions .admin-field > label {
    font-weight: 400;
}

.admin-dimensions-title-mobile {
    display: none;
}

.admin-price-title-mobile {
    display: none;
}

.admin-input-suffix--compact {
    gap: 8px;
}

.admin-product-actions {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-top: 12px;
}

.admin-product-actions button {
    min-width: 250px;
    min-height: 52px;
    padding: 12px 28px;
    border: 0;
    border-radius: 26px;
    background: var(--brown);
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: background-color .2s, box-shadow .2s, transform .2s;
}

.admin-product-actions button:hover {
    background: var(--brown-deep);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.admin-product-actions button:focus-visible {
    outline: 3px solid var(--brown-deep);
    outline-offset: 3px;
}

.admin-product-actions p {
    margin: 0;
    color: #806e64;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 850px) {
    .admin-product-page {
        padding-inline: 14px;
    }

    .admin-product-panel {
        padding: 38px 28px 44px;
    }

    .admin-product-form {
        grid-template-columns: 1fr;
    }

    .admin-upload-area {
        height: 500px;
    }

    .admin-media-thumbnails span {
        height: 92px;
        min-height: 0;
        aspect-ratio: auto;
    }
}

@media (max-width: 600px) {
    .admin-product-page {
        padding: 18px 10px 8px;
    }

    .admin-product-panel {
        padding: 30px 16px 36px;
        border-radius: 14px;
    }

    .admin-product-heading {
        margin-bottom: 30px;
    }

    .admin-product-form {
        gap: 32px;
    }

    .admin-media-workspace {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .admin-media-instruction {
        text-align: center;
    }

    .admin-media-thumbnails {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .admin-media-thumbnails span {
        overflow: visible;
        height: 56px;
        min-height: 52px;
        aspect-ratio: auto;
    }

    .admin-media-slot:last-child::before {
        width: 44px;
        height: 44px;
    }

    .admin-media-thumbnails img,
    .admin-media-thumbnails video {
        border-radius: 8px;
    }

    .admin-media-remove {
        top: -7px;
        right: -7px;
    }

    .admin-upload-area {
        height: 400px;
        width: min(100%, 420px);
        aspect-ratio: auto;
        padding: 20px 18px;
        border-width: 2px;
    }

    .admin-product-details {
        grid-template-columns: 1fr;
    }

    .admin-field--units .admin-input-suffix {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-field--units .admin-suffix-spacer {
        display: none;
    }

    .admin-price-title-desktop {
        display: none;
    }

    .admin-price-title-mobile {
        display: inline;
    }

    .admin-field--price .admin-input-suffix {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-field--price .admin-input-suffix span {
        display: none;
    }

    .admin-field--wide,
    .admin-dimensions {
        grid-column: auto;
    }

    .admin-dimensions-title-desktop {
        display: none;
    }

    .admin-dimensions-title-mobile {
        display: inline;
    }

    .admin-dimensions-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .admin-dimensions .admin-input-suffix--compact {
        grid-template-columns: minmax(0, 1fr);
        width: 88%;
        gap: 0;
        justify-self: center;
    }

    .admin-dimensions .admin-input-suffix span {
        display: none;
    }

    .admin-dimensions .admin-field > label {
        order: 2;
        margin-top: 8px;
        margin-bottom: 0;
        text-align: center;
    }

    .admin-dimensions .admin-field > .admin-input-suffix {
        order: 1;
    }

    .admin-dimensions .admin-field input {
        padding-inline: 8px;
    }

    .admin-product-actions button {
        width: min(100%, 250px);
        min-width: 0;
        justify-self: center;
    }
}
.address-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem}.address-heading h2{margin-bottom:.25rem}.address-heading p{margin:0;color:#735846}.address-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.address-card,.address-empty{background:#fff;border:1px solid #d8c3b5;border-radius:16px;padding:1.25rem}.address-card.is-default{border:2px solid #98613f}.address-card-title{display:flex;justify-content:space-between;gap:.75rem}.address-card-title span{background:#efe2d7;color:#6b412d;border-radius:999px;padding:.25rem .65rem;font-size:.8rem}.address-reference{color:#735846}.address-actions{display:flex;flex-wrap:wrap;gap:.5rem}.address-actions form{margin:0}.address-actions button{border:1px solid #98613f;background:#fff;color:#6b412d;border-radius:8px;padding:.5rem .7rem;cursor:pointer}.address-actions .address-delete{color:#b3261e;border-color:#b3261e}.address-notice{border-radius:10px;padding:.8rem 1rem}.address-notice.is-error{background:#fdecea;color:#9f1c16}.address-notice.is-success{background:#e7f5eb;color:#226b37}.address-dialog{width:min(760px,calc(100% - 2rem));border:1px solid #98613f;border-radius:16px;padding:1.5rem}.address-dialog::backdrop{background:#0008}.dialog-close{position:absolute;right:1rem;top:.75rem;border:0;background:transparent;font-size:1.8rem;cursor:pointer}.address-form{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.address-form label{display:flex;flex-direction:column;gap:.35rem;font-weight:600}.address-form input,.address-form select,.address-form textarea{width:100%;border:2px solid #98613f;border-radius:10px;padding:.7rem;background:#fff}.address-form textarea{min-height:85px;resize:vertical}.address-wide{grid-column:1/-1}.address-check{grid-column:1/-1;flex-direction:row!important;align-items:center}.address-check input{width:auto}.phone-field{display:flex;align-items:center;border:2px solid #98613f;border-radius:10px;overflow:hidden}.phone-field span{padding:0 .7rem}.phone-field input{border:0;border-left:1px solid #d8c3b5;border-radius:0}.profile-address-section{scroll-margin-top:2rem}@media(max-width:650px){.address-heading{align-items:flex-start;flex-direction:column}.address-form{grid-template-columns:1fr}.address-wide,.address-check{grid-column:1}.address-dialog{padding:1rem}}
.postal-status{min-height:1.2em;color:#735846;font-weight:400;margin-top:.25rem}
