:root {
  --bg: #fff8fb;
  --bg-2: #f8ecf2;
  --surface: #fffefe;
  --surface-2: #fceff4;
  --text: #3f251c;
  --text-soft: #735246;
  --brown: #6d3d2f;
  --brown-dark: #4d281d;
  --rose: #f5dce7;
  --rose-strong: #e8bdd0;
  --line: rgba(109, 61, 47, .14);
  --green: #1f8b4c;
  --shadow: 0 16px 45px rgba(74, 43, 34, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #fffafd 0%, #fff8fb 100%);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}
body.cart-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 220, 231, .75), transparent 30%),
    radial-gradient(circle at 100% 16%, rgba(232, 189, 208, .55), transparent 28%),
    linear-gradient(180deg, #fff8fb, #fff2f7);
}
.nav {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { text-decoration: none; }
.brand-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(109, 61, 47, .08);
}
.instagram {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--brown);
  background: rgba(255,255,255,.65);
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 22px 0 86px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--brown-dark);
}
h1 { font-size: clamp(44px, 6vw, 78px); max-width: 620px; }
h2 { font-size: clamp(32px, 4vw, 48px); }
.hero-text {
  max-width: 560px;
  margin: 22px 0 28px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.primary-button, .secondary-button, .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.primary-button {
  background: var(--brown);
  color: white;
  box-shadow: 0 12px 24px rgba(109, 61, 47, .2);
}
.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  color: var(--brown);
}
.secondary-button {
  border: 1px solid var(--brown);
  color: var(--brown);
  background: white;
}
.secondary-button.alt {
  background: var(--surface-2);
}
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.hero-highlights li {
  padding: 11px 14px;
  border: 1px solid rgba(109, 61, 47, .1);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  color: var(--text-soft);
  font-weight: 600;
}
.hero-visual {
  position: relative;
  min-height: 560px;
}
.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-main {
  top: 28px;
  right: 18px;
  width: min(100%, 410px);
  aspect-ratio: 4 / 5;
  transform: rotate(-4deg);
}
.hero-card-small {
  width: 215px;
  aspect-ratio: 1 / 1.12;
}
.top-card {
  left: 0;
  top: 0;
  transform: rotate(7deg);
}
.bottom-card {
  left: 32px;
  bottom: 0;
  transform: rotate(-6deg);
}

.section { padding: 98px 0; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 36px;
}
.section-heading > p {
  max-width: 360px;
  margin: 0;
  color: var(--text-soft);
  text-align: right;
  line-height: 1.6;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(75, 33, 29, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.1;
  background: var(--rose);
}
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image { transform: scale(1.03); }
.status-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(31, 139, 76, .95);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.product-body { padding: 18px; }
.product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
}
.product-title-row h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: var(--brown-dark);
}
.price {
  white-space: nowrap;
  color: var(--brown);
  font-size: 20px;
  font-weight: 800;
}
.product-body p {
  min-height: 48px;
  margin: 10px 0 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.58;
}
.add-button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--brown);
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.add-button:active { transform: scale(.98); }

.pickup-section { padding: 0 0 98px; }
.pickup-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  padding: 42px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--surface-2), #fffafc);
  border: 1px solid rgba(109, 61, 47, .08);
}
.pickup-card p { max-width: 720px; line-height: 1.65; }
.pickup-actions { display: grid; gap: 12px; }
.muted { color: var(--text-soft); }

.cart-fab {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 20px;
  width: min(520px, calc(100% - 28px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border: 0;
  border-radius: 18px;
  background: var(--brown);
  color: white;
  box-shadow: 0 16px 35px rgba(75,33,29,.26);
  cursor: pointer;
  transform: translateX(-50%);
}
.cart-fab span { font-weight: 700; }
.cart-fab strong { font-size: 14px; }

.overlay {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: rgba(32,18,13,.44);
  backdrop-filter: blur(2px);
}
.cart-panel {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100dvh;
  overflow-y: auto;
  padding: 28px;
  background: #fffdfd;
  box-shadow: -15px 0 50px rgba(0,0,0,.16);
  transform: translateX(105%);
  transition: transform .25s ease;
}
.cart-panel.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; }
.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  font-size: 27px;
  cursor: pointer;
}
.cart-items { margin: 28px 0; display: grid; gap: 12px; }
.empty-cart {
  padding: 30px 14px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--text-soft);
  text-align: center;
}
.cart-item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.cart-item img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 12px;
}
.cart-item h4 { margin: 0 0 4px; color: var(--brown-dark); }
.cart-item small { color: var(--text-soft); }
.quantity {
  display: flex;
  align-items: center;
  gap: 9px;
}
.quantity button {
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
  font-weight: 800;
}
.checkout-form { display: grid; gap: 17px; }
fieldset { margin: 0; padding: 0; border: 0; }
legend, .checkout-form > label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--brown-dark);
}
.choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 9px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}
.choice span { display: grid; }
.choice small {
  margin-top: 3px;
  color: var(--text-soft);
  font-weight: 400;
}
.choice b {
  font-size: 13px;
  color: var(--brown);
}
input[type="text"], textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: white;
}
input[type="text"]:focus, textarea:focus {
  border-color: var(--rose-strong);
  box-shadow: 0 0 0 3px rgba(232, 189, 208, .32);
}
.totals {
  display: grid;
  gap: 10px;
  padding: 17px;
  border-radius: 15px;
  background: var(--surface-2);
}
.totals > div { display: flex; justify-content: space-between; }
.grand-total {
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}
.whatsapp-button {
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.whatsapp-button:disabled { opacity: .45; cursor: not-allowed; }
.form-note {
  margin: -7px 0 0;
  color: var(--text-soft);
  font-size: 12px;
  text-align: center;
}

footer {
  padding: 68px 0 110px;
  background: var(--brown-dark);
  color: white;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 18px;
}
footer p { color: rgba(255,255,255,.75); margin: 0; }
footer a { font-weight: 700; }

@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; padding-bottom: 64px; }
  .hero-copy { text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions, .hero-highlights { justify-content: center; }
  .hero-visual { width: min(100%, 560px); min-height: 530px; margin-inline: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 22px, 1160px); }
  .nav { min-height: 80px; gap: 10px; }
  .brand-logo { width: 84px; height: 84px; }
  .instagram { font-size: 12px; padding: 9px 12px; }
  h1 { font-size: 46px; }
  .hero-text { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; }
  .hero-visual { min-height: 370px; }
  .hero-card-main { width: 240px; right: 0; top: 55px; }
  .hero-card-small { width: 140px; }
  .top-card { top: 0; left: 10px; }
  .bottom-card { left: 0; bottom: 0; }
  .section { padding: 74px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 14px; text-align: left; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image-wrap { aspect-ratio: 4 / 3.4; }
  .pickup-card { display: block; padding: 26px 22px; }
  .pickup-actions { margin-top: 14px; }
  .pickup-actions a { width: 100%; }
  .cart-panel { padding: 22px 16px 40px; }
  .footer-content, .footer-brand-wrap { flex-direction: column; text-align: center; }
}
