/* ================================================
   PRODUCT.CSS — Single Product Page styles
   Reuses: breadcrumb, retail-slider, reviews-rating-bar,
           content-scroll/scrollbar, faq-item (from index.css / category.css)
   ================================================ */

/* ─────────────────────────────
   PRODUCT HERO LAYOUT
───────────────────────────────*/
.product-hero {
  width: 90%;
  max-width: 80%;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ── Left: info + form ── */
.ph-title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  color: #111;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
  line-height: 1.25;
}

.ph-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.ph-rating .star { font-size: 14px; }
.ph-rating-num {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  font-family: 'Poppins', sans-serif;
}
.ph-rating-count {
  font-size: 13px;
  color: #999;
  font-family: 'Poppins', sans-serif;
}

.ph-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 28px;
  max-width: 560px;
}

/* ── Form ── */
.qform-group { margin-bottom: 22px; }

.qform-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #111;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
}

.qform-row {
  display: flex;
  gap: 10px;
}

.qform-input,
.qform-select,
.qform-textarea {
  width: 100%;
  height: 46px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 13.5px;
  font-family: 'Poppins', sans-serif;
  color: #111;
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.qform-input::placeholder { color: #aaa; }
.qform-input:focus,
.qform-select:focus,
.qform-textarea:focus { border-color: #111; }

.qform-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.qform-textarea {
  height: 92px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.5;
}

.qform-unit {
  flex-shrink: 0;
  width: 84px;
}

/* Checkbox grid */
.qform-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.qform-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #333;
  font-family: 'Poppins', sans-serif;
  user-select: none;
}
.qform-check input {
  width: 16px;
  height: 16px;
  accent-color: #111;
  cursor: pointer;
  margin: 0;
}

/* Upload box */
.qform-upload {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px dashed #d5d5d5;
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.qform-upload:hover { border-color: #999; background: #fafafa; }
.qform-upload input[type="file"] { display: none; }
.qform-upload-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qform-upload-text { display: flex; flex-direction: column; gap: 2px; }
.qform-upload-title { font-size: 13.5px; font-weight: 700; color: #111; font-family: 'Poppins', sans-serif; }
.qform-upload-sub { font-size: 12px; color: #999; font-family: 'Poppins', sans-serif; }
.qform-upload-filename {
  font-size: 12px;
  color: #1a73e8;
  font-family: 'Poppins', sans-serif;
  margin-top: 4px;
  display: none;
}

/* Action buttons */
.qform-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.qform-btn {
  height: 48px;
  padding: 0 30px;
  border-radius: 50px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.qform-btn-primary { background: #111; color: #fff; }
.qform-btn-primary:hover { background: #333; }
.qform-btn-secondary { background: #1a73e8; color: #fff; }
.qform-btn-secondary:hover { background: #1558b0; }

.qform-share {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s, background .2s;
}
.qform-share:hover { border-color: #111; background: #f5f5f5; }

.qform-custom-link {
  margin-top: 18px;
  font-size: 13px;
  color: #777;
  font-family: 'Poppins', sans-serif;
}
.qform-custom-link a { color: #1a73e8; font-weight: 600; }
.qform-custom-link a:hover { text-decoration: underline; }

/* ── Right: gallery ── */
.ph-gallery { position: sticky; top: 130px; }

.ph-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f4f2ee;
  border-radius: 20px;
  overflow: hidden;
}
.ph-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ph-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.ph-thumb {
  width: 100%;
  border-radius: 10px;
  background: #f4f2ee;
  border: 1.5px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s;
  font-size: 20px;
}
.ph-thumb.active { border-color: #111; }
.ph-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ─────────────────────────────
   BRAND LOGOS ROW
───────────────────────────────*/
.brand-row-section {
  width: 90%;
  max-width: 80%;
  margin: 56px auto 0;
  padding: 36px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.brand-word {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: #ccc;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s;
  cursor: default;
}
.brand-word:hover { color: #111; }

/* ─────────────────────────────
   TABS: Description / Spec / FAQ
───────────────────────────────*/
.ptabs-section {
  width: 90%;
  max-width: 80%;
  margin: 56px auto 0;
}
.ptabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.ptab-btn {
  height: 42px;
  padding: 0 22px;
  border-radius: 50px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: #555;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all .2s;
}
.ptab-btn:hover { border-color: #aaa; color: #111; }
.ptab-btn.active { background: #111; border-color: #111; color: #fff; }

.ptab-panel { display: none; }
.ptab-panel.active { display: block; }

/* Spec table (Product Specification tab) */
.spec-table {
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
}
.spec-row {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.spec-row:nth-child(odd) { background: #fafafa; }
.spec-row + .spec-row { border-top: 1px solid #ececec; }
.spec-key {
  padding: 14px 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: #111;
  font-family: 'Poppins', sans-serif;
}
.spec-val {
  padding: 14px 20px;
  font-size: 13.5px;
  color: #555;
  font-family: 'Poppins', sans-serif;
  border-left: 1px solid #ececec;
}

/* ─────────────────────────────
   SELECT SIZE / COLOR / MATERIAL
───────────────────────────────*/
.material-section {
  width: 90%;
  max-width: 80%;
  margin: 80px auto 0;
}
.material-section-title {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  color: #111;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 44px;
}

.material-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.mat-switcher {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.mat-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #fff;
  font-size: 18px;
  color: #444;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}
.mat-arrow:hover { background: #111; border-color: #111; color: #fff; }
.mat-name {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  font-family: 'Poppins', sans-serif;
}

.mat-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 26px;
  max-width: 420px;
}

.mat-subhead {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
}

.mat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.mat-tag {
  background: #f3f3f3;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.mat-properties { display: flex; flex-direction: column; gap: 9px; }
.mat-property {
  font-size: 13.5px;
  color: #444;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 9px;
}
.mat-property::before {
  content: '✓';
  color: #1a8f4c;
  font-weight: 700;
  flex-shrink: 0;
}

.mat-panel { display: none; }
.mat-panel.active { display: block; }

/* Visual / image side */
.mat-visual {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: stretch;
}
.mat-swatches {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mat-swatch {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.mat-swatch.active { border-color: #111; }

.mat-stage {
  border-radius: 20px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.mat-stage-icon {
  width: 96px;
  height: 96px;
  opacity: .85;
}
.mat-stage-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(0,0,0,.45);
  font-family: 'Poppins', sans-serif;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ─────────────────────────────
   CUSTOM FINISHES SECTION
───────────────────────────────*/
.finishes-section {
  width: 90%;
  max-width: 80%;
  margin: 90px auto 0;
}
.finishes-section-title {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  color: #111;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 44px;
}

.finishes-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.fin-visual {
  border-radius: 20px;
  min-height: 420px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fin-visual-icon { width: 110px; height: 110px; opacity: .9; }

.fin-panel {
  background: #f3f3f3;
  border-radius: 20px;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.fin-panel-title {
  font-size: 14px;
  font-weight: 700;
  color: #777;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 24px;
}

.fin-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
}
.fin-prev,
.fin-next {
  font-size: 16px;
  color: #bbb;
  font-family: 'Poppins', sans-serif;
  transition: opacity .2s;
}
.fin-current {
  font-size: 26px;
  font-weight: 700;
  color: #111;
  font-family: 'Poppins', sans-serif;
}

.fin-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-top: 28px;
  border-top: 1px solid #e2e2e2;
  padding-top: 22px;
  width: 100%;
}
.fin-pill {
  font-size: 12.5px;
  color: #999;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  padding: 4px 2px;
  transition: color .2s;
  border-bottom: 2px solid transparent;
}
.fin-pill:hover { color: #444; }
.fin-pill.active { color: #111; font-weight: 700; border-color: #111; }

/* ─────────────────────────────
   TRUSTED BY / VIDEO REVIEWS
───────────────────────────────*/
.trusted-section {
  width: 90%;
  max-width: 80%;
  margin: 96px auto 0;
  text-align: center;
}
.trusted-title {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  color: #111;
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
  margin-bottom: 10px;
}
.trusted-title .avatar-cluster {
  display: inline-flex;
  margin: 0 6px;
  vertical-align: middle;
}
.trusted-title .ac {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trusted-title .ac:first-child { margin-left: 0; }

.trusted-bar-wrap { display: flex; justify-content: center; margin: 22px 0 40px; }

.vid-slider-wrap {
  position: relative;
}
.vid-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 12px;
}
.vid-track::-webkit-scrollbar { display: none; }

.vid-card {
  flex: 0 0 auto;
  width: 200px;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: #ececec;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
.vid-card.vid-wide { width: 240px; }
.vid-card-name {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 14px;
}
.vid-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.6));
  z-index: 1;
}
.vid-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.vid-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background .2s;
}
.vid-arrow:hover { background: #333; }
.vid-arrow-prev { left: -20px; }
.vid-arrow-next { right: -20px; }

/* ─────────────────────────────
   RELATED PRODUCTS (reuses retail-slider classes)
───────────────────────────────*/
.related-section {
  margin: 96px 0 72px;
}
.related-title {
  width: 90%;
  max-width: 80%;
  margin: 0 auto 36px;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  color: #111;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

/* ─────────────────────────────
   RESPONSIVE
───────────────────────────────*/
@media (max-width: 992px) {
  .product-hero { grid-template-columns: 1fr; gap: 36px; }
  .ph-gallery { position: static; }
  .material-layout { grid-template-columns: 1fr; gap: 32px; }
  .mat-visual { order: -1; }
  .finishes-layout { grid-template-columns: 1fr; }
  .fin-visual { min-height: 260px; }
}

@media (max-width: 768px) {
  .product-hero,
  .brand-row-section,
  .ptabs-section,
  .material-section,
  .finishes-section,
  .trusted-section {
    width: 92%;
    max-width: 100%;
  }
  .related-title { width: 92%; max-width: 100%; }
  .qform-row { flex-direction: column; }
  .qform-unit { width: 100%; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-val { border-left: none; border-top: 1px solid #ececec; }
  .ptabs-nav { flex-wrap: wrap; }
  .fin-panel { padding: 32px 22px; }
  .brand-row-section { gap: 18px 28px; justify-content: center; }
}

@media (max-width: 480px) {
  .qform-actions { flex-direction: column; align-items: stretch; }
  .qform-share { align-self: center; }
}

/* ==================================================
   PRODUCT PAGE REFRESH
   Header aligned desktop width and brand styling
   ================================================== */
.page-product {
  --cbh-navy: #061832;
  --cbh-orange: #ed6e23;
  --cbh-charcoal: #231f20;
  --cbh-cream: #fff7f1;
  --cbh-soft: #f7f9fc;
  --cbh-line: #e5e9f0;
  --cbh-muted: #667085;
}

.page-product .breadcrumb,
.page-product .product-hero,
.page-product .brand-row-section,
.page-product .ptabs-section,
.page-product .material-section,
.page-product .finishes-section,
.page-product .trusted-section,
.page-product .related-title,
.page-product .product-related-slider {
  width: 92%;
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
}

.page-product .breadcrumb {
  margin-top: 18px;
  color: #7a8492;
}

.page-product .product-hero {
  margin-top: 18px;
  gap: 24px;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

.page-product .ph-info {
  border: 1px solid var(--cbh-line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(6, 24, 50, .07);
}

.page-product .ph-info {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 26px);
  background:
    radial-gradient(circle at 100% 0, rgba(237, 110, 35, .11), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fff 72%, #fbfcfe 100%);
}

.page-product .ph-info::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 110px;
  border-radius: 0 0 8px 0;
  background: var(--cbh-orange);
}

.page-product .ph-kicker,
.page-product .ph-gallery-kicker,
.page-product .quote-form-kicker {
  display: block;
  color: var(--cbh-orange);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.page-product .ph-title {
  max-width: 620px;
  margin-bottom: 12px;
  color: var(--cbh-navy);
  font-size: clamp(30px, 3.3vw, 36px);
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.page-product .ph-desc {
  color: var(--cbh-muted);
  max-width: 620px;
  margin-bottom: 24px;
}

.page-product .quote-form-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 -42px 26px;
  padding: 16px 42px;
  border-top: 1px solid #f0e8e2;
  border-bottom: 1px solid #f0e8e2;
  background: linear-gradient(90deg, #fff8f3, #fff);
}

.page-product .quote-form-intro p {
  margin: 4px 0 0;
  color: #7b8490;
  font-size: 12px;
  line-height: 1.6;
}

.page-product .quote-form-step {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--cbh-navy);
  background: #fff;
  border: 1px solid #eadfd7;
  font-size: 12px;
  font-weight: 700;
}

.page-product .qform-group {
  margin-bottom: 18px;
}

.page-product .qform-label {
  color: var(--cbh-navy);
  font-size: 12.5px;
  margin-bottom: 8px;
}

.page-product .qform-input,
.page-product .qform-select,
.page-product .qform-textarea {
  border-color: #dfe4eb;
  background: #fbfcfe;
  border-radius: 12px;
  color: var(--cbh-navy);
}

.page-product .qform-input:focus,
.page-product .qform-select:focus,
.page-product .qform-textarea:focus {
  border-color: var(--cbh-orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(237, 110, 35, .10);
}

.page-product .qform-check input {
  accent-color: var(--cbh-orange);
}

.page-product .qform-upload {
  border-color: #d7dee8;
  background: #f7f9fc;
}

.page-product .qform-upload:hover {
  border-color: var(--cbh-orange);
  background: #fffaf6;
}

.page-product .qform-upload-icon {
  background: #fff;
  color: var(--cbh-navy);
  box-shadow: 0 4px 12px rgba(6, 24, 50, .08);
}

.page-product .qform-btn-primary {
  background: var(--cbh-orange);
  border-color: var(--cbh-orange);
}

.page-product .qform-btn-primary:hover {
  background: #d95e18;
  border-color: #d95e18;
}

.page-product .qform-btn-secondary {
  background: var(--cbh-navy);
  border-color: var(--cbh-navy);
}

.page-product .qform-btn-secondary:hover {
  background: #0b2d59;
  border-color: #0b2d59;
}

.page-product .ph-gallery {
  background: none;
  position: sticky;
  top: 100px;
  align-self: start;
}

.page-product .ph-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.page-product .ph-gallery-head p {
  margin: 4px 0 0;
  color: #8a93a0;
  font-size: 12px;
  line-height: 1.5;
}

.page-product .ph-gallery-badge {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--cbh-navy);
  background: #fff1e8;
  border: 1px solid #ffd8c1;
  font-size: 11px;
  font-weight: 700;
}

.page-product .ph-main-img {
  border-radius: 18px;
  overflow: hidden;
  background: #f4efe9;
  border: 1px solid #ece6df;
  min-height: 560px;
}

.page-product .ph-main-img img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.page-product .ph-thumbs {
  gap: 10px;
}

.page-product .ph-thumb {
  border-radius: 12px;
  border: 1px solid var(--cbh-line);
  background: #fff;
}

.page-product .ph-thumb.active {
  border-color: var(--cbh-orange);
  box-shadow: 0 0 0 2px rgba(237, 110, 35, .15);
}

.page-product .brand-row-section {
  margin-top: 34px;
  padding: 14px 24px;
  border: 1px solid var(--cbh-line);
  border-radius: 18px;
  background: #fbfcfe;
}

.page-product .brand-word {
  color: #a0a8b5;
  font-size: 13px;
  letter-spacing: .8px;
}

.page-product .brand-word:hover {
  color: var(--cbh-orange);
}

.page-product .ptabs-section,
.page-product .material-section,
.page-product .finishes-section,
.page-product .trusted-section {
  margin-top: 64px;
}

.page-product .ptabs-nav {
  width: fit-content;
  padding: 5px;
  border-radius: 14px;
  background: #f2f5f8;
}

.page-product .ptab-btn {
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.page-product .ptab-btn.active {
  background: var(--cbh-navy);
  color: #fff;
  box-shadow: 0 7px 18px rgba(6, 24, 50, .16);
}

.page-product .ptabs-section .content-box {
  width: 100%;
  max-width: none;
  border-color: var(--cbh-line);
  border-radius: 20px;
  background: #fff;
}

.page-product .ptabs-section .content-scrollthumb {
  background: var(--cbh-orange);
}

.page-product .material-section-title,
.page-product .finishes-section-title,
.page-product .trusted-title,
.page-product .related-title {
  color: var(--cbh-navy);
  letter-spacing: -1px;
}

.page-product .material-layout,
.page-product .finishes-layout {
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--cbh-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(6, 24, 50, .05);
}

.page-product .mat-tag {
  background: #fff2e9;
  color: #a74710;
}

.page-product .mat-property::before {
  color: var(--cbh-orange);
}

.page-product .mat-swatch.active {
  border-color: var(--cbh-orange);
}

.page-product .mat-stage {
  border: 1px solid var(--cbh-line);
  background-color: #f5f7fa;
}

.page-product .fin-visual {
  background: var(--cbh-navy) !important;
}

.page-product .fin-panel {
  background: #fff7f1;
  border: 1px solid #f4e4d9;
}

.page-product .fin-current,
.page-product .fin-pill.active {
  color: var(--cbh-navy);
}

.page-product .fin-pill.active {
  border-color: var(--cbh-orange);
}

.page-product .trusted-section {
  padding: 46px 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f7f9fc, #fff8f3);
  border: 1px solid var(--cbh-line);
}

.page-product .related-section {
  margin-top: 76px;
}

.page-product .product-related-slider {
  position: relative;
}

@media (max-width: 1100px) {
  .page-product .product-hero {
    grid-template-columns: 1fr;
  }
  .page-product .ph-gallery {
    position: static;
  }
  .page-product .ph-main-img,
  .page-product .ph-main-img img {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .page-product .breadcrumb,
  .page-product .product-hero,
  .page-product .brand-row-section,
  .page-product .ptabs-section,
  .page-product .material-section,
  .page-product .finishes-section,
  .page-product .trusted-section,
  .page-product .related-title,
  .page-product .product-related-slider {
    width: 92%;
    max-width: 1380px;
  }
  .page-product .ph-info {
    padding: 24px 20px;
  }
  .page-product .quote-form-intro {
    margin: 0 -20px 22px;
    padding: 14px 20px;
  }
  .page-product .ph-main-img,
  .page-product .ph-main-img img {
    min-height: 300px;
  }
}


/* ================================================
   RELATED PRODUCTS
   Self contained styles so this section no longer
   depends on slider rules from index.css/category.css.
   ================================================ */
.page-product .related-section {
  width: 100%;
  margin: 76px 0 88px;
  padding: 0;
}

.page-product .related-title {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto 28px;
  color: var(--cbh-navy, #071d3a);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.7px;
  text-align: center;
}

.page-product .product-related-slider {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

.page-product .product-related-slider .retail-viewport {
  width: 100%;
  overflow: hidden;
  padding: 8px 2px 18px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.page-product .product-related-slider .retail-viewport::-webkit-scrollbar {
  display: none;
}

.page-product .product-related-slider .retail-track {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 20px;
  box-sizing: border-box;
}

.page-product .product-related-slider .retail-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e7ebf0;
  border-radius: 18px;
  background: #fff;
  color: var(--cbh-navy, #071d3a);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(7, 29, 58, .07);
  box-sizing: border-box;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.page-product .product-related-slider .retail-card:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 105, 27, .45);
  box-shadow: 0 18px 42px rgba(7, 29, 58, .13);
}

.page-product .product-related-slider .retail-img-wrap {
  width: 100%;
  overflow: hidden;
  background: #f6f4f1;
  position: relative;
  box-sizing: border-box;
}

.page-product .product-related-slider .retail-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  pointer-events: none;
}

.page-product .product-related-slider .retail-img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.page-product .product-related-slider .retail-card:hover .retail-img-wrap img {
  transform: scale(1.045);
}

.page-product .product-related-slider .retail-label {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 14px 16px 16px;
  color: var(--cbh-navy, #071d3a);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  box-sizing: border-box;
}

.page-product .product-related-slider .retail-arrow {
  position: absolute;
  top: 50%;
  z-index: 12;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--cbh-navy, #071d3a);
  color: #fff;
  box-shadow: 0 8px 24px rgba(7, 29, 58, .2);
  cursor: pointer;
  transform: translateY(-50%);
  appearance: none;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}

.page-product .product-related-slider .retail-arrow:hover {
  background: var(--cbh-orange, #f7691b);
  transform: translateY(-50%) scale(1.06);
}

.page-product .product-related-slider .retail-arrow svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}

.page-product .product-related-slider .retail-prev {
  left: -23px;
}

.page-product .product-related-slider .retail-next {
  right: -23px;
}

@media (max-width: 1280px) {
  .page-product .product-related-slider .retail-prev {
    left: 10px;
  }

  .page-product .product-related-slider .retail-next {
    right: 10px;
  }
}

@media (max-width: 1024px) {
  .page-product .product-related-slider .retail-card {
    flex-basis: calc((100% - 40px) / 3);
  }
}

@media (max-width: 768px) {
  .page-product .related-section {
    margin: 58px 0 68px;
  }

  .page-product .related-title,
  .page-product .product-related-slider {
    width: 92%;
    max-width: 1200px;
  }

  .page-product .related-title {
    margin-bottom: 22px;
  }

  .page-product .product-related-slider .retail-track {
    gap: 14px;
  }

  .page-product .product-related-slider .retail-card {
    flex-basis: calc((100% - 14px) / 2);
    border-radius: 15px;
  }

  .page-product .product-related-slider .retail-arrow {
    width: 40px;
    height: 40px;
    border-width: 3px;
  }

  .page-product .product-related-slider .retail-prev {
    left: 7px;
  }

  .page-product .product-related-slider .retail-next {
    right: 7px;
  }
}

@media (max-width: 480px) {
  .page-product .product-related-slider .retail-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .page-product .product-related-slider .retail-card {
    flex-basis: 84%;
    scroll-snap-align: start;
  }

  .page-product .product-related-slider .retail-label {
    min-height: 56px;
    padding: 12px 14px 14px;
    font-size: 13px;
  }

  .page-product .product-related-slider .retail-arrow {
    display: none;
  }
}
