/* ══════════════════════════════════════════════════════════════════
   MAXLI BY LAXMI — PRODUCT DETAIL PAGE STYLES (LIGHT CORPORATE)
   ══════════════════════════════════════════════════════════════════ */

.pdp-breadcrumbs-bar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 24px;
}

.pdp-breadcrumbs {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 0;
}

.pdp-breadcrumbs a {
  white-space: nowrap;
}

.pdp-breadcrumbs a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.pdp-breadcrumbs .current {
  color: var(--text-main);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.pdp-main-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 36px 24px 60px;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.pdp-gallery-col,
.pdp-info-col {
  min-width: 0;
}

/* Gallery */
.pdp-gallery-col {
  position: sticky;
  top: 90px;
}

.pdp-stage-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-img-stage);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.15s ease;
}

.pdp-badge-seal {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #111827;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.pdp-wish-float {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
}

.pdp-wish-float.active {
  color: var(--danger);
  border-color: var(--danger-border);
  background: #fff5f5;
}

.pdp-wish-float.active svg {
  fill: var(--danger);
}

.pdp-thumbs-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pdp-thumb-item {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  background: var(--bg-img-stage);
  overflow: hidden;
  flex-shrink: 0;
}

.pdp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-thumb-item.active {
  border-color: var(--cta-primary);
}

/* Info Column */
.pdp-info-col {
  display: flex;
  flex-direction: column;
}

.pdp-tagline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-gold-dark);
  margin-bottom: 6px;
}

.pdp-title {
  font-family: var(--heading);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.pdp-family-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.pdp-rating-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.pdp-stars {
  font-size: 0.88rem;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 3px 9px;
  border-radius: 4px;
}

.pdp-review-count {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.pdp-stock-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 4px;
}

.pdp-stock-status.in-stock {
  color: var(--green);
  background: var(--green-bg);
}

.pdp-stock-status.out-of-stock {
  color: var(--danger);
  background: var(--danger-bg);
}

.pdp-price-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.pdp-price-now {
  font-family: var(--heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
}

.pdp-price-mrp {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.pdp-save-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  padding: 3px 8px;
  border-radius: 4px;
}

.pdp-tax-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.pdp-sensory-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.pdp-notes-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.pdp-note-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  font-size: 0.84rem;
}

.pdp-note-label {
  font-weight: 700;
  color: var(--text-main);
}

.pdp-note-val {
  color: var(--text-secondary);
}

/* Purchase Controls */
.pdp-purchase-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.pdp-actions-row {
  display: flex;
  gap: 12px;
}

.pdp-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-med);
  border-radius: var(--radius-md);
  height: 48px;
  background: #ffffff;
}

.pdp-qty-btn {
  width: 42px;
  height: 100%;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.pdp-qty-btn:hover {
  background: var(--bg-subtle);
}

.pdp-qty-num {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.pdp-add-bag-btn {
  flex: 1;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--cta-primary);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.18s ease;
}

.pdp-add-bag-btn:hover:not(:disabled) {
  background: var(--cta-primary-hover);
}

.pdp-add-bag-btn.added-pulse {
  background: var(--green);
}

.pdp-add-bag-btn.is-soldout,
.pdp-add-bag-btn:disabled {
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  cursor: not-allowed;
}

.pdp-in-bag-simple {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--green);
  background: #f0fdf4;
  border: 1px solid var(--green-border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.pdp-in-bag-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
}

.pdp-buy-now-btn {
  width: 100%;
  height: 46px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.pdp-buy-now-btn:hover:not(:disabled) {
  background: var(--text-main);
  color: #ffffff;
}

.pdp-buy-now-btn.is-soldout,
.pdp-buy-now-btn:disabled {
  border-color: var(--border-light);
  background: var(--bg-subtle);
  color: var(--text-light);
  cursor: not-allowed;
}

/* Combo Upsell Card */
.pdp-combo-upsell-card {
  margin-top: 4px;
  background: var(--brand-gold-bg);
  border: 1px solid var(--brand-gold-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pdp-combo-upsell-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pdp-combo-upsell-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand-gold-dark);
}

.pdp-combo-upsell-copy strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.pdp-combo-upsell-copy small {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.pdp-combo-upsell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--cta-primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pdp-combo-upsell-btn:hover {
  background: var(--cta-primary-hover);
}

/* Guarantees Grid */
.pdp-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

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

.pdp-perk-icon {
  color: var(--brand-gold-dark);
  margin-top: 2px;
}

.pdp-perk-text {
  display: flex;
  flex-direction: column;
}

.pdp-perk-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.pdp-perk-text small {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Related Products */
.pdp-related-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  padding: 56px 24px 64px;
}

.pdp-related-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.pdp-section-head {
  margin-bottom: 24px;
}

.pdp-sec-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-gold-dark);
  margin-bottom: 4px;
}

.pdp-sec-title {
  font-family: var(--heading);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: var(--text-main);
}

.pdp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pdp-rel-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pdp-rel-card:hover {
  border-color: var(--border-med);
  box-shadow: var(--shadow-md);
}

.pdp-rel-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-img-stage);
  border-bottom: 1px solid #f1f5f9;
  display: block;
  overflow: hidden;
}

.pdp-rel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-rel-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #111827;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.pdp-rel-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pdp-rel-topline {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pdp-rel-name {
  font-family: var(--heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pdp-rel-notes {
  font-size: 0.78rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 12px;
}

.pdp-rel-pricing {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.pdp-rel-price {
  font-family: var(--heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.pdp-rel-mrp {
  font-size: 0.82rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.pdp-rel-btn {
  width: 100%;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--cta-primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pdp-rel-btn:hover {
  background: var(--cta-primary-hover);
}

/* Toast */
.pdp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111827;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  z-index: 1500;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pdp-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 960px) {
  .pdp-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .pdp-gallery-col {
    position: static;
  }
  .pdp-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .pdp-breadcrumbs-bar {
    padding: 10px 14px;
  }
  .pdp-breadcrumbs {
    font-size: 0.74rem;
    gap: 6px;
  }
  .pdp-main-section {
    padding: 18px 14px 40px;
  }
  .pdp-thumb-item {
    width: 60px;
    height: 60px;
  }
  .pdp-title {
    font-size: 1.55rem;
  }
  .pdp-price-now {
    font-size: 1.6rem;
  }
  .pdp-note-row {
    grid-template-columns: 84px minmax(0, 1fr);
    font-size: 0.8rem;
  }
  .pdp-actions-row {
    gap: 8px;
  }
  .pdp-qty-btn {
    width: 36px;
  }
  .pdp-qty-num {
    min-width: 28px;
  }
  .pdp-related-section {
    padding: 34px 14px 44px;
  }
  .pdp-related-grid {
    gap: 10px;
  }
  .pdp-rel-body {
    padding: 10px;
  }
  .pdp-rel-name {
    font-size: 0.86rem;
  }
  .pdp-rel-btn {
    height: 36px;
    font-size: 0.72rem;
  }
  .pdp-combo-upsell-card {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }
  .pdp-combo-upsell-btn {
    width: 100%;
  }
  .pdp-perks-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}
