:root {
  --cream: #fff4e8;
  --paper: #fffaf4;
  --coral: #ff526b;
  --coral-dark: #d72d48;
  --navy: #123a63;
  --green: #1fa855;
  --brown: #553026;
  --ink: #30211f;
  --muted: #725f57;
  --line: rgba(85, 48, 38, 0.16);
  --shadow: 0 18px 44px rgba(85, 48, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 82, 107, 0.14), transparent 30rem),
    linear-gradient(180deg, var(--cream), #fffaf7 40%, #fff);
  color: var(--ink);
  font-family: "Nunito", Arial, sans-serif;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 250, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--brown);
  font-family: "Baloo 2", cursive;
  font-size: 1.4rem;
  font-weight: 800;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(85, 48, 38, 0.18);
}

/* ---------- Buttons ---------- */
.header-cta,
.primary-button,
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(31, 168, 85, 0.22);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 900;
}

.small {
  min-height: 42px;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: clamp(2.2rem, 7vw, 4.5rem) clamp(1rem, 5vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
}

.hero-flags {
  margin: 0;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0.3rem 0 0;
  max-width: 16ch;
  color: var(--brown);
  font-family: "Baloo 2", cursive;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  line-height: 1.02;
}

.hero-sub {
  margin: 0.2rem 0 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 4rem);
}

h2,
h3 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  color: var(--brown);
}

/* ---------- Category tiles ---------- */
.catalog-title {
  margin-bottom: 1.1rem;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

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

.cat-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 150px;
  padding: 1.2rem;
  border-radius: 20px;
  color: var(--brown);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cat-tile:hover,
.cat-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(85, 48, 38, 0.18);
}

.cat-emoji {
  font-size: 2.1rem;
  line-height: 1;
}

.cat-tile h3 {
  margin-top: auto;
  font-size: 1.3rem;
}

.cat-meta {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--coral-dark);
}

.cat-tile.hot {
  background: linear-gradient(160deg, #ffe0e4, #fff0d9);
}
.cat-tile.ropa {
  background: linear-gradient(160deg, #d9ecff, #eef4ff);
}
.cat-tile.snacks {
  background: linear-gradient(160deg, #fff0cf, #ffe7d6);
}
.cat-tile.cuidado {
  background: linear-gradient(160deg, #ffe1ef, #eafaf0);
}

/* ---------- Product sections ---------- */
.cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.cat-head h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
}

.cat-head a {
  color: var(--navy);
  font-weight: 900;
  white-space: nowrap;
}

.cat-head a:hover {
  color: var(--coral-dark);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(85, 48, 38, 0.08);
}

.bottle-photo {
  display: grid;
  place-items: center;
  padding: 1.2rem 1rem;
  background: linear-gradient(160deg, #fff6ef, #ffe6ee);
  border-bottom: 1px solid var(--line);
}

.bottle-photo img {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(85, 48, 38, 0.16));
}

.product-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
}

.product-info h3 {
  font-size: 1.2rem;
}

.product-info a {
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

/* ---------- Coming-soon card ---------- */
.soon-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.soon-card p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  background: var(--brown);
  color: #fff;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-footer img {
  width: 54px;
  height: 54px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(31, 168, 85, 0.4);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bottle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 1.2rem;
  }
  .bottle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cat-head {
    flex-wrap: wrap;
  }
}
