/* Nandaras editorial storefront layer.
 * Loaded after the legacy foundation while the visual system is migrated page by page.
 */

:root {
    --nd-ivory: #fbf8f1;
    --nd-paper: #fffdf8;
    --nd-ink: #211b17;
    --nd-wine: #641c2d;
    --nd-green: #18392f;
    --nd-gold: #a9803e;
    --nd-rule: #ded4c3;
    --nd-soft-shadow: 0 20px 50px rgba(33, 27, 23, .09);
}

html { scroll-behavior: smooth; }
body { background: var(--nd-ivory); font-size: 1rem; }
:focus-visible { outline: 2px solid var(--nd-gold); outline-offset: 4px; }
.skip-link {
    position: fixed; top: 10px; left: 10px; z-index: 200;
    padding: 12px 18px; background: var(--nd-paper); color: var(--nd-ink);
    border: 1px solid var(--nd-gold); transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* Quiet, useful announcement rather than an animated billboard. */
.announce { background: var(--nd-green); font-family: var(--sans); letter-spacing: .08em; }
.announce-inner { min-height: 36px; gap: 24px; }
.announce p { margin: 0; font-size: .72rem; text-transform: uppercase; }
.announce a {
    color: #fff8eb; font-size: .7rem; text-transform: uppercase;
    text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}

/* Premium utility header: generous hit areas, restrained decoration. */
.site-header { background: rgba(251, 248, 241, .97); }
.nav-bar { min-height: 76px; max-width: 1520px; padding: 10px 40px; }
.nav-brand-mark { width: 46px; flex-basis: 46px; }
.nav-brand-wordmark { color: var(--nd-ink); font-size: 1rem; letter-spacing: .38em; }
.nav-links > li > a,
.nav-links > li > .nav-drop-trigger { min-height: 44px; font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; }
.nav-signin { font-family: var(--sans); font-size: .7rem; letter-spacing: .12em; }
.nav-icon, .nav-toggle-nd { min-width: 44px; min-height: 44px; justify-content: center; }
.nav-icon svg { width: 21px; height: 21px; }
.nav-drop-menu { border: 0; border-top: 2px solid var(--nd-gold); padding: 12px 6px; }
.nav-drop-menu a { min-height: 42px; font-family: var(--sans); font-size: .72rem; letter-spacing: .1em; }
.search-drawer { background: var(--nd-paper); }
.search-drawer-form input { min-height: 52px; font-size: 1rem; }

/* Single-campaign hero. The image is the campaign; the UI does not pretend it is a carousel. */
.hero-photo { min-height: min(760px, calc(100vh - 112px)); }
.hero-photo.hero-has-image .hero-photo-bg { background-position: center 42%; }
.hero-photo.hero-has-image .hero-photo-overlay {
    background: linear-gradient(90deg,
        rgba(20, 12, 7, .84) 0%,
        rgba(20, 12, 7, .62) 22%,
        rgba(20, 12, 7, .22) 45%,
        rgba(20, 12, 7, .05) 64%,
        rgba(20, 12, 7, .08) 100%);
}
.hero-photo-content { width: min(620px, 46vw); padding: 72px max(6vw, 48px); }
.hero-photo-eyebrow { font-family: var(--sans); font-size: .7rem; letter-spacing: .25em; }
.hero-photo-title {
    font-family: var(--serif); font-size: clamp(3rem, 5.2vw, 5.8rem);
    line-height: .96; letter-spacing: -.025em; text-wrap: balance;
}
.hero-photo-title em { color: var(--gold-lt); font-weight: 400; }
.hero-photo-sub { max-width: 38ch; font-style: normal; font-size: 1.18rem; line-height: 1.6; }
.hero-photo-cta .btn { min-height: 48px; padding: 14px 26px; }

.trust-ribbon { background: var(--nd-paper); border-bottom: 1px solid var(--nd-rule); }
.trust-ribbon-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 24px; }
.trust-ribbon-grid > div { padding: 2px 28px; border-right: 1px solid var(--nd-rule); }
.trust-ribbon-grid > div:first-child { padding-left: 0; }
.trust-ribbon-grid > div:last-child { padding-right: 0; border-right: 0; }
.trust-ribbon strong {
    display: block; color: var(--nd-green); font-family: var(--serif);
    font-size: 1.08rem; font-weight: 600;
}
.trust-ribbon span { display: block; margin-top: 3px; color: var(--muted); font-size: .78rem; line-height: 1.45; }

/* Editorial image tiles. Existing campaign art remains intact and readable. */
.category-tiles-section { padding: 52px 32px 26px; background: var(--nd-ivory); }
.category-tiles { gap: 14px; max-width: 1440px; }
.cat-tile { border-radius: 0; box-shadow: none; }
.cat-tile:hover { transform: none; box-shadow: none; }
.cat-tile:hover .cat-tile-bg { transform: scale(1.025); }
.cat-tile-photo::after { border: 1px solid rgba(255, 255, 255, .3); inset: 10px; }

.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-eyebrow { font-family: var(--sans); font-size: .68rem; letter-spacing: .24em; }
.section-head h2 { font-size: clamp(2.1rem, 3.5vw, 3.35rem); line-height: 1.08; }
.section-lede { font-size: 1.15rem; line-height: 1.65; }

/* Weave index: five image-led, square collection cards. */
.category-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; border: 0; }
.cat-card {
    position: relative; display: block; aspect-ratio: 1; min-height: 0; padding: 0;
    overflow: hidden; border: 0; background: #4b3329; color: #fff8eb; text-align: left;
}
.cat-card-photo {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center top; transition: transform .7s ease;
}
.cat-card-shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20, 10, 6, .04) 35%, rgba(20, 10, 6, .82) 100%);
}
.cat-card-index {
    position: absolute; top: 16px; left: 16px; color: #fff8eb;
    font-family: var(--sans); font-size: .68rem; letter-spacing: .16em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.cat-card-content { position: absolute; inset: auto 20px 20px; display: grid; gap: 8px; }
.cat-card-title { font-family: var(--serif); font-size: clamp(1.35rem, 1.8vw, 1.85rem); line-height: 1; }
.cat-card-link { color: rgba(255, 248, 235, .86); font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; }
.cat-card:hover { transform: none; box-shadow: none; background: #4b3329; color: #fff8eb; }
.cat-card:hover .cat-card-photo { transform: scale(1.035); }
.cat-card:focus-visible { outline-offset: 4px; }

/* Product cards: image-first, no floating-card furniture. */
.products { gap: 30px 18px; }
.product-card { border: 0; border-radius: 0; background: transparent; }
.product-card:hover { transform: none; box-shadow: none; border-color: transparent; }
.product-media { aspect-ratio: 3 / 4; background: #eee6d8; }
.product-card .product-media::after { display: none; }
.product-img { transition: opacity .4s ease, transform .7s ease; }
.product-media:hover .product-img-primary { transform: scale(1.018); }
.card-badges { top: 12px; right: 12px; align-items: flex-end; }
.badge { box-shadow: none; font-family: var(--sans); font-size: .6rem; letter-spacing: .1em; }
.badge-stock { background: rgba(255, 253, 248, .94); color: var(--nd-green); }
.card-heart, .card-add-cart { width: 44px; height: 44px; opacity: 1; border-radius: 0; }
.card-add-cart:disabled { cursor: not-allowed; opacity: .58; }
.product-card.is-out .product-img { filter: saturate(.55); }
.card-quick form { right: 12px; }
.card-quick form:nth-of-type(1) { bottom: 64px; }
.product-body { padding: 18px 0 0; }
.product-cat { font-family: var(--sans); font-size: .65rem; letter-spacing: .12em; }
.product-name { min-height: 2.7em; font-size: 1.25rem; line-height: 1.25; }
.product-price { margin-bottom: 16px; }
.product-price .now { color: var(--nd-ink); font-size: 1.15rem; }
.product-actions .btn { min-height: 46px; }
.product-actions > form { display: flex; flex: 1; }
.product-actions > form .btn { width: 100%; }
.product-name a { color: inherit; }

.section-dark { background: var(--nd-green); }
.story-grid { gap: clamp(50px, 8vw, 110px); }
.story-copy h2 { font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.04; }
.story-copy p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.7; }
.text-link-light {
    display: inline-block; margin-top: 12px; padding-bottom: 5px;
    border-bottom: 1px solid var(--gold-lt); color: var(--gold-lt);
    font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
}
.text-link-light:hover { color: #fff; }

@media (max-width: 1100px) {
    .nav-bar { padding-inline: 20px; gap: 14px; }
    .nav-links > li > a, .nav-links > li > .nav-drop-trigger { padding-inline: 10px; }
    .trust-ribbon-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
    .trust-ribbon-grid > div:nth-child(2) { border-right: 0; }
    .category-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
    .announce-inner { min-height: 38px; justify-content: center; text-align: center; padding-inline: 12px; }
    .announce p { font-size: .64rem; line-height: 1.35; }
    .announce a { display: none; }
    .nav-bar { min-height: 64px; padding: 6px 10px; }
    .nav-brand { justify-self: center; margin: 0; }
    .nav-brand-mark { width: 42px; flex-basis: 42px; }
    .nav-right { gap: 0; }
    .nav-right .nav-icon:nth-of-type(2) { display: none; }
    .nav-links { max-height: calc(100vh - 102px); overflow-y: auto; }

    .hero-photo { min-height: min(820px, calc(100svh - 102px)); align-items: flex-end; }
    .hero-photo.hero-has-image .hero-photo-bg { background-position: 58% center; }
    .hero-photo.hero-has-image .hero-photo-overlay {
        background: linear-gradient(180deg, rgba(15, 8, 4, .05) 18%, rgba(15, 8, 4, .34) 52%, rgba(15, 8, 4, .88) 100%);
    }
    .hero-photo-content { width: 100%; max-width: none; padding: 38px 22px; }
    .hero-photo-eyebrow { max-width: 100%; line-height: 1.5; }
    .hero-photo-title { font-size: clamp(2.45rem, 11vw, 3.25rem); line-height: 1.02; }
    .hero-photo-sub { font-size: 1rem; }
    .hero-photo-cta { display: grid; width: 100%; }
    .hero-photo-cta .btn { width: 100%; text-align: center; }

    .trust-ribbon-grid { grid-template-columns: 1fr 1fr; padding-block: 20px; gap: 20px 0; }
    .trust-ribbon-grid > div { padding: 0 14px; }
    .trust-ribbon-grid > div:nth-child(odd) { padding-left: 0; }
    .trust-ribbon-grid > div:nth-child(even) { border-right: 0; }
    .trust-ribbon strong { font-size: .98rem; }
    .trust-ribbon span { font-size: .72rem; }

    .category-tiles-section { padding: 24px 12px 8px; }
    .category-tiles-4 { gap: 8px; }
    .section { padding: 68px 0; }
    .container { padding-inline: 18px; }
    .section-head { margin-bottom: 34px; }
    .section-head h2 { font-size: 2.25rem; }

    .category-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cat-card:last-child { grid-column: 1 / -1; width: calc(50% - 5px); justify-self: center; }
    .cat-card-index { top: 12px; left: 12px; }
    .cat-card-content { inset: auto 14px 14px; }
    .cat-card-title { font-size: 1.35rem; }

    .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 10px; }
    .product-body { padding-top: 12px; }
    .product-name { min-height: 3em; margin-block: 5px 8px; font-size: 1.03rem; }
    .product-cat { font-size: .58rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .product-price .now { font-size: 1rem; }
    .product-price .was { font-size: .8rem; }
    .product-actions { display: grid; }
    .product-actions .btn { width: 100%; }
    .product-actions > .btn:first-child { display: none; }
    .card-heart, .card-add-cart { width: 44px; height: 44px; }
    .card-quick form { right: 8px; }
    .story-visual { max-height: 520px; }
}

/* Collection discovery */
.page-collections .page-hero {
    position: relative; min-height: clamp(360px, 36vw, 510px); padding: 0 24px;
    display: grid; place-items: center; overflow: hidden;
    background: var(--nd-green); color: #fff8eb; border-bottom: 0;
}
.collection-hero-image {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center; z-index: 0;
}
.collection-hero-shade {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(25, 13, 8, .72), rgba(25, 13, 8, .46) 50%, rgba(25, 13, 8, .68));
}
.collection-hero-content { position: relative; z-index: 2; width: min(900px, 100%); text-align: center; }
.page-collections .page-hero .breadcrumb {
    display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
    gap: 6px; color: var(--gold-lt); opacity: 1;
}
.page-collections .page-hero .breadcrumb a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.page-collections .page-hero h1 {
    max-width: 900px; margin-inline: auto; color: #fff8eb;
    font-size: clamp(2.8rem, 5vw, 5rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .32);
}
.page-collections .page-hero p {
    max-width: 620px; color: rgba(255, 248, 235, .9); font-size: 1.08rem;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
}
.page-collections .section { padding-top: 48px; }
.collection-filters { border-block: 1px solid var(--nd-rule); }
.filter-bar {
    min-height: 58px; margin: 0; padding: 8px 0; gap: 4px;
    border: 0; border-bottom: 1px solid var(--nd-rule); border-radius: 0;
    justify-content: flex-start; background: transparent;
}
.filter-bar:last-child { border-bottom: 0; }
.filter-label {
    min-width: 100px; color: var(--nd-ink); font-family: var(--serif);
    font-size: 1rem; font-weight: 600;
}
.filter-bar a {
    min-height: 38px; display: inline-flex; align-items: center; padding: 8px 14px;
    border: 0; border-radius: 0; font-size: .66rem; letter-spacing: .1em;
}
.filter-bar a:hover, .filter-bar a.active { background: var(--nd-green); color: #fff; }
.collection-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    min-height: 70px; margin-bottom: 20px; color: var(--muted);
    font-size: .8rem; text-transform: uppercase; letter-spacing: .12em;
}
.collection-toolbar p { margin: 0; }
.collection-toolbar strong { color: var(--nd-ink); }
.collection-toolbar-actions { display: flex; align-items: center; gap: 24px; }
.collection-toolbar .clear-filters { border-bottom: 1px solid currentColor; color: var(--nd-wine); }
.collection-sort { display: flex; align-items: center; gap: 10px; }
.collection-sort label { color: var(--nd-ink); white-space: nowrap; }
.collection-sort select {
    min-height: 44px; padding: 8px 36px 8px 12px; border: 1px solid var(--nd-rule);
    border-radius: 0; background: var(--nd-paper); color: var(--nd-ink);
    font: 500 .72rem/1.2 var(--sans); letter-spacing: .04em;
}
.page-collections .card-quick form { bottom: 12px; }
.collection-empty { max-width: 580px; margin: 64px auto; text-align: center; }
.collection-empty h2 { margin-bottom: 12px; font-family: var(--serif); font-size: 2.25rem; }
.collection-empty p { margin-bottom: 26px; color: var(--muted); font-family: var(--serif); font-size: 1.1rem; }
.pagination {
    display: flex; justify-content: center; align-items: center; gap: 20px;
    margin-top: 64px; font-family: var(--sans); font-size: .72rem;
    letter-spacing: .1em; text-transform: uppercase;
}
.pagination-pages { display: flex; gap: 6px; }
.pagination a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.pagination-pages a { border: 1px solid var(--nd-rule); }
.pagination-pages a:hover, .pagination-pages a.active { background: var(--nd-green); color: #fff; border-color: var(--nd-green); }
.pagination-direction { padding-inline: 8px; color: var(--nd-wine); }

/* Product detail */
.pdp-section { padding-top: 34px; background: var(--nd-paper); }
.pdp-breadcrumb {
    margin-bottom: 26px; color: var(--muted); font-family: var(--sans);
    font-size: .66rem; letter-spacing: .1em; line-height: 1.6; text-transform: uppercase;
}
.pdp { grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr); gap: clamp(45px, 6vw, 90px); }
.pdp-gallery { align-items: flex-start; }
.pdp-media { aspect-ratio: 4 / 5; min-height: 0; border-radius: 0; background: #eee6d8; }
.pdp-thumbs { gap: 10px; }
.pdp-thumb { width: 74px; height: 94px; border-radius: 0; }
.pdp-thumb.on { border-color: var(--nd-gold); box-shadow: none; }
.pdp-info { align-self: start; position: sticky; top: 150px; }
.pdp-info .cat { margin-bottom: 14px; font-family: var(--sans); font-size: .67rem; letter-spacing: .2em; }
.pdp-info h1 { max-width: 15ch; margin-bottom: 18px; font-size: clamp(2.5rem, 3.7vw, 4rem); line-height: 1.02; }
.pdp-stock { display: inline-block; margin-bottom: 8px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.pdp-stock-low { color: var(--nd-wine); }
.pdp-stock-bar { height: 2px; margin-bottom: 22px; background: var(--nd-rule); }
.pdp-stock-bar span { background: var(--nd-wine); }
.pdp-price { margin-bottom: 8px; }
.pdp-price .now { color: var(--nd-ink); font-size: 1.5rem; }
.pdp-price .save { border-radius: 0; font-size: .65rem; letter-spacing: .08em; }
.pdp-note {
    display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 28px;
    color: var(--muted); font-size: .72rem;
}
.pdp-note span + span::before { content: "·"; margin-right: 18px; color: var(--nd-gold); }
.pdp-desc { color: #5f554d; font-family: var(--serif); font-size: 1.1rem; line-height: 1.75; }
.pdp-attrs { margin-block: 28px; border-color: var(--nd-rule); }
.pdp-attrs li { min-height: 45px; border-color: var(--nd-rule); }
.pdp-attrs .k { font-family: var(--sans); font-size: .64rem; letter-spacing: .12em; }
.pdp-actions { gap: 10px; }
.pdp-actions .btn, .pdp-buynow .btn { min-height: 52px; }
.qty { height: 52px; border-radius: 0; border-color: var(--nd-rule); }
.qty button { min-width: 42px; }
.pdp-perks { border-color: var(--nd-rule); }
.pdp-perks strong { font-family: var(--serif); font-size: .9rem; }
.pdp-perks span { margin-top: 3px; font-size: .68rem; line-height: 1.35; }

@media (max-width: 900px) {
    .pdp { grid-template-columns: 1fr; gap: 42px; }
    .pdp-info { position: static; }
}

@media (max-width: 720px) {
    .page-collections .page-hero { min-height: 330px; padding: 38px 18px; text-align: left; }
    .collection-hero-content { text-align: left; }
    .collection-hero-image { object-position: center; }
    .collection-hero-shade { background: rgba(25, 13, 8, .58); }
    .page-collections .page-hero .breadcrumb { justify-content: flex-start; }
    .page-collections .page-hero h1 { font-size: 2.75rem; }
    .page-collections .page-hero p { margin-inline: 0; }
    .collection-filters { display: grid; grid-template-columns: 1fr; }
    .filter-bar {
        flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
        scroll-snap-type: x proximity; padding-inline: 0;
    }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-bar > * { flex: 0 0 auto; scroll-snap-align: start; }
    .filter-label { min-width: 82px; position: sticky; left: 0; z-index: 1; background: var(--nd-ivory); }
    .collection-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; min-height: 58px; margin-block: 18px 20px; }
    .collection-toolbar-actions { width: 100%; justify-content: space-between; gap: 14px; }
    .collection-sort { margin-left: auto; }
    .collection-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .collection-sort select { max-width: 190px; }
    .pagination { justify-content: space-between; gap: 8px; margin-top: 44px; }
    .pagination-pages { gap: 3px; }
    .pagination a { min-width: 40px; min-height: 44px; }
    .pdp-section { padding-top: 22px; }
    .pdp-breadcrumb { margin-bottom: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .pdp-gallery { display: block; }
    .pdp-media { aspect-ratio: 4 / 5; }
    .pdp-media img { object-position: center top; }
    .pdp-thumbs { flex-direction: row; margin-top: 10px; overflow-x: auto; }
    .pdp-thumb { flex: 0 0 62px; width: 62px; height: 78px; }
    .pdp-info h1 { max-width: none; font-size: 2.6rem; }
    .pdp-note { display: grid; }
    .pdp-note span + span::before { display: none; }
    .pdp-actions { align-items: stretch; }
    .pdp-actions .qty { flex: 0 0 118px; }
    .pdp-perks { grid-template-columns: 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Mobile QA repairs: preserve content, affordances, and reachable controls. */
body.nav-menu-open { overflow: hidden; }
.filter-scroll-hint { display: none; }
.cart-quantity-form { display: flex; align-items: center; gap: 8px; }
.cart-update-button { padding: 10px 14px; font-size: .65rem; }
.cart-remove-button { padding: 8px 12px; font-size: .65rem; }
.cart-line-subtotal { font-family: var(--serif); font-size: 1.1rem; color: var(--maroon); }

@media (max-width: 720px) {
    .search-drawer.open { max-height: 300px; }
    .search-drawer-inner { padding: 16px 18px; }
    .search-drawer-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
    .search-drawer-form input { grid-column: 1 / -1; min-width: 0; }
    .search-drawer-form .btn, .search-drawer-close { min-width: 44px; min-height: 44px; }
    .search-drawer-close { display: inline-grid; place-items: center; padding: 0; }

    .filter-scroll-hint {
        display: block; margin: 8px 0 -2px; color: var(--muted);
        font-family: var(--sans); font-size: .68rem; letter-spacing: .08em; text-align: right;
        text-transform: uppercase;
    }
    .filter-scroll-hint span { color: var(--nd-gold); font-size: 1rem; }

    .pdp-media { aspect-ratio: 4 / 5; }
    .pdp-media img { object-position: center top; }

    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table { background: transparent; }
    .cart-table thead { display: none; }
    .cart-table tr {
        display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px;
        margin-bottom: 16px; padding: 16px; background: var(--nd-paper); border: 1px solid var(--nd-rule);
    }
    .cart-table td { min-width: 0; padding: 0; border: 0; }
    .cart-table td:first-child { grid-row: 1 / span 2; }
    .cart-table .thumb { width: 82px; }
    .cart-table td:nth-child(2) { grid-column: 2; }
    .cart-table td:nth-child(3), .cart-table td:nth-child(5) {
        display: flex; grid-column: 2; align-items: baseline; justify-content: space-between; gap: 12px;
    }
    .cart-table td:nth-child(4), .cart-table td:nth-child(6) { grid-column: 1 / -1; }
    .cart-table td:nth-child(3)::before, .cart-table td:nth-child(5)::before,
    .cart-table td:nth-child(6)::before {
        content: attr(data-label); color: var(--muted); font-family: var(--sans); font-size: .68rem;
        letter-spacing: .1em; text-transform: uppercase;
    }
    .cart-table td:nth-child(6) { display: flex; justify-content: flex-end; }
    .cart-quantity-form { flex-wrap: wrap; }
    .cart-quantity-form .qty { height: 44px; }
    .cart-quantity-form .qty button { min-width: 44px; min-height: 44px; }
    .cart-update-button, .cart-remove-button { min-height: 44px; }
    .cart-summary { max-width: none; margin-top: 20px; padding: 22px 18px; }
}
