*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html,
button,
input,
select,
textarea,
optgroup {
  font-family: 'Open Sans', sans-serif;
}

/* Font Awesome 6 Icon Protection */
.fa-solid,
.fas,
i.fa-solid,
i.fas,
span.fa-solid,
span.fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
}

.fa-regular,
.far,
i.fa-regular,
i.far,
span.fa-regular,
span.far {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
}

.fa-brands,
.fab,
i.fa-brands,
i.fab,
span.fa-brands,
span.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
}

.fa,
.fa-duotone,
.fa-thin,
.fa-light {
  font-family: "Font Awesome 6 Free" !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
}

.fa::before,
.fas::before,
.fa-solid::before,
.far::before,
.fa-regular::before,
.fab::before,
.fa-brands::before,
.fa-duotone::before,
.fa-thin::before,
.fa-light::before,
i[class*="fa-"]::before,
span[class*="fa-"]::before,
i[class*="fa-"]::after,
span[class*="fa-"]::after {
  font-family: inherit !important;
  font-weight: inherit !important;
  font-style: normal !important;
}

/* Prevent horizontal overflow on Single Product Page */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.product-container {
  display: flex;
  width: 92%;
  max-width: 1400px;
  margin: 60px auto 80px auto;
  gap: 50px;
  align-items: flex-start;
  box-sizing: border-box;
}

/* Gallery Section (60% Desktop Width) - Sticky sticky on scroll down entire product page */
.product-gallery {
  flex: 0 0 calc(60% - 30px);
  max-width: calc(60% - 30px);
  width: calc(60% - 30px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky !important;
  top: 110px !important;
  align-self: flex-start !important;
  z-index: 10;
  box-sizing: border-box;
}

/* Product Info (40% Desktop Width) */
.product-info {
  flex: 0 0 calc(40% - 20px);
  max-width: calc(40% - 20px);
  width: calc(40% - 20px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
}

.main-image {
  width: 100%;
  height: 580px;
  background: transparent;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M16 2v28M2 16h28' stroke='%23ffffff' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M16 2v28M2 16h28' stroke='%23000000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 16 16, crosshair !important;
}

.main-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
  will-change: transform, opacity;
}

.main-image:hover img {
  transform: scale(1.08);
}

.main-image,
.main-image img,
.product-gallery img,
#modal-image {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M16 2v28M2 16h28' stroke='%23ffffff' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M16 2v28M2 16h28' stroke='%23000000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 16 16, crosshair !important;
}

/* Image Switching Animation */
.main-image img.switching {
  opacity: 0.2;
  transform: scale(0.95);
}

/* Main Image Overlay Navigation Buttons */
.main-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #111111;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.85;
}

.main-nav-btn.prev {
  left: 14px;
}

.main-nav-btn.next {
  right: 14px;
}

.main-nav-btn:hover {
  background: #261F12;
  color: #ffffff;
  border-color: #261F12;
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .main-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 14px;
    opacity: 0.95;
  }

  .main-nav-btn.prev {
    left: 8px;
  }

  .main-nav-btn.next {
    right: 8px;
  }
}

.thumbnail-slider {
  display: flex;
  align-items: center;
  margin-top: 22px;
  width: 100%;
  gap: 10px;
  justify-content: center;
}

.thumbnails {
  display: flex;
  gap: 12px;
  width: 364px;
  max-width: 364px;
  overflow-x: auto;
  padding: 6px 4px;
  scroll-behavior: smooth;
  flex-wrap: nowrap;
}

.thumbnails::-webkit-scrollbar {
  display: none;
}

.thumbnails img {
  width: 80px;
  height: 80px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex-shrink: 0;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px;
  cursor: pointer;
  background-color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.thumbnails img:hover {
  border-color: #3B82F6;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.thumbnails img.active {
  border-color: #261F12;
  box-shadow: 0 0 0 2px #261F12, 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: scale(1.02);
}

.slider-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.slider-btn:hover {
  background: #261F12;
  color: #ffffff;
  border-color: #261F12;
  transform: scale(1.1);
}

/* Info Section */
.product-info {
  padding-top: 0;
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-top: 0 !important;
  margin-bottom: 14px;
  text-align: left;
  letter-spacing: -0.3px;
}

.product-title .product-main-title {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
}

.product-title .product-subtitle,
.product-title p,
.product-title span.product-subtitle,
.product-title small {
  display: block;
  font-size: 24px !important;
  font-weight: 400;
  color: #4b5563;
  margin-top: 6px;
  line-height: 1.35;
}


.rating-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 18px;
}

.rating-badge .star {
  color: #f59e0b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.reviews-count {
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 6px;
}

.check-icon {
  font-size: 14px;
  color: #10b981;
}

.rating-badge.no-reviews-badge {
  opacity: 0.9;
  transition: all 0.2s ease;
}

.rating-badge.no-reviews-badge:hover {
  opacity: 1;
}

.rating-badge .star.empty-star {
  color: #94a3b8;
}

.rating-badge .be-first-text {
  font-size: 13px;
  color: #3b82f6;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.rating-badge.no-reviews-badge:hover .be-first-text {
  color: #1d4ed8;
}

/* Price */
.price-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.original-price {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 18px;
}

.discounted-price {
  color: #261F12;
  font-size: 28px;
  font-weight: 700;
}

.discount-tag {
  background-color: #dc2626;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.tax-info {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f3f4f6;
}


/* Key Highlights */
.highlights-section {
  margin-bottom: 26px;
}

.highlights-section h3 {
  font-size: 13px;
  color: #6b7280;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.tag i {
  color: #3B82F6;
  font-size: 13px;
}

.tag:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

/* Size Selector */
.size-section {
  margin-bottom: 24px;
}

.size-section label {
  display: block;
  font-size: 14px;
  color: #374151;
  margin-bottom: 10px;
  font-weight: 500;
}

.size-section label span {
  font-weight: 700;
  color: #111827;
}

.size-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #261F12;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  background-color: #fff;
  font-weight: 600;
}

.size-box img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.size-box span {
  font-size: 15px;
}

/* Quantity & Add to Cart */
.quantity-label {
  font-size: 14px;
  color: #374151;
  margin-bottom: 10px;
  font-weight: 500;
}

.cart-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.quantity-control {
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  height: 48px;
  overflow: hidden;
  background: #fff;
}

.quantity-control button {
  width: 42px;
  border: none;
  background: #f9fafb;
  font-size: 19px;
  cursor: pointer;
  color: #111827;
  transition: background 0.2s;
}

.quantity-control button:hover {
  background: #e5e7eb;
}

.quantity-control input {
  width: 48px;
  border: none;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  outline: none;
  color: #111827;
}

.add-to-cart-btn {
  flex: 1;
  height: 48px;
  background-color: #261F12;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(38, 31, 18, 0.2);
}

.add-to-cart-btn:hover {
  background-color: #3B82F6;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
}

.add-to-cart-btn.is-loading,
.buy-now-btn.is-loading {
  position: relative !important;
  pointer-events: none !important;
  cursor: wait !important;
  opacity: 0.9 !important;
}

.add-to-cart-btn.is-loading .btn-spinner,
.buy-now-btn.is-loading .btn-spinner {
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  border: 2.5px solid rgba(255, 255, 255, 0.35) !important;
  border-top-color: #ffffff !important;
  border-radius: 50% !important;
  animation: btnSpinnerRotate 0.65s linear infinite !important;
  box-sizing: border-box !important;
}

/* Buy Now Button - Full Div Width */
.buy-now-wrapper {
  width: 100%;
  margin-top: 14px;
}

.buy-now-btn {
  width: 100%;
  height: 52px;
  background-color: #3B82F6;
  color: #ffffff;
  border: 2px solid #3B82F6;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
  text-transform: uppercase;
}

.buy-now-btn:hover {
  background-color: #261F12;
  color: #ffffff;
  border-color: #261F12;
  box-shadow: 0 6px 20px rgba(38, 31, 18, 0.35);
  transform: translateY(-2px);
}

.buy-now-btn:active {
  transform: translateY(0);
}

/* Zoom Badge Overlay on Main Image */
.zoom-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(38, 31, 18, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  opacity: 0.85;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 5;
}

.main-image:hover .zoom-badge {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(38, 31, 18, 0.95);
}

.zoom-badge i.big-plus-icon,
.big-plus-icon {
  font-size: 16px;
  font-weight: 800;
  color: #3B82F6;
}

#zoom-in-btn i {
  font-size: 16px;
  font-weight: 800;
}

/* Body Modal Open Lock */
body.modal-open {
  overflow: hidden !important;
  touch-action: none !important;
}

/* Dedicated Fullscreen Lightbox Portal Modal Component */
.fullscreen-lightbox-portal,
.image-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  height: 100vh !important;
  z-index: 99999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-sizing: border-box !important;
}

.fullscreen-lightbox-portal.active,
.image-modal.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.modal-backdrop {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgb(0 0 0 / 38%) !important;
  z-index: 1 !important;
}

/* Close Button (Top Right) */
.modal-close-corner {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 300;
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
  transition: all 0.25s ease;
}

.modal-close-corner:hover {
  background: #ef4444;
  transform: scale(1.05);
}

/* Toolbar Buttons (Top Center) */
.modal-toolbar {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.modal-counter {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding-right: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  user-select: none;
}

.zoom-info {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 0 6px;
  user-select: none;
}

.modal-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-btn:hover {
  background: #ffffff;
  color: #1a1a1a;
  transform: scale(1.1);
}

/* Navigation Buttons (Left / Right Edges) */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 300;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-nav:hover {
  background: #ffffff;
  color: #1a1a1a;
  transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev {
  left: 28px;
}

.modal-nav.next {
  right: 28px;
}

/* Perfectly Centered Viewport & Image scaling max-width: 90vw and max-height: 90vh */
.modal-viewport {
  position: relative !important;
  z-index: 100 !important;
  width: 90vw !important;
  height: 90vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  margin: auto !important;
  user-select: none;
  pointer-events: none !important;
}

#modal-image {
  max-width: 90vw !important;
  max-height: 90vh !important;
  object-fit: contain !important;
  margin: auto !important;
  display: block !important;
  z-index: 101 !important;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.8));
  transform-origin: center center;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M16 4v24M4 16h24' stroke='%23ffffff' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M16 4v24M4 16h24' stroke='%23000000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") 16 16, crosshair !important;
  pointer-events: auto !important;
}

#modal-image.is-zoomed {
  cursor: grab;
}

#modal-image.is-dragging {
  cursor: grabbing;
}

.fullscreen-lightbox-portal.active #modal-image,
.image-modal.active #modal-image {
  transform: scale(1);
}

.modal-viewport.is-dragging #modal-image {
  transition: none !important;
}

/* Modal Bottom Thumbnails Bar */
.modal-thumbnails {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 90vw;
  overflow-x: auto;
}

.modal-thumbnails::-webkit-scrollbar {
  display: none;
}

.modal-thumbnails img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.25s ease;
}

.modal-thumbnails img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.modal-thumbnails img.active {
  opacity: 1;
  border-color: #3B82F6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .modal-nav.prev {
    left: 10px;
  }

  .modal-nav.next {
    right: 10px;
  }

  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .modal-toolbar {
    top: 15px;
    padding: 4px 10px;
  }

  .modal-viewport {
    width: 94vw;
    height: 74vh;
  }

  #modal-image {
    max-width: 92%;
    max-height: 92%;
  }
}

/* Product Description Tabs & Panels Section */
.product-description {
  max-width: 1260px;
  width: 90%;
  margin: 60px auto 80px auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.description-tabs {
  display: flex;
  gap: 15px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0;
  margin-bottom: 35px;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex-wrap: nowrap;
}

.description-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  padding: 12px 24px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.3s ease;
  user-select: none;
}

.tab-btn:hover {
  color: #261F12;
}

.tab-btn.active {
  color: #261F12;
  border-bottom-color: #3B82F6;
}

/* Tab Panels */
.tab-content-wrapper {
  position: relative;
}

.tab-panel {
  display: none;
  animation: fadeInTab 0.4s ease forwards;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.desc-text-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 16px;
}

.desc-text-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #261F12;
  margin: 24px 0 12px 0;
}

.desc-text-content ul {
  margin: 10px 0 20px 22px;
  list-style-type: disc;
}

.desc-text-content ul li {
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 8px;
}

.specs-block {
  display: flex;
  gap: 35px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 16px 24px;
  border-radius: 12px;
  margin: 22px 0;
  flex-wrap: wrap;
}

.specs-block p {
  margin-bottom: 0;
  font-size: 14px;
  color: #111827;
  line-height: 1.5;
}

.faq-item-verbatim {
  background: #f9fafb;
  border-left: 3px solid #3B82F6;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
}

.faq-item-verbatim p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.7;
}

.policy-divider {
  border: none;
  border-top: 1px dashed #e5e7eb;
  margin: 22px 0;
}

.full-ing-box {
  background: #f3f4f6;
  padding: 16px 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.full-ing-box p {
  margin-bottom: 0;
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .product-description {
    padding: 24px 16px;
    margin: 30px auto 50px auto;
  }

  .tab-btn {
    font-size: 14px;
    padding: 10px 16px;
  }

  .specs-block {
    flex-direction: column;
    gap: 14px;
  }
}



/* ==========================================================================
   LEXADERM CUSTOM REVIEWS SECTION (Matching Reference Design)
   ========================================================================== */
.lexaderm-product-reviews-section {
  width: 100%;
  padding: 60px 0 80px 0;
  background-color: #FAFAFA;
  border-top: 1px solid #EEEEEE;
}

.reviews-section-container {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
}

/* 1. Header: Reviews Tab & Write a Review Button */
.reviews-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 0;
  margin-bottom: 30px;
}

.nav-tabs-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-tab-item {
  background: transparent;
  border: none;
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  padding: 12px 6px;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  flex-direction: column;
}

.nav-tab-item .active-tab-line {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: #3B82F6;
  border-radius: 3px 3px 0 0;
}

.nav-action-right {
  display: flex;
  align-items: center;
}

.write-review-trigger-btn {
  background: transparent;
  border: 1.5px solid #0F172A;
  color: #0F172A;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.write-review-trigger-btn:hover {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
  transform: translateY(-1px);
}

/* 2. Review Stats Analytics Bar */
.reviews-stats-bar {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 36px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 30px;
}

.stat-block.rating-summary-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.rating-large-number {
  font-size: 52px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
}

.rating-stars-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rating-stars-row {
  color: #F59E0B;
  font-size: 18px;
  display: flex;
  gap: 3px;
}

.rating-based-on {
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
}

.stat-block.scent-rating-block {
  border-left: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
  padding: 0 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scent-question-title {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
}

.scent-progress-track {
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.scent-fill {
  height: 100%;
  background: linear-gradient(90deg, #3B82F6, #2563EB);
  border-radius: 999px;
  transition: width 0.5s ease;
}

.scent-labels-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
}

.stat-block.recommendation-block {
  display: flex;
  align-items: center;
  justify-content: center;
}

.recommendation-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  color: #1D4ED8;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
}

.recommendation-pill i {
  color: #EF4444;
  font-size: 16px;
}

/* 3. Filters & Search Toolbar */
.reviews-filter-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.filter-left-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.filter-dropdown-wrap {
  position: relative;
}

.reviews-sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 10px 36px 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.reviews-sort-select:focus {
  border-color: #3B82F6;
}

.filter-dropdown-wrap .select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 11px;
  color: #64748B;
}

.filter-search-wrap {
  position: relative;
  min-width: 260px;
}

.filter-search-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 13px;
}

.reviews-search-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 10px 36px 10px 36px;
  font-size: 13.5px;
  color: #1E293B;
  outline: none;
  transition: all 0.2s ease;
}

.reviews-search-input:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.clear-search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #94A3B8;
  cursor: pointer;
  padding: 2px 6px;
}

.clear-search-btn:hover {
  color: #1E293B;
}

.filter-pills-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-pill-btn.active {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.filter-pill-btn:hover:not(.active) {
  background: #F1F5F9;
  border-color: #94A3B8;
  color: #0F172A;
}

.pill-count {
  font-size: 12px;
  opacity: 0.9;
}

/* 4. Reviews Cards Grid */
.reviews-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.review-masonry-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.review-masonry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border-color: #CBD5E1;
}

/* Card Media Wrap (Photo & Video) */
.card-media-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  background: #0F172A;
  overflow: hidden;
  cursor: pointer;
}

.card-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.card-media-wrap:hover .card-media-img {
  transform: scale(1.04);
}

.video-placeholder-poster {
  width: 100%;
  height: 100%;
  background: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  font-size: 48px;
}

.video-play-badge-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #FFFFFF;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  cursor: pointer;
  transition: all 0.25s ease;
  pointer-events: none;
}

.card-media-wrap:hover .video-play-badge-btn {
  background: #3B82F6;
  border-color: #3B82F6;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.media-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.card-media-wrap:hover .media-zoom-hint {
  opacity: 1;
}

/* Card Body */
.card-body-content {
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-stars-date-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-stars-gold {
  color: #F59E0B;
  font-size: 14px;
  display: flex;
  gap: 2px;
}

.card-relative-date {
  font-size: 12px;
  color: #94A3B8;
  font-weight: 500;
}

.card-review-title {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.35;
}

.card-review-text {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.card-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.author-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
}

.verified-buyer-badge {
  display: inline-flex;
  align-items: center;
  color: #3B82F6;
  font-size: 14px;
}

.card-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
  margin-top: auto;
}

.helpful-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  color: #64748B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: #E2E8F0;
  color: #1E293B;
}

.action-btn.voted {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #3B82F6;
}

.share-review-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 14px;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.share-review-btn:hover {
  color: #0F172A;
}

/* Empty State */
.no-reviews-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
}

.no-reviews-box .empty-icon {
  font-size: 48px;
  color: #94A3B8;
  margin-bottom: 16px;
}

.no-reviews-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.no-reviews-box p {
  font-size: 14px;
  color: #64748B;
  max-width: 440px;
  margin: 0 auto 20px auto;
  line-height: 1.5;
}

.btn-be-first {
  display: inline-flex;
  margin: 0 auto;
}

/* 5. Write a Review Modal */
.review-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.review-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.review-modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  height: 90vh;
  max-height: 90vh;
  overflow-y: auto;
  padding: 35px 30px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.review-modal-overlay.active .review-modal-content {
  transform: translateY(0);
}

.review-modal-content::-webkit-scrollbar {
  width: 6px;
}

.review-modal-content::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}

.review-modal-content::-webkit-scrollbar-thumb {
  background: #3B82F6;
  border-radius: 4px;
}

.close-modal-btn {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #64748B;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.close-modal-btn:hover {
  color: #0F172A;
}

.modal-header-area {
  margin-bottom: 24px;
  padding-right: 30px;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 13.5px;
  color: #64748B;
  margin: 0;
}

.review-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-modal-form .review-form-row-2col,
.review-modal-form .form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
  padding: 0 !important;
}

.review-modal-form .review-form-row-2col::before,
.review-modal-form .review-form-row-2col::after,
.review-modal-form .form-row::before,
.review-modal-form .form-row::after {
  display: none !important;
}

.review-modal-form .form-group,
.review-modal-form .review-form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.review-modal-form .form-label,
.review-modal-form .form-group label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  display: block !important;
  margin-bottom: 2px !important;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  color: #1E293B;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Interactive Star Rating */
.interactive-star-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  cursor: pointer;
}

.interactive-star-rating .star-option {
  color: #CBD5E1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.interactive-star-rating .star-option.active,
.interactive-star-rating .star-option.hovered {
  color: #F59E0B;
}

.interactive-star-rating .star-option:hover {
  transform: scale(1.15);
}

.rating-label-hint {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  margin-left: 8px;
}

/* Scent Pills in Modal */
.scent-choice-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.scent-pill-label {
  border: 1px solid #CBD5E1;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  background: #F8FAFC;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.scent-pill-label input {
  display: none;
}

.scent-pill-label.active,
.scent-pill-label:hover {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #1D4ED8;
}

/* Recommendation Radio Group */
.recommend-toggle-group {
  display: flex;
  gap: 12px;
}

.rec-btn-label {
  border: 1px solid #CBD5E1;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #F8FAFC;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.rec-btn-label input {
  display: none;
}

.rec-btn-label.active {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #FFFFFF;
}

/* File Upload Zone */
.file-upload-box {
  border: 2px dashed #CBD5E1;
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  background: #F8FAFC;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.file-upload-box:hover,
.file-upload-box.dragover {
  border-color: #3B82F6;
  background: #EFF6FF;
}

.file-upload-box i {
  font-size: 24px;
  color: #94A3B8;
  margin-bottom: 2px;
}

.file-upload-box:hover i {
  color: #3B82F6;
}

.file-upload-box span {
  font-size: 13px;
  color: #475569;
}

.file-upload-box span strong {
  color: #3B82F6;
  text-decoration: underline;
}

.file-type-note {
  font-size: 11px !important;
  color: #94A3B8 !important;
}

.file-preview-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.file-preview-item {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #CBD5E1;
}

.file-preview-item img,
.file-preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-preview-item .remove-file-btn {
  position: absolute;
  top: 3px;
  right: 3px;
  background: rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Moderation Notice */
.moderation-notice-box {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #1E40AF;
  display: flex;
  gap: 10px;
  align-items: center;
}

.moderation-notice-box i {
  font-size: 16px;
  color: #3B82F6;
}

/* Submit Modal Button */
.submit-modal-btn {
  background: #3B82F6;
  color: #FFFFFF;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-modal-btn:hover {
  background: #2563EB;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
}

.submit-modal-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Modal Success State */
.review-form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 10px;
}

.review-form-success i {
  font-size: 52px;
  color: #16A34A;
  margin-bottom: 16px;
}

.review-form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.review-form-success p {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 400px;
}

.close-success-modal-btn {
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* 6. Lightboxes (Video & Photo) */
.video-player-lightbox,
.photo-review-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.lightbox-content-box {
  position: relative;
  width: 90%;
  max-width: 760px;
  background: #000000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.lightbox-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #FFFFFF;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
}

.lightbox-close-btn:hover {
  background: #3B82F6;
}

.video-holder video {
  width: 100%;
  max-height: 75vh;
  display: block;
  outline: none;
}

.lightbox-video-title,
.lightbox-photo-title {
  color: #FFFFFF;
  font-size: 14px;
  padding: 12px 18px;
  background: #111827;
  margin: 0;
}

.photo-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN (ALL SCREENS & MOBILE BREAKPOINTS)
   ========================================================================== */

/* 1. Large Screen Adjustments (max-width: 1200px) */
@media (max-width: 1200px) {
  .product-container {
    width: 95%;
    gap: 30px;
    margin: 30px auto 60px auto;
  }

  .product-gallery {
    flex: 0 0 calc(60% - 18px);
    max-width: calc(60% - 18px);
    width: calc(60% - 18px);
  }

  .product-info {
    flex: 0 0 calc(40% - 12px);
    max-width: calc(40% - 12px);
    width: calc(40% - 12px);
    min-width: 0;
  }

  .product-description {
    width: 95%;
    padding: 30px 24px;
    margin: 40px auto 60px auto;
  }

  .product-review-section .review-container {
    padding: 0 16px;
  }

  .main-image {
    height: 480px;
  }
}

/* 2. Tablet Screen Adjustments (max-width: 1024px) */
@media (max-width: 1024px) {
  .product-container {
    flex-direction: column;
    width: 94%;
    margin: 20px auto 50px auto;
    gap: 30px;
  }

  .product-gallery {
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    align-self: center !important;
  }

  .main-image {
    height: 420px;
    border-radius: 12px;
  }

  .product-info {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  .product-title {
    font-size: 24px;
  }

  .reviews-stats-bar {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .stat-block.scent-rating-block {
    border-left: none;
    border-right: none;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 20px 0;
  }

  .reviews-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* 3. Small Tablet & Large Phone Adjustments (max-width: 768px) */
@media (max-width: 768px) {
  .product-container {
    width: 95%;
    margin: 15px auto 40px auto;
  }

  .main-image {
    height: 340px;
  }

  .thumbnail-slider {
    margin-top: 14px;
  }

  .thumbnails {
    width: 100%;
    max-width: 100%;
  }

  .thumbnails img {
    width: 65px;
    height: 65px;
  }

  .product-title {
    font-size: 20px;
  }

  .product-title p {
    font-size: 16px;
  }

  .price-wrapper .discounted-price {
    font-size: 24px;
  }

  .price-wrapper .original-price {
    font-size: 16px;
  }

  .highlights-section .tags-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    width: 100%;
  }

  .cart-actions .quantity-control {
    flex: 0 0 auto;
  }

  .cart-actions .add-to-cart-btn {
    flex: 1 1 180px;
    min-width: 140px;
  }

  .cart-actions .product-page-wishlist-btn {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }

  .buy-now-wrapper {
    width: 100%;
  }

  .buy-now-btn {
    width: 100%;
  }

  .product-description {
    width: 95%;
    padding: 20px 16px;
    margin: 30px auto 40px auto;
    border-radius: 12px;
  }

  .description-tabs {
    flex-direction: column;
    gap: 10px;
    border-bottom: none;
    margin-bottom: 20px;
    overflow-x: visible;
  }

  .tab-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0;
    box-sizing: border-box;
    transition: all 0.25s ease;
  }

  .tab-btn::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    color: #64748b;
    transition: transform 0.3s ease;
  }

  .tab-btn.active {
    background: #faf7ee;
    border-color: #3B82F6;
    color: #111111;
    border-radius: 8px 8px 0 0;
  }

  .tab-btn.active::after {
    transform: rotate(180deg);
    color: #3B82F6;
  }

  .description-tabs .tab-panel.active,
  .tab-panel.active {
    display: block;
    background: #ffffff;
    border: 1px solid #3B82F6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 20px 18px;
    margin-top: -10px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  }

  .specs-block {
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }

  .reviews-section-container {
    width: 95%;
  }

  .reviews-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-left-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-search-wrap {
    min-width: 100%;
  }

  .reviews-cards-grid {
    grid-template-columns: 1fr;
  }

  .review-modal-content {
    width: 95%;
    padding: 24px 18px;
  }
}

/* 4. Extra Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .product-container {
    width: 95%;
    margin: 10px auto 30px auto;
    padding: 0;
  }

  .main-image {
    height: 280px;
  }

  .thumbnails img {
    width: 52px;
    height: 52px;
    padding: 3px;
  }

  .product-title {
    font-size: 18px;
  }

  .rating-badge {
    flex-wrap: wrap;
  }

  .cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .cart-actions .quantity-control {
    flex: 0 0 auto;
    height: 44px;
  }

  .cart-actions .quantity-control button {
    width: 36px;
    font-size: 16px;
  }

  .cart-actions .quantity-control input {
    width: 38px;
    font-size: 14px;
  }

  .cart-actions .add-to-cart-btn {
    flex: 1 1 calc(100% - 150px);
    height: 44px;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 0 8px;
  }

  .cart-actions .product-page-wishlist-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }

  .filter-search-wrap {
    min-width: 0 !important;
    width: 100% !important;
  }

  .filter-dropdown-wrap,
  .reviews-sort-select {
    width: 100% !important;
  }

  .filter-pills-wrap {
    width: 100%;
    gap: 6px;
  }

  .filter-pill-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .review-modal-content {
    padding: 16px 12px;
  }

  .modal-title {
    font-size: 18px;
  }

  .review-modal-form .review-form-row-2col,
  .review-modal-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* 5. Ultra Narrow Mobile Devices (max-width: 360px) */
@media (max-width: 360px) {
  .cart-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-actions .quantity-control {
    width: 100%;
    justify-content: center;
  }

  .cart-actions .add-to-cart-btn,
  .cart-actions .product-page-wishlist-btn {
    width: 100%;
  }
}