/* ══════════════════════════════════════════════════════════════════
   MAXLI PERFUME — DEDICATED SINGLE PRODUCT VIEW STYLESHEET
   Clean, Fast, Responsive Luxury E-Commerce Engine
   ══════════════════════════════════════════════════════════════════ */

/* ── BREADCRUMB NAVIGATION ── */
.pdp-breadcrumbs-bar {
  padding: 105px clamp(20px, 4vw, 56px) 14px;
  max-width: 1240px;
  margin: 0 auto;
}

.pdp-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.pdp-breadcrumbs a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pdp-breadcrumbs a:hover {
  color: var(--cyan-bright);
}

.pdp-crumb-sep {
  color: rgba(0, 229, 255, 0.4);
  font-size: 0.7rem;
}

.pdp-breadcrumbs span.current {
  color: var(--cyan-ice);
  font-weight: 600;
}

/* ── MAIN PRODUCT HERO (2-COLUMN LUXURY STAGE) ── */
.pdp-main-section {
  padding: 16px clamp(20px, 4vw, 56px) 70px;
  max-width: 1240px;
  margin: 0 auto;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 60px);
  align-items: center;
}

/* ── LEFT COLUMN: VISUAL GALLERY STAGE ── */
.pdp-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.pdp-stage-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #040d1a;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  contain: content;
}

.pdp-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
  transition: opacity 0.2s ease, transform 0.4s ease;
}

.pdp-stage-frame:hover .pdp-main-img {
  transform: scale(1.03);
}

/* Floating Seals */
.pdp-badge-seal {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(3, 10, 22, 0.88);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--cyan-bright);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.pdp-wish-float {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(3, 10, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}

.pdp-wish-float:hover {
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
  transform: scale(1.08);
}

.pdp-wish-float.active {
  background: #e11d48;
  border-color: #e11d48;
  color: #ffffff;
}

.pdp-wish-float.active svg {
  fill: #ffffff;
}

/* Gallery Thumbnails */
.pdp-thumbs-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  padding: 4px 2px 6px 2px;
}

.pdp-thumbs-row::-webkit-scrollbar {
  display: none;
}

.pdp-thumb-item {
  width: 78px;
  height: 78px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #061224;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  padding: 2px;
  box-sizing: border-box;
  opacity: 0.65;
  outline: none;
  appearance: none;
  display: block;
}

.pdp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.pdp-thumb-item:hover {
  opacity: 0.95;
  border-color: rgba(0, 229, 255, 0.5);
  transform: scale(1.04);
}

.pdp-thumb-item.active {
  opacity: 1;
  border-color: var(--cyan-bright);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
}

/* ── RIGHT COLUMN: COMMERCE ENGINE ── */
.pdp-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pdp-tagline {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  font-weight: 600;
  margin-bottom: 6px;
}

.pdp-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 2.5vw, 2.35rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 8px;
}

.pdp-family-sub {
  font-size: 0.88rem;
  color: var(--cyan-pale);
  letter-spacing: 0.04em;
  font-style: italic;
  margin-bottom: 14px;
}

/* Ratings & Meta Strip */
.pdp-rating-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}

.pdp-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fbbf24;
  font-size: 0.95rem;
}

.pdp-review-count {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.pdp-stock-status {
  margin-left: auto;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pdp-stock-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

/* Pricing Section */
.pdp-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.pdp-price-now {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan-bright);
  font-family: var(--body);
}

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

.pdp-save-badge {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.pdp-tax-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

/* Sensory Excerpt */
.pdp-sensory-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 24px;
}

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

.pdp-actions-row {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.pdp-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 8px;
  background: #07152b;
  overflow: hidden;
  height: 48px;
  width: 110px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.pdp-qty-btn {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--cyan-bright);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.pdp-qty-btn:hover {
  background: rgba(0, 229, 255, 0.14);
}

.pdp-qty-num {
  width: 36px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  user-select: none;
}

/* Secondary Button: Add to Bag */
.pdp-add-bag-btn {
  flex: 1;
  height: 48px;
  background: rgba(0, 229, 255, 0.08);
  border: 1.5px solid rgba(0, 229, 255, 0.45);
  border-radius: 8px;
  color: var(--cyan-bright);
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-add-bag-btn:hover {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--cyan-bright);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.25);
  transform: translateY(-1px);
}

/* Primary Button: Buy Now (Instant Checkout) */
.pdp-buy-now-btn {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #00e5ff 0%, #0284c7 100%);
  border: none;
  border-radius: 8px;
  color: #030a16;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
}

.pdp-buy-now-btn:hover {
  box-shadow: 0 6px 28px rgba(0, 229, 255, 0.65);
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* Atelier Trust Perks Grid */
.pdp-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 14px;
  background: rgba(7, 21, 43, 0.5);
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: 10px;
}

.pdp-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pdp-perk-icon {
  color: var(--cyan-bright);
  font-size: 1.1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-perk-text {
  min-width: 0;
}

.pdp-perk-item strong {
  display: block;
  font-size: 0.74rem;
  color: var(--cream);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdp-perk-item small {
  display: block;
  font-size: 0.66rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── YOU MAY ALSO ADMIRE (RECOMMENDATIONS) ── */
.pdp-related-section {
  padding: 60px clamp(20px, 4vw, 56px) 100px;
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 229, 255, 0.14);
}

.pdp-section-head {
  text-align: center;
  margin-bottom: 38px;
}

.pdp-sec-tag {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}

.pdp-sec-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 400;
  color: var(--cream);
}

.pdp-sec-title em {
  color: var(--cyan-bright);
  font-style: italic;
}

.pdp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
  contain: layout style;
}

/* Related Product Cards */
.pdp-related-grid .p-ecom-card {
  background: #081324;
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  contain: content;
  transform: translateZ(0);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pdp-related-grid .p-ecom-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 229, 255, 0.16);
}

/* Card Media Stage */
.pdp-related-grid .p-card-stage {
  position: relative;
  width: 100%;
  padding-top: 108%;
  background: #040d1a;
  overflow: hidden;
  cursor: pointer;
}

.pdp-related-grid .p-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  transition: transform 0.4s ease;
}

.pdp-related-grid .p-ecom-card:hover .p-card-img {
  transform: scale(1.04);
}

/* Card Badges */
.pdp-related-grid .p-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
  line-height: 1;
}

.pdp-related-grid .p-card-badge.badge-default {
  background: rgba(3, 10, 22, 0.88);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--cyan-bright);
}

/* Card Body */
.pdp-related-grid .p-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pdp-related-grid .p-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.pdp-related-grid .p-card-vol {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}

.pdp-related-grid .p-card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #fbbf24;
  font-size: 0.74rem;
}

.pdp-related-grid .p-card-name {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 4px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pdp-related-grid .p-card-name:hover {
  color: var(--cyan-bright);
}

.pdp-related-grid .p-card-notes {
  font-size: 0.72rem;
  color: var(--cyan-ice);
  opacity: 0.75;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: italic;
}

.pdp-related-grid .p-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.pdp-related-grid .p-price-current {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cyan-bright);
}

.pdp-related-grid .p-price-mrp {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.pdp-related-grid .p-price-save {
  margin-left: auto;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Discover Creation Action Button */
.pdp-related-grid .p-btn-add {
  margin-top: auto;
  width: 100%;
  height: 40px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: #ffffff;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-related-grid .p-btn-add:hover {
  background: var(--cyan-bright);
  color: #030a16;
  border-color: var(--cyan-bright);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.45);
  transform: translateY(-1px);
}

/* ── TOAST NOTIFICATION ── */
.pdp-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #07152b;
  border: 1px solid var(--cyan-bright);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 16px rgba(0, 229, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.pdp-toast i {
  color: var(--cyan-bright);
  font-style: normal;
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1024px) {
  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pdp-gallery-col {
    max-width: 520px;
    margin: 0 auto;
  }

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

@media (max-width: 640px) {
  .pdp-breadcrumbs-bar {
    padding-top: 90px;
  }

  .pdp-thumb-item {
    width: 68px;
    height: 68px;
  }

  .pdp-qty-stepper {
    width: 100px;
  }

  .pdp-actions-row {
    gap: 10px;
  }

  /* Mobile Responsive Perks Card: Compact 3-Column Trust Bar */
  .pdp-perks-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 12px 8px;
    background: rgba(7, 21, 43, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.16);
    border-radius: 10px;
  }

  .pdp-perk-item {
    flex-direction: column;
    text-align: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 2px;
  }

  .pdp-perk-icon {
    font-size: 0.95rem;
  }

  .pdp-perk-text {
    width: 100%;
  }

  .pdp-perk-item strong {
    font-size: 0.68rem;
    line-height: 1.2;
    white-space: normal;
  }

  .pdp-perk-item small {
    font-size: 0.6rem;
    line-height: 1.2;
    white-space: normal;
    color: var(--text-dim);
  }

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

@media (max-width: 380px) {
  .pdp-perks-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }

  .pdp-perk-item {
    flex-direction: row;
    text-align: left;
    gap: 10px;
  }
}
