:root {
  --bg: #fff;
  --text: #3d3d3d;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --hero: #f3f3f3;
  --btn: #4a4a4a;
  --max: 1200px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0.02em;
}
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
main { min-width: 0; }

.announcement {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.logo-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.25;
  color: #000;
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}
.nav a:hover { opacity: 0.65; }
.nav-shop { position: relative; }
.nav-shop:hover .dropdown,
.nav-shop:focus-within .dropdown { display: grid; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 240px;
  padding: 10px 0;
  z-index: 20;
  grid-template-columns: 1fr;
}
.dropdown a { padding: 8px 16px; display: block; }
.dropdown a:hover { background: var(--hero); }
.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.search {
  border: 1px solid #cfcfcf;
  padding: 6px 10px;
  min-width: 0;
}
.search-desktop { min-width: 180px; }
.search-mobile { display: none; }
.search input {
  border: 0;
  outline: 0;
  width: 140px;
  max-width: 100%;
}
.cart-link {
  font-size: 14px;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-backdrop {
  display: none;
}
.nav-shop-row { display: contents; }
.nav-subtoggle { display: none; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  font-size: 11px;
  margin-left: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 420px;
  margin-top: 8px;
}
.hero-copy {
  background: var(--hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 48px 24px;
  text-align: center;
}
.hero-copy h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-sub {
  margin: 0;
  max-width: 440px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.btn {
  display: inline-block;
  border: 1px solid #c8c8c8;
  background: #fff;
  color: var(--btn);
  padding: 10px 18px;
  cursor: pointer;
  text-transform: none;
}
.btn:hover { background: #fafafa; }
.btn.dark {
  background: #4a4a4a;
  color: #fff;
  border-color: #4a4a4a;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.hero-photo {
  min-width: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  max-width: 100%;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px;
}
.section h2 {
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.signup {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 18px;
}
.signup input {
  border: 1px solid #cfcfcf;
  padding: 10px 12px;
  min-width: 0;
  width: min(220px, 100%);
  flex: 1;
}
.signup button {
  border: 1px solid #cfcfcf;
  background: #fff;
  padding: 10px 16px;
  margin-left: -1px;
  cursor: pointer;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
  margin-top: 32px;
}
.card { text-align: center; min-width: 0; }
.card-media {
  background: #fafafa;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 0;
}
.card-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.ribbon {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.card h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 12px 0 6px;
  line-height: 1.35;
}
.price { font-size: 14px; }
.compare {
  text-decoration: line-through;
  color: var(--muted);
  margin-right: 8px;
}
.sale { color: #b42318; }
.oos { color: var(--muted); font-size: 13px; margin-top: 8px; }

.page-title {
  text-align: center;
  font-size: 28px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 36px 0 8px;
}
.crumbs {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 24px 0 0;
}
.crumbs a:hover { opacity: 0.65; }
.shop-intro {
  max-width: 680px;
  margin: 0 auto 8px;
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
}
.ship-note { color: var(--muted); font-size: 14px; }
.cat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 20px auto 0;
}
.cat-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}
.cat-tile:hover { background: var(--hero); }
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 900px;
  margin: 16px auto 0;
  padding: 0 24px;
}
.brand-chip {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-chip:hover { background: var(--hero); }
.brand-chip span { color: var(--muted); font-weight: 400; }
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 24px 64px;
  line-height: 1.7;
  color: var(--text);
}
.prose h2 { text-align: left; letter-spacing: 0; text-transform: none; }
.toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 24px auto 72px;
  padding: 0 24px;
}
.product-media {
  background: #fafafa;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 0;
}
.product-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.specs {
  display: grid;
  gap: 0;
  margin: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.specs > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
  font-size: 15px;
}
.guide-table th,
.guide-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}
.guide-table th { font-weight: 600; background: #fafafa; }
.table-scroll { overflow-x: auto; }
.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.guide-card {
  border: 1px solid var(--line);
  padding: 18px;
  display: grid;
  gap: 8px;
}
.guide-card h2,
.guide-card h3 { margin: 0; font-size: 17px; text-align: left; letter-spacing: 0; text-transform: none; }
.guide-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.lang-switch { text-align: center; font-size: 14px; margin: 16px 0 0; }
.prose ul { padding-left: 20px; }
.prose a:not(.btn),
.shop-intro a,
.ship-note a { text-decoration: underline; text-underline-offset: 2px; }
.prose li { margin: 4px 0; }
.qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}
.qty input { width: 64px; padding: 8px; border: 1px solid #cfcfcf; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 0 20px;
}
form.stack { display: grid; gap: 10px; }
form.stack input, form.stack textarea {
  border: 1px solid #cfcfcf;
  padding: 10px;
}
.form-error { color: #b00020; margin: 0; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cart-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.cart-thumb { width: 72px; height: 72px; object-fit: contain; }

.checkout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-top: 32px;
  text-align: left;
}
.checkout h2 {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.checkout-form .field-grid + h2 { margin-top: 30px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field span { font-size: 13px; color: var(--muted); }
.field input, .field select {
  border: 1px solid #cfcfcf;
  padding: 10px;
  background: #fff;
  width: 100%;
}
.field input:focus, .field select:focus { outline: 1px solid var(--btn); }
.pay-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
}
.pay-option:has(input:checked),
.pay-option.is-selected { border-color: var(--btn); background: var(--hero); }
.pay-option.is-selected { cursor: default; }
.pay-option span { display: grid; gap: 4px; }
.pay-option small { color: var(--muted); }
.checkout-summary {
  background: var(--hero);
  padding: 24px;
  align-self: start;
}
.checkout-summary table, .invoice-totals { width: 100%; border-collapse: collapse; }
.checkout-summary td, .invoice-totals td { padding: 6px 0; font-size: 14px; }
.checkout-summary td:last-child, .invoice-totals td:last-child { text-align: right; }
.checkout-summary .grand td, .invoice-totals .grand td {
  font-weight: 700;
  border-top: 1px solid var(--btn);
  padding-top: 10px;
}
.checkout-form button[type="submit"] { margin-top: 20px; }

.invoice-box {
  background: var(--hero);
  padding: 20px 24px;
  margin: 24px 0;
  line-height: 1.8;
}
.invoice-box strong { font-size: 17px; }
.emt-intro, .emt-hint, .emt-sent-note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
}
.emt-hint, .emt-sent-note { color: var(--muted); }
.emt-rows { margin-top: 16px; }
.emt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.emt-row .copy-customer-btn { flex-shrink: 0; }
.emt-row:last-child { border-bottom: 1px solid var(--line); }
.emt-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.emt-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  word-break: break-all;
}
.emt-sent-btn { margin-top: 16px; }
.invoice-status {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 4px 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ship-to-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 8px;
}
.ship-to-head h2 { margin: 0; }
.copy-customer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8c8c8;
  background: #fff;
  color: var(--btn);
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
}
.copy-customer-btn:hover { background: #fafafa; }
@media print {
  .copy-customer-btn, .emt-sent-btn { display: none !important; }
}

.footer {
  background: #f7f7f7;
  padding: 48px 24px 24px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(5, 1fr);
  gap: 24px;
}
.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 12px;
}
.footer-brand .footer-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 220px;
}
.footer h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.footer a, .footer p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.copy {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 28px 0 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  margin: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #222;
  position: relative;
}
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }

@media (max-width: 900px) {
  .hero,
  .product,
  .contact-grid,
  .footer-grid,
  .checkout {
    grid-template-columns: minmax(0, 1fr);
  }
  .cat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .section { padding: 32px 16px; }
  .page-title { font-size: 22px; letter-spacing: 0.1em; margin: 24px 0 8px; }
  .hero {
    min-height: 0;
    margin-top: 0;
  }
  .hero-copy {
    padding: 36px 20px;
    gap: 16px;
    order: 1;
  }
  .hero-photo { order: 2; }
  .hero-photo img { min-height: 240px; max-height: 52vh; object-fit: cover; }
  .hero-copy h1 {
    font-size: clamp(22px, 6.2vw, 28px);
    line-height: 1.2;
  }
  .hero-sub { font-size: 15px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    max-width: none;
  }
  .logo {
    justify-content: center;
  }
  .logo-text { display: none; }
  .logo-mark { width: 40px; height: 40px; }
  .header-tools { gap: 4px; }
  .search-desktop { display: none; }
  .site-top {
    position: relative;
    z-index: 80;
    background: #fff;
  }
  .menu-toggle { display: inline-flex; touch-action: manipulation; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: var(--site-top, 96px);
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: #fff;
    padding: 8px 20px 28px;
    z-index: 70;
    border-right: 1px solid var(--line);
    overflow-y: auto;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.08);
    transform: translate3d(-110%, 0, 0);
    visibility: hidden;
    pointer-events: none;
  }
  .nav.open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav a, .nav button { touch-action: manipulation; }
  .nav > a,
  .nav-shop-row > a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    min-height: 48px;
  }
  .nav-shop { width: 100%; }
  .nav-shop-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .nav-shop-row > a { flex: 1; }
  .nav-subtoggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  .nav-shop:hover .dropdown,
  .nav-shop:focus-within .dropdown { display: none; }
  .nav-shop .dropdown { display: none; }
  .nav-shop.expanded .dropdown {
    display: grid;
    position: static;
    border: 0;
    min-width: 0;
    padding: 0 0 8px 12px;
  }
  .nav-shop .dropdown a {
    padding: 10px 4px;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--muted);
    border-bottom: 0;
    min-height: 40px;
  }
  .search-mobile {
    display: block;
    margin-bottom: 16px;
    width: 100%;
  }
  .search-mobile input {
    width: 100%;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 40;
  }
  .nav-backdrop[hidden] { display: none; }

  .product { gap: 24px; margin: 16px auto 48px; padding: 0 16px; }
  .footer { padding: 36px 16px 20px; }
  .footer-grid { gap: 28px; }
  .footer-tagline { max-width: none; }
  .checkout { gap: 24px; }
  .checkout-summary { padding: 18px; }
  .brand-strip { padding: 0 8px; gap: 8px; }
  .prose { padding: 12px 16px 48px; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .field-grid { grid-template-columns: 1fr; }
  .cat-strip { gap: 8px; }
  .cat-tile {
    min-height: 56px;
    font-size: 12px;
    padding: 8px;
  }
  .card h3 { font-size: 13px; }
  .cart-table thead { display: none; }
  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }
  .cart-table tr {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }
  .cart-table td {
    border: 0;
    padding: 4px 0;
  }
  .cart-thumb {
    width: 96px;
    height: 96px;
    margin-bottom: 8px;
  }
  .signup {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .signup input,
  .signup button {
    width: 100%;
    margin-left: 0;
  }
}
