@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);
  }
}
/* Nuevas animaciones profesionales */

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

@keyframes productFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}
@keyframes watchTick {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 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;
  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: zoomIn 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: 150px;
  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%);
  }
}
/* Estilos para las imágenes de productos */
.product-image-container {
  width: 100%;
  height: 290px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  animation: zoomIn 1s ease forwards;
}
.product-card:hover .product-image {
  transform: scale(1.05);
}
/* Estilos para el carrusel de imágenes en el popup */
.image-carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background-color: #f9f9f9;
}
.image-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}
.carousel-slide:first-child {
  display: block;
}
.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f9f9f9;
}
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  color: #333;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.3s;
}
.carousel-prev {
  left: 10px;
}
.carousel-next {
  right: 10px;
}
.carousel-prev:hover, .carousel-next:hover {
  background-color: rgba(255, 255, 255, 0.9);
}
.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}
.carousel-indicator.active {
  background-color: #32CD32;
}
.carousel-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  color: #666;
  font-size: 1.2rem;
}
#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 #f0f0f0;
  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;
}
/* Badge de envío gratis */
.free-shipping-badge {
  position: absolute;
  top: 1px;
  left: 1px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  letter-spacing: 0.5px;
}
/* Hall Effect Container */
.hall-effect-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
/* Hall Effect */
.hall-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  pointer-events: none;
  z-index: 1;
  transition: background 0.3s ease;
}
/* 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: none;
  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;
  width: auto;
  height: 389px;
  animation: zoomInGorras 1.2s ease forwards;
  position: relative;
  overflow: hidden;
}
.skeleton-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}
.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-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;
}
/* 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;
}
.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: black;
  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: column;
    padding: 1rem;
  }
  
  .header-left, .header-right {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
  }
  
  .search-box {
    width: 100%;
  }
  
  .search-box input {
    width: 100%;
  }
  
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .skeleton-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .skeleton-card {
    height: 408px;
  }
  
  .product-image-container {
    height: 400px;
  }
  
  .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;
  }
}
@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 */
.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: black;
  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;
}
/* Reemplazar los estilos existentes para el popup del newsletter con estos nuevos estilos en blanco y negro */

/* Estilos para el popup fullscreen del newsletter - Versión Blanco y Negro */
.fullscreen-newsletter-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fullscreen-newsletter-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1;
}

.fullscreen-newsletter-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  z-index: 2;
  display: flex;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.newsletter-visual {
  flex: 1;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.newsletter-visual::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
  animation: pulse 4s infinite alternate;
}

.watch-animation {
  width: 200px;
  height: 200px;
  position: relative;
  z-index: 2;
}

.watch-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.watch-hands {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: watchTick 12s linear infinite;
}

.watch-hands::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 80px;
  background: #000000;
  transform: translate(-50%, -100%);
  border-radius: 3px;
}



.newsletter-text {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.newsletter-text h2 {
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.newsletter-text p {
  font-size: 1.2rem;
  color: #333333;
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: slideInLeft 0.8s ease 0.2s both;
}

.discount-highlight {
  font-weight: 700;
  color: #000000;
  position: relative;
  display: inline-block;
}

.discount-highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000000;
}

#fullscreen-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideInLeft 0.8s ease 0.4s both;
}

#fullscreen-newsletter-form input {
  padding: 1rem;
  border: 1px solid #cccccc;
  border-radius: 0;
  font-size: 1.1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #ffffff;
  color: #000000;
}

#fullscreen-newsletter-form input:focus {
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  outline: none;
}

#fullscreen-newsletter-form button {
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 0;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

#fullscreen-newsletter-form button:hover {
  background: #333333;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.fullscreen-newsletter-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  font-size: 24px;
  color: #000000;
  transition: all 0.3s ease;
  font-weight: 300;
}

.fullscreen-newsletter-close:hover {
  background: #ffffff;
  transform: rotate(90deg);
}

/* Nuevos estilos para la sección de beneficios */
.newsletter-benefits {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideInLeft 0.8s ease 0.6s both;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.benefit-icon {
  width: 30px;
  height: 30px;
  background: #000000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.benefit-text {
  font-size: 0.95rem;
  color: #555555;
}

/* Media queries para el popup fullscreen */
@media (max-width: 768px) {
  .fullscreen-newsletter-content {
    flex-direction: column;
    width: 95%;
    max-width: none;
  }
  
  .newsletter-visual {
    padding: 2rem;
    min-height: 250px;
  }
  
  .watch-animation {
    width: 150px;
    height: 150px;
  }
  
  .newsletter-text {
    padding: 2rem;
  }
  
  .newsletter-text h2 {
    font-size: 2rem;
  }
  
  .newsletter-text p {
    font-size: 1rem;
  }
}