/* MultiBek & TargetBek Royale-Style Product Switcher & Cards — MAVİ TEMA */
.royale-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto 36px;
}

/* 4 kart dar ekranda sikismasin: orta genislikte 2x2 */
@media (max-width: 1200px) and (min-width: 961px) {
  .royale-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }
}

/* Fiyat satiri hicbir genislikte bolunmesin */
.royale-price-row > * {
  white-space: nowrap;
}

/* 4 sutun duzeninde kartlar daha dar: ic bosluk ve yazilar biraz kuculur */
@media (min-width: 1201px) {
  .royale-card {
    padding: 26px 18px 22px;
  }
  .royale-badge {
    letter-spacing: 1px;
    padding: 4px 10px;
  }
  .royale-price-row {
    gap: 5px;
  }
  .royale-price {
    font-size: 22px;
  }
}

@media (max-width: 960px) {
  .royale-product-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    max-width: 480px;
  }
}

.royale-card {
  position: relative;
  background: linear-gradient(160deg, #0e1c33 0%, #081122 100%);
  border: 1.5px solid #233b61;
  border-radius: 18px;
  padding: 28px 24px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  user-select: none;
}

.royale-card:hover {
  transform: translateY(-4px);
  border-color: #38c4df;
  box-shadow: 0 16px 45px rgba(56, 196, 223, 0.2), 0 4px 12px rgba(0, 0, 0, 0.5);
}

.royale-card.active {
  border-color: #38c4df;
  background: linear-gradient(160deg, #132747 0%, #0a162b 100%);
  box-shadow: 0 0 35px rgba(56, 196, 223, 0.25), 0 16px 50px rgba(0, 0, 0, 0.6);
}

.royale-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: all 0.25s ease;
}

.royale-card.active .royale-top-accent {
  background: linear-gradient(90deg, #3478fb 0%, #38c4df 50%, #5ce3ed 100%);
  box-shadow: 0 0 14px #38c4df;
}

.royale-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #5ce3ed;
  background: rgba(56, 196, 223, 0.12);
  border: 1px solid rgba(56, 196, 223, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.royale-title {
  font-size: 26px;
  font-weight: 850;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}

.royale-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 22px;
  color: #98abc5;
  font-size: 13.5px;
}

.royale-label {
  font-size: 12px;
  color: #8aa1c0;
}

.royale-price {
  font-size: 25px;
  font-weight: 850;
  color: #5ce3ed;
  letter-spacing: -0.5px;
  text-shadow: 0 0 18px rgba(92, 227, 237, 0.35);
}

.royale-duration {
  font-size: 12px;
  color: #98abc5;
}

.royale-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(110deg, #2458bd, #299bb8);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #3c82de;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.royale-card:hover .royale-btn,
.royale-card.active .royale-btn {
  background: linear-gradient(110deg, #3478fb, #38c4df);
  border-color: #5ce3ed;
  box-shadow: 0 0 20px rgba(56, 196, 223, 0.45);
}

/* Product Showcase Management */
.product-showcase-container {
  position: relative;
  width: 100%;
}

.product-showcase {
  animation: fadeInProduct 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* TargetBek görsel yok bildirimi */
.targetbek-no-image-box {
  background: linear-gradient(145deg, #0d1b30, #081222);
  border: 1px dashed #27456d;
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
  color: #98abc5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  margin-bottom: 24px;
}

.targetbek-no-image-box .icon {
  font-size: 42px;
  margin-bottom: 12px;
  color: #5ce3ed;
  text-shadow: 0 0 20px rgba(92, 227, 237, 0.5);
}

.targetbek-no-image-box strong {
  font-size: 17px;
  color: #eef6ff;
  margin-bottom: 6px;
}

.targetbek-no-image-box p {
  font-size: 13px;
  color: #8aa1c0;
  max-width: 420px;
  margin: 0;
}

@keyframes fadeInProduct {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .royale-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .royale-card {
    padding: 22px 18px 18px;
  }
  
  .royale-title {
    font-size: 22px;
  }
  
  .royale-price {
    font-size: 21px;
  }
}
