/*
Theme Name: YUMM Child
Theme URI: http://localhost/YUMMv2
Description: Tema personalizado para YUMM con WooCommerce
Author: YUMM Team
Author URI: http://localhost/YUMMv2
Template: twentytwentyfive
Version: 1.0
Text Domain: yumm-child
*/

/* Importar estilos del tema padre */
@import url("../twentytwentyfive/style.css");

/* Variables */
:root {
  --primary-color: #E91E8C;
  --secondary-color: #0a95da;
  --dark-bg: #1a1a1a;
  --light-text: #ffffff;
  --border-radius: 24px;
  --section-color: var(--secondary-color);
}

/* Header sticky */
#page {
  overflow: visible;
}

#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 20px 0;
}

.yumm-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#header + hr,
#footer + hr,
main + hr,
hr:has(+ #footer) {
  display: none;
}

#footer {
  padding: 30px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-social-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social-icon:hover img {
  transform: scale(1.15);
  opacity: 0.8;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--secondary-color);
  margin: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 570px;
  overflow: hidden;
}

.hero-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 5px rgb(0, 0, 0);
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 5px rgb(0, 0, 0);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  font-size: 2.2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  line-height: 1;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dot.active {
  background: white;
  transform: scale(1.3);
}

/* Tagline / Texto de Misión */
.tagline-section {
  padding: 40px 20px;
  background: #ffffff;
  text-align: center;
}

.tagline-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.49rem;
  line-height: 1.3;
  color: #333;
}

.tagline-content strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* Products Featured Section */
.products-featured {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-align: center;
  color: #1a1a1a;
}

.section-stars {
  font-size: 2.4rem;
  color: #E8A020;
  margin-bottom: 40px;
  letter-spacing: 4px;
  user-select: none;
  pointer-events: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image-wrap {
  position: relative;
}

.product-image {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: top;
  background: #e0e0e0;
  display: block;
}

.product-title-bar {
  position: relative;
  background: var(--secondary-color);
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  padding: 10px 70px 10px 16px;
  text-align: center;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  min-height: 52px;
}

.product-title-text {
  flex: 1;
}

.product-bar-img {
    position: absolute;
    right: -10px;
    bottom: -17px;
    width: 115px;
    height: 135px;
    object-fit: contain;
    object-position: bottom;
    border-radius: 6px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.product-info {
  padding: 16px 20px 20px;
}

.product-rating {
  color: #E8A020;
  margin-bottom: 10px;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.product-description {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.4;
  padding-left: 5rem;
  padding-right: 5rem;
}

.product-author::before {
  content: '';
  position: absolute;
  left: 50%;
  margin-left: -35%;
  top: 0px;
  width: 70%;
  height: 2px;
  border-radius: 50%;
  background: black;
}

.product-author {
  position: relative;
  font-size: 1.4rem;
  font-weight: 900;
  color: #1a1a1a;
  font-style: normal;
  padding-top: 12px;
  margin-top: 4px;
}

/* Benefits Section */
.benefits-section {
  padding: 60px 20px;
  background: var(--primary-color);
  color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-box {
  text-align: center;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  width: 100px;
  height: 100px;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.benefit-text {
  font-size: 1.1rem;
  line-height: 1.7rem;
  opacity: 0.95;
}

/* Banner Grid Section */
.banner-grid-section {
  padding: 40px 20px;
  background: #ffffff;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.banner-grid-item img {
  width: 100%;
  display: block;
}

/* Large Products Showcase */
.large-products {
  padding: 60px 20px;
  background: white;
}

.large-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.large-product-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.large-product-card:hover {
  transform: translateY(-4px);
}

.large-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--border-radius);
  display: block;
  background: #f0f0f0;
}

.large-product-info {
  padding: 18px 10px 0;
  text-align: center;
}

.large-product-title {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.large-product-description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.4;
}

.large-product-rating {
  color: #E8A020;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 20px;
  background: #f5f5f5;
}

.testimonials-showcase {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  max-width: 1200px;
  margin: 40px auto 0;
  align-items: start;
}

/* Left column */
.testimonials-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  border-radius: var(--border-radius);
  padding: 0px 0px;
}

.t-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.t-stars {
  font-size: 1.6rem;
  color: #E8A020;
  letter-spacing: 2px;
}

.t-quote {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.3;
}

.t-author {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0;
}

.t-role {
  font-size: 1rem;
  color: #777;
  margin: 0;
}

.t-main-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--border-radius);
  display: block;
}

/* Right column */
.testimonials-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.t-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.t-thumb {
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.t-thumb.active {
  display: none;
}

.t-thumb:hover {
  transform: scale(1.03);
  opacity: 0.85;
}

.t-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.t-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.t-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--secondary-color);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.t-btn:hover {
  background: #0878b5;
}

/* Blog Section */
.blog-section {
  padding: 60px 20px;
  background: white;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 30px auto;
}

.blog-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 3px solid var(--secondary-color);
  border-bottom: 10px solid var(--secondary-color);
}

.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #e0e0e0;
  display: block;
}

.blog-content {
  padding: 20px 20px 28px;
  text-align: center;
}

.blog-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1a1a1a;
  line-height: 1.3;
}

.read-more {
  display: inline-block;
  background: var(--secondary-color);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.read-more:hover {
  background: #0878b5;
  color: #ffffff;
  text-decoration: none;
}

/* Newsletter Section */
.newsletter-section {
  overflow: hidden;
}

.newsletter-hero {
  width: 100%;
  height: 520px;
  background: url('http://localhost/YUMMv2/wp-content/uploads/2026/05/IMGYUUM.png') center center / cover no-repeat;
}

.newsletter-body {
  background: #ffffff;
  padding: 50px 20px 0px;
  text-align: center;
}

.newsletter-content {
  max-width: 1020px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #595959;
  text-transform: uppercase;
  margin-bottom: 0px;
  line-height: 1.2;
}

.newsletter-subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  color: #595959;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
}

.newsletter-form {
  margin-bottom: 30px;
}

.newsletter-field {
  display: flex;
  align-items: center;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
}

.newsletter-input {
  flex: 1;
  padding: 14px 24px;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--primary-color);
  background: transparent;
}

.newsletter-input::placeholder {
  color: var(--primary-color);
  opacity: 0.7;
  font-weight: 600;
}

.newsletter-btn {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  padding-right: 6px;
}

.newsletter-btn:hover {
  color: #c4006e;
}

.newsletter-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.social-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.social-icon:hover img {
  transform: scale(1.1);
}

/* Tienda (Productos) */
.shop-section {
  padding: 50px 20px;
  background: white;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.shop-category-title {
  grid-column: span 1;
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark-bg);
  margin: 0;
}

.shop-category-title--full {
  grid-column: 1 / -1;
}

.shop-product-card {
  grid-column: span 1;
  text-align: center;
}

.shop-product-image-link {
  display: block;
  border-radius: 32px;
  -webkit-box-shadow: 0px 0px 41px -7px rgba(0,0,0,0.33); 
  box-shadow: 0px 0px 41px -7px rgba(0,0,0,0.33);
  overflow: hidden;
  margin-bottom: 16px;
}

.shop-product-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.shop-product-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.shop-product-name a {
  color: var(--dark-bg);
  text-decoration: none;
}

.shop-product-price {
  font-size: 1rem;
  color: #333;
  margin-bottom: 14px;
}

.shop-product-price del {
  opacity: 0.5;
  margin-right: 6px;
}

.shop-swatches {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.shop-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  display: inline-block;
}

.shop-add-to-cart a {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid var(--secondary-color);
  border-radius: 30px;
  color: var(--secondary-color);
  font-weight: 700;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.shop-add-to-cart a:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-slider {
    height: 380px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .products-grid,
  .benefits-grid,
  .large-products-grid,
  .testimonials-grid,
  .blog-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-category-title {
    grid-column: 1 / -1;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 280px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }
}

/* Header layout */
.yumm-header {
  align-items: center;
}

.yumm-header .wp-block-image.alignleft {
  margin: 0;
  flex-shrink: 0;
}
.wp-block-image img {
    max-width: 190px;
}
/* Navigation links */
.yumm-main-nav .wp-block-navigation__container {
  gap: 28px;
}

.yumm-main-nav .wp-block-navigation-item__content {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1a1a1a !important;
  text-decoration: none !important;
  padding: 4px 0;
}

.yumm-main-nav .wp-block-navigation-item__content:hover {
  color: var(--primary-color) !important;
}

.yumm-main-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
  color: var(--primary-color) !important;
}

.yumm-main-nav .wp-block-navigation-item__content:focus,
.yumm-main-nav .wp-block-navigation-item__content:focus-visible,
.yumm-main-nav .wp-block-navigation-item__content:active {
  outline: none;
  box-shadow: none;
}

/* Header icons group */
.yumm-header-icons {
  flex-shrink: 0;
  align-items: center;
  gap: 18px !important;
}

/* Search icon button */
.yumm-search-btn.wp-block-search {
  margin: 0;
}

.yumm-search-btn .wp-block-search__inside-wrapper {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.yumm-search-btn .wp-block-search__input {
  display: none;
}

.yumm-search-btn .wp-block-search__button {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.yumm-search-btn .wp-block-search__button svg {
  display: none;
}

.yumm-search-btn .wp-block-search__button {
  background-image: url('/YUMMv2/wp-content/uploads/2026/06/search.png') !important;
  background-repeat: no-repeat !important;
  background-size: 20px 20px !important;
  background-position: center !important;
}

/* WooCommerce account icon */
.wc-block-customer-account a {
  color: #1a1a1a !important;
  text-decoration: none !important;
}

.wc-block-customer-account__link svg {
  display: none !important;
}

.wc-block-customer-account__link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-image: url('/YUMMv2/wp-content/uploads/2026/06/profile.png') !important;
  background-repeat: no-repeat !important;
  background-size: 22px 22px !important;
  background-position: center !important;
}

/* WooCommerce mini cart icon */
.wc-block-mini-cart__button {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: #1a1a1a !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wc-block-mini-cart__button svg {
  display: none;
}

.wc-block-mini-cart__button {
  width: 22px;
  height: 22px;
  background-image: url('/YUMMv2/wp-content/uploads/2026/06/cart.png') !important;
  background-repeat: no-repeat !important;
  background-size: 22px 22px !important;
  background-position: center !important;
}

.wc-block-mini-cart__button:hover {
  color: var(--primary-color) !important;
}

.wc-block-mini-cart__quantity-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-block-mini-cart__badge:not([hidden]) {
  background: var(--primary-color);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -4px;
  right: -4px;
}

@media (max-width: 768px) {
  .yumm-header {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
  }

  .yumm-main-nav {
    order: 3;
    width: 100%;
  }

  .yumm-main-nav .wp-block-navigation__container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .yumm-header-icons {
    order: 2;
  }
}

/* ============================================================
   Página de Detalle de Producto (single-product)
   ============================================================ */

/* Resumen de compra (galería + WooCommerce nativo) */
.product-summary {
  display: flex;
  gap: 50px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: flex-start;
}

.product-gallery {
  flex: 1;
  min-width: 0;
}

.product-gallery .woocommerce-product-gallery {
  opacity: 1 !important;
  width: 100% !important;
  float: none !important;
}

.product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  border-radius: var(--border-radius);
  display: block;
}

.product-buybox {
  flex: 1;
  min-width: 280px;
  padding-top: 10px;
}

.product-buybox .product_title {
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #58595b;
  margin-bottom: 10px;
}

.product-buybox .woocommerce-product-details__short-description {
  margin-bottom: 16px;
}

.product-buybox .woocommerce-product-details__short-description p {
  margin: 0 0 8px;
}

.product-buybox .woocommerce-product-details__short-description p:first-child {
  color: #58595b;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.product-buybox .woocommerce-product-details__short-description p:not(:first-child) {
  color: #1a1a1a;
  font-size: 0.85rem;
  line-height: 1.5;
}

.product-buybox .price {
  font-size: 1.5rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 18px;
  display: block;
}

.product-buybox table.variations {
  width: 100%;
  margin-bottom: 18px;
}

.product-buybox table.variations select {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.product-buybox table.variations.yumm-pills-active {
  display: none;
}

.yumm-size-options {
  margin-bottom: 18px;
}

.yumm-size-options .yumm-size-options-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.yumm-size-options .yumm-size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.yumm-size-pill {
  padding: 10px 22px;
  border: 1px solid var(--secondary-color);
  border-radius: 30px;
  background: #fff;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.yumm-size-pill:hover {
  background: rgba(10, 149, 218, 0.1);
}

.yumm-size-pill.is-selected {
  background: var(--secondary-color);
  color: #fff;
}

.yumm-flavor-selector {
  margin-bottom: 18px;
}

.yumm-flavor-selector-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.yumm-flavor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.yumm-flavor-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px 8px 12px;
  border: 1px solid var(--secondary-color);
  border-radius: 30px;
  background: #fff;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

a.yumm-flavor-pill:hover {
  background: rgba(10, 149, 218, 0.1);
}

.yumm-flavor-pill.is-selected {
  background: var(--secondary-color);
  color: #fff;
}

.yumm-flavor-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  display: inline-block;
  flex-shrink: 0;
}

.product-buybox form.cart {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.yumm-quantity-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yumm-quantity-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1a1a1a;
}

.product-buybox .quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-buybox .quantity input.qty {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.product-buybox .quantity input.qty::-webkit-outer-spin-button,
.product-buybox .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.yumm-qty-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--secondary-color);
  background: #fff;
  color: var(--secondary-color);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.yumm-qty-step:hover {
  background: var(--secondary-color);
  color: #fff;
}

.yumm-cta-row {
  display: flex;
  flex-basis: 100%;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.product-buybox button.single_add_to_cart_button {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.product-buybox button.single_add_to_cart_button:hover {
  background: #0878b5;
}

.product-buybox .single_buy_now_button {
  display: inline-block;
  padding: 13px 32px;
  border: 2px solid var(--secondary-color);
  border-radius: 30px;
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.product-buybox .single_buy_now_button:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* Caja de testimonio (toma el color de la página) */
.product-testimonial-box {
  background: var(--section-color);
  color: #fff;
  border-radius: var(--border-radius);
  max-width: 1200px;
  margin: 30px auto;
  padding: 30px 40px;
  text-align: center;
}

.product-testimonial-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.product-testimonial-stars {
  color: #FFD24C;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.product-testimonial-text {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

.product-testimonial-author {
  display: block;
  font-weight: 700;
  margin-top: 6px;
}

/* Título "El poder de Xg de proteína..." */
.protein-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  max-width: 900px;
  margin: 50px auto 30px;
  padding: 0 20px;
  line-height: 1.3;
}

.highlight {
  color: var(--section-color);
}

.protein-title .highlight {
  font-size: 1.2em;
}

.text-color-section {
  color: var(--section-color);
}

/* Caja de iconos con fondo */
.iconbox-section {
  position: relative;
  max-width: 1200px;
  margin: 50px auto;
  border-radius: var(--border-radius);
  border-top: 10px solid var(--section-color);
  border-bottom: 10px solid var(--section-color);
  overflow: hidden;
  background-color: var(--dark-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: var(--iconbox-padding-top, 60px) 20px var(--iconbox-padding-bottom, 60px);
}

.iconbox-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 60, 0.2);
}

.iconbox-title,
.iconbox-grid {
  position: relative;
  z-index: 1;
}

.iconbox-title {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 40px;
}

.iconbox-title,
.iconbox-title * {
  text-transform: uppercase;
}

.iconbox-subtitle {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.1rem;
}

.iconbox-highlight {
  color: var(--primary-color);
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
}

/* flex (no grid): una fila incompleta (ej. 3 ítems en un layout de 4 por
   fila) se centra sola, porque flex-wrap justifica cada línea por separado
   en vez de dejar celdas de grid vacías alineadas a la izquierda. */
.iconbox-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.iconbox-grid--cols-3 .iconbox-item {
  flex: 0 0 calc((100% - 40px * 2) / 3);
}

.iconbox-grid--cols-4 {
  max-width: 1100px;
  gap: 30px;
}

.iconbox-grid--cols-4 .iconbox-item {
  flex: 0 0 calc((100% - 30px * 3) / 4);
}

.iconbox-item {
  text-align: center;
}

.iconbox-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
}

.iconbox-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.iconbox-item-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 4px;
}

.iconbox-item-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Certificaciones (título + sellos) */
.certs-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.certs-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #58595b;
  margin-bottom: 30px;
}

.certs-title strong {
  font-weight: 800;
}

.certs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.certs-item img {
  max-height: 140px;
  width: auto;
  display: block;
}

/* Tabla nutricional + ingredientes (1 o 2 columnas) */
.nutrition-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  display: grid;
  gap: 50px;
}

.nutrition-section.nutrition-cols-2 {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.nutrition-col img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Te recomendamos (relacionados) */
.related-products-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 30px auto 0;
}

.related-product-card {
  text-align: center;
}

.related-product-image-link {
  display: block;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 14px;
}

.related-product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.related-product-name {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.related-product-name a {
  color: var(--dark-bg);
  text-decoration: none;
}

.related-product-price {
  margin-bottom: 14px;
  color: #333;
}

.related-product-buy a {
  display: inline-block;
  padding: 8px 24px;
  border: 2px solid var(--secondary-color);
  border-radius: 30px;
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  background: transparent;
}

.related-product-buy a:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* Página Nosotros (About Us) */
.about-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-banner {
  position: relative;
  min-height: 320px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--dark-bg);
  background-size: cover;
  background-position: center bottom;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.about-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.35);
}

.about-banner--compact {
  min-height: 140px;
}

.about-banner-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.about-banner--compact .about-banner-title {
  font-size: 1.5rem;
}

.about-banner-heading {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

/* Acordeón (banners 4 y 5): el banner es un <button>, reseteamos sus
   estilos nativos y dejamos que .about-banner siga controlando el look. */
.about-accordion-toggle {
  display: flex;
  border: 0;
  margin: 0;
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: inherit;
}

.about-accordion-icon {
  position: absolute;
  z-index: 1;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: none;
}

.about-accordion-icon::before,
.about-accordion-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.about-accordion-icon::before {
  width: 12px;
  height: 2px;
}

.about-accordion-icon::after {
  width: 2px;
  height: 12px;
  transition: transform 0.2s ease;
}

.about-accordion-toggle[aria-expanded="true"] .about-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.about-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--secondary-color);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.about-accordion-panel-inner {
  padding: 24px 30px;
  color: #fff;
}

.about-accordion-panel-inner p {
  margin-bottom: 14px;
}

.about-accordion-panel-inner ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.about-accordion-panel-inner li {
  margin-bottom: 10px;
}

.about-accordion-panel-inner p:last-child,
.about-accordion-panel-inner ul:last-child {
  margin-bottom: 0;
}

.about-box {
  border-radius: var(--border-radius);
  padding: 30px 40px;
  text-align: center;
  line-height: 1.5;
}

.about-box--pink {
  background: var(--primary-color);
  color: #fff;
}

.about-box--light {
  background: #fdf1f6;
  color: #333;
}

.about-box p {
  margin-bottom: 14px;
}

.about-box p:last-child {
  margin-bottom: 0;
}

.about-protection-box {
  background: #fdf1f6;
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
}

.protection-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.protection-text {
  max-width: 760px;
  margin: 0 auto 30px;
  color: #333;
}

.protection-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.protection-item {
  flex: 0 0 calc((100% - 80px) / 3);
  text-align: center;
}

.protection-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Página Contacto */
.contact-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.contact-card {
  display: flex;
  min-height: 320px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.contact-info {
  flex: 1 1 45%;
  background: var(--secondary-color);
  color: #fff;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-logo {
  width: 160px;
  height: auto;
  margin-bottom: 30px;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.contact-map {
  flex: 1 1 55%;
  min-height: 320px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.protection-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.protection-item-title {
  font-weight: 800;
  margin-bottom: 4px;
  color: #1a1a1a;
}

.protection-item-text {
  font-size: 0.9rem;
  color: #555;
}

.protection-footnote {
  margin-top: 24px;
  font-style: italic;
  font-size: 0.85rem;
  color: #777;
}

/* Página Blog (Ciencia Yuum + Recetas) */
.blog-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px 0;
}

.blog-section-title {
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 30px;
}

.blog-section-title:not(:first-child) {
  margin-top: 60px;
}

.blog-science-grid,
.blog-recipe-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.blog-science-card {
  flex: 0 0 calc((100% - 60px) / 3);
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-science-image {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.blog-science-question {
  flex: 1;
  background: var(--secondary-color);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-recipe-card {
  flex: 0 0 calc((100% - 60px) / 3);
  border: 0;
  padding: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  background: none;
  font: inherit;
}

.blog-recipe-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-recipe-label {
  display: block;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 16px;
}

/* Popup de receta */
.recipe-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
}

.recipe-modal-overlay.is-open {
  display: flex;
}

body.yumm-modal-open {
  overflow: hidden;
}

.recipe-modal {
  position: relative;
  display: flex;
  gap: 24px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border: 3px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 40px;
}

.recipe-modal-close {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.recipe-modal-image {
  flex: 0 0 220px;
  width: 220px;
  height: 260px;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  border-radius: var(--border-radius);
}

.recipe-modal-body {
  flex: 1;
  font-size: 0.95rem;
  color: #333;
}

.recipe-modal-body p {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .product-summary {
    flex-direction: column;
  }

  .product-gallery {
    flex: 1 1 auto;
    width: 100%;
  }

  .iconbox-grid .iconbox-item {
    flex-basis: 100%;
  }

  .related-products-grid,
  .nutrition-section.nutrition-cols-2 {
    grid-template-columns: 1fr;
  }

  .protection-grid .protection-item {
    flex-basis: 100%;
  }

  .about-banner-title {
    font-size: 1.6rem;
  }

  .contact-card {
    flex-direction: column;
  }

  .contact-info,
  .contact-map {
    flex: 1 1 auto;
  }

  .blog-science-card,
  .blog-recipe-card {
    flex-basis: 100%;
  }

  .recipe-modal {
    flex-direction: column;
    padding: 30px 20px;
  }

  .recipe-modal-image {
    width: 100%;
    height: 200px;
  }
}
