/* ===============================
   PREMIUM GADGET DETAILS PAGE
   Enhanced with Eye-Catching Visuals
   GREEN THEME PRESERVED
================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-gradient: linear-gradient(135deg, #1f8a4c 0%, #2a4d31 100%);
  --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --danger-gradient: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
  --gold-gradient: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
  --dark-green: #2a4d31;
  --medium-green: #1f8a4c;
  --light-green: #355c47;
  --accent-green: #38ef7d;
  --text-dark: #1a1a1a;
  --text-gray: #555;
  --border-light: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.24);
}

/* ===============================
   GLOBAL RESETS & ANIMATIONS
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  color: var(--text-dark);
  line-height: 1.6;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Page Load Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 138, 76, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(31, 138, 76, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 138, 76, 0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(31, 138, 76, 0.5), 0 0 10px rgba(31, 138, 76, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(31, 138, 76, 0.8), 0 0 30px rgba(31, 138, 76, 0.5);
  }
}

/* ===============================
   BREADCRUMB WITH GRADIENT
================================ */

.breadcrumb {
  padding: 16px 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  font-size: 14px;
  margin-bottom: 0;
  border-bottom: 2px solid #e8f5e9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  animation: fadeIn 0.5s ease;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--medium-green);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.breadcrumb a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

.breadcrumb a:hover::after {
  width: 100%;
}

.breadcrumb a:hover {
  color: var(--dark-green);
}

.breadcrumb span {
  color: var(--text-gray);
  font-weight: 600;
}

/* ===============================
   MAIN CONTENT LAYOUT
================================ */

.content-flex {
  display: flex;
  max-width: 1320px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 24px;
  border: none;
  padding: 40px;
  gap: 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease;
}

/* Decorative gradient overlay */
.content-flex::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  z-index: 1;
}

/* ===============================
   LEFT SECTION - IMAGES
================================ */

.left-section {
  display: flex;
  gap: 24px;
  position: sticky;
  z-index: 5;
  top: 20px;
  align-self: flex-start;
  animation: slideInLeft 0.8s ease;
}

/* ===============================
   THUMBNAIL GALLERY
================================ */

.left-gallery {
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-thumbs {
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #1f8a4c #f0f0f0;
  padding: 8px;
}

.gallery-thumbs::-webkit-scrollbar {
  width: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 10px;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin: 8px 0;
  cursor: pointer;
  border: 3px solid transparent;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: #f8f9fa;
  padding: 4px;
}

.gallery-thumb:hover {
  border-color: var(--medium-green);
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 8px 24px rgba(31, 138, 76, 0.3);
}

.gallery-thumb.active {
  border-color: var(--medium-green);
  box-shadow: 0 0 0 3px rgba(31, 138, 76, 0.2);
  transform: scale(1.05);
  animation: glow 2s infinite;
}

.gallery-arrow {
  background: var(--primary-gradient);
  border: none;
  cursor: pointer;
  font-size: 20px;
  padding: 10px 14px;
  margin: 8px 0;
  border-radius: 12px;
  color: white;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.gallery-arrow:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===============================
   MAIN PRODUCT IMAGE
================================ */

.cover-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.main-img-container {
  position: relative;
  display: inline-block;
  width: 480px;
  max-width: 100%;
  height: 480px;
  border-radius: 24px;
  overflow: visible; /* Changed from hidden to visible for zoom */
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  box-shadow: var(--shadow-xl);
  transition: all 0.4s ease;
}

.main-img-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  pointer-events: none; /* Allow mouse events to pass through */
}

.main-img-container:hover::before {
  left: 100%;
}

.main-img-container:hover {
  box-shadow: 0 28px 72px rgba(31, 138, 76, 0.15);
}

.main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  cursor: crosshair;
  background: #ffffff;
  padding: 20px;
  transition: none; /* Remove transform transition for zoom */
}

/* Premium Zoom Result */
.zoom-result {
  position: absolute;
  left: 105%;
  top: 0;
  width: 520px;
  height: 520px;
  border: none;
  border-radius: 24px;
  background-repeat: no-repeat;
  background-size: 200%;
  display: none;
  z-index: 100;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  pointer-events: none; /* Prevent interference with mouse events */
}

.zoom-result::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

/* Show zoom on desktop only */
@media (min-width: 769px) {
  .main-img-container:hover + .zoom-result,
  .main-img:hover ~ .zoom-result {
    display: block;
  }
}

/* ===============================
   ACTION BUTTONS - PREMIUM STYLE
================================ */

.button-row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  justify-content: center;
  width: 100%;
}

.btn {
  flex: 1;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 18px 32px;
  border: none;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-cart {
  background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
  color: #fff;
  position: relative;
  z-index: 1;
}

.btn-cart::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffd200 0%, #f7971e 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 16px;
}

.btn-cart:hover::after {
  opacity: 1;
}

.btn-buy {
  background: linear-gradient(135deg, #1f8a4c 0%, #136639 100%);
  color: #fff;
  position: relative;
  z-index: 1;
  animation: pulse-ring 2s infinite;
}

.btn-buy::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #136639 0%, #1f8a4c 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 16px;
}

.btn-buy:hover::after {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(-2px) scale(0.98);
}

/* ===============================
   RIGHT SECTION - PRODUCT INFO
================================ */

.cover-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: slideInRight 0.8s ease;
  position: relative;
  z-index: 1; 
}

.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* ===============================
   STAR RATING - ANIMATED
================================ */

.rating {
  color: #ffd700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.rating::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #ffd700;
  border-radius: 50%;
  margin-right: 4px;
}

/* ===============================
   PREMIUM PRICE PILL - ENHANCED
================================ */

.price-pill {
  display: inline-flex;
  max-width: 100%;
  flex-wrap: wrap;
  text-align: center;
  align-items: center;
  gap: 16px;
  padding: 20px 36px;
  margin: 20px 0;
  background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
  border: 3px solid transparent;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  width: fit-content;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease 0.4s both;
  isolation: isolate;   /* 🔥 KEY FIX */
  z-index: 0;
}

.price-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 3px;
  background: linear-gradient(135deg, #11998e, #38ef7d);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.mrp-text {
  font-size: 20px;
  font-weight: 900;
  color: #11998e;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mrp-amount {
  font-size: 34px;
  font-weight: 900;
  background: var(--success-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mrp-tax {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.price-pill:hover {
  box-shadow: 0 12px 30px rgba(31, 138, 76, 0.25);
}

/* ===============================
   COLOR SELECTION - ENHANCED
================================ */

.color-names-section {
  margin: 32px 0;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.section-label {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-dark);
  display: block;
  letter-spacing: 0.5px;
}

.color-cards-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.color-card {
  border: 3px solid #e0e0e0;
  border-radius: 16px;
  background: #ffffff;
  padding: 16px 12px;
  text-align: center;
  width: 120px;
  min-height: 160px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.color-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.color-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-lg);
  border-color: var(--medium-green);
}

.color-card.selected {
  border-color: var(--medium-green);
  background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
  box-shadow: 0 0 0 4px rgba(31, 138, 76, 0.2), var(--shadow-md);
  transform: translateY(-4px) scale(1.03);
  animation: glow 2s infinite;
}

.color-card.selected::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  animation: fadeIn 0.3s ease;
}

.color-card.unavailable {
  opacity: 0.5;
  border-color: #e53935;
  cursor: not-allowed;
  filter: grayscale(1);
}

.card-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 12px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.color-card:hover .card-img {
  transform: scale(1.1) rotate(5deg);
}

.card-name {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
  position: relative;
  z-index: 1;
}

/* ===============================
   PRODUCT DESCRIPTION
================================ */

.desc {
  animation: fadeInUp 0.8s ease 0.6s both;
}

.section-heading {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.product-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
}

.product-description ul {
  padding-left: 24px;
  margin: 16px 0;
}

.product-description li {
  margin-bottom: 12px;
  line-height: 1.7;
  position: relative;
}

.product-description li::marker {
  color: var(--medium-green);
  font-weight: bold;
}

.product-description strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* ===============================
   AVAILABLE OFFERS - ENHANCED
================================ */

.available-offers {
  background: linear-gradient(135deg, #2a4d31 0%, #1a3a24 100%);
  padding: 32px;
  border-radius: 20px;
  color: white;
  text-align: center;
  margin-top: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease 0.7s both;
}

.available-offers::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.offer-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.offer-list {
  list-style-type: none;
  padding: 0;
  font-size: 17px;
  font-weight: 500;
  margin: 0;
  position: relative;
  z-index: 1;
}

.offer-list li {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  margin: 12px 0;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.offer-list li:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

/* ===============================
   DELIVERY INFO - ENHANCED
================================ */

.delivery-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 40px;
  border-radius: 20px;
  margin-top: 32px;
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.8s ease 0.8s both;
}

.delivery-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark-green);
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.delivery-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--success-gradient);
  border-radius: 2px;
}

.delivery-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.info-item {
  background: linear-gradient(135deg, #2a4d31 0%, #1f3d28 100%);
  color: white;
  padding: 28px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transition: transform 0.6s ease;
}

.info-item:hover::before {
  transform: translate(25%, 25%);
}

.info-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #355c47 0%, #2a4d31 100%);
}

.info-item h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.info-item p {
  font-size: 15px;
  font-weight: 400;
  color: #e0e0e0;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ===============================
   PRODUCT FAQs - ENHANCED
================================ */

.product-faqs {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 40px;
  border-radius: 20px;
  margin-top: 32px;
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.8s ease 0.9s both;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

.faqs-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark-green);
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.faqs-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.faq-item {
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  max-width: 100%;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  background: linear-gradient(135deg, #2a4d31 0%, #1f3d28 100%);
  color: white;
  font-size: 18px;
  font-weight: 700;
  padding: 20px 24px;
  border: none;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-question:hover {
  background: linear-gradient(135deg, #355c47 0%, #2a4d31 100%);
}

.faq-answer {
  font-size: 16px;
  color: var(--text-gray);
  background: #ffffff;
  padding: 0;
  display: none;
  line-height: 1.7;
  white-space: pre-line;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.faq-item.active .faq-answer {
  display: block;
  padding: 20px 24px;
}

/* ===============================
   CUSTOMER REVIEWS - ENHANCED
================================ */

.customer-reviews {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 50px;
  border-radius: 24px;
  margin-top: 50px;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 1s ease;
}

.reviews-title {
  font-size: 32px;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.reviews-content {
  display: flex;
  gap: 50px;
  justify-content: space-between;
}

.reviews-list {
  flex: 1;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  height: 560px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #1f8a4c #f0f0f0;
}

.reviews-list::-webkit-scrollbar {
  width: 8px;
}

.reviews-list::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.reviews-list::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 10px;
}

.review-item {
  margin-bottom: 28px;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-left: 4px solid var(--medium-green);
}

.review-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.review-rating-stars {
  color: #ffd700;
  font-size: 18px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.7;
  font-style: italic;
}

.review-author {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: 4px;
}

.review-date {
  font-size: 13px;
  color: #999;
  display: block;
}

/* Review Form */
.review-form {
  flex: 1;
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.review-form h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark-green);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.review-form label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: 8px;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  font-size: 15px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: var(--medium-green);
  outline: none;
  box-shadow: 0 0 0 4px rgba(31, 138, 76, 0.1);
}

.review-form textarea {
  resize: vertical;
  min-height: 120px;
}

.review-btn {
  background: var(--primary-gradient);
  color: #fff;
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-md);
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
}

.review-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ===============================
   RELATED PRODUCTS - ENHANCED
================================ */

.related-products {
  padding: 70px 0;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  margin-top: 50px;
}

.related-title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 50px;
  letter-spacing: 2px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.related-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px;
}

.related-track {
  display: flex;
  gap: 24px;
  overflow: hidden;
  scroll-behavior: smooth;
  max-width: 280px;
}

.related-card {
  min-width: 260px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
}

.related-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: var(--shadow-xl);
  border-color: var(--medium-green);
}

.related-img-box {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.related-img-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent,
    rgba(31, 138, 76, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.related-card:hover .related-img-box::before {
  transform: translateX(100%);
}

.related-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.related-card:hover .related-img-box img {
  transform: scale(1.1);
}

.related-info {
  padding: 24px;
  text-align: center;
  background: white;
}

.related-info h3 {
  font-size: 16px;
  font-weight: 700;
  min-height: 44px;
  margin-bottom: 12px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-info .price {
  font-size: 20px;
  font-weight: 800;
  background: var(--danger-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.related-btn {
  display: inline-block;
  background: var(--primary-gradient);
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.related-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.related-arrow {
  position: absolute;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.related-arrow:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.related-arrow.left {
  left: 0;
}

.related-arrow.right {
  right: 0;
}

.related-slider.has-multiple .related-arrow {
  display: flex;
}

/* ===============================
   NOTIFICATION POPUP
================================ */

.notification-popup {
  position: fixed;
  top: 100px;
  right: 30px;
  background: linear-gradient(135deg, #1f8a4c 0%, #136639 100%);
  color: white;
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  z-index: 10000;
  font-weight: 700;
  font-size: 16px;
  animation: slideInRight 0.4s ease, fadeOut 0.3s ease 2.7s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

/* ===============================
   SUCCESS/ERROR MESSAGES
================================ */

.success-message,
.error-message {
  padding: 20px 28px;
  border-radius: 16px;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.5s ease;
}

.success-message {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border-left: 4px solid #28a745;
}

.error-message {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  border-left: 4px solid #dc3545;
}

/* ===============================
   PULSE ANIMATION FOR COLORS
================================ */

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.product-trust-signals {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin: 32px 0 0 0;
    gap: 40px;
}

.trust-item {
    text-align: center;
    flex: 1;
}

.trust-item img {
    width: 54px;
    height: 54px;
    margin-bottom: 8px;
    object-fit: contain;
}

.trust-text span {
    display: block;
    color: #788090;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    margin-top: 0;
}

/* ===============================
   MOBILE RESPONSIVE
================================ */

/* Ensure zoom works only on desktop */
@media (min-width: 769px) {
  .cover-images {
    position: relative;
  }
  
  .zoom-result {
    display: none;
  }
  
  .main-img-container:hover .zoom-result {
    display: block;
  }
}

@media (max-width: 768px) {
  .content-flex {
    flex-direction: column;
    padding: 20px;
    margin: 20px 10px;
    gap: 30px;
  }

  .left-section {
    position: static;
    flex-direction: column;
    gap: 16px;
  }

  .left-gallery {
    display: none;
  }

  .main-img-container {
    width: 100%;
    height: 350px;
  }

  .main-img {
    height: 350px;
    padding: 15px;
  }

  .zoom-result {
    display: none !important;
  }

  .button-row {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    font-size: 16px;
    padding: 16px 24px;
  }

  .product-title {
    font-size: 28px;
    text-align: center;
  }

  .rating {
    justify-content: center;
  }

  .price-pill {
    margin: 20px auto;
    justify-content: center;
    padding: 16px 24px;
  }

  .mrp-amount {
    font-size: 28px;
  }

  .color-cards-row {
    overflow-x: auto;
    padding-bottom: 12px;
    justify-content: flex-start;
  }

  .color-card {
    min-width: 100px;
  }

  .section-heading {
    font-size: 20px;
  }

  .reviews-content {
    flex-direction: column;
    gap: 30px;
  }

  .reviews-list {
    height: auto;
    max-height: 450px;
  }

  .related-track {
    max-width: 100%;
  }

  .related-card {
    min-width: 240px;
  }

  .delivery-details {
    grid-template-columns: 1fr;
  }

  .mobile-thumb-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .thumb-arrow {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-thumbs {
    display: flex;
     width: 100%;
     max-width: 280px;
    overflow: hidden;
    justify-content: flex-start;
    gap: 10px;
  }

  .mobile-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
  }

  .mobile-thumb.active {
    border-color: var(--medium-green);
    box-shadow: 0 0 0 2px rgba(31, 138, 76, 0.3);
  }

  .color-names-section,
  .section-label {
    text-align: center;
  }

  .section-label {
    display: block;
    margin: 0 0 12px 0;
  }

  .color-cards-row {
    justify-content: center;
  }
}

/* Print Styles */
@media print {
  .button-row,
  .related-products,
  .review-form {
    display: none;
  }
}
@media (max-width: 360px) {
  .product-title {
    font-size: 24px;
  }

  .mrp-amount {
    font-size: 24px;
  }

  .section-heading {
    font-size: 18px;
  }

  .btn {
    font-size: 15px;
    padding: 14px 18px;
    
    .content-flex {
    padding: 14px;
    margin: 14px 6px;
  }
}
@media (max-width: 768px) {
  .related-slider {
    padding: 0 16px;
  }
}
.content-flex,
.left-section,
.cover-images,
.button-row {
  max-width: 100%;
  overflow-x: hidden;
}