/* Glamora Beauty – design layer v2 */
.gl {
  --ink: #1f1418;
  --ink-2: #5e4e55;
  --ink-3: #8c7d84;
  --line: #ece4e7;
  --paper: #ffffff;
  --blush: #fbf3f5;
  --blush-2: #f6e6eb;
  --rose: #c8426f;
  --rose-2: #a8315a;
  --plum: #2b1520;
  --ok: #2f7d5b;
  color: var(--ink);
  font-family: var(--font-body--family);
}
.gl *, .gl *::before, .gl *::after { box-sizing: border-box; }
.gl-wrap { max-width: 1360px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 749px) { .gl-wrap { padding: 0 16px; } }

.gl-title { font-family: var(--font-body--family); font-weight: 600; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; line-height: 1.2; margin: 0; color: var(--ink); }
.gl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 4px; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-decoration: none; transition: background .15s ease, color .15s ease, border-color .15s ease; border: 1px solid transparent; }
.gl-btn--dark { background: var(--ink); color: #fff; }
.gl-btn--dark:hover { background: var(--rose-2); }
.gl-btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.gl-btn--line:hover { background: var(--ink); color: #fff; }

/* ---------- HERO ---------- */
.glh { background: var(--blush); }
.glh__wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.glh__kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin: 0 0 14px; }
.glh__title { font-family: var(--font-heading--family); font-weight: 400; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 16px; color: var(--ink); text-wrap: balance; }
.glh__text { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0 0 28px; max-width: 440px; }
.glh__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.glh__mlabel { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.glh__mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.glh__tile { display: flex; flex-direction: column; background: var(--paper); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s ease; }
.glh__tile:hover { box-shadow: 0 8px 24px -12px rgba(43, 21, 32, .35); }
.glh__tile-img { aspect-ratio: 4 / 5; display: block; background: #fff; }
.glh__tile-img img { width: 100%; height: 100%; object-fit: contain; padding: 10%; display: block; transition: transform .35s ease; }
.glh__tile:hover .glh__tile-img img { transform: scale(1.04); }
.glh__tile-meta { padding: 10px 12px 12px; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.glh__tile-vendor { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.glh__tile-title { font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.glh__tile-price { font-size: 14px; font-weight: 700; margin-top: 4px; }
.glh__photo { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 11; }
.glh__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1100px) { .glh__mosaic { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 989px) {
  .glh__wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
  .glh--image .glh__visual { order: -1; }
  .glh__mosaic { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .glh__tile-meta { padding: 8px; }
  .glh__tile-title { display: none; }
}
@media (max-width: 560px) {
  .glh__mosaic { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 4px; }
  .glh__tile { flex: 0 0 38%; scroll-snap-align: start; }
  .glh__title { font-size: 30px; }
  .glh__text { margin-bottom: 20px; }
}

/* ---------- PROMO ---------- */
.gl-promo { background: var(--promo-bg, var(--plum)); color: var(--promo-fg, #fff); }
.gl-promo__inner { display: flex; align-items: center; justify-content: center; gap: 8px 22px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; color: inherit; text-decoration: none; font-size: 14px; }
.gl-promo__text { font-weight: 600; }
.gl-promo__timer { font-variant-numeric: tabular-nums; letter-spacing: .02em; opacity: .95; }
.gl-promo__timer b { font-weight: 700; font-size: 15px; }
.gl-promo__cta { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- TRUST ---------- */
.gl-trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.gl-trust__list { display: grid; grid-template-columns: repeat(var(--gl-cols, 4), 1fr); list-style: none; margin: 0; padding: 0; }
.gl-trust__item { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 14px 12px; }
.gl-trust__icon { flex: 0 0 auto; color: var(--rose); display: grid; place-items: center; }
.gl-trust__icon svg { width: 20px; height: 20px; }
.gl-trust__title { font-weight: 600; font-size: 13px; margin: 0; }
.gl-trust__text { font-size: 12px; color: var(--ink-3); margin: 0; }
@media (max-width: 860px) {
  .gl-trust__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .gl-trust__item { flex: 0 0 auto; justify-content: flex-start; padding: 12px 16px 12px 0; }
  .gl-trust__item:first-child { padding-left: 16px; }
  .gl-trust__text { display: none; }
}

/* ---------- BRAND BAR ---------- */
.gl-brandbar { border-bottom: 1px solid var(--line); background: var(--paper); }
.gl-brandbar__inner { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.gl-brandbar__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; flex: 0 0 auto; }
.gl-brandbar__viewport { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.gl-brandbar__viewport::-webkit-scrollbar { display: none; }
.gl-brandbar__rail { display: flex; width: max-content; }
.gl-brandbar__list { display: flex; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 0 40px 0 0; }
.gl-brandbar__list a { font-family: var(--font-heading--family); font-size: 19px; color: var(--ink); text-decoration: none; white-space: nowrap; transition: color .15s ease; }
.gl-brandbar__list a:hover { color: var(--rose); }
.gl-brandbar__list img { height: 26px; width: auto; display: block; }
.gl-brandbar__all { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; white-space: nowrap; }
.gl-brandbar__all:hover { color: var(--rose); }
.gl-brandbar--marquee .gl-brandbar__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gl-brandbar--marquee .gl-brandbar__rail { animation: gl-marquee var(--speed, 90s) linear infinite; }
.gl-brandbar--marquee .gl-brandbar__viewport:hover .gl-brandbar__rail,
.gl-brandbar--marquee .gl-brandbar__viewport:focus-within .gl-brandbar__rail { animation-play-state: paused; }
@keyframes gl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .gl-brandbar--marquee .gl-brandbar__rail { animation: none; }
  .gl-brandbar--marquee .gl-brandbar__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .gl-brandbar--marquee .gl-brandbar__list[aria-hidden] { display: none; }
}
@media (max-width: 749px) {
  .gl-brandbar__label { display: none; }
  .gl-brandbar__list { gap: 28px; padding-right: 28px; }
  .gl-brandbar__list a { font-size: 17px; }
}

/* ---------- PRODUCT SECTION (one-row strip) ---------- */
.glp { padding: 48px 0; background: var(--paper); }
.glp + .glp:not(.glp--tint) { padding-top: 8px; }
.glp--tint { background: var(--blush); }
.glp__head { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.glp__head .gl-title a { color: inherit; text-decoration: none; }
.glp__head .gl-title a:hover { color: var(--rose); }
.glp__tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.glp__tabs::-webkit-scrollbar { display: none; }
.glp__tab { appearance: none; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: all .15s ease; }
.glp__tab:hover { border-color: var(--ink); color: var(--ink); }
.glp__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.glp__nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.glp__all { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 1px; margin-right: 8px; }
.glp__all:hover { color: var(--rose); }
.glp__arrow { appearance: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: all .15s ease; }
.glp__arrow svg { width: 18px; height: 18px; }
.glp__arrow:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: #fff; }
.glp__arrow:disabled { opacity: .35; cursor: default; }
.glp__track { --gap: 16px; --card: calc((100% - var(--gap) * (var(--cols) - 1)) / var(--cols)); display: flex; align-items: stretch; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px; }
.glp__track::-webkit-scrollbar { display: none; }
.glp__track[hidden] { display: none; }
.glp__track > * { flex: 0 0 var(--card); scroll-snap-align: start; }
.glp__track > .glp__panel { flex-basis: calc(var(--card) * 1.6 + var(--gap) * .6); }
.glp__panel { position: relative; display: flex; align-items: flex-end; min-height: 360px; border-radius: 6px; overflow: hidden; background: var(--plum); color: #fff; text-decoration: none; isolation: isolate; }
.glp__panel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.glp__panel:hover .glp__panel-img { transform: scale(1.03); }
.glp__panel--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(20, 8, 14, .75)); }
.glp__panel:not(.glp__panel--img) { background: radial-gradient(120% 90% at 100% 0%, #5b2a40 0%, var(--plum) 55%); }
.glp__panel-inner { display: grid; gap: 8px; padding: 26px; }
.glp__kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f3b7cb; }
.glp__panel-title { font-family: var(--font-heading--family); font-size: clamp(26px, 2.4vw, 38px); line-height: 1.05; }
.glp__panel-text { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.glp__panel-cta { margin-top: 6px; font-size: 14px; font-weight: 600; border-bottom: 1px solid currentColor; justify-self: start; padding-bottom: 2px; }
.glp__more { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 24px; border-radius: 6px; background: var(--blush); border: 1px solid var(--blush-2); color: var(--ink); text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.glp--tint .glp__more { background: var(--paper); }
.glp__more:hover { border-color: var(--ink); }
.glp__more-stack { display: flex; margin-bottom: 8px; }
.glp__more-stack img { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; background: #fff; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(43, 21, 32, .12); padding: 4px; }
.glp__more-stack img + img { margin-left: -14px; }
.glp__more-title { font-size: 17px; font-weight: 600; line-height: 1.25; }
.glp__more-sub { font-size: 13px; color: var(--ink-3); }
.glp__more-btn { margin-top: 10px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 18px; transition: background .2s ease, transform .2s ease; }
.glp__more:hover .glp__more-btn { background: var(--rose-2); transform: translateX(4px); }
@media (max-width: 989px) {
  .glp { padding: 36px 0; }
  .glp__track { --cols: 3 !important; }
}
@media (max-width: 749px) {
  .glp__head { gap: 12px; }
  .glp__head .gl-title { flex: 1 1 auto; }
  .glp__arrow { display: none; }
  .glp__all { margin-right: 0; }
  .glp__tabs { order: 3; flex-basis: 100%; margin: 0 -16px; padding: 0 16px; }
  .glp__track { --gap: 10px; margin: 0 -16px; padding: 0 16px 4px; scroll-padding-left: 16px; }
  .glp__track > * { flex-basis: 44%; }
  .glp__track > .glp__panel { flex-basis: 70%; min-height: 300px; }
  .glp__track > .glp__more { flex-basis: 44%; padding: 18px; }
}

/* ---------- PRODUCT CARD ---------- */
.glc { display: flex; flex-direction: column; min-width: 0; }
.glc__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #f7f4f5; border-radius: 6px; overflow: hidden; }
.glc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: opacity .3s ease, transform .4s ease; mix-blend-mode: multiply; }
.glc__img--alt { opacity: 0; }
@media (hover: hover) {
  .glc__media:hover .glc__img--alt { opacity: 1; }
  .glc__media:hover .glc__img:not(.glc__img--alt):has(+ .glc__img--alt) { opacity: 0; }
  .glc__media:hover .glc__img:only-of-type { transform: scale(1.04); }
}
.glc__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 1; }
.glc__badge { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: 3px; background: #fff; color: var(--ink); line-height: 1; }
.glc__badge--sale { background: var(--rose); color: #fff; }
.glc__badge--best { background: var(--ink); color: #fff; }
.glc__badge--out { background: #e9e4e6; color: var(--ink-2); }
.glc--soldout .glc__img { opacity: .55; }
.glc__body { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; flex: 1; }
.glc__vendor { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.glc__title { font-family: var(--font-body--family); font-size: 14px; font-weight: 400; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.glc__title a { color: inherit; text-decoration: none; }
.glc__title a:hover { text-decoration: underline; text-underline-offset: 2px; }
.glc__rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); margin: 0; }
.glc__stars { --pct: 100%; position: relative; display: inline-block; font-size: 13px; letter-spacing: 1px; line-height: 1; color: #e3d9dd; }
.glc__stars::before { content: "★★★★★"; }
.glc__stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; color: var(--ink); white-space: nowrap; }
.glc__price { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 0; font-size: 15px; }
.glc__now { font-weight: 700; }
.glc__now--sale { color: var(--rose); }
.glc__was { font-size: 13px; color: var(--ink-3); }
.glc__low { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; font-weight: 600; color: var(--rose-2); }
.glc__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 rgba(200, 66, 111, .5); animation: gl-pulse 1.8s infinite; }
@keyframes gl-pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 66, 111, .45); } 70% { box-shadow: 0 0 0 7px rgba(200, 66, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 66, 111, 0); } }
.glc__form { margin: 0; margin-top: auto; padding-top: 8px; }
.glc__btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; margin-top: auto; padding: 0 12px; border-radius: 4px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
a.glc__btn { margin-top: auto; }
.glc__body > a.glc__btn { margin-top: auto; }
.glc__btn:hover { background: var(--rose-2); border-color: var(--rose-2); }
.glc__btn--ghost { background: transparent; color: var(--ink); }
.glc__btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.glc__btn:disabled { opacity: .7; cursor: default; }
.glc__body > .glc__btn--ghost, .glc__body > a.glc__btn { margin-top: auto; }
.glc__low + .glc__form, .glc__price + .glc__form { margin-top: auto; }
@media (max-width: 749px) { .glc__title { font-size: 13px; } .glc__btn { min-height: 38px; font-size: 12px; } .glc__badges { top: 6px; left: 6px; } }

.gl-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 9999; background: #1f1418; color: #fff; font-size: 14px; padding: 14px 18px; border-radius: 6px; box-shadow: 0 12px 32px -12px rgba(0,0,0,.4); transition: all .25s ease; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); }
.gl-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.gl-toast a { color: #f3b7cb; font-weight: 600; }

/* ---------- STORE ---------- */
.gl-section { padding: 52px 0; }
.gl-store { background: var(--paper); }
.gl-store__card { display: grid; grid-template-columns: 1fr 1fr; border-radius: 6px; overflow: hidden; background: var(--blush); }
.gl-store__media { min-height: 320px; background: var(--blush-2); }
.gl-store__media .gl-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gl-store__body { padding: clamp(24px, 4vw, 48px); align-self: center; }
.gl-eyebrow { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); font-weight: 700; margin-bottom: 10px; }
.gl-h2 { font-family: var(--font-heading--family); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; margin: 0 0 12px; }
.gl-lead { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.gl-lead p { margin: 0; }
.gl-store__rows { display: grid; gap: 12px; margin: 20px 0 24px; }
.gl-store__row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.gl-store__row svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--rose); }
.gl-store__row p { margin: 0; }
.gl-store__row a { color: inherit; }
.gl-store__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.gl-store .gl-btn--primary { background: var(--ink); color: #fff; border-radius: 4px; min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; text-decoration: none; }
.gl-store .gl-btn--ghost { border: 1px solid var(--ink); color: var(--ink); border-radius: 4px; min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; text-decoration: none; }
.gl-placeholder { width: 100%; height: 100%; background: var(--blush-2); }
.gl-placeholder svg { width: 100%; height: 100%; opacity: .25; }
@media (max-width: 860px) { .gl-store__card { grid-template-columns: 1fr; } .gl-store__media { min-height: 200px; aspect-ratio: 16 / 9; } }

/* ---------- SEO TEXT ---------- */
.gl-seo { background: var(--paper); border-top: 1px solid var(--line); padding: 40px 0; }
.gl-seo__inner { max-width: 900px; }
.gl-seo .gl-h2 { font-family: var(--font-body--family); font-weight: 600; font-size: 18px; }
.gl-seo__body { color: var(--ink-3); font-size: 13px; line-height: 1.7; }
.gl-seo__body h2, .gl-seo__body h3 { font-family: var(--font-body--family); font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 16px 0 4px; }
.gl-seo__body a { color: var(--ink-2); }
.gl-seo__more { position: relative; max-height: 96px; overflow: hidden; transition: max-height .3s ease; }
.gl-seo__more::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.gl-seo__more.is-open { max-height: none; }
.gl-seo__more.is-open::after { display: none; }
.gl-seo__label { appearance: none; background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; padding: 0 0 1px; margin-top: 12px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); }
.gl-seo__label:hover { color: var(--rose); }

@media (prefers-reduced-motion: reduce) { .gl *, .gl-toast { transition: none !important; animation: none !important; } }
