/* A shorter mobile storefront, a size-first selection, and an always-visible purchase action. */
.size-finder{display:grid;grid-template-columns:1fr 1.15fr;gap:52px;align-items:center;padding:32px 0 25px;border-bottom:1px solid var(--line);scroll-margin-top:105px}
.finder-intro>.eyebrow{color:var(--muted);font-size:9px;letter-spacing:1.8px}
.finder-intro h2{font-size:29px;font-weight:500;letter-spacing:-.9px;line-height:1.25;margin:8px 0}
.finder-intro h2 em{font-family:var(--serif);font-weight:400;color:var(--wine)}
.finder-intro p{font-size:12px;color:var(--muted)}
.finder-controls{min-width:0;max-width:580px}
.finder-categories{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:13px}
.finder-categories button{flex:1;min-height:42px;padding:8px 16px;font-size:12px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}
.finder-categories button[aria-pressed=true]{color:var(--wine);border-color:var(--wine)}
.finder-sizes{display:flex;gap:8px;overflow-x:auto;padding:3px 2px 6px;scrollbar-width:thin;scrollbar-color:#d4bfc3 transparent}
.finder-size{flex:0 0 44px;min-height:44px;border:1px solid #dedbd5;background:#fff;font-size:13px;font-weight:600;transition:background .2s,color .2s,border-color .2s}
.finder-size:hover{border-color:var(--wine)}
.finder-size[aria-pressed=true]{background:var(--wine);border-color:var(--wine);color:#fff}
.finder-size:disabled{color:#b4b0a9;text-decoration:line-through;background:#f6f4ef;border-color:#ece9e3}
.finder-bottom{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:8px}
#finder-status{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px}
#finder-status strong{color:var(--wine);font-weight:600}
#finder-status .icon{width:14px;height:14px;color:var(--wine)}
.finder-reset{font-size:10px;color:var(--wine);text-decoration:underline;text-underline-offset:3px;padding:10px 0;white-space:nowrap;min-height:40px}
.fit-summary{display:flex;align-items:center;gap:12px;background:#f6f0f1;padding:7px 12px;color:var(--wine);margin:-4px 0 14px;font-size:11px}
.fit-summary>span{display:flex;align-items:center;gap:7px;margin-right:auto;font-weight:600}
.fit-summary .icon{width:15px;height:15px}
.fit-summary>button{min-height:34px;padding:5px;font-size:10px;text-decoration:underline;text-underline-offset:3px}
.fit-summary>button:last-child{display:flex;align-items:center;justify-content:center;width:34px}
.mobile-purchase{display:none}
.size-options{scroll-margin-block:45px}
.detail-add:disabled,.purchase-button:disabled{opacity:.5;transform:none}
@media(max-width:900px){
  .size-finder{gap:30px;grid-template-columns:.9fr 1.1fr}
  .finder-intro h2{font-size:25px}
  .finder-intro h2 em{display:block}
}
@media(max-width:600px){
  html{scroll-padding-top:78px}
  #home-view{display:flex;flex-direction:column}
  .hero{order:0;position:relative;display:block;height:224px;min-height:224px;isolation:isolate;background:#e9ddc7}
  .hero:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#f2ece1 0%,#f2ece1f5 23%,#f2ece1c9 43%,#f2ece100 78%)}
  .hero-copy{position:relative;z-index:2;padding:25px 18px;width:67%;height:100%;background:none}
  .hero-copy>.eyebrow{font-size:7px;letter-spacing:1.3px;white-space:nowrap}
  .hero-copy .little-line{width:13px;margin-right:6px}
  .hero h1{font-size:33px;line-height:1.1;letter-spacing:-1.5px;margin:18px 0 22px}
  .hero h1 em{letter-spacing:-1px}
  .hero-copy>p,.hero-footnote,.hero-photo-label{display:none}
  .hero-copy .button{padding:11px 15px;min-height:44px;font-size:10px;gap:18px}
  .hero-copy .button .icon{width:16px;height:16px}
  .hero-visual{position:absolute;inset:0;min-height:0;height:100%;overflow:visible}
  .hero-image{object-position:70% 74%;z-index:0}
  .hero-product{z-index:3;min-width:0;padding:0;right:16px;bottom:17px;background:transparent;backdrop-filter:none;gap:0}
  .hero-product>span:first-child{display:none}
  .hero-product .circle-arrow{width:40px;height:40px;background:#fffdf4ed;border:0}
  .size-finder{order:1;display:block;width:calc(100% - 36px);padding:21px 0 13px;scroll-margin-top:78px}
  .finder-intro>.eyebrow,.finder-intro p{display:none}
  .finder-intro h2{font-size:23px;margin:0 0 9px;letter-spacing:-.65px;line-height:1.3}
  .finder-intro h2 em{display:inline}
  .finder-controls{max-width:none}
  .finder-categories{margin-bottom:9px}
  .finder-categories button{min-height:42px;font-size:12px}
  .finder-sizes{gap:7px;padding-bottom:5px}
  .finder-size{flex-basis:43px;min-height:44px;font-size:13px}
  .finder-bottom{min-height:33px}
  #finder-status{font-size:10px;line-height:1.5}
  .finder-reset{font-size:10px;min-height:36px}
  .featured{order:2;padding-top:25px;padding-bottom:0}
  .featured .section-top{margin-bottom:16px;align-items:center;flex-wrap:wrap;gap:12px}
  .featured .section-top>div{flex:1 1 180px;min-width:0}
  .featured .section-top h2{font-size:24px}
  .featured .section-top .eyebrow{font-size:7px;margin-bottom:5px}
  .featured .section-top>#featured-all{min-height:44px;padding:10px 14px;font-size:13px;font-weight:700;line-height:1.5;gap:8px;border:1px solid var(--wine);border-radius:6px;background:var(--wine);color:#fff;white-space:nowrap;flex:0 0 auto}
  .featured .section-top>#featured-all .icon{width:18px;height:18px}
  .featured .section-top>#featured-all:hover{background:var(--wine-dark);border-color:var(--wine-dark)}
  .featured .product-tabs{margin-bottom:16px;gap:23px}
  .featured .product-tabs>button{font-size:10px;min-height:44px;padding:8px 0 12px}
  .fit-summary{font-size:11px;margin:0 0 9px;padding:3px 9px;gap:7px}
  .fit-summary>button{min-height:38px;font-size:11px}
  .fit-summary>button:last-child{width:35px}
  .service-strip{order:3;margin-top:30px;padding-block:23px}
  .collections{order:4}
  .winter-edit{order:5}
  .color-edit{order:6}
  .story{order:7}
  .help-section{order:8}
  .product-name{font-size:12px}
  .product-price{font-size:13px}
  .product-color{font-size:10px}
  .product-image-wrap .favorite{width:36px;height:36px;right:4px;top:4px}
  .quick-add{width:38px;height:38px;right:9px;bottom:9px}
  .product-dialog{inset:0;margin:0;padding:0;overflow:hidden;height:100dvh;max-height:100dvh}
  .product-dialog[open]{display:flex;flex-direction:column}
  #product-detail{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:55px 20px}
  .product-dialog>.dialog-close{z-index:5;background:#fffc;top:max(12px,env(safe-area-inset-top));width:40px;height:40px;right:12px}
  .detail-gallery{padding-top:max(20px,env(safe-area-inset-top))}
  .detail-content{padding:25px 22px 30px}
  .detail-description{font-size:12px}
  .detail-label{font-size:12px}
  .detail-swatches{min-height:36px;align-items:center}
  .size-option{width:45px;height:44px;font-size:13px}
  .size-error{font-size:11px}
  .detail-add{display:none}
  .mobile-purchase{display:flex;flex:none;align-items:center;gap:18px;padding:13px 18px calc(13px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;box-shadow:0 -6px 28px #25252208;z-index:4}
  .purchase-info{display:flex;flex-direction:column;min-width:116px}
  .purchase-info>strong{font-size:20px;font-weight:700;line-height:1.25}
  .purchase-info>button{font-size:10px;color:var(--wine);text-align:left;padding:5px 0 0;min-height:29px;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
  .purchase-button{flex:1;min-height:51px;font-size:12px;padding:13px 18px;gap:18px;white-space:nowrap}
  .purchase-button .icon{width:19px;height:19px}
  .button.primary:hover{transform:none}
}
@media(max-width:360px){
  .hero h1{font-size:30px}
  .finder-intro h2{font-size:21px}
  #finder-status{font-size:9px}
  .finder-reset{font-size:9px}
  .purchase-info{min-width:105px}
  .mobile-purchase{gap:10px;padding-inline:14px}
  .purchase-button{padding-inline:13px;gap:10px}
  .brand img{width:110px}
}
