:root {
  --background: #fff7f8;
  --surface: #fffdfb;
  --foreground: #2f1f24;
  --muted: #7f6670;
  --border: rgba(118, 79, 92, 0.14);
  --gold: #c58a7a;
  --gold-soft: rgba(197, 138, 122, 0.18);
  --pink: #f7dbe2;
  --pink-strong: #eab7c4;
  --rose-shadow: rgba(184, 125, 142, 0.18);
  --green: #25d366;
  --shadow: 0 24px 80px rgba(163, 119, 130, 0.12);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--foreground);
  font-family: var(--font-body), sans-serif;
  background:
    radial-gradient(circle at top left, rgba(234, 183, 196, 0.5), transparent 24%),
    radial-gradient(circle at top right, rgba(197, 138, 122, 0.18), transparent 26%),
    linear-gradient(180deg, #fffaf8 0%, #fff1f4 100%);
}

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

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.card {
  background: rgba(255, 252, 251, 0.92);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  border: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #34242a 0%, #6d4551 100%);
  color: white;
  box-shadow: 0 18px 42px rgba(88, 50, 61, 0.24);
}

.button-secondary {
  background: rgba(255, 248, 249, 0.84);
  color: var(--foreground);
  border: 1px solid rgba(118, 79, 92, 0.18);
}

.button-whatsapp {
  background: var(--green);
  color: white;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.28);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 320px));
  justify-content: start;
}

.brand-logo-wrap {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(250, 232, 237, 0.95));
  box-shadow: 0 14px 40px var(--rose-shadow);
  flex-shrink: 0;
}

.soft-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 240, 244, 0.92)),
    radial-gradient(circle at top right, rgba(234, 183, 196, 0.35), transparent 35%);
}

.hero-shell {
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  text-wrap: balance;
}

.hero-actions {
  align-items: stretch;
}

.hero-art {
  align-self: stretch;
}

.site-brand {
  min-width: 0;
}

.site-nav {
  justify-content: flex-end;
}

.product-detail-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.product-info-panel,
.product-media-stack {
  min-width: 0;
}

.product-title {
  text-wrap: balance;
}

.product-cta-stack {
  align-items: stretch;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: white;
  padding: 0.95rem 1rem;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.admin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  padding: 2rem;
  border-right: 1px solid var(--border);
  background: rgba(255, 253, 248, 0.92);
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-main {
  padding: 2rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 880px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3rem 0;
  }

  .container {
    width: min(var(--max-width), calc(100% - 1.2rem));
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-brand {
    width: 100%;
    align-items: center;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.8rem;
    font-size: 0.94rem;
  }

  .brand-logo-wrap {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  .hero-shell {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 1.25rem !important;
  }

  .hero-title {
    font-size: clamp(2.4rem, 13vw, 3.5rem) !important;
    line-height: 0.92 !important;
    max-width: 8ch;
  }

  .hero-copy p {
    max-width: none !important;
    font-size: 1rem !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.85rem !important;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.2rem;
  }

  .hero-art {
    order: -1;
    min-height: 220px !important;
    max-height: 260px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .product-media-stack {
    gap: 0.85rem !important;
  }

  .product-main-image {
    aspect-ratio: 1 / 1 !important;
    max-width: 100%;
  }

  .product-thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .product-info-panel {
    padding: 1.25rem !important;
  }

  .product-title {
    font-size: clamp(2.1rem, 11vw, 2.8rem) !important;
    line-height: 0.96 !important;
  }

  .product-price {
    font-size: 1.2rem !important;
  }

  .product-cta-stack {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.85rem !important;
  }

  .product-cta-stack .button {
    width: 100%;
    min-height: 58px;
    padding: 1rem 1.2rem;
    text-align: center;
  }

  .product-note-card {
    margin-top: 1.25rem !important;
    padding: 1rem !important;
  }
}
