:root {
  --product-ink: #252526;
  --product-dark: #222324;
  --product-muted: #6c6862;
  --product-gold: #b99769;
  --product-paper: #f4f1ec;
  --product-white: #fff;
  --product-line: rgba(37, 37, 38, .14);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--product-white);
  color: var(--product-ink);
  font-family: Lato, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

body.products-page--zh {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.products-main { overflow: hidden; }
.products-container { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }

.products-kicker {
  margin: 0 0 17px;
  color: var(--product-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.products-hero {
  position: relative;
  min-height: min(900px, 94vh);
  display: grid;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  background-color: var(--product-dark);
  background-image: url("../images/hero-product-center-dracaena.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

.products-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .7) 43%, rgba(10, 10, 10, .28) 72%, rgba(10, 10, 10, .38) 100%);
  content: "";
}

.products-hero__grid {
  position: relative;
  z-index: 1;
}

.products-hero__copy { max-width: 670px; }
.products-hero h1,
.products-section-heading h2,
.product-detail__info h1,
.product-copy h2,
.product-related h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
}

.products-page--zh .products-hero h1,
.products-page--zh .products-section-heading h2,
.products-page--zh .product-detail__info h1,
.products-page--zh .product-copy h2,
.products-page--zh .product-related h2 {
  font-family: "Noto Serif SC", "Songti SC", STSong, Georgia, serif;
}

.products-hero h1 {
  font-size: clamp(52px, 7.2vw, 94px);
  letter-spacing: -.035em;
}

.products-hero__lead {
  max-width: 610px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(16px, 1.6vw, 19px);
}

.products-button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 1px solid var(--product-gold);
  background: var(--product-gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.products-button:hover,
.products-button:focus-visible { border-color: #96764f; background: #96764f; }
.products-button--outline { border-color: rgba(255,255,255,.55); background: transparent; }
.products-button--outline:hover,
.products-button--outline:focus-visible { border-color: #fff; background: #fff; color: var(--product-dark); }

.products-button:focus-visible,
.products-filter button:focus-visible,
.product-card__link:focus-visible { outline: 2px solid var(--product-gold); outline-offset: 4px; }

.products-intro { padding: 112px 0 104px; background: #fff; }
.products-intro__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(55px,8vw,120px); }
.products-section-heading { max-width: 760px; }
.products-section-heading h2 { font-size: clamp(38px,4.6vw,62px); }
.products-intro__copy p { margin: 0 0 18px; color: var(--product-muted); }
.products-intro__copy p:first-child { color: var(--product-ink); font-size: clamp(20px,2vw,26px); line-height: 1.55; }

.products-catalog { padding: 105px 0 120px; background: var(--product-paper); scroll-margin-top: 90px; }
.products-catalog__head { display: flex; gap: 35px; align-items: end; justify-content: space-between; margin-bottom: 48px; }
.products-catalog__head .products-section-heading h2 { margin-bottom: 16px; }
.products-catalog__head .products-section-heading > p:last-child { margin: 0; color: var(--product-muted); }

.products-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.products-filter button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--product-line);
  background: transparent;
  color: var(--product-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.products-filter button:hover,
.products-filter button[aria-pressed="true"] { border-color: var(--product-dark); background: var(--product-dark); color: #fff; }

.collection-directory { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: -19px 0 46px; }
.collection-directory a { padding: 8px 0; border-bottom: 1px solid var(--product-gold); color: var(--product-ink); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.collection-directory a:hover,
.collection-directory a:focus-visible { color: var(--product-gold); }

.products-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 22px; }
.product-card { position: relative; min-width: 0; background: #fff; }
.product-card[hidden] { display: none; }
.product-card__media { position: relative; display: grid; aspect-ratio: 4 / 5; place-items: center; overflow: hidden; background: transparent; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card__body { min-height: 166px; padding: 25px 25px 28px; }
.product-card__collection { margin: 0 0 10px; color: var(--product-gold); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.product-card h3 { margin: 0 0 9px; font-family: "Playfair Display",Georgia,serif; font-size: 23px; font-weight: 400; line-height: 1.25; }
.products-page--zh .product-card h3 { font-family: "Noto Serif SC","Songti SC",STSong,serif; }
.product-card__type { margin: 0; color: var(--product-muted); font-size: 13px; }
.product-card__price { margin: 13px 0 0; color: var(--product-ink); font-size: 14px; font-weight: 700; }
.product-card__link { position: absolute; inset: 0; z-index: 1; }
.product-card__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.products-source { padding: 78px 0; background: var(--product-dark); color: #fff; }
.products-source__grid { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: clamp(50px,8vw,115px); align-items: start; }
.products-source h2 { margin: 0; font-family: "Playfair Display",Georgia,serif; font-size: clamp(34px,4vw,50px); font-weight: 400; line-height: 1.15; }
.products-page--zh .products-source h2 { font-family: "Noto Serif SC","Songti SC",STSong,serif; }
.products-source__copy p { margin: 0 0 16px; color: rgba(255,255,255,.68); }

.product-detail-hero { min-height: 840px; padding: 150px 0 95px; background: var(--product-dark); color: #fff; }
.product-breadcrumb { margin: 0 0 34px; color: rgba(255,255,255,.58); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.product-breadcrumb a { text-decoration: none; }
.product-breadcrumb a:hover { color: #fff; }
.product-detail { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.8fr); gap: clamp(55px,8vw,110px); align-items: center; }
.product-detail__media { display: block; min-height: 0; background: transparent; }
.product-detail__media img { width: 100%; height: auto; max-height: none; object-fit: cover; }
.product-detail__collection { margin-bottom: 17px; }
.product-detail__info h1 { margin-bottom: 24px; font-size: clamp(44px,5.4vw,72px); }
.product-detail__intro { margin: 0 0 30px; color: rgba(255,255,255,.7); font-size: 17px; }
.product-detail__price { margin: 0 0 28px; color: #fff; font-size: 20px; font-weight: 700; letter-spacing: .05em; }
.product-detail__info > .products-button { margin-top: 2px; }
.product-meta { display: grid; grid-template-columns: 1fr 1fr; margin: 32px 0; border-top: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
.product-meta > div { padding: 18px 20px 18px 0; }
.product-meta > div:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.17); }
.product-meta dt { margin-bottom: 5px; color: var(--product-gold); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.product-meta dd { margin: 0; color: rgba(255,255,255,.85); font-size: 14px; }
.product-detail__availability { margin: 20px 0 0; color: rgba(255,255,255,.56); font-size: 13px; }

.product-copy { padding: 115px 0; background: #fff; }
.product-copy__head { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: clamp(50px,8vw,110px); margin-bottom: 75px; }
.product-copy h2 { font-size: clamp(37px,4.5vw,58px); }
.product-copy__lead { margin: 0; color: var(--product-muted); font-size: 19px; line-height: 1.7; }
.product-copy__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--product-line); border-bottom: 1px solid var(--product-line); }
.product-copy__section { padding: 38px 34px; }
.product-copy__section + .product-copy__section { border-left: 1px solid var(--product-line); }
.product-copy__number { display: block; margin-bottom: 48px; color: var(--product-gold); font-family: "Playfair Display",Georgia,serif; font-size: 25px; }
.product-copy__section h3 { margin: 0 0 15px; font-size: 17px; font-weight: 700; }
.product-copy__section p { margin: 0; color: var(--product-muted); font-size: 14px; }

.product-authenticity { padding: 90px 0; background: var(--product-paper); }
.product-authenticity__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(50px,8vw,110px); align-items: center; }
.product-authenticity h2 { margin: 0; font-family: "Playfair Display",Georgia,serif; font-size: clamp(34px,4vw,50px); font-weight: 400; line-height: 1.15; }
.products-page--zh .product-authenticity h2 { font-family: "Noto Serif SC","Songti SC",STSong,serif; }
.product-authenticity__copy p { margin: 0 0 22px; color: var(--product-muted); }
.product-authenticity__copy a { color: var(--product-ink); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.product-related { padding: 105px 0 120px; background: #fff; }
.product-related h2 { margin-bottom: 45px; font-size: clamp(36px,4.2vw,54px); }
.product-related .products-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }

@media (max-width: 960px) {
  .products-intro__grid,
  .products-source__grid,
  .product-detail,
  .product-copy__head,
  .product-authenticity__grid { grid-template-columns: 1fr; }
  .products-hero { padding-top: 145px; }
  .products-catalog__head { display: block; }
  .products-filter { justify-content: flex-start; margin-top: 32px; }
  .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-detail-hero { padding-top: 140px; }
  .product-copy__grid { grid-template-columns: 1fr; }
  .product-copy__section + .product-copy__section { border-top: 1px solid var(--product-line); border-left: 0; }
}

@media (max-width: 620px) {
  .products-container { width: min(100% - 32px,1220px); }
  .products-hero { min-height: 720px; padding: 145px 0 70px; background-position: 64% center; }
  .products-hero::before { background: linear-gradient(90deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,.74) 62%, rgba(10,10,10,.48) 100%); }
  .products-hero h1 { font-size: clamp(45px,14vw,64px); }
  .products-intro,
  .products-catalog,
  .product-copy,
  .product-related { padding-block: 72px; }
  .products-grid,
  .product-related .products-grid { grid-template-columns: 1fr; }
  .product-card__body { min-height: 145px; }
  .products-filter { flex-wrap: nowrap; margin-inline: -16px; padding: 0 16px 8px; overflow-x: auto; justify-content: flex-start; }
  .products-filter button { flex: 0 0 auto; }
  .product-detail-hero { min-height: auto; padding: 135px 0 72px; }
  .product-detail { gap: 42px; }
  .product-detail__info h1 { font-size: clamp(40px,12vw,57px); }
  .product-meta { grid-template-columns: 1fr; }
  .product-meta > div:nth-child(even) { padding-left: 0; border-top: 1px solid rgba(255,255,255,.17); border-left: 0; }
  .products-button { width: 100%; }
  .product-copy__head { margin-bottom: 48px; }
  .product-copy__section { padding: 32px 25px; }
  .product-copy__number { margin-bottom: 31px; }
  .products-source,
  .product-authenticity { padding-block: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .products-button,
  .product-card__media img { transition: none; }
}
