:root {
  --ink: #242424;
  --muted: #767676;
  --line: #e6e6e6;
  --paper: #ffffff;
  --oat: #f7f7f7;
  --accent: #fbbc34;
  --black: #000000;
  --footer: #16051a;
  --max: 1222px;
  --sans: "Lato", Arial, Helvetica, sans-serif;
  --display: "Lato", Arial, Helvetica, sans-serif;
  --header-h: 66px;
  --banner-h: 40px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 22px; border: 0; border-radius: 5px;
  font-size: 14px; font-weight: 700; cursor: pointer;
}
.btn--dark { background: #000; color: #fff; }
.btn--outline { background: transparent; border: 1px solid #000; color: #000; }
.btn--block { width: 100%; }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; display: inline-flex; position: relative; }

.header-banner {
  background: #000; color: #fff; text-align: center;
  min-height: var(--banner-h); display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; padding: 8px 16px;
}
.header-banner p { margin: 0; }
.site-header { background: #fff; position: sticky; top: 0; z-index: 40; }
.header-bar {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; min-height: var(--header-h);
  width: min(var(--max), calc(100% - 24px)); margin: 0 auto; gap: 16px;
}
.header-nav {
  display: flex; gap: 22px; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
.logo-light { display: none; }
.logo-dark { display: block; }
.burger { display: none; }
.header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; border-radius: 99px;
  background: #000; color: #fff; font-size: 9px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-count[data-count="0"] { display: none; }

body.header-over-hero .site-header { position: absolute; left: 0; right: 0; background: transparent; }
body.header-over-hero .header-banner { position: relative; z-index: 41; }
body.header-over-hero .header-nav, body.header-over-hero .icon-btn { color: #fff; }
body.header-over-hero .logo-light { display: block; }
body.header-over-hero .logo-dark { display: none; }
body.header-over-hero.is-scrolled .site-header,
body.header-over-hero .site-header.is-stuck {
  position: sticky; background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,.08);
}
body.header-over-hero.is-scrolled .header-nav,
body.header-over-hero.is-scrolled .icon-btn,
body.header-over-hero .site-header.is-stuck .header-nav,
body.header-over-hero .site-header.is-stuck .icon-btn { color: #111; }
body.header-over-hero.is-scrolled .logo-light,
body.header-over-hero .site-header.is-stuck .logo-light { display: none; }
body.header-over-hero.is-scrolled .logo-dark,
body.header-over-hero .site-header.is-stuck .logo-dark { display: block; }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; width: min(400px, 100%);
  background: var(--paper); z-index: 70; transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column; color: #111;
}
.drawer--nav { right: auto; left: 0; transform: translateX(-100%); width: min(420px, 100%); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.drawer__body { padding: 16px; overflow: auto; flex: 1; }
.mobile-nav { display: flex; flex-direction: column; padding: 8px 16px 24px; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; text-transform: uppercase; font-size: 13px; }
.nav-label { margin: 18px 0 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.search-form { padding: 16px; }
.search-form input { width: 100%; height: 46px; border: 0; border-bottom: 1px solid #111; padding: 0 8px; font-size: 16px; }
.search-hit { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 10px 16px; }
.search-hit img { width: 56px; height: 56px; object-fit: cover; }

.desk-only { display: block; }
.mob-only { display: none; }
.hero-slide { position: relative; }
.hero-slide img { width: 100%; height: auto; }
.hero-cta {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  background: #000; color: #fff; padding: 10px 22px; border-radius: 5px; font-weight: 700; font-size: 14px;
}
.hero-copy {
  position: absolute; left: 6%; bottom: 12%; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.35); max-width: 520px;
}
.hero-copy h4 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 36px); font-weight: 700; }
.hero-copy p { margin: 0 0 14px; font-size: 16px; }
.hero-slide--product .hero-cta { position: static; transform: none; display: inline-flex; }

.cat-icons {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  padding: 28px 0; text-align: center;
}
.cat-icons img { width: 82px; height: 82px; object-fit: contain; margin: 0 auto 8px; }
.cat-icons h4 { margin: 0; font-size: 13px; font-weight: 700; }

.band { padding: 36px 0 48px; }
.band h2 { font-size: 28px; font-weight: 700; text-align: center; margin: 0 0 24px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; }
.product-grid--4, .product-grid--shop { grid-template-columns: repeat(4, 1fr); }
.pcard { text-align: left; }
.pcard__media { position: relative; display: block; background: #f4f4f4; overflow: hidden; }
.pcard__img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f6f6f6; }
.pcard__img--hover { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
.pcard__media:hover .pcard__img--hover { opacity: 1; }
.pcard__badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: #c00; color: #fff; font-size: 11px; font-weight: 700;
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.pcard__meta { padding: 10px 0 8px; }
.pcard__title { font-size: 14px; font-weight: 400; margin: 0 0 6px; line-height: 1.35; min-height: 2.7em; }
.pcard__price { font-size: 14px; margin: 0 0 8px; }
.pcard__price del { color: var(--muted); margin-right: 6px; }
.pcard__price ins { text-decoration: none; color: #c00; font-weight: 700; }
.pcard__atc, .pcard__form .pcard__atc {
  display: inline-flex; align-items: center; justify-content: center;
  background: #000; color: #fff; border: 0; border-radius: 5px;
  min-height: 36px; padding: 0 14px; font-size: 13px; font-weight: 700; cursor: pointer; width: 100%;
}

.shop-cat { margin: 0 0 40px; }
.shop-cat__banner { position: relative; display: block; margin: 0 0 18px; }
.shop-cat__banner img { width: 100%; height: auto; max-height: 280px; object-fit: cover; }
.shop-cat__banner .hero-cta { bottom: 16px; }

.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 30px; }
.tech-grid img { width: 100%; height: auto; margin-bottom: 10px; }
.tech-grid h4 { margin: 0 0 8px; font-size: 18px; }
.tech-grid p { margin: 0; color: var(--muted); }
.action-row { display: flex; gap: 10px; overflow: auto; }
.action-row img { width: 180px; height: 320px; object-fit: cover; flex: 0 0 auto; }

.site-footer { background: var(--footer); color: #fff; padding: 48px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 28px; }
.footer__h { font-size: 14px; font-weight: 700; letter-spacing: .04em; margin: 0 0 12px; text-transform: uppercase; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.footer__grid li { margin: 0 0 8px; }
.footer__contact p { margin: 0 0 6px; }

.page-hero { padding: 36px 0 20px; border-bottom: 1px solid var(--line); }
.page-hero h1, .collection-hero h1 { font-size: 28px; margin: 0; font-weight: 700; }
.collection-hero { padding: 32px 0 12px; }
.page-shell { padding-bottom: 56px; }
.prose { max-width: 860px; }
.prose h2, .prose h3 { font-weight: 700; }

.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding: 24px 0 48px; align-items: start; }
.pdp__gallery { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: start; }
.pdp__stage { background: #f6f6f6; }
.pdp__stage img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f6f6f6; }
.pdp__thumbs { display: flex; flex-direction: column; gap: 6px; overflow: auto; max-height: 640px; }
.pdp__thumbs button { border: 1px solid transparent; padding: 0; background: #f6f6f6; width: 64px; cursor: pointer; }
.pdp__thumbs button.is-on { border-color: #000; }
.pdp__thumbs img { width: 64px; height: 64px; object-fit: cover; }
.pdp-sku { font-size: 13px; color: var(--muted); margin: 10px 0 16px; }
.pdp__info { position: sticky; top: 88px; }
.pdp__info h1 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.pdp-price { font-size: 18px; margin: 0 0 22px; }
.pdp-price del { color: var(--muted); margin-right: 8px; }
.pdp-price ins { text-decoration: none; color: #c00; font-weight: 700; }
.pdp-option { margin: 0 0 18px; }
.pdp-option__label { font-size: 12px; letter-spacing: .08em; margin: 0 0 8px; text-transform: uppercase; font-weight: 700; }
.opt-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-pills label { border: 1px solid #d5d5d5; padding: 9px 14px; cursor: pointer; font-size: 13px; border-radius: 5px; }
.opt-pills label.is-on { border-color: #000; }
.opt-pills input { display: none; }
.pdp-atc { min-height: 48px; margin-top: 8px; }
.pdp-buy { margin-top: 8px; }
.pdp-overview { margin-top: 12px; font-size: 14px; line-height: 1.6; color: #333; }
.pdp-details { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.pdp-details summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.pdp-qty { display: inline-flex; border: 1px solid var(--line); margin: 8px 0 16px; background: #fff; }
.pdp-qty button { width: 40px; height: 42px; border: 0; background: #fff; cursor: pointer; }
.pdp-qty input { width: 48px; border: 0; text-align: center; }

.empty-cart { text-align: center; padding: 24px 0; }
.mini-cart { list-style: none; margin: 0; padding: 0; }
.mini-cart li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-cart img { width: 72px; height: 72px; object-fit: cover; }
.mini-cart__sub { display: flex; justify-content: space-between; }
.mini-cart__foot .btn { margin-top: 8px; }

body.woocommerce-checkout .header-banner, body.woocommerce-checkout .header-nav { display: none !important; }
body.woocommerce-checkout { background: var(--paper); }
body.woocommerce-checkout .site-header { display: none; }
body.woocommerce-checkout .site-footer { display: none; }
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info { display: none !important; }
.checkout-logo { display: inline-block; margin: 8px 0 28px; }
.checkout-logo img { height: 40px; width: auto; max-width: 240px; object-fit: contain; }
.woocommerce-pagination { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 24px 0 0; margin: 0; }
.woocommerce-pagination ul { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, 420px); gap: 48px; padding: 24px 0 64px; }
.checkout-layout__aside { background: #f5f5f5; padding: 28px 24px; border-left: 1px solid var(--line); }
.checkout-block { margin: 0 0 28px; }
.checkout-block h2 { font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.checkout-secure { color: var(--muted); font-size: 13px; margin: -6px 0 14px; }
body.woocommerce-cart .woo-title { font-size: 22px; }
.shop_table { width: 100%; border-collapse: collapse; }
.shop_table th, .shop_table td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.woocommerce-checkout .form-row { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce-checkout .form-row-wide { grid-column: 1 / -1; }
.woocommerce-checkout .form-row input, .woocommerce-checkout .form-row select { height: 44px; border: 1px solid var(--line); padding: 0 10px; width: 100%; }
.woocommerce-checkout form.checkout_coupon { display: flex !important; gap: 8px; border: 0; padding: 0; }
.woocommerce-checkout form.checkout_coupon button { background: #000; color: #fff; border: 0; height: 44px; padding: 0 14px; }
.checkout-legal { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); margin: 24px 0 0; }
.checkout-legal a { text-decoration: underline; }

@media (max-width: 1100px) {
  .product-grid, .product-grid--4, .product-grid--shop { grid-template-columns: repeat(3, 1fr); }
  .pdp, .checkout-layout, .footer__grid { grid-template-columns: 1fr; }
  .pdp__gallery { grid-template-columns: 1fr; }
  .pdp__thumbs { flex-direction: row; max-height: none; }
  .cat-icons { grid-template-columns: repeat(3, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .header-nav { display: none; }
  .burger { display: inline-flex; }
  .header-bar { grid-template-columns: auto 1fr auto; }
  .hide-sm { display: none; }
  .product-grid, .product-grid--4, .product-grid--shop { grid-template-columns: 1fr 1fr; }
  .desk-only { display: none; }
  .mob-only { display: block; }
  .hero-copy { left: 16px; right: 16px; max-width: none; }
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
  :root { --banner-h: 50px; }
}
