:root{--paper:#F8F9FB;--surface:#fff;--subtle:#EFF1F4;--ink:#1F2326;--muted:#60666B;--line:#D9DEE4;--dark:#171C20;--accent:#735844;--pill-bg:var(--subtle);--pill-fg:var(--ink);--pill-edge:var(--line);--header-height:72px;--nav-height:var(--header-height);--chapter-height:48px;--site-gutter:40px;--section-gap:38px;--max:1200px;--shadow:0 12px 32px rgb(23 28 32 / .07);--ease:cubic-bezier(.22,1,.36,1)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:calc(var(--header-height) + 12px)}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
h1,h2,h3,p,figure,ul,ol,dl,dd{margin:0}
h1,h2,h3{font-weight:600}
h1{font-size:64px;line-height:1.0625;letter-spacing:-2.4px}
h2{font-size:40px;line-height:1.1;letter-spacing:-1.2px}
h3{font-size:23px;line-height:1.2;letter-spacing:-.3px}
a{color:inherit;text-underline-offset:4px}
button,input,select{font:inherit}
button{color:inherit;cursor:pointer}
button:disabled{cursor:default}
img,video,canvas{max-width:100%}
[hidden]{display:none!important}
:focus-visible{outline:2px solid #735844;outline-offset:4px}
.wrap{width:min(calc(100% - var(--site-gutter) * 2),var(--max));margin-inline:auto}
.visually-hidden,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip:focus{position:fixed;top:8px;left:8px;z-index:1000;padding:12px;background:var(--surface)}
.eyebrow{font-size:13px;line-height:20px;font-weight:600;letter-spacing:.095em;text-transform:uppercase}
.product-price{font-size:18px;line-height:25px;font-weight:600;font-variant-numeric:tabular-nums}
.pill,[data-pill]{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:8px 21px;border-radius:999px;text-decoration:none;text-align:center;font:500 16px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;vertical-align:middle}
:where(.pill,[data-pill]){border:1px solid var(--pill-edge);background:var(--pill-bg);color:var(--pill-fg)}
body :is(.pill,[data-pill]),body :is(.pill,[data-pill]):is(:hover,:focus,:active,[aria-pressed],[aria-current],[aria-selected]){background-color:var(--pill-bg)!important;color:var(--pill-fg)!important;background-image:none!important}
body :is(.pill,[data-pill]):is(:hover,[aria-pressed="true"],[aria-selected="true"]){border-color:var(--accent)}
body :is(.pill,[data-pill]):is([aria-pressed="true"],[aria-selected="true"]){box-shadow:inset 0 0 0 1px var(--accent)}
body :is(.pill,[data-pill])::before,body :is(.pill,[data-pill])::after{content:none}
.pill:disabled{opacity:.55}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.icon-btn{background:transparent;border:0;border-radius:999px;display:inline-grid;place-items:center;position:relative;width:44px;height:44px;color:inherit;text-decoration:none;padding:0;flex:none}
.icon-btn:hover{background:var(--subtle)}
.icon-btn svg{width:23px;height:23px}

/* Slide pagination for horizontal carousels. */
.carousel-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-dot {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
}
.carousel-dot::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid #71736f;
  border-radius: 999px;
  transition: width .18s var(--ease);
}
.carousel-dot:is([aria-pressed="true"], [aria-current="true"], [aria-current="step"])::before {
  width: 21px;
  border-color: var(--ink);
  background: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .carousel-dot::before { transition: none; }
}

.site-header{position:sticky;top:0;height:var(--header-height);z-index:50;background:var(--paper);border-bottom:1px solid var(--line)}
.header-inner{height:100%;display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}
.brand-mark {
  display: grid;
  place-items: center;
  justify-self: start;
  width: calc(var(--header-height) - 4px);
  height: calc(var(--header-height) - 4px);
}
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.main-nav,.header-actions{display:flex;align-items:center;gap:clamp(14px,2.4vw,36px)}
.main-nav a{text-decoration:none;font-size:14px;font-weight:500;line-height:1.3;padding-block:15px}
.main-nav a:hover,.main-nav a[aria-current="page"]{text-decoration:underline}
.header-actions{justify-self:end;gap:3px}
.header-bag [data-bag-count]:not([hidden]){position:absolute;top:2px;right:0;border-radius:999px;padding:0 4px;min-width:16px;font-size:10px;line-height:16px;background:var(--ink);color:var(--paper);text-align:center}
.mobile-menu{display:none}
.site-footer{background:var(--subtle);border-top:1px solid var(--line);padding:46px 0 18px}
.footer-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:24px}
.footer-grid h2{font-size:15px;letter-spacing:0;margin:0 0 7px}
.footer-grid nav{display:grid;align-content:start;justify-items:start;gap:4px}
.footer-grid a,.footer-base a{text-decoration:none}
.footer-grid a:hover,.footer-base a:hover{text-decoration:underline}
.footer-grid p,.footer-grid nav a,.footer-base{font-size:14px}
.footer-logo{display:block;width:107px;margin:0 0 12px}
.footer-logo img{display:block;width:100%;height:auto}
.footer-base{display:flex;justify-content:space-between;gap:14px;margin-top:30px;padding-top:16px;border-top:1px solid var(--line);color:var(--muted)}
.site-dialog{width:min(calc(100% - 32px),650px);max-height:min(86dvh,820px);border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--ink);box-shadow:var(--shadow);padding:0;overflow:auto}
.site-dialog::backdrop{background:rgb(23 28 32 / .54)}
.dialog-body{padding:24px}
.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.dialog-head h2{font-size:26px;line-height:1.13;letter-spacing:-.5px}
.dialog-body>p+.pill,.dialog-body>p+.actions{margin-top:16px}

.policy-dialog {
  overflow: hidden;
}

.policy-dialog .dialog-body {
  display: flex;
  flex-direction: column;
  max-height: min(86dvh - 2px, 818px);
}

.policy-dialog .dialog-head {
  flex: none;
}

.policy-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-wrap: anywhere;
  padding: 2px 8px 2px 2px;
}

.policy-content:focus-visible {
  outline-offset: -2px;
}

.policy-content section + section {
  margin-top: 16px;
}

.policy-content h3 {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.35;
}

.policy-source {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  color: var(--accent);
  font-size: 14px;
}

@media (max-width: 767px) {
  .policy-dialog .dialog-body {
    padding: 18px;
  }
}

.menu-dialog nav,.search-results{display:grid;gap:7px}
.menu-dialog nav :is(a,button),.search-results a{display:block;text-align:left;background:transparent;border:0;text-decoration:none;padding:10px 4px;border-bottom:1px solid var(--line)}
.menu-dialog nav :is(a,button):hover,.search-results a:hover{background:var(--subtle)}
#site-query{width:100%;margin:8px 0 12px;border:1px solid #8b8d89;border-radius:10px;padding:10px 12px;min-height:44px}
.search-results a small{display:block;color:var(--muted)}
.compare-art img{width:100%;height:auto;display:block}
[data-landing] [id][data-chapter]{scroll-margin-top:var(--chapter-height)}
.chapter-progress{position:sticky;top:var(--header-height);height:var(--chapter-height);z-index:40;background:var(--paper);border-bottom:1px solid var(--line)}
.chapter-list{display:grid;grid-template-columns:repeat(6, minmax(0,max-content));justify-content:center;gap:4px;align-items:center;padding:0;list-style:none;height:100%}
.chapter-list a{display:flex;min-width:44px;height:44px;align-items:center;justify-content:center;gap:7px;padding-inline:10px;font-size:13px;line-height:1.1;text-decoration:none;color:var(--ink);font-weight:600}
.chapter-list a::before{content:"";display:block;flex:none;width:10px;height:10px;border:1.3px solid #71736f;border-radius:50%}
.chapter-list a:is(:hover,[aria-current="location"])::before{background:var(--ink);border-color:var(--ink)}
.chapter-list a:not([aria-current]) .chapter-name{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.chapter-list a[aria-current]{padding-right:13px}
.model-compare{padding:25px 0 8px;max-width:860px;margin-inline:auto}
.model-compare>h2{margin-bottom:13px}
.compare-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.compare-product{display:grid;grid-template-rows:auto 23px auto auto 1fr;align-items:start;text-align:center;gap:3px;padding:12px 8px;background:#fff;border-radius:20px;border:1px solid var(--line);color:var(--ink)}
.compare-art{width:min(100%,242px);margin:0 auto}
.compare-current{font-size:12px;color:var(--accent);line-height:19px}
.compare-actions{display:grid;justify-items:center;gap:7px;margin-top:7px}
.compare-actions .pill{font-size:14px;min-height:44px;padding-inline:13px}
.model-compare table{width:100%;border-collapse:collapse;table-layout:fixed}
.model-compare th,.model-compare td{padding:9px 5px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
.model-compare th{width:25%;font-weight:600}
.model-compare td{width:37.5%}
.small-note{font-size:13px;color:var(--muted);margin-top:9px}
.bag-page{padding-block:46px 60px}
.bag-page>h1{margin:6px 0}
.bag-notice{font-size:13px;color:var(--muted);margin-bottom:20px}
.bag-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:18px;align-items:start}
.bag-layout:has(.bag-empty){grid-template-columns:minmax(0,1fr)}
.bag-empty{display:grid;gap:14px;justify-items:start}
.bag-items,.bag-summary,.bag-empty{padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:24px}
.bag-line{display:grid;grid-template-columns:94px minmax(0,1fr) max-content;gap:12px;padding:10px 0;align-items:center}
.bag-line+.bag-line{border-top:1px solid var(--line)}
.bag-line img{width:100%;height:auto;display:block;background:var(--subtle);border-radius:14px}
.bag-line h3{font-size:18px}
.bag-line small,.bag-summary p,.drawer-note{color:var(--muted);font-size:13px}
.bag-line strong{align-self:start}
.bag-edit{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:5px}
.qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.qty button,.bag-remove{border:0;background:none;min-width:44px;min-height:44px}
.bag-remove{padding-inline:6px;text-decoration:underline;text-underline-offset:3px;font-size:13px}
.qty output{min-width:2ch;text-align:center;font-variant-numeric:tabular-nums}
.qty button:hover,.bag-remove:hover{background:var(--subtle)}
.bag-summary{display:grid;gap:10px}
.bag-summary h2,.bag-policies h2{font-size:23px;letter-spacing:-.3px}
.bag-total{display:flex;justify-content:space-between;gap:6px;font-weight:600}
.bag-policies{margin-top:24px;display:grid;gap:10px}
.bag-policies .pill{padding-inline:13px}
.bag-drawer{width:min(100%,440px);height:100%;max-height:100%;margin:0 0 0 auto;border-radius:20px 0 0 20px;max-width:100%}
.bag-drawer .dialog-body{min-height:100%;display:flex;flex-direction:column}
.drawer-actions{margin-top:auto;padding-top:20px;display:grid;gap:8px}
@media(max-width:1023px){
  :root{--site-gutter:32px}
}
@media(max-width:767px){
  :root{--site-gutter:20px;--header-height:64px;--chapter-height:48px;--section-gap:26px}
  h1{font-size:38px;line-height:42px;letter-spacing:-1.2px}h2{font-size:30px;line-height:34px;letter-spacing:-.7px}
  .header-inner{display:flex;justify-content:space-between}.main-nav,.desktop-action{display:none}.mobile-menu{display:grid}.header-actions{gap:1px}
  .site-footer{padding-top:28px}.footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}.footer-grid>div:first-child{grid-column:1/-1}.footer-base{margin-top:22px}
  .chapter-list{gap:0}.chapter-list a{min-width:33px;padding-inline:6px}.chapter-list a[aria-current]{padding-right:7px}
  .bag-page{padding-block:28px 42px}.bag-layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:359px){
  :root{--site-gutter:16px}
  .chapter-list a{min-width:31px}.chapter-list a[aria-current]{gap:5px;font-size:12px}
  .bag-line{grid-template-columns:57px minmax(0,1fr) max-content;gap:6px}.bag-items,.bag-summary{padding:10px}
  .model-compare th,.model-compare td{font-size:14px;padding-inline:3px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}

.bag-swap{grid-column:2/-1;font-size:13px}
.bag-swap summary{cursor:pointer;min-height:27px}
.bag-swap p{margin-block:4px 8px}
.bag-swap .pill{min-height:44px;font-size:14px;padding-inline:12px}
