/**
 * NJ CRAFTS - SINGLE PRODUCT PAGE REDESIGN STYLESHEET
 * Luxury Editorial Fashion E-Commerce Design System
 * Palette: #788A70 (Sage Green), #EAF0E7 (Soft Sage), #FFFFFF (White), #292D2A (Charcoal), #686D68 (Muted Grey), #E5E8E3 (Border), #C76B4A (Terracotta)
 */

/* ==========================================================================
   1. BREADCRUMBS
   ========================================================================== */
.nj-product-breadcrumb {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E8E3;
  padding: 14px 0;
  font-size: 0.82rem;
  color: #686D68;
}

.nj-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nj-breadcrumb-list a {
  color: #686D68;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nj-breadcrumb-list a:hover {
  color: #788A70;
}

.nj-breadcrumb-separator {
  color: #E5E8E3;
  font-size: 0.75rem;
}

.nj-breadcrumb-current {
  color: #292D2A;
  font-weight: 700;
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   2. MAIN PRODUCT HERO LAYOUT (56% Gallery / 44% Info)
   ========================================================================== */
.product-detail-container {
  padding-top: 36px;
  padding-bottom: 72px;
}

.product-hero-layout {
  display: grid;
  grid-template-columns: 56% 44%;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

/* ==========================================================================
   3. PRODUCT GALLERY COMPONENT
   ========================================================================== */
.product-gallery-section {
  position: relative;
  display: flex;
  gap: 16px;
}

/* Desktop Vertical Thumbnail Rail */
.gallery-thumbs-rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 76px;
  flex-shrink: 0;
  max-height: 640px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #E5E8E3 transparent;
}

.gallery-thumbs-rail::-webkit-scrollbar {
  width: 4px;
}

.gallery-thumbs-rail::-webkit-scrollbar-thumb {
  background-color: #E5E8E3;
  border-radius: 9999px;
}

.gallery-thumb-btn {
  width: 76px;
  height: 94px;
  border-radius: 8px;
  border: 1.5px solid #E5E8E3;
  background-color: #FFFFFF;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.gallery-thumb-btn:hover {
  border-color: #788A70;
  transform: translateY(-1px);
}

.gallery-thumb-btn.active {
  border-color: #788A70;
  box-shadow: 0 0 0 2px rgba(120, 138, 112, 0.2);
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Main Product Viewport */
.gallery-main-stage {
  flex: 1;
  position: relative;
  background-color: #FFFFFF;
  border: 1px solid #E5E8E3;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 8px 30px rgba(41, 45, 42, 0.05);
  cursor: zoom-in;
}

.gallery-main-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Badge Tags over Primary Image */
.gallery-badges-wrap {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.badge-fashion {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.badge-fashion.sale {
  background: #C76B4A;
  color: #FFFFFF;
}

.badge-fashion.deal {
  background: #DC2626;
  color: #FFFFFF;
}

.badge-fashion.trending {
  background: #292D2A;
  color: #FFFFFF;
}

.badge-fashion.new {
  background: #788A70;
  color: #FFFFFF;
}

/* Action controls over main image */
.gallery-expand-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(41, 45, 42, 0.12);
  color: #292D2A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gallery-expand-btn:hover {
  background-color: #292D2A;
  color: #FFFFFF;
  transform: scale(1.08);
}

.gallery-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(41, 45, 42, 0.12);
  color: #292D2A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  opacity: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.gallery-main-stage:hover .gallery-arrow-btn {
  opacity: 1;
}

.gallery-arrow-btn:hover {
  background-color: #292D2A;
  color: #FFFFFF;
}

.gallery-arrow-btn.prev {
  left: 14px;
}

.gallery-arrow-btn.next {
  right: 14px;
}

/* Mobile Horizontal Thumbnail Strip */
.gallery-thumbs-mobile {
  display: none;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.gallery-thumbs-mobile .gallery-thumb-btn {
  width: 68px;
  height: 84px;
  scroll-snap-align: start;
}

/* ==========================================================================
   4. PRODUCT INFORMATION COLUMN
   ========================================================================== */
.product-info-panel {
  display: flex;
  flex-direction: column;
}

.product-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.product-category-badge {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C76B4A;
  text-decoration: none;
}

.product-category-badge:hover {
  text-decoration: underline;
}

.product-sku-pill {
  font-size: 0.78rem;
  color: #686D68;
  background-color: #EAF0E7;
  padding: 3px 9px;
  border-radius: 4px;
  font-family: monospace;
}

.product-heading-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 2.7vw, 2.45rem);
  font-weight: 700;
  color: #292D2A;
  line-height: 1.18;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

/* Rating Summary Row */
.product-rating-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.product-star-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.85rem;
  color: #92400E;
}

.product-star-rating .stars-gold {
  color: #F59E0B;
  letter-spacing: 1px;
}

.product-reviews-anchor {
  font-size: 0.84rem;
  color: #686D68;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.product-reviews-anchor:hover {
  color: #788A70;
  text-decoration: underline;
}

.rating-divider {
  color: #E5E8E3;
  font-size: 0.75rem;
}

.product-in-stock-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #166534;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stock-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
  animation: stockPulse 2s infinite;
}

@keyframes stockPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* Promotional Deal Ribbon (Clean, Non-Fake) */
.product-promo-ribbon {
  background: #EAF0E7;
  border: 1.5px solid #E5E8E3;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.promo-ribbon-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-ribbon-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.promo-ribbon-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #292D2A;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.promo-ribbon-sub {
  font-size: 0.80rem;
  color: #686D68;
  margin-top: 1px;
}

.promo-countdown-pill {
  background: #292D2A;
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: monospace;
}

/* ==========================================================================
   5. PRICE CARD & TAX INCLUSION (Refined Luxury Aesthetic)
   ========================================================================== */
.product-pricing-card {
  background-color: #EAF0E7;
  border: 1px solid #E5E8E3;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.product-pricing-main-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.product-price-selling {
  font-size: clamp(1.65rem, 2.2vw, 1.95rem);
  font-weight: 800;
  color: #292D2A;
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.product-price-compare {
  font-size: 1.05rem;
  color: #686D68;
  text-decoration: line-through;
  font-weight: 500;
}

.product-discount-pill {
  background: #C76B4A;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.3px;
  padding: 3px 9px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(199, 107, 74, 0.2);
}

.product-tax-inclusive {
  font-size: 0.75rem;
  color: #686D68;
  white-space: nowrap;
}

/* ==========================================================================
   CUSTOMER INTERACTION & SOCIAL PROOF ELEMENTS
   ========================================================================== */
.customer-interaction-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.interaction-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.interaction-pill.pill-sold {
  background: #FFF7ED;
  color: #C2410C;
  border: 1px solid #FFEDD5;
}

.interaction-pill.pill-sold svg {
  color: #EA580C;
  stroke: #EA580C;
}

.interaction-pill.pill-viewing {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #DCFCE7;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: liveDotPulse 1.8s infinite;
}

@keyframes liveDotPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.product-coupon-interactive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #EAF0E7;
  border: 1px dashed #788A70;
  border-radius: 9px;
  padding: 8px 14px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-coupon-interactive:hover {
  background: #dfe8dc;
  border-color: #65755E;
  transform: translateY(-1px);
}

.coupon-interactive-content {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.coupon-tag-badge {
  background: #C76B4A;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.coupon-copy-text {
  font-size: 0.82rem;
  color: #292D2A;
}

.coupon-code-text {
  color: #C76B4A;
  letter-spacing: 0.5px;
}

.btn-coupon-copy {
  background: #788A70;
  color: #FFFFFF;
  border: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-coupon-copy:hover {
  background: #65755E;
}

.dispatch-urgency-banner {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.78rem;
  color: #92400E;
  margin-bottom: 16px;
}

.stylist-whatsapp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.btn-stylist-chat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-stylist-chat:hover {
  background: #DCFCE7;
  color: #166534;
  transform: translateY(-1px);
}

.btn-share-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E5E8E3;
  color: #686D68;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-share-product:hover {
  background: #EAF0E7;
  color: #292D2A;
}

/* Short Description */
.product-short-summary {
  color: #4A4644;
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

/* ==========================================================================
   6. VARIATION SELECTOR BOX (COLORS, SIZES)
   ========================================================================== */
.product-variants-box {
  background: #FFFFFF;
  border: 1px solid #E5E8E3;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(41, 45, 42, 0.02);
}

.variant-group-wrap {
  margin-bottom: 18px;
}

.variant-group-wrap:last-child {
  margin-bottom: 0;
}

.variant-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.variant-group-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #686D68;
}

.variant-active-val {
  color: #292D2A;
  font-weight: 800;
  text-transform: none;
  font-size: 0.90rem;
}

.btn-open-size-guide {
  background: none;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #788A70;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.btn-open-size-guide:hover {
  color: #65755E;
}

/* Color Swatches Grid */
.color-swatches-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-swatch-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1.5px solid #E5E8E3;
  background: #FFFFFF;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.color-swatch-chip:hover {
  border-color: #788A70;
  background: #FFFFFF;
}

.color-swatch-chip.active {
  border-color: #788A70;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(120, 138, 112, 0.2);
}

.color-swatch-chip .swatch-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  display: inline-block;
  flex-shrink: 0;
}

.color-swatch-chip .swatch-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #4A4644;
}

.color-swatch-chip.active .swatch-name {
  color: #292D2A;
}

/* Size Pills Grid */
.size-pills-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-pill-option {
  min-width: 54px;
  height: 44px;
  padding: 0 16px;
  border: 1.5px solid #E5E8E3;
  background: #FFFFFF;
  color: #292D2A;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.90rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.size-pill-option:hover:not(:disabled) {
  border-color: #788A70;
  color: #788A70;
}

.size-pill-option.active {
  border-color: #788A70;
  background: #788A70;
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(120, 138, 112, 0.25);
}

.size-pill-option:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
  background: #F3EFE8;
  border-color: #E5E8E3;
}

/* ==========================================================================
   7. QUANTITY & MAIN PURCHASE ACTIONS
   ========================================================================== */
.product-actions-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
  flex-wrap: wrap;
}

/* Quantity Stepper */
.product-qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid #E5E8E3;
  border-radius: 8px;
  background: #FFFFFF;
  height: 50px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.qty-step-btn {
  background: none;
  border: none;
  width: 42px;
  height: 100%;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  color: #4A4644;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.qty-step-btn:hover:not(:disabled) {
  background-color: #EAF0E7;
  color: #292D2A;
}

.qty-step-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty-number-input {
  width: 44px;
  text-align: center;
  border: none;
  font-weight: 800;
  font-size: 1.05rem;
  color: #292D2A;
  background: transparent;
  outline: none;
}

/* Primary CTAs */
.btn-product-add-bag {
  flex: 1.3;
  min-width: 180px;
  height: 50px;
  background-color: #788A70;
  color: #FFFFFF !important;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(120, 138, 112, 0.3);
}

.btn-product-add-bag:hover:not(:disabled) {
  background-color: #65755E;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(101, 117, 94, 0.4);
}

.btn-product-add-bag:active:not(:disabled) {
  transform: translateY(0);
}

.btn-product-add-bag:disabled {
  background-color: #9CA3AF;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-product-buy-now {
  flex: 1.1;
  min-width: 150px;
  height: 50px;
  background-color: #292D2A;
  color: #FFFFFF !important;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(41, 45, 42, 0.25);
}

.btn-product-buy-now:hover:not(:disabled) {
  background-color: #1a1c1a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(41, 45, 42, 0.35);
}

.btn-product-wishlist-toggle {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  border: 1.5px solid #E5E8E3;
  background: #FFFFFF;
  color: #686D68;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-product-wishlist-toggle:hover {
  border-color: #788A70;
  color: #788A70;
  background: #EAF0E7;
}

.btn-product-wishlist-toggle.in-wishlist {
  background: #FEE2E2;
  border-color: #F87171;
  color: #DC2626;
}

/* ==========================================================================
   8. PINCODE DELIVERY ESTIMATOR COMPONENT
   ========================================================================== */
.product-delivery-checker-card {
  background-color: #EAF0E7;
  border: 1px solid #E5E8E3;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 24px;
}

.checker-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #292D2A;
}

.checker-input-row {
  display: flex;
  gap: 8px;
}

.checker-input {
  flex: 1;
  padding: 9px 14px;
  border: 1.5px solid #E5E8E3;
  border-radius: 6px;
  font-size: 0.88rem;
  outline: none;
  background: #FFFFFF;
  letter-spacing: 1px;
  font-weight: 600;
  transition: border-color 0.2s;
}

.checker-input:focus {
  border-color: #788A70;
}

.checker-btn {
  background: #788A70;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 9px 20px;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

.checker-btn:hover {
  background: #65755E;
}

.checker-result-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.5;
  display: none;
}

.checker-result-box.success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.checker-result-box.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* ==========================================================================
   9. TRUST & PURCHASE ASSURANCE STRIP
   ========================================================================== */
.product-trust-grid {
  border-top: 1px solid #E5E8E3;
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trust-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: #EAF0E7;
  border: 1px solid #E5E8E3;
  color: #788A70;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #292D2A;
  margin-bottom: 2px;
}

.trust-sub {
  font-size: 0.74rem;
  color: #686D68;
  line-height: 1.35;
}

/* ==========================================================================
   10. PRODUCT INFORMATION TABS & ACCORDIONS
   ========================================================================== */
.product-tabs-wrapper {
  background-color: #FFFFFF;
  border: 1px solid #E5E8E3;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: 0 4px 20px rgba(41, 45, 42, 0.03);
}

.tabs-nav-bar {
  display: flex;
  border-bottom: 1px solid #E5E8E3;
  background: #FFFFFF;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-nav-bar::-webkit-scrollbar {
  display: none;
}

.tab-nav-btn {
  background: none;
  border: none;
  padding: 18px 26px;
  font-size: 0.90rem;
  font-weight: 700;
  color: #686D68;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all 0.2s ease;
  position: relative;
}

.tab-nav-btn:hover {
  color: #292D2A;
}

.tab-nav-btn.active {
  color: #292D2A;
  border-bottom-color: #788A70;
  background: #FFFFFF;
}

.tab-badge-count {
  background: #EAF0E7;
  color: #292D2A;
  font-size: 0.70rem;
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 6px;
}

.tab-content-pane {
  padding: 36px 40px;
  display: none;
}

.tab-content-pane.active {
  display: block;
  animation: tabFadeIn 0.25s ease;
}

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

/* Specifications Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.specs-table tr {
  border-bottom: 1px solid #E5E8E3;
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 12px 14px;
}

.specs-table td.spec-key {
  font-weight: 700;
  color: #292D2A;
  width: 35%;
  background: #EAF0E7;
}

.specs-table td.spec-val {
  color: #4A4644;
}

/* ==========================================================================
   11. REVIEWS SECTION & MODERATION
   ========================================================================== */
.reviews-overview-card {
  background: #EAF0E7;
  border: 1px solid #E5E8E3;
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
}

.score-big-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: #292D2A;
  line-height: 1;
  font-family: 'Playfair Display', Georgia, serif;
}

.score-stars-line {
  color: #F59E0B;
  font-size: 1.15rem;
  margin: 6px 0 2px;
}

.score-count-label {
  font-size: 0.78rem;
  color: #686D68;
  font-weight: 600;
}

.rating-distribution-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dist-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #686D68;
}

.dist-bar-label {
  width: 36px;
  font-weight: 700;
}

.dist-bar-track {
  flex: 1;
  height: 6px;
  background: #E5E8E3;
  border-radius: 999px;
  overflow: hidden;
}

.dist-bar-fill {
  background: #F59E0B;
  height: 100%;
  border-radius: 999px;
}

.review-item-card {
  padding: 22px 0;
  border-bottom: 1px solid #E5E8E3;
}

.review-item-card:last-child {
  border-bottom: none;
}

.review-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-author-name {
  font-weight: 700;
  color: #292D2A;
  font-size: 0.92rem;
}

.review-verified-badge {
  background: #DCFCE7;
  color: #166534;
  font-size: 0.70rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
}

.review-date-text {
  font-size: 0.78rem;
  color: #686D68;
}

.review-title-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #292D2A;
  margin: 6px 0 4px;
}

.review-body-text {
  font-size: 0.88rem;
  color: #4A4644;
  line-height: 1.6;
}

/* ==========================================================================
   12. "YOU MAY ALSO LOVE" RELATED PRODUCTS SLIDING CAROUSEL
   ========================================================================== */
.related-products-section {
  margin-top: 60px;
  position: relative;
}

.related-section-header {
  position: relative;
  text-align: center;
  margin-bottom: 24px;
}

.related-header-center {
  max-width: 650px;
  margin: 0 auto;
}

.section-editorial-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: #292D2A;
  margin-bottom: 6px;
  text-align: center;
  line-height: 1.25;
}

.related-section-subtitle {
  font-size: 0.92rem;
  color: #686D68;
  margin: 0;
}

.related-header-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #E5E8E3;
  background: #FFFFFF;
  color: #292D2A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(41, 45, 42, 0.06);
}

.related-nav-btn:hover:not(:disabled) {
  background: #788A70;
  color: #FFFFFF;
  border-color: #788A70;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(120, 138, 112, 0.25);
}

.related-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Slider Track & Wrapper */
.related-slider-wrapper {
  position: relative;
  width: 100%;
}

.related-side-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #E5E8E3;
  color: #292D2A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 18px rgba(41, 45, 42, 0.12);
  transition: all 0.22s ease;
}

.related-side-btn.side-prev {
  left: -22px;
}

.related-side-btn.side-next {
  right: -22px;
}

.related-side-btn:hover:not(:disabled) {
  background: #788A70;
  color: #FFFFFF;
  border-color: #788A70;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(120, 138, 112, 0.25);
}

.related-side-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
}

.related-products-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 18px 4px;
}

.related-products-track::-webkit-scrollbar {
  display: none;
}

.related-products-track.is-dragging {
  scroll-behavior: auto;
  cursor: grabbing;
}

.related-slide-card {
  flex: 0 0 calc((100% - 64px) / 5);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.related-slide-card .fashion-card-body {
  padding: 12px 14px;
}

.related-slide-card .card-product-name {
  font-size: 0.85rem;
  line-height: 1.32;
  margin-bottom: 6px;
  height: 2.65em;
  min-height: 2.65em;
}

.related-slide-card .card-price-current {
  font-size: 1rem;
}

.related-slide-card .card-price-mrp {
  font-size: 0.75rem;
}

.related-slide-card .nj-card-add-btn {
  height: 36px !important;
  font-size: 0.78rem !important;
}

/* Subtle Progress Indicator Track */
.related-slider-progress-track {
  width: 160px;
  height: 4px;
  background: #E5E8E3;
  border-radius: 999px;
  margin: 14px auto 0;
  overflow: hidden;
  position: relative;
}

.related-slider-progress-thumb {
  height: 100%;
  width: 25%;
  background: #788A70;
  border-radius: 999px;
  transition: transform 0.12s ease-out;
  transform: translateX(0%);
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* Fashion Card Design Matching Homepage */
.nj-fashion-card {
  background: #FFFFFF;
  border: 1px solid #E5E8E3;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.nj-fashion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(41, 45, 42, 0.08);
}

.fashion-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #EAF0E7;
  overflow: hidden;
  box-sizing: border-box;
  flex-shrink: 0;
}

.fashion-card-media a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.fashion-card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  transition: transform 0.4s ease;
}

.nj-fashion-card:hover .fashion-card-media img {
  transform: scale(1.05);
}

.fashion-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  justify-content: space-between;
  box-sizing: border-box;
}

.card-category-tag {
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #C76B4A;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-product-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #292D2A;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2.7em;
  min-height: 2.7em;
}

.card-product-name a {
  color: inherit;
  text-decoration: none;
}

.card-product-name a:hover {
  color: #788A70;
}

.card-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 10px;
}

.card-price-current {
  font-size: 1.05rem;
  font-weight: 800;
  color: #292D2A;
}

.card-price-mrp {
  font-size: 0.78rem;
  color: #9CA3AF;
  text-decoration: line-through;
}

/* ==========================================================================
   13. STICKY MOBILE BOTTOM PURCHASE BAR
   ========================================================================== */
.mobile-sticky-purchase-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid #E5E8E3;
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 9985;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0));
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform: translateY(100%);
  opacity: 0;
}

.mobile-sticky-purchase-bar.visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.sticky-bar-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  background: #EAF0E7;
  border: 1px solid #E5E8E3;
  flex-shrink: 0;
}

.sticky-bar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticky-bar-title-price {
  min-width: 0;
}

.sticky-bar-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #292D2A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.sticky-bar-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #292D2A;
}

.sticky-bar-cta-btn {
  background: #788A70;
  color: #FFFFFF !important;
  border: none;
  border-radius: 9999px;
  padding: 10px 22px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(120, 138, 112, 0.3);
}

.sticky-bar-cta-btn:hover {
  background: #65755E;
}

/* ==========================================================================
   14. SIZE GUIDE & LIGHTBOX MODALS
   ========================================================================== */
.nj-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(41, 45, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.nj-modal-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 660px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalCardPop 0.25s ease-out;
}

@keyframes modalCardPop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.nj-modal-head {
  background: #292D2A;
  color: #FFFFFF;
  padding: 20px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nj-modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.nj-modal-close-btn {
  background: none;
  border: none;
  font-size: 26px;
  color: #FFFFFF;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: opacity 0.15s;
}

.nj-modal-close-btn:hover {
  opacity: 0.8;
}

.nj-modal-body {
  padding: 26px;
  max-height: 75vh;
  overflow-y: auto;
}

/* Fullscreen Gallery Lightbox */
.gallery-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 14, 20, 0.94);
  backdrop-filter: blur(8px);
  z-index: 10010;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-content-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-view {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close-btn {
  position: absolute;
  top: -24px;
  right: -24px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .product-hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .gallery-thumbs-rail {
    display: none;
  }
  .gallery-thumbs-mobile {
    display: flex;
  }
  .related-side-btn {
    display: none;
  }
  .related-slide-card {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 0;
  }
  .related-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .product-detail-container {
    padding-top: 20px;
    padding-bottom: 50px;
  }
  .product-heading-title {
    font-size: 1.75rem;
  }
  .product-pricing-card {
    padding: 14px 16px;
  }
  .product-price-selling {
    font-size: 1.85rem;
  }
  .product-actions-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .product-qty-stepper {
    width: 100%;
    justify-content: center;
  }
  .btn-product-add-bag,
  .btn-product-buy-now {
    width: 100%;
    min-width: 100%;
  }
  .reviews-overview-card {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .related-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 12px;
  }
  .related-header-center {
    margin: 0;
    text-align: left;
  }
  .section-editorial-title {
    text-align: left;
    margin-bottom: 4px;
  }
  .related-header-controls {
    position: static;
  }
  .related-slide-card {
    flex: 0 0 calc((100% - 16px) / 2);
    min-width: 175px;
  }
  .related-products-track {
    gap: 16px;
    padding-bottom: 12px;
  }
  .related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }
  .mobile-sticky-purchase-bar {
    display: flex;
  }
  .tab-content-pane {
    padding: 24px 18px;
  }
  .product-trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .related-slide-card {
    flex: 0 0 76%;
    min-width: 200px;
  }
  .related-products-track {
    gap: 12px;
  }
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
