/* ==========================================================================
   Design tokens — sampled from the live fonoarticulos.com (Wix) production
   site so the WooCommerce site matches it as closely as possible.
   ========================================================================== */
:root {
  --color-brand: #8b1a6e;          /* headings: "Recién Llegados", "Los más vendidos", etc. */
  --color-brand-light: #d986bc;    /* lighter accent variant */
  --color-teal: #009c9b;           /* "Nuestros valores" icon circles */
  --color-text: #4a3f49;           /* body copy */
  --color-text-light: #6d5261;
  --bg-pink: #f6b8c0;
  --bg-lavender: #d6b3de;
  --bg-teal: #a9dad6;
  --bg-blue: #a9c9e8;
  --border-pill: #d9d9d9;
  --radius-pill: 999px;
  --max-width: 1200px;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  margin: 0;
  background: #ffffff;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announcement-bar {
  background: #ffffff;
  text-align: center;
  font-size: 13px;
  padding: 6px 12px;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.6;
}
.announcement-bar strong { font-weight: 600; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 24px 0;
  position: relative;
}
.site-header__top {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  position: absolute;
  top: 16px;
  right: 24px;
}
.site-header__icon {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text);
}
.site-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--color-brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}
.site-logo img { width: 100%; height: 100%; object-fit: cover; }

.main-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text);
}
.main-nav a:hover { color: var(--color-brand); }

/* ==========================================================================
   Hero + gift card promo (two-column sections)
   ========================================================================== */
.split-section {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: var(--max-width);
  margin: 48px auto;
  padding: 0 24px;
}
.split-section__media {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-pink);
  min-height: 320px;
}
.split-section__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-section__content {
  flex: 1;
  text-align: center;
}
.split-section__content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}
.split-section--reverse { flex-direction: row-reverse; }

.btn-pill {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-pill);
  background: #ffffff;
  color: var(--color-text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-pill:hover { background: #f7f7f7; }
.btn-pill--brand {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

/* ==========================================================================
   Product carousels
   ========================================================================== */
.carousel-section {
  max-width: var(--max-width);
  margin: 56px auto;
  padding: 0 24px;
  position: relative;
}
.carousel-section__title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: italic;
  font-size: 26px;
  color: var(--color-brand);
  margin-bottom: 28px;
  position: relative;
}
.carousel-section__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-brand);
  margin: 10px auto 0;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-10px);
  background: #ffffff;
  border: 1px solid var(--border-pill);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.carousel-arrow--prev { left: 0; }
.carousel-arrow--next { right: 0; }

/* Product card — pastel color block behind every product image, cycling
   through the four brand pastels the same way the Wix store does. */
.product-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
  text-align: center;
}
.product-card__image-wrap {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  background: var(--bg-pink);
}
.product-card:nth-child(4n+1) .product-card__image-wrap { background: var(--bg-pink); }
.product-card:nth-child(4n+2) .product-card__image-wrap { background: var(--bg-lavender); }
.product-card:nth-child(4n+3) .product-card__image-wrap { background: var(--bg-teal); }
.product-card:nth-child(4n+4) .product-card__image-wrap { background: var(--bg-blue); }

.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 4px;
}
.product-card__price { font-size: 14px; color: var(--color-text-light); margin-bottom: 10px; }
.product-card__price del { opacity: 0.5; margin-right: 6px; }
.product-card__price ins { text-decoration: none; color: var(--color-brand); }

.product-card .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-pill);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 10px;
}
.product-card .quantity input {
  width: 36px;
  border: none;
  text-align: center;
  font-size: 14px;
}
.product-card .quantity button {
  border: none;
  background: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.product-card .add_to_cart_button,
.product-card .button {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-pill);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.product-card .out-of-stock-label {
  color: #b3aab0;
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   About + values section
   ========================================================================== */
.about-section {
  max-width: 760px;
  margin: 64px auto;
  padding: 0 24px;
  text-align: center;
}
.about-section h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--color-brand);
  font-size: 26px;
}
.about-section p { color: var(--color-text); line-height: 1.7; }

.values-grid {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.value-item { text-align: center; }
.value-item__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 22px;
}
.value-item__label {
  font-weight: 700;
  color: var(--color-brand);
  font-size: 15px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid #f0f0f0;
  margin-top: 64px;
  padding: 48px 24px;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-grid h3 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--color-text);
  font-size: 18px;
}
.footer-grid p, .footer-grid a { display: block; color: var(--color-text-light); font-size: 14px; margin-bottom: 6px; }
.footer-payment-icons { display: flex; gap: 8px; margin: 10px 0; }
.footer-payment-icons img { height: 24px; }
.footer-newsletter input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-pill);
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.footer-legal {
  text-align: center;
  font-size: 12px;
  color: #b3aab0;
  margin-top: 40px;
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .split-section, .split-section--reverse { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .values-grid { gap: 32px; }
}
