:root {
  /* Light "kiln-day" luxe: warm cream paper base, single antique-gold accent */
  color-scheme: light;
  --bg: #FBF6EC;
  --surface: #FFFFFF;
  --ink: #2A2116;
  --ink-soft: #5A4B37;
  --muted: #7D6E58;
  --line: #EADEC9;
  --line-strong: #D8C7A9;
  --brand: #C9A45C;
  --brand-deep: #8A6A24;
  --brand-ink: #6B5117;
  --brand-tint: #F6EDDA;
  --accent: #8A6A24;
  --accent-light: #B08E4A;
  --inverse-bg: #F4E9D4;
  --inverse-ink: #2A2116;
  --inverse-muted: #6B5B44;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(74, 56, 26, .07), 0 14px 30px -22px rgba(74, 56, 26, .38);
  --font-display: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--brand-deep);
}

::selection {
  background: var(--brand);
  color: #191408;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--brand);
  color: #191408;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s ease-out;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn .od-icon {
  --od-icon-size: 1.1em;
}

.btn-primary {
  background: var(--brand);
  color: #191408;
  border-    color: var(--brand-ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-wa {
  background: var(--surface);
  color: var(--brand-deep);
  border-color: var(--line-strong);
}

.btn-hero-ghost {
  background: rgba(255, 255, 255, .1);
  color: #F3ECDF;
  border-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(3px);
}

.btn-sm {
  min-height: 44px;
  padding: 8px 16px;
  font-size: .9rem;
}

.btn-block {
  width: 100%;
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
  }

  .btn-outline:hover {
    background: var(--surface);
    border-color: var(--ink-soft);
  }

  .btn-wa:hover {
    background: var(--brand-tint);
    border-    color: var(--brand-ink);
  }

  .btn-hero-ghost:hover {
    background: rgba(255, 255, 255, .2);
    border-color: #F3ECDF;
  }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--brand-deep);
}

.brand-mark svg {
  width: 32px;
  height: 32px;
  display: block;
}

.brand-name {
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  min-height: 44px;
  padding: 10px 14px;
  background: none;
  border: 0;
  border-radius: 999px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.nav-link[aria-current="page"] {
  background: var(--brand);
  color: #191408;
}

@media (hover: hover) {
  .nav-link:not([aria-current="page"]):hover {
    background: var(--brand-tint);
    color: var(--brand-deep);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.header-actions .btn {
  font-size: .9rem;
}

.header-shop {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 600;
}

.header-shop[aria-current="page"] {
  background: var(--brand);
  border-    color: var(--brand-ink);
  color: #191408;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  font-size: 20px;
}

.mobile-menu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 60;
  padding: 8px 16px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
}

.mobile-menu .nav-link {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  text-align: start;
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none;
  }
}

/* ---------- Shared section pieces ---------- */

.section {
  padding-block: clamp(32px, 4vw, 56px) clamp(14px, 2vw, 26px);
}

.section-tight {
  padding-block: clamp(22px, 3vw, 40px) clamp(12px, 1.6vw, 20px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--accent);
  font-size: .84rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.eyebrow-inverse {
  color: var(--brand-deep);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  line-height: 1.4;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0;
  background: none;
  border: 0;
  color: var(--brand-deep);
  font-weight: 600;
  font-size: .95rem;
}

.text-link .od-icon {
  --od-icon-size: 1.05em;
}

@media (hover: hover) {
  .text-link:hover {
    color: var(--brand-deep);
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(16px, 2.4vw, 28px) 0;
}

.hero-panel {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(480px, 74vh, 680px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #231C12;
  box-shadow: var(--shadow);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 6, 3, .9) 0%, rgba(8, 6, 3, .45) 38%, rgba(8, 6, 3, .05) 70%),
    linear-gradient(to left, rgba(8, 6, 3, .82) 0%, rgba(8, 6, 3, .35) 46%, rgba(8, 6, 3, 0) 78%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: clamp(24px, 4.4vw, 56px);
  color: #F3ECDF;
}

.hero-copy h1 {
  margin: 10px 0 16px;
  max-width: 18ch;
  color: #F3ECDF;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.28;
  font-weight: 700;
  text-wrap: balance;
}

.hero-lead {
  max-width: 46ch;
  margin-bottom: 24px;
  color: #CDC0AC;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.85;
}

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

.hero-caption {
  margin-top: 18px;
  color: #A99C88;
  font-size: .85rem;
}

.hero-caption:empty {
  display: none;
}


/* ---------- Categories ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  background: var(--brand-tint);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #F1EAE0;
  text-align: start;
  transition: transform .22s ease-out, border-color .22s ease-out, box-shadow .22s ease-out;
}

.category-media {
  position: absolute;
  inset: 0;
  display: block;
}

.category-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease-out;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 6, 3, .86) 0%, rgba(8, 6, 3, .3) 42%, rgba(8, 6, 3, 0) 68%);
}

.category-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--brand-deep);
  font-size: 2.6rem;
  background: radial-gradient(circle at 50% 38%, #F6EDDA 0%, #EADFC9 72%);
}

.category-body {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
}

.category-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
}

.category-count {
  color: rgba(241, 234, 224, .78);
  font-size: .85rem;
}

@media (hover: hover) {
  .category-tile:hover {
    transform: translateY(-3px);
    border-    color: var(--brand-ink);
    box-shadow: var(--shadow);
  }

  .category-tile:hover .category-media img {
    transform: scale(1.04);
  }
}

/* ---------- Product grid ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-empty {
  padding: 32px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  font-size: .96rem;
  text-align: center;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  transition: transform .25s ease-out, border-color .25s ease-out, box-shadow .25s ease-out;
}

.product-card .product-media { position: relative; }

.product-flag {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  line-height: 1.7;
}

.product-card.is-soldout .product-media img { opacity: 0.62; }
.product-card.is-soldout .price { color: var(--ink-soft); }

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--brand-tint);
}

.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease-out;
}

.product-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.product-cat {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .8rem;
}

.product-name {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: .99rem;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.price {
  color: var(--brand-deep);
  font-size: 1.04rem;
  font-weight: 700;
}

.price .currency {
  font-size: .82em;
  font-weight: 600;
}

.card-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brand-deep);
  font-size: 16px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
  }

  .product-card:hover .product-media img {
    transform: scale(1.03);
  }

  .product-card:hover .card-arrow {
    background: var(--brand);
    border-    color: var(--brand-ink);
    color: #191408;
  }
}

/* ---------- Steps ---------- */

.steps-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
}

.steps-intro {
  position: sticky;
  top: 112px;
}

.steps-intro h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  line-height: 1.4;
}

.steps-lead {
  max-width: 32ch;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.8;
}

.steps-grid {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  padding-block: 20px;
  border-top: 1px solid var(--line-strong);
}

.step:first-child {
  border-top: 0;
  padding-top: 0;
}

.step:last-child {
  padding-bottom: 0;
}

.step-num {
  grid-row: span 2;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.step h3 {
  margin-bottom: 4px;
  font-size: 1.06rem;
}

.step p {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.7;
}

/* ---------- Craft band ---------- */

.craft-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--inverse-bg);
  color: var(--inverse-ink);
  border-radius: 24px;
}

.craft-copy h2 {
  margin-top: 6px;
  max-width: 24ch;
  color: var(--inverse-ink);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.5;
}

.craft-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--inverse-muted);
  font-size: .96rem;
}

.craft-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.craft-list li::before {
  content: "—";
  color: var(--accent-light);
}

.craft-band .btn {
  white-space: nowrap;
}

#view-home,
#view-shop {
  padding-block-end: clamp(30px, 4.6vw, 60px);
}

/* ---------- Page head ---------- */

.page-head {
  padding-block: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 28px);
}

.page-head h1 {
  margin: 8px 0 12px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.35;
  font-weight: 700;
}

.page-lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.01rem;
  line-height: 1.85;
}

/* ---------- Shop toolbar ---------- */

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: end;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  font-size: .97rem;
}

.field input::placeholder {
  color: #A0907A;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-    color: var(--brand-ink);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, .18);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chip {
  min-height: 44px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 600;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.chip[aria-pressed="true"] {
  background: var(--brand);
  border-    color: var(--brand-ink);
  color: #191408;
}

@media (hover: hover) {
  .chip:not([aria-pressed="true"]):hover {
    border-color: var(--ink-soft);
    color: var(--ink);
  }
}

.results-count {
  margin: 20px 0 16px;
  color: var(--muted);
  font-size: .92rem;
}

/* ---------- Empty state ---------- */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 24px auto 64px;
  padding: 52px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: 24px;
}

.empty-state h2 {
  font-size: 1.18rem;
}

.empty-state p {
  color: var(--muted);
  font-size: .96rem;
}

.empty-state .btn {
  margin-top: 8px;
}

/* ---------- Product detail ---------- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 24px 0 18px;
  padding: 6px 0;
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 600;
}

.back-link .od-icon {
  --od-icon-size: 1.15em;
}

@media (hover: hover) {
  .back-link:hover {
    color: var(--brand-deep);
  }
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.detail-media-wrap {
  display: grid;
  gap: 12px;
}

.detail-media {
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background: var(--brand-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.detail-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

.detail-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-block-end: 2px;
  scrollbar-width: thin;
}

.thumb {
  flex: none;
  width: 76px;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  background: var(--brand-tint);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb[aria-pressed="true"] {
  border-    color: var(--brand-ink);
  box-shadow: 0 0 0 2px rgba(201, 164, 92, .4);
}

.detail-info h1 {
  margin: 6px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.4;
  font-weight: 700;
}

.detail-availability {
  margin-block: 10px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-inline-start: 2px solid var(--accent);
  padding-inline-start: 10px;
}

.detail-price {
  margin-bottom: 18px;
  color: var(--brand-deep);
  font-size: 1.35rem;
  font-weight: 700;
}

.detail-price .currency {
  font-size: .78em;
}

.detail-desc {
  max-width: 55ch;
  color: var(--ink-soft);
  line-height: 1.9;
}

.specs {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  column-gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  color: var(--muted);
  font-size: .9rem;
}

.spec-row dd {
  margin: 0;
  font-weight: 500;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px;
  margin: 24px 0 20px;
}

.qty-block {
  display: grid;
  gap: 8px;
}

.qty-label {
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 600;
}

.qty {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.qty button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 18px;
  transition: background-color .18s ease;
}

.qty button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

@media (hover: hover) {
  .qty button:not(:disabled):hover {
    background: var(--brand-tint);
  }
}

.qty-value {
  display: block;
  min-width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 1.02rem;
}

.total > span {
  color: var(--muted);
  font-size: .9rem;
}

.total strong {
  color: var(--brand-deep);
  font-size: 1.25rem;
  font-weight: 700;
}

.total .currency {
  font-size: .8em;
}

.detail-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: .88rem;
}

.buy-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
  padding-block-start: 18px;
  border-block-start: 1px solid var(--line);
  list-style: none;
}

.buy-trust li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.trust-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-deep);
}

.trust-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.trust-text strong {
  color: var(--ink);
  font-size: .9rem;
}

.mobile-buy {
  display: none;
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 70;
  padding-block: 8px;
  padding-block-end: calc(8px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-block-start: 1px solid var(--line-strong);
  box-shadow: 0 -10px 34px -22px rgba(74, 56, 26, .35);
}

.mobile-buy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-buy-total {
  display: grid;
  gap: 1px;
  min-width: 0;
  line-height: 1.35;
}

.mobile-buy-total span {
  color: var(--muted);
  font-size: .76rem;
}

.mobile-buy-total strong {
  color: var(--brand-deep);
  font-size: 1.05rem;
  font-weight: 700;
}

.mobile-buy .btn {
  flex: none;
  min-height: 48px;
  padding-inline: 18px;
}

.similar {
  margin: 64px 0 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.similar .section-head {
  margin-bottom: 20px;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start;
  gap: clamp(32px, 6vw, 72px);
  padding-bottom: 80px;
}

.about-copy p {
  max-width: 62ch;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.9;
}

.about-media {
  margin: 0 0 22px;
  overflow: hidden;
  background: var(--brand-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.about-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
}

.contact-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.contact-lead {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.8;
}

.contact-line {
  display: grid;
  gap: 4px;
  padding-block: 16px;
  margin-bottom: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-label {
  color: var(--muted);
  font-size: .85rem;
}

#contact-phone {
  width: fit-content;
  color: var(--brand-deep);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-body);
}

#contact-phone:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: .85rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: 44px;
  background: #F5EBD8;
  border-top: 1px solid var(--line-strong);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.footer-brand .brand-name {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
}

.footer-brand p {
  max-width: 36ch;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.8;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
}

.footer-link {
  display: block;
  min-height: 40px;
  padding: 6px 0;
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-size: .94rem;
  text-align: start;
  text-decoration: none;
}

.footer-contact a {
  display: block;
  padding: 4px 0;
  color: var(--ink-soft);
  font-size: .94rem;
  text-decoration: none;
  width: fit-content;
}

#footer-phone {
  color: var(--ink);
  font-weight: 600;
}

@media (hover: hover) {
  .footer-link:hover,
  .footer-contact a:hover {
    color: var(--brand-deep);
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 32px;
  padding-block: 16px 20px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: .85rem;
}

.noscript-note {
  padding: 16px;
  background: #FBEDE5;
  color: #6E2E12;
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-shop {
    display: inline-flex;
  }

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

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

@media (max-width: 900px) {
  .hero-panel {
    min-height: clamp(440px, 70vh, 620px);
  }

  .detail-grid,
  .about-grid,
  .steps-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-intro {
    position: static;
  }

  .steps-lead {
    max-width: 46ch;
  }

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

  .craft-band {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .craft-band .btn {
    justify-self: start;
  }

  .about-grid {
    padding-bottom: 56px;
  }

  .mobile-buy {
    display: block;
  }

  body.has-mobile-buy {
    padding-block-end: calc(72px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) {
  .shop-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    gap: 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .btn-wa span {
    display: none;
  }

  .header-actions .btn-wa {
    padding: 8px 12px;
  }

  .header-shop {
    padding: 8px 14px;
    font-size: .88rem;
  }

  .product-grid {
    gap: 12px;
  }

  .product-body {
    padding: 10px 12px 12px;
  }

  .product-cat {
    font-size: .72rem;
  }

  .product-name {
    margin-bottom: 8px;
    font-size: .84rem;
    line-height: 1.55;
  }

  .price {
    font-size: .95rem;
  }

  .card-arrow {
    display: none;
  }

  .category-grid {
    gap: 12px;
  }

  .category-body {
    padding: 12px 14px;
  }

  .category-name {
    font-size: .92rem;
  }

  .category-count {
    font-size: .78rem;
  }

  .hero-copy {
    padding: 22px 20px;
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 7.6vw, 2.3rem);
    max-width: 100%;
  }

  .hero-lead {
    font-size: .98rem;
    margin-bottom: 20px;
  }

  .craft-band {
    border-radius: 18px;
  }

  .detail-price {
    font-size: 1.22rem;
  }

  .spec-row {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    column-gap: 12px;
  }

  .buy-trust {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .contact-card {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
