/* ============================================================
 * Enhanced — Front Page (Luxina Layout)
 * Barlow Condensed display · clean grid · coral accent
 * ============================================================ */

:root {
  --lx-coral:      #f2c0b8;
  --lx-coral-dark: #e8a49c;
  --lx-black:      #111111;
  --lx-white:      #ffffff;
  --lx-gray:       #f5f5f5;
  --lx-gray-2:     #ebebeb;
  --lx-muted:      #888888;
  --lx-line:       #e0e0e0;
  --lx-sale:       #cc2222;
  --lx-new:        #2d6a4f;
  --lx-serif:      'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --lx-sans:       'DM Sans', 'Inter', Helvetica, sans-serif;
  --lx-ease:       cubic-bezier(.25,.46,.45,.94);
  --lx-ease-out:   cubic-bezier(.16,1,.3,1);
}

/* ── Global font override for front page ────────────────────── */
.site-main {
  font-family: var(--lx-sans);
}

/* ── Scroll reveal ───────────────────────────────────────────── */
.fp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--lx-ease-out), transform .75s var(--lx-ease-out);
}
.fp-reveal.is-visible          { opacity: 1; transform: translateY(0); }
.fp-reveal--delay-1            { transition-delay: .10s; }
.fp-reveal--delay-2            { transition-delay: .20s; }
.fp-reveal--delay-3            { transition-delay: .30s; }
.fp-reveal--delay-4            { transition-delay: .40s; }

/* ── Shared buttons ──────────────────────────────────────────── */
.lx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  font-family: var(--lx-sans); text-decoration: none;
  cursor: pointer; border: none; transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.lx-btn--black  { background: var(--lx-black); color: #fff; }
.lx-btn--black:hover { background: #333; color: #fff; }
.lx-btn--white  { background: #fff; color: var(--lx-black); }
.lx-btn--white:hover { background: #f0f0f0; }
.lx-btn--outline { background: transparent; border: 1.5px solid var(--lx-black); color: var(--lx-black); }
.lx-btn--outline:hover { background: var(--lx-black); color: #fff; }
.lx-btn--sm { padding: 8px 18px; font-size: 10px; }

/* ── Nav arrows ──────────────────────────────────────────────── */
.lx-nav-arrows { display: flex; gap: 2px; }
.lx-nav-btn {
  width: 36px; height: 36px; background: transparent;
  border: 1.5px solid var(--lx-line); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--lx-black); transition: all .2s;
}
.lx-nav-btn:hover { background: var(--lx-black); border-color: var(--lx-black); color: #fff; }

/* ── Section header ──────────────────────────────────────────── */
.lx-sec-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 28px;
}
.lx-sec-eyebrow {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--lx-muted); margin-bottom: 6px;
}
.lx-sec-title {
  font-family: var(--lx-serif);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; color: var(--lx-black); line-height: 1;
  margin: 0;
}
.lx-sec-link {
  font-size: 10px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--lx-muted);
  border-bottom: 1px solid var(--lx-line); padding-bottom: 2px;
  flex-shrink: 0; transition: color .2s, border-color .2s;
}
.lx-sec-link:hover { color: var(--lx-black); border-color: var(--lx-black); }

/* ── Badges ──────────────────────────────────────────────────── */
.lx-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 10px; font-size: 9px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.lx-badge--sale { background: var(--lx-sale); color: #fff; }
.lx-badge--new  { background: var(--lx-black); color: #fff; }

/* ============================================================
 * SUBNAV (added via header.php hook)
 * ============================================================ */
.lx-subnav {
  border-bottom: 1px solid var(--lx-line);
  background: #fff; overflow-x: auto; scrollbar-width: none;
}
.lx-subnav::-webkit-scrollbar { display: none; }
.lx-subnav__inner {
  display: flex; align-items: center;
  max-width: var(--en-container);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.5vw, 40px);
}
.lx-subnav__link {
  padding: 12px 18px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap; color: var(--lx-muted);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.lx-subnav__link:hover  { color: var(--lx-black); }
.lx-subnav__link.active { color: var(--lx-black); border-color: var(--lx-black); }
.lx-subnav__link--sale  { color: var(--lx-sale) !important; }

/* ============================================================
 * HERO — 3-panel grid
 * ============================================================ */
.lx-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: 1fr 1fr;
  gap: 3px; background: var(--lx-line);
  min-height: 480px;
  max-height: 680px;
}

/* Left: coral bg + model */
.lx-hero-left {
  grid-row: 1 / 3;
  background: var(--lx-coral);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 48px;
}
.lx-hero-left__model {
  position: absolute; right: 0; bottom: 0;
  height: 100%; width: 55%;
  object-fit: cover; object-position: top center;
}
.lx-hero-left__fallback {
  position: absolute; right: 0; bottom: 0;
  height: 100%; width: 55%;
  background: var(--lx-coral-dark);
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 30px,
    rgba(255,255,255,.08) 30px, rgba(255,255,255,.08) 31px
  );
  display: flex; align-items: center; justify-content: center;
  font-family: monospace; font-size: 11px;
  color: rgba(0,0,0,.28); text-align: center; line-height: 2; padding: 16px;
}
.lx-hero-left__content { position: relative; z-index: 2; max-width: 300px; }

.lx-hero-eyebrow {
  display: block; font-size: 10px;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(0,0,0,.5); margin-bottom: 8px; font-weight: 600;
}
.lx-hero-discount {
  font-family: var(--lx-serif);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 900; line-height: .88;
  color: var(--lx-black); letter-spacing: -.02em;
  margin-bottom: 0;
}
.lx-hero-discount sup {
  font-size: .3em; vertical-align: super;
  letter-spacing: .06em; line-height: 1;
}
.lx-hero-desc {
  font-size: 13px; line-height: 1.7;
  color: rgba(0,0,0,.55); margin: 12px 0 24px;
  max-width: 220px;
}

/* Top right: dark offer panel */
.lx-hero-tr {
  background: #1a1a1a;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: center; padding: 32px 28px; gap: 12px;
}
.lx-hero-tr__img {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 52%; object-fit: cover; opacity: .75;
}
.lx-hero-tr__fallback {
  position: absolute; right: 0; top: 0; bottom: 0; width: 52%;
  background: #2a2a2a;
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 20px,
    rgba(255,255,255,.03) 20px, rgba(255,255,255,.03) 21px
  );
  display: flex; align-items: center; justify-content: center;
  font-family: monospace; font-size: 10px;
  color: rgba(255,255,255,.2); text-align: center; line-height: 2;
}
.lx-hero-tr__content { position: relative; z-index: 2; }
.lx-hero-tr__label {
  display: block; font-size: 9px;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 8px;
}
.lx-hero-tr__title {
  font-family: var(--lx-serif);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 800; color: #fff;
  text-transform: uppercase; line-height: 1;
  margin-bottom: 16px; letter-spacing: .04em;
}

/* Bottom right: accessories */
.lx-hero-br {
  background: var(--lx-gray);
  position: relative; overflow: hidden;
  display: flex; align-items: center; padding: 28px;
}
.lx-hero-br__img {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 55%; object-fit: cover;
}
.lx-hero-br__fallback {
  position: absolute; right: 0; top: 0; bottom: 0; width: 55%;
  background: linear-gradient(160deg, #e0e0e0, #ccc);
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 20px,
    rgba(0,0,0,.02) 20px, rgba(0,0,0,.02) 21px
  );
  display: flex; align-items: center; justify-content: center;
  font-family: monospace; font-size: 10px;
  color: rgba(0,0,0,.2); text-align: center; line-height: 2;
}
.lx-hero-br__content { position: relative; z-index: 2; }
.lx-hero-br__title {
  font-family: var(--lx-serif);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; line-height: 1.1; margin-bottom: 12px;
}

/* ============================================================
 * SALE IS ON
 * ============================================================ */
.lx-sale-on {
  padding: 56px 0;
  border-top: 1px solid var(--lx-line);
}
.lx-sale-rail {
  display: flex; gap: 3px;
  overflow-x: auto; scrollbar-width: none;
  background: var(--lx-line);
}
.lx-sale-rail::-webkit-scrollbar { display: none; }

.lx-sale-card {
  flex-shrink: 0; width: 264px;
  background: var(--lx-gray); cursor: pointer;
  transition: background .2s;
}
.lx-sale-card:hover { background: var(--lx-gray-2); }
.lx-sale-card__img {
  aspect-ratio: 3/4; overflow: hidden;
  position: relative; background: #e0e0e0;
}
.lx-sale-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--lx-ease);
}
.lx-sale-card:hover .lx-sale-card__img img { transform: scale(1.06); }
.lx-sale-card__fallback {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #e8e4de, #d4cec8);
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 24px,
    rgba(0,0,0,.025) 24px, rgba(0,0,0,.025) 25px
  );
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: monospace; font-size: 10px;
  color: rgba(0,0,0,.2); text-align: center; line-height: 1.8;
}
.lx-sale-card__body { padding: 16px 16px 20px; }
.lx-sale-card__cat {
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lx-muted); margin-bottom: 5px;
}
.lx-sale-card__name {
  font-family: var(--lx-serif);
  font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  line-height: 1.1; margin-bottom: 14px; color: var(--lx-black);
}

/* ============================================================
 * PRODUCT RAIL
 * ============================================================ */
.lx-product-rail {
  padding: 52px 0;
  border-top: 1px solid var(--lx-line);
}
.lx-product-rail--alt { background: var(--lx-gray); }

.lx-product-rail__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lx-rail-track {
  display: flex; gap: 20px;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 4px;
}
.lx-rail-track::-webkit-scrollbar { display: none; }

.lx-prod-card {
  display: block;
  flex-shrink: 0;
  width: 220px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.lx-prod-card__img {
  aspect-ratio: 3/4; overflow: hidden;
  position: relative; background: var(--lx-gray-2); margin-bottom: 12px;
}
.lx-prod-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s var(--lx-ease);
}
.lx-prod-card:hover .lx-prod-card__img img { transform: scale(1.06); }
.lx-prod-card__fallback {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #ebebeb, #ddd);
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 22px,
    rgba(0,0,0,.02) 22px, rgba(0,0,0,.02) 23px
  );
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: monospace; font-size: 10px;
  color: rgba(0,0,0,.2); text-align: center; line-height: 1.8; padding: 8px;
}
.lx-prod-card__name {
  font-size: 13px; font-weight: 500; color: #333;
  margin-bottom: 5px; line-height: 1.3;
}
.lx-prod-card:hover .lx-prod-card__name { color: var(--lx-sale); }
.lx-prod-card__price {
  font-size: 13px;
}
.lx-prod-card__price ins { text-decoration: none; }
.lx-prod-card__price ins bdi,
.lx-prod-card__price bdi { font-size: 14px; font-weight: 700; color: var(--lx-black); }
.lx-prod-card__price del bdi {
  font-size: 12px; color: var(--lx-muted);
  text-decoration: line-through;
}
.lx-prod-card__price del + ins bdi { color: var(--lx-sale); }

.lx-product-rail--marquee {
  overflow: hidden;
  padding-block: clamp(30px, 4.5vw, 48px);
}

.lx-product-rail--marquee + .lx-product-rail--marquee {
  padding-top: clamp(18px, 3vw, 30px);
}

.lx-product-rail--marquee .container {
  max-width: none;
  padding-inline: 0;
}

.lx-product-rail--marquee .lx-sec-head {
  max-width: var(--lx-container);
  margin-inline: auto;
  margin-bottom: 18px;
  padding-inline: 24px;
}

.lx-rail-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 18px 8px;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.lx-rail-marquee__inner {
  --lx-marquee-duration: 34s;
  display: flex;
  width: max-content;
  gap: 20px;
  animation: lx-marquee-left var(--lx-marquee-duration) linear infinite;
  will-change: transform;
}

.lx-product-rail--marquee-right .lx-rail-marquee__inner {
  animation-name: lx-marquee-right;
}

.lx-rail-marquee.is-paused .lx-rail-marquee__inner {
  animation-play-state: paused;
}

.lx-rail-marquee__group {
  display: flex;
  gap: 20px;
  min-width: max-content;
}

.lx-product-rail--marquee .fp-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.lx-product-rail--marquee .lx-prod-card {
  width: clamp(220px, 18vw, 282px);
}

@keyframes lx-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 10px)); }
}

@keyframes lx-marquee-right {
  from { transform: translateX(calc(-50% - 10px)); }
  to { transform: translateX(0); }
}

@media (max-width: 860px) {
  .lx-product-rail--marquee {
    padding-block: 30px;
  }

  .lx-product-rail--marquee + .lx-product-rail--marquee {
    padding-top: 14px;
  }

  .lx-product-rail--marquee .lx-sec-head {
    margin-bottom: 14px;
    padding-inline: 18px;
  }

  .lx-rail-marquee {
    padding-block: 16px 6px;
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  }

  .lx-rail-marquee__inner {
    --lx-marquee-duration: 28s;
    gap: 14px;
  }

  .lx-rail-marquee__group {
    gap: 14px;
  }

  .lx-product-rail--marquee .lx-prod-card {
    width: clamp(168px, 45vw, 210px);
  }
}

/* ============================================================
 * SALE BANNER
 * ============================================================ */
.lx-sale-banner {
  background: var(--lx-black);
  position: relative; overflow: hidden;
  padding: 64px 0;
}
.lx-sale-banner__img {
  position: absolute; right: 10%;
  top: 50%; transform: translateY(-50%);
  height: 110%; width: 280px;
  object-fit: cover; opacity: .55;
}
.lx-sale-banner__img-fallback {
  position: absolute; right: 10%;
  top: 50%; transform: translateY(-50%);
  height: 110%; width: 280px;
  background: rgba(255,255,255,.04);
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 20px,
    rgba(255,255,255,.04) 20px, rgba(255,255,255,.04) 21px
  );
  display: flex; align-items: center; justify-content: center;
  font-family: monospace; font-size: 10px;
  color: rgba(255,255,255,.2); text-align: center; line-height: 2;
}
.lx-sale-banner__inner { position: relative; z-index: 2; }
.lx-sale-banner__eyebrow {
  font-size: 10px; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 10px;
}
.lx-sale-banner__title {
  font-family: var(--lx-serif);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 900; color: #fff;
  text-transform: uppercase; line-height: .95;
  letter-spacing: .02em; margin-bottom: 32px;
}
.lx-sale-banner__title em {
  font-style: normal; color: var(--lx-coral);
}

/* ============================================================
 * BLOG
 * ============================================================ */
.lx-blog {
  padding: 56px 0;
  border-top: 1px solid var(--lx-line);
}
.lx-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.lx-blog-card { cursor: pointer; }
.lx-blog-card__img {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--lx-gray-2); margin-bottom: 16px;
  display: block; position: relative;
}
.lx-blog-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--lx-ease);
}
.lx-blog-card:hover .lx-blog-card__img img { transform: scale(1.05); }
.lx-blog-card__fallback {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #ebebeb, #ddd);
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 24px,
    rgba(0,0,0,.02) 24px, rgba(0,0,0,.02) 25px
  );
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: monospace; font-size: 10px;
  color: rgba(0,0,0,.2); text-align: center; line-height: 1.8;
}
.lx-blog-card__body { }
.lx-blog-card__cat {
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lx-sale); font-weight: 700; margin-bottom: 6px;
}
.lx-blog-card__title {
  font-family: var(--lx-serif);
  font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  line-height: 1.2; margin-bottom: 6px; color: var(--lx-black);
}
.lx-blog-card__title a { text-decoration: none; color: inherit; transition: color .2s; }
.lx-blog-card:hover .lx-blog-card__title a { color: var(--lx-sale); }
.lx-blog-card__date { font-size: 11px; color: var(--lx-muted); }

/* ============================================================
 * NEWSLETTER
 * ============================================================ */
.fp2-newsletter {
  padding: 80px 0;
  border-top: 1px solid var(--lx-line);
  background: #fff;
}
.fp2-newsletter__inner {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 48px; flex-wrap: wrap;
}
.fp2-newsletter__title {
  font-family: var(--lx-serif);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: .02em; line-height: .95; color: var(--lx-black);
  margin: 0 0 12px;
}
.fp2-newsletter__sub {
  font-size: 14px; color: var(--lx-muted); line-height: 1.7;
  max-width: 360px; margin-bottom: 0;
}
.fp2-newsletter__form {
  display: flex; gap: 0; flex: 0 0 460px; align-self: flex-end;
}
.fp2-newsletter__input {
  flex: 1; padding: 14px 18px;
  border: 1.5px solid var(--lx-line); border-right: none;
  background: var(--lx-gray); font-size: 13px;
  font-family: var(--lx-sans); color: var(--lx-black);
  outline: none; transition: border-color .2s; min-width: 0;
}
.fp2-newsletter__input:focus { border-color: var(--lx-black); }
.fp2-newsletter__input::placeholder { color: var(--lx-muted); }
.fp2-newsletter__btn {
  padding: 14px 28px; background: var(--lx-black);
  border: none; color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; font-family: var(--lx-sans);
  white-space: nowrap; transition: background .2s; flex-shrink: 0;
}
.fp2-newsletter__btn:hover { background: #333; }

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 1024px) {
  .lx-blog-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .fp2-newsletter__inner { flex-direction: column; align-items: flex-start; }
  .fp2-newsletter__form  { flex: 0 0 100%; width: 100%; }
}

@media (max-width: 640px) {
  .lx-blog-grid  { grid-template-columns: 1fr; }
  .lx-sec-head   { flex-wrap: wrap; gap: 12px; }
  .fp2-newsletter__form { flex-direction: column; gap: 8px; }
  .fp2-newsletter__input { border-right: 1.5px solid var(--lx-line); }
  .fp2-newsletter__btn { width: 100%; }
}
