/* Locally embedded Lucide SVGs retain the same appearance on every device. */
/* Keep the page on its vertical axis without disabling pinch zoom or sticky UI. */
html{overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y pinch-zoom}
body{width:100%;max-width:100%;min-width:0;overscroll-behavior-x:none;touch-action:pan-y pinch-zoom}
@supports(overflow:clip){html,body{overflow-x:clip}}
main,.site-topbar,footer,.header-main>*,.history-layout>*{min-width:0}
svg{stroke-width:1.75}
.inline-icon{width:15px;height:15px;display:inline-block;vertical-align:-3px;margin-left:4px}
.hero-bottom>span:last-child{display:flex;align-items:center}
.hero-bottom .orange{display:inline-flex;align-items:center}
.hero-bottom .inline-icon{width:18px;height:18px;margin:0}
.history-back{display:inline-flex;align-items:center;gap:8px}
.history-back .inline-icon{margin:0;width:17px;height:17px}
.product-plus svg{width:19px;height:19px}

/* Opaque fallback, with frosted glass where supported (including iOS Safari). */
html{scroll-padding-top:185px}
.site-topbar{position:sticky;top:0;z-index:20;background:#fafaf9;border-bottom:1px solid #ffffffb3;box-shadow:0 4px 24px #17171708}
.header{position:static;background:transparent;border-bottom:0}
.announcement{background:rgba(22,22,22,.9)}
.site-topbar.is-scrolled{box-shadow:0 8px 32px #17171712}
.search-panel input{background:transparent}
.search-panel{background:rgba(255,255,255,.72)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .site-topbar{background:rgba(255,255,255,.76);-webkit-backdrop-filter:blur(22px) saturate(155%);backdrop-filter:blur(22px) saturate(155%)}
}

/* JavaScript adds motion without leaving completed animations on the cards. */
.scroll-reveal{opacity:1;transform:none}
.scroll-reveal.is-pending{opacity:0;transform:translateY(24px)}
@media(max-width:600px){
  html{scroll-padding-top:118px}
  .header nav.open{background:rgba(255,255,255,.94);max-height:calc(100svh - 100px);overflow-y:auto}
  .product-plus svg{width:16px;height:16px}
  .scroll-reveal.is-pending{transform:translateY(18px)}
}
@media(prefers-reduced-motion:reduce){.scroll-reveal,.scroll-reveal.is-pending{opacity:1;transform:none;transition:none}}
@media print{.scroll-reveal.is-pending{opacity:1;transform:none}.site-topbar{position:static}}

/* Keep the decision and action together in the product dialog. */
@keyframes up-enter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes up-photo{from{transform:scale(1.045)}to{transform:scale(1)}}
@keyframes up-dialog{from{opacity:0;transform:translateY(24px) scale(.97)}to{opacity:1;transform:none}}
@keyframes up-backdrop{from{opacity:0}to{opacity:1}}
@keyframes up-backdrop-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:no-preference){
  .hero-photo{animation:up-photo 1.7s cubic-bezier(.2,.65,.3,1) both}
  .hero-content>.eyebrow{animation:up-enter .75s .08s both}
  .hero-content>h1{animation:up-enter .85s .18s both}
  .hero-content>p:not(.eyebrow){animation:up-enter .75s .3s both}
  .hero-content>.button{animation:up-enter .75s .42s both}
  dialog[open]{animation:up-dialog .44s cubic-bezier(.22,1,.36,1)}
  dialog[open]::backdrop{animation:up-backdrop .35s ease}
  dialog[open].is-closing::backdrop{animation:up-backdrop-out .18s ease forwards}
  .product-dialog[open] .detail-image,.look-viewer[open] .look-photo-panel{animation:up-enter .55s .08s cubic-bezier(.22,1,.36,1) backwards}
  .product-dialog[open] .detail-content,.look-viewer[open] .look-viewer-copy{animation:up-enter .55s .15s cubic-bezier(.22,1,.36,1) backwards}
  nav.open{animation:up-enter .32s cubic-bezier(.22,1,.36,1)}
  nav.open a{animation:up-enter .36s .06s backwards}
  nav.open a:nth-child(2){animation-delay:.1s}nav.open a:nth-child(3){animation-delay:.14s}nav.open a:nth-child(4){animation-delay:.18s}nav.open a:nth-child(5){animation-delay:.22s}
  .search-panel:not([hidden]){animation:up-enter .32s cubic-bezier(.22,1,.36,1)}
}
.button,.filter,.icon-button{transition:background .25s,color .25s,border-color .25s,box-shadow .25s,transform .25s}
.button svg,.text-link svg,.product-info button svg{transition:transform .3s cubic-bezier(.2,.65,.3,1)}
.header nav a{position:relative}
.header nav a:after{content:'';position:absolute;left:0;right:0;bottom:-7px;height:1px;background:var(--orange);transform:scaleX(0);transform-origin:left;transition:transform .3s}
.product-image img{transition:transform .7s cubic-bezier(.2,.65,.3,1)}
@media(hover:hover){
  .button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0001}
  .button:hover svg,.text-link:hover svg:last-child,.product-info button:hover svg{transform:translateX(4px)}
  .header nav a:hover:after,.header nav a[aria-current="page"]:after{transform:scaleX(1)}
  .product-image:hover img{transform:scale(1.035)}
}
.button:active,.icon-button:active{transform:scale(.98)}
@media(prefers-reduced-motion:reduce){.button:hover,.button:active,.icon-button:active,.product-image:hover img,.button:hover svg,.text-link:hover svg:last-child,.product-info button:hover svg{transform:none}}
.product-dialog{max-height:calc(100svh - 24px);border-radius:14px}
.product-dialog .dialog-close{width:44px;height:44px;right:8px;top:8px;border-radius:50%;box-shadow:0 2px 14px #0001}
.product-dialog .detail-image{min-height:0;max-height:calc(100svh - 24px);align-self:center}
.product-dialog .detail-content{padding:48px 28px 24px}
.product-dialog .detail-content h2{font-size:32px;margin:0 0 10px;line-height:1.08}
.product-dialog .detail-content>p{font-size:13px;line-height:1.5;margin:8px 0}
.product-dialog .detail-content .eyebrow{font-size:10px;margin:0 0 9px}
.product-dialog .detail-content label{font-size:12px;margin-top:12px}
.product-dialog .size-options{margin:8px 0}
.product-dialog .size-options button{min-width:44px;height:44px}
.product-dialog .detail-content .button{min-height:46px;margin-top:10px;font-size:10px;padding:12px;gap:12px}
.product-dialog .detail-note{font-size:10px!important;line-height:1.5}
@media(max-width:600px){
  .product-dialog{width:390px;max-width:calc(100% - 24px)}
  .product-detail-layout{grid-template-columns:1fr}
  .product-dialog .detail-image{height:clamp(90px,20svh,165px);width:100%;padding:8px 50px}
  .product-dialog .detail-content{padding:14px 20px 16px}
  .product-dialog .detail-content h2{font-size:27px;line-height:1.05;margin:0 0 6px}
  .product-dialog .detail-content .eyebrow,.product-dialog .product-description{display:none}
  .product-dialog .detail-content>p{font-size:12px;line-height:1.4;margin:5px 0}
  .product-dialog .detail-content label{margin-top:8px}
  .product-dialog .size-options{margin:7px 0 2px}
  .product-dialog .detail-content .button{margin-top:8px;font-size:10px;min-height:44px;padding:10px;gap:8px}
  .product-dialog .detail-content .detail-note{margin:8px 0 0;font-size:10px!important;line-height:1.4}
}
@media(max-height:500px) and (min-width:601px){
  .product-dialog{width:760px}
  .product-dialog .detail-content{padding:18px 54px 18px 18px}
  .product-dialog .detail-content .eyebrow,.product-dialog .product-description{display:none}
  .product-dialog .detail-content h2{font-size:24px}
  .product-dialog .detail-image{height:calc(100svh - 44px)}
  .product-dialog .detail-content .button{margin-top:6px;padding:8px;min-height:42px}
}

/* A quieter footer with three clear groups. */
.footer-clean{padding:56px max(5%,24px) 0;background:#fafaf8}
.footer-clean .footer-top{max-width:1320px;margin:auto;grid-template-columns:1.15fr 1fr 1fr;gap:64px;padding-bottom:42px;align-items:start}
.footer-clean .footer-brand{display:flex;align-items:center;gap:25px}
.footer-clean .footer-brand .brand{flex-shrink:0}
.footer-clean .footer-brand .brand img{width:62px;height:59px}
.footer-clean .footer-brand p{margin:0!important;font-size:13px;line-height:1.9;color:#70706c}
.footer-clean .footer-top h3{font-size:10px;letter-spacing:1.5px;color:#787874;margin:0 0 18px;font-weight:600}
.footer-clean .footer-top p{font-size:13px;line-height:1.85;margin:0 0 16px}
.footer-clean .footer-top .footer-action{display:flex;align-items:center;justify-content:space-between;gap:20px;width:max-content;min-width:130px;font-size:13px;color:#242424;line-height:1.6;margin:0 0 13px}
.footer-action svg{width:16px;height:16px;transition:transform .25s}
.footer-action:hover svg{transform:translate(2px,-2px)}
.footer-clean .footer-top .footer-help{font-size:11px;line-height:1.7;color:#83837c;margin:18px 0 0;max-width:235px}
.footer-clean .footer-bottom{max-width:1320px;margin:auto;border-color:#e5e5df;padding:20px 0;font-size:10px;color:#868680}
.history-page .footer-clean .footer-top{padding-top:0;border-top:0}
.history-page .footer-clean{padding-top:56px;border-top:1px solid #e5e5df}
@media(max-width:900px){.footer-clean .footer-top{gap:32px}.footer-clean .footer-brand{flex-direction:column;align-items:flex-start;gap:20px}}
@media(max-width:600px){
  .footer-clean,.history-page .footer-clean{padding:34px 24px 0}
  .footer-clean .footer-top{grid-template-columns:1fr;gap:0;padding-bottom:28px}
  .footer-clean .footer-brand{flex-direction:row;align-items:center;gap:25px;padding-bottom:28px}
  .footer-clean .footer-brand .brand img{width:52px;height:49px}
  .footer-clean .footer-visit,.footer-clean .footer-contact{padding:24px 0 0;border-top:1px solid #e5e5df}
  .footer-clean .footer-visit{padding-bottom:13px}
  .footer-clean .footer-top h3{margin-bottom:12px}
  .footer-clean .footer-top .footer-action{font-size:14px;min-height:34px;min-width:150px;margin-bottom:6px}
  .footer-clean .footer-top .footer-help{max-width:none;margin-top:12px}
  .footer-clean .footer-bottom{gap:5px;font-size:9px;padding:18px 0}
}
@media(prefers-reduced-motion:reduce){.footer-action:hover svg{transform:none}}

/* Comfortable mobile gutters, including devices with display cutouts. */
@media(max-width:600px){
  .header-main{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}
  .section{padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}
  .section-heading h2{font-size:clamp(30px,8.7vw,35px)}
  .catalog-toolbar{flex-wrap:wrap;gap:12px;margin-bottom:24px}
  .filter-list{gap:6px;max-width:100%}
  .filter{padding:10px 12px;font-size:12px}
  #result-count{margin-left:auto;white-space:nowrap}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:32px}
  .product-info{padding-left:3px;padding-right:3px}
  .product-tag{left:8px;right:auto;max-width:calc(100% - 16px)}
  .service-strip{padding-left:24px;padding-right:24px;gap:16px}
}
.header-contact-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:44px;min-height:44px;font-size:12px;color:#555}.header-contact-link:hover{color:var(--orange)}.header-contact-link svg{width:22px;height:22px}
@media(max-width:900px){.header-contact-link>span{display:none}}
@media(min-width:901px){.catalog.section{max-width:1520px;margin-inline:auto;padding-inline:clamp(24px,4vw,64px)}.catalog .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 18px}.catalog .product-info{padding-top:12px}.catalog .product-info h3{font-size:13px;line-height:1.45;min-height:38px;margin:7px 0 11px}.catalog .product-info .category{font-size:9px;letter-spacing:.7px}.catalog .product-tag{font-size:8px;top:10px;left:10px;padding:5px 7px}.catalog .product-plus{width:31px;height:31px;right:10px;bottom:10px}.catalog .product-info>div{flex-wrap:wrap;gap:7px}.catalog .product-info>div span,.catalog .product-info>div button{font-size:10px}}
@media(min-width:1200px){.catalog .product-grid{grid-template-columns:repeat(5,minmax(0,1fr));column-gap:20px}}
