@keyframes fadeOUT{
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes zoomIn {
  0% {
    opacity: 1;
    transform: scale(0.0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  0% {
    opacity: 1;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOutCarrito{
  0% {
    opacity: 1;
    transform: translatex(0);
  }
  100% {
    opacity: 1;
    transform: translatex(600px);
  }
}

@keyframes slideInCarrito {
  0% {
    opacity: 1;
    transform: translatex(500px);
  }
  100% {
    opacity: 1;
    transform: translatex(0);
  }
}

@keyframes zoomInGorras {
  0% {
    opacity: 0;
    transform: scale(0.30);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Reset y estilos base */
* {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  touch-action: manipulation !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background-color: white;
  color: #000;
}

a, img, svg, video, input, textarea {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: none !important;
  transition: none !important;
}

/* Header */
.custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
 border-bottom: 1px solid #eee;
  background-color: #f9f9f9 !important;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-left {
  display: flex;
  align-items: center;
}

.logo-link {
  text-decoration: none;
}

.logo-img {
  height: 50px;
  animation: zoomInGorras 1s ease forwards;
}

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

.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 5px 15px;
  transition: border-color 0.3s;
}

.search-box:focus-within {
  border-color: #32CD32;
}

.search-box input {
  width: 260px;
  padding: 5px;
  font-size: 14px;
  color: #000;
  border: 0px solid #ddd;
}

.search-box button {
  background: none;
  cursor: pointer;
  padding: 5px;
  border: 0px solid #ddd;
}

.cart-headcontainer {
  position: relative;
}

.cart-icon {
  cursor: pointer;
  animation: zoomInGorras 1s ease forwards;
}
/* Estilos para el botón de reproducción */
.play-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  cursor: pointer;
  z-index: 2;
}

.play-button {
  width: 60px;
  height: 60px;
  background-color: rgba(50, 205, 50, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.play-button:hover {
  background-color: rgba(50, 205, 50, 1);
}

.play-button svg {
  width: 30px;
  height: 30px;
  fill: white;
  margin-left: 3px;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #32CD32;
  color: white;
  width: 20px;
  border-radius: 50%;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Banner descuentos */
.scroll-bannerdiscounts {
  width: 100%;
  overflow: hidden;
  background-color: #373737;
  color: #f9f9f9;
  padding: 8px 0;
  margin-top: 1rem;
  position: relative;
  z-index: 1000;
  font-family: inherit;
}

.scroll-textdiscount {
  font-family: 'Helvetica Neue', sans-serif;
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 14s linear infinite;
  font-size: 17px;
  font-weight: 500;
}

/* Banner envio gratis */
.scroll-banner {
  width: 100%;
  overflow: hidden;
  background-color: #f9f9f9;
  color: #373737;
  padding: 8px 0;
  position: relative;
  z-index: 1000;
  font-family: inherit;
}

.scroll-text {
  font-family: 'Helvetica Neue', sans-serif;
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 14s linear infinite;
  font-size: 14px;
  font-weight: 500;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Productos */
.product-video {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 10px;
  animation: zoomIn 5s ease forwards;
  background-color: #f0f0f0; /* Color de fondo mientras carga */
  will-change: transform; /* Optimización para animaciones */
  transform: translateZ(0); /* Forzar aceleración por hardware */
}
}

#product-container {
  min-height: auto;
  padding-bottom: 120px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1024px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.product-card {
  background: #f9f9f9;
   position: relative;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #eee;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card.out-of-stock {
  position: relative;
}

.product-card.out-of-stock::after {
  content: "SIN STOCK";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: white;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 1.2rem;
}

/* Botón "Cargar más" */
.load-more-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  align-items: center;
  text-align: center;
  animation: zoomInGorras 1.2s ease forwards;
}

.load-more-btn {
  background-color: white;
  color: black;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  text-align: center;
}

.load-more-btn:hover {
  background-color: #f9f9f9;
}

/* Skeleton */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1024px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.skeleton-card {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #eee;
  width: auto;
  height: 389px;
  animation: zoomInGorras 1.2s ease forwards;
}

.product-title {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 550;
  letter-spacing: 0.1px;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.7rem;
  animation: zoomInGorras 2s ease forwards;
}

.product-price {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1.4px;
  opacity: 0.5;
  animation: zoomInGorras 2s ease forwards;
}

/* Popup optimizado */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup.hidden {
  display: none;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1;
}

.popup-container {
  position: relative;
  width: 90%;
  max-width: 800px; /* Tamaño máximo fijo */
  max-height: 90vh;
  background-color: #f9f9f9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  z-index: 2;
  animation: popupAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

@keyframes popupAppear {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.3s, transform 0.3s;
}

.popup-close-btn:hover {
  background-color: #fff;
  transform: rotate(90deg);
}

.popup-media {
  width: 100%;
  height: 400px; /* Altura fija */
  overflow: hidden;
  background-color: #f9f9f9;
  position: relative;
}

#popup-video {
  width: 100%;
  height: 100%;
  background-color: #f9f9f9;
  object-fit: contain; /* Mantiene la relación de aspecto sin blackbars */
}

.popup-content {
  padding: 2rem;
  flex: 1;
  overflow-y: auto;
  background-color: #f9f9f9;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

#popup-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.popup-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #32CD32;
  margin: 0;
}

.popup-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
}

.popup-size-selector {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.popup-size-selector label {
  font-weight: 500;
  color: #333;
}

.popup-size-selector select {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  color: #333;
  cursor: pointer;
  min-width: 100px;
}

.popup-stock {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.popup-actions {
  display: flex;
  justify-content: center;
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #32CD32;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.add-to-cart-btn:hover {
  background-color: #2db82d;
  transform: translateY(-2px);
}

/* Panel del carrito rediseñado */
.cart-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-panel.hidden {
  display: none;
}

.cart-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1;
}

.cart-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  z-index: 2;
  display: flex;
  flex-direction: column;
  animation: cartAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartAppear {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.cart-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.cart-close-btn {
  width: 40px;
  height: 40px;
  background-color: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.cart-close-btn:hover {
  background-color: #e0e0e0;
  transform: rotate(90deg);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.cart-step {
  display: none;
  padding: 2rem;
  animation: stepAppear 0.4s ease;
}

@keyframes stepAppear {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.cart-step.active {
  display: block;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: #32CD32;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
}

.step-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Etapa 1: Productos */
.cart-items {
  margin-bottom: 2rem;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.9rem;
  color: #666;
}

.cart-item-size {
  font-size: 0.8rem;
  color: #32CD32;
  font-weight: 500;
  margin-top: 0.25rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.quantity-btn:hover {
  background-color: #e0e0e0;
}

.item-quantity {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
}

.remove-item-btn {
  width: 36px;
  height: 36px;
  background-color: #ffeeee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.remove-item-btn:hover {
  background-color: #ffcccc;
}

.cart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.cart-total {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.cart-total span:last-child {
  color: #32CD32;
}

.cart-prev-btn, .cart-next-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.cart-prev-btn {
  background-color: #f0f0f0;
  color: #333;
}

.cart-prev-btn:hover {
  background-color: #e0e0e0;
  transform: translateX(-2px);
}

.cart-next-btn {
  background-color: #32CD32;
  color: white;
}

.cart-next-btn:hover {
  background-color: #2db82d;
  transform: translateX(2px);
}

.cart-next-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  transform: none;
}

/* Etapa 2: Método de envío y código de descuento */
.delivery-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.delivery-method {
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.delivery-method:hover {
  background-color: #f0f0f0;
  transform: translateY(-5px);
}

.delivery-method.selected {
  background-color: #f0fff0;
  border-color: #32CD32;
}

.delivery-method-icon {
  width: 50px;
  height: 50px;
  background-color: #32CD32;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.delivery-method-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.delivery-method-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.delivery-method-info p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.delivery-method-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #32CD32;
}

.discount-code {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

.discount-code h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
}

.discount-code-container {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.discount-code-container input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.discount-code-container button {
  background-color: #32CD32;
  color: white;
  border: none;
  width: 80px;
  height: 50px;
  border-radius: 8px;
  padding: 0 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.discount-code-container button:hover {
  background-color: #2db82d;
}

#discount-message {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Etapa 3: Información de envío */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: #32CD32;
  outline: none;
}

/* Etapa 4: Resumen del pedido */
.order-summary {
  margin-bottom: 2rem;
}

.summary-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.summary-section:last-child {
  border-bottom: none;
}

.summary-section h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.summary-product {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.summary-product span:first-child {
  color: #666;
}

.summary-product span:last-child {
  font-weight: 500;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.summary-total span:last-child {
  color: #32CD32;
}

.cart-confirm-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #32CD32;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.cart-confirm-btn:hover {
  background-color: #2db82d;
  transform: translateY(-2px);
}

/* Notificaciones */
.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #333;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Testimonios */
.testimonials {
  padding: 3rem 1rem;
  background: #f9f9f9;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  color: #333;
}
@media (max-width: 768px) {/* Carrusel de testimonios */
.testimonial-carousel-container {
   position: relative;
  max-width: 1200px;
  margin: 0 auto 2rem;
  overflow: hidden;
}

.testimonial-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Ocultar scrollbar en Firefox */
  -ms-overflow-style: none; /* Ocultar scrollbar en IE y Edge */
  cursor: grab;
 
}}


/* Carrusel de testimonios */
.testimonial-carousel-container {
   position: relative;
  max-width: 1200px;
  margin: 0 auto 2rem;
  overflow: hidden;
}

.testimonial-carousel {
   display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Ocultar scrollbar en Firefox */
  -ms-overflow-style: none; /* Ocultar scrollbar en IE y Edge */
  cursor: grab;
  gap: 1.5rem; /* Espacio entre testimonios */
}

.testimonial-carousel::-webkit-scrollbar {
  display: none; /* Ocultar scrollbar en Chrome, Safari y Opera */
}

.testimonial-card {
  flex: 0 0 300px;
  margin-right: 1.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  scroll-snap-align: start;
  border: 1px solid #eee;
}

.testimonial-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.testimonial-prev, .testimonial-next {
  background: rgba(255,255,255,0.7);
  border: none;
  border-radius: 50%;
  width: 0px;
  height: 0px;
  font-size: 0px;
  cursor: pointer;
  pointer-events: all;
  transition: background 0.3s;
}

.testimonial-prev:hover, .testimonial-next:hover {
  background: rgba(255,255,255,0.9);
}

.show-testimonial-form-btn {
  background-color: #32CD32;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: background-color 0.3s;
  margin: 0 auto 2rem;
  cursor: pointer;
  display: block;
}

.show-testimonial-form-btn:hover {
  background-color: #2db82d;
}

.testimonial-form.hidden {
  display: none;
}

.stars {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;
}

.customer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.customer-info span {
  font-weight: 500;
  color: #333;

}

/* Formulario de testimonios */
.testimonial-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}

.testimonial-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #333;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Helvetica Neue', sans-serif;
  transition: border-color 0.3s;
  border: 1px solid #eee;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #32CD32;
  outline: none;
}

.rating-input {
  display: flex;
  gap: 0.5rem;
  font-size: 1.5rem;
}

.star {
  color: #ddd;
  cursor: pointer;
  transition: color 0.3s;
}

.star.active {
  color: #ffd700;
}

.submit-testimonial {
  background-color: #32CD32;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s;
  margin-bottom: 0.2rem;
}

.submit-testimonial:hover {
  background-color: #2db82d;
}

/* Sellos de confianza */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 1rem;
  background: #f0f0f0;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.badge img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.badge span {
  font-weight: 500;
  color: #333;
}

/* Footer */
.footer-banner {
  width: 100%;
  background-color: #f8f8f8;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  visibility: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 1rem;

}

.footer-section h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.2rem;
   text-align: center;
   align-items: center;
  justify-content: center;
}

.footer-section p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
   text-align: center;
   align-items: center;
  justify-content: center;
}

.social-links {
  display: flex;
  gap: 4rem;
  margin-top: 1rem; 
   text-align: center;
   align-items: center;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: #f0f0f0;
  border-radius: 50%;
  transition: background 0.3s;
}

.social-links a:hover {
  background: #32CD32;
}

.social-links img {
  width: 80px;
  height: 80px;
  align-items: center;
  gap: 2rem;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #eee;
  color: #666;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: #32CD32;
  text-decoration: none;
}

/* Media queries */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .delivery-methods {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .custom-header {
    flex-direction: row;
    
    padding: 1rem;
  }
  
  .header-left, .header-right {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
  }
  
  .search-box {
    width: 100%;
  }
  
  .search-box input {
    width: 100%;
     width: 170px;
  }
  
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .skeleton-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .skeleton-card {
    height: 408px;
    border: 1px solid #eee;
  }
  
  .product-video {
    height: 310px;
  }
  
  .product-title {
    font-weight: 430;
    font-size: 1.1rem;
  }
  
  .popup-container {
    width: 95%;
  }
  
  .cart-container {
    width: 95%;
    max-height: 95vh;
  }
  
  .cart-body {
    padding: 1rem;
  }
  
  .cart-step {
    padding: 1rem;
  }
  
  .delivery-methods {
    grid-template-columns: 1fr;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cart-footer {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cart-prev-btn, .cart-next-btn {
    width: 100%;
    justify-content: center;
  }
  
  .discount-code-container {
    flex-direction: column;
  }
  
  .discount-code-container button {
    width: 100%;
  }
}
/* Agregar a style.css */
.product-image-placeholder {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 10px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.product-image-placeholder .play-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: rgba(50, 205, 50, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.product-image-placeholder .play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid white;
  margin-left: 5px;
}

.product-card:hover .product-image-placeholder img {
  opacity: 1;
}

.product-card:hover .play-icon {
  background-color: rgba(50, 205, 50, 1);
}

/* Agregar a style.css */
.newsletter-section {
  max-width: 550px;
  margin: 0 auto;
  border: 1px solid #eee;
  background-color: white;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 10px;

}
.newsletter-form-container {
  display: flex;
  margin-top: 1rem;
  border: 1px solid #eee;
  border-radius: 8px 0 0 8px;
}

.newsletter-form-container input {
  flex: 1;
  padding: 0.75rem;
  border-top: 1px solid #eee;
  border-radius: 8px 0 0 8px;
  font-size: 1rem;
}

.newsletter-submit-btn {
  background-color: #32CD32;
  color: white;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 0 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-submit-btn:hover {
  background-color: #2db82d;
}

.newsletter-message {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  min-height: 20px;
}

.newsletter-message.success {
  color: #32CD32;
}

.newsletter-message.error {
  color: #ff0000;
}