/* ============================================================
   ZEST NEPAL — Premium Eyewear Product Detail Page Styles
   Brand Theme: Minimal Luxury | Accent: #f05a27 | Font: Poppins
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --zest-orange: #f05a27;
  --zest-orange-hover: #d64719;
  --zest-orange-light: rgba(240, 90, 39, 0.08);
  --color-dark: #1a1a1a;
  --color-gray: #4d4d4d;
  --color-light-gray: #888888;
  --color-border: #eaeaea;
  --bg-soft: #fcfcfc;
  --bg-light: #f7f7f8;
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-smooth: 0 12px 40px rgba(0, 0, 0, 0.06);
  --shadow-premium: 0 20px 50px rgba(240, 90, 39, 0.15);
  --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-poppins: 'Poppins', sans-serif;
}

/* Base Wrapper */
.zpd-wrap {
  font-family: var(--font-poppins);
  background-color: #ffffff;
  color: var(--color-dark);
  overflow-x: hidden;
  padding-bottom: 60px;
}

/* Breadcrumb Navigation */
.zpd-breadcrumb-section {
  background: var(--bg-light);
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.zpd-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-light-gray);
  margin: 0;
  padding: 0;
  list-style: none;
}

.zpd-breadcrumb a {
  color: var(--color-gray);
  text-decoration: none;
  transition: var(--transition-fast);
  font-weight: 500;
}

.zpd-breadcrumb a:hover {
  color: var(--zest-orange);
}

.zpd-breadcrumb .sep {
  font-size: 0.7rem;
  color: #ccc;
}

.zpd-breadcrumb .current {
  color: var(--zest-orange);
  font-weight: 600;
}

/* Main Layout Grid */
.zpd-detail-container {
  max-width: 1350px;
  margin: 40px auto;
  padding: 0 24px;
}

.zpd-row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* Columns */
.zpd-col-gallery {
  width: 55%;
  position: relative;
}

.zpd-col-info {
  width: 45%;
  position: -webkit-sticky;
  position: sticky;
  top: 110px;
  /* offset to stay sticky below sticky header */
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: none;
  /* Hide scrollbar for clean luxury feel */
  padding-left: 12px;
}

.zpd-col-info::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar for Chrome/Safari */
}

/* Product Gallery System */
.zpd-gallery-wrapper {
  display: flex;
  gap: 20px;
}

/* Vertical Thumbnails */
.zpd-thumbs-vertical {
  width: 90px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.zpd-thumb-item {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  background: var(--bg-soft);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.zpd-thumb-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-fast);
}

.zpd-thumb-item:hover {
  border-color: var(--zest-orange);
  transform: translateY(-2px);
}

.zpd-thumb-item.active {
  border-color: var(--zest-orange);
  background: #fff;
  box-shadow: 0 4px 15px rgba(240, 90, 39, 0.1);
}

/* Main Preview Card */
.zpd-main-preview-card {
  flex-grow: 1;
  background: var(--bg-soft);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.05 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.zpd-main-preview-card:hover {
  box-shadow: var(--shadow-smooth);
}

.zpd-main-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.zpd-main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
}

/* Image Zoom Magnifying Glass Style */
.zpd-zoom-active .zpd-main-image {
  transform: scale(2.2);
}

/* Gallery Badges */
.zpd-badges-container {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.zpd-badge {
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.zpd-badge-sale {
  background: var(--zest-orange);
}

.zpd-badge-new {
  background: #1aad73;
}

.zpd-badge-hot {
  background: #e02020;
}

/* Wishlist Trigger floating icon */
.zpd-wishlist-float {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  z-index: 10;
  color: #aaa;
  font-size: 1.1rem;
}

.zpd-wishlist-float:hover {
  transform: scale(1.1);
  color: var(--zest-orange);
  box-shadow: 0 6px 20px rgba(240, 90, 39, 0.2);
  border-color: rgba(240, 90, 39, 0.2);
}

.zpd-wishlist-float.active {
  background: #fff;
  color: var(--zest-orange);
  border-color: rgba(240, 90, 39, 0.1);
}

.zpd-wishlist-float.active i {
  font-weight: 900;
  /* Font Awesome Solid */
}

/* ────────────────────────────────────────────────────────────
   PRODUCT DETAILS COLUMN (RIGHT)
   ──────────────────────────────────────────────────────────── */

.zpd-brand-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--zest-orange);
  margin-bottom: 8px;
}

.zpd-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-dark);
  margin-bottom: 12px;
  z-index: 9;
  position: relative;
}

/* Rating Summary */
.zpd-rating-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  z-index: 9;
  position: relative;
}

.zpd-rating-stars {
  display: flex;
  gap: 3px;
  color: #f5a623;
  font-size: 0.95rem;
}

.zpd-review-count {
  font-size: 0.85rem;
  color: var(--color-light-gray);
  font-weight: 500;
}

.zpd-review-count a {
  color: var(--color-gray);
  text-decoration: underline;
  transition: var(--transition-fast);
}

.zpd-review-count a:hover {
  color: var(--zest-orange);
}

/* Price Band */
.zpd-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
  z-index: 9;
  position: relative;
}

.zpd-price-discounted {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--zest-orange);
}

.zpd-price-original {
  font-size: 1.25rem;
  color: var(--color-light-gray);
  text-decoration: line-through;
  font-weight: 400;
}

.zpd-discount-badge {
  background: var(--zest-orange-light);
  color: var(--zest-orange);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Stock & SKU indicators */
.zpd-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 30px;
  z-index: 9;
  position: relative;
}

.zpd-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--color-gray);
}

.zpd-meta-label {
  font-weight: 600;
  color: var(--color-dark);
}

.zpd-meta-value {
  font-weight: 400;
}

.zpd-stock-dot {
  width: 8px;
  height: 8px;
  background-color: #1aad73;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(26, 173, 115, 0.2);
  animation: stockPulse 2s infinite;
}

@keyframes stockPulse {
  0% {
    box-shadow: 0 0 0 0px rgba(26, 173, 115, 0.4);
  }

  70% {
    box-shadow: 0 0 0 5px rgba(26, 173, 115, 0);
  }

  100% {
    box-shadow: 0 0 0 0px rgba(26, 173, 115, 0);
  }
}

/* Short Description */
.zpd-short-desc {
  font-size: 0.92rem;
  color: var(--color-gray);
  line-height: 1.65;
  margin-bottom: 32px;
  z-index: 9;
  position: relative;
}

/* ────────────────────────────────────────────────────────────
   PRODUCT VARIANTS SECTION
   ──────────────────────────────────────────────────────────── */

.zpd-variant-group {
  margin-bottom: 26px;
}

.zpd-variant-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--color-dark);
  display: flex;
  justify-content: space-between;
}

.zpd-variant-selected-value {
  color: var(--zest-orange);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

/* Swatches system */
.zpd-swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Color Circle Swatches */
.zpd-color-swatch {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.zpd-color-swatch::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.zpd-color-swatch:hover::before {
  border-color: #ddd;
}

.zpd-color-swatch.active::before {
  border-color: var(--zest-orange);
}

/* Custom internal circles for variants */
.zpd-swatch-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Size/Pill Swatches */
.zpd-size-swatch {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--color-border);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.zpd-size-swatch:hover {
  border-color: var(--color-dark);
}

.zpd-size-swatch.active {
  border-color: var(--zest-orange);
  background: var(--zest-orange-light);
  color: var(--zest-orange);
}

/* Size Guide Link */
.zpd-size-guide-trigger {
  color: var(--color-light-gray);
  text-decoration: underline;
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-fast);
}

.zpd-size-guide-trigger:hover {
  color: var(--zest-orange);
}

/* ────────────────────────────────────────────────────────────
   QUANTITY & PURCHASE BUTTONS
   ──────────────────────────────────────────────────────────── */

.zpd-purchase-section {
  margin-top: 36px;
  margin-bottom: 30px;
}

.zpd-qty-actions-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

/* Quantity Selector Component */
.zpd-qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  height: 54px;
  width: 130px;
  background: #fff;
}

.zpd-qty-btn {
  width: 42px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--color-dark);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zpd-qty-btn:hover {
  background: var(--bg-light);
  color: var(--zest-orange);
}

.zpd-qty-input {
  width: 46px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-poppins);
  color: var(--color-dark);
  outline: none;
}

/* Chrome, Safari, Edge, Opera: remove spin buttons */
.zpd-qty-input::-webkit-outer-spin-button,
.zpd-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox: remove spin buttons */
.zpd-qty-input[type=number] {
  -moz-appearance: textfield;
}

/* Add To Cart Button */
.zpd-btn-add-cart {
  flex-grow: 1;
  height: 54px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--zest-orange), #ff6b3a);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(240, 90, 39, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.zpd-btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 90, 39, 0.4);
  background: linear-gradient(135deg, var(--zest-orange-hover), var(--zest-orange));
}

.zpd-btn-add-cart:active {
  transform: translateY(0);
}

/* Buy Now Button */
.zpd-btn-buy-now {
  width: 100%;
  height: 54px;
  border: 1.5px solid var(--color-dark);
  border-radius: 12px;
  background: #ffffff;
  color: var(--color-dark);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.zpd-btn-buy-now:hover {
  background: var(--color-dark);
  color: #fff;
  box-shadow: var(--shadow-smooth);
}

/* Secondary Actions (Wishlist & Compare inline) */
.zpd-secondary-actions {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
}

.zpd-sec-action-btn {
  background: none;
  border: none;
  font-family: var(--font-poppins);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: var(--transition-fast);
}

.zpd-sec-action-btn:hover {
  color: var(--zest-orange);
}

.zpd-sec-action-btn.active {
  color: var(--zest-orange);
}

.zpd-sec-action-btn.active i {
  font-weight: 900;
}

/* Trust Badges */
.zpd-trust-badges-wrapper {
  background: var(--bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 32px;
}

.zpd-trust-title {
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-light-gray);
  margin-bottom: 12px;
  font-weight: 700;
}

.zpd-trust-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
}

.zpd-trust-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: var(--color-gray);
  font-weight: 500;
}

.zpd-trust-icon-item i {
  font-size: 1.4rem;
  color: var(--color-dark);
  margin-bottom: 2px;
}

/* Info Cards (Delivery & Returns) */
.zpd-info-cards-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.zpd-info-card {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1.5px dashed var(--color-border);
  background: var(--bg-soft);
}

.zpd-info-card-icon {
  font-size: 1.3rem;
  color: var(--zest-orange);
  margin-top: 2px;
}

.zpd-info-card-body h5 {
  font-size: 0.86rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--color-dark);
}

.zpd-info-card-body p {
  font-size: 0.78rem;
  color: var(--color-light-gray);
  margin: 0;
  line-height: 1.45;
}

/* Social Share Icons */
.zpd-social-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--color-light-gray);
}

.zpd-social-share-label {
  font-weight: 600;
}

.zpd-social-links {
  display: flex;
  gap: 10px;
}

.zpd-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--color-border);
  color: var(--color-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.zpd-social-icon:hover {
  background: var(--zest-orange);
  color: #fff;
  border-color: var(--zest-orange);
  transform: translateY(-2px);
}

/* ────────────────────────────────────────────────────────────
   PRODUCT CONTENT TABS
   ──────────────────────────────────────────────────────────── */

.zpd-tabs-section {
  border-top: 1px solid var(--color-border);
  margin-top: 60px;
  padding-top: 40px;
}

.zpd-tabs-nav {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
  gap: 40px;
  margin-bottom: 36px;
}

.zpd-tab-trigger {
  background: none;
  border: none;
  font-family: var(--font-poppins);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-light-gray);
  padding: 12px 10px 16px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.zpd-tab-trigger::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--zest-orange);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.zpd-tab-trigger:hover {
  color: var(--color-dark);
}

.zpd-tab-trigger.active {
  color: var(--color-dark);
}

.zpd-tab-trigger.active::after {
  transform: scaleX(1);
}

.zpd-tab-content-panel {
  display: none;
  animation: fadeInPanel 0.4s ease-out forwards;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  color: var(--color-gray);
  font-size: 0.94rem;
}

.zpd-tab-content-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Specs Table style */
.zpd-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.zpd-specs-table tr {
  border-bottom: 1px solid var(--color-border);
}

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

.zpd-specs-table td {
  padding: 16px 20px;
  font-size: 0.88rem;
}

.zpd-specs-label {
  font-weight: 600;
  color: var(--color-dark);
  width: 30%;
  background: var(--bg-soft);
}

.zpd-specs-value {
  color: var(--color-gray);
  width: 70%;
}

/* Shipping panel style */
.zpd-shipping-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.zpd-shipping-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.zpd-shipping-col ul {
  padding-left: 20px;
  margin: 0;
}

.zpd-shipping-col li {
  margin-bottom: 8px;
  font-size: 0.88rem;
}

/* Reviews panel style */
.zpd-reviews-dashboard {
  display: flex;
  gap: 40px;
  background: var(--bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 40px;
  align-items: center;
}

.zpd-rating-average-box {
  width: 180px;
  text-align: center;
  border-right: 1px solid var(--color-border);
  padding-right: 40px;
  flex-shrink: 0;
}

.zpd-average-big {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.zpd-rating-bars-box {
  flex-grow: 1;
}

.zpd-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.zpd-bar-stars {
  width: 70px;
  color: var(--color-light-gray);
}

.zpd-bar-track {
  flex-grow: 1;
  height: 6px;
  background: #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
}

.zpd-bar-fill {
  height: 100%;
  background: #f5a623;
  border-radius: 10px;
  width: 0%;
  transition: width 1s ease-in-out;
}

.zpd-bar-percent {
  width: 32px;
  text-align: right;
  color: var(--color-light-gray);
  font-weight: 500;
}

/* Customer review list */
.zpd-review-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.zpd-review-card {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 24px;
}

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

.zpd-review-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.zpd-review-author {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-dark);
}

.zpd-review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--color-light-gray);
}

.zpd-review-date {
  margin-right: 8px;
}

.zpd-verified-badge {
  color: #1aad73;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.zpd-review-stars {
  color: #f5a623;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.zpd-review-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.zpd-review-comment {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-gray);
}

/* ────────────────────────────────────────────────────────────
   FREQUENTLY BOUGHT TOGETHER SECTION
   ──────────────────────────────────────────────────────────── */

.zpd-bundle-section {
  border-top: 1px solid var(--color-border);
  margin-top: 60px;
  padding-top: 50px;
}

.zpd-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  letter-spacing: 0.5px;
}

.zpd-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--zest-orange);
  margin: 10px auto 0;
  border-radius: 20px;
}

.zpd-bundle-wrapper {
  background: var(--bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-subtle);
}

.zpd-bundle-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.zpd-bundle-items-flow {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
}

.zpd-bundle-product-card {
  width: 170px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.zpd-bundle-product-card.disabled {
  opacity: 0.45;
  border-color: transparent;
}

.zpd-bundle-product-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
}

.zpd-bundle-product-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zpd-bundle-product-price {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--zest-orange);
}

.zpd-bundle-plus-icon {
  font-size: 1.3rem;
  color: var(--color-light-gray);
  font-weight: 300;
}

/* Bundle actions and checkout price */
.zpd-bundle-checkout-card {
  width: 280px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  flex-shrink: 0;
}

.zpd-bundle-checkboxes {
  margin-bottom: 16px;
}

.zpd-bundle-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--color-gray);
}

.zpd-bundle-check-row input[type="checkbox"] {
  accent-color: var(--zest-orange);
  cursor: pointer;
}

.zpd-bundle-check-row span {
  font-weight: 500;
}

.zpd-bundle-total-price-box {
  margin-bottom: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.zpd-bundle-price-label {
  font-size: 0.8rem;
  color: var(--color-light-gray);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.zpd-bundle-total-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
}

.zpd-bundle-savings-badge {
  font-size: 0.74rem;
  color: #1aad73;
  font-weight: 600;
  margin-top: 2px;
}

.zpd-bundle-buy-btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: var(--color-dark);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.zpd-bundle-buy-btn:hover {
  background: var(--zest-orange);
  box-shadow: 0 4px 15px rgba(240, 90, 39, 0.3);
}

/* ────────────────────────────────────────────────────────────
   RELATED PRODUCTS SECTION
   ──────────────────────────────────────────────────────────── */

.zpd-related-section {
  border-top: 1px solid var(--color-border);
  margin-top: 60px;
  padding-top: 50px;
}

.zpd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Premium Related card styles */
.zpd-product-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.zpd-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-smooth);
  border-color: rgba(240, 90, 39, 0.15);
}

.zpd-product-card-img {
  background: var(--bg-light);
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.zpd-product-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.zpd-product-card:hover .zpd-product-card-img img {
  transform: scale(1.08);
}

.zpd-product-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}

.zpd-product-card-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
  color: #bbb;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  z-index: 5;
}

.zpd-product-card-wishlist:hover {
  color: var(--zest-orange);
  transform: scale(1.08);
}

.zpd-product-card-body {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.zpd-product-card-brand {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--zest-orange);
  margin-bottom: 4px;
}

.zpd-product-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.zpd-product-card-stars {
  display: flex;
  gap: 2px;
  color: #f5a623;
  font-size: 0.74rem;
  margin-bottom: 12px;
}

.zpd-product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.zpd-product-card-price-box {
  display: flex;
  flex-direction: column;
}

.zpd-product-card-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
}

.zpd-product-card-original-price {
  font-size: 0.78rem;
  text-decoration: line-through;
  color: var(--color-light-gray);
}

.zpd-product-card-add-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--zest-orange);
  background: transparent;
  color: var(--zest-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.zpd-product-card-add-btn:hover {
  background: var(--zest-orange);
  color: #fff;
  box-shadow: 0 4px 10px rgba(240, 90, 39, 0.25);
}

/* ────────────────────────────────────────────────────────────
   MOBILE STICKY BOTTOM CART BAR
   ──────────────────────────────────────────────────────────── */

.zpd-mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
  padding: 12px 20px;
  z-index: 1000;
  display: none;
  /* hidden by default, styled for mobile below */
  align-items: center;
  justify-content: space-between;
  animation: slideUpBar 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideUpBar {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.zpd-ms-product-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  /* allows text truncation */
}

.zpd-ms-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--color-border);
  padding: 4px;
  flex-shrink: 0;
}

.zpd-ms-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zpd-ms-text {
  min-width: 0;
}

.zpd-ms-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zpd-ms-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--zest-orange);
  margin: 2px 0 0 0;
}

.zpd-ms-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.zpd-ms-btn {
  height: 44px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.zpd-ms-btn-add {
  background: var(--zest-orange);
  color: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(240, 90, 39, 0.2);
}

.zpd-ms-btn-add:hover {
  background: var(--zest-orange-hover);
}

.zpd-ms-btn-buy {
  background: #ffffff;
  color: var(--color-dark);
  border: 1.5px solid var(--color-dark);
}

.zpd-ms-btn-buy:hover {
  background: var(--color-dark);
  color: #fff;
}


/* ────────────────────────────────────────────────────────────
   TOAST NOTIFICATION MODIFICATION (Z-INDEX ASSURANCE)
   ──────────────────────────────────────────────────────────── */

.zpd-toast {
  position: fixed;
  top: 100px;
  right: 30px;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--zest-orange);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1100;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(240, 90, 39, 0.1);
  pointer-events: none;
}

.zpd-toast.show {
  transform: translateX(0);
}

.zpd-toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--zest-orange-light);
  color: var(--zest-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.zpd-toast-msg {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-dark);
}


/* ────────────────────────────────────────────────────────────
   RESPONSIVE DESIGN Breakpoints
   ──────────────────────────────────────────────────────────── */

/* Smaller Screens (Desktops & Laptops) */
@media (max-width: 1200px) {
  .zpd-row {
    gap: 30px;
  }

  .zpd-title {
    font-size: 1.85rem;
  }

  .zpd-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet (Stacked view) */
@media (max-width: 991px) {
  .zpd-detail-container {
    margin: 20px auto;
  }

  .zpd-row {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .zpd-col-gallery {
    width: 100%;
  }

  .zpd-col-info {
    width: 100%;
    position: static;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }

  .zpd-specs-label {
    width: 40%;
  }

  .zpd-specs-value {
    width: 60%;
  }

  .zpd-bundle-flex {
    flex-direction: column;
    align-items: stretch;
  }

  .zpd-bundle-checkout-card {
    width: 100%;
  }

  .zpd-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Screen */
@media (max-width: 767px) {
  .zpd-wrap {
    padding-bottom: 90px;
    /* offset for sticky cart bar */
  }

  .zpd-detail-container {
    padding: 0 16px;
  }

  /* Compact Gallery structure for mobile */
  .zpd-gallery-wrapper {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .zpd-thumbs-vertical {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
  }

  .zpd-thumbs-vertical::-webkit-scrollbar {
    display: none;
  }

  .zpd-thumb-item {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
  }

  .zpd-main-preview-card {
    padding: 20px;
  }

  .zpd-title {
    font-size: 1.6rem;
  }

  .zpd-price-discounted {
    font-size: 1.6rem;
  }

  /* Tabs layout */
  .zpd-tabs-nav {
    gap: 15px;
  }

  .zpd-tab-trigger {
    font-size: 0.88rem;
    padding: 8px 4px 10px;
  }

  .zpd-shipping-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .zpd-reviews-dashboard {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
  }

  .zpd-rating-average-box {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 24px;
    margin-bottom: 8px;
    width: 100%;
  }

  /* Bundle gallery on mobile */
  .zpd-bundle-items-flow {
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
    width: 100%;
  }

  .zpd-bundle-items-flow::-webkit-scrollbar {
    display: none;
  }

  .zpd-bundle-product-card {
    width: 140px;
    flex-shrink: 0;
  }

  .zpd-bundle-product-card img {
    width: 75px;
    height: 75px;
  }

  .zpd-related-grid {
    grid-template-columns: 1fr;
  }

  /* Show Sticky Cart bottom bar */
  .zpd-mobile-sticky-bar {
    display: flex;
  }

  .zpd-qty-actions-row {
    flex-direction: column;
    gap: 12px;
  }

  .zpd-qty-selector {
    width: 100%;
  }

  .zpd-toast {
    top: auto;
    bottom: 90px;
    right: 16px;
    left: 16px;
    transform: translateY(150%);
  }

  .zpd-toast.show {
    transform: translateY(0);
  }
}