/* --- Base CSS --- */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #fff;
}

/* Page container */
.products-page-css {
  max-width: 850px;
  margin: auto;
  margin-bottom: 25px;
  margin-top: 25px;
  color: #333;
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-container {
  max-width: 500px;
  margin: auto;
  padding: 0px;
}

.product-banner {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  border-radius: 15px;
  overflow: hidden;
}

.product-content {
  margin-top: 20px;
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
}

.product-description {
  margin: 20px 0;
}

.product-description li {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #555;
}

.product-price {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  margin: 25px 0 10px;
  color: green;
}

.product-seassion-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 22px;
}

.product-product-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* --- Product Option Cards --- */
.product-option-card {
  flex: 0 0 48%;
  padding: 10px;
  border: 2px solid #ccc; /* default border for disable */
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f9f9f9;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  border-image-slice: 1;
}

/* Badge inside card */
.product-option-card .product-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #4caf50;
  color: #fff;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 20px;
  border: 1px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Enhanced RGB Animation Keyframes */
@keyframes fancyRainbowBorder {
  0% {
    border-image-source: linear-gradient(0deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8f00ff);
  }
  12.5% {
    border-image-source: linear-gradient(45deg, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8f00ff, #ff0000);
  }
  25% {
    border-image-source: linear-gradient(90deg, #ffff00, #00ff00, #0000ff, #4b0082, #8f00ff, #ff0000, #ff7f00);
  }
  37.5% {
    border-image-source: linear-gradient(135deg, #00ff00, #0000ff, #4b0082, #8f00ff, #ff0000, #ff7f00, #ffff00);
  }
  50% {
    border-image-source: linear-gradient(180deg, #0000ff, #4b0082, #8f00ff, #ff0000, #ff7f00, #ffff00, #00ff00);
  }
  62.5% {
    border-image-source: linear-gradient(225deg, #4b0082, #8f00ff, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff);
  }
  75% {
    border-image-source: linear-gradient(270deg, #8f00ff, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082);
  }
  87.5% {
    border-image-source: linear-gradient(315deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8f00ff);
  }
  100% {
    border-image-source: linear-gradient(360deg, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8f00ff, #ff0000);
  }
}

/* Active RGB Border */
.product-option-card.rgb-active {
  border-width: 4px;
  border-style: solid;
  border-image-slice: 1;
  animation: fancyRainbowBorder 2s linear infinite;
  box-shadow: 0 0 12px rgba(255,255,255,0.9), 0 0 20px rgba(255,0,255,0.9);
}


/* Disable normal border */
.product-option-card.rgb-disable {
  border: 2px solid #ccc;
  background: #f9f9f9;
}

/* Hover effect for active card */
.product-option-card.rgb-active:hover {
  box-shadow: 0 0 20px rgba(255,255,255,0.6), 0 0 30px rgba(0,255,255,0.4), 0 0 40px rgba(255,0,255,0.4);
}

/* Selected card styling */
.product-option-card.product-active {
  background: #c8e6c9;
}

/* Price display */
.product-selected-price {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin: 25px 0 0;
  display: none;
  transition: opacity 0.3s ease;
  color: #4caf50;
}

/* Forms */
.product-form {
  margin-top: 30px;
}

.product-form-group {
  margin-bottom: 20px;
}

.product-form label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  font-size: 16px;
}

.product-form input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
}

/* Buttons */
.product-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.product-clear-btn,
.product-buy-btn {
  flex: 1;
  padding: 14px;
  font-size: 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.product-clear-btn {
  background: #f0f4c3;
  color: #827717;
}

.product-clear-btn:hover {
  background: #dce775;
}

.product-buy-btn {
  background: #4caf50;
  color: #fff;
}

.product-buy-btn:hover {
  background: #43a047;
}


@media (max-width: 768px) {
  .products-page-css {
      width: 100%;
  }
}

/* Shine Effect */
.shining-badge {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.shining-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 70%);
  transform: skewX(-30deg);
  animation: shine 2s infinite linear;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}



.no-refundable-text{display:block;font-size:12px;color:red;margin-top:2px;}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-yes {
    color: #16a34a;
}

.product-no {
    color: #dc2626;
    opacity: 0.8;
}