/* Existing STATEMENT typography and palette, with a clearer shopping hierarchy. */
.header.retail-header{grid-template-columns:auto minmax(0,1fr) auto;column-gap:32px;background:var(--paper);backdrop-filter:none}
.retail-header>.cj-catalog-entry{grid-column:3;grid-row:1}
.retail-header>.department-nav{grid-column:2;grid-row:1}
.retail-header .header-location{display:none}
.retail-header .section-nav{overflow:visible;flex-wrap:wrap;gap:0 16px;position:relative;border:0}
.retail-header .section-nav>a,.nav-category-group>a,.retail-header .nav-category-toggle{min-height:48px}
.nav-category-group{display:flex;align-items:center;min-width:0}
.nav-category-toggle{display:flex;align-items:center;min-width:0;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;white-space:nowrap;text-align:left}
.nav-category-toggle:is(:hover,[aria-expanded=true],[aria-current=page]){text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
.nav-category-toggle.special-offers{color:var(--wine)}
/* taste-skill-ignore: shadow belongs to the open dropdown overlay. */
.nav-category-panel{position:absolute;z-index:60;top:100%;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 28px;padding:24px 28px 32px;background:#fff;color:var(--ink);box-shadow:0 16px 24px #00000014;max-height:65dvh;overflow-y:auto;overscroll-behavior:contain}
.nav-category-panel[hidden]{display:none}
.retail-header .nav-category-panel a{min-height:44px;padding:8px 0;white-space:normal;border:0}
.nav-category-panel .nav-view-all{grid-column:1/-1;margin-bottom:8px;text-decoration:underline;text-underline-offset:5px}
.nav-category-panel a:hover{color:var(--wine);text-decoration:underline;text-underline-offset:5px}
.retail-header :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:2px}
.catalog-quick-nav{display:none}
.unified-catalog .catalog-intro{padding:32px 4.5% 16px}
.unified-catalog .catalog-heading h1{max-width:24ch;text-wrap:balance}
.unified-catalog .catalog-heading p{margin-top:8px}
.catalog-fitting-link{min-height:32px}
.catalog-results{}
.catalog-list .product-grid{row-gap:36px}
.product-grid .product-name{}
.product-grid .price-row strong{font-variant-numeric:tabular-nums}
.catalog-disclaimer{max-width:72ch}
.catalog-help{padding-block:48px}
.catalog-help h2{}
.home-city-edit .ufa-copy>p{}
.home-city-edit .ufa-look h2{}
@media(min-width:761px) and (max-width:999px){
 .retail-header>.department-nav{grid-column:1/-1;grid-row:2;border:0}
}
@media(max-width:760px){
 .header.retail-header{grid-template-columns:minmax(0,1fr) auto;column-gap:16px;padding-inline:16px}
 .retail-header>.department-nav{grid-column:1/-1;grid-row:2;border:0}
 .retail-header .department-nav a{min-height:44px;}
 .catalog-quick-nav{justify-content:space-between;gap:8px}
 .catalog-quick-nav a,.catalog-quick-nav button{}
 .has-category-navigation .section-nav.is-expanded{grid-template-columns:minmax(0,1fr);padding:8px 16px 24px;max-height:calc(100dvh - 230px)}
 .retail-header .section-nav a,.retail-header .nav-category-toggle{min-height:48px}
 .nav-category-panel a{padding-left:4px}
 .unified-catalog .catalog-intro{padding:24px 16px 4px}
 .unified-catalog .catalog-heading h1{}
 .unified-catalog .catalog-heading p{}
 .catalog-list .product-grid{column-gap:12px;row-gap:28px}
 .product-grid .product-name{height:40px}
 .product-grid .product-card{grid-template-rows:auto 18px 40px 46px 18px 18px}
 .product-grid .price-row strong{}
 .catalog-help{padding:32px 16px;gap:16px}
 .home-city-edit .ufa-copy>p{}
}


@media(min-width:1000px){.catalog-toolbar{margin-top:20px;margin-bottom:24px}}
/* Supporting information is readable without competing with the product or price. */
.unified-catalog .facet-option,.unified-catalog .facet-note,.unified-catalog .price-inputs label{}
.unified-catalog .facet-option small,.unified-catalog .filter-heading button,.unified-catalog .reset-filters{}
.unified-catalog .product-brand,.unified-catalog .product-sizes,.unified-catalog .product-stores,.unified-catalog .price-row del,.unified-catalog .price-saving{}
.unified-catalog .product-brand{}
.unified-catalog .catalog-results #data-date{}
.unified-catalog [data-ai-label].ai-card-badge,.unified-catalog [data-ai-label].ai-gallery-badge{}
.header.retail-header{border-bottom:0}
@media(max-width:760px){.app-nav{border-top:0}.retail-header .cj-nav-count{}}

/* Fit definitions share the catalog source; each silhouette links to its filter. */
.nav-category-panel.nav-fit-guide{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 32px}
.nav-fit-title{grid-column:1/-1;margin:0}
.nav-fit-guide .nav-view-all{margin:0}
.nav-fit-guide h3{margin:0 0 8px}
.retail-header .nav-fit-guide section a{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:8px 0 12px}
.nav-fit-guide strong{}
.nav-fit-guide section a span{color:var(--muted);text-transform:none;}
@media(max-width:1380px){.nav-category-group:has(.nav-fit-guide:not([hidden])){grid-column:1/-1}.nav-category-panel.nav-fit-guide{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.nav-category-panel.nav-fit-guide{grid-template-columns:minmax(0,1fr);gap:20px;padding:16px}.nav-fit-guide section a span{}}

/* One row uses the actual available width; overflow is measured after fonts load. */
:root{--ease-out:cubic-bezier(.23,1,.32,1);--duration-menu:220ms}
.retail-header.has-category-navigation .section-nav{display:flex;position:relative;grid-column:1/-1;grid-row:auto;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:16px;width:100%;min-width:0;margin:0;padding:0;overflow:visible}
.retail-header .section-nav>[hidden]{display:none!important}
.retail-header .section-nav>:is(a,button){flex:0 0 auto;min-height:44px;width:auto;margin:0;padding:0;white-space:nowrap;border:0;background:transparent;color:var(--ink);cursor:pointer}
.retail-header .section-nav>.special-offers{color:var(--wine)}
.retail-header .section-nav>:is(button,a):is([aria-expanded=true],[aria-current=page]){text-decoration:underline;text-underline-offset:6px}
.retail-header .department-nav a[data-chosen]{border-bottom-color:var(--ink)}
.nav-overflow-toggle{margin-left:auto!important}
.nav-flow-panel{position:absolute;top:100%;left:0;right:0;z-index:70;background:var(--paper);color:var(--ink);padding:20px max(16px,4.5vw) 28px;box-shadow:0 16px 24px #00000014;overflow:auto;overscroll-behavior:contain;opacity:0;transform:translateY(-12px) scale(.98);transform-origin:left top;transition:opacity var(--duration-menu) var(--ease-out),transform var(--duration-menu) var(--ease-out)}
.nav-flow-panel[hidden]{display:none}
.nav-flow-panel[data-open]{opacity:1;transform:translateY(0) scale(1)}
.nav-flow-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.nav-flow-heading h2{margin:0}
.nav-flow-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:10px;background:transparent;border:0;color:inherit;cursor:pointer}
.nav-flow-close svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}
.nav-flow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 28px}
.retail-header .nav-flow-grid a{display:flex;align-items:center;min-height:44px;padding:10px 0;border:0;white-space:normal;text-decoration:none}
.retail-header .nav-flow-grid a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.nav-flow-all{grid-column:1/-1;text-decoration:underline!important;text-underline-offset:5px}
.nav-flow-fits{grid-template-columns:repeat(3,minmax(0,1fr))}
.nav-flow-fits h3{margin:12px 0 4px}
.retail-header .nav-flow-fits section a{flex-direction:column;align-items:flex-start;gap:4px}
.nav-flow-fits strong{}
.nav-flow-fits span{color:var(--muted);}
.navigation-instant .nav-flow-panel{transition-duration:0ms}
@media(hover:hover) and (pointer:fine){.retail-header .nav-flow-grid a:hover{text-decoration:underline;text-underline-offset:5px;color:var(--wine)}}
@media(max-width:760px){
 .retail-header.has-category-navigation .section-nav{grid-row:3;gap:14px}
 .retail-header .section-nav>:is(a,button){}
 .nav-flow-panel{padding:12px 16px 20px}
 .nav-flow-heading{margin-bottom:8px;gap:8px}
 .nav-flow-heading h2{}
 .nav-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
 .nav-flow-fits{grid-template-columns:1fr}
 .nav-flow-fits span{}
}
@media(prefers-reduced-motion:reduce){.nav-flow-panel{transform:none;transition:opacity 80ms linear}.nav-flow-panel[data-open]{transform:none}}
/* Fit selection stays in the reading flow immediately above the denim catalog. */
.unified-catalog #jeans-fit-panel{padding-block:16px;border:0}
.unified-catalog #jeans-fit-panel .jeans-fit-heading{margin-bottom:12px}
.unified-catalog #jeans-fit-panel .eyebrow{display:none}
.unified-catalog #jeans-fit-panel .jeans-fit-family button{min-height:44px}
@media(max-width:760px){.unified-catalog #jeans-fit-panel .jeans-fit-families{display:flex;gap:12px;flex-wrap:wrap}.unified-catalog #jeans-fit-panel .jeans-fit-family{margin-top:0;max-width:100%}.unified-catalog #jeans-fit-panel .jeans-fit-buttons{flex-wrap:wrap;overflow:visible}}
/* Dialog motion is managed once on entry; no competing CSS animation. */
html body .product-dialog[open],html body .filter-dialog[open]{animation:none}
.cj-size-menu{transform-origin:top left}
/* Reserve the navigation row and catalog viewport before enhancement/data arrives. */
.retail-header .section-nav{flex-wrap:nowrap;overflow-x:auto;min-height:44px}
.retail-header.has-category-navigation .section-nav{overflow:visible}
.unified-catalog .catalog-list{min-height:100svh}

/* AI explanation in the upper-left; cart in the lower-left. */
.unified-catalog [data-ai-label].ai-card-badge,.unified-catalog [data-ai-label].ai-gallery-badge{top:4px;left:4px;bottom:auto;right:auto;width:44px;height:44px;padding:11px;justify-content:center;cursor:pointer;filter:drop-shadow(0 0 1px #fff) drop-shadow(0 1px 2px #fff)}
[data-ai-label] svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}
.cj-card-cart{position:absolute;bottom:4px;left:4px;z-index:5;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;background:transparent;color:#292620;cursor:pointer;filter:drop-shadow(0 0 1px #fff) drop-shadow(0 1px 2px #fff);touch-action:manipulation}
.cj-card-cart svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cj-card-cart:focus-visible{outline:2px solid #883a49;outline-offset:-2px}
.cj-card-cart[aria-expanded=true]{color:#883a49}
.cj-card-menu{position:fixed;z-index:120;box-sizing:border-box;width:min(320px,calc(100vw - 24px));max-height:min(420px,60dvh);overflow:auto;overscroll-behavior:contain;margin:0;padding:16px;border:1px solid #d7d1c8;background:#f5f3ee;color:#292620;box-shadow:0 8px 28px #0002;text-align:left}
.unified-catalog .product-photo .photo-count{left:50%;right:auto;bottom:14px;transform:translateX(-50%);pointer-events:none}

/* Catalog facts stay in the detail view or size picker. No reserved empty rows. */
.unified-catalog .product-grid .product-card{grid-template-rows:auto 18px 40px auto}
@media(max-width:760px){.unified-catalog .product-grid .product-card{grid-template-rows:auto 16px 36px auto}}

/* Product detail: a clear return action, purchase after facts, quiet contact choices. */
#product-dialog .product-sheet-bar{padding:6px 16px;min-height:56px;overflow:visible}
#product-dialog .product-sheet-bar>.dialog-close{position:static;display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:44px;height:auto;margin:0;padding:10px 0;border:0;border-radius:0;background:transparent;color:var(--ink);box-shadow:none;cursor:pointer}
#product-dialog .product-sheet-bar>.dialog-close:hover{text-decoration:underline;text-underline-offset:4px}
#product-dialog .product-sheet-bar>.dialog-close:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
#product-dialog [data-product-purchase]{margin:16px 0 24px}
#product-dialog .product-contact-intro{color:var(--muted);margin:16px 0 12px;max-width:65ch}
#product-dialog .product-contact-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;margin:0}
#product-dialog .product-contact-tiles>.contact-action{min-width:0;min-height:64px;padding:10px 6px;border:0;border-radius:8px;background:#e9e7e2;color:var(--ink);text-align:center;white-space:normal}
#product-dialog .product-contact-tiles>.contact-action:hover{background:#dedbd4;color:var(--ink)}
#product-dialog .product-contact-tiles>.contact-action:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
@media(max-width:360px){#product-dialog .product-contact-tiles{gap:6px}#product-dialog .product-contact-tiles>.contact-action{padding-inline:4px;}}

/* Jacket warmth is independent from denim construction; only verified assignments. */
.jacket-group-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:0 4.5% 20px}
.jacket-group-tabs[hidden],#jacket-warmth-fieldset[hidden]{display:none}
.jacket-group-tabs button,.jacket-warmth-options button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 14px;background:transparent;color:var(--ink);border:1px solid var(--line);border-radius:8px;cursor:pointer}
.jacket-group-tabs button[aria-pressed=true],.jacket-warmth-options button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.jacket-group-tabs button:focus-visible,.jacket-warmth-options button:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
.jacket-group-tabs button span,.jacket-warmth-options button span{font-variant-numeric:tabular-nums}
.jacket-warmth-options{display:grid;gap:6px}
@media(max-width:760px){.jacket-group-tabs{padding:0 16px 16px;gap:6px}.jacket-group-tabs button{padding:9px 10px;gap:8px}}

/* Transitional menu layers are inert and never add duplicate focus targets. */
.nav-motion-content{position:relative;min-width:0}
.nav-motion-old{overflow:hidden}
@media(hover:hover) and (pointer:fine){.nav-flow-grid a{transition:color 140ms ease}.nav-flow-grid a:active{opacity:.65}}

/* Pinned brand entry and a single, horizontally scrollable logo strip. */
.retail-header .nav-flow-grid button{min-height:44px;border:0;padding:10px 0;background:transparent;text-align:left;color:inherit;cursor:pointer}
.retail-header .nav-brands-toggle{order:-1}
.nav-brand-panel .nav-flow-heading{margin-bottom:0}
.nav-brand-strip{display:flex;align-items:stretch;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding:4px;padding:4px 4px 12px;scrollbar-width:thin;scrollbar-color:#9a9389 transparent}
.retail-header .nav-brand-strip a{flex:0 0 126px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:104px;padding:8px 3px;color:inherit;text-decoration:none;scroll-snap-align:start}
.nav-brand-strip img{display:block;width:120px;height:48px;object-fit:contain;filter:grayscale(1)}
.nav-brand-strip img[hidden]{display:none}
.nav-brand-strip span{white-space:nowrap}
.nav-brand-strip a[aria-current=true] span{text-decoration:underline;text-underline-offset:5px}
.retail-header :is(.nav-brand-strip a,.nav-flow-grid button,.nav-brands-toggle):focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media(hover:hover){.nav-brand-strip a:hover span{text-decoration:underline;text-underline-offset:5px}}
@media(max-width:760px){.nav-brand-strip{gap:18px}.retail-header .nav-brand-strip a{flex-basis:116px;min-height:100px}.nav-brand-strip img{width:110px;height:44px}.nav-brand-panel{padding-bottom:12px}}

/* One navigation row; choices belong to the current step, never a second menu. */
.retail-header.has-path-navigation>.department-nav{display:flex;justify-content:center;gap:24px;min-width:0;flex-wrap:nowrap}
.retail-header.has-path-navigation>.department-nav[hidden],.catalog-pathbar[hidden],.catalog-choice-panel[hidden]{display:none!important}
.has-path-navigation .department-nav a{min-height:48px;border:0;padding:0;white-space:nowrap}
.has-path-navigation .department-nav a:hover{text-decoration:underline;text-underline-offset:5px}
.catalog-pathbar{display:flex;align-items:center;min-width:0;grid-column:2;grid-row:1;gap:4px}
.catalog-path{display:flex;align-items:center;overflow-x:auto;min-width:0;flex:1;scrollbar-width:none;overscroll-behavior-x:contain}
.catalog-path::-webkit-scrollbar{display:none}
.catalog-pathbar button,.catalog-path-tools button{display:flex;align-items:center;justify-content:center;flex:none;min-height:44px;border:0;background:transparent;color:var(--ink);padding:8px 4px;cursor:pointer}
.catalog-pathbar .catalog-path-start,.catalog-path-filter{width:44px;padding:10px}
.catalog-pathbar svg,.catalog-path-tools svg,.catalog-choice-close svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
.catalog-path-node{white-space:nowrap}
.catalog-path-node:hover{text-decoration:underline;text-underline-offset:4px}
.catalog-path-separator{display:flex;align-items:center;padding:0 2px;color:#706b64}
.catalog-path-separator svg{width:12px;height:16px}
.catalog-path-tools{flex:none;display:flex}
.catalog-root-tools{position:absolute;right:16px;top:4px}
.catalog-path-view .retail-header:not(.catalog-path-active)>:is(.cj-catalog-entry,.menu-toggle){display:none!important}
.catalog-choice-panel{position:relative;inset:auto;grid-column:1/-1;grid-row:3;width:100%;min-width:0;max-height:60dvh;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:8px 0 12px;background:var(--paper,#f6f5ef);color:var(--ink);box-shadow:none;z-index:1}
.catalog-choice-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 8px}
.catalog-choice-heading h2{margin:0;max-width:none}
.catalog-choice-close{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px;background:transparent;border:0;color:inherit;cursor:pointer}
.catalog-choice-content{display:flex;flex-wrap:wrap;gap:4px 28px}
.retail-header .catalog-choice-link,.retail-header .catalog-choice-all{display:flex;align-items:center;min-height:44px;padding:8px 0;border:0;color:inherit;text-decoration:none;background:transparent;white-space:normal}
.retail-header .catalog-choice-link:hover,.retail-header .catalog-choice-all:hover{text-decoration:underline;text-underline-offset:4px}
.catalog-choice-all{flex-basis:100%;text-decoration:underline!important;text-underline-offset:4px;margin-top:8px}
.catalog-category-groups{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px 32px}
.catalog-category-group{display:grid;grid-template-columns:1fr;align-content:start;column-gap:24px}
.catalog-category-group:first-child{grid-template-columns:repeat(2,minmax(0,1fr))}
.catalog-category-group h3{grid-column:1/-1;margin:8px 0}
.catalog-category-groups>.catalog-choice-all{grid-column:1/-1}
.catalog-choice-status{margin:8px 0}
.catalog-brand-strip{display:grid;grid-template-columns:repeat(var(--brands),minmax(0,1fr));align-items:center;gap:16px}
.retail-header .catalog-brand-choice{display:flex;align-items:center;justify-content:center;min-width:0;min-height:64px;padding:8px 0}
.catalog-brand-choice img{display:block;width:100%;max-width:120px;height:48px;object-fit:contain;filter:none}
.catalog-sheet-tools{display:grid;gap:12px;margin-bottom:16px}
.catalog-sheet-tools .collection-select{display:grid;padding:0;margin:0;gap:6px}
.catalog-sheet-tools .catalog-search{width:100%;max-width:none}
.catalog-sheet-tools input,.catalog-sheet-tools select{width:100%;min-height:44px}
.catalog-path-view .catalog-body>.collection-select{display:none!important}
.catalog-path-view :is(.catalog-intro,#category-tabs,#jacket-group-tabs,#jeans-fit-panel,.catalog-toolbar,.filter-summary,#filters-home){display:none!important}
.catalog-path-view .catalog-layout{display:block}
.catalog-path-view .catalog-body{padding-top:12px}
.catalog-path-view .catalog-results{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:0;min-height:0}
.catalog-path-view .catalog-results p{margin:0}
.catalog-path-view #data-date{margin-top:16px}
.catalog-path-view .catalog-list{width:100%;min-width:0}
.catalog-path-view .retail-header.catalog-path-active{grid-template-columns:minmax(0,1fr);padding-block:4px}
.catalog-path-view .retail-header.catalog-path-active>:is(.wordmark,.cj-catalog-entry,.menu-toggle,.shell-back,.header-back,.site-back){display:none!important}
.catalog-path-view .retail-header.catalog-path-active>.catalog-pathbar{grid-column:1/-1;grid-row:1}
body:is(.cj,.editorial-page,.blog-surface) .retail-header :is(.catalog-pathbar,.catalog-choice-panel){display:none!important}
.catalog-pathbar :focus-visible,.catalog-choice-panel :focus-visible{outline:2px solid var(--wine,#783745);outline-offset:2px}
@media(max-width:999px){
 .retail-header.has-path-navigation>.department-nav,.retail-header.has-path-navigation>.catalog-pathbar{grid-column:1/-1;grid-row:2;width:100%}
 .retail-header.has-path-navigation>.department-nav{justify-content:space-between;gap:8px}
 .catalog-choice-panel{padding:4px 8px 8px}
 .catalog-category-groups{grid-template-columns:1fr 1fr;gap:16px}
 .catalog-category-group:first-child{grid-column:1/-1}
 .catalog-brand-strip{gap:4px}
 .catalog-brand-choice img{height:32px}
 .retail-header .catalog-brand-choice{min-height:48px}
 .catalog-path-view .retail-header.catalog-path-active{padding-inline:8px}
}
@media(prefers-reduced-motion:no-preference){.catalog-choice-content,.catalog-brand-strip{animation:path-choice-in 160ms cubic-bezier(.2,.7,.3,1)}@keyframes path-choice-in{from{opacity:.8;transform:translateY(-3px)}to{opacity:1;transform:none}}}

/* Brands open as one logo strip, without a heading row. */
.retail-header .catalog-choice-panel.catalog-brands-only{padding-top:8px;padding-bottom:8px}

/* An expanded navigation step occupies space above the catalog. Keyboard focus stays inside the scrolling path. */
.retail-header.has-path-navigation{row-gap:0}
.retail-header :is(.catalog-pathbar,.catalog-choice-panel) :focus-visible{outline:2px solid var(--wine,#783745);outline-offset:-2px}
.retail-header :is(.catalog-pathbar,.catalog-choice-panel) :focus:not(:focus-visible){outline:none}

/* Dismiss controls: no coloured ring after touch or automatic dialog focus. */
html body .statement-back:focus,html #product-dialog .product-sheet-bar>.dialog-close:focus,html #filter-dialog #close-filters:focus{outline:none;box-shadow:none}
html.keyboard-navigation body .statement-back:focus-visible,html.keyboard-navigation #product-dialog .product-sheet-bar>.dialog-close:focus-visible,html.keyboard-navigation #filter-dialog #close-filters:focus-visible{outline:2px solid var(--ink,#252420);outline-offset:-2px}

/* Compact category choice: preserve 44px touch rows, remove surrounding air. */
.retail-header .catalog-choice-panel:has(.catalog-category-groups){padding-block:0 4px}
.retail-header .catalog-choice-panel:has(.catalog-category-groups) .catalog-choice-heading{margin-bottom:0;gap:8px}
.retail-header .catalog-category-groups{gap:8px 16px}
.retail-header .catalog-category-group{column-gap:12px}
.retail-header .catalog-category-group h3{margin:0 0 4px}
.retail-header .catalog-category-groups .catalog-choice-link{min-height:44px;padding-block:4px}
.retail-header .catalog-category-groups>.catalog-choice-all{margin-top:0;padding-block:4px}
@media(max-width:999px){
 .retail-header .catalog-choice-panel:has(.catalog-category-groups){max-height:calc(100dvh - 160px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
}

/* Size logo slots by artwork proportions. The triangle needs less optical space.
   Keep colour, original artwork, and at least a 44px target on every viewport. */
.retail-header .catalog-brand-strip{display:flex;align-items:center;justify-content:space-between;gap:16px}
.retail-header .catalog-brand-choice{flex:1 1 0;min-width:44px;max-width:180px;padding-inline:0}
.retail-header .catalog-brand-choice img{width:100%;max-width:none;height:auto;max-height:48px;object-fit:contain}
.retail-header .catalog-brand-choice[data-brand-shape="compact"]{flex:0 0 60px}
.retail-header .catalog-brand-choice[data-brand-shape="triangle"]{flex:0 0 52px;margin-inline:-4px}
@media(max-width:760px){
 .retail-header .catalog-brand-strip{gap:4px}
 .retail-header .catalog-brand-choice{max-width:none}
 .retail-header .catalog-brand-choice img{max-height:32px}
 .retail-header .catalog-brand-choice[data-brand-shape="compact"],
 .retail-header .catalog-brand-choice[data-brand-shape="triangle"]{flex-basis:44px}
 .retail-header .catalog-brand-choice[data-brand-shape="triangle"]{margin-inline:-2px}
}

/* Home stays reachable even when a long selection path scrolls horizontally. */
.catalog-path-home{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:10px;box-sizing:border-box;color:var(--ink);text-decoration:none}
.catalog-path-home:focus-visible{outline:2px solid currentColor;outline-offset:-2px}

/* One accent entry after children; retain the standard type and touch height. */
.retail-header .department-nav .catalog-sale-link,.retail-header .catalog-choice-content .catalog-sale-link{color:var(--wine,#883a49);font-weight:700}
.retail-header.has-path-navigation>.department-nav{overflow-x:auto;justify-content:safe center;scrollbar-width:none}
.retail-header.has-path-navigation>.department-nav::-webkit-scrollbar{display:none}
.retail-header.has-path-navigation>.department-nav>a{flex:none}
@media(max-width:999px){.retail-header.has-path-navigation>.department-nav{justify-content:space-between;gap:8px}}
@media(max-width:360px){.retail-header.has-path-navigation>.department-nav{gap:2px}}

/* Optional brand refinement precedes categories in the audience-first path. */
.retail-header .catalog-gender-brands{margin:0 0 8px;overflow-x:auto;scrollbar-width:none}
.retail-header .catalog-gender-brands::-webkit-scrollbar{display:none}
.retail-header .catalog-brand-choice.is-selected{box-shadow:inset 0 -2px 0 var(--wine,#883a49)}

/* TH review: overlay, interruptible close, fixed path preserved. */
.retail-header.has-path-navigation{isolation:isolate;overflow:visible}
.retail-header.has-path-navigation>.catalog-choice-panel{position:absolute;inset:100% 0 auto;box-sizing:border-box;width:100%;max-height:min(65dvh,650px);padding:12px clamp(12px,3vw,48px) 20px;z-index:10;background:var(--paper,#f5f4f0);box-shadow:0 12px 20px #00000012;opacity:1;transform:translateY(-100%);clip-path:inset(100% 0 0);pointer-events:none;transition:transform var(--duration-menu,220ms) var(--ease-out,cubic-bezier(.23,1,.32,1)),clip-path var(--duration-menu,220ms) var(--ease-out,cubic-bezier(.23,1,.32,1));}
.retail-header.has-path-navigation>.catalog-choice-panel.is-open{opacity:1;transform:translateY(0);clip-path:inset(0 0 0);pointer-events:auto}
.retail-header.has-path-navigation>.catalog-choice-panel.keyboard-motion{transition:none}
.catalog-choice-content{animation:none!important}
.catalog-results-bar{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.catalog-results-bar>.catalog-path-filter{flex:0 0 44px;width:44px;height:44px;padding:10px;border:0;background:none;color:inherit}
.catalog-results-bar>.catalog-path-filter svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}
@media(prefers-reduced-motion:reduce){
 .retail-header.has-path-navigation>.catalog-choice-panel{transform:none;clip-path:none;opacity:0;transition:opacity 200ms linear!important}
 .retail-header.has-path-navigation>.catalog-choice-panel.is-open{opacity:1}
 .retail-header.has-path-navigation>.catalog-choice-panel.keyboard-motion{transition:none!important}
}

.retail-header.has-path-navigation>.catalog-choice-panel.catalog-choice-anchored{left:var(--choice-left,0px);right:auto;width:min(720px,100%);padding-inline:16px}

/* Gesture progress is direct, reversible and never chased by a timed transition. */
.retail-header.has-path-navigation>.catalog-choice-panel.is-scroll-driven{transition:none!important}

/* Keep the shared brand row stationary while adjacent branches change. */
.retail-header .catalog-brand-strip{animation:none!important}
.retail-header .catalog-brand-choice img{height:48px;object-fit:contain}
@media(max-width:760px){.retail-header .catalog-brand-choice img{height:32px}}
