:root {
  --ink: #1a1f14;
  --ink-soft: #3a4232;
  --paper: #f2f5ec;
  --paper-dim: #e0e6d4;
  --mist: #b4bda8;
  --accent: #7bac41;
  --accent-deep: #5f8a2f;
  --on-accent: #f7fbf0;
  --shadow: 0 24px 60px rgba(26, 31, 20, 0.28);
  --radius: 2px;
  --max: 1120px;
  --header-h: 4.25rem;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 580px at 8% -12%, rgba(123, 172, 65, 0.18), transparent 55%),
    radial-gradient(900px 520px at 100% 0%, rgba(26, 31, 20, 0.05), transparent 48%),
    linear-gradient(180deg, #e6ecd9 0%, var(--paper) 42%, #eaf0e0 100%);
  line-height: 1.55;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(242, 245, 236, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 31, 20, 0.08);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.quote-btn {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.quote-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--paper);
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media .media-zoom {
  position: absolute;
  inset: 0;
}

.hero-media .placeholder-hero {
  width: 100%;
  height: 100%;
  min-height: 100%;
  font-size: clamp(1.2rem, 3vw, 2rem);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 31, 20, 0.25) 0%, rgba(26, 31, 20, 0.55) 48%, rgba(26, 31, 20, 0.9) 100%),
    linear-gradient(90deg, rgba(26, 31, 20, 0.45) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  animation: riseIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-mark {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0.9rem 0 0;
  max-width: 32ch;
  font-size: 1.05rem;
  color: rgba(242, 245, 236, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-deep);
}

.btn-ghost {
  border: 1px solid rgba(242, 245, 236, 0.45);
  color: var(--paper);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--paper);
  background: rgba(242, 245, 236, 0.08);
}

.catalog,
.spotlight,
.store,
.about,
.carousel-section {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.catalog {
  padding: 5rem 0 3.5rem;
}

.section-head {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
  animation: riseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

.section-head h2,
.spotlight-copy h2,
.store h2,
.about h2,
.quote-head h2,
.dialog-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.section-head p,
.spotlight-copy p,
.store p,
.about-copy p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42ch;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.filter {
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(18, 20, 15, 0.14);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter:hover,
.filter:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}

.product-card {
  display: grid;
  gap: 0.7rem;
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.product-card.is-hidden {
  display: none;
}

.product-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: clip;
  background: var(--paper-dim);
  padding: 0;
  text-align: left;
}

.product-media .placeholder {
  width: 100%;
  height: 100%;
}

.media-zoom {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.media-zoom .placeholder,
.media-zoom img {
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.product-media:hover .media-zoom .placeholder,
.product-media:focus-visible .media-zoom .placeholder,
.spotlight-visual:hover .media-zoom .placeholder,
.about-visual:hover .media-zoom .placeholder,
.carousel-slide:hover .media-zoom .placeholder,
.hero-media:hover .media-zoom .placeholder,
.placeholder-dialog-wrap:hover .placeholder {
  transform: scale(1.06);
}

.placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(145deg, rgba(123, 172, 65, 0.18), transparent 55%),
    var(--paper-dim);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.placeholder-thumb {
  width: 64px;
  height: 80px;
  font-size: 0.55rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.25rem;
}

.placeholder-dialog {
  aspect-ratio: 4 / 5;
  min-height: 220px;
  font-size: 1rem;
}

.product-tag {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.28rem 0.55rem;
  background: rgba(242, 245, 236, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-selected-mark {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  padding: 0.28rem 0.55rem;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.product-card.is-selected .product-media {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.product-info {
  display: grid;
  gap: 0.2rem;
}

.product-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-meta {
  margin: 0;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--ink-soft) 80%, transparent);
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.product-price {
  font-weight: 700;
}

.btn-select {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(18, 20, 15, 0.2);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-select:hover,
.btn-select:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-select.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.btn-primary.is-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(20, 24, 22, 0.25);
}

.btn-primary.is-outline:hover,
.btn-primary.is-outline:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.spotlight {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0 4rem;
  align-items: center;
}

.spotlight-copy {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.spotlight-copy h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  max-width: 14ch;
}

.spotlight-visual {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-dim);
}

.spotlight-visual .media-zoom,
.spotlight-visual .placeholder {
  min-height: 100%;
}

.carousel-section {
  padding: 2.5rem 0 1rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  background: var(--paper-dim);
}

.carousel-track {
  position: relative;
  aspect-ratio: 16 / 9;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  margin: 0;
  padding: 0.4rem 0.7rem;
  background: rgba(242, 245, 236, 0.92);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.25rem 0;
}

.carousel-btn {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(26, 31, 20, 0.16);
  font-size: 1.4rem;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.carousel-dots {
  display: flex;
  gap: 0.45rem;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(26, 31, 20, 0.22);
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.about {
  padding: 3.5rem 0 1rem;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.about-copy {
  display: grid;
  gap: 0.85rem;
}

.about-visual {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-dim);
}

.store {
  padding: 3.5rem 0 5rem;
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  border-top: 1px solid rgba(18, 20, 15, 0.1);
}

.store h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
}

.store-details {
  display: grid;
  gap: 1.25rem;
  width: 100%;
}

.store-details h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.store-details p {
  margin: 0;
  max-width: none;
  line-height: 1.6;
}

.store-details a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.store-details a:hover,
.store-details a:focus-visible {
  color: var(--accent-deep);
}

.store-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-dim);
  border: 1px solid rgba(26, 31, 20, 0.1);
}

.store-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid rgba(18, 20, 15, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
}

.quote-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(18, 20, 15, 0.45);
}

.quote-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 60;
  width: min(100%, 380px);
  pointer-events: none;
}

.quote-panel {
  height: 100%;
  background: var(--paper);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-drawer.is-open {
  pointer-events: auto;
}

.quote-drawer.is-open .quote-panel {
  transform: translateX(0);
}

.quote-head,
.quote-foot {
  padding: 1.15rem 1.2rem;
  border-bottom: 1px solid rgba(18, 20, 15, 0.1);
}

.quote-foot {
  border-bottom: 0;
  border-top: 1px solid rgba(18, 20, 15, 0.1);
  display: grid;
  gap: 0.85rem;
}

.quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quote-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  overflow: auto;
}

.quote-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1.2rem;
}

.quote-item img,
.quote-item .placeholder-thumb {
  width: 64px;
  height: 80px;
  object-fit: cover;
  background: var(--paper-dim);
}

.quote-item h3 {
  margin: 0;
  font-size: 0.92rem;
  font-family: var(--font-display);
}

.quote-item p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.quote-remove {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.65;
}

.quote-remove:hover,
.quote-remove:focus-visible {
  opacity: 1;
}

.quote-summary {
  margin: 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.quote-empty {
  padding: 1.5rem 1.2rem;
  color: var(--ink-soft);
}

.whatsapp-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  z-index: 45;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(18, 20, 15, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(18, 20, 15, 0.32);
}

.whatsapp-fab svg {
  width: 1.7rem;
  height: 1.7rem;
}

.icon-close {
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.product-dialog {
  border: 0;
  padding: 0;
  max-width: min(920px, calc(100% - 2rem));
  width: 100%;
  background: transparent;
}

.product-dialog::backdrop {
  background: rgba(18, 20, 15, 0.55);
}

.dialog-inner {
  position: relative;
  background: var(--paper);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.dialog-inner > .icon-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  background: rgba(242, 245, 236, 0.9);
}

.dialog-grid {
  display: grid;
  gap: 1rem;
}

.dialog-grid .placeholder-dialog-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--paper-dim);
}

.dialog-grid .placeholder-dialog {
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.dialog-copy {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 0.25rem 0.25rem 0.75rem;
}

.dialog-tag {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.dialog-price {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
  }

  .spotlight {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
    padding: 3rem 0 5rem;
  }

  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }

  .store-details {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .dialog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .dialog-inner {
    padding: 0;
  }

  .dialog-copy {
    padding: 1.75rem 1.5rem 1.75rem 1.25rem;
  }
}

@media (min-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .product-card {
    opacity: 1;
    transform: none;
  }

  .media-zoom .placeholder,
  .media-zoom img {
    transform: none !important;
  }
}
