/* Éclat: the bright makeup and beauty store.
   A full-width photograph fills the top with the welcome on a white card
   centred over it; a wide story photograph with its words beneath; a dark
   quote band. One geometric face throughout. One shape rule: 8px corners on
   everything. No drawn ornaments: every shape is real content. */

body.shop-eclat {
  --font-display: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ground: #ffffff;
  --surface: #fbf4f6;
  --surface-2: #f2e6eb;
  --ink: #1b1320;
  --ink-soft: #5d5262;
  --line: #ece1e6;
  --night: #1b1320;
  --night-soft: #d8cadb;
  --radius: 8px;
  --radius-sm: 8px;
  --radius-btn: 8px;
  --header-h: 72px;
  --space-section: clamp(56px, 7vw, 100px);
}

.shop-eclat h1, .shop-eclat h2 { font-weight: 500; letter-spacing: -.02em; }
.shop-eclat h3 { font-weight: 600; }
.shop-eclat .eyebrow { color: var(--primary-text); font-weight: 600; letter-spacing: .16em; }
/* 8px corners on every control, the shared parts too. */
.shop-eclat .chip, .shop-eclat .option, .shop-eclat .sort, .shop-eclat .basket-link, .shop-eclat .basket-count,
.shop-eclat .add-button, .shop-eclat .badge, .shop-eclat .qty, .shop-eclat .qty button, .shop-eclat .policy-nav a,
.shop-eclat .menu-button, .shop-eclat .toast { border-radius: 8px; }
.shop-eclat .brand-word strong { font-weight: 600; letter-spacing: -.01em; }
.shop-eclat .desktop-nav a { font-weight: 500; }
.shop-eclat .desktop-nav a[aria-current="page"], .shop-eclat .desktop-nav a:hover { border-color: var(--primary); }
.shop-eclat .basket-link { background: var(--ink); color: #ffffff; }
.shop-eclat .basket-count { background: var(--primary); color: var(--on-primary); }

.shop-eclat .ec-link {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--primary-text);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
/* A heading keeps its label above and its line right under it. */
.shop-eclat .ec-head { max-width: 680px; margin-bottom: clamp(24px, 4vw, 40px); }
.shop-eclat .ec-head h2 { margin-bottom: .25em; }
.shop-eclat .ec-head .lead { margin: 0; }
.shop-eclat .ec-head--center { margin-inline: auto; text-align: center; }
.shop-eclat .ec-head--center .lead { margin-inline: auto; }
.shop-eclat .ec-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.shop-eclat .ec-btn-line { border-color: var(--ink); background: var(--ground); color: var(--ink); }
/* Two white sections in a row share one gap instead of two. */
.shop-eclat :is(.ec-story, .ec-popular, .ec-steps, .ec-room, .ec-closing) + :is(.ec-story, .ec-popular, .ec-steps, .ec-room, .ec-closing) {
  padding-top: 0;
}

/* Hero: the full-width photograph with the welcome card centred over it. On a
   phone the card overlaps the photograph's foot; on a laptop the photograph
   fills the whole hero behind the card. */
.shop-eclat .ec-hero { padding-bottom: clamp(24px, 4vw, 48px); }
/* The frame holds the shape; the photograph fills it, in the editor too. */
.shop-eclat .ec-hero__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.shop-eclat .ec-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@media (min-width: 760px) { .shop-eclat .ec-hero__photo { aspect-ratio: 16 / 7; } }
/* The card sits above the photograph, so its words stay clickable in the editor. */
.shop-eclat .ec-hero__frame { position: relative; z-index: 1; margin-top: -48px; }
.shop-eclat .ec-hero--solo .ec-hero__frame { margin-top: clamp(24px, 4vw, 48px); }
.shop-eclat .ec-hero__card {
  max-width: 700px; margin-inline: auto; padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--ground); text-align: center;
  box-shadow: 0 30px 70px -38px rgba(27, 19, 32, .6);
}
.shop-eclat .ec-hero .lead { margin: 0 auto 24px; }
.shop-eclat .ec-hero .ec-actions { justify-content: center; }
@media (min-width: 900px) {
  /* The hero keeps the card's shadow inside the photograph. */
  .shop-eclat .ec-hero {
    position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end;
    min-height: clamp(640px, 88vh, 820px); padding-block: clamp(140px, 24vh, 260px) clamp(40px, 5vw, 64px);
  }
  .shop-eclat .ec-hero__photo { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
  .shop-eclat .ec-hero__frame { margin-top: 0; }
  .shop-eclat .ec-hero--solo { min-height: 0; padding-block: clamp(40px, 6vw, 72px); }
}
.shop-eclat .ec-label {
  margin: 0 0 12px; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--primary-text);
  text-wrap: balance;
}
.shop-eclat .ec-hero h1 { margin-bottom: .35em; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.06; }

/* Story: a wide photograph with its words centred beneath */
.shop-eclat .ec-story__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 760px) { .shop-eclat .ec-story__photo img { aspect-ratio: 21 / 9; } }
.shop-eclat .ec-story__copy { max-width: 720px; margin: clamp(24px, 4vw, 44px) auto 0; text-align: center; }
.shop-eclat .ec-story .ec-text { margin-inline: auto; }
.shop-eclat .ec-text { font-size: 1.08rem; color: var(--ink-soft); max-width: 58ch; }

/* Popular: boutique cards in one even row, a button to all products under them */
.shop-eclat .ec-card { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.shop-eclat .ec-card .product-art { border-radius: var(--radius); background: var(--surface); }
.shop-eclat .ec-card .product-info { gap: 2px; padding: 12px 16px 16px; }
.shop-eclat .ec-card .product-category { color: var(--primary-text); }
.shop-eclat .ec-card h3 { font-size: 1.04rem; font-weight: 500; }
.shop-eclat .ec-card__price { font-size: 1.08rem; font-weight: 600; }
.shop-eclat .ec-card__add { background: var(--ink); color: #ffffff; }
.shop-eclat .ec-card__add:hover, .shop-eclat .ec-card__add.is-added { background: var(--primary); color: var(--on-primary); }
.shop-eclat .ec-more { display: flex; justify-content: center; margin-top: clamp(24px, 4vw, 40px); }

/* Story, craft and visit columns: two even columns, centred on each other */
.shop-eclat .ec-split { display: grid; gap: clamp(24px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) {
  .shop-eclat .ec-split { grid-template-columns: 1fr 1fr; }
  .shop-eclat .ec-split--solo { grid-template-columns: minmax(0, 760px); }
}
.shop-eclat .ec-split__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.shop-eclat .ec-split__copy h2 { max-width: 18ch; }

/* Craft: the reasons as a ruled list beside the mirror photograph, on a soft ground */
.shop-eclat .ec-why { background: var(--surface); background: color-mix(in srgb, var(--tint) 20%, var(--ground)); }
.shop-eclat .ec-why__list {
  margin: 20px 0 0; padding: 0; list-style: none;
  border-bottom: 1px solid var(--line); border-bottom-color: color-mix(in srgb, var(--ink) 14%, transparent);
}
.shop-eclat .ec-why__list li { padding: 16px 0; border-top: 1px solid var(--line); border-top-color: color-mix(in srgb, var(--ink) 14%, transparent); }
.shop-eclat .ec-why__list h3 { margin: 0 0 .25em; font-size: 1.1rem; }
.shop-eclat .ec-why__list p { margin: 0; color: var(--ink-soft); }

/* How to order: three numbered columns, each under a rule */
.shop-eclat .ec-steps__list {
  display: grid; gap: 28px clamp(20px, 3vw, 40px); grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none;
}
@media (min-width: 760px) { .shop-eclat .ec-steps__list { grid-template-columns: repeat(3, 1fr); } }
.shop-eclat .ec-steps__list li { padding-top: 18px; border-top: 2px solid var(--ink); }
.shop-eclat .ec-steps__n {
  display: block; margin-bottom: 10px; font-size: 2.6rem; font-weight: 500; line-height: 1;
  color: var(--primary-text); font-variant-numeric: tabular-nums;
}
.shop-eclat .ec-steps h3 { margin-bottom: .3em; font-size: 1.16rem; }
.shop-eclat .ec-steps__list p { margin: 0; color: var(--ink-soft); }

/* Room: two photographs of one shape */
.shop-eclat .ec-room__grid { display: grid; gap: clamp(12px, 2vw, 20px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .shop-eclat .ec-room__grid { grid-template-columns: 1fr 1fr; } }
.shop-eclat .ec-room__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.shop-eclat .ec-room__item figcaption { margin-top: 10px; font-size: .95rem; color: var(--ink-soft); }

/* Visit: the words beside a card of details */
.shop-eclat .ec-visit { background: var(--surface); }
.shop-eclat .ec-visit__card { padding: 6px clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ground); }
.shop-eclat [data-section="visit"] .sb-location-map__canvas { border-radius: var(--radius); }

/* Quote: one dark band */
.shop-eclat .ec-quote { background: var(--night); color: #ffffff; }
.shop-eclat .ec-quote__box { max-width: 880px; margin: 0 auto; text-align: center; }
.shop-eclat .ec-quote .eyebrow { color: var(--night-soft); }
.shop-eclat .ec-quote blockquote { margin: 0; }
.shop-eclat .ec-quote blockquote p {
  margin: 0; font-size: clamp(1.6rem, 1.1rem + 2.1vw, 2.7rem); font-weight: 500; line-height: 1.22;
  letter-spacing: -.01em; text-wrap: balance;
}
.shop-eclat .ec-quote figcaption { margin-top: 18px; font-weight: 600; color: var(--night-soft); }
.shop-eclat .ec-quote :focus-visible { outline-color: #ffffff; }

/* Closing: one call and one button on a soft band */
.shop-eclat .ec-closing__band {
  padding: clamp(36px, 6vw, 76px) clamp(20px, 5vw, 64px); border-radius: var(--radius); text-align: center;
  background: var(--surface); background: color-mix(in srgb, var(--tint) 34%, var(--ground));
}
.shop-eclat .ec-closing .eyebrow { color: var(--ink); }
.shop-eclat .ec-closing h2 { max-width: 20ch; margin-inline: auto; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }
.shop-eclat .ec-closing .lead { margin: 0 auto 26px; color: var(--ink); }

.shop-eclat .ec-footer h2 { font-weight: 600; }


/* ETABLI_CONTROL_PARITY_V1: mobile menu behaviour and catalogue sort surface. */
.shop-eclat .menu-button span {
  transform-origin: center;
  transition: transform .18s ease, opacity .18s ease;
}
body.shop-eclat.is-menu-open .menu-button { gap: 0; }
body.shop-eclat.is-menu-open .menu-button span:nth-child(1) { transform: translateY(2px) rotate(45deg); }
body.shop-eclat.is-menu-open .menu-button span:nth-child(2) { opacity: 0; }
body.shop-eclat.is-menu-open .menu-button span:nth-child(3) { transform: translateY(-2px) rotate(-45deg); }
.shop-eclat .mobile-menu a[aria-current="page"] {
  background: color-mix(in srgb, var(--primary) 10%, var(--ground));
  box-shadow: inset 3px 0 0 var(--primary);
  color: var(--ink);
}
.shop-eclat:has(.cart-layout, .checkout-layout) .basket-link[aria-current="page"] {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent);
  font-weight: 800;
}
@media (max-width: 899px) {
  .shop-eclat .mobile-menu {
    top: var(--shop-menu-top, var(--header-h));
    max-height: calc(100dvh - var(--shop-menu-top, var(--header-h)) - var(--bottom-nav-h, 72px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.shop-eclat .sort {
  min-width: 220px;
  min-height: 48px;
  padding-inline: 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 28px -24px rgba(32, 25, 24, .75);
  font-weight: 700;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.shop-eclat .sort:hover {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--line));
  box-shadow: 0 14px 32px -22px rgba(32, 25, 24, .65);
}
.shop-eclat .sort:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent);
}
@supports (appearance: base-select) {
  .shop-eclat .sort,
  .shop-eclat .sort::picker(select) { appearance: base-select; }
  .shop-eclat .sort::picker-icon {
    color: var(--primary);
    transition: rotate .18s ease;
  }
  .shop-eclat .sort:open::picker-icon { rotate: 180deg; }
  .shop-eclat .sort::picker(select) {
    margin-top: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 22px 48px -24px rgba(32, 25, 24, .5);
  }
  .shop-eclat .sort option {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
  }
  .shop-eclat .sort option:hover,
  .shop-eclat .sort option:focus { background: var(--surface); }
  .shop-eclat .sort option:checked {
    background: color-mix(in srgb, var(--primary) 12%, #ffffff);
    color: var(--primary);
    font-weight: 800;
  }
  .shop-eclat .sort option::checkmark {
    order: 1;
    margin-left: auto;
    color: var(--primary);
  }
}


/* RADIUS_CART_REVIEW_V1: rounded media/cards/controls and reference cart rows. */
body.shop-eclat {
  --review-radius: max(14px, var(--radius));
  --review-button-radius: max(10px, var(--radius-btn));
}
.shop-eclat main img {
  border-radius: var(--review-radius);
}
.shop-eclat main :is(.panel, .product-card, .empty-state) {
  border-radius: var(--review-radius);
}
.shop-eclat main :is(.product-detail-media, .about-figure, [class$="__photo"], [class$="__photo"] img, [class$="__item"] img) {
  border-radius: var(--review-radius);
}
.shop-eclat main :is(.product-detail-media, .about-figure, [class$="__photo"]) {
  overflow: hidden;
}
.shop-eclat main :is(.btn, .add-button, .menu-button, .basket-link, .qty, .qty button, .option, .chip, .sort, .policy-nav a, .cart-remove) {
  border-radius: var(--review-button-radius);
}
.shop-eclat .product-card {
  overflow: hidden;
}
.shop-eclat .product-card .product-art,
.shop-eclat .product-card .product-art img {
  border-top-left-radius: var(--review-radius);
  border-top-right-radius: var(--review-radius);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Article rows follow the image / copy / line-total hierarchy of the reference. */
.shop-eclat .cart-line {
  grid-template-columns: clamp(148px, 15vw, 200px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 16px;
  padding-block: 14px;
  overflow: hidden;
}
.shop-eclat .cart-line > .cart-art,
.shop-eclat .cart-line > .product-media {
  width: 100%;
  height: 96px;
  min-height: 96px;
  border-radius: var(--review-radius);
  background: var(--surface);
  overflow: hidden;
}
.shop-eclat .cart-line > .cart-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
  transition: transform .45s ease;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .shop-eclat .cart-line > .cart-art:hover > img {
    transform: scale(1.04);
  }
}
@media (max-width: 899px) {
  .shop-eclat .cart-line {
    grid-template-columns: clamp(88px, 24vw, 112px) minmax(0, 1fr);
    align-items: start;
    gap: 10px 14px;
  }
  .shop-eclat .cart-line > .cart-art,
  .shop-eclat .cart-line > .product-media {
    grid-row: 1 / span 2;
    width: 100%;
    height: 100%;
    min-height: 112px;
    align-self: stretch;
  }
  .shop-eclat .cart-line > div { min-width: 0; }
  .shop-eclat .cart-line > strong {
    grid-column: 2;
    justify-self: end;
    align-self: start;
    margin-top: -2px;
  }
  .shop-eclat .cart-line .qty {
    max-width: 100%;
  }
}
@media (max-width: 360px) {
  .shop-eclat .cart-line {
    grid-template-columns: 72px minmax(0, 1fr);
    gap-inline: 12px;
  }
  .shop-eclat .cart-line > .cart-art,
  .shop-eclat .cart-line > .product-media { min-height: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-eclat .cart-line > .cart-art > img { transition: none; }
  .shop-eclat .cart-line > .cart-art:hover > img { transform: none; }
}

/* Responsive cart and checkout action clearance 2026-09-20 */
.shop-eclat .qty .cart-remove,
body.shop-eclat #sbo .qty [data-sbo-remove] {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: max-content;
  min-width: 44px;
  margin-left: 10px;
  padding-inline: 10px;
  white-space: nowrap;
}

@media (max-width: 899px) {
  .shop-eclat .cart-line .qty {
    display: grid;
    grid-template-columns: auto auto auto 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: none;
    padding-inline: 0;
    column-gap: 0;
  }
  .shop-eclat .cart-line .qty > button:first-of-type,
  .shop-eclat .cart-line .qty > span {
    margin-right: 4px;
  }
  .shop-eclat .cart-line .qty > button:nth-of-type(2) {
    margin-right: 1px;
  }
  .shop-eclat .cart-line .qty .cart-remove,
  body.shop-eclat #sbo .cart-line .qty [data-sbo-remove] {
    grid-column: 5;
    justify-self: center;
    margin: 0;
  }
  .shop-eclat .cart-line > .cart-art,
  .shop-eclat .cart-line > .cart-art > img,
  body.shop-eclat #sbo .cart-line > img {
    border-top-left-radius: var(--review-radius);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: var(--review-radius);
  }
}

@media (max-width: 360px) {
  .shop-eclat .cart-line .qty {
    grid-template-columns: auto auto 1fr;
    row-gap: 6px;
  }
  .shop-eclat .cart-line .qty > button:nth-of-type(2) {
    justify-self: start;
  }
  .shop-eclat .cart-line .qty .cart-remove,
  body.shop-eclat #sbo .cart-line .qty [data-sbo-remove] {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }
}

/* Checkout media occupies the full mobile information block. */
@media (max-width: 899px) {
  body.shop-eclat #sbo .cart-line > img {
    grid-row: 1 / 3;
    align-self: stretch;
    height: 0;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Catalogue card depth and inline cart actions 2026-09-20 */
.shop-eclat .product-grid .product-card {
  box-shadow: 0 8px 22px rgba(13, 18, 25, .08), 0 2px 6px rgba(13, 18, 25, .04);
}

.shop-eclat .cart-line .qty .cart-remove,
body.shop-eclat #sbo .cart-line .qty [data-sbo-remove] {
  align-self: center;
}

@media (max-width: 360px) {
  .shop-eclat .cart-line,
  body.shop-eclat #sbo .cart-line {
    grid-template-columns: 68px minmax(0, 1fr);
    column-gap: 10px;
  }
  .shop-eclat .cart-line .qty {
    grid-template-columns: auto auto auto 1fr auto 1fr;
    row-gap: 0;
  }
  .shop-eclat .cart-line .qty > button:nth-of-type(2) {
    margin-right: 0;
  }
  .shop-eclat .cart-line .qty .cart-remove,
  body.shop-eclat #sbo .cart-line .qty [data-sbo-remove] {
    grid-column: 5;
    grid-row: 1;
    align-self: center;
    justify-self: center;
  }
}

/* APPROVED_CART_ITEM_CARDS_AND_MOBILE_TOTAL_V1 */
.shop-eclat .cart-list {
  gap: 14px;
}
.shop-eclat .cart-list > .cart-line {
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 16%, var(--line));
  border-radius: max(14px, var(--radius));
  background: var(--ground);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 8%, transparent);
}
@media (max-width: 899px) {
  .shop-eclat .cart-layout .cart-line > strong {
    grid-column: 2;
    justify-self: start;
  }
}

/* CHECKOUT_ITEM_MEDIA_MATCHES_CART_V1 */
body.shop-eclat #sbo .cart-line > img {
  width: 100%;
  height: 96px;
  min-height: 96px;
  align-self: center;
  border-radius: var(--review-radius);
  background: var(--surface);
  object-fit: cover;
}
@media (max-width: 899px) {
  body.shop-eclat #sbo .cart-line > img {
    grid-row: 1 / span 2;
    width: 100%;
    height: 100%;
    min-height: 112px;
    align-self: stretch;
    border-top-left-radius: var(--review-radius);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: var(--review-radius);
  }
}
@media (max-width: 360px) {
  body.shop-eclat #sbo .cart-line > img { min-height: 104px; }
}

/* CHECKOUT_LINE_TOTAL_LEFT_MOBILE_V1 */
@media (max-width: 899px) {
  body.shop-eclat #sbo .cart-line > strong {
    grid-column: 2;
    justify-self: start;
  }
}
