:root {
  --forest: #1a3a2f;
  --forest-mid: #2a5343;
  --forest-soft: #3d6b57;
  --honey: #c9a24a;
  --honey-light: #e2c97a;
  --ivory: #f6f3ec;
  --ivory-deep: #ebe6db;
  --ink: #1a1f1c;
  --muted: #5c675f;
  --line: rgba(26, 58, 47, 0.12);
  --white: #ffffff;
  --danger: #9b2c2c;
  --ok: #1f6b4a;
  --shadow: 0 20px 50px rgba(26, 58, 47, 0.12);
  --radius: 4px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", sans-serif;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse at top left, rgba(201, 162, 74, 0.08), transparent 40%),
    radial-gradient(ellipse at bottom right, rgba(42, 83, 67, 0.08), transparent 45%),
    linear-gradient(180deg, #f8f5ef 0%, #f3efe6 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled,
.site-header.solid {
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(26, 58, 47, 0.08);
}

.site-header.transparent:not(.is-scrolled) {
  background: transparent;
  color: var(--white);
}

.header-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  position: relative;
  opacity: 0.9;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.85rem;
}

.cart-badge {
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: var(--honey);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 28, 22, 0.78) 0%, rgba(14, 28, 22, 0.45) 48%, rgba(14, 28, 22, 0.25) 100%),
    linear-gradient(180deg, rgba(14, 28, 22, 0.35) 0%, rgba(14, 28, 22, 0.15) 40%, rgba(14, 28, 22, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  max-width: 680px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  animation: fadeUp 1s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 500;
  margin: 0 0 1rem;
  line-height: 1.15;
  animation: fadeUp 1s ease 0.15s both;
}

.hero p {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  max-width: 34rem;
  opacity: 0.92;
  animation: fadeUp 1s ease 0.3s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fadeUp 1s ease 0.45s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--honey);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--honey-light);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-forest {
  background: var(--forest);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-soft);
  margin-bottom: 0.75rem;
}

.section-head h2,
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: var(--forest);
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.product-spotlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.product-visual {
  position: relative;
}

.product-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.product-meta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.5rem;
  color: var(--forest);
  line-height: 1.1;
}

.product-meta .subtitle {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--forest);
  font-weight: 600;
}

.compare {
  color: var(--muted);
  text-decoration: line-through;
}

.discount {
  color: var(--ok);
  font-weight: 700;
  font-size: 0.9rem;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.65rem;
}

.benefit-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink);
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--honey);
}

.qty-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.qty-form input[type="number"] {
  width: 84px;
  height: 52px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  text-align: center;
  padding: 0 0.5rem;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.gallery-strip button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
  opacity: 0.75;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-strip button:hover,
.gallery-strip button.active {
  opacity: 1;
  transform: translateY(-2px);
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.story-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}

.feature-band {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.feature-band::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(201, 162, 74, 0.15);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.feature-item p {
  margin: 0;
  opacity: 0.85;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 0.85rem;
}

.mosaic figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.mosaic figure:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic figure:nth-child(4) {
  grid-column: span 2;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.mosaic figure:hover img {
  transform: scale(1.06);
}

.mosaic figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(14, 28, 22, 0.8));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.usage-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--honey);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--forest);
}

.step p {
  margin: 0;
  color: var(--muted);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: var(--ivory-deep);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 2px;
}

.cta-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
}

.site-footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.88);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.footer-grid h4 {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey-light);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-grid a:hover {
  color: var(--honey-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  opacity: 0.75;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 120;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.alert {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
}

.alert-success {
  background: rgba(31, 107, 74, 0.1);
  color: var(--ok);
}

.alert-error {
  background: rgba(155, 44, 44, 0.1);
  color: var(--danger);
}

.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--forest);
  margin: 0;
}

.cart-table,
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td,
.admin-table th,
.admin-table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.cart-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 2px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.summary-box {
  background: var(--ivory-deep);
  padding: 1.5rem;
  border-radius: 2px;
  height: fit-content;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: calc(var(--header-h) + 2rem);
}

.detail-tabs {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.detail-block {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.detail-block h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--forest);
  margin: 0 0 0.75rem;
}

.detail-block p,
.detail-block pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
  color: var(--muted);
}

.admin-body {
  background: #eef1ee;
  min-height: 100vh;
}

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-side {
  background: var(--forest);
  color: white;
  padding: 1.5rem 1rem;
}

.admin-side a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.25rem;
  opacity: 0.85;
}

.admin-side a:hover,
.admin-side a.active {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.admin-main {
  padding: 1.5rem;
}

.admin-card {
  background: white;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  margin-bottom: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat h3 {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.stat p {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--forest);
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(26, 58, 47, 0.92), rgba(26, 58, 47, 0.75)),
    url("../images/products/product-09-banner.jpg") center/cover;
}

.login-box {
  width: min(420px, 100%);
  background: var(--ivory);
  padding: 2rem;
  border-radius: 8px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.12);
  }
}

@media (max-width: 960px) {
  .product-spotlight,
  .story-grid,
  .feature-grid,
  .usage-steps,
  .cta-panel,
  .footer-grid,
  .checkout-layout,
  .product-detail-layout,
  .admin-shell,
  .stats,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }

  .mosaic figure:nth-child(1),
  .mosaic figure:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(246, 243, 236, 0.98);
    color: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    box-shadow: var(--shadow);
  }

  .nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .gallery-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding-bottom: 3.5rem;
  }

  .gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
