/* =========================================================================
   LUMIÈRE — the luxury layer on top of the theme.
   Every colour comes from the merchant's theme settings (--background,
   --foreground, --primary, --accent, --border…), nothing is hard-coded.
   ========================================================================= */

:root { --lum-ease: cubic-bezier(.22, .61, .36, 1); }

body { background: var(--background); color: var(--foreground); }
html, body { overflow-x: clip; }

/* Background pattern (merchant setting) */
body.lum-pattern-monogram, body.lum-pattern-geo { background-attachment: fixed; }
body.lum-pattern-monogram { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='92'%3E%3Ctext x='14' y='38' font-family='serif' font-size='28' fill='%23000' fill-opacity='.05'%3EL%3C/text%3E%3C/svg%3E"); }
body.lum-pattern-geo { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 6 58 32 32 58 6 32Z' fill='none' stroke='%23000' stroke-opacity='.05'/%3E%3C/svg%3E"); }

/* ---------- Section titles: heading font, centred, rule with a diamond ---------- */
main section:not(.section-hero) .theme-container > h2,
main section:not(.section-hero) .theme-container > div > h2:first-child {
  font-family: var(--lum-font-h);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: .01em;
  text-align: center;
}
body:not(.lum-titles-plain) main section:not(.section-hero) .theme-container > h2::after,
body:not(.lum-titles-plain) main section:not(.section-hero) .theme-container > div > h2:first-child::after {
  content: '';
  display: block;
  width: 64px;
  height: 9px;
  margin: 12px auto 0;
  background: linear-gradient(var(--accent), var(--accent)) center / 100% 1px no-repeat;
}
body.lum-titles-diamond main section:not(.section-hero) .theme-container > h2,
body.lum-titles-diamond main section:not(.section-hero) .theme-container > div > h2:first-child
{ position: relative; }
body.lum-titles-diamond main section:not(.section-hero) .theme-container > h2::after,
body.lum-titles-diamond main section:not(.section-hero) .theme-container > div > h2:first-child::after {
  background: linear-gradient(var(--accent), var(--accent)) left center / calc(50% - 9px) 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right center / calc(50% - 9px) 1px no-repeat;
}
body.lum-titles-diamond main section:not(.section-hero) .theme-container > h2::before,
body.lum-titles-diamond main section:not(.section-hero) .theme-container > div > h2:first-child::before {
  content: ''; position: absolute; left: 50%; bottom: 1px; width: 7px; height: 7px;
  background: var(--accent); transform: translateX(-50%) rotate(45deg);
}
h1, .lum-h { font-family: var(--lum-font-h); font-weight: 500; }


/* ---------- Header: centred logo with the menu underneath (desktop) ---------- */
.lum-header { background: color-mix(in srgb, var(--background) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--border) !important; }
@media (min-width: 1024px) {
  .lum-header--center nav.theme-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: 'start logo actions' 'menu menu menu';
    row-gap: 14px;
  }
  .lum-header--center nav.theme-container > div:first-of-type { display: contents; }
  .lum-header--center nav.theme-container > div:first-of-type > a { grid-area: logo; justify-self: center; }
  .lum-header--center nav.theme-container > div:first-of-type > ul { grid-area: menu; justify-content: center; gap: 34px; }
  .lum-header--center nav.theme-container > ul { grid-area: actions; justify-self: end; }
}
.lum-header nav ul a { letter-spacing: .02em; }

/* ---------- Buttons: the merchant's primary colour, quiet hover to the accent ---------- */
.bg-primary { transition: background-color .25s var(--lum-ease), color .25s; }
a.bg-primary:hover, button.bg-primary:hover { background: var(--accent) !important; }

/* ---------- Product cards: softer frame, slow image zoom ---------- */
main article img, main .product-card img { transition: transform 1.1s var(--lum-ease); }
main article:hover img, main .product-card:hover img { transform: scale(1.04); }
main article h3 { font-weight: 400; letter-spacing: .01em; }

/* ---------- Footer: dark signature band ---------- */
footer { background: var(--foreground) !important; color: var(--background); }
footer a, footer p, footer span, footer h2, footer h3, footer li { color: color-mix(in srgb, var(--background) 82%, transparent) !important; }
footer a:hover { color: var(--accent) !important; }

/* ---------- Loading screen ---------- */
.lum-loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: color-mix(in srgb, var(--background) 55%, transparent); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); transition: opacity .9s var(--lum-ease), backdrop-filter .9s; }
.lum-loader.out { opacity: 0; pointer-events: none; }
.lum-loader img { height: 56px; width: auto; max-width: 60vw; object-fit: contain; }
.lum-loader.m-pulse img { animation: lum-pulse 1.8s var(--lum-ease) infinite; }
.lum-loader.m-breathe img { animation: lum-breathe 2.4s ease-in-out infinite; }
.lum-loader.m-float img { animation: lum-float 2.4s ease-in-out infinite; }
@keyframes lum-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.96); } }
@keyframes lum-breathe { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.04); } }
@keyframes lum-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .lum-loader img { animation: none !important; } }

/* ---------- Opening offer window ---------- */
.lum-offer { position: fixed; inset: 0; z-index: 9998; display: none; place-items: center; padding: 20px; background: rgba(0, 0, 0, .45); }
.lum-offer.open { display: grid; }
.lum-offer__box { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-width: 760px; width: 100%; background: var(--background); color: var(--foreground); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.lum-offer__box.no-img { grid-template-columns: 1fr; max-width: 460px; }
.lum-offer__img { min-height: 320px; background: var(--secondary) center / cover no-repeat; }
.lum-offer__body { padding: 44px 36px 34px; display: flex; flex-direction: column; gap: 14px; justify-content: center; text-align: center; align-items: center; }
.lum-offer__title { font-family: var(--lum-font-h); font-size: 28px; font-weight: 500; }
.lum-offer__text { color: var(--muted); line-height: 1.8; }
.lum-offer__code { border: 1px dashed var(--accent); padding: 10px 22px; letter-spacing: .14em; font-weight: 600; border-radius: var(--radius); background: transparent; cursor: pointer; }
.lum-offer__btn { display: inline-block; background: var(--primary); color: var(--primary-foreground); padding: 12px 28px; border-radius: var(--radius); letter-spacing: .06em; }
.lum-offer__x { position: absolute; top: 10px; inset-inline-end: 12px; font-size: 26px; line-height: 1; color: var(--foreground); background: none; }
@media (max-width: 640px) { .lum-offer__box { grid-template-columns: 1fr; } .lum-offer__img { min-height: 200px; } }

/* ---------- Floating buttons ---------- */
.lum-wa, .lum-music { position: fixed; z-index: 60; inset-inline-end: 20px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.lum-wa { bottom: 90px; background: #25d366; color: #fff; }
.lum-music { bottom: 150px; background: var(--background); color: var(--foreground); border: 1px solid var(--border); }
.lum-music .eq { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.lum-music .eq i { width: 3px; background: currentColor; border-radius: 2px; animation: lum-eq 1s ease-in-out infinite; }
.lum-music .eq i:nth-child(2) { animation-delay: .2s; } .lum-music .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes lum-eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }

/* ---------- Ornelle sections ---------- */
.lum-sec { padding: clamp(48px, 7vw, 96px) 16px; }
.lum-sec .theme-container { max-width: 1280px; margin-inline: auto; }
.lum-eyebrow { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.lum-btn { display: inline-block; background: var(--primary); color: var(--primary-foreground); padding: 13px 30px; border-radius: var(--radius); font-size: 13px; letter-spacing: .08em; transition: background .25s; }
.lum-btn:hover { background: var(--accent); }
.lum-quote { text-align: center; max-width: 900px; margin-inline: auto; }
.lum-quote blockquote { font-family: var(--lum-font-h); font-size: clamp(24px, 3.4vw, 42px); line-height: 1.5; }
.lum-quote .mark { font-size: 80px; line-height: .6; color: var(--accent); font-family: serif; }
.lum-quote cite { display: block; margin-top: 16px; color: var(--muted); font-style: normal; letter-spacing: .1em; }
.lum-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.lum-editorial img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.lum-editorial .txt { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.lum-editorial h2 { font-family: var(--lum-font-h); font-size: clamp(26px, 3vw, 40px); font-weight: 500; }
.lum-editorial p { color: var(--muted); line-height: 1.9; }
.lum-editorial.flip > :first-child { order: 2; }
.lum-lookbook { position: relative; }
.lum-lookbook img.main { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.lum-dot { position: absolute; transform: translate(-50%, -50%); }
[dir='rtl'] .lum-dot { transform: translate(50%, -50%); }
.lum-dot > button { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .4); display: grid; place-items: center; backdrop-filter: blur(4px); }
.lum-dot > button span { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.lum-dot .tip { display: none; position: absolute; top: 38px; inset-inline-start: 50%; translate: -50% 0; white-space: nowrap; background: var(--background); border: 1px solid var(--border); padding: 10px 14px; border-radius: var(--radius); font-size: 13px; }
.lum-dot.on .tip { display: block; }
.lum-ba { position: relative; aspect-ratio: 16 / 10; max-width: 1000px; margin-inline: auto; overflow: hidden; border-radius: var(--radius); --pos: 50%; }
.lum-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lum-ba .before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.lum-ba .line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; pointer-events: none; }
.lum-ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.lum-marquee { overflow: hidden; border-block: 1px solid var(--border); padding-block: 26px; }
.lum-marquee .track { display: flex; gap: 60px; width: max-content; animation: lum-marq 30s linear infinite; font-family: var(--lum-font-h); font-size: clamp(40px, 7vw, 100px); white-space: nowrap; }
.lum-marquee .track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--foreground); }
@keyframes lum-marq { to { transform: translateX(-50%); } }
[dir='rtl'] .lum-marquee .track { animation-name: lum-marq-rtl; }
@keyframes lum-marq-rtl { to { transform: translateX(50%); } }
.lum-faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.lum-faq summary { cursor: pointer; font-size: 17px; list-style: none; display: flex; justify-content: space-between; }
.lum-faq summary::after { content: '+'; color: var(--accent); font-size: 22px; }
.lum-faq details[open] summary::after { content: '–'; }
.lum-faq p { color: var(--muted); line-height: 1.9; margin-top: 10px; }
.lum-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); text-align: center; background: var(--foreground); color: var(--background); border-radius: var(--radius); }
.lum-stats > div { padding: 40px 16px; }
.lum-stats b { display: block; font-size: clamp(36px, 4.5vw, 58px); font-weight: 500; }
.lum-stats span { opacity: .75; font-size: 13px; letter-spacing: .08em; }
.lum-branches, .lum-contact .list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lum-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--secondary); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.lum-card h3 { font-family: var(--lum-font-h); font-size: 20px; font-weight: 500; }
.lum-card p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.lum-card a { text-decoration: underline; text-underline-offset: 5px; }
.lum-join { text-align: center; background: var(--foreground); color: var(--background); }
.lum-join h2 { font-family: var(--lum-font-h); font-size: clamp(26px, 3vw, 40px); font-weight: 500; margin-bottom: 12px; }
.lum-join p { opacity: .8; margin-bottom: 22px; }
.lum-join .lum-btn { background: var(--background); color: var(--foreground); }
.lum-reels { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lum-reels a, .lum-reels div.item { position: relative; flex: 0 0 clamp(180px, 22vw, 260px); aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: var(--secondary); }
.lum-reels video, .lum-reels img { width: 100%; height: 100%; object-fit: cover; }
.lum-reels .cap { position: absolute; inset-inline: 14px; bottom: 14px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
@media (max-width: 768px) { .lum-editorial { grid-template-columns: 1fr; } .lum-editorial.flip > :first-child { order: 0; } }

/* Slider readability: soft scrim behind the text on photo slides, and light text on top (merchant colours, no fixed hex) */
.section-carousel .embla__slide > .absolute.inset-0:has(img)::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, color-mix(in srgb, var(--primary) 62%, transparent) 0%, color-mix(in srgb, var(--primary) 34%, transparent) 55%, color-mix(in srgb, var(--primary) 12%, transparent) 100%); }
.section-carousel .embla__slide:has(img) :is(h2, p, span).text-foreground { color: var(--primary-foreground); text-shadow: 0 1px 14px color-mix(in srgb, var(--primary) 55%, transparent); }
.section-carousel .embla__slide:has(img) .btn-filled { background: var(--primary-foreground); color: var(--primary); border-color: var(--primary-foreground); }
.section-carousel .embla__slide:has(img) .btn-filled:hover { background: transparent; color: var(--primary-foreground); }
