/* Styles from products.css */

.sec-logo {
    height: 55px;
    max-width: 100%;
}
.sec-title {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.sec-title h3{
    width: 70%;
}

.sec-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.sec-title .container {
    position: relative;
    z-index: 2;
}
#sec-apuntes {
  background-image: url('../img/our-products/sections/adr.webp');
}
#sec-contacto {
  background-image: url('../img/our-products/sections/contact.webp');
}

/* MOBILE from products.css */
@media (max-width: 768px) {
  .sec-logo {
    height: 35px;
    max-width: 100%;
  }
  .sec-title {
      min-height: 90px;
  }
}

/* Styles from index.css */

.our-partners {
  background: black;
  color: white;
}

.partners-carousel {
  position: relative;
  width: 70%;
  margin: 40px auto 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .partners-carousel {
    width: 90%;
  }
}

.partners-carousel::before,
.partners-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.partners-carousel::before {
  left: 0;
  background: linear-gradient(to right, black 0%, transparent 100%);
}

.partners-carousel::after {
  right: 0;
  background: linear-gradient(to left, black 0%, transparent 100%);
}

.partners-track {
  display: flex;
  gap: 150px;
  width: max-content;
  will-change: transform;
}

.partner {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner img {
  height: 60px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}
/* --- ADR PREMIUM SHOP --- */

/* Contenedor principal de la tarjeta */
.adr-product-card-premium {
    position: relative;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* El enlace debe cubrir toda la tarjeta */
.adr-shop-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Contenedor de la imagen: aquí ocurre la magia del "cover" */
.image-premium-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Puedes cambiar a 3/4 si prefieres fotos más altas */
    overflow: hidden;
    background-color: #f7f7f7;
}

.image-premium-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto hace que la imagen cubra todo el div sin deformarse */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Overlay del botón (centrado) */
.overlay-premium-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.adr-button-white-premium {
    background: #fff;
    color: #000;
    padding: 12px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Información del producto (Debajo de la imagen) */
.info-premium-section {
    padding: 15px 5px;
}

.premium-product-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.premium-product-price {
    font-size: 0.85rem;
    text-decoration: underline;
    color: #444;
}

/* --- EFECTOS HOVER --- */

.adr-product-card-premium:hover .image-premium-container img {
    transform: scale(1.1); /* Efecto zoom que ya teníamos */
}

.adr-product-card-premium:hover .overlay-premium-wrapper {
    opacity: 1; /* Aparece el botón */
}

.adr-product-card-premium:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}