:root {
  --bg: #f8f5ef;
  --bg-soft: #efe8dc;
  --surface: #ffffff;
  --surface-muted: #f5f0e8;
  --ink: #20342a;
  --text: #2d332f;
  --muted: #6e746f;
  --green: #24543a;
  --green-2: #34714f;
  --green-3: #dbeadf;
  --clay: #b86f45;
  --line: rgba(32, 52, 42, 0.12);
  --shadow: 0 18px 50px rgba(32, 52, 42, 0.12);
  --radius: 8px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
}

body.cart-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

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

code {
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(36, 84, 58, 0.09);
  color: var(--green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.brand-text span {
  color: var(--green-2);
}

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--green);
}

.icon-button,
.cart-button,
.button {
  border: 0;
  cursor: pointer;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-3);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  gap: 4px;
  align-content: center;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.cart-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: 1.2rem;
  line-height: 1;
}

.cart-count {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 42px;
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  line-height: 0.92;
  max-width: 760px;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1;
}

.hero-text {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.primary:hover {
  background: var(--ink);
}

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

.button.subtle {
  background: var(--surface-muted);
  color: var(--green);
}

.button.small {
  min-height: 40px;
  padding: 0 14px;
  background: var(--green);
  color: #fff;
  font-size: 0.9rem;
}

.button.full {
  width: 100%;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics span {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 130px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-metrics strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.hero-showcase {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: 1fr 0.78fr;
  gap: 12px;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-3);
  box-shadow: var(--shadow);
}

.showcase-card.tall {
  grid-row: 1 / span 2;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card.dark {
  display: flex;
  align-items: end;
  padding: 24px;
  background: linear-gradient(145deg, #20342a, #34714f);
  color: #fff;
}

.showcase-card.dark p {
  margin: 0;
  max-width: 260px;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 800;
}

.trust-strip,
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-strip div {
  min-height: 110px;
  padding: 22px;
  background: var(--surface);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  color: var(--ink);
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 86px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.shop-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px;
  margin-bottom: 18px;
}

.search-box,
.select-box {
  display: grid;
  gap: 8px;
}

.search-box span,
.select-box span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-box input,
.select-box select {
  min-height: 50px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

.search-box input:focus,
.select-box select:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 4px rgba(52, 113, 79, 0.12);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.category-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.category-tabs button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.catalog-status {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(32, 52, 42, 0.07);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--green-3), var(--bg-soft));
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media img.is-hidden {
  display: none;
}

.stock-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-body {
  padding: 18px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--green-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-body h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.25;
}

.product-description,
.product-care {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.product-description {
  min-height: 58px;
  margin-bottom: 10px;
}

.product-care {
  min-height: 44px;
  margin-bottom: 18px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  color: var(--ink);
  font-size: 1.08rem;
}

.service-section {
  border-top: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-grid article,
.care-list div,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-grid article {
  padding: 24px;
}

.service-grid span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--clay);
  font-weight: 900;
}

.service-grid h3 {
  color: var(--ink);
}

.service-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.care-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.care-copy p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.care-list {
  display: grid;
  gap: 12px;
}

.care-list div {
  padding: 18px;
}

.care-list strong,
.care-list span {
  display: block;
}

.care-list strong {
  margin-bottom: 6px;
  color: var(--ink);
}

.care-list span {
  color: var(--muted);
  line-height: 1.5;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-section p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-panel {
  padding: 22px;
}

.contact-panel p {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

.contact-panel strong {
  color: var(--ink);
}

.contact-panel a {
  color: var(--green);
  font-weight: 800;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 26, 22, 0.46);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cart-drawer.open .cart-backdrop {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

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

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;
  font-size: 2.2rem;
}

.cart-body {
  overflow-y: auto;
  padding: 18px 22px;
}

.cart-items {
  padding-bottom: 12px;
}

.empty-cart {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--muted);
  line-height: 1.55;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-form {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.checkout-form h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.checkout-form label {
  display: grid;
  gap: 7px;
}

.checkout-form span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  padding: 11px 12px;
  outline: none;
}

.checkout-form textarea {
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 4px rgba(52, 113, 79, 0.12);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cart-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--green-3);
}

.cart-item h3 {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.98rem;
}

.cart-item p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.qty-control button {
  width: 32px;
  height: 30px;
  border: 0;
  background: var(--surface-muted);
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
}

.qty-control span {
  min-width: 34px;
  text-align: center;
  font-weight: 900;
}

.remove-item {
  border: 0;
  background: transparent;
  color: var(--clay);
  cursor: pointer;
  font-weight: 900;
}

.cart-summary {
  padding: 22px;
  border-top: 1px solid var(--line);
  background: var(--surface-muted);
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--ink);
}

.summary-line strong {
  font-size: 1.35rem;
}

.cart-summary p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cart-summary .button + .button {
  margin-top: 10px;
}

.button.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.is-hidden {
  display: none !important;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 900;
}

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

  .menu-toggle {
    display: inline-grid;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 440px;
  }

  .product-grid,
  .service-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .care-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    width: min(100% - 24px, 1180px);
    gap: 10px;
  }

  .brand-mark {
    display: none;
  }

  .brand-text {
    font-size: 1.45rem;
  }

  .cart-label {
    display: none;
  }

  .hero,
  .trust-strip,
  .section {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 34px;
    gap: 28px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-showcase {
    min-height: 360px;
    grid-template-columns: 1fr 1fr;
  }

  .shop-tools,
  .product-grid,
  .service-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .product-description,
  .product-care {
    min-height: 0;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 46px;
    padding: 0 14px;
  }
}
