/* =========================================================
   LUCKCÔME — Products listing & product detail pages
   B2C-style presentation. Reuses the brand tokens from
   styles.css (--paper / --ink / --gold / fonts).
   ========================================================= */

/* ---------- Shared page chrome for sub-pages ---------- */
.subpage {
  background: var(--paper);
  min-height: 100vh;
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
}
.subpage .site-header {
  background: rgba(250, 247, 241, .9);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(0,0,0,.06);
}
/* light header on subpages -> nav text must flip to dark ink */
.subpage .brand { color: var(--ink, #16181d); }
.subpage .brand b { color: var(--gold-deep, #a8854a); }
.subpage .lang-select__btn {
  border-color: rgba(0,0,0,.16);
  background: rgba(0,0,0,.04);
  color: #26282e;
}
/* light header on subpages -> nav text must flip to dark ink (desktop only;
   the mobile drawer keeps its own dark panel + light links) */
@media (min-width: 861px) {
  .subpage .nav__links a { color: #26282e; opacity: .92; }
  .subpage .nav__links a:hover,
  .subpage .nav__links a.active { color: var(--gold-deep, #a8854a); opacity: 1; }
  .subpage .nav__links a::after { background: var(--gold-deep, #a8854a); }
}
.subpage .nav__toggle { color: var(--ink, #16181d); }
/* keep the light header (and dark text) even after scrolling */
.subpage .site-header.scrolled {
  background: rgba(250, 247, 241, .92);
  border-bottom-color: rgba(0,0,0,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
.subpage .page-wrap {
  padding-top: 96px;
}

/* ---------- Page intro / category tabs ---------- */
.pcat-intro {
  text-align: center;
  padding: clamp(40px, 7vw, 86px) 20px clamp(18px, 3vw, 30px);
}
.pcat-intro .eyebrow {
  color: var(--gold-deep);
  letter-spacing: .22em;
  font-size: .82rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.pcat-intro h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 14px;
}
.pcat-intro p {
  max-width: 640px;
  margin: 0 auto;
  color: #4a4b52;
  font-size: 1.02rem;
  line-height: 1.7;
}
.pcat-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px 40px;
}
.pcat-tab {
  appearance: none;
  border: 1px solid rgba(168, 133, 74, .35);
  background: transparent;
  color: #5a5246;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  padding: 11px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .28s ease;
}
.pcat-tab:hover { border-color: var(--gold); color: var(--gold-deep); }
.pcat-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-2);
}

/* ---------- Product grid ---------- */
.pcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: clamp(22px, 3vw, 42px);
  max-width: 1560px;
  margin: 0 auto;
  padding: 10px 32px clamp(70px, 9vw, 120px);
}
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(168, 133, 74, .16);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s, border-color .4s;
}
.pcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px -28px rgba(40, 30, 12, .4);
  border-color: rgba(168, 133, 74, .4);
}
.pcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 120% at 50% 28%, #ffffff 38%, var(--paper-2) 100%);
  padding: 22px;
}
.pcard__media img {
  max-width: 94%;
  max-height: 94%;
  object-fit: contain;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.pcard:hover .pcard__media img { transform: scale(1.06) rotate(-1deg); }
.pcard__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(11, 11, 13, .82);
  color: var(--gold-2);
}
.pcard__body {
  padding: 22px 26px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(168, 133, 74, .12);
}
.pcard__model {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--ink);
  line-height: 1.1;
}
.pcard__spec {
  margin: 0;
  color: #5a5246;
  font-size: .88rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__more {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .03em;
}
.pcard__more .arrow { transition: transform .3s; }
.pcard:hover .pcard__more .arrow { transform: translateX(5px); }
.pcat-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #8a8276;
  padding: 60px 0;
}

/* =========================================================
   Product detail page (PDP)
   ========================================================= */
.pdp { padding-bottom: clamp(60px, 8vw, 110px); }
.pdp__crumb {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 6px;
  font-size: .82rem;
  color: #8a8276;
  letter-spacing: .02em;
}
.pdp__crumb a { color: #8a8276; text-decoration: none; }
.pdp__crumb a:hover { color: var(--gold-deep); }
.pdp__crumb span { color: var(--ink); }

.pdp__main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}
/* gallery */
.pdp__gallery { position: sticky; top: 96px; }
.pdp__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background:
    radial-gradient(120% 120% at 50% 26%, #ffffff 36%, var(--paper-2) 100%);
  border: 1px solid rgba(168, 133, 74, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(40, 30, 12, .45);
}
.pdp__stage img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  transition: opacity .35s ease;
}
.pdp__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.pdp__thumb {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  border: 1px solid rgba(168, 133, 74, .2);
  background: radial-gradient(120% 120% at 50% 30%, #fff, var(--paper-2));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  transition: border-color .25s, transform .25s;
}
.pdp__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pdp__thumb:hover { transform: translateY(-3px); }
.pdp__thumb.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201, 169, 106, .35); }

/* info */
.pdp__info { padding-top: 6px; }
.pdp__badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(201, 169, 106, .14);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.pdp__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.04;
  color: var(--ink);
  margin: 0 0 8px;
}
.pdp__tagline { color: #5a5246; font-size: 1.05rem; line-height: 1.6; margin: 0 0 22px; }
.pdp__price {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 22px;
}
.pdp__price small { font-weight: 500; font-size: .82rem; color: #8a8276; margin-left: 6px; }

.pdp__spec {
  list-style: none;
  margin: 0 0 26px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(168, 133, 74, .16);
  border-radius: 16px;
  display: grid;
  gap: 13px;
}
.pdp__spec li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .94rem;
  line-height: 1.5;
  color: #2a2c30;
}
.pdp__spec li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px; height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, var(--gold-2), var(--gold-deep));
}

.pdp__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.pdp__cta .btn { flex: 1 1 200px; justify-content: center; }
.pdp__note {
  font-size: .84rem;
  color: #8a8276;
  border-left: 2px solid var(--gold);
  padding-left: 14px;
  line-height: 1.6;
  margin: 0 0 8px;
}

/* related */
.pdp__related {
  max-width: 1180px;
  margin: clamp(50px, 7vw, 90px) auto 0;
  padding: 0 24px;
}
.pdp__related h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.7rem;
  margin: 0 0 24px;
  color: var(--ink);
}
.pdp__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.pdp__rel-card {
  background: #fff;
  border: 1px solid rgba(168, 133, 74, .16);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.pdp__rel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px -28px rgba(40, 30, 12, .4);
  border-color: rgba(168, 133, 74, .4);
}
.pdp__rel-media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 50% 28%, #fff, var(--paper-2));
  padding: 18px;
}
.pdp__rel-media img { max-width: 84%; max-height: 84%; object-fit: contain; }
.pdp__rel-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 14px 16px 18px;
  color: var(--ink);
}

/* mobile sticky CTA bar */
.pdp__mobile-cta {
  display: none;
}

/* =========================================================
   Standalone section pages (collections / certifications /
   manufacturing / salon) — extra components not in styles.css
   ========================================================= */

/* Certificates — flat grid below the 3D ring */
.cert-page__hint {
  text-align: center;
  margin: 26px auto 0;
  color: var(--muted-light);
  font-family: 'Manrope', sans-serif;
  font-size: .92rem;
  letter-spacing: .02em;
  opacity: .8;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.cert-card {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(168, 133, 74, .18);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(30, 24, 14, .05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(30, 24, 14, .1);
}
.cert-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: radial-gradient(120% 120% at 50% 30%, #fff, var(--paper-2));
  padding: 18px;
}
.cert-card__img img { max-width: 80%; max-height: 150px; object-fit: contain; }
.cert-card figcaption {
  padding: 14px 16px 18px;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
}

/* Manufacturing — 4-step OEM/ODM process */
.mfg-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.mfg-step {
  background: #fff;
  border: 1px solid rgba(168, 133, 74, .16);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 10px 30px rgba(30, 24, 14, .05);
}
.mfg-step__n {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold-deep, #a8854a);
  letter-spacing: .02em;
}
.mfg-step h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  margin: 10px 0 10px;
  color: var(--ink);
}
.mfg-step p {
  font-family: 'Manrope', sans-serif;
  font-size: .96rem;
  line-height: 1.7;
  color: var(--muted-dark);
  margin: 0;
}

/* Per-line product grids get the same airy rhythm as the listing page */
[data-line-grid] { margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .pdp__main { grid-template-columns: 1fr; gap: 24px; }
  .pdp__gallery { position: static; }
  .pdp__mobile-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(250, 247, 241, .96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(168, 133, 74, .25);
  }
  .pdp__mobile-cta .btn { flex: 1; justify-content: center; }
}

/* =========================================================
   About page (about.html) — reference-style layout v2
   ========================================================= */

/* ---- Dark hero + profile + culture ---- */
.abt-dark {
  position: relative;
  background: #10131c;
  overflow: hidden;
}
.abt-dark__bg {
  position: absolute; inset: 0;
  background: url('../img/up/philosophy-bg.jpg') center/cover no-repeat;
  opacity: .9;
}
.abt-dark__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,20,.55), rgba(10,12,20,.78));
}
.abt-dark__inner { position: relative; z-index: 2; padding: clamp(56px, 8vw, 110px) 24px clamp(60px, 8vw, 110px); }
.abt-hero { text-align: center; margin-bottom: clamp(46px, 6vw, 84px); }
.abt-hero h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(3rem, 7.5vw, 5.4rem);
  letter-spacing: .04em;
  color: var(--gold, #c9a96a);
  line-height: 1.05;
}
.abt-hero__sub {
  margin: 16px 0 0;
  color: var(--gold-2, #e8cf9a);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: .28em;
  text-transform: uppercase;
}
.abt-block {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(26px, 4vw, 56px);
  max-width: 1040px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.abt-block:last-child { margin-bottom: 0; }
.abt-block__label { display: flex; align-items: flex-start; justify-content: flex-end; }
.abt-block__label span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  line-height: 1.3;
  text-align: right;
  padding-top: 2px;
}
.abt-block__body {
  border-left: 2px solid rgba(201, 169, 106, .45);
  padding-left: clamp(22px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 30px);
}
.abt-item h3 {
  margin: 0 0 8px;
  color: var(--gold-2, #e8cf9a);
  font-family: 'Manrope', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.abt-item p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: .94rem;
  line-height: 1.85;
}

/* ---- Our advantages ---- */
.abt-adv {
  background: #faf8f4;
  padding: clamp(60px, 8vw, 110px) 0 clamp(56px, 7vw, 96px);
  text-align: center;
  overflow: hidden;
}
.abt-adv__ghost {
  position: absolute;
  left: 50%; top: clamp(24px, 3vw, 46px);
  transform: translateX(-50%);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 6rem);
  letter-spacing: .12em;
  color: rgba(168, 133, 74, .1);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.abt-adv__title {
  position: relative;
  margin: 0;
  color: var(--gold-deep, #a8854a);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.abt-adv__sub {
  position: relative;
  margin: 22px 0 0;
  color: #6f6759;
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  line-height: 1.9;
}
.abt-stats {
  position: relative;
  margin: clamp(40px, 5vw, 64px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: clamp(20px, 3vw, 34px);
}
.abt-stat {
  border: 1.5px solid rgba(168, 133, 74, .4);
  border-radius: 18px;
  background: #fff;
  padding: clamp(26px, 3vw, 38px) 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.abt-stat:hover {
  transform: translateY(-6px);
  border-color: var(--gold-deep, #a8854a);
  box-shadow: 0 24px 54px -30px rgba(40, 30, 12, .35);
}
.abt-stat b {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: var(--gold-deep, #a8854a);
  line-height: 1;
}
.abt-stat span { color: #8a8274; font-size: .92rem; letter-spacing: .04em; }

/* ---- R&D production ---- */
.abt-rnd { background: #faf8f4; padding: 0 0 clamp(60px, 8vw, 100px); }
.abt-rnd__grid {
  display: grid;
  grid-template-columns: .85fr 1.35fr;
  gap: clamp(30px, 4.5vw, 60px);
  align-items: start;
}
.abt-rnd__txt h2 {
  margin: 0;
  color: var(--gold-deep, #a8854a);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
}
.abt-rnd__en {
  display: block;
  margin: 12px 0 26px;
  color: #b0a894;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.6;
}
.abt-rnd__txt p {
  margin: 0;
  color: #5c5548;
  font-size: .95rem;
  line-height: 1.95;
}
.abt-rnd__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.abt-rnd__photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform .4s, box-shadow .4s;
}
.abt-rnd__photos img:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(40,30,12,.45); }

@media (max-width: 900px) {
  .abt-block { grid-template-columns: 1fr; gap: 16px; }
  .abt-block__label { justify-content: flex-start; }
  .abt-block__label span { text-align: left; }
  .abt-block__body { border-left: none; border-top: 2px solid rgba(201,169,106,.45); padding: 18px 0 0; }
  .abt-stats { grid-template-columns: 1fr; max-width: 380px; }
  .abt-rnd__grid { grid-template-columns: 1fr; }
}
