/* ============================================================
   CraftyGhar — Handmade with Love 🤍
   Design system: warm, cozy, premium-but-affordable
   ============================================================ */

:root {
  --bg: #FBF7F0;
  --bg-soft: #F5EBDC;
  --cream: #F3E9DB;
  --sand: #EAD9C2;
  --sand-deep: #DCC4A0;
  --terracotta: #C1794E;
  --clay: #A9603B;
  --clay-deep: #8C4C2D;
  --gold: #C9973F;
  --olive: #7D8A5F;
  --ink: #32261D;
  --ink-soft: #4A3A2C;
  --muted: #7D6B5C;
  --line: #E7D9C6;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 22px 45px -20px rgba(90, 60, 28, 0.28);
  --shadow-sm: 0 10px 24px -14px rgba(90, 60, 28, 0.22);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
  --gap: clamp(16px, 4vw, 40px);
  --container: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

section { position: relative; }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }

.display-1 { font-size: clamp(2.2rem, 5.4vw, 4.1rem); }
.display-2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.h-sec { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }

.script {
  font-family: var(--font-hand);
  color: var(--terracotta);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  display: inline-block;
  font-weight: 600;
}

.lead { font-size: clamp(1rem, 1.6vw, 1.14rem); color: var(--ink-soft); }

.text-muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before, .eyebrow.center::after {
  content: "";
  height: 2px; width: 28px;
  background: var(--sand-deep);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta), var(--clay));
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(169, 96, 59, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(169, 96, 59, 0.75); background: linear-gradient(135deg, var(--clay), var(--clay-deep)); }

.btn-outline {
  background: transparent;
  color: var(--clay);
  border: 2px solid var(--clay);
}
.btn-outline:hover { background: var(--clay); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.16); }

.btn-ghost {
  background: var(--cream);
  color: var(--ink-soft);
}
.btn-ghost:hover { background: var(--sand); transform: translateY(-2px); }

.btn-light {
  background: #fff;
  color: var(--clay);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover { background: var(--ink-soft); transform: translateY(-2px); }

.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: 0.83rem; }

.btn-wa {
  background: linear-gradient(135deg, #3FBB64, #1F9E4B);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(31, 158, 75, 0.55);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(31, 158, 75, 0.7); }

/* ---------- Header ---------- */
.announce {
  background: linear-gradient(90deg, var(--clay-deep), var(--clay) 40%, var(--terracotta) 80%, var(--gold));
  color: #fff8ee;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px 16px;
}
.announce .container { display: flex; align-items: center; justify-content: center; gap: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(251, 247, 240, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 16px 34px -24px rgba(90, 60, 28, 0.35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 14px;
}

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; min-width: 0; }
.logo-mark {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--terracotta), var(--clay-deep));
  display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--ink); line-height: 1; white-space: nowrap; }
.logo-name span { font-family: var(--font-hand); color: var(--clay); font-size: 1.5rem; }
.logo-tag { display: none; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 9px 14px;
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover { color: var(--clay); background: var(--cream); }
.main-nav a.active { color: var(--clay); }
.main-nav a.active::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px;
  background: var(--clay);
}

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.icon-btn:hover { background: var(--cream); color: var(--clay); }
.icon-btn svg { width: 21px; height: 21px; }
.main-nav a:focus-visible, .icon-btn:focus-visible, .mobile-nav a:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
  border-radius: 999px;
}
.mobile-nav a:focus-visible { border-radius: 8px; }
.cart-count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--clay);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid; place-items: center;
  transform: translate(20%, -10%);
}

.nav-toggle { display: none; }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 360px);
  background: var(--bg);
  z-index: 600;
  transform: translateX(102%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 84px 28px 40px;
  padding-bottom: max(40px, env(safe-area-inset-bottom, 0px));
  gap: 4px;
  box-shadow: -30px 0 60px -30px rgba(90, 60, 28, 0.4);
  border-radius: 26px 0 0 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 10px 6px;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.mobile-nav a:hover { color: var(--clay); }
.mobile-nav .m-nav-foot { margin-top: auto; padding-top: 24px; }
.mobile-nav .btn { width: 100%; margin-top: 10px; }

.overlay {
  position: fixed; inset: 0;
  background: rgba(50, 38, 29, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 550;
}
.overlay.show { opacity: 1; pointer-events: auto; }

body.no-scroll { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  background:
    radial-gradient(1000px 520px at 78% -10%, rgba(233, 196, 146, 0.35), transparent 60%),
    radial-gradient(760px 480px at -8% 30%, rgba(226, 190, 150, 0.3), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--gap);
  padding-block: clamp(36px, 6vw, 84px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid var(--sand-deep);
  color: var(--clay);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--terracotta);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193, 121, 78, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(193, 121, 78, 0); }
}
.hero h1 { margin: 18px 0 16px; }
.hero h1 .hl { color: var(--clay); font-style: italic; }
.hero .lead { max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero-trust .ht {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 700; color: var(--ink-soft);
}
.hero-trust .ht svg { width: 20px; height: 20px; color: var(--clay); }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.hero-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
  animation: floaty 5s ease-in-out infinite;
}
.hero-float .hf-ic {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--cream);
  color: var(--clay);
}
.hero-float .hf-ic svg { width: 22px; height: 22px; }
.hero-float .hf-t { font-size: 0.8rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.hero-float .hf-s { font-size: 0.72rem; color: var(--muted); }
.f-1 { top: 8%; left: -7%; animation-delay: 0s; }
.f-2 { bottom: 10%; right: -5%; animation-delay: 1.4s; }
.f-3 { bottom: 34%; left: -12%; animation-delay: 2.4s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Trust strip ---------- */
.trust-strip { position: relative; z-index: 2; margin-top: -8px; }
.trust-strip .container {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 22px 26px;
}
.ts-item { display: flex; align-items: center; gap: 14px; padding: 6px 10px; }
.ts-ic {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--cream), var(--bg-soft));
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--clay);
}
.ts-ic svg { width: 24px; height: 24px; }
.ts-item b { display: block; font-size: 0.95rem; line-height: 1.2; }
.ts-item small { font-size: 0.78rem; color: var(--muted); }

/* ---------- Banner CTA ---------- */
.banner-cta {
  background:
    radial-gradient(600px 320px at 90% 0%, rgba(233, 196, 146, 0.3), transparent 60%),
    linear-gradient(120deg, var(--bg-soft), var(--cream));
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  overflow: hidden;
  position: relative;
}
.banner-cta::before {
  content: "🎁";
  position: absolute;
  right: -24px; bottom: -34px;
  font-size: 8rem;
  opacity: 0.08;
  transform: rotate(-12deg);
}
.banner-copy .script { display: block; margin-bottom: 4px; }
.banner-copy p { color: var(--ink-soft); margin-top: 12px; max-width: 46ch; }
.banner-img img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: var(--bg);
  transform: scale(1.02);
}

/* ---------- Section shell ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-alt { background: var(--bg-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.section-head h2 { margin-top: 6px; }
.section-head .deco {
  margin-top: 8px;
  font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.deco-line {
  height: 3px; width: 64px; border-radius: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  margin: 12px auto 0;
}

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 18px 24px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: "";
  position: absolute; inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--sand-deep); }
.cat-card:hover::after { transform: scaleX(1); }
.cat-ic {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  border-radius: 20px;
  display: grid; place-items: center;
  font-size: 1.85rem;
  background: linear-gradient(140deg, var(--cream), var(--bg-soft));
  border: 1px solid var(--line);
  transition: transform 0.35s ease;
}
.cat-card:hover .cat-ic { transform: scale(1.12) rotate(-6deg); }
.cat-card h3 { font-size: 1.06rem; }
.cat-card p { font-size: 0.82rem; color: var(--muted); margin-top: 5px; }
.cat-card .cat-go {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; font-size: 0.82rem; font-weight: 800;
  color: var(--clay);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cat-card:hover .cat-go { opacity: 1; transform: translateY(0); }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.p-media {
  position: relative;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  display: grid;
  place-items: end center;
  background: var(--tint, var(--bg-soft));
}
.p-media img {
  width: 82%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 18px 24px rgba(90, 60, 28, 0.18));
}
.product-card:hover .p-media img { transform: scale(1.06) rotate(-1deg); }
.p-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--clay), var(--gold));
  box-shadow: var(--shadow-sm);
}
.p-badge.tag-new { background: linear-gradient(135deg, var(--olive), #5F6C46); }
.p-badge.tag-personalized { background: linear-gradient(135deg, var(--clay-deep), var(--terracotta)); }

.p-custom {
  position: absolute; bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  color: var(--clay);
  font-size: 0.74rem; font-weight: 800;
  padding: 6px 12px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, color 0.2s ease;
}
.p-custom:hover { background: var(--clay); color: #fff; }
.p-custom svg { width: 15px; height: 15px; }

.p-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-cat { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.p-name { font-family: var(--font-display); font-size: 1.16rem; font-weight: 600; line-height: 1.25; }
.p-media a { line-height: 0; display: block; }
.p-name a:hover { color: var(--clay-deep); }
.p-desc { font-size: 0.87rem; color: var(--muted); flex: 1; }
.p-price { display: flex; align-items: baseline; gap: 10px; }
.p-price b { font-family: var(--font-display); font-size: 1.25rem; color: var(--clay-deep); }
.p-price s { color: var(--muted); font-size: 0.9rem; }
.p-price .save { font-size: 0.72rem; font-weight: 800; color: var(--olive); }

.p-actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; margin-top: 6px; }
.p-actions .btn { padding: 11px 14px; font-size: 0.88rem; }
.add-link { display: grid; place-items: center; gap: 4px; }

/* ---------- Feature / split banners ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split .visual {
  background: linear-gradient(150deg, var(--cream), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.split .visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  background: var(--bg);
}
.blob-tag {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line);
  font-size: 0.82rem; font-weight: 800;
}
.blob-tag .bt-ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--cream); color: var(--clay);
  display: grid; place-items: center;
}
.blob-tag .bt-ic svg { width: 19px; height: 19px; }
.bt-a { top: 8%; right: -4%; }
.bt-b { bottom: 8%; left: -4%; }

.split-copy h2 { margin: 8px 0 14px; }
.split-copy p { color: var(--ink-soft); margin-bottom: 14px; }
.check-list { margin: 18px 0 24px; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.96rem; font-weight: 600; color: var(--ink-soft); }
.check-list svg { width: 21px; height: 21px; color: var(--olive); flex-shrink: 0; margin-top: 2px; }

/* ---------- Why choose ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-ic {
  width: 58px; height: 58px;
  border-radius: 18px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.why-ic svg { width: 27px; height: 27px; }
.why-card h3 { font-size: 1.12rem; margin-bottom: 7px; }
.why-card p { font-size: 0.9rem; color: var(--muted); }

.ic-a { background: linear-gradient(140deg, var(--terracotta), var(--clay)); }
.ic-b { background: linear-gradient(140deg, var(--gold), #B07D28); }
.ic-c { background: linear-gradient(140deg, var(--olive), #5F6C46); }
.ic-d { background: linear-gradient(140deg, #B98F66, #8F6B46); }
.ic-e { background: linear-gradient(140deg, var(--clay-deep), var(--clay)); }

/* ---------- Testimonials ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease;
}
.review-card:hover { transform: translateY(-6px); }
.review-stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin-bottom: 12px; }
.review-quote { font-size: 0.96rem; color: var(--ink-soft); font-style: italic; }
.review-quote::before { content: "\201C"; font-family: var(--font-display); font-size: 3rem; color: var(--sand-deep); position: absolute; top: 10px; right: 20px; line-height: 1; }
.review-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--cream), var(--sand));
  display: grid; place-items: center;
  color: var(--clay);
  font-family: var(--font-display); font-weight: 700;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.review-who b { font-family: var(--font-display); font-size: 0.98rem; display: block; line-height: 1.2; }
.review-who span { font-size: 0.78rem; color: var(--muted); }

/* ---------- Instagram strip ---------- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.insta-card {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  background: var(--tint, var(--cream));
  display: grid; place-items: center;
  transition: transform 0.35s ease;
}
.insta-card img { width: 100%; height: 100%; object-fit: cover; }
.insta-card .ig-hover {
  position: absolute; inset: 0;
  background: rgba(50, 38, 29, 0.35);
  color: #fff;
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.insta-card:hover { transform: translateY(-4px); }
.insta-card:hover .ig-hover { opacity: 1; }
.insta-card svg { width: 26px; height: 26px; }

/* ---------- Newsletter ---------- */
.newsletter {
  background:
    radial-gradient(700px 300px at 90% 10%, rgba(233, 196, 146, 0.4), transparent 60%),
    linear-gradient(120deg, var(--clay-deep), var(--clay) 55%, var(--terracotta));
  border-radius: 34px;
  padding: clamp(30px, 5vw, 58px);
  color: #fff8ee;
  overflow: hidden;
  position: relative;
}
.newsletter::after {
  content: "🤍";
  position: absolute;
  right: -20px; bottom: -46px;
  font-size: 9rem;
  opacity: 0.12;
  transform: rotate(-14deg);
}
.newsletter h2 { color: #fff; }
.newsletter .script { color: #FFE2B3; }
.newsletter p { color: rgba(255, 248, 238, 0.85); }
.nl-form { display: flex; gap: 10px; margin-top: 22px; max-width: 460px; flex-wrap: wrap; }
.nl-form input {
  flex: 1;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 14px 22px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nl-form input::placeholder { color: rgba(255, 248, 238, 0.7); }
.nl-form input:focus { border-color: #fff; background: rgba(255,255,255,0.2); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #D8C4AC;
  margin-top: 60px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 4vw, 48px);
  padding-block: 56px;
}
.footer-brand .logo-name { color: var(--cream); }
.footer-brand .logo-name span { color: #E8B57E; }
.footer-brand p { font-size: 0.9rem; margin-top: 14px; max-width: 30ch; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  transition: background 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover { background: var(--clay); transform: translateY(-3px); color: #fff; }
.footer-social svg { width: 19px; height: 19px; }

.footer-col h4 {
  font-family: var(--font-body);
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 0.92rem; color: #C4AD92; transition: color 0.2s ease; }
.footer-col a:hover { color: #E8B57E; }
.footer-contact li { display: flex; gap: 10px; font-size: 0.9rem; margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: #E8B57E; flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #A98F74;
}
.footer-bottom .fb-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: #E8B57E; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 300px at 85% -10%, rgba(233, 196, 146, 0.4), transparent 60%),
    radial-gradient(600px 300px at -10% 20%, rgba(226, 190, 150, 0.35), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding-block: clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero h1 { margin: 10px 0 12px; }
.page-hero .lead { max-width: 60ch; margin-inline: auto; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 700; color: var(--muted);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--clay); }

/* ---------- Shop filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: all 0.25s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.filter-btn:hover { border-color: var(--sand-deep); transform: translateY(-2px); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--terracotta), var(--clay));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-weight: 800; font-size: 0.86rem; display: block; margin-bottom: 7px; }
.field label em { color: var(--clay); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(193, 121, 78, 0.14);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 0.85rem; font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--sand-deep); }
.chip[aria-pressed="true"] {
  background: var(--cream);
  border-color: var(--clay);
  color: var(--clay);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  counter-increment: step;
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--terracotta), var(--clay));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.step-num::after { content: counter(step); }
.step-card h3 { font-size: 1.1rem; margin-bottom: 7px; }
.step-card p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-ic {
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  border-radius: 20px;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-ic svg { width: 28px; height: 28px; }
.contact-card h3 { font-size: 1.12rem; }
.contact-card p { font-size: 0.9rem; color: var(--muted); margin: 6px 0 14px; }

/* ---------- Occasion cards ---------- */
.occas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.occasion-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.occasion-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.occ-med { aspect-ratio: 1.2; background: var(--tint, var(--bg-soft)); display: grid; place-items: end center; overflow: hidden; }
.occ-med img { width: 86%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(90,60,28,.18)); transition: transform 0.5s ease; }
.occasion-card:hover .occ-med img { transform: scale(1.06); }
.occ-body { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.occ-body h3 { font-size: 1.08rem; }
.occ-body p { font-size: 0.82rem; color: var(--muted); }
.occ-body a {
  color: var(--clay); font-weight: 800; font-size: 0.86rem;
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.occ-body a:hover { color: var(--clay-deep); }
.occ-body a svg { width: 15px; height: 15px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  color: var(--ink);
}
.faq-q svg { width: 20px; height: 20px; color: var(--clay); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 0.94rem; color: var(--muted); }

/* ---------- Tables (policies) ---------- */
.policy-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.policy-card h2 { font-size: 1.45rem; margin: 28px 0 10px; }
.policy-card h2:first-child { margin-top: 0; }
.policy-card p, .policy-card li { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 10px; }
.policy-card ul { list-style: disc; padding-left: 22px; }
.policy-card .updated { font-size: 0.8rem; color: var(--muted); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Stats ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.stat-item { text-align: center; padding: 18px 10px; }
.stat-item b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--clay);
  line-height: 1;
}
.stat-item span { font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.stat-sep { width: 1px; height: 56px; background: var(--line); align-self: center; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.team-card { text-align: center; }
.team-avatar {
  width: 108px; height: 108px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--cream), var(--sand));
  border: 6px solid var(--white);
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  font-family: var(--font-hand);
  font-size: 2.4rem;
  color: var(--clay);
}
.team-card h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 800; }
.team-card span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(94vw, 430px);
  background: var(--bg);
  z-index: 650;
  transform: translateX(102%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 60px -30px rgba(50, 38, 29, 0.5);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.cart-head h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 800; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; display: grid; gap: 16px; align-content: start; }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.cart-empty .ce-ic {
  width: 84px; height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  font-size: 2.2rem;
}
.cart-empty p { margin-top: 8px; font-size: 0.92rem; }
.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.ci-media {
  width: 78px; height: 78px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid; place-items: center;
}
.ci-media img { width: 100%; height: 100%; object-fit: contain; }
.ci-info b { font-family: var(--font-display); font-size: 0.95rem; display: block; line-height: 1.25; }
.ci-info .ci-note { font-size: 0.74rem; color: var(--muted); font-style: italic; margin-top: 3px; display: block; }
.ci-price { font-size: 0.85rem; font-weight: 800; color: var(--clay); margin-top: 6px; }
.ci-qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; border: 1px solid var(--line); border-radius: 999px; }
.ci-qty button { width: 26px; height: 26px; border-radius: 50%; font-weight: 800; color: var(--clay); }
.ci-qty button:hover { background: var(--cream); }
.ci-qty span { min-width: 26px; text-align: center; font-weight: 800; font-size: 0.9rem; }
.ci-remove { align-self: start; color: var(--muted); padding: 6px; border-radius: 8px; }
.ci-remove:hover { color: var(--clay); background: var(--cream); }
.ci-remove svg { width: 18px; height: 18px; }

.cart-foot {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 20px 24px 26px;
}
.cart-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 14px; }
.cart-total span:last-child { color: var(--clay-deep); }
.ct-ship { display: block; font-size: 0.78rem; color: var(--clay-deep); font-weight: 600; margin: -6px 0 12px; }
.cart-note { font-size: 0.78rem; color: var(--muted); text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; }
.cart-foot .btn { width: 100%; margin-top: 8px; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-box {
  width: min(100%, 620px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg);
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: pop 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
@keyframes pop {
  from { transform: translateY(24px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: grid; place-items: center;
  z-index: 2;
}
.modal-close:hover { background: var(--sand); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: clamp(22px, 4vw, 36px); }
.modal-body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.modal-body .m-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.order-sum { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 18px 0; display: grid; gap: 8px; }
.order-sum .os-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.order-sum .os-row b { text-align: right; }
.order-sum .os-total { border-top: 1px dashed var(--line); padding-top: 10px; font-family: var(--font-display); font-size: 1.05rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translate(-50%, 140%);
  background: var(--ink);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
  z-index: 800;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 20px; height: 20px; color: #BBD58C; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--clay);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 400;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); background: var(--clay); color: #fff; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .mobile-nav, .overlay, .site-header, .to-top { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .f-1 { left: -4%; }
  .f-2 { right: -3%; }
  .f-3 { display: none; }
  .split { grid-template-columns: 1fr; }
  .split .visual { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* Header / navigation responsive behavior.
   The 10-link menu (plus logo and action icons) needs roughly 1310px of viewport;
   before it starts to crowd or overflow we switch to the mobile drawer. */
@media (max-width: 1160px) {
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
}

/* Laptop widths: slightly denser menu so everything stays inside the header. */
@media (min-width: 1161px) and (max-width: 1400px) {
  .header-inner { gap: 12px; }
  .main-nav { gap: 2px; }
  .main-nav a { font-size: 0.82rem; padding: 8px 10px; }
  .icon-btn { width: 40px; height: 40px; }
}

/* The logo tagline is only shown in the hamburger range, where there is room
   and no desktop menu is competing (the full tag would push the header over
   the 1240px container with the 10-link menu next to it). */
@media (min-width: 701px) and (max-width: 1160px) {
  .logo-tag { display: block; }
}

@media (max-width: 820px) {
  .form-row { grid-template-columns: 1fr; }
  .cart-drawer { width: min(100vw, 420px); }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
  .p-actions { grid-template-columns: 1fr; }
  .p-actions .add-link.btn { grid-row: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-float { padding: 9px 12px; }
  .hero-float .hf-t { font-size: 0.72rem; }
  .btn-lg { padding: 14px 24px; }
  .stat-sep { display: none; }
}

/* Small phones: shrink logo + actions so the header never overflows the viewport. */
@media (max-width: 480px) {
  .container { width: 94%; }
  .header-inner { gap: 8px; padding-block: 10px; }
  .logo { gap: 8px; }
  .logo-mark { width: 38px; height: 38px; border-radius: 12px; }
  .logo-mark svg { width: 22px; height: 22px; }
  .logo-name { font-size: 1.05rem; }
  .logo-name span { font-size: 1.1rem; }
  .header-actions { gap: 4px; }
  .icon-btn { width: 40px; height: 40px; }
  .icon-btn svg { width: 19px; height: 19px; }
  .mobile-nav { padding: 76px 20px 36px; }
  .mobile-nav a { font-size: 1.3rem; padding: 12px 6px; }
  .announce { font-size: 0.78rem; letter-spacing: 0.02em; padding: 8px 12px; }
  .announce .container { flex-wrap: wrap; row-gap: 2px; }
}

/* Very small phones: drop the shop/search shortcut (Shop remains in the menu). */
@media (max-width: 420px) {
  .header-actions .icon-btn:first-child { display: none; }
}

/* =============================================
   NEW COMPONENTS — GENERATED PAGES & PAGES EXT
   ============================================= */

/* --- Product detail page --- */
.pd-section { padding-top: calc(var(--gap) * 1.4); }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--gap) * 1.4); align-items: start; }
.pd-gallery { position: sticky; top: 120px; }
.pd-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); padding: 28px; text-align: center; }
.pd-main img { width: 100%; height: auto; display: block; border-radius: 14px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb { flex: 1; background: var(--cream); border: 2px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; padding: 0; transition: border-color 0.2s; }
.pd-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--terracotta); }
.pd-caption { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 8px; }
.pd-info { display: flex; flex-direction: column; gap: 14px; }
.pd-title { margin: 0; line-height: 1.15; }
.pd-rating { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); }
.pd-rating a { color: var(--clay); }
.pd-stars { color: var(--gold); letter-spacing: 1px; }
.pd-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-price { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--ink); }
.pd-old { text-decoration: line-through; color: var(--muted); }
.pd-save { font-size: 0.82rem; font-weight: 800; color: var(--olive); background: #edf5d8; padding: 3px 10px; border-radius: 999px; }
.pd-desc { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.55; }
.pd-cust { background: var(--cream); border-radius: var(--radius); padding: 24px; }
.pd-sub-h { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 14px; }
.pd-qty-row { display: flex; align-items: center; gap: 14px; }
.qty-label { font-weight: 800; font-size: 0.86rem; }
.qty-selector { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.qty-selector button { width: 42px; height: 42px; border: none; background: transparent; font-size: 1.15rem; font-weight: 700; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background 0.15s; }
.qty-selector button:hover { background: var(--cream); }
.qty-val { min-width: 32px; text-align: center; font-weight: 700; font-size: 1rem; }
.pd-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-ctas .btn-lg { padding: 16px; font-size: 1rem; text-align: center; }
.pd-wa { text-align: center; font-size: 0.86rem; padding: 10px !important; }
.pd-trust { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.pd-trust span { display: flex; align-items: center; gap: 6px; }
.pd-trust svg { width: 18px; height: 18px; color: var(--clay); flex-shrink: 0; }
.pd-description { padding: var(--gap) 0; }
.pd-desc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--gap) * 1.2); }
.pd-desc-txt p { margin-bottom: 14px; line-height: 1.6; color: var(--ink-soft); }
.pd-hl-card { background: var(--cream); border-radius: var(--radius); padding: 28px; position: sticky; top: 120px; }
.pd-hl-card h3 { margin-top: 0; }
.pd-det-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.pd-det-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pd-det-card h3 { margin-top: 0; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.spec-table th { font-weight: 700; color: var(--ink); white-space: nowrap; width: 40%; }
.spec-table td { color: var(--ink-soft); }
.pd-reviews { padding: var(--gap) 0; }
.review-card h4 { margin: 8px 0 4px; }
.review-card p { line-height: 1.55; color: var(--ink-soft); }
.cust-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cust-opt { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; font-size: 0.88rem; font-weight: 600; transition: border-color 0.15s; }
.cust-opt:has(input:checked) { border-color: var(--clay); background: var(--cream); }
.cust-opt input { width: auto; accent-color: var(--clay); }
.wohint { font-size: 0.84rem; color: var(--muted); font-style: italic; margin-top: 6px; }
.wl-btn { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.85); border: none; cursor: pointer; display: grid; place-items: center; transition: background 0.2s, transform 0.2s; z-index: 5; }
.wl-btn:hover { background: #fff; transform: scale(1.08); }
.wl-btn[aria-pressed="true"] svg { fill: var(--terracotta); stroke: var(--terracotta); }
.wl-btn svg { width: 20px; height: 20px; color: var(--clay); }
.cat-promo { padding: calc(var(--gap) * 1.4) 0; }

/* --- Kit page --- */
.kit-hero { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--gap) * 1.4); align-items: start; }
.kit-media { border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); padding: 28px; }
.kit-media img { width: 100%; display: block; border-radius: 14px; }
.kit-pack ul { margin: 12px 0; padding-left: 18px; }
.kit-pack li { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 6px; }

/* --- Course / ebook / blog cards (new listing styles) --- */
.course-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.cc-media { position: relative; padding: 24px; background: var(--cream); text-align: center; }
.cc-media img { width: 100%; border-radius: 14px; display: block; }
.cc-level { position: absolute; top: 14px; left: 14px; background: var(--clay); color: #fff; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 999px; }
.cc-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cc-meta { display: flex; gap: 12px; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.cc-meta span:first-child { color: var(--gold); }
.cc-info { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.ebook-card .ec-cover img { aspect-ratio: 4/5; object-fit: cover; }

.blog-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.25s, box-shadow 0.25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-media { position: relative; padding: 24px; background: var(--cream); }
.blog-media img { width: 100%; border-radius: 14px; display: block; aspect-ratio: 16/9; object-fit: cover; }
.blog-cat { position: absolute; top: 14px; left: 14px; background: var(--terracotta); color: #fff; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 999px; }
.blog-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.blog-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--muted); }
.blog-title { font-family: var(--font-display); font-size: 1.15rem; margin: 0; line-height: 1.25; }
.blog-more { font-size: 0.86rem; font-weight: 700; color: var(--clay); margin-top: auto; }

/* --- Digital pages: course detail, ebook detail --- */
.course-hero-art { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); padding: 28px; }
.course-hero-art img { width: 100%; display: block; border-radius: 14px; }
.course-hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.course-hero-meta span { background: var(--cream); padding: 6px 14px; border-radius: 999px; }
.learn-list li { margin-bottom: 8px; }
.module-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.module-item > summary { padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; }
.module-item > summary::-webkit-details-marker { display: none; }
.module-item > summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; color: var(--clay); transition: transform 0.2s; }
.module-item[open] > summary::after { transform: rotate(45deg); }
.module-item > ol { padding: 0 20px 16px 20px; font-size: 0.92rem; color: var(--ink-soft); }
.module-item > ol li { margin-bottom: 6px; padding-left: 6px; }
.mod-no { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--clay); }
.instructor-card { display: flex; gap: 20px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.instructor-ava { width: 56px; height: 56px; border-radius: 50%; background: var(--cream); color: var(--clay); font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.instructor-card h3 { margin-top: 0; }
.instructor-card .facelift { font-size: 0.82rem; font-weight: 700; color: var(--clay); display: block; margin-bottom: 8px; }
.benefit-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.who-chip { background: var(--cream); padding: 6px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }

/* Ebook specifics */
.ebook-standalone .ebook-hero-art { padding: 40px; background: var(--cream); border-radius: var(--radius-lg); }
.ebook-standalone .ebook-hero-art img { border-radius: 14px; }
.eb-preview { background: var(--cream); border-radius: var(--radius); padding: 24px; margin-top: 14px; }
.eb-preview h3 { margin-top: 0; }
.eb-sample { font-size: 0.96rem; color: var(--ink-soft); line-height: 1.7; font-style: italic; border-left: 3px solid var(--terracotta); padding-left: 16px; }
.toc-list { counter-reset: toc; list-style: none; padding: 0; margin-top: 14px; }
.toc-list li { counter-increment: toc; display: flex; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.toc-no { font-weight: 800; color: var(--clay); white-space: nowrap; }
.toc-ch b { display: block; }
.toc-ch small { font-size: 0.8rem; color: var(--muted); }

/* FAQ overrides for details/summary */
details.faq-item > summary { padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after { content: "+"; margin-left: auto; font-size: 1.1rem; color: var(--clay); transition: transform 0.2s; }
details.faq-item[open] > summary::after { transform: rotate(45deg); }
details.faq-item > p { padding: 14px 18px; font-size: 0.96rem; color: var(--ink-soft); margin: 0; }

/* --- Blog article page --- */
.post-hero { text-align: center; padding-bottom: var(--gap); }
.post-hero h1 { max-width: 800px; margin: 12px auto 0; }
.post-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; font-size: 0.86rem; font-weight: 600; color: var(--muted); margin-top: 10px; }
.post-hero-art { margin-top: 20px; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); padding: 24px; max-width: 820px; margin-left: auto; margin-right: auto; }
.post-hero-art img { width: 100%; border-radius: 14px; display: block; }
.post-body { max-width: 760px; margin: 0 auto; padding: var(--gap) 0; }
.post-body h2 { margin-top: var(--gap); }
.post-lede { font-size: 1.12rem; font-weight: 600; line-height: 1.6; color: var(--ink); margin-bottom: 24px; }
.blog-tip { background: #edf5d8; border-left: 4px solid var(--olive); border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 20px 0; font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); }
.post-outro { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-top: var(--gap); line-height: 1.6; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; font-size: 0.92rem; }
.newsletter-inline { display: flex; gap: 10px; margin-top: 16px; }
.newsletter-inline input { flex: 1; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 0.92rem; background: var(--white); }

/* --- Cart page --- */
.cart-page { padding: var(--gap) 0; }
.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: calc(var(--gap) * 1.2); align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 16px; }
.cart-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-row img { width: 80px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--cream); }
.cart-row .ci-name { font-weight: 700; font-size: 0.96rem; }
.cart-row .ci-note { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.cart-row .ci-remove { background: none; border: none; color: var(--clay); cursor: pointer; font-size: 0.82rem; font-weight: 700; padding: 4px 0; }
.cart-summary { background: var(--cream); border-radius: var(--radius); padding: 28px; position: sticky; top: 120px; }
.cart-summary h3 { margin-top: 0; }
.cart-summary .os-row { display: flex; justify-content: space-between; font-size: 0.92rem; margin-bottom: 8px; }
.cart-summary .os-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cart-empty-msg { text-align: center; padding: 60px 20px; color: var(--muted); }

/* --- Checkout page --- */
.checkout-page { padding: var(--gap) 0; }
.checkout-layout { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--gap) * 1.2); align-items: start; }
.checkout-form h2, .checkout-review h2 { margin-top: 0; }
.gst-input { border-color: var(--gold) !important; background: #FFFDF8 !important; }
.gst-badge { display: inline-block; font-size: 0.68rem; font-weight: 800; color: var(--clay); background: var(--cream); padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; margin-left: 8px; vertical-align: middle; }

/* --- Search page --- */
.search-page { padding: var(--gap) 0; }
.search-bar { max-width: 600px; margin: 0 auto var(--gap); }
.search-bar input { width: 100%; padding: 16px 24px; border: 2px solid var(--line); border-radius: 999px; font-size: 1.05rem; background: var(--white); }
.search-bar input:focus { border-color: var(--terracotta); }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gap); }
.search-hint { text-align: center; color: var(--muted); margin-top: 40px; }

/* --- 404 page --- */
.page-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--gap); }

/* --- Admin page --- */
.admin-page { padding: var(--gap) 0; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.admin-table th { background: var(--cream); font-weight: 800; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); }
.admin-table tr:hover td { background: #FFFAF4; }
.status-badge { padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.status-received { background: #fef3cd; color: #856404; }
.status-confirmed { background: #d4edda; color: #155724; }
.status-production { background: #cfe2f3; color: #0c5460; }
.status-shipped { background: #e2d9f3; color: #563d7c; }
.status-delivered { background: #d4edda; color: #155724; }
.status-completed { background: #edf5d8; color: #3d6a1d; }
.status-cancelled { background: #f8d7da; color: #721c24; }

/* --- Portal page --- */
.portal-page { padding: var(--gap) 0; min-height: 70vh; }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.portal-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.portal-card img { max-width: 100%; border-radius: 12px; margin-bottom: 12px; }
.portal-card h3 { margin: 8px 0; }
.portal-lock { padding: 60px 20px; text-align: center; max-width: 420px; margin: 0 auto; }

/* --- Utility additions --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gap); }
@media (max-width: 820px) {
  .pd-grid, .kit-hero, .checkout-layout, .pd-desc-wrap, .pd-det-grid, .cart-layout { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .pd-hl-card, .cart-summary { position: static; }
  .pd-ctas { grid-template-columns: 1fr; }
  .newsletter-inline { flex-direction: column; }
  .admin-table { font-size: 0.78rem; }
}