/* ============================================================
   PEPKLIK — page layouts (home / product / category / collections / cart)
   Depends on tokens in pepklik.css
   ============================================================ */

/* ============================================================
   HOME
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--pep); padding: 78px 0 92px; }
.hero::before { content: ""; position: absolute; top: -180px; right: -130px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle at 32% 32%, #F23C8C, #C21E68); opacity: .85; pointer-events: none; }
.hero::after { content: ""; position: absolute; bottom: -220px; left: -150px; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle at 40% 40%, #52356F, #3A2560); opacity: .7; pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero__title { font-family: var(--font-h); font-weight: 700; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -.03em; color: #fff; margin: 0; }
.hero__title em { font-style: normal; color: var(--klik); }
.hero__body { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.74); margin: 0; max-width: 44ch; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero__trust { font-size: 13px; color: rgba(255,255,255,.7); margin: 6px 0 0; }
.hero__trust em { font-style: normal; color: var(--klik-soft); letter-spacing: .08em; margin-right: 8px; }
.hero__media { position: relative; }
.hero__img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.12); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__pill { position: absolute; z-index: 2; left: -14px; bottom: 26px; background: #fff; color: var(--pep);
  font-family: var(--font-h); font-weight: 700; font-size: 16px; padding: 12px 20px; border-radius: var(--r-pill);
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.4); }
.hero__pill em { font-style: normal; color: var(--klik); }

.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.sec-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; text-align: left; gap: 20px; flex-wrap: wrap; }
.sec-head__title { font-family: var(--font-h); font-weight: 700; font-size: clamp(30px, 4vw, 46px); line-height: 1.04; letter-spacing: -.02em; margin: 0; }
.sec-head__title em { font-style: normal; color: var(--klik); }
.sec-head--row .sec-head__title { font-size: clamp(28px, 3.4vw, 40px); }
.sec-head__sub { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 60ch; }

.goals__wrap { display: flex; flex-direction: column; gap: 38px; }
.goals__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.goal { border-radius: var(--r-card); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 234px;
  position: relative; overflow: hidden; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.goal:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(43,29,72,.45); }
.goal__title { font-family: var(--font-h); font-weight: 700; font-size: 26px; line-height: 1.05; letter-spacing: -.01em; margin: 6px 0 0; }
.goal__line { font-size: 14px; line-height: 1.5; max-width: 24ch; }
.goal__link { margin-top: auto; font-family: var(--font-h); font-weight: 600; font-size: 14px; }
.goal--weight { background: var(--klik); color: #fff; }
.goal--weight .goal__line { color: rgba(255,255,255,.88); }
.goal--pep { background: var(--pep); color: #fff; }
.goal--pep .goal__line { color: rgba(255,255,255,.7); }
.goal--pep .goal__link { color: var(--klik-soft); }
.goal--beauty { background: var(--blush); color: var(--pep); }
.goal--beauty .goal__line { color: var(--muted); }
.goal--beauty .goal__link, .goal--well .goal__link { color: var(--klik); }
.goal--well { background: var(--lilac); color: var(--pep); }
.goal--well .goal__line { color: var(--muted); }

.feat__wrap { display: flex; flex-direction: column; gap: 28px; }

.how__wrap { display: flex; flex-direction: column; gap: 40px; }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.step__n { font-family: var(--font-h); font-weight: 700; font-size: 40px; line-height: 1; color: var(--klik); letter-spacing: -.02em; }
.step__t { font-family: var(--font-h); font-weight: 700; font-size: 20px; margin: 4px 0 0; }
.step__d { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }

.evidence__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.evidence__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.evidence__body { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.74); margin: 0; }
.evidence__list { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.evidence__li { font-size: 15px; color: rgba(255,255,255,.86); }
.evidence__li em { font-style: normal; color: var(--klik-soft); margin-right: 10px; font-weight: 700; }
.evidence__img { width: 100%; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.12); }
.evidence__img img { width: 100%; height: 100%; object-fit: cover; }

.news__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.news__form { display: flex; gap: 10px; width: 100%; max-width: 460px; margin-top: 6px; }
.news__form .input { border-color: var(--klik-soft2); }
.news__fine { font-size: 12px; color: var(--ink-muted); margin: 0; }

.compliance { background: var(--bg); padding: 32px 0 46px; }
.compliance__inner { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--border); padding-top: 30px; }
.compliance__inner p { font-size: 12.5px; line-height: 1.6; color: var(--ink-muted); max-width: 46ch; margin: 0; }

/* journal / blog (home) — three latest posts */
.journal__wrap { display: flex; flex-direction: column; gap: 28px; }
.journal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; color: var(--pep); transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease; }
.bcard:hover { border-color: var(--klik); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.bcard__media { aspect-ratio: 16/10; background: var(--bg) var(--img-ph) center / 46px no-repeat; overflow: hidden; }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bcard:hover .bcard__media img { transform: scale(1.04); }
.bcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bcard__meta { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.bcard__cat { color: var(--klik); font-weight: 700; }
.bcard__title { font-family: var(--font-h); font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; margin: 0; }
.bcard__excerpt { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.bcard__link { margin-top: auto; padding-top: 6px; font-family: var(--font-h); font-weight: 600; font-size: 13.5px; color: var(--klik); }

/* ============================================================
   PRODUCT (PDP)
   ============================================================ */
.pdp { padding: 8px 0 90px; }
.pdp__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }

/* gallery: desktop = thumb column + main (thumbs LEFT). mobile = main, thumbs UNDER */
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: 96px; }
/* single-image products have no thumb rail — don't reserve the 84px column,
   or the lone main image lands in it and collapses to thumbnail width. */
.gallery--single { grid-template-columns: 1fr; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery__thumb { width: 84px; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--bg); cursor: pointer; transition: border-color .15s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--klik); }
.gallery__main { position: relative; aspect-ratio: 4/5; border-radius: var(--r-img); overflow: hidden; background: var(--bg) var(--img-ph) center / 64px no-repeat; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__flag { position: absolute; top: 14px; left: 14px; }

.pdp__info { display: flex; flex-direction: column; gap: 18px; }
.pdp__brand { font-family: var(--font-h); font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--klik); margin: 0; }
.pdp__title { font-family: var(--font-h); font-weight: 700; font-size: clamp(30px, 4vw, 44px); line-height: 1.02; letter-spacing: -.02em; margin: 0; }
.pdp__title em { font-style: normal; color: var(--klik); }
.pdp__rating { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.pdp__rule { height: 1px; background: var(--border); }
.pdp__price-row { display: flex; align-items: baseline; gap: 12px; }
.pdp__price { font-family: var(--font-h); font-weight: 700; font-size: 34px; letter-spacing: -.02em; }
.pdp__price-note { font-size: 13px; color: var(--ink-muted); }
.pdp__desc { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 0; }

.opt-group { display: flex; flex-direction: column; gap: 10px; }
.opt-label { font-family: var(--font-h); font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--pep); }
.opt-label b { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; margin-left: 6px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 56px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.swatch i { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border); transition: box-shadow .15s; }
.swatch.is-active i { box-shadow: 0 0 0 2px var(--klik); }
.swatch span { font-size: 10px; color: var(--muted); text-align: center; line-height: 1.2; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-pill { padding: 11px 18px; border: 1px solid var(--border); border-radius: var(--r-pill); font-family: var(--font-h); font-weight: 600; font-size: 13px; cursor: pointer; transition: all .15s; background: #fff; }
.size-pill:hover { border-color: var(--klik); }
.size-pill.is-active { background: var(--pep); color: #fff; border-color: var(--pep); }

/* buy box: one-time vs subscribe */
.buybox { display: flex; flex-direction: column; gap: 10px; }
.buy-option { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--border); border-radius: var(--r-card); cursor: pointer; transition: border-color .15s, background .15s; }
.buy-option.is-active { border-color: var(--klik); background: #FFF6FA; }
.buy-option__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-muted); flex-shrink: 0; display: grid; place-items: center; transition: border-color .15s; }
.buy-option.is-active .buy-option__radio { border-color: var(--klik); }
.buy-option.is-active .buy-option__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--klik); }
.buy-option__main { flex: 1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.buy-option__name { font-family: var(--font-h); font-weight: 700; font-size: 15px; }
.buy-option__price { margin-left: auto; font-family: var(--font-h); font-weight: 700; font-size: 16px; }
.buy-option__sub { width: 100%; font-size: 12.5px; color: var(--muted); }

.cadences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.cadence { padding: 14px 12px; border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; transition: all .15s; background: #fff; }
.cadence.is-active { border-color: var(--klik); background: #FFF6FA; }
.cadence__t { font-family: var(--font-h); font-weight: 700; font-size: 14px; }
.cadence__d { font-size: 11.5px; color: var(--muted); margin: 3px 0 6px; }
.cadence__off { font-family: var(--font-h); font-weight: 700; font-size: 12px; color: var(--klik-deep); }
.subnote { font-family: var(--font-h); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }

.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 4px 2px 0; }
.benefit { display: flex; gap: 9px; font-size: 13.5px; color: var(--muted); }
.benefit em { font-style: normal; color: var(--klik); font-weight: 700; }

.pdp__actions { display: flex; gap: 12px; align-items: stretch; }
.pdp__actions .qty { flex-shrink: 0; }
.pdp__actions .btn { flex: 1; }
.pdp__trust { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--font-h); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.pdp__trust span { display: inline-flex; align-items: center; gap: 7px; }
.pdp__trust em { font-style: normal; color: var(--klik); }

/* accordion */
.accordion { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 4px; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--font-h); font-weight: 700; font-size: 16px; text-align: left; }
.acc-head .pm { color: var(--klik); font-size: 20px; transition: transform .2s; }
.acc-body { font-size: 14.5px; line-height: 1.7; color: var(--muted); padding: 0 0 20px; max-width: 60ch; }

/* PDP info trio + related */
.pdp-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pdp-trio__item h3 { font-family: var(--font-h); font-weight: 700; font-size: 19px; margin: 0 0 8px; }
.pdp-trio__item p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }
.related__wrap { display: flex; flex-direction: column; gap: 28px; }

/* ============================================================
   CATEGORY (PLP)
   ============================================================ */
.plp { padding: 0 0 90px; }
.plp__head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; padding: 8px 0 30px; }
.plp__title { font-family: var(--font-h); font-weight: 700; font-size: clamp(34px, 5vw, 54px); line-height: 1.02; letter-spacing: -.02em; margin: 0; }
.plp__title em { font-style: normal; color: var(--klik); }
.plp__desc { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0; }

.plp__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.plp__toolbar-left { display: flex; align-items: center; gap: 16px; }
.filterbtn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border: 1px solid var(--border); border-radius: var(--r-pill); font-family: var(--font-h); font-weight: 600; font-size: 13px; background: #fff; transition: border-color .15s; }
.filterbtn:hover { border-color: var(--klik); }
.filterbtn__count { background: var(--klik); color: #fff; border-radius: var(--r-pill); font-size: 11px; padding: 1px 8px; }
.plp__count { font-size: 13px; color: var(--muted); }
.plp__count b { color: var(--pep); font-family: var(--font-h); }
.sortwrap { display: flex; align-items: center; gap: 10px; }
.sortwrap label { font-family: var(--font-h); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232B1D48' stroke-width='2.5'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 16px center;
  border: 1px solid var(--border); border-radius: var(--r-pill); padding: 10px 38px 10px 18px; font-family: var(--font-h); font-weight: 600; font-size: 13px; color: var(--pep); cursor: pointer; }

/* filter drawer groups */
.fgroup { padding: 20px 0; border-bottom: 1px solid var(--line); }
.fgroup h4 { font-family: var(--font-h); font-weight: 700; font-size: 14px; margin: 0 0 14px; }
.fopt { display: flex; align-items: center; gap: 11px; padding: 7px 0; font-size: 14px; color: var(--muted); cursor: pointer; }
.fopt input { width: 18px; height: 18px; accent-color: var(--klik); }
.fopt .ct { margin-left: auto; font-size: 12px; color: var(--ink-muted); }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 13px; cursor: pointer; transition: all .15s; }
.fchip:hover { border-color: var(--klik); }
.fchip.is-active { background: var(--pep); color: #fff; border-color: var(--pep); }

.plp__more { display: flex; justify-content: center; margin-top: 40px; }

/* ============================================================
   COLLECTIONS INDEX
   ============================================================ */
.collections { padding: 8px 0 90px; }
.collections__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ccard { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; padding: 30px; cursor: pointer; }
.ccard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .4s ease; }
.ccard::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(43,29,72,.05) 0%, rgba(43,29,72,.78) 100%); }
.ccard:hover img { transform: scale(1.05); }
.ccard__body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.ccard__chip { align-self: flex-start; }
.ccard__title { font-family: var(--font-h); font-weight: 700; font-size: 30px; letter-spacing: -.01em; }
.ccard__line { font-size: 14px; color: rgba(255,255,255,.84); max-width: 36ch; }
.ccard__meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-family: var(--font-h); font-weight: 600; font-size: 13px; }
.ccard__count { color: rgba(255,255,255,.7); }
.ccard--tall { min-height: 420px; }
.collections__sub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.subcat { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, transform .15s; }
.subcat:hover { border-color: var(--klik); transform: translateY(-3px); }
.subcat__t { font-family: var(--font-h); font-weight: 700; font-size: 18px; }
.subcat__c { font-size: 13px; color: var(--ink-muted); }

/* ============================================================
   CART PAGE
   ============================================================ */
.cartpage { padding: 8px 0 90px; }
.cartpage__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 8px 0 24px; flex-wrap: wrap; }
.cartpage__title { font-family: var(--font-h); font-weight: 700; font-size: clamp(34px, 5vw, 54px); letter-spacing: -.02em; margin: 0; }
.cartpage__grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: 40px; align-items: start; }

.cart__progress { display: flex; flex-direction: column; gap: 8px; background: var(--blush); border-radius: var(--r-card); padding: 16px 20px; margin-bottom: 18px; }
.cart__progress-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--klik-deep); }
.cart__progress-row em { font-style: normal; }
.cart__bar { height: 7px; border-radius: var(--r-pill); background: rgba(176,21,96,.16); overflow: hidden; }
.cart__bar i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--klik); transition: width .3s ease; }

.cart__list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: #fff; }
.cart-row { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 18px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row__img { width: 96px; height: 116px; border-radius: 12px; overflow: hidden; background: var(--bg); }
.cart-row__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__cat { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.cart-row__name { font-family: var(--font-h); font-weight: 700; font-size: 17px; line-height: 1.2; }
.cart-row__opt { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.cart-row__remove { font-size: 12.5px; color: var(--ink-muted); }
.cart-row__remove:hover { color: var(--klik-deep); }
.cart-row__price { font-family: var(--font-h); font-weight: 700; font-size: 17px; text-align: right; min-width: 70px; }

.cart__summary { position: sticky; top: 96px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.cart__summary h3 { font-family: var(--font-h); font-weight: 700; font-size: 20px; margin: 0; }
.sumrow { display: flex; align-items: center; justify-content: space-between; font-size: 14.5px; color: var(--muted); }
.sumrow.total { padding-top: 14px; border-top: 1px solid var(--border); color: var(--pep); }
.sumrow.total .v { font-family: var(--font-h); font-weight: 700; font-size: 22px; }
.sumrow .v { font-family: var(--font-h); font-weight: 600; color: var(--pep); }
.promo { display: flex; gap: 8px; }
.promo .input { padding: 12px 16px; }
.cart__trust { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--ink-muted); }
.cart__trust span { display: flex; gap: 8px; align-items: center; }
.cart__trust em { font-style: normal; color: var(--success); font-weight: 700; }

.cart-empty { text-align: center; padding: 80px 20px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cart-empty h2 { font-family: var(--font-h); font-size: 28px; }

/* ============================================================
   STATIC CONTENT PAGES (about / faq / legal / contact)
   ============================================================ */
.content-page { max-width: 820px; padding: 8px 0 90px; }
.content-page__title { font-family: var(--font-h); font-weight: 700; font-size: clamp(34px, 5vw, 52px); line-height: 1.04; letter-spacing: -.02em; margin: 10px 0 26px; }
.content-page__body { font-size: 16px; line-height: 1.75; color: var(--muted); }
.content-page__body > *:first-child { margin-top: 0; }
.content-page__lede { font-size: 18px; line-height: 1.65; color: var(--pep); margin: 0 0 26px; }
.content-page__body h2 { font-family: var(--font-h); font-weight: 700; font-size: 22px; color: var(--pep); letter-spacing: -.01em; margin: 34px 0 12px; }
.content-page__body p { margin: 0 0 16px; }
.content-page__body ul { margin: 0 0 18px; padding-left: 22px; }
.content-page__body li { margin: 0 0 9px; }
.content-page__body a { color: var(--klik); text-decoration: underline; text-underline-offset: 2px; }
.content-page__body a:hover { color: var(--klik-deep); }
.content-page__note { font-size: 13.5px; color: var(--ink-muted); border-top: 1px solid var(--border); padding-top: 18px; margin-top: 28px; }
/* FAQ reuses the PDP .accordion / .acc-* classes; widen the answer measure */
.content-page .acc-body { max-width: none; }

/* contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 640px; margin-top: 8px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form__field { display: flex; flex-direction: column; gap: 7px; }
.contact-form__field > span { font-family: var(--font-h); font-weight: 600; font-size: 13px; color: var(--pep); }
.contact-form__field > span small { font-weight: 400; color: var(--ink-muted); }
.contact-form textarea.input { resize: vertical; min-height: 130px; line-height: 1.6; }
.contact-form .btn { align-self: flex-start; }
.contact__ok { background: #E6F4EC; color: #246B4A; border-radius: var(--r-card); padding: 14px 18px; font-weight: 600; margin: 0 0 22px; }
.contact__err { background: var(--blush); color: var(--klik-deep); border-radius: var(--r-card); padding: 14px 18px; margin: 0 0 22px; }
.contact__err ul { margin: 8px 0 0; padding-left: 20px; }

/* ============================================================
   RESPONSIVE — pages
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__media { order: -1; }
  .goals__grid { grid-template-columns: repeat(2, 1fr); }
  .evidence__grid { grid-template-columns: 1fr; gap: 32px; }
  .pdp__grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { position: static; }
  .pdp-trio { grid-template-columns: 1fr; gap: 20px; }
  .cartpage__grid { grid-template-columns: 1fr; gap: 28px; }
  .cart__summary { position: static; }
  .collections__sub { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { padding: 44px 0 56px; }
  .how__grid { grid-template-columns: 1fr; gap: 14px; }
  .journal__grid { grid-template-columns: 1fr; }
  .pdp { padding: 0 0 60px; }

  /* CLAUDE.md: product gallery thumbnails sit UNDER the main image on mobile */
  .gallery { grid-template-columns: 1fr; }
  .gallery__main { order: 1; }
  .gallery__thumbs { order: 2; flex-direction: row; overflow-x: auto; }
  .gallery__thumb { width: 72px; flex-shrink: 0; }

  .benefits { grid-template-columns: 1fr; }
  .collections__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .goals__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .goal { min-height: 176px; padding: 22px 20px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .goal__title { font-size: 22px; }
  .news__form { flex-direction: column; }
  .cadences { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 72px 1fr auto; grid-template-areas: "img info price" "img qty price"; column-gap: 14px; row-gap: 10px; align-items: start; }
  .cart-row__img { width: 72px; height: 88px; grid-area: img; }
  .cart-row__info { grid-area: info; }
  .cart-row .qty { grid-area: qty; justify-self: start; }
  .cart-row__price { grid-area: price; align-self: start; }
  .collections__sub { grid-template-columns: 1fr 1fr; }
  .pdp__actions { flex-direction: column; }
}
