:root {
  --bg: #fff9fb;
  --surface: #ffffff;
  --text: #2d1b2e;
  --muted: #7a5c73;
  --accent: #e13b78;
  --accent-dark: #be185d;
  --accent-soft: #fce7f3;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe5d;
  --border: #f5d0e2;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-bar {
  background: #fde2ee;
  color: var(--text);
  text-align: center;
  font-size: 0.8rem;
  padding: 7px 14px;
  font-weight: 500;
}

.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-align: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-btn {
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn:hover,
.nav-btn.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-bar input {
  width: 170px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.85rem;
  outline: none;
}

.search-bar input:focus {
  border-color: var(--accent);
}

.cart-pill {
  border: 1px solid var(--border);
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Hero Split */
.hero {
  background: linear-gradient(135deg, #fff1f6 0%, #ffe4ef 55%, #ffd6e8 100%);
  padding: 42px 0;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.hero-copy .highlight {
  color: var(--accent);
}

.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 18px;
  max-width: 480px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.pill-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(225, 59, 120, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.hero-visual {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(190, 24, 93, 0.14);
  aspect-ratio: 4 / 3;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Catalog Section */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 18px;
}

.section-head h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.result-count {
  font-size: 0.85rem;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  padding-bottom: 70px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(225, 59, 120, 0.1);
}

.card-img-wrap {
  aspect-ratio: 1 / 1;
  background: var(--accent-soft);
  overflow: hidden;
  cursor: pointer;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
  cursor: pointer;
}

.stars {
  color: #f59e0b;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.price {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.02rem;
}

.old-price {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.82rem;
}

.discount-tag {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.swatches {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.add-btn {
  margin-top: auto;
  width: 100%;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--surface);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.add-btn:hover {
  background: var(--accent);
  color: #ffffff;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 27, 46, 0.55);
  backdrop-filter: blur(3px);
}

.modal-content {
  position: relative;
  background: var(--surface);
  border-radius: 20px;
  max-width: 460px;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.modal-body {
  padding: 20px;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.modal-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  margin: 6px 0 12px;
}

.modal-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.btn-primary,
.btn-whatsapp {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 16px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  margin: 14px 0 18px;
}

.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.footer {
  background: #a34974;
  color: #ffffff;
  padding-top: 48px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.footer-logo {
  display: inline-block;
  font-size: 1.55rem;
  font-weight: 900;
  border: 2px solid #ffffff;
  border-radius: 14px;
  padding: 4px 16px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  max-width: 280px;
  margin-bottom: 16px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.2s ease;
}

.social-circle:hover {
  background: rgba(255, 255, 255, 0.32);
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-badges {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
