:root {
  --bg: #ffffff;
  --surface: #f6f8f7;
  --panel: #ffffff;
  --text: #17211d;
  --muted: #617168;
  --border: #dfe7e3;
  --primary: #0f6b4b;
  --primary-dark: #0f3d2e;
  --accent: #2563eb;
  --warning: #b7791f;
  --danger: #b42318;
  --radius: 8px;
  --shadow: 0 18px 42px rgba(15, 61, 46, 0.10);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
.site-header {
  position: relative;
  top: auto;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand img { width: 180px; height: auto; }
.brand-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 19px;
  color: var(--text);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}
.brand-logo {
  width: auto;
  max-width: 210px;
  max-height: 48px;
  object-fit: contain;
}
.footer-brand { margin-bottom: 12px; }
.nav { display: flex; align-items: center; gap: 20px; color: var(--muted); font-weight: 650; }
.nav a[aria-current="page"], .nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: 7px 10px; font-size: 13px; color: var(--muted); }
.lang-switch a.is-active { color: #fff; background: var(--primary-dark); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--radius);
  padding: 11px 16px; min-height: 44px;
  font-weight: 750; cursor: pointer; transition: .16s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border); }
.btn-small { min-height: 36px; padding: 8px 12px; font-size: 14px; }
.hero {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 42px;
  align-items: center;
  padding: 58px 0 36px;
}
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.02; margin: 0 0 20px; letter-spacing: 0; }
.hero p { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 0 26px; }
.hero-media {
  min-height: 390px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, #eef7f2, #e8f0ff);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-media img { width: min(82%, 520px); filter: drop-shadow(0 24px 38px rgba(15,61,46,.22)); }
.usp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 6px; }
.usp { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; font-weight: 750; background: var(--panel); }
.section { padding: 44px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.section h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.category-card, .product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: .18s ease;
}
.category-card:hover, .product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.category-card { min-height: 155px; padding: 22px; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(135deg, #f7faf8, #eef4ff); }
.category-card h3, .product-card h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.product-image { aspect-ratio: 1.2 / 1; background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 15px; display: grid; gap: 10px; }
.price { font-weight: 850; font-size: 18px; }
.price small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.stock { font-size: 13px; color: var(--primary); font-weight: 750; }
.stock.out { color: var(--danger); }
.filter-bar {
  display: grid; grid-template-columns: 1.5fr repeat(3, minmax(130px, 1fr)) auto; gap: 10px;
  padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 22px;
}
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 750; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 11px 12px; background: #fff; color: var(--text);
}
.flash { margin: 18px 0; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--border); }
.flash.success { border-color: #b7e1cc; background: #f0fbf5; color: #116149; }
.flash.error { border-color: #ffc9c2; background: #fff4f2; color: var(--danger); }
.two-col { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: start; }
.summary-box, .checkout-panel {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); padding: 18px;
}
.auth-box { max-width: 560px; margin-inline: auto; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-line:last-child { border-bottom: 0; }
.totals { display: grid; gap: 9px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 20px; font-weight: 850; border-top: 1px solid var(--border); padding-top: 12px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; padding: 34px 0; }
.gallery {
  border: 1px solid #cfcac0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 34px rgba(16,16,15,.08);
  display: grid;
  grid-template-rows: auto auto;
}
.gallery-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(249,115,22,.055), transparent 46%),
    #fbfaf7;
}
.gallery-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  background: transparent;
}
.gallery-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(16,16,15,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #10100f;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(16,16,15,.14);
  transition: background .16s ease, transform .16s ease, border-color .16s ease;
}
.gallery-control:hover {
  background: #f97316;
  border-color: #f97316;
  transform: translateY(-50%) scale(1.04);
}
.gallery-control svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gallery-control-prev { left: 12px; }
.gallery-control-next { right: 12px; }
.gallery-count {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  border-radius: 999px;
  background: rgba(16,16,15,.72);
  color: #fff;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 850;
}
.gallery-thumbs {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 7px;
  padding: 9px 10px 10px;
  border-top: 1px solid #e2ded5;
  background: #fff;
  overflow-x: auto;
  scrollbar-width: thin;
}
.gallery-thumbs button {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border: 1px solid #d9d4ca;
  border-radius: 6px;
  padding: 2px;
  overflow: hidden;
  background: #fbfaf7;
  cursor: pointer;
  opacity: .74;
  transition: border-color .16s ease, opacity .16s ease, transform .16s ease;
}
.gallery-thumbs button:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.gallery-thumbs button.is-active {
  border-color: #f97316;
  box-shadow: inset 0 0 0 1px #f97316;
  opacity: 1;
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.detail-copy h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin: 0 0 12px; }
.site-footer { margin-top: 54px; padding: 40px 0; border-top: 1px solid var(--border); color: var(--muted); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .hero, .two-col, .product-detail { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 12px 0;
  }
  .brand {
    min-height: 44px;
  }
  .nav {
    order: 3;
    width: 100%;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: thin;
  }
  .nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
  }
  .header-actions {
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }
  .brand img { width: 150px; }
  .brand-text { font-size: 16px; }
  .brand-logo {
    max-width: 180px;
    max-height: 42px;
  }
  .header-actions {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .header-actions form {
    flex: 1 1 100%;
  }
  .header-actions input[type="search"] {
    width: 100%;
    max-width: none !important;
  }
  .btn {
    padding-inline: 12px;
  }
  .grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .usp-row { grid-template-columns: 1fr; }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line form { grid-column: 1 / -1; }
  .gallery-stage { min-height: 280px; }
  .gallery-main { padding: 14px; }
  .gallery-control { width: 34px; height: 34px; }
  .gallery-thumbs button { flex-basis: 46px; width: 46px; height: 46px; }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Company storefront theme */
:root {
  --bg: #f5f5f1;
  --surface: #ffffff;
  --panel: #ffffff;
  --text: #10100f;
  --muted: #68655e;
  --border: #dedbd2;
  --primary: #f97316;
  --primary-dark: #10100f;
  --accent: #ffb000;
  --warning: #c76a00;
  --danger: #b42318;
  --shadow: 0 18px 45px rgba(16, 16, 15, 0.14);
}

body {
  background:
    linear-gradient(180deg, rgba(16,16,15,.05), transparent 420px),
    var(--bg);
}

.site-header {
  background: rgba(16, 16, 15, .96);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.shop-ribbon {
  background: #f97316;
  color: #160b03;
  font-size: 13px;
  font-weight: 850;
}

.ribbon-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}

.brand-text,
.site-header .brand-text {
  color: #fff;
  text-transform: uppercase;
}

.brand-mark {
  background: #f97316;
  color: #111;
}

.nav a {
  color: rgba(255,255,255,.72);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
}

.site-header input[type="search"] {
  background: rgba(255,255,255,.08) !important;
  color: #fff;
  border-color: rgba(255,255,255,.18) !important;
}

.site-header input::placeholder {
  color: rgba(255,255,255,.55);
}

.lang-switch {
  border-color: rgba(255,255,255,.18);
}

.lang-switch a {
  color: rgba(255,255,255,.7);
}

.lang-switch a.is-active {
  background: #fff;
  color: #10100f;
}

.btn-primary {
  background: #f97316;
  color: #111;
  border-color: #f97316;
  box-shadow: 0 10px 20px rgba(249,115,22,.22);
}

.btn-primary:hover {
  background: #ffb000;
  color: #111;
}

.btn-secondary {
  border-color: #10100f;
  color: #10100f;
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-commerce {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: 42px;
  padding: 76px 0 56px;
}

.hero-layout-centered {
  grid-template-columns: 1fr;
  text-align: center;
}

.hero-layout-centered .hero-subtitle,
.hero-layout-centered .hero-commerce h1,
.hero-layout-centered p {
  margin-left: auto;
  margin-right: auto;
}

.hero-layout-centered .actions,
.hero-layout-centered .usp-row {
  justify-content: center;
}

.hero-layout-image-left .hero-media {
  order: -1;
}

.hero-kicker {
  margin: 0 0 12px;
  color: #f97316 !important;
  font-size: 16px !important;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-commerce h1 {
  font-size: clamp(48px, 8vw, 92px);
  max-width: 780px;
}

.hero-subtitle {
  max-width: 760px;
  color: #3c3932 !important;
}

.workshop-visual {
  position: relative;
  min-height: 500px;
  background:
    linear-gradient(135deg, #151515, #2a2924 58%, #111);
  border: 1px solid rgba(16,16,15,.22);
  box-shadow: 0 34px 70px rgba(16,16,15,.30);
}

.hero-photo {
  background: #10100f;
  padding: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.pegboard {
  position: absolute;
  inset: 34px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 13px;
  opacity: .72;
}

.pegboard span {
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 50%, #080808 0 16%, transparent 17%),
    #222;
  border: 1px solid rgba(255,255,255,.08);
  min-height: 42px;
}

.tool,
.orange-shadow,
.tool-tile {
  position: absolute;
  z-index: 2;
}

.orange-shadow {
  background: #f97316;
  opacity: .92;
  border-radius: 12px;
  box-shadow: 0 0 0 5px rgba(249,115,22,.18);
}

.shadow-one { width: 92px; height: 300px; left: 22%; top: 24%; transform: rotate(-22deg); }
.shadow-two { width: 255px; height: 56px; right: 17%; bottom: 28%; transform: rotate(-5deg); }

.tool-wrench {
  left: 28%;
  top: 17%;
  width: 52px;
  height: 340px;
  border-radius: 28px;
  background: linear-gradient(180deg, #d7d2c6, #78746b);
  transform: rotate(-22deg);
}

.tool-wrench::before {
  content: "";
  position: absolute;
  left: -28px;
  top: -24px;
  width: 108px;
  height: 72px;
  border: 18px solid #d7d2c6;
  border-right-color: transparent;
  border-radius: 50%;
}

.tool-driver {
  right: 18%;
  bottom: 24%;
  width: 290px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f2937 0 65%, #d7d2c6 65% 100%);
  transform: rotate(-5deg);
}

.tool-plier {
  right: 22%;
  top: 18%;
  width: 150px;
  height: 150px;
  border: 16px solid #d7d2c6;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(20deg);
}

.tool-plier::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 170px;
  left: 32px;
  top: 92px;
  border-radius: 999px;
  background: #111;
  box-shadow: 58px 0 0 #111;
}

.tool-tile {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 10px;
  background: #0b0b0a;
  border: 1px solid rgba(255,255,255,.18);
  color: #f97316;
  font-weight: 950;
}

.tile-one { left: 9%; bottom: 12%; }
.tile-two { right: 9%; top: 10%; color: #fff; font-size: 15px; }

.usp-row {
  margin-top: 30px;
}

.usp {
  display: grid;
  gap: 4px;
  border-color: #10100f;
  background: #fff;
}

.usp strong {
  color: #10100f;
}

.usp span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.section-dark {
  background: #10100f;
  color: #fff;
}

.section-five-s {
  position: relative;
  overflow: hidden;
}

.section-five-s[style*="--section-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(16,16,15,.92), rgba(16,16,15,.68)), var(--section-image);
  background-size: cover;
  background-position: center;
  opacity: .95;
}

.section-five-s > .container {
  position: relative;
}

.section-dark .muted {
  color: rgba(255,255,255,.68);
  max-width: 620px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.section-layout-rail .method-grid {
  grid-template-columns: 1fr;
}

.section-layout-rail .method-step {
  display: grid;
  grid-template-columns: 110px 180px 1fr;
  align-items: center;
  gap: 18px;
}

.section-layout-compact .method-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-layout-compact .method-step {
  padding: 14px;
}

.method-step {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,.05);
}

.method-step span {
  color: #f97316;
  font-weight: 900;
}

.method-step h3 {
  margin: 10px 0 6px;
}

.method-step p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

.text-link {
  color: #f97316;
  font-weight: 850;
}

.category-card {
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(249,115,22,.12), transparent 55%),
    #fff;
  border-color: #10100f;
}

.category-card em {
  margin-top: 10px;
  color: #f97316;
  font-style: normal;
  font-weight: 850;
}

.product-card {
  border-color: #cfcac0;
  box-shadow: 0 10px 24px rgba(16,16,15,.05);
}

.product-image {
  position: relative;
  background:
    linear-gradient(135deg, rgba(249,115,22,.13), transparent 48%),
    #efede7;
}

.product-flag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #f97316;
  color: #111;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.stock {
  color: #0f6b4b;
}

.section-process {
  background:
    linear-gradient(180deg, #f5f5f1, #ece9df);
}

.process-layout {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.process-layout h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 16px;
}

.process-layout p {
  color: #4f4b44;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.process-layout-timeline .process-layout {
  grid-template-columns: .75fr 1.25fr;
}

.process-layout-timeline .process-list {
  grid-template-columns: 1fr;
}

.process-layout-timeline .process-list li {
  border-left: 7px solid #f97316;
}

.process-layout-stack .process-layout {
  grid-template-columns: 1fr;
}

.process-layout-stack .process-list {
  grid-template-columns: 1fr;
}

.process-list li {
  padding: 18px;
  border: 1px solid #10100f;
  border-radius: 8px;
  background: #fff;
}

.process-list span {
  display: block;
  color: #f97316;
  font-weight: 950;
  margin-bottom: 8px;
}

.process-list strong {
  display: block;
  font-size: 18px;
}

.process-list p {
  margin: 8px 0 0;
  font-size: 14px;
}

.section-inline-image {
  width: 100%;
  max-height: 310px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #10100f;
  margin-top: 18px;
}

.brand-story {
  border-color: #10100f;
  background:
    linear-gradient(90deg, #10100f 0 7px, transparent 7px),
    #fff;
  padding-left: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .38fr);
  gap: 22px;
  align-items: center;
}

.section-story {
  padding-top: 34px;
}

.story-copy p {
  max-width: 78ch;
  font-size: 17px;
  line-height: 1.75;
}

.story-image {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #10100f;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .42s ease, transform .42s ease, box-shadow .18s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-footer {
  background: #10100f;
  color: rgba(255,255,255,.72);
  border-top: 0;
}

.site-footer .brand-text,
.site-footer strong {
  color: #fff;
}

.site-footer .brand-mark {
  background: #f97316;
  color: #111;
}

@media (max-width: 900px) {
  .hero-commerce,
  .process-layout {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-layout-rail .method-step,
  .brand-story {
    grid-template-columns: 1fr;
  }

  .workshop-visual {
    min-height: 390px;
  }

  .hero-commerce {
    padding: 50px 0 36px;
  }
}

@media (max-width: 560px) {
  .ribbon-inner {
    display: grid;
    gap: 4px;
  }

  .method-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-commerce {
    padding-top: 42px;
  }

  .workshop-visual {
    min-height: 320px;
  }

  .brand-story {
    padding: 20px 18px 20px 24px;
  }

  .story-copy p {
    font-size: 16px;
  }
}

/* Responsive storefront polish */
.skip-link {
  position: fixed;
  left: 12px;
  top: 10px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 8px;
  background: #fff;
  color: #10100f;
  padding: 9px 12px;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(16,16,15,.18);
}

.skip-link:focus {
  transform: translateY(0);
}

.header-inner,
.brand-text,
.nav,
.header-actions,
.detail-copy,
.gallery {
  min-width: 0;
}

.header-inner {
  min-height: 76px;
}

.brand-text span:last-child {
  overflow-wrap: anywhere;
  line-height: 1.08;
}

.nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 16px;
}

.nav a {
  white-space: nowrap;
}

.header-actions {
  flex: 0 0 auto;
}

.site-search input {
  width: 190px;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 11px;
}

.btn,
.lang-switch a,
.site-search input,
.field input,
.field select,
.field textarea,
.filter-bar input,
.filter-bar select {
  touch-action: manipulation;
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(249,115,22,.45);
  outline-offset: 2px;
}

.hero h1 { font-size: 56px; }
.hero-commerce h1 { font-size: 76px; }
.section h2 { font-size: 32px; }
.process-layout h2 { font-size: 46px; }
.detail-copy h1 { font-size: 44px; }

.grid {
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-image {
  min-height: 190px;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body .muted {
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-card-actions {
  display: grid;
  align-self: stretch;
  margin-top: auto;
}

.product-card-actions .btn {
  width: 100%;
}

.category-card,
.summary-box,
.checkout-panel {
  min-width: 0;
}

.section-head h1 {
  margin: 0;
  line-height: 1.1;
}

.filter-bar {
  grid-template-columns: minmax(220px, 2fr) minmax(104px, .75fr) minmax(104px, .75fr) minmax(170px, 1fr) auto;
  align-items: end;
}

.filter-bar input,
.filter-bar select {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}

.gallery-stage {
  isolation: isolate;
}

.purchase-form {
  display: grid;
  grid-template-columns: minmax(96px, 132px) minmax(160px, 1fr);
  gap: 12px;
  align-items: end;
  margin-top: 20px;
}

.purchase-form .field {
  margin: 0;
}

.purchase-form .field:not(.purchase-quantity) {
  grid-column: 1 / -1;
}

.purchase-form .purchase-quantity {
  grid-column: 1;
}

.purchase-form .btn {
  grid-column: 2;
  width: 100%;
}

.cart-line {
  align-items: center;
}

.cart-line img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #efede7;
}

.cart-line > div {
  min-width: 0;
}

.cart-quantity-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.cart-qty-input {
  width: 78px;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}

.cart-summary .btn,
.checkout-summary .btn {
  width: 100%;
}

.checkout-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .62fr);
}

.checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}

.checkout-fields > h2,
.checkout-fields > label,
.checkout-fields > [data-shipping-fields],
.checkout-fields > .field-wide {
  grid-column: 1 / -1;
}

[data-shipping-fields] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}

[data-shipping-fields][hidden] {
  display: none;
}

[data-shipping-fields] h2 {
  grid-column: 1 / -1;
}

.checkout-fields textarea {
  min-height: 118px;
}

@media (min-width: 1180px) {
  .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
    gap: 44px;
  }

  .gallery,
  .cart-summary,
  .checkout-summary {
    position: sticky;
    top: 24px;
  }
}

@media (max-width: 1100px) {
  .nav {
    justify-content: flex-start;
    gap: 12px;
  }

  .site-search input {
    width: 150px;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-commerce h1 {
    font-size: 64px;
  }
}

@media (max-width: 900px) {
  .hero h1 { font-size: 46px; }
  .hero-commerce h1 { font-size: 52px; }
  .section h2 { font-size: 29px; }
  .process-layout h2 { font-size: 38px; }
  .detail-copy h1 { font-size: 38px; }

  .header-inner {
    align-items: center;
    gap: 12px;
  }

  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
  }

  .site-search input {
    width: 100%;
  }

  .nav {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .nav a {
    scroll-snap-align: start;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail {
    padding-top: 24px;
  }

  .gallery,
  .cart-summary,
  .checkout-summary {
    position: static;
  }

  .checkout-layout,
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container,
  .hero-commerce {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 32px 0;
  }

  .hero h1 { font-size: 38px; }
  .hero-commerce h1 { font-size: 40px; }
  .section h2 { font-size: 26px; }
  .process-layout h2 { font-size: 32px; }
  .detail-copy h1 { font-size: 34px; }

  .grid,
  .category-grid,
  .filter-bar,
  .checkout-fields,
  [data-shipping-fields] {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    padding: 12px;
  }

  .filter-bar .btn,
  .purchase-form .btn {
    width: 100%;
  }

  .purchase-form {
    grid-template-columns: 1fr;
  }

  .purchase-form .purchase-quantity,
  .purchase-form .btn {
    grid-column: 1;
  }

  .cart-line {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
  }

  .cart-line img {
    width: 72px;
    height: 72px;
  }

  .cart-quantity-form {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    justify-content: stretch;
  }

  .cart-qty-input {
    width: 100%;
  }

  .gallery-stage {
    min-height: 260px;
    aspect-ratio: 1 / 1;
  }

  .footer-grid {
    gap: 18px;
  }

  .site-footer {
    margin-top: 32px;
    padding: 32px 0;
  }
}

@media (max-width: 480px) {
  .shop-ribbon {
    font-size: 12px;
  }

  .container,
  .hero-commerce {
    width: min(var(--container), calc(100% - 24px));
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-actions {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-search {
    grid-column: 1 / -1;
  }

  .header-actions .btn-small {
    min-height: 40px;
  }

  .lang-switch a {
    padding: 8px 9px;
  }

  .product-image {
    aspect-ratio: 4 / 3;
    min-height: 210px;
  }

  .summary-box,
  .checkout-panel,
  .product-body {
    padding: 14px;
  }

  .totals .grand {
    font-size: 18px;
  }
}
