:root {
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --heading-color: #333;
  --text-color: #666;
  --primary-rgb: 52, 152, 219;
  --font-size-large: 2.5rem;
  --font-size-medium: 1.2rem;
  --font-size-small: 0.9rem;
}

/* Estilos específicos para la página de etiquetas */

.etiquetas-page .page-title {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.288)), url('../img/FOTOS/etiquetas/etiquetas.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  text-align: center;
  color: var(--contrast-color);
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.etiquetas-page .page-title h1 {
  font-size: var(--font-size-large);
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.etiquetas-page .page-title p {
  font-size: var(--font-size-medium);
  margin-bottom: 2rem;
  opacity: 0.9;
  color: var(--default-color);
}

/* Media queries para .etiquetas-page .page-title en dispositivos móviles */
@media (max-width: 768px) {
  .etiquetas-page .page-title {
    background-attachment: scroll; /* Cambiar de fixed a scroll en móviles */
    height: 100vh; /* Mantener altura completa en móviles */
    min-height: 100vh;
    padding: 120px 0 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .etiquetas-page .page-title .container {
    padding: 0 20px;
  }
  
  .etiquetas-page .page-title h1 {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.3;
  }
  
  .etiquetas-page .page-title p {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
  }
  
  .etiquetas-page .page-title .action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  .etiquetas-page .page-title .action-buttons .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .etiquetas-page .page-title {
    background-attachment: scroll;
    height: 100vh;
    min-height: 100vh;
    padding: 100px 0 40px 0;
  }
  
  .etiquetas-page .page-title h1 {
    font-size: 24px;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }
  
  .etiquetas-page .page-title p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .etiquetas-page .page-title .action-buttons .btn {
    padding: 10px 15px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .etiquetas-page .page-title {
    height: 100vh;
    min-height: 100vh;
    padding: 80px 0 30px 0;
  }
  
  .etiquetas-page .page-title h1 {
    font-size: 20px;
    padding: 0 10px;
  }
  
  .etiquetas-page .page-title p {
    font-size: 13px;
    padding: 0 10px;
  }
}

/* Product Cards */
.product-card {
  background: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
  animation: fadeInUp 0.5s ease-out;
  will-change: transform, opacity;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: var(--font-size-small);
  font-weight: 500;
}

.product-content {
  padding: 25px;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.product-description {
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.product-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
}

.product-features i {
  color: var(--accent-color);
}

.product-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
  border: none;
  width: 100%;
  text-align: center;
}

.product-link:hover {
  background: var(--nav-hover-color);
  color: var(--contrast-color);
}

/* Measures Table */
.measures-table {
  background: var(--surface-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.measures-table h3 {
  color: var(--heading-color);
  margin-bottom: 25px;
}

.measures-table .table {
  margin-bottom: 0;
}

.measures-table .table th {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 500;
  padding: 15px;
}

.measures-table .table td {
  padding: 15px;
  vertical-align: middle;
}

.measures-table .table tbody tr:hover {
  background: rgba(var(--primary-rgb), 0.05);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .etiquetas-page .page-title {
    padding: 100px 0 40px;
    height: 100vh;
    min-height: 100vh;
  }

  .etiquetas-page .page-title h1 {
    font-size: 2rem;
  }

  .product-image {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .etiquetas-page .page-title {
    padding: 80px 0 30px;
    height: 100vh;
    min-height: 100vh;
  }

  .etiquetas-page .page-title h1 {
    font-size: 1.8rem;
  }

  .product-image {
    height: 180px;
  }

  .measures-table {
    padding: 20px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
} 


/* =============================================
   BANNER PROMOCIONAL - CSS
   ============================================= */

   .promo-banner {
    background: linear-gradient(rgba(197, 13, 13, 0.95), rgba(160, 10, 10, 0.95)), url('../img/fotospro/Foto\ 12.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    overflow: hidden;
    animation: pulseGlow 3s ease-in-out infinite alternate;
    z-index: 99;
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(197, 13, 13, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-10px);
    display: block;
}

.promo-banner.show {
    top: 70px;
    opacity: 1;
    transform: translateY(0);
}

.promo-banner.hide {
    top: -50px;
    opacity: 0;
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .promo-banner {
        top: 60px;
    }
    
    .promo-banner.show {
        top: 60px;
    }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 5px rgba(197, 13, 13, 0.3); }
  100% { box-shadow: 0 0 15px rgba(197, 13, 13, 0.5); }
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 0;
  flex-wrap: wrap;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.promo-content i {
  font-size: 18px;
  animation: flash 1.5s infinite;
  color: #fff;
}

@keyframes flash {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0.5; }
}

.promo-text {
  font-size: 14px;
  font-weight: 500;
  margin: 0 5px;
  color: #fff;
}

.promo-validity {
  font-size: 11px;
  opacity: 0.9;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.btn-promo {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 12px;
}

.btn-promo:hover {
  background: white;
  color: #c50d0d;
  transform: translateY(-2px);
  text-decoration: none;
  border-color: white;
}

/* Responsive banner */
@media (max-width: 768px) {
  .promo-content {
    flex-direction: column;
    gap: 8px;
  }
  
  .promo-text {
    font-size: 14px;
    margin: 0;
  }
  
  .btn-promo {
    padding: 6px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .promo-banner {
    padding: 8px 0;
  }
  
  .promo-content {
    gap: 5px;
  }
  
  .promo-text {
    font-size: 13px;
  }
  
  .promo-validity {
    font-size: 11px;
  }
}


.promo-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  padding: 0;
  margin-left: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.promo-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.promo-close i {
  font-size: 1.4rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .promo-close {
      position: absolute;
      top: 5px;
      right: 10px;
      margin: 0;
  }
}
