:root {
  --background: #fbf7f0;
  --surface: #fffdf9;
  --surface-soft: #f0e9df;
  --foreground: #362920;
  --muted: #836f62;
  --primary: #c56c4d;
  --primary-dark: #a4573d;
  --secondary: #e7beb8;
  --rose: #f1d9d4;
  --sage: #8da781;
  --border: #e7dbcf;
  --whatsapp: #24d366;
  --shadow-soft: 0 12px 34px rgba(88, 55, 35, 0.11);
  --shadow-card: 0 18px 46px rgba(88, 55, 35, 0.16);
  --radius: 18px;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='48' viewBox='0 0 84 48'%3E%3Cg fill='none' stroke='%23b88a6a' stroke-opacity='.11' stroke-width='1.2'%3E%3Cpath d='M0 12Q10.5 4 21 12t21 0t21 0t21 0'/%3E%3Cpath d='M0 28Q10.5 20 21 28t21 0t21 0t21 0'/%3E%3Cpath d='M0 44Q10.5 36 21 44t21 0t21 0t21 0'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--foreground);
  background: var(--background) var(--wave);
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
}

body.drawer-open { overflow: hidden; }

img, svg { display: block; }

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

button, input { font: inherit; }

button { cursor: pointer; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 78px;
  padding: 12px clamp(16px, 6vw, 96px);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 252, 247, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  white-space: nowrap;
}

.brand strong { color: var(--primary); }

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: var(--rose);
}

.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark img {
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  color: #5f5147;
  font-weight: 700;
}

.main-nav a {
  border-radius: 999px;
  padding: 8px 2px;
  transition: color .25s ease, transform .25s ease;
}

.main-nav a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.cart-button, .icon-button, .menu-toggle {
  border: 0;
  color: var(--foreground);
  background: var(--surface-soft);
}

.cart-button {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
}

.cart-button svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 24px;
  height: 24px;
  padding-inline: 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: .8rem;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 78px));
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image, .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { object-fit: cover; }

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251,247,240,.97) 0%, rgba(251,247,240,.79) 44%, rgba(251,247,240,.6) 100%),
    linear-gradient(180deg, rgba(251,247,240,.25) 0%, rgba(251,247,240,.95) 100%);
}

.hero-content {
  position: relative;
  padding-block: 110px 90px;
}

.chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 16px;
  background: rgba(231, 190, 184, .75);
  color: #5d443a;
  font-size: .9rem;
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 24px;
  max-width: 740px;
  font-size: clamp(4rem, 10vw, 7.2rem);
}

.hero h1 span { color: var(--primary); }

.hero p {
  max-width: 680px;
  margin: 26px 0 0;
  color: #67584f;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 26px;
  border: 2px solid transparent;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 14px 28px rgba(197, 108, 77, .24);
}

.btn.primary:hover { background: var(--primary-dark); }

.btn.outline {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 253, 249, .42);
}

.btn.outline:hover {
  background: var(--primary);
  color: white;
}

.btn.full { width: 100%; }

.section { padding: clamp(64px, 9vw, 112px) 0; }

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

.section-heading.center {
  justify-items: center;
  text-align: center;
}

.section-heading.left { justify-items: start; }

.section-heading h2 {
  font-size: clamp(2.35rem, 5vw, 4.1rem);
}

.section-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.filter-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  background: var(--surface-soft);
  color: var(--foreground);
  font-weight: 800;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

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

.filter-button.active {
  background: var(--primary);
  color: white;
}

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

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(231, 219, 207, .72);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.product-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(197, 108, 77, .3), var(--shadow-card);
}

.product-media {
  position: relative;
  order: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-soft);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.product-card:hover .product-media img { transform: scale(1.06); }

.product-category {
  position: absolute;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 82px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(255, 253, 249, .88);
  color: #5c4b42;
  font-size: .86rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.select-dot {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 249, .9);
  color: var(--foreground);
  backdrop-filter: blur(8px);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.select-dot:hover { transform: scale(1.05); }

.product-card.selected .select-dot {
  background: var(--primary);
  color: white;
}

.select-dot svg,
.small-link svg,
.small-link-icon,
[data-icon] svg {
  width: 21px;
  height: 21px;
  max-width: 21px;
  max-height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-body {
  display: flex;
  order: 1;
  width: 100%;
  min-height: 230px;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.product-body h3 {
  font-size: clamp(1.28rem, 2vw, 1.65rem);
}

.product-body p {
  margin: 0;
  color: var(--muted);
}

.product-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.small-button,
.small-link {
  width: 100%;
  min-height: 48px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.small-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--surface-soft);
  color: var(--foreground);
  font-weight: 800;
  transition: background .25s ease, color .25s ease;
}

.small-button.selected {
  background: var(--secondary);
}

.small-link {
  display: inline-flex;
  position: relative;
  gap: 8px;
  overflow: hidden;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--primary);
  color: white;
  font-weight: 800;
}

.category-section, .steps-section {
  background: linear-gradient(135deg, rgba(240, 233, 223, .9), rgba(241, 217, 212, .86));
}

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

.category-card, .steps article, .contact-card, .stats article {
  border: 1px solid rgba(231, 219, 207, .75);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, .88);
  box-shadow: var(--shadow-soft);
}

.category-card {
  display: grid;
  min-height: 170px;
  place-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.category-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  color: var(--primary);
  background: var(--rose);
}

.category-icon svg { width: 28px; height: 28px; }

.category-card h3 { font-size: 1.25rem; }

.category-card p {
  margin: 0;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
}

.about-section .section-heading { margin-bottom: 0; }

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

.stats article {
  min-height: 132px;
  padding: 28px;
  background: rgba(231, 190, 184, .55);
}

.stats strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  color: #9d6246;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.steps article {
  min-height: 250px;
  padding: 30px;
}

.steps span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 1.35rem;
  font-weight: 900;
}

.steps h3 {
  margin-top: 26px;
  font-size: 1.35rem;
}

.steps p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.contact-card span {
  grid-row: span 2;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose);
  color: var(--primary-dark);
}

.contact-card small {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.05rem;
}

.footer {
  padding: 54px 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 253, 249, .82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 52px;
}

.footer p {
  max-width: 360px;
  color: var(--muted);
}

.footer h3 {
  margin-bottom: 18px;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.footer a:not(.brand) {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.whatsapp-fab {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 25;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: white;
  box-shadow: 0 18px 42px rgba(36, 211, 102, .32);
  transition: transform .25s ease;
}

.whatsapp-fab:hover { transform: translateY(-3px) scale(1.03); }

.whatsapp-fab svg { width: 34px; height: 34px; }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(54, 41, 32, .45);
  backdrop-filter: blur(6px);
}

.budget-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 51;
  display: flex;
  width: min(440px, 100%);
  height: 100%;
  flex-direction: column;
  background: var(--background);
  box-shadow: -24px 0 60px rgba(54, 41, 32, .25);
  transform: translateX(105%);
  transition: transform .32s ease;
}

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

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.drawer-head h2 { font-size: 1.5rem; }

.drawer-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}

.empty-budget {
  display: grid;
  min-height: 100%;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.budget-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  border-radius: 16px;
  padding: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.budget-item img {
  width: 74px;
  height: 74px;
  border-radius: 13px;
  object-fit: cover;
}

.budget-item h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
}

.budget-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .85rem;
}

.remove-item {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: #a63d35;
}

.drawer-foot {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.clear-button {
  border: 0;
  border-radius: 999px;
  padding: 12px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    padding-inline: 16px;
  }

  .menu-toggle { display: block; order: 3; }
  .cart-button { order: 2; width: 48px; height: 48px; }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-card);
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 13px 16px;
    border-radius: 12px;
    background: var(--background);
  }

  .hero { min-height: auto; }
  .hero-content { padding-block: 84px 72px; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 5.2rem); }
  .hero-actions .btn { width: 100%; }
  .about-layout { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-actions { grid-template-columns: 1fr; }
  .product-body { padding: 18px; }
  .small-button,
  .small-link {
    min-height: 52px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 580px) {
  html { scroll-padding-top: 78px; }
  .container { width: min(100% - 24px, 1180px); }
  .brand { font-size: 1.05rem; }
  .brand-mark { width: 40px; height: 40px; }
  .site-header { min-height: 76px; }
  .section { padding: 58px 0; }
  .product-grid, .category-grid, .steps, .contact-grid, .stats { grid-template-columns: 1fr; }
  .product-card { border-radius: 14px; }
  .product-body { min-height: auto; }
  .product-body h3 { font-size: 1.45rem; }
  .product-actions { gap: 12px; }
  .small-button,
  .small-link {
    padding-inline: 16px;
    font-size: 1rem;
  }
  .contact-card strong { white-space: normal; }
  .whatsapp-fab { width: 62px; height: 62px; right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .product-body { padding: 16px; }
  .small-button,
  .small-link {
    min-height: 50px;
    padding-inline: 12px;
  }

  .whatsapp-fab {
    width: 56px;
    height: 56px;
    right: 12px;
    bottom: 12px;
  }
}
