:root {
    color-scheme: light;
    --ink: #102C35;
    --muted: #486166;
    --canvas: #F0F5F3;
    --paper: #FFFFFF;
    --line: #D5E3DF;
    --green: #145651;
    --mist: #E3EEEA;
    --amber: #FFC46B;
    --scroll-track: #f0f5f3;
    --scroll-thumb: #647d79;
    --scroll-hover: #486166;
    --scroll-pressed: #145651;
    font-family: "DejaVu Sans", system-ui, sans-serif;
    line-height: 1.5;
    color: var(--ink);
    background: var(--canvas);
}
*, *::before, *::after { box-sizing: border-box }
* { scrollbar-color: var(--scroll-thumb) var(--scroll-track); scrollbar-width: auto }
@supports not (scrollbar-color: auto) {
    ::-webkit-scrollbar-track { background: var(--scroll-track) }
    ::-webkit-scrollbar-thumb { background: var(--scroll-thumb) }
    ::-webkit-scrollbar-thumb:hover { background: var(--scroll-hover) }
    ::-webkit-scrollbar-thumb:active { background: var(--scroll-pressed) }
}
@media (forced-colors: active) {
    * { scrollbar-color: auto }
}
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column }
a { color: inherit; text-decoration: none }
button, input, select, textarea { font: inherit }
button, select { cursor: pointer }
button:disabled { opacity: .55; cursor: not-allowed }
img { display: block; max-width: 100%; object-fit: cover }
p, h1, h2, h3 { margin-block: 0 }
h1, h2, h3 { line-height: 1.09; letter-spacing: -.035em }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.8rem) }
:focus-visible { outline: 3px solid #145651; outline-offset: 3px }
.wrap { width: min(100% - 3rem, 1248px); margin-inline: auto }
.site-main { flex: 1 }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper) }
.header-inner { display: grid; align-items: center; grid-template-columns: auto minmax(0, 1fr) auto }
.brand { display: inline-flex; align-items: center; width: clamp(6.75rem, 14vw, 10.5rem) }
.brand img, .access-brand img { width: 100%; height: auto; object-fit: contain }
.site-search { border: 1px solid var(--line); background: var(--canvas); border-radius: 2rem; display: flex; min-width: 0; overflow: hidden }
.site-search:focus-within { outline: 2px solid #145651; outline-offset: 2px }
.site-search input { width: 100%; padding: .69rem 1.1rem; background: transparent; border: 0; outline: none }
.search-button { display: grid; place-items: center; width: 3rem; flex: 0 0 3rem; background: transparent; border: 0; color: var(--ink) }
.site-search .search-button:focus-visible { outline-color: var(--ink); outline-offset: -4px }
.search-icon { width: .94rem; aspect-ratio: 1; border: 1.7px solid currentColor; border-radius: 50%; position: relative }
.search-icon::after { content: ""; position: absolute; bottom: -3px; right: -4px; height: 1.7px; width: 6px; border-radius: 2px; background: currentColor; transform: rotate(45deg) }
.header-actions, .footer-inner { display: flex; align-items: center; gap: 1.25rem; font-size: .91rem }
.header-actions a { white-space: nowrap }
.footer-inner > a:last-child:hover { text-decoration: underline }
.cart-link { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line); border-radius: 2rem; padding: .48rem .9rem }
.bag-icon { height: .83rem; width: .8rem; border: 1.5px solid currentColor; border-radius: .16rem; position: relative }
.bag-icon::before { content: ""; width: .42rem; height: .39rem; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 1rem 1rem 0 0; left: .1rem; top: -.36rem; position: absolute }
.categories { display: flex; align-items: center; gap: .55rem; padding-block: .9rem; overflow-x: auto }
.categories a { border-radius: 2rem; padding: .48rem .95rem; white-space: nowrap; font-size: .93rem }
.categories [aria-current] { background: var(--green); color: white }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: clamp(350px, 37vw, 460px); background: var(--green); color: var(--paper); border-radius: 1.65rem; overflow: hidden }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 5.5vw, 5rem); }
.hero h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(2.5rem, 5.2vw, 5.7rem); letter-spacing: -.062em; line-height: .97 }
.hero p { color: #E3EEEA; margin-top: 1.25rem; max-width: 28ch }
.hero-visual { position: relative; background: #B9D3C8 }
.hero-visual img { position: absolute; width: 100%; height: 100%; object-position: center }
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .58rem 1rem; border: 1px solid var(--green); border-radius: .7rem; background: var(--green); color: white; font-weight: 700; line-height: 1.3 }
.btn.secondary, .btn-secondary { color: var(--green); border-color: var(--line); background: var(--paper) }
.btn.hero-button { background: var(--amber); color: var(--green); margin-top: 1.65rem; border-radius: 2rem; padding-inline: 1.1rem; border-color: var(--amber) }
.section { padding-block: clamp(1.8rem, 4.8vw, 4rem) }
.section > h2 { margin-bottom: 1.2rem }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.25rem }
.catalog-count, .product-category { color: var(--muted); font-size: .86rem }
.catalog-count { margin-bottom: .3rem }
.sort-form, .sort-order { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .65rem; max-width: 100% }
.select-control { position: relative; display: grid; min-width: 0; color: var(--ink) }
.select-control select {
    appearance: none;
    width: 100%;
    min-height: 44px;
    padding-block: .5rem;
    padding-inline: .8rem 2.25rem;
    color: inherit;
    text-overflow: ellipsis;
}
.select-control::after {
    content: '';
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: .9rem;
    width: .45rem;
    height: .45rem;
    border-inline-end: 1.5px solid currentColor;
    border-block-end: 1.5px solid currentColor;
    transform: translateY(-68%) rotate(45deg);
    pointer-events: none;
}
.sort-order .select-control { flex: 1 1 auto; max-width: 100% }
.sort-order select { border-radius: .7rem; border: 1px solid var(--line); background: var(--paper) }
@media (forced-colors: active) {
    .select-control select { appearance: auto; padding-inline-end: .8rem }
    .select-control::after { display: none }
}
.stock-filter { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding-inline: .4rem; cursor: pointer }
.stock-filter input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--ink) }
.product-grid { display: grid; gap: clamp(.65rem, 1.6vw, 1.25rem); grid-template-columns: repeat(3, minmax(0, 1fr)) }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; border-radius: 1rem; background: var(--paper); border: 1px solid var(--line) }
.product-card:is(:hover, :focus-within) { border-color: #91b5ab }
.product-link { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: .45rem; border-radius: inherit }
.product-link:focus-visible { outline-offset: 1px }
.product-media { display: grid; place-items: center; aspect-ratio: 1; min-width: 0; padding: 8%; overflow: hidden; border-radius: .7rem; background: #f4f7f6 }
.product-media img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply }
.no-image { color: var(--muted); font-size: .875rem }
.product-copy { flex: 1; display: flex; flex-direction: column; padding: .8rem .55rem .55rem; gap: .36rem }
.product-copy .product-category { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem }
.product-copy h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; min-height: 2.7em; font-size: 1rem; font-weight: 650; line-height: 1.35; letter-spacing: -.01em }
.product-end { display: flex; flex-wrap: wrap; align-items: center; margin-top: auto; gap: .25rem .65rem }
.money { font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap }
.product-end .money { font-size: clamp(1.08rem, 1.8vw, 1.5rem); letter-spacing: -.035em }
.product-availability { border-radius: 999px; padding: .12rem .45rem; background: var(--mist); color: var(--green); font-weight: 650; font-size: .72rem }
.product-availability.is-sold-out { background: #ebefed; color: var(--muted) }
.product-cart { padding: 0 1rem .9rem }
.product-cart .btn { width: 100%; font-size: .88rem; text-align: center }
.product-card-compact .product-copy { padding: .65rem .35rem .35rem }
.product-card-compact .product-copy h3 { font-size: .88rem }
.product-card-compact .product-end .money { font-size: 1.1rem }
.product-card-compact .product-media { aspect-ratio: 4 / 3 }
.pager { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem }
.panel { padding: clamp(.9rem, 2.1vw, 1.6rem); background: var(--paper); border: 1px solid var(--line); border-radius: 1rem }
.grid { display: grid; gap: 1rem }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 2rem }
.empty-state .btn { margin-top: 1rem }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; padding-block: 1.2rem; color: var(--muted); font-size: .94rem }
.breadcrumbs a:hover { text-decoration: underline }
.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
    grid-template-areas: "photo overview" "photo buy" "specs specs";
    grid-template-rows: auto auto 1fr;
    gap: clamp(.85rem, 2vw, 1.65rem) clamp(1rem, 4vw, 3.5rem);
    align-items: start;
    padding: clamp(.85rem, 3vw, 2.25rem);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: var(--paper);
}
.detail-overview { grid-area: overview }
.detail-overview h1 { margin-bottom: .65rem; font-size: clamp(1.48rem, 2.65vw, 2.75rem); line-height: 1.12; overflow-wrap: anywhere }
.detail-reference { margin-top: .25rem; overflow-wrap: anywhere }
.detail-image { grid-area: photo; aspect-ratio: 1; max-width: 100%; min-width: 0; padding: 6%; overflow: hidden; background: #f4f7f6; border-radius: 1rem; display: grid; place-items: center }
.detail-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply }
.detail-buy { grid-area: buy; min-width: 0; padding: clamp(.85rem, 2vw, 1.5rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--canvas) }
.detail-price { font-size: clamp(1.75rem, 3.4vw, 2.65rem); line-height: 1.1; letter-spacing: -.045em }
.detail-specs { grid-area: specs; padding-top: clamp(1rem, 2vw, 1.65rem); border-top: 1px solid var(--line) }
.detail-specs h2, .related-products > h2 { margin-bottom: .6rem; font-size: 1.2rem }
.detail-description { max-width: 72ch; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere }
.detail-variants { margin-block: 1rem }
.detail-variants h2 { margin-bottom: .5rem; font-size: .93rem; letter-spacing: 0 }
.variant-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.75rem), 1fr)); gap: .45rem; margin: 0; padding: 0; list-style: none }
.variant-option { display: flex; align-items: center; gap: .5rem; height: 100%; min-height: 48px; padding: .42rem .55rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--paper); font-size: .83rem }
.variant-option[aria-current="page"] { border-color: var(--green); background: var(--mist); box-shadow: inset 0 0 0 1px var(--green) }
.variant-option img { flex: 0 0 36px; border-radius: .35rem; object-fit: contain; background: var(--paper) }
.variant-copy { display: grid; min-width: 0; overflow-wrap: anywhere }
.variant-copy > span { color: var(--muted); font-size: .75rem }
.stock-label { margin-block: .5rem 1rem; color: #315d34; font-weight: 700 }
.stock-label.stock-out { color: #9a482e }
.purchase-form { display: grid; grid-template-columns: 5rem minmax(0, 1fr); align-items: end; gap: .65rem }
.field { display: grid; gap: .3rem }
.field input, .field textarea, .field select, .input { padding: .56rem .62rem; min-height: 44px; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: .6rem; max-width: 100% }
.detail-buy .detail-add, .detail-buy .favorite-form .btn { width: 100%; text-align: center }
.detail-buy .detail-add { min-height: 44px; padding-inline: .65rem; border-radius: 999px; background: var(--amber); border-color: transparent; color: var(--ink) }
.detail-buy .favorite-form { margin-top: .65rem }
.detail-delivery { display: grid; gap: .25rem; color: var(--muted); font-size: .84rem; padding-top: .75rem; margin-top: .9rem; border-top: 1px solid var(--line) }
.detail-delivery strong { color: var(--ink) }
.muted { color: var(--muted) }
.messages { margin-block: .8rem }
.notice { background: var(--mist); border: 1px solid #BCD7CD; border-radius: .65rem; padding: .7rem 1rem; margin-bottom: .5rem }
.notice-error { background: #f9e8e0; border-color: #e8b9a9 }
.notice ul { margin: 0; padding-inline-start: 1rem }
.site-footer { background: var(--mist); border-top: 1px solid var(--line); margin-top: 1rem }
.footer-inner { justify-content: space-between; padding-block: 1.35rem; flex-wrap: wrap }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0 }
.skip { position: absolute; left: 1rem; top: 1rem; padding: .5rem 1rem; z-index: 2; background: var(--paper); transform: translateY(-200%) }
.skip:focus { transform: none }
@media (max-width: 760px) {
    .hero { grid-template-columns: 1fr }
    .hero-visual { aspect-ratio: 1.7 }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
    .section-header { align-items: start; flex-direction: column }
}
@media (max-width: 420px) {
    .wrap { width: calc(100% - 1.25rem) }
    .header-actions { font-size: .79rem }
}
/* Storewide marketplace layout */
.wrap { width: min(100% - 2.5rem, 1440px) }
.site-header { background: #102C35; color: white; border-bottom-color: #27515A }
.header-inner { min-height: 70px; gap: clamp(.85rem, 2.4vw, 2.4rem) }
.site-search { border: 0; border-radius: .65rem; background: white; color: var(--ink); min-height: 48px }
.site-header :focus-visible, .hero :focus-visible { outline-color: var(--amber) }
.site-search:focus-within { outline-color: var(--amber) }
.site-search input { min-width: 0; padding-inline: .9rem }
.search-department { flex: 0 0 clamp(5.65rem, 25%, 10.75rem); border-inline-end: 1px solid var(--line); background: var(--mist) }
.search-category { border: 0; background: transparent; font-size: .875rem }
.site-search :is(.search-category, input):focus-visible { outline: 2px solid var(--green); outline-offset: -3px }
.search-button { background: var(--amber); color: #102C35; width: 3.5rem; flex-basis: 3.5rem }
.cart-link { border-color: #527178; border-radius: .45rem }
.cart-count { background: var(--amber); border-radius: .25rem; color: #102C35; padding: .05rem .33rem; font-weight: 700 }
.categories { gap: .3rem; padding-block: .55rem }
.categories a { border-radius: .35rem; font-weight: 650 }
.hero { min-height: clamp(250px, 28vw, 360px); grid-template-columns: .95fr 1.15fr; border-radius: .8rem; background: linear-gradient(125deg,#102C35,#145651) }
.hero-content { padding: clamp(1.5rem,4vw,4rem) }
.hero h1 { font-family: inherit; font-weight: 800; font-size: clamp(2.05rem,4vw,4.25rem); letter-spacing: -.055em; line-height: 1.02 }
.hero p { color: #E3EEEA; max-width: 38ch; margin-top: .85rem }
.btn.hero-button { margin-top: 1.05rem; border-radius: .45rem }
.catalog-section { padding-block: 1.6rem 2.5rem }
.section-header { margin-bottom: .85rem }
.product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem }
@media (max-width: 1050px) {
    .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)) }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 1.5rem) }
    .hero { grid-template-columns: 1fr 1fr; min-height: 260px }
    .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem }
    .product-detail { grid-template-columns: minmax(0, 1fr); grid-template-areas: "overview" "photo" "buy" "specs"; grid-template-rows: auto }
    .detail-image { width: min(100%, 28rem); justify-self: center }
}
@media (max-width: 480px) {
    .search-button { flex-basis: 2.85rem }
    .search-department { flex-basis: max(6.15rem, 25%) }
    .search-category { font-size: 1rem }
    .site-search input { padding-inline: .7rem }
    .sort-order { flex-basis: 100% }
    .hero { grid-template-columns: 1fr; min-height: auto }
    .hero-visual { min-height: 155px }
    .hero h1 { font-size: 2rem }
    .product-link { padding: .3rem }
    .product-copy { padding-inline: .35rem }
    .product-copy h3 { font-size: .9rem }
    .product-cart { padding-inline: .65rem }
}

.category-band { background: white; border-bottom: 1px solid var(--line); margin-bottom: 1.15rem }
.category-band .categories { padding-block: .65rem }
/* Escaparate editorial de la versión aprobada en Sites. */
.storefront-editorial { font-family: Arial, Helvetica, sans-serif; background: #fbfaf5 }
.storefront-editorial .wrap { width: min(94%, 1440px) }
.site-header-editorial { background: #fbfaf5; color: var(--ink); border-bottom: 0 }
.site-header-editorial .header-inner {
    grid-template-columns: 150px minmax(0, 32rem) auto;
    justify-content: space-between;
    gap: clamp(.6rem, 3vw, 3rem);
}
.site-header-editorial .brand { width: 145px; margin-inline-start: -.5rem }
.site-header-editorial .site-search { min-height: 42px; border: 1px solid #d8ded9; border-radius: .35rem }
.site-header-editorial .site-search input { padding-block: 0 }
.site-header-editorial .search-button { width: 44px; flex-basis: 44px; background: transparent }
.site-header-editorial .site-search:focus-within { outline-color: var(--green) }
.site-header-editorial .header-actions { gap: .25rem; font-weight: 700 }
.site-header-editorial .header-actions :is(a, .logout-link),
.site-header-editorial .search-button { --control-hover: #e1ebe1; --control-pressed: #d1e1d6 }
.site-header-editorial .cart-link { border-color: transparent; padding-inline: .45rem }
.site-header-editorial .favorites-link { gap: .35rem }
.site-header-editorial .favorites-link span { font-size: 1.4rem; line-height: 1 }
.site-header-editorial :focus-visible { outline-color: #24756a }
.category-band-home { margin-bottom: 0; background: #fbfaf5; border-bottom-color: #102c3525 }
.category-band-home .categories { gap: clamp(.5rem, 2vw, 1.6rem); padding-block: 0 }
.category-band-home .categories a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: .5rem .2rem;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #4b6364;
    font-size: 1rem;
    font-weight: 400;
}
.category-band-home .categories a:is(:hover, [aria-current]) {
    background: transparent;
    color: var(--ink);
    border-bottom-color: #286552;
}
.storefront-editorial .site-footer { background: #fbfaf5; border-top-color: #102c3525 }
.storefront-editorial .footer-inner { min-height: 70px; color: #4b6364; font-size: .82rem }
.storefront-editorial .footer-inner .brand { width: 105px }

.editorial-selection { padding-block: clamp(1.65rem, 3.4vw, 3.7rem) clamp(2.5rem, 6vw, 6.5rem); scroll-margin-top: 1rem }
.editorial-selection .section-header { align-items: center; gap: .5rem 1rem; margin-bottom: 1rem }
.editorial-selection h2 { font: 400 clamp(1.9rem, 3.4vw, 3.4rem)/1 Georgia, serif; letter-spacing: -.055em }
.editorial-selection .catalog-count { margin: .35rem 0 0; font-size: .89rem; color: #4b6364 }
.editorial-selection .section-header .btn { min-height: 42px; padding: .55rem .75rem; border-color: #bacbc1; border-radius: .3rem; background: transparent; color: var(--ink) }
.editorial-selection .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(.8rem, 2.6vw, 2.4rem) }
.editorial-selection .product-card { border: 0; border-top: 1px solid #102c3528; border-radius: 0; background: transparent }
.editorial-selection .product-link { padding: 0 }
.editorial-selection .product-media { aspect-ratio: 1.45; padding: 5%; border-radius: 0; background: #ebeae0 }
.editorial-selection .product-media img { mix-blend-mode: normal }
.editorial-selection .product-copy { padding: .85rem .1rem .45rem }
.editorial-selection .product-copy h3 { font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.23; letter-spacing: 0 }
.editorial-selection .favorite-button-compact { width: 42px; height: 42px; box-shadow: none; border-color: #d9ded4 }
.editorial-shortcuts { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: 1.35rem }
.category-carousel + #storefront, .editorial-selection + #storefront { padding-top: 1rem }

@media (max-width: 960px) {
    .site-header-editorial .header-inner { grid-template-columns: 110px minmax(0, 1fr); gap: .5rem }
    .site-header-editorial .brand { width: 112px }
}
@media (max-width: 550px) {
    .site-header-editorial .header-inner { grid-template-columns: auto minmax(0, 1fr); padding-block: .45rem }
    .site-header-editorial .site-search { grid-row: 2; grid-column: 1 / -1 }
    .site-header-editorial .header-actions { grid-row: 1; grid-column: 2; justify-content: end; font-size: .8rem; gap: .15rem }
    .editorial-selection .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem }
}
.collection { margin-top: .95rem; padding: clamp(.8rem, 1.7vw, 1.2rem); border: 1px solid var(--line); border-radius: .9rem; background: var(--paper) }
.collection-heading, .collection-actions, .collection-controls { display: flex; align-items: center }
.collection-heading { justify-content: space-between; flex-wrap: wrap; gap: .55rem 1rem; margin-bottom: .55rem }
.collection-heading h2 { font-size: clamp(1.24rem, 2.1vw, 1.85rem); overflow-wrap: anywhere }
.collection-actions { flex-wrap: wrap; gap: .35rem; max-width: 100%; color: var(--green); font-size: .85rem; font-weight: 700 }
.collection-actions a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .75rem; border-radius: 999px; white-space: nowrap }
.collection-controls { flex-shrink: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--canvas) }
.collection-controls button {
    min-height: 44px;
    padding: .35rem .75rem;
    border: 0;
    background: transparent;
    color: var(--green);
    font-weight: inherit;
}
.collection-controls button:first-child { border-radius: 999px 0 0 999px }
.collection-controls button:last-child { border-inline-start: 1px solid var(--line); border-radius: 0 999px 999px 0 }
.collection-controls button:focus-visible { outline-offset: -4px }
.collection-controls button[aria-disabled="true"] { color: var(--muted); opacity: .7; cursor: default }
.collection-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(8.25rem, 14vw, 11rem); gap: .75rem; overflow-x: auto; margin: 0; padding: .3rem .3rem .65rem; list-style: none; scroll-snap-type: x proximity; scroll-padding-inline: .3rem }
.collection-track li { min-width: 0; scroll-snap-align: start }
@media (prefers-reduced-motion: no-preference) {
    .collection-track { scroll-behavior: smooth }
}
.hero-kicker { color: var(--amber); font-weight: 750; margin-bottom: .8rem }
.catalog-count { margin-top: .3rem }
.logout-link { color: inherit; background: none; border: 0; padding: .4rem .15rem }
.access-page { min-height: 100vh; justify-content: center; padding: 1.2rem; background: #102C35 }
.access-shell { display: grid; grid-template-columns: 1.1fr 1fr; width: min(100%, 940px); margin: auto; border-radius: 1.2rem; overflow: hidden; background: white }
.access-art { position: relative; display: grid; align-items: end; min-height: 390px; background: #145651; overflow: hidden }
.access-photo { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover }
.access-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, #102C35 100%) }
.access-brand { position: relative; z-index: 1; color: var(--paper); padding: clamp(1.25rem, 4vw, 2.5rem) }
.access-brand img { width: min(100%, 12rem); margin-left: -.55rem }
.access-brand p { font-weight: 700; color: var(--amber) }
.access-form { padding: clamp(1.5rem, 5vw, 3.6rem); align-self: center }
.access-form h1 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.045em }
.access-form form { margin-top: 1.4rem }
.access-form .notice { margin-top: 1rem }
@media (max-width: 700px) {
    .access-shell { grid-template-columns: 1fr; max-width: 480px }
    .access-art { min-height: 170px }
}

.product-card > .favorite-form { position: absolute; top: .6rem; right: .6rem }
.favorite-button-compact {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--green);
    box-shadow: 0 1px 4px #102c3526;
    font-size: 1.45rem;
    line-height: 1;
}
.favorite-button.is-favorite { color: #a02d50 }
.header-actions a[aria-current="page"] { box-shadow: inset 0 -2px var(--amber) }
.btn, .categories [aria-current], .category-band-home .categories a {
    --control-hover: #10443f;
    --control-pressed: var(--ink);
}
.btn.secondary, .btn-secondary, .favorite-button-compact, .collection-controls button, .collection-actions a, .variant-option, .categories a, .category-band-home .categories [aria-current] {
    --control-hover: #d5e7e1;
    --control-pressed: #bfd9d0;
}
.search-button, .btn.hero-button, .detail-add {
    --control-hover: #efad54;
    --control-pressed: #df9a40;
}
.header-actions a, .logout-link {
    --control-hover: #0c232b;
    --control-pressed: #081a21;
    border-radius: .45rem;
}
.header-actions a, .header-actions .logout-link { display: inline-flex; align-items: center; min-height: 44px }
.header-actions a:not(.cart-link), .logout-link { padding: .4rem .5rem }
.product-link { --control-hover: #ecf4f1; --control-pressed: #e1eeea }
:is(.btn, .btn-secondary, .search-button, .header-actions a, .logout-link, .product-link, .collection-actions a, .variant-option, .collection-controls button, .favorite-button-compact, .categories a):not(:disabled, [aria-disabled="true"]):is(:hover, :focus-visible) {
    background-color: var(--control-hover);
    text-decoration: none;
}
:is(.btn, .btn-secondary, .search-button, .header-actions a, .logout-link, .product-link, .collection-actions a, .variant-option, .collection-controls button, .favorite-button-compact, .categories a):not(:disabled, [aria-disabled="true"]):active {
    background-color: var(--control-pressed);
    box-shadow: inset 0 2px 3px #102c3526;
}

@media (prefers-reduced-motion: no-preference) {
    :is(.btn, .btn-secondary, .search-button, .header-actions a, .logout-link, .product-link, .collection-actions a, .variant-option, .collection-controls button, .favorite-button-compact, .categories a) {
        transition: background-color .16s ease, color .16s ease, transform .12s ease;
    }
    :is(.btn, .btn-secondary, .search-button, .header-actions a, .logout-link, .collection-actions a, .variant-option, .collection-controls button, .favorite-button-compact, .categories a):not(:disabled, [aria-disabled="true"]):active {
        transform: translateY(1px);
    }
}
@media (max-width: 960px) {
    .header-inner { grid-template-columns: auto minmax(0, 1fr); gap: .4rem 1rem; padding-block: .7rem .5rem }
    .header-actions { grid-column: 1 / -1; flex-wrap: wrap; gap: .2rem .6rem }
}
@media (max-width: 600px) {
    .header-inner { grid-template-columns: minmax(0, 1fr) }
    .header-actions { column-gap: .35rem }
}
