:root {
  --pink: #ed6f98;
  --pink-dark: #df527f;
  --ink: #242224;
  --muted: #71686c;
  --line: #ddd6d3;
  --green: #2fc750;
  --green-dark: #24b843;
  --shell: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  height: 138px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.98);
  border: 1px solid #d9d5d2;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: block;
  width: 230px;
  height: 104px;
}
.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-link {
  position: relative;
  display: block;
  padding: 18px 7px 13px;
  color: var(--pink-dark);
  font-size: 1.08rem;
  text-decoration: none;
}
.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--pink);
}

.hero {
  min-height: 515px;
  background-color: #fff9f4;
  background-image: url("assets/hero-rosca-hd.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 115%;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  width: min(var(--shell), calc(100% - 48px));
  min-height: 515px;
  margin-inline: auto;
  display: flex;
  align-items: center;
}
.hero-copy {
  width: 47%;
  margin-top: -8px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 9px;
  color: var(--pink-dark);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  color: #252426;
  font-family: "Great Vibes", cursive;
  font-size: clamp(5.2rem, 8vw, 7.4rem);
  font-weight: 400;
  line-height: .95;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.hero-subtitle {
  margin: 24px 0 0;
  color: #393337;
  font-size: 1.2rem;
  line-height: 1.7;
}
.hero-subtitle strong { color: var(--pink-dark); font-weight: 600; }

.catalog {
  padding: 40px 0 72px;
  background:
    radial-gradient(circle at 50% -120px, #fff8f9 0, transparent 330px),
    #fff;
}
.section-title { text-align: center; }
.section-title p {
  margin: 2px 0 3px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.65rem;
  font-weight: 700;
  line-height: 1.15;
}
.ornament, .heart-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--pink);
}
.ornament span, .heart-line span {
  width: 42px;
  height: 1px;
  background: #ef9eb7;
}
.ornament b {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px dotted var(--pink);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 400;
}
.heart-line b { font-size: .82rem; }
.catalog-hint {
  margin: 12px 0 28px;
  color: var(--muted);
  text-align: center;
  font-size: .88rem;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.product-card {
  position: relative;
  flex: 0 1 calc((100% - 72px) / 5);
  min-width: 180px;
  max-width: 226px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 3px 13px rgba(77,54,61,.035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover,
.product-card:focus-visible {
  z-index: 2;
  transform: translateY(-5px);
  border-color: #e9a0b7;
  outline: none;
  box-shadow: 0 14px 34px rgba(78,49,59,.14);
}
.product-card.selected {
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 3px rgba(237,111,152,.17), 0 14px 34px rgba(78,49,59,.12);
}
.product-card.selected::after {
  content: "✓";
  position: absolute;
  top: 11px;
  right: 11px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pink-dark);
  font-weight: 700;
  box-shadow: 0 4px 13px rgba(0,0,0,.18);
}
.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-image: url("assets/catalogo-roscas-hd.png");
  background-repeat: no-repeat;
  background-size: 300% 300%;
  background-position: var(--sprite-x) var(--sprite-y);
}
.product-info {
  min-height: 108px;
  padding: 13px 9px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-info h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}
.price {
  display: block;
  margin-top: 8px;
  color: var(--pink);
  font-size: 1.32rem;
  font-weight: 700;
}
.order-summary {
  min-height: 23px;
  margin: 28px 0 9px;
  color: var(--muted);
  text-align: center;
  font-size: .9rem;
}
.whatsapp-button {
  width: min(365px, 100%);
  min-height: 78px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 23px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 13px 31px rgba(36,184,67,.25);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(36,184,67,.32);
}
.whatsapp-button svg { width: 43px; fill: currentColor; }
.whatsapp-button strong, .whatsapp-button small { display: block; }
.whatsapp-button strong { font-size: 1.18rem; line-height: 1.05; text-transform: uppercase; }
.whatsapp-button small { margin-top: 3px; font-size: .98rem; }

footer {
  min-height: 84px;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  color: var(--pink-dark);
  background: #fff0f3;
}
footer span { font-size: 1.7rem; }
footer p { margin: 0; font-size: 1.05rem; }
footer a { color: var(--pink-dark); font-weight: 700; text-decoration: none; }

@media (max-width: 980px) {
  .hero {
    background-position: right center;
    background-size: auto 108%;
  }
  .hero-copy { width: 48%; }
  .product-card { flex-basis: calc((100% - 36px) / 3); }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 24px, var(--shell)); }
  .site-header { height: 84px; }
  .brand {
    width: 155px;
    height: 72px;
  }
  .nav-link { padding: 12px 4px 8px; font-size: .9rem; }
  .hero {
    min-height: 650px;
    background-position: 70% bottom;
    background-size: auto 73%;
  }
  .hero-inner {
    width: 100%;
    min-height: 650px;
    align-items: flex-start;
  }
  .hero-copy {
    width: 100%;
    margin: 0;
    padding: 37px 16px 0;
    background: linear-gradient(#fff9f4 58%, rgba(255,249,244,.88) 78%, transparent);
  }
  .eyebrow { font-size: .76rem; }
  .hero h1 { font-size: clamp(4.5rem, 23vw, 6rem); }
  .hero-subtitle { margin-top: 17px; font-size: .95rem; }
  .catalog { padding: 35px 0 52px; }
  .section-title p { font-size: 2.1rem; }
  .catalog-hint { margin-bottom: 21px; }
  .product-grid { gap: 12px; }
  .product-card {
    flex-basis: calc((100% - 12px) / 2);
    min-width: 0;
    border-radius: 13px;
  }
  .product-info { min-height: 104px; padding: 11px 7px 13px; }
  .product-info h3 { font-size: .88rem; }
  .price { font-size: 1.17rem; }
  .order-summary { margin-top: 23px; }
  .whatsapp-button { width: min(330px, 100%); min-height: 72px; border-radius: 21px; padding: 12px 18px; gap: 12px; }
  .whatsapp-button svg { width: 39px; }
  .whatsapp-button strong { font-size: 1.02rem; }
  .whatsapp-button small { font-size: .88rem; }
  footer p, footer a { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
