/* Keep the brand, menu and cart separate when the screen is narrow. */
.site-header .mobile-menu-toggle[hidden],.site-header nav[hidden]{display:none!important}
.site-header .cart-icon,.mobile-menu-toggle{display:none}
.site-header .cart-label{display:inline;width:auto;height:auto;margin:0;background:none;border-radius:0}
.site-header .cart-button{display:inline-flex;align-items:center;gap:8px}
.site-header #cart-count{margin-left:0}
.menu-close-icon{display:none}
.mobile-menu-toggle[aria-expanded=true] .menu-icon{display:none}
.mobile-menu-toggle[aria-expanded=true] .menu-close-icon{display:block}

@media(max-width:900px){
  .site-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;padding:16px 5%;align-items:center}
  .site-header>.logo{grid-column:1;grid-row:1;min-width:0;justify-self:start}
  .site-header .mobile-menu-toggle{grid-column:2;grid-row:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:10px;border:1px solid #cdbca9;border-radius:14px;background:var(--surface);color:var(--ink);font-size:1rem;font-weight:700;line-height:1.4}
  .mobile-menu-toggle svg{flex:none}
  .site-header>.cart-button{grid-column:3;grid-row:1;position:relative;display:grid;place-items:center;width:48px;min-height:48px;padding:10px;border:1px solid #cdbca9;border-radius:14px;background:var(--surface);color:var(--ink)}
  .site-header .cart-icon{display:block}
  .site-header .cart-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .site-header #cart-count{position:absolute;right:-6px;top:-7px;display:grid;place-items:center;width:23px;height:23px;margin:0;border:2px solid var(--paper);border-radius:50%;background:var(--copper);color:#fff;font-size:.75rem;line-height:1;font-weight:700}
  .site-header nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:8px;width:100%;padding-top:6px}
  .site-header nav a{display:flex;align-items:center;justify-content:center;min-height:56px;height:100%;padding:12px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:1rem;line-height:1.5;text-align:center;overflow-wrap:normal}
  .site-header nav a:where(:hover,:focus-visible){background:#f4e9dd;border-color:var(--copper)}
}

@media(max-width:600px){
  .site-header{padding:14px 16px;gap:8px}
  .site-header>.logo{font-size:28px;letter-spacing:4px}
  .site-header .logo span{font-size:.5rem;letter-spacing:.8px;line-height:1.5;white-space:normal}
  .page-intro{padding:30px 20px 20px}
  .page-intro h1{font-size:clamp(1.875rem,7.5vw,2.375rem);line-height:1.3}
  .page-intro p{line-height:1.7}
  .product-detail h1{font-size:clamp(1.625rem,7.2vw,2.125rem);line-height:1.35;overflow-wrap:anywhere}
  .breadcrumbs{margin-top:18px;margin-bottom:0;line-height:1.6}
  .breadcrumbs ol{gap:5px 8px}
  .products{gap:12px}
  .product-head h3{font-size:1rem;line-height:1.5}
  .size-buttons{grid-template-columns:repeat(auto-fit,minmax(min(100%,5.5rem),1fr))}
  .section-heading{align-items:start}
  .section-heading h2{min-width:0}
  .section-heading>a{flex:0 0 100px;min-width:0;line-height:1.5}
  .catalog-filters select{max-width:100%;padding:12px 8px;font-size:1rem}
  .specifications>div{display:block}
  .specifications dt{margin-bottom:5px}
  .specifications dd{margin:0;line-height:1.7}
  .shipping-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,8.5rem),1fr))}
  .store-form .shipping-option{align-items:start}
  .shipping-option input{margin-top:5px}
  .shipping-option strong,.shipping-option small{overflow-wrap:normal}
  .article ul,.article ol{padding-left:24px}
  .article .toc{padding:20px 16px}
  .delivery-step-list a{align-items:start}
  .delivery-step-list a>span:last-child{overflow-wrap:normal}
  .delivery-step-art{gap:12px}
  .delivery-art-status{max-width:100%;flex:1;min-width:0}
  .cart-line{gap:12px}
  .cart-line p{flex-basis:100%;margin:0}
  .cart-actions{margin-left:auto}
  .store-form .form-grid{gap:4px}
  .analytics-choice{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:16px;left:12px;width:calc(100% - 24px);max-width:390px}
  .analytics-choice p{grid-column:1/-1;margin-bottom:4px}
  .analytics-choice .button,.analytics-choice .text-link{display:flex;align-items:center;justify-content:center;min-width:0;min-height:48px;margin:0;padding:10px 8px;font-size:.9375rem;line-height:1.5;text-align:center}
  .analytics-choice .text-link{border:1px solid var(--line);border-radius:7px;background:var(--paper)}
}
@media(max-width:359px){
  .products{grid-template-columns:1fr}
  .product-head h3{font-size:1.125rem}
  .catalog-filters{grid-template-columns:1fr}
  .section-heading{flex-wrap:wrap}
  .section-heading>a{flex-basis:auto;text-align:left}
}
@media print{.mobile-menu-toggle{display:none!important}}

/* On checkout the consent choice belongs to the form flow, never above it. */
#analytics-choice-anchor{min-height:0}
#analytics-choice-anchor>.analytics-choice--inline{
  position:static;
  z-index:auto;
  width:100%;
  max-width:none;
  margin:0 0 24px;
  padding:22px;
}
#analytics-choice-anchor>.analytics-choice--inline .text-link{margin-left:14px}
@media(max-width:600px){
  #analytics-choice-anchor>.analytics-choice--inline{
    width:100%;
    max-width:none;
    margin-bottom:20px;
    padding:16px;
    left:auto;
    bottom:auto;
  }
  #analytics-choice-anchor>.analytics-choice--inline .text-link{margin-left:0}
}
@media(max-width:359px){
  #analytics-choice-anchor>.analytics-choice--inline{grid-template-columns:1fr}
}
