:root {
  --bg: #f3efe8;
  --bg-deep: #e8e1d6;
  --ink: #14241d;
  --ink-soft: #3d5348;
  --moss: #1c3d31;
  --moss-light: #2f5c49;
  --petal: #d4787a;
  --petal-deep: #b85a5d;
  --champagne: #c4a574;
  --white: #fffcf7;
  --line: rgba(20, 36, 29, 0.1);
  --shadow: 0 18px 50px rgba(20, 36, 29, 0.12);
  --radius: 1.25rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(212, 120, 122, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 165, 116, 0.2), transparent 50%),
    linear-gradient(180deg, #f7f2eb 0%, var(--bg) 40%, #ebe4d8 100%);
  min-height: 100vh;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.promo-bar {
  background: var(--moss);
  color: #f3e8d8;
  overflow: hidden;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.promo-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  padding: 0.55rem 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(243, 239, 232, 0.86);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.brand-logo {
  height: 65px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand-footer .brand-logo {
  height: 75px;
  max-width: 240px;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
}
.main-nav a, .nav-dropdown > button {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.main-nav a:hover, .nav-dropdown > button:hover { color: var(--moss); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.6rem;
  box-shadow: var(--shadow);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: grid; gap: 0.15rem; }
.nav-dropdown-menu a {
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
}
.nav-dropdown-menu a:hover { background: var(--bg-deep); }
.header-actions { display: flex; align-items: center; gap: 0.65rem; }
.icon-btn {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
}
.badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--petal);
  color: white;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  padding: 0 0.25rem;
}
.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.88rem; }
.btn-primary { background: var(--moss); color: #f6ecdc; }
.btn-primary:hover { background: var(--moss-light); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--white); }
.btn-whatsapp { background: #1f7a4d; color: white; }
.btn-accent { background: var(--petal); color: white; }
.btn-accent:hover { background: var(--petal-deep); }

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 28, 22, 0.25) 0%, rgba(12, 28, 22, 0.72) 100%);
}
.hero-content {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 4.5rem;
  color: #f8f1e6;
  animation: fadeUp 0.9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.9;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  font-weight: 600;
  max-width: 10ch;
}
.hero p {
  max-width: 36rem;
  font-size: 1.08rem;
  margin: 0 0 1.75rem;
  opacity: 0.92;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.section { padding: 4.5rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
  line-height: 1.1;
}
.section-head p { margin: 0.4rem 0 0; color: var(--ink-soft); max-width: 36rem; }

.cat-jump {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}
.cat-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
  animation: fadeUp 0.7s ease both;
}
.cat-chip:nth-child(2) { animation-delay: 0.05s; }
.cat-chip:nth-child(3) { animation-delay: 0.1s; }
.cat-chip:nth-child(4) { animation-delay: 0.15s; }
.cat-chip:hover { transform: translateY(-4px); }
.cat-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}
.cat-chip span { color: var(--ink-soft); font-size: 0.88rem; }

.promo-strip {
  margin: 3rem 0 0;
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 280px;
  background: var(--moss);
  color: #f6ecdc;
}
.promo-strip-copy { padding: 2.5rem; display: grid; align-content: center; gap: 0.8rem; }
.promo-strip-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
  line-height: 1.05;
}
.promo-strip-media {
  background-size: cover;
  background-position: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.product-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  display: block;
  background: var(--bg-deep);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-media img { transform: scale(1.06); }
.discount-badge, .tag-badge {
  position: absolute;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}
.discount-badge {
  top: 0.75rem;
  left: 0.75rem;
  background: var(--petal);
  color: white;
}
.tag-badge {
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255,252,247,0.92);
  color: var(--moss);
}
.product-body { padding: 1rem 1.05rem 1.15rem; }
.product-cat {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  color: var(--champagne);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  min-height: 2.6em;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.product-price strong { font-size: 1.1rem; }
.product-price s { color: var(--ink-soft); font-size: 0.9rem; }
.product-actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }

.seo-block {
  background: rgba(255, 252, 247, 0.7);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 2.5rem;
}
.seo-block h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0 0 1rem;
}
.seo-block h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 1.6rem 0 0.6rem;
}
.seo-block p, .seo-block li { color: var(--ink-soft); }
.seo-block ul { padding-left: 1.1rem; list-style: disc; }

.page-hero {
  padding: 3rem 0 1.5rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 0 0 0.5rem;
}
.page-hero p { margin: 0; color: var(--ink-soft); max-width: 40rem; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.toolbar select, .form-control {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0.85rem;
  padding: 0.8rem 1rem;
}
.form-grid {
  display: grid;
  gap: 1rem;
}
.form-grid.two { grid-template-columns: 1fr 1fr; }
label { display: grid; gap: 0.4rem; font-weight: 500; font-size: 0.92rem; }
textarea.form-control { min-height: 120px; resize: vertical; }

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.product-detail-media {
  border-radius: calc(var(--radius) + 0.3rem);
  overflow: hidden;
  background: var(--bg-deep);
  aspect-ratio: 1;
}
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 0.75rem;
  line-height: 1.05;
}
.qty-row { display: flex; gap: 0.75rem; align-items: center; margin: 1.25rem 0; }
.qty-row input { width: 5rem; text-align: center; }

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.cart-table th, .cart-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.cart-summary {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cart-item-info { display: flex; gap: 0.85rem; align-items: center; }
.cart-item-info img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 0.7rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
}
.info-card, .form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 1rem;
}

.flash {
  padding: 0.85rem 0;
  font-weight: 500;
}
.flash-success { background: #d8efe0; color: #144d2e; }
.flash-error { background: #f7d9d9; color: #7a1f1f; }

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  background: var(--moss);
  color: #f3e8d8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-links { display: grid; gap: 0.45rem; }
.footer-links a { opacity: 0.88; }
.footer-links a:hover { opacity: 1; }
.site-footer h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 0.8rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(243, 232, 216, 0.15);
  padding-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}
.brand-footer .brand-mark { background: #f3e8d8; color: var(--moss); }
.muted { opacity: 0.8; }

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  z-index: 60;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-jump { grid-template-columns: repeat(2, 1fr); }
  .promo-strip, .product-detail, .contact-grid, .footer-grid, .form-grid.two {
    grid-template-columns: 1fr;
  }
  .promo-strip-media { min-height: 180px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    gap: 0.75rem;
  }
  .main-nav.open { display: flex; }
  .header-inner { grid-template-columns: auto auto 1fr; }
  .header-actions { justify-self: end; }
  .nav-dropdown-menu { position: static; transform: none; box-shadow: none; border: 0; padding: 0.25rem 0 0.25rem 0.75rem; }
  .hero { min-height: 78vh; }
  .product-grid { grid-template-columns: 1fr; }
}
