/* =====================================================
   SUMMER HAMMOCK — Frontend Stylesheet
   Palette: Pine & Jade + Terracotta & Saffron
   on warm parchment — "Terracotta & Pine"
   ===================================================== */
:root {
  --c-bg: #faf7ec;
  --c-bg-alt: #eef1e0;
  --c-ink: #123527;
  --c-ink-soft: #3d5a4d;
  --c-muted: #6d7f6e;
  --c-line: #e2e5cf;
  --c-accent: #e4572e;
  --c-accent-dark: #c2441f;
  --c-accent-soft: #fbe7db;
  --c-gold: #f3a712;
  --c-palm: #0d3b2a;
  --c-palm-light: #1d6b50;
  --c-leaf: #1f8a5f;
  --c-leaf-soft: #e3ecd9;
  --c-white: #ffffff;
  --c-success: #16a34a;
  --c-success-soft: #dcfce7;
  --c-error: #dc2626;
  --c-error-soft: #fee2e2;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 6px rgba(15,23,42,0.06);
  --shadow: 0 8px 24px rgba(15,23,42,0.08);
  --shadow-md: 0 12px 32px rgba(15,23,42,0.10);
  --shadow-lg: 0 20px 50px rgba(15,23,42,0.12);
  --shadow-xl: 0 30px 70px rgba(13,59,42,0.22);
  /* Single typeface site-wide: Inter 400–800, tabular numerals for prices */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 { letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent); }
img, svg { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 3px solid rgba(228,87,46,0.5); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 9999;
  background: var(--c-ink); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ========== ANNOUNCEMENT BAR ========== */
.topbar {
  background: var(--c-palm); color: rgba(255,255,255,0.92);
  font-size: 13px; letter-spacing: 0.3px;
}
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 9px 24px; }
.topbar-msg { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar-msg svg { color: var(--c-gold); flex-shrink: 0; }
.topbar-sep { color: var(--c-gold); }
.topbar-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-gold); font-weight: 700; white-space: nowrap;
  border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.topbar-link:hover { color: #ffd97a; border-color: #ffd97a; }

/* ========== NAVBAR ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,236,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 24px; max-width: var(--container); margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 42px; width: auto; }
.nav-brand { font-size: 20px; font-weight: 500; letter-spacing: -0.3px; color: var(--c-leaf); white-space: nowrap; }
.nav-brand strong { color: var(--c-ink); font-weight: 800; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links > a {
  font-weight: 500; font-size: 15px; letter-spacing: 0.4px;
  position: relative; padding: 4px 0;
}
.nav-links > a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--c-accent); transition: width .3s;
}
.nav-links > a:hover::after, .nav-links > a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-cart {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-ink); color: #fff; padding: 10px 18px;
  border-radius: 100px; font-weight: 600; font-size: 14px;
  transition: all .25s;
}
.nav-cart:hover { background: var(--c-accent); color: #fff; transform: translateY(-2px); }
.nav-cart .cart-count {
  background: var(--c-accent); color: #fff; border-radius: 100px;
  padding: 2px 8px; font-size: 12px; font-weight: 700; min-width: 22px; text-align: center;
}
.nav-cart:hover .cart-count { background: #fff; color: var(--c-accent); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--c-ink); padding: 4px; }
.nav-acct {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--c-line); color: var(--c-ink); transition: all .25s;
}
.nav-acct:hover { border-color: var(--c-accent); color: var(--c-accent); transform: translateY(-2px); }

/* ========== AUTH PAGES ========== */
.auth-wrap { min-height: 68vh; display: flex; align-items: center; justify-content: center; padding: 70px 0; }
.auth-card {
  width: 100%; max-width: 470px; background: #fff; border-radius: var(--radius-xl);
  padding: 44px 42px; box-shadow: var(--shadow-xl); border: 1px solid var(--c-line);
}
.auth-head { text-align: center; margin-bottom: 28px; }
.auth-logo { height: 62px; margin-bottom: 16px; }
.auth-head h1 { font-family: var(--font-sans); font-size: 30px; font-weight: 800; color: var(--c-ink); margin-bottom: 8px; }
.auth-head p { color: var(--c-muted); font-size: 14.5px; line-height: 1.6; }
.auth-remember { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--c-ink-soft); margin: 4px 0 14px; cursor: pointer; }
.auth-foot { text-align: center; margin-top: 26px; font-size: 14px; color: var(--c-muted); }
.auth-foot a { color: var(--c-accent); font-weight: 600; }
.form-err { color: var(--c-error); font-size: 12px; margin-top: 4px; display: block; }

/* ========== CHECKOUT NUDGE ========== */
.checkout-nudge {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--c-leaf-soft); border: 1px solid #cfe0c0;
  color: var(--c-palm); padding: 14px 20px; border-radius: var(--radius);
  font-size: 14.5px; margin-top: 34px; margin-bottom: -14px;
}
.checkout-nudge a { color: var(--c-accent); font-weight: 600; }
.checkout-nudge .nudge-link { margin-left: auto; }

/* ========== ACCOUNT ========== */
.account-grid { display: grid; grid-template-columns: 320px 1fr; gap: 30px; padding: 50px 0 80px; align-items: start; }
.acct-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 32px; }
.acct-avatar {
  width: 76px; height: 76px; border-radius: 50%; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--c-leaf), var(--c-palm)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: 34px; font-weight: 800;
}
.acct-card h3 { font-family: var(--font-sans); font-size: 22px; margin-bottom: 4px; }
.acct-card > p { color: var(--c-muted); font-size: 14px; margin-bottom: 18px; }
.acct-meta { display: flex; justify-content: space-between; font-size: 14px; padding: 10px 0; border-top: 1px solid var(--c-line); color: var(--c-muted); }
.acct-meta strong { color: var(--c-ink); }
.order-table { display: flex; flex-direction: column; }
.order-row {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 30px; align-items: center; gap: 14px;
  padding: 16px 12px; border-bottom: 1px solid var(--c-line); border-radius: var(--radius);
  transition: background .2s, transform .2s;
}
.order-row:hover { background: var(--c-bg-alt); transform: translateX(4px); }
.order-row:last-child { border-bottom: none; }
.or-num { font-weight: 700; font-size: 14px; font-family: var(--font-sans); }
.or-date { font-size: 12.5px; color: var(--c-muted); }
.or-items, .or-status { font-size: 13.5px; color: var(--c-muted); }
.or-total { font-weight: 700; text-align: right; }
.or-arrow { color: var(--c-muted); transition: transform .2s; }
.order-row:hover .or-arrow { transform: translateX(4px); color: var(--c-accent); }

/* Status badges */
.status-badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
}
.s-pending { background: #fef3c7; color: #92400e; }
.s-processing { background: #dbeafe; color: #1e40af; }
.s-shipped { background: var(--c-accent-soft); color: var(--c-accent-dark); }
.s-delivered, .s-paid { background: var(--c-success-soft); color: #166534; }
.s-cancelled { background: var(--c-error-soft); color: #991b1b; }

/* ========== SUCCESS BANNER ========== */
.success-banner {
  display: flex; align-items: center; gap: 18px; margin: 46px auto 0;
  background: var(--c-leaf-soft); border: 1px solid #c4dcb6;
  padding: 22px 28px; border-radius: var(--radius-lg); max-width: 860px;
}
.success-icon {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: var(--c-leaf); color: #fff; display: flex; align-items: center; justify-content: center;
}

/* ========== INVOICE ========== */
.invoice {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: 46px 50px; margin: 40px auto 30px; max-width: 860px; box-shadow: var(--shadow);
}
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 30px; border-bottom: 2px solid var(--c-ink); }
.inv-brand img { height: 52px; margin-bottom: 12px; }
.inv-company { font-size: 12.5px; color: var(--c-muted); line-height: 1.7; }
.inv-meta { text-align: right; }
.inv-title { font-family: var(--font-sans); font-size: 34px; font-weight: 800; color: var(--c-palm); letter-spacing: 2px; line-height: 1; }
.inv-num { font-weight: 700; font-size: 15px; margin-top: 8px; }
.inv-date { font-size: 13px; color: var(--c-muted); margin-top: 2px; }
.inv-parties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.inv-party { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.inv-party .lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--c-muted); margin-bottom: 5px; }
.inv-party strong { font-size: 15px; }
.inv-party span { color: var(--c-ink-soft); line-height: 1.55; }
.status-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.inv-table { width: 100%; border-collapse: collapse; margin: 28px 0 8px; }
.inv-table th {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--c-muted); text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--c-line);
}
.inv-table td { padding: 14px 12px; border-bottom: 1px solid var(--c-line); font-size: 14.5px; vertical-align: middle; }
.inv-item { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.inv-thumb { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; background: var(--c-bg-alt); }
.inv-totals { margin-left: auto; width: 300px; padding-top: 18px; }
.inv-trow { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14.5px; color: var(--c-ink-soft); }
.inv-grand { border-top: 2px solid var(--c-ink); margin-top: 8px; padding-top: 14px; font-size: 20px; font-weight: 800; color: var(--c-ink); }
.inv-notes { margin-top: 26px; padding: 18px 20px; background: var(--c-bg-alt); border-radius: var(--radius); font-size: 14px; }
.inv-notes .lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--c-muted); display: block; margin-bottom: 6px; }
.inv-notes p { margin: 0; color: var(--c-ink-soft); line-height: 1.6; }
.inv-foot { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--c-line); text-align: center; }
.inv-foot p { font-size: 14px; color: var(--c-ink-soft); margin: 0 0 4px; }
.inv-foot .muted { font-size: 12.5px; color: var(--c-muted); }
.inv-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

/* ========== PRINT ========== */
@media print {
  nav.nav, footer, .topbar, .to-top, .page-header, .inv-actions, .success-banner { display: none !important; }
  body { background: #fff; }
  .invoice { box-shadow: none; border: none; padding: 10px; margin: 0; max-width: 100%; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg, .hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-bg img { object-fit: cover; object-position: center 62%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(78deg, rgba(8,30,21,0.92) 0%, rgba(13,59,42,0.72) 42%, rgba(13,59,42,0.25) 72%, rgba(13,59,42,0.12) 100%),
    linear-gradient(0deg, rgba(8,30,21,0.55) 0%, transparent 34%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 660px; padding: 90px 0 110px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; padding: 8px 18px; border-radius: 100px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  margin-bottom: 26px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-gold); animation: pulse 2s infinite; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(243,167,18,0.55); }
  50% { box-shadow: 0 0 0 9px rgba(243,167,18,0); }
}
.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(46px, 6.4vw, 84px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 .accent {
  color: var(--c-gold);
  font-style: italic;
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: ''; position: absolute; bottom: 8px; left: 2px; right: 2px; height: 12px;
  background: rgba(228,87,46,0.55); z-index: -1; border-radius: 4px;
}
.hero p.lead {
  font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,0.88); max-width: 540px;
  margin-bottom: 36px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.hero-story {
  font-weight: 600; font-size: 15px; color: rgba(255,255,255,0.9);
  border-bottom: 1.5px solid rgba(255,255,255,0.45); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.hero-story:hover { color: var(--c-gold); border-color: var(--c-gold); }
.hero-story-dark { color: var(--c-ink); border-color: var(--c-line); }
.hero-story-dark:hover { color: var(--c-accent); border-color: var(--c-accent); }
.hero-proof {
  display: flex; align-items: center; gap: 12px; margin-top: 38px;
  font-size: 14.5px; color: rgba(255,255,255,0.85); flex-wrap: wrap;
}
.hero-proof strong { color: #fff; }
.hero-scroll {
  position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4); color: #fff;
  display: flex; align-items: center; justify-content: center;
  animation: bob 2.4s ease-in-out infinite; transition: background .25s;
}
.hero-scroll:hover { background: rgba(255,255,255,0.16); color: #fff; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: all .25s; letter-spacing: 0.3px;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn::after {
  content: ''; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transition: left .55s ease;
}
.btn:hover::after { left: 130%; }
.btn-lg { padding: 18px 38px; font-size: 16px; }
.btn-primary { background: var(--c-ink); color: #fff; }
.btn-primary:hover { background: var(--c-accent); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(228,87,46,0.35); }
.btn-accent { background: var(--c-accent); color: #fff; box-shadow: 0 8px 22px rgba(228,87,46,0.32); }
.btn-accent:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(228,87,46,0.42); }
.btn-outline { background: transparent; color: var(--c-ink); border: 2px solid var(--c-ink); }
.btn-outline:hover { background: var(--c-ink); color: #fff; transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--c-ink); padding: 16px 12px; }
.btn-ghost:hover { color: var(--c-accent); }

/* ========== STAR RATINGS ========== */
.stars {
  position: relative; display: inline-block;
  font-size: 15px; letter-spacing: 2px; line-height: 1;
  color: rgba(255,255,255,0.32); white-space: nowrap;
}
.stars-fill {
  position: absolute; top: 0; left: 0; overflow: hidden;
  color: var(--c-gold); white-space: nowrap;
}
.p-rating .stars { color: #d8dcc8; }

/* ========== TRUST STRIP ========== */
.trustbar { background: #fff; border-bottom: 1px solid var(--c-line); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 26px; padding-bottom: 26px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  background: var(--c-leaf-soft); color: var(--c-leaf);
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-item strong { display: block; font-size: 14.5px; line-height: 1.3; }
.trust-item span:not(.trust-icon) { font-size: 12.5px; color: var(--c-muted); }

/* ========== SECTIONS ========== */
.sec { padding: 96px 0; }
.sec-alt { background: var(--c-bg-alt); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; color: var(--c-accent); font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-sans); font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800; line-height: 1.08; letter-spacing: -1px; color: var(--c-ink);
  text-wrap: balance;
}
.section-subtitle { color: var(--c-muted); max-width: 600px; margin: 14px auto 0; font-size: 16.5px; }
.sec-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 44px; flex-wrap: wrap;
}
.sec-head-row .section-tag { margin-bottom: 10px; }
.view-all {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; color: var(--c-ink);
  border-bottom: 2px solid var(--c-line); padding-bottom: 4px;
  transition: color .2s, border-color .2s; white-space: nowrap;
}
.view-all:hover { color: var(--c-accent); border-color: var(--c-accent); }
.view-all svg { transition: transform .25s; }
.view-all:hover svg { transform: translateX(4px); }

/* ========== CATEGORIES ========== */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 264px; gap: 22px;
}
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; isolation: isolate; box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s;
}
.cat-card-lg { grid-row: span 2; }
.cat-card img {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.6,.3,1);
}
.cat-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(185deg, rgba(8,30,21,0) 34%, rgba(8,30,21,0.55) 66%, rgba(8,30,21,0.9) 100%);
  transition: opacity .35s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .cat-count {
  position: absolute; top: 18px; left: 18px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.8px;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(255,255,255,0.9); color: var(--c-ink);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.cat-info { padding: 24px 26px 26px; }
.cat-info h3 {
  font-family: var(--font-sans); font-size: 23px; font-weight: 800;
  margin-bottom: 4px; color: #fff; letter-spacing: -0.3px;
}
.cat-card-lg .cat-info h3 { font-size: 30px; }
.cat-info p { font-size: 13.5px; color: rgba(255,255,255,0.85); line-height: 1.55; margin: 6px 0 10px; max-width: 400px; }
.cat-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--c-gold);
}
.cat-cta svg { transition: transform .25s; }
.cat-card:hover .cat-cta svg { transform: translateX(5px); }

/* ========== PRODUCT CARDS ========== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px,1fr)); gap: 22px; }
.p-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--c-line); transition: all .35s; position: relative;
  display: flex; flex-direction: column;
}
.p-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.p-media {
  position: relative; display: block; aspect-ratio: 1/1;
  background: var(--c-bg-alt); overflow: hidden;
}
.p-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.6,.3,1);
}
.p-card:hover .p-media img { transform: scale(1.07); }
.p-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--c-ink); color: #fff; font-size: 10.5px; font-weight: 700;
  padding: 5px 11px; border-radius: 100px; letter-spacing: 0.7px; text-transform: uppercase;
}
.p-badge-sale { background: var(--c-accent); }
.p-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--c-ink); font-size: 12.5px; font-weight: 700;
  padding: 10px; border-radius: 100px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s, transform .3s;
}
.p-card:hover .p-quick { opacity: 1; transform: translateY(0); }
.p-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.p-cat { font-size: 10.5px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.p-name {
  font-family: var(--font-sans); font-size: 16px; font-weight: 700;
  line-height: 1.3; margin-bottom: 6px; color: var(--c-ink); display: inline-block;
}
.p-name:hover { color: var(--c-accent); }
.p-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.p-rating .stars { font-size: 12.5px; }
.p-rating-num { font-size: 12px; color: var(--c-ink-soft); font-weight: 600; }
.p-rating-num em { font-style: normal; color: var(--c-muted); font-weight: 400; }
.p-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; margin-top: auto; padding-top: 10px;
  border-top: 1px dashed var(--c-line);
}
.p-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.price-current { font-size: 19px; font-weight: 800; color: var(--c-ink); }
.price-old { font-size: 12.5px; color: var(--c-muted); text-decoration: line-through; }
.p-add {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 0 14px; border-radius: 100px;
  background: var(--c-ink); color: #fff; border: none; cursor: pointer;
  font-size: 13px; font-weight: 700; letter-spacing: 0.4px;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.p-add:hover { background: var(--c-accent); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(228,87,46,0.35); }
.p-add:active { transform: translateY(0); }

/* ========== CRAFT ========== */
.craft { background: #fff; }
.craft-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.craft-visual { position: relative; padding-bottom: 66px; }
.craft-visual > img:first-child {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
.craft-sub {
  position: absolute; right: -20px; bottom: 0; width: 55%;
  aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg);
  border: 8px solid #fff; box-shadow: var(--shadow-lg);
}
.craft-badge {
  position: absolute; left: -14px; bottom: 40px;
  background: var(--c-palm); color: #fff; border-radius: var(--radius-md);
  padding: 16px 20px; box-shadow: var(--shadow-md); max-width: 190px;
}
.craft-badge .num { font-family: var(--font-sans); font-size: 26px; font-weight: 800; color: var(--c-gold); line-height: 1.1; }
.craft-badge .txt { font-size: 12px; line-height: 1.45; margin-top: 4px; }
.craft-text .eyebrow { color: var(--c-accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.craft-text h2 { font-family: var(--font-sans); font-size: clamp(30px,3.4vw,46px); font-weight: 800; line-height: 1.1; margin: 14px 0 20px; letter-spacing: -1px; text-wrap: balance; }
.craft-text > p { color: var(--c-ink-soft); font-size: 16px; margin-bottom: 16px; line-height: 1.75; }
.craft-points { margin-top: 26px; display: grid; gap: 14px; }
.craft-point { display: flex; gap: 14px; align-items: flex-start; }
.craft-point .check {
  width: 28px; height: 28px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700;
}
.craft-point strong { display: block; font-size: 15px; margin-bottom: 2px; }
.craft-point span { font-size: 14px; color: var(--c-muted); }
.craft-cta { display: flex; align-items: center; gap: 22px; margin-top: 32px; flex-wrap: wrap; }

/* ========== PROCESS / TIMELINE ========== */
.process { background: var(--c-palm); color: #fff; }
.process .section-title { color: #fff; }
.process .section-subtitle { color: rgba(255,255,255,0.72); }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 36px 32px; margin-top: 8px; position: relative; }
.step { position: relative; }
.step-num {
  font-family: var(--font-sans); font-size: 76px; font-weight: 800;
  color: transparent; -webkit-text-stroke: 2px var(--c-accent);
  line-height: 1; margin-bottom: 14px;
}
.step h4 { font-family: var(--font-sans); font-size: 21px; margin-bottom: 9px; color: var(--c-gold); }
.step p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.7; }

/* ========== TESTIMONIALS ========== */
.testimonials { position: relative; overflow: hidden; }
.testimonials::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/photo-hammock-beach.jpg') center/cover;
}
.testimonials::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(13,59,42,0.92), rgba(18,53,39,0.84));
}
.testimonials .container { position: relative; z-index: 2; }
.testimonials .section-tag { color: var(--c-gold); }
.testimonials .section-title { color: #fff; }
.testimonials .section-subtitle { color: rgba(255,255,255,0.75); }

.t-leaf { position: absolute; color: rgba(243,167,18,0.25); z-index: 1; }
.t-leaf-1 { width: 90px; top: 8%; left: 4%; animation: leafDrift 11s ease-in-out infinite; }
.t-leaf-2 { width: 60px; top: 60%; right: 6%; color: rgba(255,255,255,0.14); animation: leafDrift 13s ease-in-out -4s infinite; }
.t-leaf-3 { width: 46px; bottom: 10%; left: 12%; color: rgba(31,138,95,0.3); animation: leafDrift 9s ease-in-out -2s infinite; }
@keyframes leafDrift {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  33% { transform: translate(16px,-22px) rotate(14deg); }
  66% { transform: translate(-10px,-8px) rotate(-8deg); }
}

.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 26px; }
.testi-card {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 36px 30px 28px; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.65); position: relative;
  display: flex; flex-direction: column;
  box-shadow: 0 18px 44px rgba(4,33,18,0.22);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.testi-card::before {
  content: ''; position: absolute; top: 0; left: 30px; right: 30px; height: 3px;
  border-radius: 0 0 4px 4px; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--c-leaf), var(--c-gold), var(--c-accent));
  transition: transform .4s ease;
}
.testi-card:hover { transform: translateY(-9px) rotate(-0.5deg); box-shadow: 0 30px 64px rgba(4,33,18,0.32); border-color: rgba(243,167,18,0.5); }
.testi-card:nth-child(2):hover { transform: translateY(-9px) rotate(0.5deg); }
.testi-card:hover::before { transform: scaleX(1); }
.testi-quote-svg {
  width: 34px; height: 28px; color: var(--c-accent);
  position: absolute; top: 26px; right: 28px; opacity: 0.35;
  transition: transform .35s ease, opacity .35s ease;
}
.testi-card:hover .testi-quote-svg { transform: scale(1.15) rotate(-6deg); opacity: 0.9; }
.testi-card.revealed .testi-quote-svg { animation: quotePop .5s .35s cubic-bezier(.34,1.56,.64,1) backwards; }
@keyframes quotePop { from { transform: scale(0) rotate(-40deg); opacity: 0; } }
.testi-stars { margin-bottom: 14px; font-size: 16px; letter-spacing: 3px; }
.testi-stars .star { color: var(--c-gold); display: inline-block; text-shadow: 0 1px 2px rgba(243,167,18,0.3); }
.testi-card.revealed .star { animation: starPop .45s cubic-bezier(.34,1.56,.64,1) backwards; }
.testi-card.revealed .star:nth-child(1) { animation-delay: .05s; }
.testi-card.revealed .star:nth-child(2) { animation-delay: .13s; }
.testi-card.revealed .star:nth-child(3) { animation-delay: .21s; }
.testi-card.revealed .star:nth-child(4) { animation-delay: .29s; }
.testi-card.revealed .star:nth-child(5) { animation-delay: .37s; }
@keyframes starPop { from { transform: scale(0) rotate(-30deg); opacity: 0; } }
.testi-text { color: var(--c-ink-soft); line-height: 1.75; margin-bottom: 22px; font-size: 15px; font-style: italic; flex: 1; }
.testi-person { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--c-line); padding-top: 18px; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--c-accent), var(--c-gold));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-family: var(--font-sans);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(243,167,18,0.45);
  transition: transform .3s ease, box-shadow .3s ease;
}
.testi-card:hover .testi-avatar { transform: scale(1.1); box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(31,138,95,0.4); }
.testi-name { font-weight: 700; font-size: 15px; }
.testi-role { font-size: 13px; color: var(--c-muted); }

/* ========== CTA + NEWSLETTER ========== */
.cta-banner {
  background: url('../images/photo-sunset.jpg') center/cover;
  color: #fff; padding: 92px 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(13,59,42,0.94) 15%, rgba(18,53,39,0.72) 60%, rgba(228,87,46,0.4));
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -40%; left: -5%; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(243,167,18,0.18);
}
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
.cta-inner h2 { font-family: var(--font-sans); font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.1; margin-bottom: 10px; }
.cta-inner p { color: rgba(255,255,255,0.85); font-size: 16.5px; max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.nl-form { display: flex; gap: 10px; width: 100%; }
.nl-form input {
  flex: 1; min-width: 0; padding: 15px 22px; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.95);
  font-size: 15px; color: var(--c-ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.nl-form input:focus { border-color: var(--c-gold); box-shadow: 0 0 0 4px rgba(243,167,18,0.25); }
.nl-form .btn { flex-shrink: 0; }
.cta-shop {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,0.9);
  border-bottom: 1.5px solid rgba(255,255,255,0.4); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.cta-shop:hover { color: var(--c-gold); border-color: var(--c-gold); }

/* ========== FOOTER ========== */
.footer { background: var(--c-ink); color: #cbd5e1; padding: 76px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { height: 46px; width: auto; }
.footer-logo span { font-family: var(--font-sans); font-size: 21px; color: rgba(255,255,255,0.85); }
.footer-logo strong { color: var(--c-gold); font-weight: 800; }
.footer-brand > p { font-size: 14px; line-height: 1.7; color: #94a3b8; max-width: 340px; }
.footer-news { margin-top: 22px; max-width: 340px; }
.footer-news label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.footer-news-row {
  display: flex; align-items: center; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 100px; padding: 4px;
  transition: border-color .25s;
}
.footer-news-row:focus-within { border-color: var(--c-gold); }
.footer-news-row input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  padding: 9px 14px; font-size: 14px; color: #fff;
}
.footer-news-row input::placeholder { color: rgba(255,255,255,0.4); }
.footer-news-row button {
  width: 38px; height: 38px; border-radius: 50%; border: none; flex-shrink: 0;
  background: var(--c-accent); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.footer-news-row button:hover { background: var(--c-gold); transform: scale(1.05); }
.footer h5 { font-family: var(--font-sans); color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: #94a3b8; font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: var(--c-accent); }
.footer-contact p { font-size: 14px; color: #94a3b8; margin-bottom: 10px; }
.footer-contact strong { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: #6e7f72; flex-wrap: wrap; gap: 10px; }
.footer-bottom .brand-mark { color: var(--c-gold); font-weight: 700; }
.footer-bottom .credit { margin-top: 5px; }
.footer-bottom .credit-link {
  color: var(--c-gold); font-weight: 700; letter-spacing: 1px;
  border-bottom: 1px solid transparent; transition: border-color .25s, color .25s;
}
.footer-bottom .credit-link:hover { color: var(--c-accent); border-color: var(--c-accent); }

/* ========== BACK TO TOP ========== */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--c-ink); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s, transform .3s, visibility .3s, background .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-accent); }

/* ========== PAGE HEADER (non-home pages) ========== */
.page-header {
  padding: 70px 0 60px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(243,167,18,0.3), transparent 50%),
    linear-gradient(135deg, #fcfaf3 0%, #f1f5e5 100%);
  text-align: center;
  position: relative; overflow: hidden;
}
.page-header h1 { font-family: var(--font-sans); font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -1px; }
.page-header .breadcrumb { margin-top: 14px; font-size: 14px; color: var(--c-muted); }
.page-header .breadcrumb a:hover { color: var(--c-accent); }

/* ========== SHOP PAGE ========== */
.shop-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 60px 0; }
.shop-sidebar { position: sticky; top: 100px; align-self: start; }
.widget { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.widget h4 { font-family: var(--font-sans); font-size: 18px; margin-bottom: 16px; }
.widget ul { list-style: none; display: grid; gap: 10px; }
.widget ul a { font-size: 14px; color: var(--c-ink-soft); display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed transparent; }
.widget ul a:hover, .widget ul a.active { color: var(--c-accent); border-color: var(--c-line); }
.widget ul a .cnt { color: var(--c-muted); font-size: 12px; }
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; margin-bottom: 24px; border-bottom: 1px solid var(--c-line);
}
.shop-toolbar select {
  padding: 10px 16px; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer; font-size: 14px;
}
.shop-count { font-size: 14px; color: var(--c-muted); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span {
  padding: 10px 16px; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--c-ink); background: #fff; transition: all .2s;
}
.pagination a:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.pagination .active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

/* ========== PRODUCT DETAIL ========== */
.pd-wrap { padding: 60px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
/* Product gallery — main image, nav arrows, thumbs, zoom lightbox */
.pd-main {
  position: relative; aspect-ratio: 1; background: var(--c-bg-alt);
  border-radius: var(--radius-lg); overflow: hidden;
}
.pd-main img {
  width: 100%; height: 100%; object-fit: cover; cursor: zoom-in;
  transition: transform .6s cubic-bezier(.2,.6,.3,1), opacity .3s ease;
}
.pd-main:hover img { transform: scale(1.05); }
.pd-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--c-ink);
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transition: opacity .25s, background .25s;
}
.pd-main:hover .pd-nav, .pd-nav:focus-visible { opacity: 1; }
.pd-prev { left: 14px; }
.pd-next { right: 14px; }
.pd-nav:hover { background: #fff; }
.pd-counter {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(18,53,39,.72); color: #fff; backdrop-filter: blur(4px);
  font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 100px;
}
.pd-zoombtn {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--c-ink);
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: transform .25s, background .25s;
}
.pd-zoombtn:hover { background: #fff; transform: scale(1.08); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb {
  width: 74px; height: 74px; border-radius: 14px; overflow: hidden;
  border: 2px solid transparent; padding: 0; background: var(--c-bg-alt); cursor: pointer;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pd-thumb.active { border-color: var(--c-accent); }

/* Lightbox */
.pd-lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,22,15,.93); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
}
.pd-lightbox[hidden] { display: none; }
body.pdl-open { overflow: hidden; }
.pdl-stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.pdl-stage img {
  max-width: 88vw; max-height: 82vh; object-fit: contain; user-select: none;
  transition: transform .15s ease-out; will-change: transform;
}
.pdl-stage img.zoomable { cursor: grab; }
.pdl-stage img.dragging { cursor: grabbing; transition: none; }
.pdl-close, .pdl-arrow {
  position: absolute; z-index: 2; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff;
  display: grid; place-items: center; transition: background .25s, transform .25s;
}
.pdl-close { top: 22px; right: 24px; width: 46px; height: 46px; }
.pdl-close:hover { background: rgba(255,255,255,.24); transform: scale(1.08); }
.pdl-arrow { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.pdl-arrow:hover { background: rgba(255,255,255,.24); }
.pdl-prev { left: 24px; }
.pdl-next { right: 24px; }
.pdl-bar {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; padding: 8px 14px; border-radius: 100px; backdrop-filter: blur(8px);
}
.pdl-bar button {
  background: none; border: none; color: #fff; font: inherit;
  font-size: 17px; font-weight: 700; min-width: 32px; height: 32px;
  cursor: pointer; border-radius: 50%; transition: background .2s;
}
.pdl-bar button:hover { background: rgba(255,255,255,.18); }
#pdlZoomReset { font-size: 12.5px; font-weight: 600; padding: 0 12px; border-radius: 100px; }
#pdlZoomPct { font-size: 12.5px; font-weight: 700; min-width: 44px; text-align: center; }
.pdl-sep { width: 1px; height: 16px; background: rgba(255,255,255,.3); }
.pdl-count { font-size: 12px; opacity: .8; margin-left: 4px; }
@media (max-width: 560px) {
  .pdl-arrow { width: 42px; height: 42px; }
  .pdl-prev { left: 10px; }
  .pdl-next { right: 10px; }
  .pd-thumb { width: 60px; height: 60px; }
  .pdl-bar { bottom: 18px; }
}
.pd-info h1 { font-family: var(--font-sans); font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.15; margin-bottom: 12px; }
.pd-meta { display: flex; gap: 20px; font-size: 13px; color: var(--c-muted); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.pd-price-box { display: flex; gap: 14px; align-items: baseline; margin: 20px 0; padding: 20px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.pd-price-big { font-size: 40px; font-weight: 800; color: var(--c-ink); }
.pd-price-old { font-size: 22px; color: var(--c-muted); text-decoration: line-through; }
.pd-discount { background: var(--c-accent); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.pd-desc { color: var(--c-ink-soft); line-height: 1.8; margin-bottom: 24px; }
.pd-specs { background: var(--c-bg-alt); padding: 24px; border-radius: var(--radius); margin-bottom: 24px; }
.pd-specs-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; }
.pd-specs-row:last-child { border: 0; }
.pd-specs-row span:first-child { color: var(--c-muted); }
.pd-specs-row span:last-child { font-weight: 600; }
.pd-qty-row { display: flex; gap: 14px; margin-bottom: 20px; }
.qty { display: flex; align-items: center; border: 1px solid var(--c-line); border-radius: var(--radius-sm); overflow: hidden; }
.qty button { width: 48px; height: 54px; background: #fff; border: none; cursor: pointer; font-size: 20px; color: var(--c-ink); transition: background .2s; }
.qty button:hover { background: var(--c-accent-soft); color: var(--c-accent); }
.qty input { width: 60px; height: 54px; text-align: center; border: none; border-left: 1px solid var(--c-line); border-right: 1px solid var(--c-line); font-size: 16px; font-weight: 600; }
.stock-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-success); font-weight: 600; margin-bottom: 16px; }
.stock-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c-success); }

.related-section { background: var(--c-bg-alt); padding-top: 80px; padding-bottom: 80px; }

/* ========== CART ========== */
.cart-wrap { padding: 60px 0; }
.cart-empty { text-align: center; padding: 80px 20px; }
.cart-empty svg { width: 80px; height: 80px; color: var(--c-muted); margin-bottom: 20px; }
.cart-empty h3 { font-family: var(--font-sans); font-size: 26px; margin-bottom: 10px; }
.cart-table { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); }
.cart-row { display: grid; grid-template-columns: 100px 2fr 1fr 1fr 1fr 40px; gap: 20px; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--c-line); }
.cart-row.head { background: var(--c-bg); font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--c-muted); font-weight: 600; }
.cart-row:last-child { border-bottom: none; }
.cart-thumb { width: 100px; height: 100px; background: var(--c-bg-alt); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-cat { font-size: 12px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 1px; }
.cart-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.cart-summary { background: #fff; border-radius: var(--radius-lg); padding: 30px; margin-top: 30px; max-width: 420px; margin-left: auto; border: 1px solid var(--c-line); }
.cart-summary h3 { font-family: var(--font-sans); font-size: 22px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; font-size: 15px; border-bottom: 1px dashed var(--c-line); }
.summary-row.total { font-weight: 800; font-size: 22px; border-bottom: none; border-top: 2px solid var(--c-ink); margin-top: 8px; padding-top: 16px; }
.remove-btn { background: none; border: none; color: var(--c-muted); cursor: pointer; font-size: 20px; transition: color .2s; }
.remove-btn:hover { color: var(--c-error); }

/* ========== CHECKOUT ========== */
.checkout-wrap { padding: 60px 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.checkout-form { background: #fff; border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--c-line); }
.checkout-form h2 { font-family: var(--font-sans); font-size: 26px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--c-ink-soft); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(228,87,46,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.order-review { background: var(--c-bg-alt); border-radius: var(--radius-lg); padding: 30px; align-self: start; position: sticky; top: 100px; }
.order-review h3 { font-family: var(--font-sans); font-size: 22px; margin-bottom: 20px; }
.review-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; }
.review-item .name { display: flex; gap: 10px; }
.review-item .qty-tag { color: var(--c-muted); }
.pay-option { display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px solid var(--c-line); border-radius: var(--radius); cursor: pointer; transition: all .2s; }
.pay-option input:checked ~ div { color: var(--c-ink); }
.pay-option:has(input:checked) { border-color: var(--c-accent) !important; background: var(--c-accent-soft); }

/* ========== CONTACT ========== */
.contact-wrap { padding: 60px 0; display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.contact-info-card { background: var(--c-palm); color: #fff; border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; }
.contact-info-card::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 200px; height: 200px;
  background: var(--c-accent); border-radius: 50%; opacity: 0.2;
}
.contact-info-card h2 { font-family: var(--font-sans); font-size: 30px; margin-bottom: 10px; position: relative; }
.contact-info-card > p { color: rgba(255,255,255,0.75); margin-bottom: 36px; position: relative; }
.contact-method { display: flex; gap: 18px; margin-bottom: 24px; align-items: flex-start; position: relative; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(228,87,46,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--c-accent);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-method strong { display: block; font-size: 14px; color: var(--c-gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-method p { font-size: 15px; color: #f1f5f9; }

.contact-form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--c-line); }
.contact-form-card h2 { font-family: var(--font-sans); font-size: 30px; margin-bottom: 24px; }

/* ========== ALERTS / FLASH ========== */
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ========== ENTRANCE & MOTION ========== */
::selection { background: var(--c-gold); color: var(--c-ink); }
section[id] { scroll-margin-top: 92px; }

.topbar { animation: softDrop .55s cubic-bezier(.22,.61,.36,1) backwards; }
.nav { animation: softDrop .65s .08s cubic-bezier(.22,.61,.36,1) backwards; }
@keyframes softDrop { from { opacity: 0; transform: translateY(-14px); } }
@keyframes fadeIn { from { opacity: 0; } }

/* Hero load-in */
.hero-bg img { animation: heroZoom 2.2s cubic-bezier(.22,.61,.36,1) backwards; }
@keyframes heroZoom { from { transform: scale(1.09); } }
.hero-tag, .hero h1, .hero p.lead, .hero-cta, .hero-proof {
  animation: heroUp .9s cubic-bezier(.22,.61,.36,1) backwards;
}
.hero-tag { animation-delay: .15s; }
.hero h1 { animation-delay: .25s; }
.hero p.lead { animation-delay: .38s; }
.hero-cta { animation-delay: .5s; }
.hero-proof { animation-delay: .62s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(30px); } }
.hero-scroll { animation: fadeIn 1.1s .85s backwards, bob 2.4s ease-in-out 1.9s infinite; }

/* Flash alerts slide in */
.alert { animation: softDrop .5s cubic-bezier(.22,.61,.36,1) backwards; }

/* Trust strip hover */
.trust-item { transition: transform .3s ease; }
.trust-item:hover { transform: translateY(-4px); }
.trust-icon { transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .3s, color .3s; }
.trust-item:hover .trust-icon { transform: scale(1.1) rotate(-5deg); background: var(--c-accent-soft); color: var(--c-accent); }

/* Category cards — content lifts with the card */
.cat-info { transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.cat-card:hover .cat-info { transform: translateY(-6px); }

/* Process steps */
.step { transition: transform .35s ease; }
.step:hover { transform: translateY(-5px); }
.step-num { transition: color .35s ease, -webkit-text-stroke-color .35s ease; }
.step:hover .step-num { color: var(--c-gold); -webkit-text-stroke-color: var(--c-gold); }

/* Craft collage — gentle float */
.craft-sub { animation: floaty 7s ease-in-out infinite; }
.craft-badge { animation: floaty 8s ease-in-out -3s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Buttons — tactile press */
.btn:active { transform: translateY(-1px) scale(.98); }

/* Footer link slide */
.footer ul a { display: inline-block; transition: color .2s, transform .25s; }
.footer ul a:hover { transform: translateX(5px); }

/* Sidebar widgets lift softly on hover */
.widget { transition: box-shadow .3s ease; }
.widget:hover { box-shadow: var(--shadow); }

/* ========== TOASTS & LIVE FEEDBACK ========== */
.sh-toast-wrap {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 150; display: flex; flex-direction: column; align-items: center;
  gap: 10px; width: max-content; max-width: calc(100vw - 32px); pointer-events: none;
}
.sh-toast {
  display: flex; align-items: center; gap: 10px; pointer-events: auto;
  background: var(--c-palm); color: #fff;
  font-size: 14px; font-weight: 600; line-height: 1.4;
  padding: 13px 20px; border-radius: 100px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(14px);
  transition: opacity .3s ease, transform .35s cubic-bezier(.22,.61,.36,1);
}
.sh-toast.in { opacity: 1; transform: translateY(0); }
.sh-toast > svg { color: var(--c-gold); flex-shrink: 0; }
.sh-toast-link { color: var(--c-gold); font-weight: 700; text-decoration: none; white-space: nowrap; }
.sh-toast-link:hover { text-decoration: underline; }

/* Cart badge pop when the count changes */
.cart-count.bump { animation: badgeBump .45s cubic-bezier(.34,1.56,.64,1); }
@keyframes badgeBump { 35% { transform: scale(1.4); } }

/* Busy / confirmation states on submit buttons */
.p-add.is-busy, .btn.is-busy { opacity: .65; cursor: wait; }
.p-add.is-added, .btn.is-added { background: var(--c-leaf) !important; border-color: var(--c-leaf) !important; color: #fff; }
.footer-news-row button:disabled { opacity: .6; transform: none; cursor: default; }

/* Mobile nav scrim is desktop-inert */
.nav-scrim { display: none; }
body.nav-locked { overflow: hidden; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .craft-grid { gap: 48px; }
}
@media (max-width: 900px) {
  .craft-grid, .pd-wrap, .checkout-wrap, .contact-wrap, .account-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { grid-template-columns: 1fr; gap: 30px; }
  .cta-actions { width: 100%; }
  .inv-parties { grid-template-columns: 1fr; gap: 20px; }
  .invoice { padding: 30px 26px; }
  .inv-totals { width: 100%; }
  .success-banner { margin: 30px auto 0; }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .cat-card-lg { grid-row: span 1; }
  .craft-sub { right: 0; }
  .craft-badge { left: 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-wrap { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; order: 2; }
  .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 18px 24px 24px; gap: 4px;
    border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .28s ease, transform .3s cubic-bezier(.22,.61,.36,1), visibility .28s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 96;
    background: rgba(13, 59, 42, 0.38); border: 0; padding: 0; cursor: default;
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
  }
  .nav-scrim.show { opacity: 1; visibility: visible; }
  .nav-links > a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--c-line); }
  .nav-links > a:last-of-type { border-bottom: none; margin-bottom: 10px; }
  .nav-links > a::after { display: none; }
  .nav-links > a.active { color: var(--c-accent); font-weight: 700; }
  .nav-toggle { display: block; }
  .invoice { overflow-x: auto; }
  .inv-table { min-width: 560px; }
  .cart-row { grid-template-columns: 80px 2fr 1fr auto; gap: 12px; font-size: 14px; padding: 14px; }
  .cart-row.head { display: none; }
  .cart-thumb { width: 80px; height: 80px; }
  .form-row { grid-template-columns: 1fr; }
  .sec { padding: 68px 0; }
  .hero { min-height: 0; }
  .hero-copy { padding: 80px 0 96px; }
  .hero-scroll { display: none; }
}
@media (max-width: 560px) {
  /* Categories become a snap-scrolling shelf — deliberate browse, less vertical scroll */
  .cat-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    grid-auto-rows: 250px; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px;
    margin-inline: -24px; padding-inline: 24px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-card { scroll-snap-align: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { padding: 64px 0 80px; }
  .hero-cta { gap: 16px; }
  .hero-cta .btn-lg { padding: 16px 28px; font-size: 15px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 14px; }
  .p-body { padding: 14px 14px 16px; }
  .p-name { font-size: 16px; }
  .p-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .p-add { justify-content: center; }
  .p-quick { display: none; }
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .craft-visual { padding-bottom: 50px; }
  .craft-sub { width: 62%; border-width: 6px; }
  .craft-badge { padding: 12px 16px; max-width: 160px; }
  .craft-badge .num { font-size: 20px; }
  .pd-specs { padding: 18px; }
  .nav-brand { font-size: 17px; }
  .nav-logo img { height: 34px; }
  .nav-inner { padding: 12px 16px; gap: 10px; }
  .nav-cart { padding: 9px 14px; }
  .nav-cart .cart-label { display: none; }
  .nav-acct { width: 36px; height: 36px; }
  .auth-card { padding: 34px 26px; }
  .order-row { grid-template-columns: 1fr auto 30px; }
  .or-items { display: none; }
  .or-status { justify-self: start; }
  .or-total { display: none; }
  .nl-form { flex-direction: column; }
  .nl-form .btn { justify-content: center; }
  .sec-head-row { margin-bottom: 30px; }
  .topbar-inner { gap: 10px; font-size: 12px; }
  .topbar-link { display: none; }
}

@media (max-width: 640px) {
  /* Product cards become compact horizontal rows — full details, less scrolling */
  .products-grid { grid-template-columns: 1fr; gap: 12px; }
  .p-card { flex-direction: row; }
  .p-media { width: 118px; aspect-ratio: 1/1; flex-shrink: 0; }
  .p-badge { top: 8px; left: 8px; font-size: 10px; padding: 4px 9px; }
  .p-quick { display: none; }
  .p-body { padding: 12px 14px; }
  .p-cat { margin-bottom: 3px; }
  .p-name { font-size: 15.5px; margin-bottom: 6px; }
  .p-rating { margin-bottom: 8px; }
  .p-foot { flex-direction: row; align-items: center; gap: 10px; padding-top: 10px; }
  .price-current { font-size: 18px; }
  .p-add { min-height: 38px; padding: 0 14px; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
