/* Perfume lines (rebuilt 2026-11-04, owner: SpaceX-like covers). Swiss, in the site's own type: the line's film carries
   the mood (Sama night sky, Rihla sea from above, Kanz pearls on silk); everything else is black, white, hairlines and
   the store accent, words left-aligned (start), the name set huge. Dark films get white words; Kanz (white silk) gets
   black words (`--light`). Templates: shop/line-hero.php, components/line-card.php, home/sections-ronelle/lines.php. */

/* ---------- Line page cover: the film across the whole screen ---------- */
html:has(.rn-lh) { overflow-x: clip; } /* 100vw counts the scrollbar: clip that sliver instead of a sideways scroll */
.rn-lh { position: relative; isolation: isolate; display: flex; align-items: flex-end; width: 100vw; min-height: max(22rem, calc((100svh - var(--rn-fold-top, 7.5rem)) * var(--lh-h, 100) / 100)); margin-inline: calc(50% - 50vw); margin-block: 0; overflow: hidden; background: #000; color: #fff; }
.rn-lh__film { position: absolute; inset: 0; z-index: -2; }
.rn-lh__film video, .rn-lh__film img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rn-lh::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--lh-shade, .7); background: linear-gradient(0deg, rgb(0 0 0 / .95) 0%, rgb(0 0 0 / .5) 40%, rgb(0 0 0 / 0) 72%), linear-gradient(180deg, rgb(0 0 0 / .45) 0%, rgb(0 0 0 / 0) 24%); } /* theme editor: shade 0–100 % */
.rn-lh--light { background: #fff; color: #111; }
.rn-lh--light::after { background: linear-gradient(0deg, rgb(255 255 255 / .98) 0%, rgb(255 255 255 / .65) 42%, rgb(255 255 255 / 0) 75%); }
.rn-lh__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem clamp(2rem, 6vw, 6rem); width: 100%; padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.rn-lh__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.rn-lh__label { margin: 0 0 1rem; font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
[dir="rtl"] .rn-lh__label { letter-spacing: 0; font-size: .875rem; }
.rn-lh__title { margin: 0; font-family: var(--rui-font-display, "Helvetica Neue", Helvetica, Arial, sans-serif); font-size: calc(clamp(4.5rem, 13vw, 12rem) * var(--lh-title, 1)); font-weight: 700; line-height: .82; letter-spacing: -.045em; text-transform: uppercase; }
[dir="rtl"] .rn-lh__title { line-height: 1.05; letter-spacing: 0; text-transform: none; font-size: calc(clamp(4rem, 11vw, 10rem) * var(--lh-title, 1)); }
.rn-lh__alt { margin: .75rem 0 0; font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 400; opacity: .8; }
.rn-lh__intro { margin: 1.25rem 0 0; max-width: 34rem; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.7; opacity: .88; }
.rn-lh__cta { display: inline-flex; align-items: center; gap: .75rem; margin-top: 2rem; padding: 1rem 1.75rem; border: 1px solid currentColor; color: inherit; font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background-color .25s, color .25s; }
[dir="rtl"] .rn-lh__cta { letter-spacing: 0; font-size: .9375rem; }
.rn-lh__cta:hover { background: #fff; color: #000; }
.rn-lh--light .rn-lh__cta:hover { background: #111; color: #fff; }
.rn-lh__facts { display: flex; margin: 0; padding: 1rem 0 0; border-top: 1px solid currentColor; }
.rn-lh__facts div { display: grid; gap: .25rem; min-width: 5.5rem; padding-inline-end: 1.5rem; }
.rn-lh__facts dt { order: 2; font-size: .6875rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
[dir="rtl"] .rn-lh__facts dt { letter-spacing: 0; font-size: .8125rem; }
.rn-lh__facts dd { order: 1; margin: 0; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums lining-nums; }
.rn-lh__cta[hidden] { display: none; }
/* theme editor designs: width, words position, button, video fit */
.rn-lh--boxed { width: auto; margin-inline: 0; margin-block: 1rem 0; }
.rn-lh--boxed .rn-lh__inner { padding-inline: clamp(1.25rem, 4vw, 3.5rem); }
.rn-lh--at-top-start { align-items: flex-start; }
.rn-lh--at-top-start::after { transform: scaleY(-1); }
.rn-lh--at-center { align-items: center; }
.rn-lh--at-center::after { background: rgb(0 0 0 / .7); }
.rn-lh--at-center.rn-lh--light::after { background: rgb(255 255 255 / .75); }
.rn-lh--at-center .rn-lh__inner, .rn-lh--at-bottom-center .rn-lh__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.rn-lh--at-center .rn-lh__copy, .rn-lh--at-bottom-center .rn-lh__copy { align-items: center; }
.rn-lh--at-center .rn-lh__facts, .rn-lh--at-bottom-center .rn-lh__facts { justify-content: center; }
.rn-lh--btn-solid .rn-lh__cta { border-color: transparent; background: #fff; color: #000; }
.rn-lh--btn-solid .rn-lh__cta:hover { background: var(--rn-accent, #d7303f); color: #fff; }
.rn-lh--btn-solid.rn-lh--light .rn-lh__cta { background: #111; color: #fff; }
.rn-lh--fit-contain .rn-lh__film video, .rn-lh--fit-contain .rn-lh__film img { object-fit: contain; }
.rn-lh__cta:focus-visible, .rn-lnames a:focus-visible, .rn-lc:focus-visible { outline: 2px solid var(--rn-accent, #d7303f); outline-offset: 3px; }
@media (max-width: 56rem) {
  .rn-lh__inner { grid-template-columns: minmax(0, 1fr); }
  .rn-lh__facts { width: 100%; }
}
@media (max-width: 40rem) {
  .rn-lh { min-height: max(30rem, calc(100svh - var(--rn-fold-top, 6rem))); }
  .rn-lh__cta { align-self: stretch; justify-content: center; }
  .rn-lh__facts div { flex: 1; min-width: 0; padding-inline-end: .75rem; }
}

/* ---------- Every perfume name of the line, set as one line of type ---------- */
.rn-lnames { margin-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); padding-block: 1.5rem 1.75rem; border-block: 1px solid var(--rui-border, #e5e5e5); }
.rn-lnames__head { margin: 0 0 1rem; color: var(--rui-text-muted, #6b6b6b); font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
[dir="rtl"] .rn-lnames__head { letter-spacing: 0; font-size: .875rem; }
.rn-lnames__list { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .55em; margin: 0; padding: 0; list-style: none; font-size: calc(clamp(1.375rem, 3vw, 2.5rem) * var(--ln-size, 1)); } /* plain space between the names: separators would hang at the end of wrapped rows in Arabic */
.rn-lnames__list a { color: var(--rui-text, #111); font-size: inherit; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-transform: uppercase; text-decoration: none; transition: color .2s; }
.rn-lnames--alternate .rn-lnames__list li:nth-child(even) a { color: var(--rui-text-muted, #8a8a8a); } /* alternate black and grey so each name reads on its own */
.rn-lnames__list a:hover, .rn-lnames__list li:nth-child(even) a:hover { color: var(--rn-accent, #d7303f); }
/* theme editor designs */
.rn-lnames--norules { border-block: 0; }
.rn-lnames--normal .rn-lnames__list a { text-transform: none; letter-spacing: -.01em; }
.rn-lnames--center .rn-lnames__head { text-align: center; }
.rn-lnames--center .rn-lnames__list { justify-content: center; }
/* one moving line: two copies of the list slide by one list width, so it loops without a gap */
.rn-lnames--scroll .rn-lnames__track { display: flex; width: max-content; animation: rn-lnames-roll var(--ln-speed, 60s) linear infinite; }
.rn-lnames--scroll .rn-lnames__window { 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); }
.rn-lnames--scroll .rn-lnames__list { flex-wrap: nowrap; padding-inline-end: .55em; }
.rn-lnames--scroll .rn-lnames__list li { white-space: nowrap; }
.rn-lnames--scroll:hover .rn-lnames__track { animation-play-state: paused; }
@keyframes rn-lnames-roll { to { transform: translateX(-50%); } }
[dir="rtl"] .rn-lnames--scroll .rn-lnames__track { animation-name: rn-lnames-roll-rtl; }
@keyframes rn-lnames-roll-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .rn-lnames--scroll .rn-lnames__track { animation: none; } .rn-lnames--scroll .rn-lnames__window { overflow-x: auto; } }

/* a line page needs no line label on each card (they are all in it) */
.rui-shop--line .rui-line-tag { display: none; }
/* on a line page the gender index is a filter under the names, not the page title */
.rui-shop--line .rui-shop__index a { font-size: clamp(1.125rem, 2.2vw, 1.5rem); }

/* ---------- Line cards: the line's still full-bleed, its name over it; the film plays on hover (lg) ---------- */
.rn-lc { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; aspect-ratio: 4 / 5; background: #000; color: var(--lc-ink, #fff); text-decoration: none; }
.rn-lc__film { position: absolute; inset: 0; z-index: -2; }
.rn-lc__film img, .rn-lc__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), opacity .6s; }
.rn-lc:hover .rn-lc__film img { transform: scale(1.04); }
.rn-lc::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: calc(var(--lc-shade, .8) / .8); background: linear-gradient(0deg, rgb(0 0 0 / .78) 0%, rgb(0 0 0 / .3) 42%, rgb(0 0 0 / 0) 70%); }
.rn-lc--light { background: #fff; color: var(--lc-ink, #111); }
.rn-lc--light::after { background: linear-gradient(0deg, rgb(255 255 255 / .92) 0%, rgb(255 255 255 / .5) 45%, rgb(255 255 255 / 0) 75%); }
.rn-lc__copy { display: grid; gap: .5rem; padding: clamp(1.25rem, 2.5vw, 2rem); }
.rn-lc__count { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
[dir="rtl"] .rn-lc__count { letter-spacing: 0; font-size: .8125rem; }
.rn-lc__title { font-family: var(--rui-font-display, "Helvetica Neue", Helvetica, Arial, sans-serif); font-size: calc(clamp(2.75rem, 5vw, 4.5rem) * var(--lc-title, 1)); font-weight: 700; line-height: .88; letter-spacing: -.04em; text-transform: uppercase; }
[dir="rtl"] .rn-lc__title { line-height: 1.15; letter-spacing: 0; text-transform: none; }
.rn-lc__intro { max-width: 26rem; font-size: .9375rem; line-height: 1.65; opacity: .88; }
.rn-lc__cta { display: inline-flex; align-items: center; gap: .5rem; justify-self: start; margin-top: .5rem; padding-bottom: .25rem; border-bottom: 1px solid currentColor; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: gap .25s; }
[dir="rtl"] .rn-lc__cta { letter-spacing: 0; font-size: .875rem; }
.rn-lc:hover .rn-lc__cta { gap: .875rem; }
.rn-lc--lg.rn-lc--square { aspect-ratio: 1 / 1; }
.rn-lc--lg.rn-lc--tall { aspect-ratio: 2 / 3; }
/* "Our lines" card settings (theme editor, per line) */
.rn-lc--font-serif .rn-lc__title { font-family: var(--st-serif, "Bodoni Moda", Georgia, serif); font-weight: 400; letter-spacing: -.01em; text-transform: none; }
.rn-lc--at-middle { justify-content: center; }
.rn-lc--at-top { justify-content: flex-start; }
.rn-lc--at-top::after { transform: scaleY(-1); }
.rn-lc--at-middle::after { background: rgb(0 0 0 / .55); }
.rn-lc--light.rn-lc--at-middle::after { background: rgb(255 255 255 / .6); }
.rn-lc--align-center .rn-lc__copy { justify-items: center; text-align: center; }
.rn-lc--align-center .rn-lc__cta { justify-self: center; }
.rn-lc--name-first .rn-lc__title { order: -1; }
.rn-lc--btnfill .rn-lc__cta { padding: .7rem 1.1rem; border: 0; background: var(--lc-btn-bg); color: var(--lc-btn-ink, #fff); }
.rn-lc:not(.rn-lc--btnfill) .rn-lc__cta { color: var(--lc-btn-ink, inherit); }
@media (min-width: 40.01rem) { .rn-lc--span-wide { grid-column: span 2; } .rn-lc--span-full { grid-column: 1 / -1; } }
.rn-lc--span-wide.rn-lc--lg, .rn-lc--span-full.rn-lc--lg { aspect-ratio: auto; min-height: 22rem; }
.rn-lc--lg.rn-lc--landscape { aspect-ratio: 16 / 10; }
.rn-lc--md { aspect-ratio: 4 / 3; }
.rn-lc--md .rn-lc__title { font-size: 1.875rem; }
.rn-lc--sm { aspect-ratio: 16 / 7; }
.rn-lc--sm .rn-lc__copy { gap: .25rem; padding: .875rem 1rem; }
.rn-lc--sm .rn-lc__title { font-size: 1.5rem; }
@media (prefers-reduced-motion: reduce) { .rn-lc__film img, .rn-lc__film video, .rn-lh__cta { transition: none; } .rn-lc:hover .rn-lc__film img { transform: none; } }

/* ---------- Home "Our lines" and the other lines at the end of a line page ---------- */
.rn-lines { margin-block: clamp(2.5rem, 6vw, 5rem); }
.rn-lines__head { margin: 0 0 1.25rem; color: var(--rui-text-muted, #6b6b6b); font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
[dir="rtl"] .rn-lines__head { letter-spacing: 0; font-size: .9375rem; }
.rn-lines__grid, .rn-line-other__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: var(--lines-gap, .75rem); }
.rn-lines__grid--cols { grid-template-columns: repeat(var(--lines-cols, 3), minmax(0, 1fr)); }
@media (max-width: 64rem) { .rn-lines__grid--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); } } /* tablets: as many as fit */
@media (max-width: 40rem) { .rn-lines__grid--cols { grid-template-columns: minmax(0, 1fr); } }
.rn-line-other { margin-block: clamp(3rem, 7vw, 5rem) 1rem; }
.rn-line-other__title { margin: 0 0 1.25rem; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
[dir="rtl"] .rn-line-other__title { text-transform: none; letter-spacing: 0; }

/* Product page "From the line" box */
.rn-line-box { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; padding: 1rem; border: 1px solid var(--rui-border, #e7e2dc); border-radius: .5rem; color: inherit; text-decoration: none; transition: border-color .2s; }
.rn-line-box:hover { border-color: var(--rui-text, #1f1a20); }
.rn-line-box__copy { flex: 1; min-width: 0; display: grid; gap: .25rem; }
.rn-line-box__copy strong { font-weight: 500; font-size: .9375rem; }
.rn-line-box__copy span { color: var(--rui-text-muted, #6f6670); font-size: .8125rem; line-height: 1.6; }
.rn-line-box__peers { display: flex; gap: .375rem; }
.rn-line-box__peers img { width: 2.75rem; aspect-ratio: 4 / 5; object-fit: contain; border-radius: .25rem; background: #fff; }
[dir="rtl"] .rn-line-box > svg { transform: scaleX(-1); }
@media (max-width: 30rem) { .rn-line-box__peers img:nth-child(3) { display: none; } }

/* ---------- Header "Collections" (owner 2026-11-04): each line name as an outline, its film playing inside the letters.
   The film sits under a white layer with black letters set to `screen`: white hides the film, black lets it through,
   so only the letters show it; a transparent copy on top draws the outline. ---------- */
.rn-cmenu.rui-header__mega { display: flex; gap: clamp(1.5rem, 3vw, 3rem); padding: 1.75rem 2rem; background: #fff; }
.rn-cmenu[hidden] { display: none; }
.rn-cmenu__item { display: grid; gap: .5rem; color: #111; text-decoration: none; }
.rn-cmenu__word { position: relative; isolation: isolate; display: inline-block; overflow: hidden; font-family: var(--rui-font-display, "Helvetica Neue", Helvetica, Arial, sans-serif); font-size: clamp(2.75rem, 5vw, 5.25rem); font-weight: 800; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
[dir="rtl"] .rn-cmenu__word { line-height: 1.25; letter-spacing: 0; text-transform: none; }
.rn-cmenu__word video { position: absolute; inset: 3px; z-index: 0; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: cover; }
.rn-cmenu__fill { position: relative; z-index: 1; display: block; padding: .05em .02em; background: #fff; color: #000; mix-blend-mode: screen; }
.rn-cmenu__stroke { position: absolute; inset: 0; z-index: 2; padding: .05em .02em; color: transparent; -webkit-text-stroke: 1px #111; paint-order: stroke; pointer-events: none; }
.rn-cmenu__item--pearl video { filter: contrast(1.6) brightness(.82); } /* Kanz is white silk: deepen it so the letters read */
.rn-cmenu__item--night video { filter: brightness(2.2) contrast(1.15); } /* Sama's night sky: lift it so the stars show in the letters */
.rn-cmenu__word--plain .rn-cmenu__fill { mix-blend-mode: normal; color: #111; }
.rn-cmenu__meta { color: #6b6b6b; font-size: .6875rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
[dir="rtl"] .rn-cmenu__meta { letter-spacing: 0; font-size: .8125rem; }
.rn-cmenu__item:hover .rn-cmenu__stroke { -webkit-text-stroke-color: var(--rn-accent, #d7303f); }
.rn-cmenu__item:hover .rn-cmenu__meta { color: #111; }
.rn-cmenu__item:focus-visible { outline: 2px solid var(--rn-accent, #d7303f); outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { .rn-cmenu__word video { display: none; } .rn-cmenu__fill { mix-blend-mode: normal; color: #111; } }
.rui-header__group.rn-cmenu-group { position: static; } /* the panel centres under the whole header, not under its button */
.rn-cmenu.rui-header__mega { inset-inline: 0; width: max-content; max-width: calc(100vw - 2rem); margin-inline: auto; justify-content: center; }
/* the same Collections names in the mobile menu */
.rn-menu-collections { margin-top: 1rem; padding-block: 1.25rem .5rem; border-top: 1px solid var(--rui-border, #e5e5e5); }
.rn-menu-collections__title { margin: 0 0 .875rem; color: #6b6b6b; font-size: .6875rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
[dir="rtl"] .rn-menu-collections__title { letter-spacing: 0; font-size: .8125rem; }
.rn-cmenu--menu { display: grid; gap: 1.125rem; }
.rn-cmenu--menu .rn-cmenu__word { font-size: clamp(2.25rem, 11vw, 3.25rem); }

/* Collections menu hover (owner 2026-11-15): no store-wide link underline under the big word (it drew a thick bar under
   it); instead the hovered collection lifts a little and turns its outline red, the others step back, and a short red
   line grows under its "collection · fragrances" line with an arrow — same filled letters, calmer and clearer. */
[data-theme="ronelle"] .rui-header__nav .rui-header__mega a.rn-cmenu__item,
[data-theme="ronelle"] .rui-header__nav .rui-header__mega a.rn-cmenu__item:hover { text-decoration: none; }
.rn-cmenu.rui-header__mega { align-items: flex-start; }
.rn-cmenu__item { gap: .6rem; transition: opacity .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1); }
.rn-cmenu:hover .rn-cmenu__item:not(:hover):not(:focus-visible) { opacity: .4; }
.rn-cmenu__item:hover, .rn-cmenu__item:focus-visible { transform: translateY(-3px); }
.rn-cmenu__meta { position: relative; display: inline-flex; align-items: center; gap: .5rem; padding-bottom: .45rem; justify-self: start; }
.rn-cmenu__meta::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 1.5rem; height: 2px; background: currentColor; opacity: .25; transition: width .4s cubic-bezier(.22, 1, .36, 1), background-color .3s, opacity .3s; }
.rn-cmenu__item:hover .rn-cmenu__meta::after, .rn-cmenu__item:focus-visible .rn-cmenu__meta::after { width: 100%; background: var(--rn-accent, #d7303f); opacity: 1; }
.rn-cmenu__meta::before { content: "→"; order: 2; font-size: .9rem; letter-spacing: 0; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .35s cubic-bezier(.22, 1, .36, 1); }
[dir="rtl"] .rn-cmenu__meta::before { content: "←"; transform: translateX(6px); }
.rn-cmenu__item:hover .rn-cmenu__meta::before, .rn-cmenu__item:focus-visible .rn-cmenu__meta::before { opacity: 1; transform: none; color: var(--rn-accent, #d7303f); }
.rn-cmenu--menu .rn-cmenu__item:not(:hover) { opacity: 1; } /* the phone menu list stays fully visible */
@media (prefers-reduced-motion: reduce) { .rn-cmenu__item, .rn-cmenu__meta::after, .rn-cmenu__meta::before { transition: none; } .rn-cmenu__item:hover { transform: none; } }
