/* ════════════════════════════════════════════
   PRODUCT DETAIL PAGE
════════════════════════════════════════════ */

/* ── Banner ── */
.pd-banner {
  min-height: 220px;
}

/* product-image banner: force readable light text over the darkened photo */
.pd-banner .cinnascroll-banner-cont h1,
.pd-banner .cinnascroll-banner-cont h5 {
  color: #fff;
}

.pd-banner .cinnascroll-banner-cont {
  backdrop-filter: blur(2px);
}

.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
  justify-content: center;
}

.pd-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.pd-breadcrumb a:hover {
  color: #fff;
}

.pd-breadcrumb i {
  font-size: 14px;
}


/* ── Main section: two columns ── */
.pd-section {
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 80px 0 80px;
}


/* ── Image column ── */
.pd-image-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pd-image-wrap {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pd-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.28));
  animation: pdFloat 4s ease-in-out infinite;
}

@keyframes pdFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}


/* ── Info column ── */
.pd-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.pd-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red--color);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid var(--red--color);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.pd-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  color: var(--text-color);
  line-height: 1.08;
  margin-bottom: 22px;
}

.pd-divider {
  width: 60px;
  height: 3px;
  background: var(--red--color);
  border-radius: 3px;
  margin-bottom: 22px;
}

.pd-description {
  font-size: 15.5px;
  color: var(--text-color);
  opacity: 0.7;
  line-height: 1.85;
  max-width: 440px;
  margin-bottom: 32px;
}


/* ── Size pills ── */
.pd-sizes {
  margin-bottom: 28px;
}

.pd-sizes-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-color);
  opacity: 0.45;
  margin-bottom: 10px;
}

.pd-size-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-size-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}

.pd-size-pill--large {
  background: var(--primary--color);
  color: #fff;
}

.pd-size-pill--medium {
  background: var(--red--color);
  color: #fff;
}

.pd-size-pill i {
  font-size: 14px;
}


/* ── Freshness note ── */
.pd-freshness-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-color);
  opacity: 0.5;
  margin-bottom: 34px;
  padding: 12px 16px;
  border: 1px dashed rgba(128, 128, 128, 0.25);
  border-radius: 10px;
}

.pd-freshness-note i {
  font-size: 16px;
  flex-shrink: 0;
}


/* ── Action buttons ── */
.pd-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pd-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.pd-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.pd-btn--primary {
  background: var(--red--color);
  color: #fff;
}

.pd-btn--primary:hover { color: #fff; }

.pd-btn--ghost {
  border: 1.5px solid rgba(128, 128, 128, 0.35);
  color: var(--text-color);
  background: transparent;
}

.pd-btn--ghost:hover { color: var(--text-color); }


/* ════════════════════════════════════════════
   RELATED SCROLLS SECTION
════════════════════════════════════════════ */

.pd-related-bg {
  background: var(--primary--color);
  padding: 72px 0 80px;
  margin-top: 0;
}

.pd-related-header {
  text-align: center;
  margin-bottom: 44px;
}

.pd-related-header h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-top: 12px;
}

/* Override card colours inside the dark related bg */
.pd-related-bg .scroll-card {
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.pd-related-bg .menu-section-badge {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Make the card a link without default link styles */
a.scroll-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.scroll-card:hover {
  text-decoration: none;
}

.pd-related-cta {
  text-align: center;
  margin-top: 48px;
}

.pd-related-cta .menu-cta-btn {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.75);
}

.pd-related-cta .menu-cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}


/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */

@media (max-width: 860px) {
  .pd-section {
    flex-direction: column;
    gap: 40px;
    padding: 50px 0 60px;
    text-align: center;
  }

  .pd-info-col {
    align-items: center;
  }

  .pd-description {
    text-align: center;
  }

  .pd-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .pd-size-pills {
    justify-content: center;
  }

  .pd-actions {
    justify-content: center;
  }

  .pd-image-wrap {
    max-width: 300px;
  }

  .pd-breadcrumb {
    justify-content: center;
  }
}

@media (max-width: 580px) {
  .pd-related-bg .scroll-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .pd-related-bg .scroll-grid {
    grid-template-columns: 1fr;
  }
}
