/* ============================================================
   HIGH COLLECTION — Product Inner Page Styles
   product-page.css
   ============================================================ */

/* ── Product Hero Slider ── */
.prod-hero-slider {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: var(--bg2);
}
.prod-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  display: flex; align-items: center;
}
.prod-slide.active { opacity: 1; }

.prod-slide-visual {
  position: absolute; inset: 0;
}
.prod-slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Placeholder gradient per slide */
.psv-1 { background: linear-gradient(120deg, #FAFAFA 0%, var(--orange-pale) 60%, #f0e4cc 100%); }
.psv-2 { background: linear-gradient(120deg, #F5F5F5 0%, #ede4d8 60%, #e0d4c0 100%); }
.psv-3 { background: linear-gradient(120deg, #1A1A1A 0%, #2C2C2C 60%, #3a2a10 100%); }

.prod-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.08) 65%, transparent 100%);
}
.psv-1 + .prod-slide-overlay,
.psv-2 + .prod-slide-overlay { background: linear-gradient(90deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.0) 100%); }

/* slat decoration */
.ps-slats {
  position: absolute; right: 0; top: 0; width: 42%; height: 100%;
  display: flex; flex-direction: column; justify-content: center; gap: 0;
  overflow: hidden; pointer-events: none;
}
.ps-slats span {
  display: block; height: 34px; margin: 5px 0;
  border-radius: 4px 0 0 4px;
  transform: skewY(-3deg) translateX(50px);
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.prod-slide.active .ps-slats span { transform: skewY(-3deg) translateX(0); }
.ps-slats span:nth-child(odd) { margin-right: -20px; opacity: 0.6; }

/* right image box */
.prod-slide-imgbox {
  position: absolute; right: 5%; top: 50%;
  transform: translateY(-50%);
  width: 42%; height: 78%;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.prod-slide-imgbox img { width: 100%; height: 100%; object-fit: cover; }
.prod-imgbox-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
}
.prod-imgbox-placeholder .ico { font-size: 3.5rem; opacity: 0.35; }
.prod-imgbox-placeholder .lbl {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-align: center; padding: 0 12px;
}

/* slide content */
.prod-slide-content {
  position: relative; z-index: 3;
  max-width: 500px; padding-left: 56px;
}
.prod-slide-content.dark h1 { color: #fff; }
.prod-slide-content.dark p  { color: rgba(255,255,255,0.72); }

.ps-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange);
  padding: 4px 14px; border: 1.5px solid rgba(232,137,10,0.35);
  border-radius: 50px; background: var(--orange-pale);
  margin-bottom: 14px;
}
.dark .ps-tag { background: rgba(232,137,10,0.12); }

.prod-slide-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800; line-height: 1.1;
  color: var(--black); margin-bottom: 12px;
}
.prod-slide-content p {
  font-size: 0.95rem; color: var(--mid);
  margin-bottom: 22px; line-height: 1.65;
}
.ps-price-tag {
  display: inline-flex; align-items: baseline; gap: 5px;
  background: var(--orange); color: #fff;
  padding: 6px 18px; border-radius: 50px;
  font-weight: 700; font-size: 0.85rem;
  margin-bottom: 22px;
}
.ps-price-tag strong { font-size: 1.1rem; }

.ps-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* slider dots + arrows */
.ps-dots {
  position: absolute; bottom: 22px; left: 56px;
  display: flex; gap: 7px; z-index: 10;
}
.ps-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(0,0,0,0.18); border: none; cursor: pointer;
  transition: all 0.3s ease;
}
.ps-dot.active { width: 26px; border-radius: 4px; background: var(--orange); }

.ps-arrows {
  position: absolute; right: 24px; bottom: 18px;
  display: flex; gap: 8px; z-index: 10;
}
.ps-arr {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.9); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; cursor: pointer;
  transition: all 0.28s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.ps-arr:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ── Product Detail Layout ── */
.pd-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: start;
}
.pd-sticky { position: sticky; top: 90px; }

/* Thumbnail Gallery */
.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin-top: 14px;
}
.pd-thumb {
  aspect-ratio: 1; border-radius: 10px;
  overflow: hidden; cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}
.pd-thumb:hover, .pd-thumb.active { border-color: var(--orange); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

/* Main image */
.pd-main-img {
  border-radius: 16px; overflow: hidden;
  background: var(--bg2);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border2);
  font-size: 5rem; position: relative;
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-main-img .zoom-btn {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.5); color: #fff;
  border: none; border-radius: 8px; padding: 6px 12px;
  font-size: 0.75rem; cursor: pointer; display: flex;
  align-items: center; gap: 5px;
  font-family: var(--font-body);
}

/* Right side */
.pd-right .prod-cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 10px;
}
.pd-right h1 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; margin-bottom: 10px; }
.pd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.pd-stars { color: var(--orange); font-size: 0.85rem; letter-spacing: 1px; }
.pd-rating-count { font-size: 0.78rem; color: var(--muted); }

.pd-price-box {
  background: var(--orange-pale);
  border: 1px solid rgba(232,137,10,0.2);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex; align-items: baseline; gap: 10px;
  flex-wrap: wrap;
}
.pd-price-now { font-size: 2rem; font-weight: 800; color: var(--orange); }
.pd-price-was { font-size: 1rem; color: var(--muted); text-decoration: line-through; }
.pd-price-per { font-size: 0.82rem; color: var(--muted); }
.pd-save-badge {
  background: #FF4A4A; color: #fff;
  padding: 3px 10px; border-radius: 50px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.05em;
}

.pd-desc { font-size: 0.9rem; color: var(--mid); line-height: 1.75; margin-bottom: 20px; }

/* Features list */
.pd-features {
  list-style: none;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pd-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.82rem; color: var(--mid);
  background: var(--bg2); padding: 9px 12px;
  border-radius: 8px; border: 1px solid var(--border2);
}
.pd-features li i { color: var(--orange); margin-top: 2px; flex-shrink: 0; font-size: 0.75rem; }

/* Size calculator */
.pd-calc {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 22px;
}
.pd-calc h4 {
  font-size: 0.88rem; font-weight: 700;
  margin-bottom: 14px; color: var(--black);
  display: flex; align-items: center; gap: 7px;
}
.pd-calc h4 i { color: var(--orange); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.calc-input label { display: block; font-size: 0.7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.calc-input input {
  width: 100%; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 9px 12px;
  font-family: var(--font-body); font-size: 0.88rem;
  color: var(--dark); outline: none;
  transition: all 0.25s ease;
}
.calc-input input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,137,10,0.10); }
.calc-result {
  background: var(--orange-pale);
  border-radius: 8px; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.calc-result .lbl { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.calc-result .val { font-size: 1.15rem; font-weight: 800; color: var(--orange); }

/* CTA buttons */
.pd-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.pd-cta .btn-primary { flex: 1; justify-content: center; min-width: 140px; }
.pd-cta .btn-wa-lg {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 13px 22px; border-radius: 50px;
  font-weight: 700; font-size: 0.88rem;
  transition: all 0.28s ease;
  flex: 1; justify-content: center; min-width: 140px;
}
.pd-cta .btn-wa-lg:hover { background: #1DA851; transform: translateY(-2px); }

/* Specs table */
.pd-specs {
  border: 1px solid var(--border2);
  border-radius: 12px; overflow: hidden;
  margin-bottom: 22px;
}
.pd-specs table { width: 100%; border-collapse: collapse; }
.pd-specs tr:nth-child(even) td { background: var(--bg2); }
.pd-specs td { padding: 10px 16px; font-size: 0.82rem; border-bottom: 1px solid var(--border2); }
.pd-specs td:first-child { font-weight: 700; color: var(--dark); width: 42%; }
.pd-specs td:last-child { color: var(--mid); }
.pd-specs tr:last-child td { border-bottom: none; }

/* ── Product Gallery Section ── */
.prod-gallery-sec { background: var(--bg2); padding: 64px 0; }
.prod-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.pg-item {
  border-radius: 12px; overflow: hidden;
  background: var(--white);
  aspect-ratio: 4/3;
  cursor: pointer; position: relative;
  border: 1px solid var(--border2);
  transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center;
}
.pg-item:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.pg-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(232,137,10,0.3); }
.pg-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; padding: 12px;
}
.pg-placeholder .ico { font-size: 2.4rem; opacity: 0.4; }
.pg-placeholder .lbl { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; text-align: center; }
.pg-hover-overlay {
  position: absolute; inset: 0;
  background: rgba(232,137,10,0); display: flex;
  align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; opacity: 0;
  transition: all 0.28s ease;
}
.pg-item:hover .pg-hover-overlay { opacity: 1; background: rgba(232,137,10,0.35); }

/* add-photo hint */
.pg-add-hint {
  border: 2px dashed rgba(232,137,10,0.4) !important;
  background: var(--orange-pale) !important;
}

/* ── Colour Swatches ── */
.pd-colours { margin-bottom: 20px; }
.pd-colours h4 { font-size: 0.82rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); text-transform: uppercase; letter-spacing: 0.07em; }
.colour-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; border: 3px solid transparent;
  transition: all 0.2s ease;
  position: relative; box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.swatch:hover, .swatch.active { border-color: var(--orange); transform: scale(1.12); }
.swatch::after {
  content: attr(title);
  position: absolute; bottom: -22px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem; white-space: nowrap;
  color: var(--muted); opacity: 0;
  transition: opacity 0.2s;
}
.swatch:hover::after { opacity: 1; }

/* ── Related Products ── */
.related-sec { background: var(--white); padding: 64px 0; }

/* ── Enquiry Floating Bar (bottom sticky) ── */
.pd-enquiry-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 2px solid var(--orange);
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; z-index: 990;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.pd-enquiry-bar.visible { transform: translateY(0); }
.peb-info { display: flex; flex-direction: column; }
.peb-name { font-weight: 700; font-size: 0.9rem; color: var(--black); }
.peb-price { font-size: 0.8rem; color: var(--orange); font-weight: 700; }
.peb-btns { display: flex; gap: 8px; }

/* ── Lightbox ── */
.prod-lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.92); z-index: 9999;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
}
.prod-lightbox.open { display: flex; }
.plb-img { max-width: 90vw; max-height: 82vh; border-radius: 12px; object-fit: contain; }
.plb-placeholder {
  width: min(680px,90vw); height: min(460px,65vh);
  background: var(--bg2); border-radius: 12px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; font-size: 4rem; color: var(--muted);
}
.plb-close {
  position: fixed; top: 18px; right: 22px;
  background: rgba(255,255,255,0.15); border: none;
  color: #fff; width: 42px; height: 42px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
}
.plb-close:hover { background: var(--orange); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-sticky { position: static; }
  .pd-features { grid-template-columns: 1fr; }
  .pg-item:first-child { grid-column: span 1; aspect-ratio: 4/3; }
  .prod-hero-slider { height: 400px; }
  .prod-slide-imgbox { display: none; }
  .prod-slide-content { padding-left: 28px; max-width: 100%; padding-right: 28px; }
}
@media (max-width: 540px) {
  .prod-hero-slider { height: 360px; }
  .pd-calc .calc-row { grid-template-columns: 1fr; }
  .pd-cta { flex-direction: column; }
  .ps-dots { left: 28px; }
}
