/* =========================================================
   SILKSHREE — PRODUCTS PAGE
   File: products.css

   This is ADDITIONAL CSS for products.html.
   It is designed for a SINGLE product listing page containing
   all Silkshree product images.

   Existing style.css remains untouched.
   ========================================================= */

.products-page {
  background: var(--paper);
  color: var(--ink);
}

.products-page *,
.products-page *::before,
.products-page *::after {
  box-sizing: border-box;
}


/* =========================================================
   PRODUCTS PAGE HEADER
   ========================================================= */

.products-hero {
  width: min(1400px, calc(100% - 80px));
  margin: 0 auto;
  padding: 105px 0 75px;
}

.products-hero .section-label {
  margin-bottom: 38px;
}

.products-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
  gap: 70px;
  align-items: end;
}

.products-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(65px, 7vw, 110px);
  line-height: .86;
  letter-spacing: -.05em;
  font-weight: 500;
  color: var(--ink);
}

.products-hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.products-hero-copy {
  max-width: 540px;
}

.products-hero-copy p {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}


/* =========================================================
   PRODUCTS LISTING
   ========================================================= */

.products-listing {
  width: min(1400px, calc(100% - 80px));
  margin: 0 auto;
  padding: 0 0 125px;
}


/* Top line / product count */

.products-listing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.products-listing-head span {
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}


/* Main product grid */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 22px;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.product-card {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.product-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ivory);
}

.product-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0;
  padding: 0;
  transition: transform .65s cubic-bezier(.2,.7,.2,1),
              filter .45s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.025);
  filter: brightness(.975);
}


/* Very subtle image overlay */

.product-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(36,52,46,0);
  pointer-events: none;
  transition: background .4s ease;
}

.product-card:hover .product-card-image::after {
  background: rgba(36,52,46,.025);
}


/* Product number */

.product-card-number {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 18px;
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .12em;
  color: var(--ink);
}


/* Optional collection label */

.product-card-category {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 17px;
  font-family: var(--sans);
  font-size: 8px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}


/* Product arrow */

.product-card-arrow {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(36,52,46,.55);
  border-radius: 50%;
  background: rgba(251,247,239,.82);
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .3s ease, transform .3s ease;
}

.product-card:hover .product-card-arrow {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   PRODUCT CARD INFORMATION
   ========================================================= */

.product-card-info {
  padding: 18px 2px 0;
}

.product-card-info h2,
.product-card-info h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.02;
  letter-spacing: -.02em;
  font-weight: 500;
  color: var(--ink);
}

.product-card-info p {
  margin: 9px 0 0;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.product-card-price {
  display: block;
  margin-top: 13px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink);
}


/* =========================================================
   OPTIONAL PRODUCT TAGS
   ========================================================= */

.product-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 12px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 8px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}


/* =========================================================
   TWO-IMAGE PRODUCT CARD
   If a product has two images on the SAME products page,
   they can be displayed side by side without cropping.
   ========================================================= */

.product-card-images-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-card-images-two .product-card-image {
  aspect-ratio: 3 / 4;
}

.product-card-images-two img {
  object-fit: contain;
}


/* =========================================================
   PRODUCT SECTION / COLLECTION DIVIDER
   ========================================================= */

.products-section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 80px 0 35px;
}

.products-section-divider::before,
.products-section-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.products-section-divider span {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}


/* =========================================================
   TABLET — 901px TO 1100px
   ========================================================= */

@media (min-width: 901px) and (max-width: 1100px) {

  .products-hero,
  .products-listing {
    width: calc(100% - 60px);
  }

  .products-hero {
    padding-top: 85px;
    padding-bottom: 65px;
  }

  .products-hero-grid {
    gap: 50px;
  }

  .products-hero h1 {
    font-size: clamp(58px, 7.5vw, 88px);
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 18px;
  }

  .product-card-info h2,
  .product-card-info h3 {
    font-size: 24px;
  }
}


/* =========================================================
   TABLET PORTRAIT — 701px TO 900px
   ========================================================= */

@media (min-width: 701px) and (max-width: 900px) {

  .products-hero,
  .products-listing {
    width: calc(100% - 48px);
  }

  .products-hero {
    padding: 75px 0 60px;
  }

  .products-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .products-hero h1 {
    font-size: clamp(58px, 9vw, 82px);
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 16px;
  }

  .products-listing {
    padding-bottom: 95px;
  }
}


/* =========================================================
   MOBILE — UP TO 700px
   ========================================================= */

@media (max-width: 700px) {

  .products-hero,
  .products-listing {
    width: calc(100% - 40px);
  }

  .products-hero {
    padding: 65px 0 55px;
  }

  .products-hero .section-label {
    margin-bottom: 35px;
  }

  .products-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .products-hero h1 {
    font-size: clamp(54px, 16vw, 80px);
    line-height: .88;
  }

  .products-hero-copy p {
    font-size: 13px;
    line-height: 1.75;
  }

  .products-listing {
    padding-bottom: 75px;
  }

  .products-listing-head {
    margin-bottom: 22px;
    padding-top: 16px;
  }

  .products-listing-head span {
    font-size: 8px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 10px;
  }

  .product-card-image {
    aspect-ratio: 3 / 4;
  }

  .product-card-number {
    top: 12px;
    left: 12px;
    font-size: 8px;
  }

  .product-card-category {
    top: 12px;
    right: 12px;
    font-size: 7px;
  }

  .product-card-arrow {
    right: 10px;
    bottom: 10px;
    width: 29px;
    height: 29px;
    font-size: 11px;
    opacity: 1;
    transform: none;
  }

  .product-card-info {
    padding-top: 13px;
  }

  .product-card-info h2,
  .product-card-info h3 {
    font-size: 20px;
    line-height: 1.02;
  }

  .product-card-info p {
    margin-top: 7px;
    font-size: 10px;
  }

  .product-card-price {
    margin-top: 9px;
    font-size: 12px;
  }

  .product-tag {
    margin-top: 9px;
    font-size: 7px;
  }

  .product-card-images-two {
    gap: 5px;
  }

  .products-section-divider {
    margin: 60px 0 28px;
  }
}


/* =========================================================
   SMALL MOBILE — UP TO 420px
   ========================================================= */

@media (max-width: 420px) {

  .products-hero,
  .products-listing {
    width: calc(100% - 32px);
  }

  .products-hero {
    padding-top: 55px;
    padding-bottom: 48px;
  }

  .products-hero h1 {
    font-size: clamp(48px, 16vw, 70px);
  }

  .products-grid {
    gap: 28px 8px;
  }

  .product-card-info h2,
  .product-card-info h3 {
    font-size: 18px;
  }

  .product-card-info p {
    font-size: 9px;
  }

  .product-card-price {
    font-size: 11px;
  }
}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 340px) {

  .products-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .product-card-image {
    aspect-ratio: 4 / 5;
  }
}


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

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

  .product-card-image img,
  .product-card-image::after,
  .product-card-arrow {
    transition: none;
  }

}


/* =========================================================
   FINAL PRODUCT VIEWER OVERRIDES
   One image on product card.
   Two product images shown ONE AT A TIME in popup.
   ========================================================= */

.products-page .product-card-trigger {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.products-page .product-card-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.products-page .product-lightbox {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

.products-page .product-lightbox.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.products-page .product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 32, 29, .88);
  cursor: pointer;
}

.products-page .product-lightbox-panel {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  max-height: calc(100vh - 70px);
  overflow: auto;
  padding: 32px;
  background: var(--paper);
}

.products-page .product-lightbox-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.products-page .product-lightbox-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 5px 58px 25px 5px;
}

.products-page .product-lightbox-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.products-page .product-lightbox-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  line-height: .92;
  letter-spacing: -.035em;
  font-weight: 500;
  color: var(--ink);
}

.products-page .product-lightbox-price {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

/* Viewer: ONLY ONE image is visible at a time */
.products-page .product-lightbox-viewer {
  position: relative;
  width: 100%;
  background: var(--ivory);
}

.products-page .product-lightbox-slide {
  display: none;
  position: relative;
  width: 100%;
  height: min(67vh, 700px);
  background: var(--ivory);
}

.products-page .product-lightbox-slide.is-active {
  display: block;
}

.products-page .product-lightbox-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.products-page .product-lightbox-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 11px;
  background: rgba(251,247,239,.9);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Previous / next controls */
.products-page .product-lightbox-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.products-page .product-lightbox-nav button {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(36,52,46,.3);
  border-radius: 50%;
  background: rgba(251,247,239,.9);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  cursor: pointer;
}

.products-page .product-lightbox-nav button:hover {
  background: var(--paper);
}

/* Small image selectors below the large image */
.products-page .product-lightbox-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 90px);
  gap: 9px;
  margin-top: 12px;
}

.products-page .product-lightbox-thumb {
  width: 90px;
  height: 105px;
  padding: 0;
  border: 1px solid transparent;
  background: var(--ivory);
  overflow: hidden;
  cursor: pointer;
}

.products-page .product-lightbox-thumb.is-active {
  border-color: var(--gold);
}

.products-page .product-lightbox-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Popup footer */
.products-page .product-lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 24px 5px 2px;
}

.products-page .product-lightbox-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.products-page .product-lightbox-details div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.products-page .product-lightbox-details span {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

.products-page .product-lightbox-details strong {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.products-page .product-lightbox-footer .btn {
  flex: 0 0 auto;
}

.products-page.product-lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .products-page .product-lightbox {
    padding: 12px;
  }

  .products-page .product-lightbox-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 18px;
  }

  .products-page .product-lightbox-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 23px;
  }

  .products-page .product-lightbox-heading {
    display: block;
    padding: 3px 45px 18px 2px;
  }

  .products-page .product-lightbox-heading h2 {
    font-size: clamp(35px, 11vw, 50px);
  }

  .products-page .product-lightbox-price {
    display: block;
    margin-top: 10px;
    font-size: 15px;
  }

  .products-page .product-lightbox-slide {
    height: 58vh;
    min-height: 340px;
  }

  .products-page .product-lightbox-nav {
    padding: 0 8px;
  }

  .products-page .product-lightbox-nav button {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .products-page .product-lightbox-thumbs {
    grid-template-columns: repeat(2, 70px);
    gap: 7px;
  }

  .products-page .product-lightbox-thumb {
    width: 70px;
    height: 82px;
  }

  .products-page .product-lightbox-footer {
    display: block;
    padding-top: 18px;
  }

  .products-page .product-lightbox-details {
    gap: 18px;
    margin-bottom: 20px;
  }

  .products-page .product-lightbox-footer .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .products-page .product-lightbox-panel {
    padding: 14px;
  }

  .products-page .product-lightbox-slide {
    height: 54vh;
    min-height: 300px;
  }

  .products-page .product-lightbox-caption {
    left: 10px;
    bottom: 10px;
    font-size: 8px;
  }
}

/* =========================================================
   SILKSHREE PRODUCTS PAGE
   ========================================================= */


/* ---------------------------------------------------------
   01. PRODUCTS INTRO
   --------------------------------------------------------- */

.products-page .products-hero {
    width: 100%;
    padding: 55px 40px 60px;
    text-align: center;
}

.products-page .products-hero-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.products-page .products-hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(48px, 5vw, 78px);
    line-height: .95;
    letter-spacing: -.04em;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
}

.products-page .products-hero h1 em {
    color: var(--gold);
    font-style: italic;
}

.products-page .products-hero-text {
    max-width: 1100px;
    margin: 22px auto 0;
}

.products-page .products-hero-text p {
    margin: 0;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.4;
    color: var(--ink);
    white-space: nowrap;
}


/* ---------------------------------------------------------
   02. PRODUCT LIST
   --------------------------------------------------------- */

.products-page .products-listing {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
    padding: 0 0 120px;
}

.products-page .products-listing-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.products-page .products-listing-head span {
    font-family: var(--sans);
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}


/* ---------------------------------------------------------
   03. PRODUCT GRID
   --------------------------------------------------------- */

.products-page .products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 50px 22px;
}


/* ---------------------------------------------------------
   04. PRODUCT CARD
   --------------------------------------------------------- */

.products-page .product-card {
    min-width: 0;
}

.products-page .product-card-trigger {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.products-page .product-card-trigger:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}


/* ---------------------------------------------------------
   05. PRODUCT IMAGE
   --------------------------------------------------------- */

.products-page .product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--ivory);
}

.products-page .product-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform .6s ease;
}

.products-page .product-card-trigger:hover .product-card-image img {
    transform: scale(1.025);
}


/* Product number */

.products-page .product-card-number {
    position: absolute;
    top: 17px;
    left: 18px;
    z-index: 2;

    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: .12em;
    color: var(--ink);
}


/* Category */

.products-page .product-card-category {
    position: absolute;
    top: 17px;
    right: 18px;
    z-index: 2;

    font-family: var(--sans);
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
}


/* Arrow */

.products-page .product-card-arrow {
    position: absolute;
    right: 15px;
    bottom: 15px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(36,52,46,.35);
    border-radius: 50%;

    background: rgba(251,247,239,.9);

    font-size: 14px;
    color: var(--ink);

    opacity: 0;
    transform: translateY(7px);

    transition:
        opacity .3s ease,
        transform .3s ease;
}

.products-page .product-card-trigger:hover .product-card-arrow {
    opacity: 1;
    transform: translateY(0);
}


/* ---------------------------------------------------------
   06. PRODUCT INFORMATION
   --------------------------------------------------------- */

.products-page .product-card-info {
    padding-top: 18px;
}

.products-page .product-card-info h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: 28px;
    line-height: 1;
    letter-spacing: -.02em;
    font-weight: 500;

    color: var(--ink);
}

.products-page .product-card-info p {
    margin: 8px 0 0;

    font-family: var(--sans);
    font-size: 11px;
    line-height: 1.5;

    color: var(--ink-soft);
}

.products-page .product-card-price {
    display: block;
    margin-top: 12px;

    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;

    color: var(--ink);
}


/* =========================================================
   07. PRODUCT POPUP
   ========================================================= */

.products-page .product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(24,32,29,.88);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.products-page .product-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Popup box */

.products-page .product-lightbox-panel {
    position: relative;

    width: min(1100px, 100%);
    max-height: calc(100vh - 60px);

    overflow-y: auto;

    padding: 30px;

    background: var(--paper);
}


/* Close */

.products-page .product-lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;

    width: 42px;
    height: 42px;

    border: 1px solid var(--line);
    border-radius: 50%;

    background: var(--paper);

    font-size: 25px;
    line-height: 1;

    color: var(--ink);
    cursor: pointer;
}


/* Popup heading */

.products-page .product-lightbox-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    padding: 5px 55px 25px 5px;
}

.products-page .product-lightbox-label {
    display: block;
    margin-bottom: 8px;

    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;

    color: var(--gold);
}

.products-page .product-lightbox-heading h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(40px, 4vw, 60px);
    line-height: .9;
    font-weight: 500;

    color: var(--ink);
}

.products-page .product-lightbox-price {
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
}


/* ---------------------------------------------------------
   08. POPUP — ONE IMAGE AT A TIME
   --------------------------------------------------------- */

.products-page .product-lightbox-viewer {
    position: relative;
    width: 100%;
    background: var(--ivory);
}

.products-page .product-lightbox-slide {
    display: none;

    position: relative;

    width: 100%;
    height: min(68vh, 700px);

    background: var(--ivory);
}

.products-page .product-lightbox-slide.is-active {
    display: block;
}

.products-page .product-lightbox-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;
}


/* Image caption */

.products-page .product-lightbox-caption {
    position: absolute;
    left: 15px;
    bottom: 15px;

    padding: 7px 10px;

    background: rgba(251,247,239,.9);

    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;

    color: var(--ink);
}


/* ---------------------------------------------------------
   09. POPUP ARROWS
   --------------------------------------------------------- */

.products-page .product-lightbox-nav {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 15px;

    pointer-events: none;
}

.products-page .product-lightbox-nav button {
    pointer-events: auto;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(36,52,46,.35);
    border-radius: 50%;

    background: rgba(251,247,239,.92);

    font-size: 17px;
    color: var(--ink);

    cursor: pointer;
}


/* ---------------------------------------------------------
   10. POPUP THUMBNAILS
   --------------------------------------------------------- */

.products-page .product-lightbox-thumbs {
    display: flex;
    gap: 10px;

    margin-top: 10px;
}

.products-page .product-lightbox-thumb {
    width: 75px;
    height: 90px;

    padding: 0;

    border: 1px solid transparent;

    background: var(--ivory);

    overflow: hidden;

    cursor: pointer;
}

.products-page .product-lightbox-thumb.is-active {
    border-color: var(--gold);
}

.products-page .product-lightbox-thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* ---------------------------------------------------------
   11. POPUP FOOTER
   --------------------------------------------------------- */

.products-page .product-lightbox-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding: 22px 5px 0;
}

.products-page .product-lightbox-details {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.products-page .product-lightbox-details div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.products-page .product-lightbox-details span {
    font-family: var(--sans);
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
}

.products-page .product-lightbox-details strong {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink);
}


/* =========================================================
   12. TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .products-page .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 800px) {

    .products-page .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-page .products-listing {
        width: calc(100% - 48px);
    }

    .products-page .products-hero {
        padding-left: 24px;
        padding-right: 24px;
    }

    .products-page .products-hero h1 {
        font-size: clamp(45px, 8vw, 65px);
    }

    .products-page .products-hero-text p {
        font-size: 17px;
        white-space: normal;
    }

}


/* =========================================================
   13. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .products-page .products-hero {
        padding: 55px 20px 50px;
    }

    .products-page .products-hero h1 {
        font-size: clamp(42px, 13vw, 62px);
        white-space: normal;
    }

    .products-page .products-hero-text {
        margin-top: 18px;
    }

    .products-page .products-hero-text p {
        font-size: 14px;
        white-space: normal;
    }

    .products-page .products-listing {
        width: calc(100% - 32px);
        padding-bottom: 70px;
    }

    .products-page .products-listing-head {
        padding: 15px 0;
        margin-bottom: 20px;
    }

    .products-page .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 10px;
    }

    .products-page .product-card-info {
        padding-top: 12px;
    }

    .products-page .product-card-info h2 {
        font-size: 21px;
    }

    .products-page .product-card-info p {
        font-size: 9px;
    }

    .products-page .product-card-price {
        font-size: 12px;
        margin-top: 8px;
    }

    .products-page .product-card-arrow {
        opacity: 1;
        transform: none;

        width: 30px;
        height: 30px;

        right: 9px;
        bottom: 9px;

        font-size: 11px;
    }


    /* Popup */

    .products-page .product-lightbox {
        padding: 10px;
    }

    .products-page .product-lightbox-panel {
        max-height: calc(100vh - 20px);
        padding: 16px;
    }

    .products-page .product-lightbox-heading {
        display: block;
        padding-right: 45px;
    }

    .products-page .product-lightbox-heading h2 {
        font-size: clamp(34px, 10vw, 50px);
    }

    .products-page .product-lightbox-price {
        display: block;
        margin-top: 10px;
    }

    .products-page .product-lightbox-slide {
        height: 55vh;
        min-height: 300px;
    }

    .products-page .product-lightbox-nav button {
        width: 36px;
        height: 36px;
    }

    .products-page .product-lightbox-footer {
        display: block;
    }

    .products-page .product-lightbox-details {
        margin-bottom: 20px;
        gap: 18px;
    }

    .products-page .product-lightbox-footer .btn {
        width: 100%;
    }

}