/**
 * DRAK Products 3 Column - Premium Cards
 */

.drak-products-3col {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 80px 20px 100px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Subtle noise texture via gradient */
.drak-products-3col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(220, 38, 38, 0.03) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(220, 38, 38, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.drak-products-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.drak-products-header {
  margin-bottom: 30px;
  text-align: center;
}

.drak-products-title {
  font-family: 'Russo One', 'Oswald', sans-serif;
  font-size: clamp(36px, 6vw, 60px);
  letter-spacing: 3px;
  color: var(--draki-red);
  margin: 0 0 15px 0;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.drak-products-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--draki-red), transparent);
}

.drak-products-subtitle {
  font-family: 'Exo 2', sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 15px 0;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.5px;
}

.drak-products-disclaimer-top {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-style: italic;
  letter-spacing: 0.5px;
}

.drak-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.drak-products-grid.drak-products-count-1,
.drak-products-grid.drak-products-count-2 {
  justify-content: center;
}

.drak-products-grid.drak-products-count-1 {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin: 0 auto;
}

.drak-products-grid.drak-products-count-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 830px;
  margin: 0 auto;
}

/* Premium Product Card */
.drak-product-card {
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s var(--draki-ease),
              box-shadow 0.4s ease,
              border-color 0.4s ease,
              opacity 0.6s ease;
  opacity: 0;
  transform: translateY(60px);
  position: relative;
}

.drak-product-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.drak-product-card:nth-child(1) { transition-delay: 0s; }
.drak-product-card:nth-child(2) { transition-delay: 0.15s; }
.drak-product-card:nth-child(3) { transition-delay: 0.3s; }

/* Red glow on hover */
.drak-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(220, 38, 38, 0.2), 0 0 30px rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.5);
}

.drak-product-link {
  display: block;
  text-decoration: none;
}

.drak-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #0a0a0a;
}


/* Image zoom on hover */
.drak-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.6s var(--draki-ease);
}

.drak-product-card:hover .drak-product-img--main {
  opacity: 0;
  transform: scale(1.05);
}

.drak-product-img--main {
  position: relative;
  z-index: 1;
}

.drak-product-img--hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 2;
}

.drak-product-card:hover .drak-product-img--hover {
  opacity: 1;
}

/* Video hover */
.drak-product-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.4s ease;
}

.drak-product-card:hover .drak-product-video {
  opacity: 1;
}

/* Placeholder */
.drak-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
  color: rgba(255, 255, 255, 0.3);
}

/* Content */
.drak-product-content {
  padding: 24px 20px;
  text-align: center;
}

.drak-product-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0 0 15px 0;
  color: #ffffff;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.drak-product-card:hover .drak-product-name {
  color: var(--draki-red);
}

/* Cena */
.drak-product-price {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  color: var(--draki-red);
}

.drak-product-price .woocommerce-Price-amount {
  color: var(--draki-red);
}

.drak-product-price .woocommerce-Price-currencySymbol {
  color: var(--draki-red);
}

.drak-product-price del {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
  margin-right: 10px;
  font-size: 16px;
  font-weight: 400;
}

.drak-product-price del .woocommerce-Price-amount {
  color: rgba(255, 255, 255, 0.4);
}

.drak-product-price ins {
  text-decoration: none;
}

/* Premium Button with shine effect */
.drak-product-btn {
  font-family: 'Bebas Neue', sans-serif;
  display: inline-block;
  background-color: var(--draki-red);
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
  transition: all 0.35s var(--draki-ease);
  position: relative;
  overflow: hidden;
}

.drak-product-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.drak-product-btn:hover {
  background-color: #ffffff;
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
}

.drak-product-btn:hover::before {
  left: 100%;
}

/* Tablet */
@media (max-width: 990px) {
  .drak-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .drak-products-subtitle {
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 749px) {
  .drak-products-3col {
    padding: 60px 16px 80px;
  }

  .drak-products-grid,
  .drak-products-grid.drak-products-count-2,
  .drak-products-grid.drak-products-count-3 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 20px;
  }

  .drak-products-title {
    font-size: clamp(28px, 5vw, 42px);
  }

  .drak-products-subtitle {
    font-size: 16px;
  }

  .drak-product-card.touched .drak-product-video {
    opacity: 1;
  }

  .drak-product-card.touched .drak-product-img--main {
    opacity: 0;
  }
}
