/* Shiv Shakti — Orchard Green & Cream theme */
:root {
  --cream: #f5f0e8;
  --cream-2: #ede6d8;
  --sage: #dce5d4;
  --sage-2: #b0c6a9;
  --green: #2d5a3d;
  --green-d: #1a3c2a;
  --ink: #1c2419;
  --muted: #5b6555;
  --apple: #b03a2e;
  --gold: #c9a84c;
  --shadow: 0 8px 30px rgba(26, 60, 42, .08);
  --radius: 14px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--font-body), system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  display: block
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color .2s
}

a:hover {
  color: var(--apple)
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading), Georgia, serif;
  color: var(--green-d);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem)
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem)
}

h3 {
  font-size: 1.4rem
}

p {
  margin: 0 0 1em
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 232, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 90, 61, .08);
  transition: box-shadow .3s
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(26, 60, 42, .06)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 1.25rem;
  gap: 1rem
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem
}

.brand-mark {
  font-size: 1.6rem
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: 'Cormorant Garamond', serif
}

.brand-text strong {
  color: var(--green-d);
  font-size: 1.15rem;
  font-weight: 600
}

.brand-text small {
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  margin-top: 3px
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem
}

.nav-links a {
  color: var(--ink);
  font-size: .88rem;
  font-weight: 500;
  position: relative;
  white-space: nowrap
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--green)
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--green)
}

.avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: .02em
}

.nav-avatar {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 0 !important
}

.nav-avatar::after {
  display: none !important
}

html[data-theme="dark"] .avatar-circle {
  opacity: .92
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--green-d);
  cursor: pointer
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  font-size: .95rem;
  transition: transform .2s, background .2s, box-shadow .2s
}

.btn:hover {
  background: var(--green-d);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45, 90, 61, .25)
}

.btn-sm {
  padding: .5rem 1.1rem;
  font-size: .85rem
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green)
}

.btn-ghost:hover {
  background: var(--green);
  color: #fff
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--sage) 100%)
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1568702846914-96b305d2aaeb?w=1800&q=70') center/cover;
  opacity: .32
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--cream) 100%)
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem
}

.hero-eyebrow {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(255, 255, 255, .7);
  padding: .4rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1.2rem
}

.hero p {
  max-width: 55ch;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 2rem
}

.hero-cta {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap
}

/* Sections */
section {
  padding: 5rem 0
}

.section-eyebrow {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .6rem;
  display: block
}

.section-head {
  max-width: 60ch;
  margin-bottom: 3rem
}

.bg-sage {
  background: var(--sage)
}

.bg-green {
  background: var(--green-d);
  color: var(--cream)
}

.bg-green h1,
.bg-green h2,
.bg-green h3 {
  color: var(--cream)
}

.bg-green .muted {
  color: rgba(245, 240, 232, .75)
}

/* Grids */
.grid {
  display: grid;
  gap: 1.5rem
}

.g-2 {
  grid-template-columns: repeat(2, 1fr)
}

.g-3 {
  grid-template-columns: repeat(3, 1fr)
}

.g-4 {
  grid-template-columns: repeat(4, 1fr)
}

@media(max-width:860px) {

  .g-2,
  .g-3,
  .g-4 {
    grid-template-columns: 1fr
  }

  .g-3.compact {
    grid-template-columns: 1fr 1fr
  }
}

/* Cards */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(26, 60, 42, .12)
}

.card .icn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--sage);
  border-radius: 50%;
  color: var(--green-d);
  font-size: 1.2rem;
  margin-bottom: 1rem
}

.card h3 {
  margin-bottom: .4rem
}

/* Product card */
.prod {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s
}

.prod:hover {
  transform: translateY(-4px)
}

.prod-img {
  aspect-ratio: 4/3;
  background: var(--sage);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.prod-img .badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  background: rgba(255, 255, 255, .95);
  color: var(--green-d);
  font-size: .7rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600
}

.prod-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column
}

.prod h3 {
  margin-bottom: .4rem
}

.prod .price {
  font-family: var(--font-heading), serif;
  font-size: 1.6rem;
  color: var(--apple);
  font-weight: 600;
  margin-top: .6rem
}

.prod .price small {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: .2rem
}

.prod p {
  flex: 1;
  font-size: .92rem;
  color: var(--muted)
}

/* Gallery */
.gal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem
}

@media(max-width:860px) {
  .gal {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:520px) {
  .gal {
    grid-template-columns: 1fr
  }
}

.gal a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  box-shadow: var(--shadow)
}

.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s
}

.gal a:hover img {
  transform: scale(1.05)
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center
}

@media(max-width:680px) {
  .stats {
    grid-template-columns: repeat(2, 1fr)
  }
}

.stat .n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--green);
  font-weight: 600;
  line-height: 1
}

.stat .l {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .4rem
}

/* About / split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center
}

@media(max-width:860px) {
  .split {
    grid-template-columns: 1fr
  }
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit: cover
}

/* Notice */
.notice {
  background: var(--gold);
  color: var(--green-d);
  text-align: center;
  padding: .8rem 1rem;
  font-size: .92rem;
  font-weight: 500
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 560px
}

.form label {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .3rem;
  font-weight: 500
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--sage);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  transition: border .2s
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--green)
}

.form textarea {
  min-height: 140px;
  resize: vertical
}

/* Footer */
.site-footer {
  background: #1f4630;
  color: #f4f1ea;
  padding: 4rem 0 1.5rem;
  margin-top: 4rem
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem
}

@media(max-width:860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:520px) {
  .footer-grid {
    grid-template-columns: 1fr
  }
}

.f-title {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: .6rem
}

.site-footer h4 {
  color: var(--sage);
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .8rem
}

.site-footer .muted {
  color: rgba(245, 240, 232, .7);
  font-size: .92rem
}

.site-footer a {
  color: var(--sage)
}

.site-footer a:hover {
  color: #fff
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, .12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(245, 240, 232, .6)
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

/* Mobile nav */
@media(max-width:860px) {
  .nav-toggle {
    display: block
  }

  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(45, 90, 61, .1);
    transform: translateY(-130%);
    transition: transform .3s
  }

  body.nav-open .nav-links {
    transform: none
  }
}

/* ===== Admin ===== */
body.admin {
  background: #f4f1ea;
  display: flex;
  min-height: 100vh
}

.admin-side {
  width: 240px;
  background: var(--green-d);
  color: var(--cream);
  padding: 1.5rem 1rem;
  flex-shrink: 0
}

.admin-brand {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #fff
}

.admin-side nav {
  display: flex;
  flex-direction: column;
  gap: .2rem
}

.admin-side nav a {
  color: rgba(245, 240, 232, .8);
  padding: .7rem 1rem;
  border-radius: 8px;
  font-size: .95rem
}

.admin-side nav a:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff
}

.admin-side nav a.on {
  background: var(--green);
  color: #fff
}

.admin-side nav a.logout {
  margin-top: 1rem;
  color: #f0a09a
}

.admin-main {
  flex: 1;
  padding: 2rem;
  overflow: auto
}

.admin-main h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem
}

.admin-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  margin-bottom: 1.5rem
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem
}

@media(max-width:860px) {
  .admin-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .admin-side {
    width: 200px
  }
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04)
}

.stat-card .n {
  font-family: var(--font-heading), serif;
  font-size: 2.4rem;
  color: var(--green-d);
  line-height: 1
}

.stat-card .l {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .3rem
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #2d5a3d;
  color: #f0f5ef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04)
}

table.admin-table th,
table.admin-table td {
  padding: .9rem 1rem;
  text-align: left;
  border-bottom: 1px solid #efeae0;
  font-size: .92rem;
  vertical-align: middle
}

table.admin-table th {
  background: #1a3528;
  font-weight: 600;
  color: #f4f1ea;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase
}

table.admin-table tr:last-child td {
  border-bottom: 0
}

table.admin-table img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px
}

.flash {
  padding: .9rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: .92rem
}

.flash.ok {
  background: #d8ebd9;
  color: #1a3c2a
}

.flash.err {
  background: #f5d5d0;
  color: #7a1f15
}

.btn-danger {
  background: #b03a2e
}

.btn-danger:hover {
  background: #7a1f15
}

.inline-form {
  display: inline
}

.row-actions {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap
}

.row-actions .btn {
  padding: .4rem .8rem;
  font-size: .8rem
}

.unread {
  background: #fff8e1
}

/* Login */
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cream), var(--sage));
  padding: 1rem
}

.login-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px
}

.login-card h1 {
  font-size: 1.8rem;
  margin-bottom: .3rem
}

.login-card p {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.5rem
}

/* ============================================================
   v2 ADDITIONS — Dark mode, FAB, cookie banner, honeypot, etc.
   ============================================================ */

/* Smooth theme transition */
body,
.site-header,
.card,
.prod,
.stat-card,
.admin-card,
.admin-side,
.login-card {
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

/* Dark theme */
html[data-theme="dark"] {
  --cream: #13181a;
  --cream-2: #1a2024;
  --sage: #1f2a25;
  --sage-2: #2f4239;
  --green: #6db87d;
  --green-d: #90d4a0;
  --ink: #dde8db;
  --muted: #8fa892;
  --apple: #e88a7a;
  --gold: #d8bf6c;
  --shadow: 0 8px 30px rgba(0, 0, 0, .45);
}

html[data-theme="dark"] body {
  background: #13181a;
  color: #dde8db
}

html[data-theme="dark"] .site-header {
  background: rgba(15, 20, 22, .95);
  border-bottom-color: rgba(109, 184, 125, .15)
}

html[data-theme="dark"] .nav-links a {
  color: #dde8db
}

html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links a.active {
  color: #90d4a0
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .prod,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .admin-card,
html[data-theme="dark"] .login-card {
  background: #1c2326;
  color: #dde8db;
  border-color: #2a3531
}

html[data-theme="dark"] .bg-sage {
  background: #1a2420
}

html[data-theme="dark"] .bg-green {
  background: #0d1715
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background: #0f1416;
  color: #dde8db;
  border-color: #2e3d38
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #5a706a
}

html[data-theme="dark"] .hero::before {
  opacity: .18
}

html[data-theme="dark"] .hero::after {
  background: linear-gradient(180deg, transparent 0%, #13181a 100%)
}

html[data-theme="dark"] .btn-ghost {
  color: #90d4a0;
  border-color: #90d4a0
}

html[data-theme="dark"] .btn-ghost:hover {
  background: #90d4a0;
  color: #0d1715
}

html[data-theme="dark"] .btn {
  background: #2f4239;
  color: #dde8db
}

html[data-theme="dark"] .btn:hover {
  background: #6db87d;
  color: #0d1715
}

html[data-theme="dark"] .btn-sm {
  background: #2f4239;
  color: #dde8db
}

html[data-theme="dark"] .notice {
  background: #1e3028;
  color: #dde8db;
  border-color: #2f4a38
}

html[data-theme="dark"] .flash.ok {
  background: #1a3825;
  color: #7de0a0;
  border-color: #2a5038
}

html[data-theme="dark"] .flash.err {
  background: #2d1818;
  color: #f8a09a;
  border-color: #4a2020
}

html[data-theme="dark"] section {
  background: transparent
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4 {
  color: #90d4a0
}

html[data-theme="dark"] a {
  color: #6db87d
}

html[data-theme="dark"] a:hover {
  color: #e88a7a
}

html[data-theme="dark"] .muted {
  color: #8fa892
}

html[data-theme="dark"] p {
  color: #dde8db
}

html[data-theme="dark"] label {
  color: #c8dac8
}

html[data-theme="dark"] .form label {
  color: #c8dac8
}

html[data-theme="dark"] .admin-side {
  background: #0f1a15;
  border-right: 1px solid #1e3028
}

html[data-theme="dark"] .admin-side a {
  color: #9abfa2
}

html[data-theme="dark"] .admin-side a:hover,
html[data-theme="dark"] .admin-side a.on {
  background: #1e3028;
  color: #90d4a0
}

html[data-theme="dark"] .admin-main {
  background: #13181a
}

html[data-theme="dark"] .fab-whatsapp {
  background: #1a3c2a;
  color:#d8ebd9
}

html[data-theme="dark"] .hero-eyebrow {
  background: #1318
}

/* Theme toggle button */
.theme-toggle {
  background: transparent;
  border: 1.5px solid rgba(45, 90, 61, .25);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: .95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: inherit
}

.theme-toggle:hover {
  border-color: var(--green)
}

.theme-toggle .t-moon {
  display: none
}

.theme-toggle .t-sun {
  display: inline
}

html[data-theme="dark"] .theme-toggle .t-moon {
  display: inline
}

html[data-theme="dark"] .theme-toggle .t-sun {
  display: none
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(144, 212, 160, .35);
  color: #90d4a0
}

/* Honeypot — hide from humans, keep visible to bots */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none
}

/* Floating WhatsApp button */
.fab-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  z-index: 60;
  transition: transform .2s
}

.fab-whatsapp:hover {
  transform: scale(1.06);
  color: #fff;
  background: #1ebe5a;
}

/* Nav WhatsApp button */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: #25D366;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-wa:hover {
  background: #1ebe5c;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}
.btn-wa svg {
  flex-shrink: 0;
}
[data-theme="dark"] .btn-wa {
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.15);
}
[data-theme="dark"] .btn-wa:hover {
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

/* Subscribe form */
.subscribe-form {
  display: flex;
  gap: .5rem;
  margin-top: .5rem
}

.subscribe-form input {
  flex: 1;
  padding: .55rem .75rem;
  border: 1px solid rgba(45, 90, 61, .25);
  border-radius: 999px;
  background: #fff;
  font: inherit
}

/* Testimonials */
.tcard {
  background: #fff;
  padding: 1.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow)
}

.tcard .quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 1rem
}

.tcard .stars {
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: .4rem
}

.tcard .who {
  font-size: .85rem;
  color: var(--muted)
}

html[data-theme="dark"] .tcard {
  background: #1c2326
}

/* Blog */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem
}

@media(max-width:860px) {
  .post-grid {
    grid-template-columns: 1fr
  }
}

.post-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(26, 60, 42, .12)
}

.post-card .ph {
  aspect-ratio: 16/10;
  background: #eee;
  overflow: hidden;
}
.post-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card .pb {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1
}

.post-card h3 {
  margin: 0
}

.post-card .meta {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted)
}

html[data-theme="dark"] .post-card {
  background: #1c2326
}

.article {
  max-width: 760px;
  margin: 0 auto
}

.article h1 {
  margin-bottom: .4rem
}

.article .meta {
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 2rem
}

.article .cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem
}

.article p {
  font-size: 1.08rem;
  line-height: 1.8
}

/* FAQ */
.faq details {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow);
  margin-bottom: .8rem
}

.faq details[open] {
  outline: 1px solid rgba(45, 90, 61, .15)
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--green-d);
  list-style: none
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary::after {
  content: "+";
  float: right;
  font-size: 1.4rem;
  color: var(--green);
  transition: transform .2s
}

.faq details[open] summary::after {
  content: "−"
}

.faq p {
  margin-top: .8rem;
  color: var(--ink)
}

html[data-theme="dark"] .faq details {
  background: #1c2326
}

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8
}

.legal h2 {
  margin-top: 2rem
}

/* Mobile nav: keep theme toggle inline */
@media(max-width:860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(45, 90, 61, .1)
  }

  body.nav-open .nav-links {
    display: flex
  }

  .nav-toggle {
    display: inline-block
  }
}

/* ====== Newsletter strip (footer) ====== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.newsletter {
  background: linear-gradient(135deg, var(--green-d, #1f4630) 0%, var(--green, #2d5a3d) 100%);
  color: #fff;
  padding: 3rem 0;
  margin-top: 3rem;
  position: relative;
  overflow: hidden
}

.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, .08), transparent 50%);
  pointer-events: none
}

.nl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative
}

.nl-copy h3 {
  color: #fff;
  font-size: 1.6rem;
  margin: .3rem 0 .5rem;
  line-height: 1.2
}

.nl-copy .section-eyebrow {
  color: rgba(255, 255, 255, .75)
}

.nl-copy .muted {
  color: rgba(255, 255, 255, .8)
}

.nl-form {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  align-items: center;
  background: rgba(255, 255, 255, .08);
  padding: .5rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .15)
}

.nl-form input[type=email] {
  flex: 1;
  min-width: 200px;
  padding: .85rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  color: var(--ink, #1a1a1a);
  outline: none
}

.nl-form input[type=email]:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .35)
}

.nl-form .btn {
  background: var(--apple, #c8392a);
  color: #fff;
  border: 0;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap
}

.nl-form .btn:hover {
  filter: brightness(1.08)
}

.nl-msg {
  flex-basis: 100%;
  padding: .4rem .8rem;
  font-weight: 500
}

.nl-msg.ok {
  color: #a7f3d0
}

.nl-msg.err {
  color: #fecaca
}

@media(max-width:760px) {
  .nl-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }

  .nl-form {
    flex-direction: column;
    border-radius: 14px;
    padding: 1rem
  }

  .nl-form input[type=email],
  .nl-form .btn {
    width: 100%
  }
}

html[data-theme="dark"] .newsletter {
  background: linear-gradient(135deg, #0d2018 0%, #1a3528 100%)
}

@media(max-width:760px) {}

/* ============ E-COMMERCE (v5) ============ */
.nav-cart {
  position: relative;
  font-size: 1.3rem;
  text-decoration: none;
  padding: .2rem .5rem
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--apple);
  color: #fff;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-family: Inter, sans-serif
}

.nav-pill {
  display: inline-block;
  background: var(--apple);
  color: #fff;
  border-radius: 999px;
  font-size: .7rem;
  padding: 1px 7px;
  margin-left: 4px
}

/* Category tabs */
.cat-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.5rem;
  justify-content: center
}

.cat-tab {
  padding: .5rem 1.2rem;
  border: 1px solid rgba(45, 90, 61, .2);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  font-weight: 500
}

.cat-tab.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green)
}

/* Product detail */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1rem
}

@media(max-width:860px) {
  .pdp {
    grid-template-columns: 1fr
  }
}

.pdp-img {
  aspect-ratio: 1/1;
  background: var(--sage);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pdp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdp-img .badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #fff;
  color: var(--green);
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600
}

.pdp-body h1 {
  font-family: 'Cormorant Garamond', serif
}

.pdp-price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--green-d);
  margin: 1rem 0
}

.pdp-price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400
}

.pdp .lbl {
  display: block;
  font-weight: 600;
  margin: 1.2rem 0 .4rem;
  color: var(--green-d)
}

.pdp-variants {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .4rem
}

.variant-pill {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(45, 90, 61, .25);
  padding: .6rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  background: #fff;
  transition: all .2s
}

.variant-pill:has(input:checked) {
  background: var(--green);
  color: #fff;
  border-color: var(--green)
}

.variant-pill input {
  display: none
}

.variant-pill.is-oos {
  opacity: .5
}

.variant-pill small {
  font-size: .7rem;
  color: #c00
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border: 1px solid rgba(45, 90, 61, .2);
  border-radius: 999px;
  padding: .2rem
}

.qty-stepper button {
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--green)
}

.qty-stepper input {
  width: 50px;
  text-align: center;
  border: 0;
  background: transparent;
  font-weight: 600;
  font-size: 1rem
}

.pdp-stock {
  margin: 1rem 0
}

.stock-ok {
  color: #16a34a;
  font-weight: 600
}

.stock-no {
  color: #c00;
  font-weight: 600
}

.pdp-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: 1rem
}

.pdp-tabs {
  margin-top: 2rem
}

.pdp-tabs details {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  margin-bottom: .6rem
}

.pdp-tabs summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--green-d)
}

/* Cart */
.cart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem
}

@media(max-width:860px) {
  .cart-grid {
    grid-template-columns: 1fr
  }
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow)
}

.cart-table th,
.cart-table td {
  padding: .8rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  vertical-align: middle
}

.cart-table th {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  font-weight: 600
}

.cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--sage);
  background-size: cover;
  background-position: center
}

.qty-form input {
  width: 60px;
  padding: .3rem;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 6px;
  text-align: center
}

.cart-summary {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 1rem;
  align-self: start
}

.cart-summary h3 {
  margin: 0 0 1rem;
  color: var(--green-d)
}

.sum-line {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, .07)
}

.sum-line.ok {
  color: #16a34a
}

.sum-line.total {
  border-top: 2px solid var(--green);
  border-bottom: 0;
  margin-top: .5rem;
  padding-top: .7rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-d)
}

.sum-item {
  display: flex;
  justify-content: space-between;
  padding: .4rem 0;
  font-size: .9rem;
  border-bottom: 1px dashed rgba(0, 0, 0, .05)
}

.coupon-form {
  display: flex;
  gap: .4rem;
  margin: 1rem 0;
  align-items: stretch
}

.coupon-form input {
  flex: 1;
  padding: .5rem;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 6px
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 1rem
}

.empty-cart {
  text-align: center;
  padding: 4rem 1rem
}

.empty-cart h2 {
  margin: 1rem 0
}

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: start
}

@media(max-width:860px) {
  .checkout-grid {
    grid-template-columns: 1fr
  }
}

.checkout-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

@media(max-width:600px) {
  .checkout-form .row2 {
    grid-template-columns: 1fr
  }
}

.form .row2,
.admin-card .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

@media(max-width:600px) {

  .form .row2,
  .admin-card .row2 {
    grid-template-columns: 1fr
  }
}

.checkout-pay {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 560px;
  margin: 2rem auto
}

/* Order confirmation */
.order-success {
  text-align: center;
  padding: 2rem 0
}

.order-success .check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem
}

.order-no {
  font-family: var(--font-heading), serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--green-d);
  background: var(--sage);
  display: inline-block;
  padding: .4rem 1.2rem;
  border-radius: 8px;
  margin: .4rem 0 1rem;
  letter-spacing: .05em
}

.order-failed {
  padding: 2rem 0
}

.order-failed .cross {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem
}

/* Track timeline */
.track-timeline {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: .6rem
}

.track-timeline li {
  padding: .5rem 1rem;
  border-radius: 8px;
  background: #f5f5f5;
  color: #999
}

.track-timeline li.done {
  background: var(--sage);
  color: var(--green-d);
  font-weight: 600
}

.track-timeline li span {
  display: inline-block;
  width: 24px;
  text-align: center;
  margin-right: .5rem
}

/* Admin order badges */
.ord-badge {
  display: inline-block;
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  font-family: Inter, sans-serif
}

.admin-cols2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem
}

@media(max-width:860px) {
  .admin-cols2 {
    grid-template-columns: 1fr
  }
}

html[data-theme="dark"] .cart-table,
html[data-theme="dark"] .cart-summary,
html[data-theme="dark"] .checkout-pay,
html[data-theme="dark"] .pdp-tabs details {
  background: #1c2326;
  color: #dde8db
}

html[data-theme="dark"] .cat-tab {
  background: #1c2326;
  color: #dde8db;
  border-color: #2e3d38
}

html[data-theme="dark"] .cat-tab.active {
  background: #2f4239;
  color: #90d4a0;
  border-color: #3a5545
}

html[data-theme="dark"] .cart-table th,
.cart-table td {
  border-bottom-color: rgba(255, 255, 255, .06)
}

html[data-theme="dark"] .cart-thumb {
  background: #1a2820
}

html[data-theme="dark"] .sum-line {
  border-bottom-color: rgba(255, 255, 255, .06);
  color: #dde8db
}

html[data-theme="dark"] .sum-line.total {
  border-top-color: #2f4239;
  color: #90d4a0
}

html[data-theme="dark"] .coupon-form input {
  background: #0f1416;
  color: #dde8db;
  border-color: #2e3d38
}

html[data-theme="dark"] .variant-pill {
  background: #1c2326;
  border-color: #2e3d38;
  color: #dde8db
}

html[data-theme="dark"] .variant-pill:has(input:checked) {
  background: #2f4239;
  color: #90d4a0;
  border-color: #3a5545
}

html[data-theme="dark"] .pdp-img .badge {
  background: #1c2326;
  color: #90d4a0
}

html[data-theme="dark"] .pdp-price {
  color: #90d4a0
}

html[data-theme="dark"] .order-no {
  background: #1e3028;
  color: #7de0a0
}

html[data-theme="dark"] .track-timeline li {
  background: #1a2420;
  color: #8fa892
}

html[data-theme="dark"] .track-timeline li.done {
  background: #1e3028;
  color: #7de0a0
}

html[data-theme="dark"] .faq details {
  background: #1c2326;
  border-color: #2e3d38
}

html[data-theme="dark"] .faq summary {
  color: #90d4a0
}

html[data-theme="dark"] .tcard {
  background: #1c2326
}

html[data-theme="dark"] .tcard .quote {
  color: #dde8db
}

html[data-theme="dark"] .post-card {
  background: #1c2326
}

html[data-theme="dark"] .post-card h3 {
  color: #90d4a0
}

/* ============ FARM STAY (v7) ============ */
.fs-unit-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column
}

.fs-unit-img {
  height: 220px;
  background: var(--sage) center/cover;
  display: flex;
  align-items: center;
  justify-content: center
}

.fs-unit-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column
}

.fs-badge {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  background: var(--sage);
  color: var(--green-d);
  margin-right: .3rem;
  margin-bottom: .3rem
}

.fs-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-d)
}

.fs-price small {
  font-size: .85rem;
  font-weight: 400;
  color: var(--muted)
}

.fs-nights-box {
  background: var(--sage);
  padding: .6rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  margin: .8rem 0
}

html[data-theme="dark"] .fs-unit-card {
  background: #1c2326
}

html[data-theme="dark"] .fs-badge {
  background: #1e3028;
  color: #7de0a0
}

html[data-theme="dark"] .fs-nights-box {
  background: #1e3028;
  color: #dde8db
}

html[data-theme="dark"] .fs-price {
  color: #90d4a0
}

/* Admin farmstay specifics */
.admin-side hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin: .5rem 0
}



/* ─── Reviews ─── */
.star-rating {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: .05rem
}

.star-empty {
  color: #d1d5db
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  margin-bottom: 1rem
}

.review-admin-reply {
  background: var(--sage-1, #f0f5ef);
  border-left: 3px solid var(--green, #2d5a3d);
  border-radius: 6px;
  padding: .5rem .8rem;
  margin-top: .6rem;
  font-size: .88rem
}

/* ─── Farmstay GST table ─── */
.price-breakdown td {
  padding: .2rem .4rem;
  font-size: .85rem;
  color: var(--muted)
}

.price-breakdown tr:last-child td {
  border-top: 1px solid #e5e7eb;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text)
}