/* ============================================================
   WOOD VIDA — SHOP (collection.html + product.html)
   Load AFTER style.css. New classes start with cl- (collection)
   or pd- (product), so the old .collection-* rules are not used.
   ============================================================ */

.cl-eyebrow {
  color: var(--wood);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ---------- page intro ---------- */
.cl-intro {
  max-width: 1480px;
  margin: 0 auto;
  padding: 72px 5% 40px;
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  gap: 40px;
  align-items: end;
}
.cl-title {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 7.4vw, 108px);
  line-height: .92;
  letter-spacing: -.02em;
  color: var(--green);
}
.cl-title em { color: var(--wood); font-style: italic; }
.cl-line { color: var(--muted); font-size: 15px; line-height: 1.85; padding-bottom: 8px; }

/* ---------- sticky filter bar ---------- */
.cl-bar {
  position: sticky;
  top: 82px;
  z-index: 60;
  background: rgba(245, 240, 231, .95);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cl-bar-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cl-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cl-tabs::-webkit-scrollbar { display: none; }
.cl-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--green);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.cl-tab small { font-size: 10px; opacity: .6; }
.cl-tab:hover,
.cl-tab.active { background: var(--green); border-color: var(--green); color: var(--cream); }
.cl-meta { flex: 0 0 auto; color: var(--wood); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

/* ---------- product grid ---------- */
.cl-section { padding: 48px 5% 110px; }
.cl-wrap { max-width: 1480px; margin: 0 auto; }
.cl-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 38px 18px;
}
.cl-card { display: block; align-self: start; animation: cl-in .6s ease both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes cl-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.cl-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  background: var(--cream-dark);
}
.cl-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.cl-card:hover .cl-card-media img { transform: scale(1.05); }

.cl-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(245, 240, 231, .92);
  color: var(--green);
  font-size: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.cl-view {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 11px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--green);
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.cl-card:hover .cl-view,
.cl-card:focus-visible .cl-view { opacity: 1; transform: none; }

.cl-card-info { display: block; padding-top: 14px; }
.cl-card-cat { display: block; color: var(--wood); font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; }
.cl-card-name { display: block; margin-top: 6px; font-family: var(--serif); font-size: 21px; line-height: 1.1; color: var(--green); }
.cl-card-price { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }

/* coming soon: no image, just a quiet placeholder */
.cl-soon-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  border: 1px dashed rgba(128, 107, 78, .45);
  border-radius: 20px;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(128, 107, 78, .06) 14px 15px);
}
.cl-soon-media em { font-family: var(--serif); font-size: 20px; color: var(--wood); }

.cl-empty { padding: 80px 0; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- statement + final ---------- */
.cl-statement { padding: 150px 6%; background: var(--green); color: var(--cream); text-align: center; }
.cl-statement .cl-eyebrow { color: var(--gold); }
.cl-statement h2 {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 96px);
  line-height: .94;
  letter-spacing: -.02em;
}
.cl-statement h2 em { color: var(--gold); font-style: italic; }
.cl-statement p { max-width: 560px; margin: 26px auto 0; color: #cfd4cb; font-size: 14px; line-height: 1.85; }

.cl-final { padding: 130px 6% 170px; background: var(--cream-dark); text-align: center; }
.cl-final h2 {
  max-width: 900px;
  margin: 20px auto 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--green);
}
.cl-final-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; }
.cl-secondary { background: transparent; color: var(--green); }
.cl-secondary:hover { background: var(--green); color: var(--cream); }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.pd-crumbs {
  max-width: 1480px;
  margin: 0 auto;
  padding: 32px 5% 0;
  color: var(--wood);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.pd-crumbs a:hover { color: var(--green); }
.pd-crumbs span { color: var(--green); }

.pd {
  max-width: 1480px;
  margin: 0 auto;
  padding: 34px 5% 120px;

  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);

  gap: clamp(45px, 6vw, 110px);

  align-items: start;
}

.pd-gallery { position: sticky; top: 112px; }
.pd-main { height: min(76vh, 780px); overflow: hidden; border-radius: 28px; background: var(--cream-dark); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb {
  width: 78px;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background: none;
  opacity: .65;
  transition: opacity .25s ease, border-color .25s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active, .pd-thumb:hover { opacity: 1; border-color: var(--green); }

.pd-title {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 5.4vw, 80px);
  line-height: .96;
  letter-spacing: -.02em;
  color: var(--green);
}
.pd-price { margin-top: 18px; font-family: var(--serif); font-size: 26px; color: var(--wood); }
.pd-text { max-width: 54ch; margin-top: 22px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.pd-specs { margin: 34px 0; border-top: 1px solid var(--border); }
.pd-spec { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.pd-spec dt { color: var(--wood); }
.pd-spec dd { color: var(--green); text-align: right; }
.pd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pd-actions .whatsapp-enquiry-button { min-height: 52px; padding: 0 22px; }
.pd-note { margin-top: 16px; min-height: 18px; color: var(--wood); font-size: 12px; letter-spacing: .5px; }
.pd-missing { grid-column: 1 / -1; padding: 90px 0 60px; }
.pd-missing .button { margin-top: 34px; }

.pd-related { padding: 70px 5% 170px; border-top: 1px solid var(--border); }
.pd-related-head { margin-bottom: 32px; }
.pd-related-head h2 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 56px); color: var(--green); }

/* ---------- responsive ---------- */
@media (max-width: 1200px) { .cl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 1000px) {
  .cl-intro { grid-template-columns: 1fr; gap: 20px; }
  .cl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .pd-main { height: min(70vh, 640px); }
}

@media (max-width: 700px) {
  .cl-bar { top: 70px; }
  .cl-intro { padding: 48px 6% 28px; }
  .cl-bar-inner { padding: 12px 6%; }
  .cl-meta { display: none; }
  .cl-section { padding: 32px 6% 90px; }
  .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .cl-card-name { font-size: 18px; }
  .cl-card-media, .cl-soon-media { border-radius: 16px; }
  .cl-statement { padding: 95px 6%; }
  .cl-final { padding: 85px 6% 150px; }
  .cl-final-actions .button { width: 100%; }
  .pd-crumbs { padding-top: 24px; }
  .pd { padding: 20px 6% 70px; }
  .pd-actions .button, .pd-actions .whatsapp-enquiry-button { width: 100%; }
  .pd-related { padding: 50px 6% 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .cl-card { animation: none; }
  .cl-card-media img, .cl-view { transition: none; }
}
/* ============================================================
   WOOD VIDA — PREMIUM PRODUCT PAGE ENHANCEMENTS
   ============================================================ */

/* Product availability */

.pd-availability {
  margin-top: 10px;
  color: var(--wood);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}


/* Product information spacing */

.pd-info {
  position: relative;
  padding: 18px 0 0;
  max-width: 620px;
}

.pd-info > .pd-text:first-of-type {
  margin-top: 28px;
}


/* Main product image */

.pd-main {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--cream-dark);
}

.pd-main img {
  transition:
    transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.pd-main:hover img {
  transform: scale(1.015);
}


/* Product thumbnails */

.pd-thumbs {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pd-thumbs::-webkit-scrollbar {
  display: none;
}

.pd-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--cream-dark);
  overflow: hidden;
  cursor: pointer;
  opacity: .62;
  transition:
    opacity .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

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

.pd-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.pd-thumb.active {
  opacity: 1;
  border-color: var(--green);
}


/* Product specifications */

.pd-specs {
  margin-top: 34px;
}

.pd-spec {
  min-height: 52px;
  align-items: center;
}

.pd-spec dt {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.pd-spec dd {
  font-size: 13px;
}


/* Product actions */

.pd-actions {
  margin-top: 30px;
}

.pd-actions .button,
.pd-actions .whatsapp-enquiry-button {
  min-height: 54px;
  border-radius: 999px;
}

.pd-actions .button {
  padding: 0 30px;
}


/* ============================================================
   PRODUCT DETAIL SECTIONS
   ============================================================ */

.pd-details {
  margin-top: 70px;
  border-top: 1px solid var(--border);
}

.pd-section {
  padding: 42px 0;
  border-bottom: 1px solid var(--border);
}

.pd-section:last-child {
  border-bottom: none;
}

.pd-sub {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
  color: var(--green);
}


/* ============================================================
   FEATURES
   ============================================================ */

.pd-features {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.pd-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.pd-features li:last-child {
  border-bottom: none;
}

.pd-feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--wood);
  font-size: 13px;
}


/* ============================================================
   SHIPPING / WARRANTY
   ============================================================ */

.pd-info-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.pd-info-block:last-child {
  border-bottom: none;
}

.pd-info-block h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 23px;
  color: var(--green);
}

.pd-info-block p {
  max-width: 58ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}


/* ============================================================
   RELATED PRODUCTS
   ============================================================ */

.pd-related {
  background: var(--cream-dark);
}

.pd-related-head {
  max-width: 700px;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 1000px) {

  .pd {
    gap: 45px;
  }

  .pd-gallery {
    width: 100%;
  }

  .pd-info {
  position: relative;
  padding: 18px 0 0;
  max-width: 620px;
}
}


@media (max-width: 700px) {

  .pd {
    padding-top: 15px;
  }

  .pd-main {
    height: 68vh;
    min-height: 420px;
    border-radius: 18px;
  }

  .pd-title {
    font-size: 48px;
  }

  .pd-price {
    font-size: 23px;
  }

  .pd-details {
    margin-top: 45px;
  }

  .pd-section {
    padding: 32px 0;
  }

  .pd-sub {
    font-size: 34px;
  }

  .pd-thumb {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  .pd-main img,
  .pd-thumb {
    transition: none;
  }

  .pd-main:hover img {
    transform: none;
  }

}

/* ============================================================
   WOOD VIDA — PRODUCT DETAILS STORY SECTION
   ============================================================ */

.pd-extra {
    padding: 120px 6%;
    background: var(--green);
    color: var(--cream);
}

.pd-extra-inner {
    max-width: 1480px;
    margin: 0 auto;
}

.pd-extra-intro {
    max-width: 760px;
}

.pd-extra-intro .cl-eyebrow {
    color: var(--gold);
}

.pd-extra-intro h2 {
    margin-top: 22px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(48px, 6vw, 88px);
    line-height: .95;
    letter-spacing: -.025em;
}

.pd-extra-intro h2 em {
    color: var(--gold);
    font-style: italic;
}

.pd-extra-grid {
    margin-top: 90px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid rgba(245,240,231,.22);
}

.pd-extra-item {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 20px;
    padding: 38px 30px 38px 0;
    border-bottom: 1px solid rgba(245,240,231,.22);
}

.pd-extra-item:nth-child(odd) {
    border-right: 1px solid rgba(245,240,231,.22);
    padding-right: 50px;
}

.pd-extra-item:nth-child(even) {
    padding-left: 50px;
}

.pd-extra-number {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 2px;
}

.pd-extra-item h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 12px;
}

.pd-extra-item p {
    max-width: 48ch;
    color: #cfd4cb;
    font-size: 13px;
    line-height: 1.85;
}


/* Mobile */

@media (max-width: 700px) {

    .pd-extra {
        padding: 80px 6%;
    }

    .pd-extra-grid {
        margin-top: 55px;
        grid-template-columns: 1fr;
    }

    .pd-extra-item,
    .pd-extra-item:nth-child(odd),
    .pd-extra-item:nth-child(even) {
        padding: 30px 0;
        border-right: none;
    }

    .pd-extra-item h3 {
        font-size: 24px;
    }

}

/* ============================================================
   WOOD VIDA — CINEMATIC PRODUCT GALLERY
   ============================================================ */

.pd-gallery {
    position: sticky;
    top: 112px;
}

.pd-main {
    height: min(78vh, 820px);
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    background: var(--cream-dark);
}

.pd-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(.2,.7,.2,1);
}

.pd-main:hover img {
    transform: scale(1.025);
}

/* subtle image overlay */

.pd-main::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.02),
        transparent 45%,
        rgba(0,0,0,.12)
    );
}

/* thumbnails */

.pd-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.pd-thumb {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    background: var(--cream-dark);
    opacity: .55;
    cursor: pointer;
    transition:
        opacity .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.pd-thumb.active {
    opacity: 1;
    border-color: var(--green);
}


/* Mobile */

@media (max-width: 1000px) {

    .pd-gallery {
        position: static;
    }

    .pd-main {
        height: min(72vh, 700px);
    }

}

@media (max-width: 700px) {

    .pd-main {
        height: 68vh;
        min-height: 420px;
        border-radius: 18px;
    }

    .pd-thumb {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

}

