/* Cosmod · Accueil — hero, marques, avis */

.cosmod-home-hero {
  --cosmod-home-ink: #111;
  --cosmod-home-muted: rgba(255, 255, 255, 0.82);
  --cosmod-home-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --cosmod-home-sans: "DM Sans", system-ui, sans-serif;
  position: relative;
  isolation: isolate;
  width: min(1400px, calc(100% - 24px));
  margin: 16px auto 0;
  height: auto;
  border-radius: 4px;
  overflow: hidden;
  color: #111;
  background: transparent;
  line-height: 0;
}

.cosmod-home-hero__media {
  position: static;
  display: block;
}

.cosmod-home-hero__media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  transform: none;
  animation: none;
  vertical-align: top;
}

.cosmod-home-hero__shade {
  display: none;
}

.cosmod-home-hero__content {
  display: none;
}

.cosmod-home-hero__content--on {
  display: block;
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  padding: clamp(28px, 4vw, 48px);
}

.cosmod-home-hero__hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
}

.cosmod-home-hero__eyebrow,
.cosmod-home-hero__brand,
.cosmod-home-hero__line,
.cosmod-home-hero__text,
.cosmod-home-hero__cta {
  display: none;
}

.cosmod-home-hero__content--on .cosmod-home-hero__eyebrow,
.cosmod-home-hero__content--on .cosmod-home-hero__brand,
.cosmod-home-hero__content--on .cosmod-home-hero__line,
.cosmod-home-hero__content--on .cosmod-home-hero__text,
.cosmod-home-hero__content--on .cosmod-home-hero__cta {
  display: revert;
}

/* Brand strip — infinite CSS marquee, no CDN */
.cosmod-brand-strip {
  background: #f7f6f3;
  border-top: 1px solid #e8e6e1;
  border-bottom: 1px solid #e8e6e1;
  overflow: hidden;
  padding: 0;
}

.cosmod-brand-strip__track {
  display: flex;
  width: max-content;
  animation: cosmod-brand-scroll 42s linear infinite;
}

.cosmod-brand-strip:hover .cosmod-brand-strip__track {
  animation-play-state: paused;
}

.cosmod-brand-strip__group {
  display: flex;
}

.cosmod-brand-strip__item {
  flex: 0 0 auto;
  width: 180px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  border-right: 1px solid #e8e6e1;
  text-decoration: none;
}

.cosmod-brand-strip__item img {
  max-height: 42px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.78;
  filter: grayscale(1);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.cosmod-brand-strip__item:hover img {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.04);
}

/* Accueil section rhythm */
.cosmod-home-shell {
  width: min(1400px, calc(100% - 24px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.cosmod-home-section {
  padding: clamp(48px, 7vw, 88px) 0 0;
}

.cosmod-home-section--tight {
  padding-top: clamp(36px, 5vw, 56px);
}

.cosmod-home-kicker {
  text-align: center;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 10px;
}

/* Stronger categories on home */
.cosmod-home .cosmod-categories,
.cosmod-home-shell .cosmod-categories {
  margin: 8px 0 0;
  padding: 8px 0 0;
}

.cosmod-home .cosmod-categories__list,
.cosmod-home-shell .cosmod-categories__list {
  gap: 28px 40px;
}

.cosmod-home .cosmod-categories__link,
.cosmod-home-shell .cosmod-categories__link {
  width: 136px;
  gap: 14px;
}

.cosmod-home .cosmod-categories__image,
.cosmod-home-shell .cosmod-categories__image {
  width: 124px;
  height: 124px;
  border-width: 0;
  background:
    radial-gradient(circle at 30% 25%, #fff 0%, #f4f0ea 55%, #ebe4da 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 28px rgba(28, 22, 18, 0.12);
  object-fit: cover;
  object-position: center;
}

.cosmod-home .cosmod-categories__label,
.cosmod-home-shell .cosmod-categories__label {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

/* Reviews — Cosmod language */
.cosmod-reviews {
  padding: clamp(56px, 8vw, 96px) clamp(16px, 3vw, 24px);
  background:
    radial-gradient(ellipse at top, rgba(17, 17, 17, 0.03), transparent 55%),
    #faf9f7;
}

.cosmod-reviews__inner {
  max-width: 920px;
  margin: 0 auto;
}

.cosmod-reviews__label {
  text-align: center;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 10px;
}

.cosmod-reviews__title {
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 36px;
}

.cosmod-reviews__track-outer {
  overflow: hidden;
  width: 100%;
}

.cosmod-reviews__track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.cosmod-reviews__card {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 2px;
}

.cosmod-reviews__card-inner {
  background: #fff;
  border: 1px solid #e8e6e1;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  min-height: 240px;
  box-sizing: border-box;
}

.cosmod-reviews__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}

.cosmod-reviews__stars {
  display: flex;
  gap: 3px;
  color: #111;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.cosmod-reviews__star.is-empty {
  color: #d0cec8;
}

.cosmod-reviews__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100px;
  background: #f3f2ef;
  color: #333;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cosmod-reviews__quote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: #222;
  margin: 0 0 24px;
}

.cosmod-reviews__person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cosmod-reviews__avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex: 0 0 48px;
  background: #eee;
}

.cosmod-reviews__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  flex: 0 0 44px;
}

.cosmod-reviews__name {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #111;
}

.cosmod-reviews__meta {
  font-size: 0.78rem;
  color: #888;
  margin-top: 3px;
}

.cosmod-reviews__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.cosmod-reviews__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d4d2cd;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cosmod-reviews__btn:hover {
  background: #f3f2ef;
  transform: scale(1.04);
}

.cosmod-reviews__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  max-width: 220px;
}

.cosmod-reviews__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid #aaa;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.cosmod-reviews__dot.is-active {
  background: #111;
  border-color: #111;
}

.cosmod-reviews__counter {
  text-align: center;
  margin: 12px 0 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.78rem;
  color: #888;
  letter-spacing: 0.04em;
}

@keyframes cosmod-home-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cosmod-home-line {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes cosmod-home-ken {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.02);
  }
}

@keyframes cosmod-brand-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Home product rails — 8 products, ~4 visible */
.cosmod-home-shell .cosmod-lp-products {
  max-width: none;
}

.cosmod-home-shell .cosmod-lp-rail {
  margin: 0 -4px;
}

@media (max-width: 782px) {
  .cosmod-home-hero {
    width: calc(100% - 16px);
    margin-top: 10px;
  }

  .cosmod-home-hero__media img {
    width: 100%;
    height: auto;
  }

  .cosmod-brand-strip__item {
    width: 140px;
    height: 72px;
    padding: 14px 12px;
  }

  .cosmod-brand-strip__item img {
    max-height: 34px;
  }

  .cosmod-home .cosmod-categories__link,
  .cosmod-home-shell .cosmod-categories__link {
    width: 96px;
  }

  .cosmod-home .cosmod-categories__image,
  .cosmod-home-shell .cosmod-categories__image {
    width: 84px;
    height: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cosmod-home-hero__media img,
  .cosmod-home-hero__content,
  .cosmod-home-hero__line,
  .cosmod-brand-strip__track,
  .cosmod-reviews__track {
    animation: none !important;
    transition: none !important;
  }
}

/* ——— Notino-inspired Accueil modules (Cosmod tone) ——— */

.cosmod-home-wide {
  width: min(1400px, calc(100% - 24px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.cosmod-home-head {
  margin: 0 0 22px;
}

.cosmod-home-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cosmod-home-eyebrow {
  margin: 0 0 6px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #777;
  line-height: 1.4;
}

.cosmod-home-heading {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.15;
}

.cosmod-home-heading--plain {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 700;
}

.cosmod-home-more {
  flex: 0 0 auto;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #111 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.cosmod-home-more:hover {
  text-decoration: underline !important;
}

/* Category circles — infinite rail + centered arrows */
.cosmod-cat-rail {
  position: relative;
  padding: 0 48px;
}

.cosmod-cat-rail__scroller {
  overflow: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.cosmod-cat-rail__scroller.is-animating {
  pointer-events: none;
}

.cosmod-cat-rail__scroller::-webkit-scrollbar {
  display: none;
}

.cosmod-cat-rail__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.cosmod-cat-rail__track > * {
  flex: 0 0 auto;
}

.cosmod-home .cosmod-categories--rail .cosmod-categories__list,
.cosmod-home-shell .cosmod-categories--rail .cosmod-categories__list,
.cosmod-cat-rail .cosmod-categories__list {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 28px;
  width: max-content;
  /* Horizontal padding removed — JS sizes entries to fill the scroller with whole circles only */
  padding: 8px 0 12px;
}

.cosmod-cat-rail .cosmod-categories__entry {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.cosmod-categories__entry--promo .cosmod-categories__image--promo {
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  border-color: #111;
}

.cosmod-categories__entry--promo .cosmod-categories__label {
  font-weight: 700;
}

.cosmod-cat-rail__btn {
  position: absolute;
  /* Slightly below circle center so arrows sit lower */
  top: calc(8px + 60px - 10px);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e4e2dd;
  background: #fff;
  color: #111;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
  padding: 0;
}

.cosmod-cat-rail__btn--prev {
  left: 0;
}

.cosmod-cat-rail__btn--next {
  right: 0;
}

.cosmod-cat-rail__btn:hover {
  border-color: #111;
}

.cosmod-cat-rail.is-paused .cosmod-cat-rail__track {
  /* marker for JS pause; no CSS anim required */
}

/* Brand logos — same rail chrome as category slider */
.cosmod-brand-rail-wrap {
  padding-top: 14px;
  padding-bottom: 8px;
}

.cosmod-brand-rail-wrap--under-hero {
  padding-top: 14px;
  padding-bottom: 4px;
}

.cosmod-brand-strip--cards .cosmod-cat-rail__scroller {
  overflow: hidden;
}

.cosmod-brand-strip--cards .cosmod-cat-rail__track {
  gap: 0;
}

.cosmod-home-cats .cosmod-home-head {
  margin-bottom: 12px;
}

.cosmod-home-cats .cosmod-home-heading {
  margin: 0;
}

.cosmod-brand-strip--cards.cosmod-cat-rail {
  background: transparent;
  border: 0;
  overflow: visible;
  padding: 8px 48px;
  margin: 0;
  box-sizing: border-box;
  width: 100%;
}

.cosmod-brand-strip--cards .cosmod-brand-strip__track,
.cosmod-brand-strip--cards .cosmod-cat-rail__track {
  display: flex;
  width: max-content;
  animation: none;
}

.cosmod-brand-strip--cards .cosmod-brand-strip__group {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: max-content;
  max-width: none;
  margin: 0;
  /* No side padding — avoids half-cut first/last cards */
  padding: 4px 0;
}

.cosmod-brand-strip--cards .cosmod-brand-strip__group[aria-hidden="true"] {
  display: flex;
}

.cosmod-brand-strip--cards .cosmod-brand-strip__item {
  flex: 0 0 auto;
  /* Width set by JS to fit an integer number of cards */
  width: 180px;
  min-width: 140px;
  max-width: 220px;
  height: 88px;
  border: 0;
  border-right: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(17, 17, 17, 0.06);
  padding: 0;
  scroll-snap-align: none;
  box-sizing: border-box;
}

.cosmod-brand-strip--cards .cosmod-brand-strip__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px 18px;
}

.cosmod-brand-strip--cards .cosmod-brand-strip__item img {
  filter: none;
  opacity: 0.92;
  max-height: 40px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Brand arrows centered on logo cards (same button style as categories) */
.cosmod-brand-strip--cards.cosmod-cat-rail > .cosmod-cat-rail__btn {
  top: calc(4px + 44px - 20px);
}

/* Discovery cards (category + sublinks) */
.cosmod-discover {
  padding: clamp(36px, 5vw, 56px) 0 0;
}

.cosmod-discover__rail {
  position: relative;
  padding-right: 48px;
}

.cosmod-discover__scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 36px 4px 12px;
}

.cosmod-discover__scroller::-webkit-scrollbar {
  display: none;
}

.cosmod-discover__card {
  flex: 0 0 min(260px, 72vw);
  scroll-snap-align: start;
  position: relative;
  background: #fff;
  border: 1px solid #e8e6e1;
  border-radius: 4px;
  padding: 72px 18px 22px;
  text-align: center;
  text-decoration: none !important;
  color: #111 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cosmod-discover__card:hover {
  border-color: #cfcbc3;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.06);
}

.cosmod-discover__media {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -38%);
  width: 150px;
  height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.cosmod-discover__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(17, 17, 17, 0.12));
}

.cosmod-discover__title {
  margin: 0 0 10px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #111;
}

.cosmod-discover__links {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #6a6a6a;
}

.cosmod-discover__links a {
  color: #6a6a6a !important;
  text-decoration: none !important;
}

.cosmod-discover__links a:hover {
  color: #111 !important;
  text-decoration: underline !important;
}

.cosmod-discover__btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e4e2dd;
  background: #fff;
  color: #111;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
}

/* Dual campaign banners */
.cosmod-banners {
  padding: clamp(28px, 4vw, 48px) 0 0;
}

.cosmod-banners__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  align-items: stretch;
}

.cosmod-banner {
  position: relative;
  min-height: 340px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none !important;
}

.cosmod-banner--photo {
  background: #f3efe8;
  place-items: end center;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.cosmod-banner--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 58%;
  transition: transform 0.55s ease;
}

.cosmod-banner--photo.cosmod-banner--ongles img {
  object-position: 50% 45%;
}

.cosmod-banner--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(28, 22, 18, 0.55) 100%),
    linear-gradient(90deg, rgba(243, 239, 232, 0.08), transparent 32%);
  pointer-events: none;
  z-index: 0;
}

.cosmod-banner--photo .cosmod-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 28px 30px;
  max-width: 34rem;
  width: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cosmod-banner--photo .cosmod-banner__kicker {
  display: block;
  color: #fff;
  text-shadow: 0 1px 10px rgba(28, 22, 18, 0.45);
}

.cosmod-banner--photo .cosmod-banner__title {
  display: block;
  color: #fff;
  text-shadow: 0 2px 16px rgba(28, 22, 18, 0.5);
  margin: 0;
}

.cosmod-banner--photo .cosmod-banner__text {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(28, 22, 18, 0.45);
  margin: 0 0 10px;
  max-width: 28rem;
}

.cosmod-banner--photo .cosmod-banner__cta {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(28, 22, 18, 0.16);
  margin-top: 4px;
}

.cosmod-banner__kicker {
  margin: 0 0 8px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.cosmod-banner__title {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
}

.cosmod-banner__text {
  margin: 0 0 18px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.9;
}

.cosmod-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 26px;
  background: #fff;
  color: #111 !important;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.cosmod-banner--offer {
  background: linear-gradient(145deg, #f7f5f1 0%, #eef1f4 100%);
  color: #111;
  place-items: stretch;
  grid-template-columns: 0.85fr 1.15fr;
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 22px;
  min-height: 320px;
}

.cosmod-banner--offer .cosmod-banner__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.cosmod-banner--offer .cosmod-banner__visual img {
  max-width: 100%;
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(17, 17, 17, 0.14));
}

.cosmod-banner--offer .cosmod-banner__content {
  text-align: left;
  max-width: none;
  padding: 8px 8px 8px 4px;
}

.cosmod-banner--offer .cosmod-banner__title {
  letter-spacing: 0.02em;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  text-transform: none;
}

.cosmod-banner--offer .cosmod-banner__text {
  opacity: 1;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cosmod-banner--offer .cosmod-banner__cta {
  background: #111;
  color: #fff !important;
  box-shadow: none;
}

/* Trust / tools panel */
.cosmod-tools {
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(24px, 3.5vw, 32px);
  background: #f4f3f0;
  border-radius: 8px;
}

.cosmod-tools__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cosmod-tools__card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.cosmod-tools__visual {
  aspect-ratio: 1.15 / 1;
  background: #ebe6df;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cosmod-tools__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
}

.cosmod-tools__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.cosmod-tools__body {
  padding: 16px 14px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.cosmod-tools__text {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #222;
  flex: 1;
}

.cosmod-tools__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d0cdc6;
  background: #fff;
  color: #111 !important;
  text-decoration: none !important;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  align-self: center;
}

.cosmod-tools__cta:hover {
  border-color: #111;
}

/* Home product section head — left, with eyebrow */
.cosmod-home-shell .cosmod-lp-products--rail .cosmod-lp-title-wrap {
  text-align: left;
  margin: 0 0 18px;
}

.cosmod-home-shell .cosmod-lp-products--rail .cosmod-lp-title-line {
  margin-left: 0;
  margin-right: 0;
  width: 72px;
  max-width: 72px;
  background: #111;
}

.cosmod-home-shell .cosmod-lp-eyebrow {
  margin: 0 0 4px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  color: #777;
}

@media (max-width: 1024px) {
  .cosmod-banners__grid {
    grid-template-columns: 1fr;
  }

  .cosmod-banner--photo {
    aspect-ratio: 16 / 10;
  }

  .cosmod-tools__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cosmod-brand-strip--cards .cosmod-brand-strip__item {
    height: 76px;
  }

  .cosmod-brand-strip--cards.cosmod-cat-rail {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 640px) {
  .cosmod-cat-rail {
    padding: 0 12px;
  }

  .cosmod-cat-rail > .cosmod-cat-rail__btn,
  .cosmod-home-cats .cosmod-cat-rail__btn,
  .cosmod-cat-rail.is-mobile-swipe > .cosmod-cat-rail__btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
  }

  .cosmod-cat-rail__scroller {
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }

  .cosmod-cat-rail__scroller.is-dragging {
    cursor: grabbing;
  }

  .cosmod-brand-strip--cards.cosmod-cat-rail {
    padding: 8px 12px !important;
  }

  .cosmod-brand-strip--cards.cosmod-cat-rail > .cosmod-cat-rail__btn {
    display: none !important;
  }

  .cosmod-brand-strip--cards .cosmod-cat-rail__scroller {
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }

  .cosmod-brand-strip--cards .cosmod-cat-rail__scroller.is-dragging {
    cursor: grabbing;
  }

  .cosmod-tools__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cosmod-banner--photo {
    aspect-ratio: 4 / 3;
  }

  .cosmod-banner--offer {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cosmod-brand-strip--cards .cosmod-brand-strip__item {
    /* Widths set by JS for exact 3 full cards on mobile */
    flex: 0 0 auto;
    width: auto;
    min-width: 0 !important;
    max-width: none !important;
    height: 68px;
  }

  .cosmod-brand-strip--cards.is-peek .cosmod-brand-strip__item {
    min-width: 0 !important;
    max-width: none !important;
  }

  .cosmod-brand-strip--cards .cosmod-brand-strip__group {
    gap: 8px !important;
  }

  .cosmod-brand-strip--cards .cosmod-brand-strip__logo {
    padding: 10px 8px;
  }

  .cosmod-brand-strip--cards .cosmod-brand-strip__item img {
    max-height: 32px;
  }

  .cosmod-home-head--row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


.cosmod-home-head {
  margin: 0 0 22px;
}

.cosmod-home-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cosmod-home-eyebrow {
  margin: 0 0 6px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #777;
  line-height: 1.4;
}

.cosmod-home-heading {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.15;
}

.cosmod-home-heading--plain {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 700;
}

.cosmod-home-more {
  flex: 0 0 auto;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #111 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.cosmod-home-more:hover {
  text-decoration: underline !important;
}

/* Category circles — infinite rail + centered arrows */
.cosmod-cat-rail {
  position: relative;
  padding: 0 48px;
}

.cosmod-cat-rail__scroller {
  overflow: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.cosmod-cat-rail__scroller.is-animating {
  pointer-events: none;
}

.cosmod-cat-rail__scroller::-webkit-scrollbar {
  display: none;
}

.cosmod-cat-rail__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.cosmod-cat-rail__track > * {
  flex: 0 0 auto;
}

.cosmod-home .cosmod-categories--rail .cosmod-categories__list,
.cosmod-home-shell .cosmod-categories--rail .cosmod-categories__list,
.cosmod-cat-rail .cosmod-categories__list {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 28px;
  width: max-content;
  /* Horizontal padding removed — JS sizes entries to fill the scroller with whole circles only */
  padding: 8px 0 12px;
}

.cosmod-cat-rail .cosmod-categories__entry {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.cosmod-categories__entry--promo .cosmod-categories__image--promo {
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  border-color: #111;
}

.cosmod-categories__entry--promo .cosmod-categories__label {
  font-weight: 700;
}

.cosmod-cat-rail__btn {
  position: absolute;
  /* Slightly below circle center so arrows sit lower */
  top: calc(8px + 60px - 10px);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e4e2dd;
  background: #fff;
  color: #111;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
  padding: 0;
}

.cosmod-cat-rail__btn--prev {
  left: 0;
}

.cosmod-cat-rail__btn--next {
  right: 0;
}

.cosmod-cat-rail__btn:hover {
  border-color: #111;
}

.cosmod-cat-rail.is-paused .cosmod-cat-rail__track {
  /* marker for JS pause; no CSS anim required */
}

/* Brand logos — same rail chrome as category slider */
.cosmod-brand-rail-wrap {
  padding-top: 14px;
  padding-bottom: 8px;
}

.cosmod-brand-rail-wrap--under-hero {
  padding-top: 14px;
  padding-bottom: 4px;
}

.cosmod-brand-strip--cards .cosmod-cat-rail__scroller {
  overflow: hidden;
}

.cosmod-brand-strip--cards .cosmod-cat-rail__track {
  gap: 0;
}

.cosmod-home-cats .cosmod-home-head {
  margin-bottom: 12px;
}

.cosmod-home-cats .cosmod-home-heading {
  margin: 0;
}

.cosmod-brand-strip--cards.cosmod-cat-rail {
  background: transparent;
  border: 0;
  overflow: visible;
  padding: 8px 48px;
  margin: 0;
  box-sizing: border-box;
  width: 100%;
}

.cosmod-brand-strip--cards .cosmod-brand-strip__track,
.cosmod-brand-strip--cards .cosmod-cat-rail__track {
  display: flex;
  width: max-content;
  animation: none;
}

.cosmod-brand-strip--cards .cosmod-brand-strip__group {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: max-content;
  max-width: none;
  margin: 0;
  /* No side padding — avoids half-cut first/last cards */
  padding: 4px 0;
}

.cosmod-brand-strip--cards .cosmod-brand-strip__group[aria-hidden="true"] {
  display: flex;
}

.cosmod-brand-strip--cards .cosmod-brand-strip__item {
  flex: 0 0 auto;
  /* Width set by JS to fit an integer number of cards */
  width: 180px;
  min-width: 140px;
  max-width: 220px;
  height: 88px;
  border: 0;
  border-right: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(17, 17, 17, 0.06);
  padding: 0;
  scroll-snap-align: none;
  box-sizing: border-box;
}

.cosmod-brand-strip--cards .cosmod-brand-strip__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px 18px;
}

.cosmod-brand-strip--cards .cosmod-brand-strip__item img {
  filter: none;
  opacity: 0.92;
  max-height: 40px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Brand arrows centered on logo cards (same button style as categories) */
.cosmod-brand-strip--cards.cosmod-cat-rail > .cosmod-cat-rail__btn {
  top: calc(4px + 44px - 20px);
}

/* Discovery cards (category + sublinks) */
.cosmod-discover {
  padding: clamp(36px, 5vw, 56px) 0 0;
}

.cosmod-discover__rail {
  position: relative;
  padding-right: 48px;
}

.cosmod-discover__scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 36px 4px 12px;
}

.cosmod-discover__scroller::-webkit-scrollbar {
  display: none;
}

.cosmod-discover__card {
  flex: 0 0 min(260px, 72vw);
  scroll-snap-align: start;
  position: relative;
  background: #fff;
  border: 1px solid #e8e6e1;
  border-radius: 4px;
  padding: 72px 18px 22px;
  text-align: center;
  text-decoration: none !important;
  color: #111 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cosmod-discover__card:hover {
  border-color: #cfcbc3;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.06);
}

.cosmod-discover__media {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -38%);
  width: 150px;
  height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.cosmod-discover__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(17, 17, 17, 0.12));
}

.cosmod-discover__title {
  margin: 0 0 10px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #111;
}

.cosmod-discover__links {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #6a6a6a;
}

.cosmod-discover__links a {
  color: #6a6a6a !important;
  text-decoration: none !important;
}

.cosmod-discover__links a:hover {
  color: #111 !important;
  text-decoration: underline !important;
}

.cosmod-discover__btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e4e2dd;
  background: #fff;
  color: #111;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
}

/* Dual campaign banners */
.cosmod-banners {
  padding: clamp(28px, 4vw, 48px) 0 0;
}

.cosmod-banners__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  align-items: stretch;
}

.cosmod-banner {
  position: relative;
  min-height: 340px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none !important;
}

.cosmod-banner--photo {
  background: #f3efe8;
  place-items: end center;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.cosmod-banner--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 58%;
  transition: transform 0.55s ease;
}

.cosmod-banner--photo.cosmod-banner--ongles img {
  object-position: 50% 45%;
}

.cosmod-banner--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(28, 22, 18, 0.55) 100%),
    linear-gradient(90deg, rgba(243, 239, 232, 0.08), transparent 32%);
  pointer-events: none;
  z-index: 0;
}

.cosmod-banner--photo .cosmod-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 28px 30px;
  max-width: 34rem;
  width: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cosmod-banner--photo .cosmod-banner__kicker {
  display: block;
  color: #fff;
  text-shadow: 0 1px 10px rgba(28, 22, 18, 0.45);
}

.cosmod-banner--photo .cosmod-banner__title {
  display: block;
  color: #fff;
  text-shadow: 0 2px 16px rgba(28, 22, 18, 0.5);
  margin: 0;
}

.cosmod-banner--photo .cosmod-banner__text {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(28, 22, 18, 0.45);
  margin: 0 0 10px;
  max-width: 28rem;
}

.cosmod-banner--photo .cosmod-banner__cta {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(28, 22, 18, 0.16);
  margin-top: 4px;
}

.cosmod-banner__kicker {
  margin: 0 0 8px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.cosmod-banner__title {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
}

.cosmod-banner__text {
  margin: 0 0 18px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.9;
}

.cosmod-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 26px;
  background: #fff;
  color: #111 !important;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.cosmod-banner--offer {
  background: linear-gradient(145deg, #f7f5f1 0%, #eef1f4 100%);
  color: #111;
  place-items: stretch;
  grid-template-columns: 0.85fr 1.15fr;
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 22px;
  min-height: 320px;
}

.cosmod-banner--offer .cosmod-banner__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.cosmod-banner--offer .cosmod-banner__visual img {
  max-width: 100%;
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(17, 17, 17, 0.14));
}

.cosmod-banner--offer .cosmod-banner__content {
  text-align: left;
  max-width: none;
  padding: 8px 8px 8px 4px;
}

.cosmod-banner--offer .cosmod-banner__title {
  letter-spacing: 0.02em;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  text-transform: none;
}

.cosmod-banner--offer .cosmod-banner__text {
  opacity: 1;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cosmod-banner--offer .cosmod-banner__cta {
  background: #111;
  color: #fff !important;
  box-shadow: none;
}

/* Trust / tools panel */
.cosmod-tools {
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(24px, 3.5vw, 32px);
  background: #f4f3f0;
  border-radius: 8px;
}

.cosmod-tools__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cosmod-tools__card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.cosmod-tools__visual {
  aspect-ratio: 1.15 / 1;
  background: #ebe6df;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cosmod-tools__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
}

.cosmod-tools__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.cosmod-tools__body {
  padding: 16px 14px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.cosmod-tools__text {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #222;
  flex: 1;
}

.cosmod-tools__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d0cdc6;
  background: #fff;
  color: #111 !important;
  text-decoration: none !important;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  align-self: center;
}

.cosmod-tools__cta:hover {
  border-color: #111;
}

/* Home product section head — left, with eyebrow */
.cosmod-home-shell .cosmod-lp-products--rail .cosmod-lp-title-wrap {
  text-align: left;
  margin: 0 0 18px;
}

.cosmod-home-shell .cosmod-lp-products--rail .cosmod-lp-title-line {
  margin-left: 0;
  margin-right: 0;
  width: 72px;
  max-width: 72px;
  background: #111;
}

.cosmod-home-shell .cosmod-lp-eyebrow {
  margin: 0 0 4px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  color: #777;
}

@media (max-width: 1024px) {
  .cosmod-banners__grid {
    grid-template-columns: 1fr;
  }

  .cosmod-banner--photo {
    aspect-ratio: 16 / 10;
  }

  .cosmod-tools__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cosmod-brand-strip--cards .cosmod-brand-strip__item {
    height: 76px;
  }

  .cosmod-brand-strip--cards.cosmod-cat-rail {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 640px) {
  .cosmod-cat-rail {
    padding: 0 12px;
  }

  .cosmod-cat-rail > .cosmod-cat-rail__btn,
  .cosmod-home-cats .cosmod-cat-rail__btn,
  .cosmod-cat-rail.is-mobile-swipe > .cosmod-cat-rail__btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
  }

  .cosmod-cat-rail__scroller {
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }

  .cosmod-cat-rail__scroller.is-dragging {
    cursor: grabbing;
  }

  .cosmod-brand-strip--cards.cosmod-cat-rail {
    padding: 8px 12px !important;
  }

  .cosmod-brand-strip--cards.cosmod-cat-rail > .cosmod-cat-rail__btn {
    display: none !important;
  }

  .cosmod-brand-strip--cards .cosmod-cat-rail__scroller {
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }

  .cosmod-brand-strip--cards .cosmod-cat-rail__scroller.is-dragging {
    cursor: grabbing;
  }

  .cosmod-tools__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cosmod-banner--photo {
    aspect-ratio: 4 / 3;
  }

  .cosmod-banner--offer {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cosmod-brand-strip--cards .cosmod-brand-strip__item {
    /* Widths set by JS for exact 3 full cards on mobile */
    flex: 0 0 auto;
    width: auto;
    min-width: 0 !important;
    max-width: none !important;
    height: 68px;
  }

  .cosmod-brand-strip--cards.is-peek .cosmod-brand-strip__item {
    min-width: 0 !important;
    max-width: none !important;
  }

  .cosmod-brand-strip--cards .cosmod-brand-strip__group {
    gap: 8px !important;
  }

  .cosmod-brand-strip--cards .cosmod-brand-strip__logo {
    padding: 10px 8px;
  }

  .cosmod-brand-strip--cards .cosmod-brand-strip__item img {
    max-height: 32px;
  }

  .cosmod-home-head--row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* —— Footer Cosmod (FR) —— */
.cosmod-footer {
  --cosmod-footer-bg: #111;
  --cosmod-footer-ink: #f5f4f1;
  --cosmod-footer-muted: rgba(245, 244, 241, 0.68);
  --cosmod-footer-line: rgba(255, 255, 255, 0.12);
  --cosmod-footer-accent: #c4a574;
  --cosmod-footer-sans: "DM Sans", system-ui, sans-serif;
  margin-top: 48px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(196, 165, 116, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(255, 255, 255, 0.04), transparent 50%),
    var(--cosmod-footer-bg);
  color: var(--cosmod-footer-ink);
  font-family: var(--cosmod-footer-sans);
}

.cosmod-footer__inner {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 28px;
}

.cosmod-footer__grid {
  display: grid;
  grid-template-columns: 180px 1fr 1fr 240px;
  gap: 36px 40px;
  align-items: start;
}

.cosmod-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cosmod-footer__logo {
  display: inline-flex;
  line-height: 0;
}

.cosmod-footer__logo img {
  width: 110px;
  height: auto;
  border-radius: 8px;
  background: #fff;
}

.cosmod-footer__tagline {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--cosmod-footer-muted);
  max-width: 12em;
}

.cosmod-footer__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
}

.cosmod-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cosmod-footer__list--flush {
  margin-top: 34px;
}

.cosmod-footer__list a,
.cosmod-footer__list--contact span:last-child,
.cosmod-footer__list--contact a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--cosmod-footer-muted);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.4;
  transition: color 0.18s ease;
}

.cosmod-footer__list a:hover {
  color: #fff;
}

.cosmod-footer__bullet {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--cosmod-footer-accent);
}

.cosmod-footer__list--contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cosmod-footer__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--cosmod-footer-accent);
}

.cosmod-footer__icon svg {
  width: 100%;
  height: 100%;
}

.cosmod-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--cosmod-footer-line);
}

.cosmod-footer__payments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cosmod-footer__payments li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 4px 8px;
  background: #fff;
  border-radius: 6px;
}

.cosmod-footer__payments img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
}

.cosmod-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
}

.cosmod-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.18s ease, transform 0.18s ease;
}

.cosmod-footer__social-link:hover {
  background: var(--cosmod-footer-accent);
  color: #111;
  transform: translateY(-2px);
}

.cosmod-footer__social-link svg {
  width: 18px;
  height: 18px;
}

.cosmod-footer__copy {
  margin: 22px 0 0;
  font-size: 12px;
  color: rgba(245, 244, 241, 0.45);
}

.cosmod-footer .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .cosmod-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cosmod-footer__brand {
    grid-column: 1 / -1;
  }

  .cosmod-footer__list--flush {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .cosmod-footer__inner {
    width: min(1400px, calc(100% - 28px));
    padding: 40px 0 24px;
  }

  .cosmod-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: start;
    text-align: left;
  }

  .cosmod-footer__brand {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .cosmod-footer__logo {
    justify-content: center;
  }

  .cosmod-footer__logo img {
    width: 88px;
  }

  .cosmod-footer__tagline {
    max-width: none;
    text-align: center;
  }

  .cosmod-footer__col,
  .cosmod-footer__contact {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .cosmod-footer__list {
    align-items: stretch;
    width: max-content;
    max-width: 100%;
    margin-inline: 0;
    text-align: left;
  }

  .cosmod-footer__list li {
    text-align: left;
    width: 100%;
  }

  .cosmod-footer__list a,
  .cosmod-footer__list--contact span:last-child,
  .cosmod-footer__list--contact a {
    justify-content: flex-start;
    text-align: left;
  }

  .cosmod-footer__list--contact {
    text-align: left;
  }

  .cosmod-footer__list--contact li {
    justify-content: flex-start;
    width: max-content;
    max-width: 100%;
    margin-inline: 0;
    text-align: left;
  }

  .cosmod-footer__title {
    text-align: left;
    width: 100%;
  }

  .cosmod-footer__list--flush {
    margin-top: 0;
  }

  .cosmod-footer__bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .cosmod-footer__payments {
    justify-content: center;
  }

  .cosmod-footer__social {
    justify-content: center;
  }

  .cosmod-footer__copy {
    text-align: center;
    width: 100%;
  }
}

/* —— Brand promo on category pages —— */
.cosmod-brand-promo {
  --cosmod-promo-bg: #f3efe8;
  --cosmod-promo-ink: #111;
  --cosmod-promo-accent: #c45b8a;
  margin: 0 0 28px;
  font-family: "DM Sans", system-ui, sans-serif;
}

.cosmod-brand-promo__banner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px 32px;
  align-items: center;
  background: var(--cosmod-promo-bg);
  border-radius: 4px;
  padding: 22px 28px;
  min-height: 200px;
  overflow: hidden;
  position: relative;
}

.cosmod-brand-promo__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  min-height: 160px;
  padding: 12px 8px 0;
}

.cosmod-brand-promo__shot {
  display: block;
  width: 72px;
  flex: 0 0 auto;
  line-height: 0;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

.cosmod-brand-promo__shot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
}

.cosmod-brand-promo__shot--0 { transform: translateY(8px) rotate(-4deg); }
.cosmod-brand-promo__shot--1 { transform: translateY(-6px) rotate(3deg); width: 84px; }
.cosmod-brand-promo__shot--2 { transform: translateY(2px); width: 90px; z-index: 1; }
.cosmod-brand-promo__shot--3 { transform: translateY(-4px) rotate(-2deg); }
.cosmod-brand-promo__shot--4 { transform: translateY(10px) rotate(4deg); }

.cosmod-brand-promo__gift {
  position: absolute;
  top: 8px;
  right: 18%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #ef7eb0, #9b3d6e);
  box-shadow: 0 6px 16px rgba(155, 61, 110, 0.35);
  z-index: 2;
}

.cosmod-brand-promo__gift svg {
  width: 22px;
  height: 22px;
}

.cosmod-brand-promo__copy {
  max-width: 34em;
}

.cosmod-brand-promo__badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--cosmod-promo-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cosmod-brand-promo__brand {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cosmod-promo-ink);
  line-height: 1.15;
}

.cosmod-brand-promo__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.45;
  color: #333;
}

.cosmod-brand-promo__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  background: #111;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.18s ease;
}

.cosmod-brand-promo__cta:hover {
  background: #333;
}

.cosmod-brand-promo__products {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.cosmod-brand-promo__product {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none !important;
  color: #111 !important;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 6px;
  padding: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cosmod-brand-promo__product:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.cosmod-brand-promo__product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  background: #fafafa;
  border-radius: 4px;
}

.cosmod-brand-promo__product-name {
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .cosmod-brand-promo__banner {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .cosmod-brand-promo__products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cosmod-brand-promo__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cosmod-brand-promo__shot {
    width: 56px;
  }
}

/* —— Product banner slider (category page) —— */
.cosmod-product-banner {
  --cosmod-pb-bg: #f6ebe8;
  --cosmod-pb-ink: #111;
  --cosmod-pb-h: 280px;
  position: relative;
  margin: 0 0 18px;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--cosmod-pb-bg);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.cosmod-product-banner__frame {
  position: relative;
  height: var(--cosmod-pb-h);
  min-height: var(--cosmod-pb-h);
}

.cosmod-product-banner__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% 80%, rgba(255, 255, 255, 0.5), transparent 55%),
    linear-gradient(145deg, #f3d9d2 0%, #e8c4bc 45%, #d9b0a8 100%);
}

.cosmod-product-banner__scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.35;
  transition: opacity 0.55s ease, transform 8s ease;
}

.cosmod-product-banner__scene-img.is-fading {
  opacity: 0.12;
}

.cosmod-product-banner__scene-img.is-empty,
.cosmod-product-banner__scene-img[hidden] {
  display: none;
}

.cosmod-product-banner__scene-wash {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cosmod-product-banner__collage {
  display: none;
}

.cosmod-product-banner__scene-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.4), transparent 50%),
    linear-gradient(160deg, #f7e4de, #e7bdb4);
}

.cosmod-product-banner__stage {
  position: relative;
  z-index: 1;
  height: 100%;
  min-width: 0;
}

.cosmod-product-banner__viewport {
  overflow: hidden;
  height: 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cosmod-product-banner__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.cosmod-product-banner__slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 56px 28px;
}

.cosmod-product-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.cosmod-product-banner__product {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
}

.cosmod-product-banner__img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  line-height: 0;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
}

.cosmod-product-banner__img-link img,
.cosmod-product-banner__img-link .placeholder {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 6px;
}

.cosmod-product-banner__copy {
  max-width: none;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cosmod-product-banner__brand {
  margin: 0 0 6px;
  min-height: 1.2em;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

.cosmod-product-banner__price {
  margin: 0 0 8px;
  min-height: 1.25em;
  font-size: 22px;
  font-weight: 700;
  color: var(--cosmod-pb-ink);
  line-height: 1.2;
}

.cosmod-product-banner__price del {
  opacity: 0.45;
  font-weight: 500;
  font-size: 0.85em;
  margin-right: 6px;
}

.cosmod-product-banner__name {
  margin: 0 0 10px;
  min-height: 2.4em;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--cosmod-pb-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cosmod-product-banner__name a {
  color: inherit !important;
  text-decoration: none !important;
}

.cosmod-product-banner__name a:hover {
  text-decoration: underline !important;
}

.cosmod-product-banner__desc {
  margin: 0 0 16px;
  min-height: 3em;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cosmod-product-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 42px;
  padding: 0 22px;
  background: #111;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.18s ease;
}

.cosmod-product-banner__cta:hover {
  background: #333;
}

.cosmod-product-banner__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #333;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.cosmod-product-banner__arrow:hover {
  opacity: 1;
}

.cosmod-product-banner__arrow--prev {
  left: 8px;
}

.cosmod-product-banner__arrow--next {
  right: 8px;
}

.cosmod-product-banner__pager {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 0 20px 14px;
  position: relative;
  z-index: 2;
}

.cosmod-product-banner__dash {
  flex: 1 1 0;
  max-width: 72px;
  height: 3px;
  border: none;
  padding: 0;
  border-radius: 2px;
  background: rgba(17, 17, 17, 0.15);
  cursor: pointer;
  transition: background 0.2s ease;
}

.cosmod-product-banner__dash.is-active {
  background: rgba(17, 17, 17, 0.55);
}

.cosmod-product-banner--weekly {
  margin: 16px auto 0;
  max-width: min(1400px, calc(100% - 24px));
  width: min(1400px, calc(100% - 24px));
}

.cosmod-product-banner__kicker {
  margin: 0;
  padding: 12px 56px 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.55);
  position: relative;
  z-index: 2;
}

/* —— Marble lifestyle hero (CM-style) —— */
.cosmod-product-banner--marble {
  --cosmod-pb-bg: #f4f0e8;
  --cosmod-pb-ink: #141414;
  --cosmod-pb-gold: #b08d57;
  --cosmod-pb-h: clamp(340px, 38vw, 440px);
  margin: 16px auto 0;
  background: var(--cosmod-pb-bg);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(40, 30, 20, 0.08);
}

.cosmod-product-banner--marble .cosmod-product-banner__frame {
  height: var(--cosmod-pb-h);
  min-height: var(--cosmod-pb-h);
  touch-action: pan-y;
  cursor: grab;
}

.cosmod-product-banner--marble .cosmod-product-banner__scene {
  background:
    radial-gradient(90% 70% at 12% 18%, rgba(255, 255, 255, 0.85), transparent 55%),
    radial-gradient(70% 60% at 78% 72%, rgba(196, 170, 130, 0.18), transparent 50%),
    linear-gradient(155deg, #f7f3ec 0%, #ebe4d8 48%, #e2d8c8 100%);
}

.cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__scene {
  background: #ebe4d8;
}

.cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__scene-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-position: 28% center;
  transform: scale(1.06);
  animation: cosmod-pb-scene-ken 18s ease-in-out infinite alternate;
}

@keyframes cosmod-pb-scene-ken {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__scene-img {
    animation: none;
    transform: scale(1.04);
  }
  .cosmod-product-banner__drape,
  .cosmod-product-banner__glow {
    animation: none;
  }
}

.cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__scene-img.is-fading {
  opacity: 0.25;
}

.cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__scene-fallback {
  display: none;
}

.cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__scene-wash {
  display: block;
  background:
    linear-gradient(
      100deg,
      rgba(243, 235, 224, 0.72) 0%,
      rgba(243, 235, 224, 0.42) 22%,
      rgba(243, 235, 224, 0.12) 48%,
      rgba(243, 235, 224, 0.06) 68%,
      rgba(243, 235, 224, 0.18) 100%
    );
}

.cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__collage {
  display: none;
}

.cosmod-product-banner__collage-item {
  position: absolute;
  width: 58%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(40, 30, 20, 0.18);
  padding: 10px;
  opacity: 0.55;
  filter: saturate(0.95);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.cosmod-product-banner__collage-item:nth-child(1) {
  left: 0;
  top: 8%;
  transform: rotate(-8deg);
}

.cosmod-product-banner__collage-item:nth-child(2) {
  right: 0;
  top: 0;
  width: 64%;
  transform: rotate(6deg);
  z-index: 2;
}

.cosmod-product-banner__collage-item:nth-child(3) {
  left: 12%;
  bottom: 0;
  width: 56%;
  transform: rotate(4deg);
}

.cosmod-product-banner__collage-item:nth-child(4) {
  right: 8%;
  bottom: 6%;
  width: 50%;
  transform: rotate(-5deg);
}

.cosmod-product-banner__collage-item:nth-child(5) {
  left: 28%;
  top: 36%;
  width: 48%;
  transform: rotate(2deg);
}

.cosmod-product-banner__collage-item.is-active {
  opacity: 0.95;
  filter: saturate(1.05);
  z-index: 5;
  transform: rotate(0deg) scale(1.08);
}

.cosmod-product-banner--marble .cosmod-product-banner__scene-fallback {
  background: transparent;
}

.cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__drape {
  opacity: 0.45;
  z-index: 2;
}

.cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__glow {
  opacity: 0.35;
  z-index: 2;
}

.cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__intro {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__copy {
  background: rgba(243, 235, 224, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 14px 16px 16px;
  box-shadow: 0 10px 28px rgba(40, 30, 20, 0.06);
}

.cosmod-product-banner__drape {
  position: absolute;
  left: -8%;
  top: -20%;
  width: 42%;
  height: 140%;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%),
    linear-gradient(18deg, transparent 40%, rgba(210, 195, 170, 0.22) 70%, transparent 90%);
  filter: blur(1px);
  opacity: 0.9;
  pointer-events: none;
  animation: cosmod-pb-drape 12s ease-in-out infinite alternate;
}

.cosmod-product-banner__glow {
  position: absolute;
  right: 8%;
  top: 10%;
  width: 48%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.55), transparent 68%);
  pointer-events: none;
  animation: cosmod-pb-glow 8s ease-in-out infinite alternate;
}

@keyframes cosmod-pb-drape {
  from { transform: translateX(0) rotate(0deg); }
  to { transform: translateX(2%) rotate(1deg); }
}

@keyframes cosmod-pb-glow {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 0.9; transform: scale(1.06); }
}

.cosmod-product-banner__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(160px, 0.75fr) minmax(0, 1.4fr);
  align-items: center;
  height: 100%;
  gap: clamp(6px, 1.5vw, 18px);
  padding: 14px 48px 10px;
  box-sizing: border-box;
}

.cosmod-product-banner__intro {
  position: relative;
  z-index: 2;
  max-width: 340px;
  padding-left: 28px;
  animation: cosmod-pb-intro-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cosmod-pb-intro-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.cosmod-product-banner__monogram {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 6.5vw, 78px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #3c3b3a;
  text-shadow: none;
  filter: none;
}

.cosmod-product-banner__monogram--mark {
  margin: 0 0 10px;
  padding: 0;
  line-height: 0;
  font-size: 0;
  color: transparent;
  background: transparent;
}

.cosmod-product-banner__monogram--mark img {
  display: block;
  width: clamp(72px, 9vw, 110px);
  height: auto;
  background: transparent !important;
  border-radius: 0;
  filter: drop-shadow(0 6px 14px rgba(40, 30, 20, 0.18));
}

.cosmod-product-banner__headline {
  margin: 0 0 4px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(13px, 1.35vw, 17px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cosmod-pb-ink);
  line-height: 1.25;
}

.cosmod-product-banner__subhead {
  margin: 0 0 8px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(11px, 1.05vw, 13px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cosmod-pb-gold);
  line-height: 1.3;
}

.cosmod-product-banner--marble .cosmod-product-banner__kicker {
  padding: 0;
  margin: 0;
  color: rgba(20, 20, 20, 0.45);
  letter-spacing: 0.1em;
}

.cosmod-product-banner--marble .cosmod-product-banner__stage {
  min-width: 0;
  height: 100%;
}

.cosmod-product-banner--marble .cosmod-product-banner__slide {
  padding: 8px 8px 12px 0;
  align-items: stretch;
  justify-content: stretch;
}

.cosmod-product-banner__showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.75fr);
  gap: 12px 18px;
  align-items: end;
  width: 100%;
  height: 100%;
}

.cosmod-product-banner__marble {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 0 4px 0 0;
}

.cosmod-product-banner__marble::before,
.cosmod-product-banner__marble::after {
  content: none !important;
  display: none !important;
}

.cosmod-product-banner--marble .cosmod-product-banner__img-link {
  position: relative;
  z-index: 2;
  width: min(340px, 48vw);
  height: min(300px, 58vw);
  overflow: visible;
  background: #f3ebe0;
  border-radius: 12px;
  isolation: isolate;
  box-shadow: 0 10px 28px rgba(40, 30, 20, 0.08);
  filter: none;
  animation: cosmod-pb-product-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cosmod-product-banner--marble .cosmod-product-banner__img-link img,
.cosmod-product-banner--marble .cosmod-product-banner__img-link .placeholder {
  background: transparent !important;
  border-radius: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: multiply;
  transform: none;
  filter: none;
}

@keyframes cosmod-pb-product-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cosmod-product-banner--marble .cosmod-product-banner__vase { display: none; }

.cosmod-product-banner__vase {
  position: absolute;
  right: 6%;
  bottom: 14%;
  z-index: 1;
  width: 46px;
  height: 92px;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255, 255, 255, 0.35) 12% 14%, transparent 14% 28%, rgba(255, 255, 255, 0.25) 28% 30%, transparent 30% 44%, rgba(255, 255, 255, 0.3) 44% 46%, transparent 46% 60%, rgba(255, 255, 255, 0.22) 60% 62%, transparent 62% 76%, rgba(255, 255, 255, 0.28) 76% 78%, transparent 78%),
    linear-gradient(180deg, rgba(240, 240, 240, 0.55), rgba(210, 210, 210, 0.35));
  border-radius: 4px 4px 10px 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 16px rgba(40, 30, 20, 0.1);
  opacity: 0.85;
}

.cosmod-product-banner__vase::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -28px;
  width: 54px;
  height: 40px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 20% 70%, rgba(245, 245, 245, 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 40%, rgba(250, 250, 250, 0.95) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 75% 65%, rgba(245, 245, 245, 0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px),
    radial-gradient(circle at 62% 20%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06));
}

.cosmod-product-banner--marble .cosmod-product-banner__copy {
  min-height: 0;
  justify-content: flex-end;
  padding-bottom: 18px;
  max-width: 280px;
}

.cosmod-product-banner--marble .cosmod-product-banner__brand {
  color: rgba(20, 20, 20, 0.55);
}

.cosmod-product-banner--marble .cosmod-product-banner__name {
  font-size: clamp(20px, 2.2vw, 26px);
  min-height: 0;
  -webkit-line-clamp: 3;
}

.cosmod-product-banner--marble .cosmod-product-banner__cta {
  background: #141414;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}

.cosmod-product-banner--marble .cosmod-product-banner__cta:hover {
  background: #2a2a2a;
}

.cosmod-product-banner__trust {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 44px 8px;
  background: linear-gradient(180deg, rgba(235, 228, 214, 0.55), rgba(228, 220, 205, 0.9));
  border-top: 1px solid rgba(180, 160, 130, 0.25);
}

.cosmod-product-banner__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cosmod-product-banner__trust-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(176, 141, 87, 0.28);
  position: relative;
}

.cosmod-product-banner__trust-item--truck .cosmod-product-banner__trust-icon::before {
  content: "";
  position: absolute;
  inset: 8px 6px 9px 7px;
  border: 1.5px solid #6a5a45;
  border-radius: 2px;
  box-sizing: border-box;
}

.cosmod-product-banner__trust-item--truck .cosmod-product-banner__trust-icon::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 8px;
  width: 8px;
  height: 8px;
  border: 1.5px solid #6a5a45;
  border-left: 0;
  border-radius: 0 2px 2px 0;
}

.cosmod-product-banner__trust-item--shield .cosmod-product-banner__trust-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 6px;
  bottom: 7px;
  border: 1.5px solid #6a5a45;
  border-radius: 2px 2px 10px 10px;
  box-sizing: border-box;
}

.cosmod-product-banner__trust-item--gift .cosmod-product-banner__trust-icon::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 10px;
  bottom: 7px;
  border: 1.5px solid #6a5a45;
  box-sizing: border-box;
}

.cosmod-product-banner__trust-item--gift .cosmod-product-banner__trust-icon::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 7px;
  width: 2px;
  height: 14px;
  background: #6a5a45;
}

.cosmod-product-banner__trust-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.cosmod-product-banner__trust-copy strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2a241c;
  line-height: 1.2;
}

.cosmod-product-banner__trust-copy em {
  font-style: normal;
  font-size: 11px;
  color: rgba(42, 36, 28, 0.6);
  line-height: 1.2;
}

.cosmod-product-banner--marble .cosmod-product-banner__pager {
  padding: 0 56px 14px;
  background: rgba(228, 220, 205, 0.9);
}

.cosmod-product-banner--marble .cosmod-product-banner__dash {
  background: rgba(20, 20, 20, 0.12);
}

.cosmod-product-banner--marble .cosmod-product-banner__dash.is-active {
  background: var(--cosmod-pb-gold);
}

.cosmod-product-banner--marble .cosmod-product-banner__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6) !important;
  color: #2a2622;
  font-size: 36px;
  font-weight: 700;
  opacity: 1;
  text-shadow: none;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.cosmod-product-banner--marble .cosmod-product-banner__arrow:hover {
  background: rgba(255, 255, 255, 0.75) !important;
  opacity: 1;
  color: #111;
}

.cosmod-product-banner--marble .cosmod-product-banner__arrow--prev {
  left: 10px;
}

.cosmod-product-banner--marble .cosmod-product-banner__arrow--next {
  right: 10px;
}

@media (max-width: 900px) {
  /* Mobile marble: photo left, cream plate only on text+CTA block */
  .cosmod-product-banner--marble {
    --cosmod-pb-h: 168px;
    --cosmod-pb-bg: #f4f0e8;
    margin: 14px auto 0;
    background: #f4f0e8;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__frame {
    height: 168px !important;
    min-height: 168px !important;
    max-height: 168px !important;
    overflow: hidden;
    touch-action: pan-y;
    background: transparent;
  }

  .cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__collage {
    display: none;
  }

  .cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__scene,
  .cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__scene-img {
    display: block !important;
  }

  .cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__scene-wash {
    display: block !important;
    background:
      linear-gradient(
        180deg,
        rgba(247, 243, 236, 0.35) 0%,
        rgba(247, 243, 236, 0.08) 45%,
        rgba(247, 243, 236, 0.4) 100%
      );
  }

  .cosmod-product-banner--marble .cosmod-product-banner__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    position: relative;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__intro,
  .cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__intro {
    display: none !important;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__kicker {
    display: none;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__arrow {
    display: none !important;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__stage {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    height: 100%;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    z-index: 3;
    display: flex;
    flex-direction: column;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__viewport,
  .cosmod-product-banner--marble .cosmod-product-banner__track {
    height: 100%;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: stretch;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__track {
    align-items: stretch;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__slide {
    padding: 0 10px;
    height: 100%;
    min-height: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: center !important;
    position: relative;
    box-sizing: border-box;
  }

  /* Photo left, text beside — vertically centered in lifestyle frame */
  .cosmod-product-banner--marble .cosmod-product-banner__showcase {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: 96px;
    align-items: stretch;
    justify-items: stretch;
    gap: 8px 10px;
    text-align: left;
    height: 96px;
    width: 100%;
    min-height: 96px;
    max-height: 96px;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
    flex: 0 0 96px;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__marble {
    grid-row: 1;
    width: 96px;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
    max-width: 96px;
    padding: 0;
    margin: 0;
    display: block;
    overflow: hidden;
    flex: none;
    align-self: stretch;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__img-link {
    display: block;
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 10px;
    background: #f3ebe0 !important;
    box-shadow: 0 5px 14px rgba(40, 30, 20, 0.08);
    isolation: isolate;
    box-sizing: border-box;
    overflow: hidden;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__img-link img,
  .cosmod-product-banner--marble .cosmod-product-banner__img-link .placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
    mix-blend-mode: multiply;
    background: transparent !important;
    padding: 5px;
    box-sizing: border-box;
    opacity: 1 !important;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__copy {
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: none;
    width: 100%;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
    padding: 6px 9px !important;
    gap: 1px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #f3ebe0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 5px 14px rgba(40, 30, 20, 0.08);
    overflow: hidden;
    text-align: left;
    align-self: stretch;
  }

  .cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__copy {
    padding: 6px 9px !important;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
    background: #f3ebe0 !important;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__brand {
    color: #111;
    font-size: 9px;
    margin: 0;
    text-align: left;
    text-shadow: none;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__name {
    font-size: 12px !important;
    line-height: 1.15;
    color: #111;
    min-height: 0 !important;
    max-height: 1.15em;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: "DM Sans", system-ui, sans-serif !important;
    font-weight: 500;
    margin: 0 !important;
    text-align: left;
    text-shadow: none;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__price {
    font-size: 15px;
    color: #111;
    font-weight: 700;
    margin: 0;
    text-align: left;
    text-shadow: none;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__cta {
    align-self: flex-end !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto !important;
    margin: auto 0 1px auto !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 3px 7px !important;
    font-size: 8px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.04em !important;
    text-align: center;
    border-radius: 2px;
    box-sizing: border-box !important;
    background: #111 !important;
    color: #fff !important;
    width: auto !important;
    max-width: max-content !important;
    min-width: 0;
    white-space: nowrap;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__trust {
    display: none;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__pager {
    padding: 0 10px 2px;
    background: transparent;
    min-height: 0;
  }

  .cosmod-product-banner:not(.cosmod-product-banner--marble) .cosmod-product-banner__layout {
    grid-template-columns: 1fr;
    padding: 22px 44px 8px;
    gap: 8px;
  }

  .cosmod-product-banner:not(.cosmod-product-banner--marble) .cosmod-product-banner__intro {
    max-width: none;
    text-align: center;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .cosmod-product-banner--marble {
    --cosmod-pb-h: 168px;
    --cosmod-pb-bg: #f4f0e8;
    margin: 12px auto 0;
    border-radius: 0;
    background: #f4f0e8;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__intro,
  .cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__intro {
    display: none !important;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__kicker,
  .cosmod-product-banner--marble .cosmod-product-banner__arrow {
    display: none !important;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__stage {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__layout {
    padding: 0;
    align-items: stretch;
    justify-content: center;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__slide {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: center !important;
    height: 100%;
    min-height: 100%;
    padding: 0 10px;
    position: relative;
    box-sizing: border-box;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__showcase {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: 96px;
    align-items: stretch;
    gap: 8px 10px;
    width: 100%;
    height: 96px;
    min-height: 96px;
    max-height: 96px;
    padding: 0;
    margin: 0;
    background: transparent;
    text-align: left;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
    flex: 0 0 96px;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__marble {
    grid-row: 1;
    width: 96px;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
    max-width: 96px;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__img-link {
    display: block;
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    aspect-ratio: auto;
    border-radius: 10px;
    background: #f3ebe0 !important;
    box-shadow: 0 5px 14px rgba(40, 30, 20, 0.08);
    animation: none !important;
    opacity: 1 !important;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__img-link img,
  .cosmod-product-banner--marble .cosmod-product-banner__img-link .placeholder {
    transform: none;
    padding: 4px;
    object-fit: contain;
    opacity: 1 !important;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__copy,
  .cosmod-product-banner--marble.has-scene-photos .cosmod-product-banner__copy {
    grid-row: 1;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
    padding: 5px 8px !important;
    background: #f3ebe0 !important;
    border-radius: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    box-shadow: 0 5px 14px rgba(40, 30, 20, 0.08);
    overflow: hidden;
    box-sizing: border-box;
    align-self: stretch;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__brand,
  .cosmod-product-banner--marble .cosmod-product-banner__name,
  .cosmod-product-banner--marble .cosmod-product-banner__price {
    text-align: left;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__brand {
    font-size: 8px;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__name {
    font-size: 11px !important;
    line-height: 1.15 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    max-height: 1.15em !important;
    min-height: 0 !important;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__price {
    font-size: 13px;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__cta {
    align-self: flex-end !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    margin: auto 0 1px auto !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 2px 6px !important;
    font-size: 7.5px !important;
    line-height: 1.1 !important;
    letter-spacing: 0.04em !important;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: max-content !important;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__trust {
    display: none;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__pager {
    padding: 0 10px 2px;
    background: transparent;
    min-height: 0;
  }

  .cosmod-product-banner__layout {
    padding: 18px 40px 6px;
  }

  .cosmod-product-banner__headline {
    letter-spacing: 0.1em;
  }

  .cosmod-product-banner__vase {
    display: none;
  }

  .cosmod-product-banner__trust-copy em {
    display: none;
  }
}
@media (max-width: 720px) {
  .cosmod-product-banner__kicker {
    padding: 10px 16px 0;
  }

  .cosmod-product-banner--marble .cosmod-product-banner__kicker {
    padding: 0;
  }
}

.cosmod-page-brands {
  margin: 0 0 22px;
}

.cosmod-page-brands.cosmod-brand-strip--cards.cosmod-cat-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  overflow: visible;
  box-sizing: border-box;
  width: 100%;
  position: relative;
}

.cosmod-page-brands.cosmod-brand-strip--cards .cosmod-cat-rail__scroller {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.cosmod-page-brands.cosmod-brand-strip--cards.cosmod-cat-rail > .cosmod-cat-rail__btn,
.cosmod-page-brands.cosmod-cat-rail > .cosmod-cat-rail__btn {
  position: static !important;
  flex: 0 0 40px;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin: 0;
  align-self: center;
}

@media (max-width: 900px) {
  .cosmod-product-banner:not(.cosmod-product-banner--marble) {
    --cosmod-pb-h: 420px;
  }

  .cosmod-product-banner__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
    max-width: 420px;
  }

  .cosmod-product-banner__product {
    height: 140px;
  }

  .cosmod-product-banner:not(.cosmod-product-banner--marble) .cosmod-product-banner__img-link {
    width: 130px;
    height: 130px;
  }

  .cosmod-product-banner:not(.cosmod-product-banner--marble) .cosmod-product-banner__copy {
    min-height: 0;
    align-items: center;
  }

  .cosmod-product-banner:not(.cosmod-product-banner--marble) .cosmod-product-banner__cta {
    align-self: center;
  }

  .cosmod-product-banner:not(.cosmod-product-banner--marble) .cosmod-product-banner__slide {
    padding: 18px 44px 24px;
  }

  /* Keep marble short — later generic --cosmod-pb-h must not win */
  .cosmod-product-banner.cosmod-product-banner--marble {
    --cosmod-pb-h: 168px;
    margin-top: 14px;
  }
}

@media (max-width: 560px) {
  .cosmod-product-banner:not(.cosmod-product-banner--marble) {
    --cosmod-pb-h: 400px;
  }

  .cosmod-product-banner.cosmod-product-banner--marble {
    --cosmod-pb-h: 168px;
    margin-top: 12px;
  }

  .cosmod-product-banner.cosmod-product-banner--marble .cosmod-product-banner__frame {
    height: 168px !important;
    min-height: 168px !important;
    max-height: 168px !important;
  }

  .cosmod-product-banner__name {
    font-size: 22px;
  }

  .cosmod-product-banner__price {
    font-size: 18px;
  }
}

/* ——— Cosmod Beauty Blog (Notino layout: hero + 3-col grid) ——— */

.cosmod-blog {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 72px;
  box-sizing: border-box;
  background: transparent;
}

.cosmod-blog__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin: 0 0 32px;
}

.cosmod-blog__eyebrow {
  margin: 0;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111;
  line-height: 1.15;
}

.cosmod-blog__cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.cosmod-blog__cat {
  appearance: none;
  border: 0;
  background: transparent;
  color: #111;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
}

.cosmod-blog__cat:hover,
.cosmod-blog__cat.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Featured latest article */
.cosmod-blog__feature {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(240px, 0.95fr);
  min-height: 380px;
  margin: 0 0 40px;
  background: #111;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.cosmod-blog__feature-media {
  position: relative;
  min-height: 320px;
  background: #1a1a1a;
  overflow: hidden;
}

.cosmod-blog__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.cosmod-blog__feature:hover .cosmod-blog__feature-media img {
  transform: scale(1.03);
}

.cosmod-blog__feature-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  background: linear-gradient(145deg, #2a2a2a, #111);
}

.cosmod-blog__feature-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 28px 28px 32px;
  box-sizing: border-box;
  background: #111;
}

.cosmod-blog__feature-title {
  margin: 0;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.01em;
}

.cosmod-blog__feature-meta {
  margin: 0;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

/* Grid of other articles */
.cosmod-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
  margin: 0;
}

.cosmod-blog__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.cosmod-blog__card-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #ececec;
  margin: 0 0 14px;
}

.cosmod-blog__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cosmod-blog__card:hover .cosmod-blog__card-media img {
  transform: scale(1.04);
}

.cosmod-blog__card-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9a9a;
  background: linear-gradient(145deg, #f4f4f4, #e4e4e4);
}

.cosmod-blog__card-meta {
  margin: 0 0 8px;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #8a8a8a;
  line-height: 1.35;
}

.cosmod-blog__card-title {
  margin: 0 0 12px;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  letter-spacing: -0.01em;
}

.cosmod-blog__card:hover .cosmod-blog__card-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cosmod-blog__card-read {
  margin-top: auto;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.cosmod-blog__pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin: 40px 0 0;
}

.cosmod-blog__page {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  border: 0;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
}

.cosmod-blog__page:hover {
  background: rgba(17, 17, 17, 0.06);
}

.cosmod-blog__page.is-active {
  background: #111;
  color: #fff;
}

.cosmod-blog__page--next {
  font-size: 18px;
  line-height: 1;
}

.cosmod-blog__empty {
  padding: 48px 20px;
  text-align: center;
  color: #666;
  font-size: 15px;
}

@media (max-width: 960px) {
  .cosmod-blog__feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cosmod-blog__feature-media {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .cosmod-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }
}

@media (max-width: 640px) {
  .cosmod-blog {
    width: calc(100% - 24px);
    padding-top: 22px;
  }

  .cosmod-blog__cats {
    gap: 8px 14px;
  }

  .cosmod-blog__grid {
    grid-template-columns: 1fr;
  }

  .cosmod-blog__pager {
    justify-content: center;
  }
}

/* ——— Single article (Notino flow: photo → text → 2 product rails → text → related) ——— */

.cosmod-article {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px clamp(16px, 4vw, 56px) 80px;
  box-sizing: border-box;
  color: #111;
  background: #fff;
}

.cosmod-article__title,
.cosmod-article__meta,
.cosmod-article__body {
  width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.cosmod-article__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin: 0 0 28px;
}

.cosmod-article__eyebrow {
  margin: 0;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.cosmod-article__cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.cosmod-article__cat {
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  padding: 2px 0;
}

.cosmod-article__cat:hover,
.cosmod-article__cat.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cosmod-article__hero {
  display: block;
  width: min(1400px, 100%);
  margin: 0 auto 28px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #ebe4d8;
}

.cosmod-article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cosmod-article__title {
  width: min(920px, 100%);
  margin: 0 auto 12px;
  text-align: center;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.cosmod-article__meta {
  width: min(920px, 100%);
  margin: 0 auto 36px;
  text-align: center;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #8a8a8a;
  line-height: 1.4;
}

.cosmod-article__meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cosmod-article__body {
  width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
}

.cosmod-article__body > p,
.cosmod-article__body > ul,
.cosmod-article__body > ol {
  margin: 0 0 1.15em;
}

.cosmod-article__body > h2 {
  margin: 1.6em 0 0.7em;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.cosmod-article__body > ul,
.cosmod-article__body > ol {
  padding-left: 1.2em;
}

.cosmod-article__body li {
  margin: 0 0 0.45em;
}

.cosmod-article__body strong {
  font-weight: 700;
}

.cosmod-article__warn {
  margin: 1.2em 0 1.6em;
  padding: 0;
  border: 0;
  color: #1a1a1a;
}

/* In-article product rails — exact-fit cards + infinite loop */
.cosmod-article-rail {
  width: min(1400px, 100%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin: 36px auto 40px;
  box-sizing: border-box;
  padding: 0 48px;
}

.cosmod-article-rail__title {
  margin: 0 0 18px;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.cosmod-article-rail__wrap {
  position: relative;
}

.cosmod-article-rail__scroller {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
}

.cosmod-article-rail__scroller.is-animating {
  pointer-events: none;
}

.cosmod-article-rail__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  will-change: transform;
  gap: 0;
}

.cosmod-article-rail__group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  flex: 0 0 auto;
  gap: 14px;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.cosmod-article-product {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  background: #f3f3f3;
  padding: 16px 14px 18px;
  box-sizing: border-box;
  text-align: left;
}

.cosmod-article-product__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  margin: 0 0 14px;
  background: #f3f3f3;
  overflow: hidden;
}

.cosmod-article-product__media img {
  max-width: 78%;
  max-height: 88%;
  object-fit: contain;
  display: block;
}

/* Never show gallery/nav chrome inside product thumbnails */
.cosmod-article-product__media button,
.cosmod-article-product__media .flex-direction-nav,
.cosmod-article-product__media .woocommerce-product-gallery__trigger,
.cosmod-article-product__media .slick-arrow,
.cosmod-article-product__media .swiper-button-next,
.cosmod-article-product__media .swiper-button-prev,
.cosmod-article-product__media .owl-nav,
.cosmod-article-product .flex-control-nav {
  display: none !important;
}

.cosmod-article-product__badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
}

.cosmod-article-product__tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 8px;
  background: #e91e8c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.cosmod-article-product__brand {
  margin: 0 0 4px;
  font-size: 13px;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cosmod-article-product__name {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  text-decoration: none;
}

.cosmod-article-product__name:hover {
  text-decoration: underline;
}

.cosmod-article-product__desc {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #555;
  flex: 1;
}

.cosmod-article-product__price {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.cosmod-article-product__promo {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1.35;
  color: #666;
}

.cosmod-article-product__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.cosmod-article-product__cta:hover {
  background: #111;
  color: #fff;
}

.cosmod-article-rail__btn {
  position: absolute;
  top: 38%;
  right: -48px;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  font-size: 20px;
  line-height: 1;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cosmod-article-rail__btn--prev {
  left: -48px;
  right: auto;
}

.cosmod-article-rail__btn:hover {
  background: #111;
  color: #fff;
}

.cosmod-article-rail--loop .cosmod-article-rail__btn:disabled {
  opacity: 1;
  pointer-events: auto;
}

/* Related “Lire la suite” */
.cosmod-article-more {
  width: min(1400px, 100%);
  margin: 56px auto 0;
  padding-top: 8px;
}

.cosmod-article-more__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 28px;
}

.cosmod-article-more__tag {
  display: inline-block;
  border: 0;
  background: #f0f0f0;
  color: #666;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.cosmod-article-more__tag:hover {
  background: #111;
  color: #fff;
}

.cosmod-article-more__title {
  margin: 0 0 22px;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cosmod-article-more__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
}

.cosmod-article-more__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.cosmod-article-more__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #ececec;
  margin: 0 0 12px;
}

.cosmod-article-more__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cosmod-article-more__card:hover .cosmod-article-more__media img {
  transform: scale(1.04);
}

.cosmod-article-more__meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: #8a8a8a;
}

.cosmod-article-more__card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.cosmod-article-more__card:hover .cosmod-article-more__card-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .cosmod-article-rail {
    width: calc(100% - 24px);
    padding: 0 40px;
  }

  .cosmod-article-more__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .cosmod-article {
    width: 100%;
    padding: 18px 16px 64px;
  }

  .cosmod-article__hero {
    aspect-ratio: 16 / 10;
    margin-bottom: 20px;
  }

  .cosmod-article__meta {
    margin-bottom: 28px;
  }

  .cosmod-article-rail {
    padding: 0 36px;
  }

  .cosmod-article-rail__btn {
    width: 34px;
    height: 34px;
    font-size: 18px;
    right: -34px;
  }

  .cosmod-article-rail__btn--prev {
    left: -34px;
  }
}


/* —— Page À propos —— */
body.cosmod-about-page,
.cosmod-about-page {
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(196, 165, 116, 0.14), transparent 55%),
    linear-gradient(180deg, #faf8f5 0%, #f3f0ea 48%, #ece7df 100%);
  color: #1a1a1a;
}

.cosmod-about {
  --about-ink: #1a1a1a;
  --about-muted: #5c574f;
  --about-line: rgba(26, 26, 26, 0.1);
  --about-gold: #b8955e;
  --about-gold-soft: rgba(184, 149, 94, 0.14);
  --about-serif: "Cormorant Garamond", Georgia, serif;
  --about-sans: "DM Sans", system-ui, sans-serif;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
  font-family: var(--about-sans);
}

.cosmod-about__hero {
  text-align: center;
  padding: 28px 0 40px;
  border-bottom: 1px solid var(--about-line);
  margin-bottom: 48px;
  animation: cosmod-about-rise 0.7s ease both;
}

.cosmod-about__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--about-gold);
  font-weight: 600;
}

.cosmod-about__title {
  margin: 0 0 18px;
  font-family: var(--about-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--about-ink);
}

.cosmod-about__lead {
  margin: 0 auto;
  max-width: 38em;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--about-muted);
}

.cosmod-about__h2 {
  margin: 0 0 18px;
  font-family: var(--about-serif);
  font-weight: 600;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  letter-spacing: -0.01em;
  color: var(--about-ink);
}

.cosmod-about__section-lead {
  margin: -6px 0 22px;
  color: var(--about-muted);
  line-height: 1.6;
}

.cosmod-about__prose {
  color: var(--about-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.cosmod-about__prose p {
  margin: 0 0 1em;
}

.cosmod-about__prose p:last-child {
  margin-bottom: 0;
}

.cosmod-about__prose strong {
  color: var(--about-ink);
  font-weight: 600;
}

.cosmod-about__prose em {
  font-style: italic;
  color: var(--about-ink);
}

.cosmod-about__prose a {
  color: var(--about-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cosmod-about__prose--center {
  text-align: center;
  max-width: 40em;
  margin-inline: auto;
}

.cosmod-about > section {
  margin-bottom: 56px;
  animation: cosmod-about-rise 0.7s ease both;
}

.cosmod-about > section:nth-child(2) { animation-delay: 0.05s; }
.cosmod-about > section:nth-child(3) { animation-delay: 0.1s; }
.cosmod-about > section:nth-child(4) { animation-delay: 0.14s; }
.cosmod-about > section:nth-child(5) { animation-delay: 0.18s; }
.cosmod-about > section:nth-child(6) { animation-delay: 0.22s; }

.cosmod-about__split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 28px 36px;
  align-items: start;
}

.cosmod-about__split--reverse {
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
}

.cosmod-about__aside {
  background: #111;
  color: #f5f4f1;
  padding: 24px 22px;
  border-radius: 4px;
}

.cosmod-about__aside--soft {
  background: #fff;
  color: var(--about-ink);
  border: 1px solid var(--about-line);
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.04);
}

.cosmod-about__aside-kicker {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--about-gold);
  font-weight: 700;
}

.cosmod-about__aside--soft .cosmod-about__aside-kicker {
  color: var(--about-gold);
}

.cosmod-about__aside-list,
.cosmod-about__why {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.cosmod-about__aside-list li,
.cosmod-about__why li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(245, 244, 241, 0.88);
}

.cosmod-about__aside--soft .cosmod-about__why li {
  color: var(--about-muted);
}

.cosmod-about__aside-list li::before,
.cosmod-about__why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--about-gold);
}

.cosmod-about__mission {
  text-align: center;
  padding: 36px 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.35));
  border: 1px solid var(--about-line);
  border-radius: 4px;
}

.cosmod-about__mission-text {
  margin: 0 auto 16px;
  max-width: 28em;
  font-family: var(--about-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.35;
  color: var(--about-ink);
  font-weight: 500;
}

.cosmod-about__cat-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.cosmod-about__cat-grid li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--about-line);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--about-ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cosmod-about__cat-grid li:hover {
  border-color: rgba(184, 149, 94, 0.55);
  transform: translateY(-1px);
}

.cosmod-about__brand-cloud {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cosmod-about__brand-cloud a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #111;
  color: #f5f4f1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cosmod-about__brand-cloud a:hover {
  background: var(--about-gold);
  color: #111;
  transform: translateY(-1px);
}

.cosmod-about__value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cosmod-about__value-grid article {
  padding: 22px 18px;
  background: #fff;
  border-top: 2px solid var(--about-gold);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.04);
}

.cosmod-about__value-grid h3 {
  margin: 0 0 8px;
  font-family: var(--about-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.cosmod-about__value-grid p {
  margin: 0;
  color: var(--about-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.cosmod-about__contact {
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid var(--about-line);
}

.cosmod-about__thanks {
  margin: 28px auto 0;
  max-width: 36em;
  font-family: var(--about-serif);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--about-ink);
}

.cosmod-about__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.cosmod-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}

.cosmod-about__btn:hover {
  background: var(--about-gold);
  color: #111;
}

.cosmod-about__btn--ghost {
  background: transparent;
  color: #111;
  border: 1px solid rgba(26, 26, 26, 0.28);
}

.cosmod-about__btn--ghost:hover {
  border-color: var(--about-gold);
  background: var(--about-gold-soft);
  color: #111;
}

@keyframes cosmod-about-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .cosmod-about {
    width: min(100% - 28px, 920px);
    padding: 28px 0 56px;
  }

  .cosmod-about__split,
  .cosmod-about__split--reverse,
  .cosmod-about__value-grid,
  .cosmod-about__cat-grid {
    grid-template-columns: 1fr;
  }

  .cosmod-about__hero {
    padding: 12px 0 28px;
    margin-bottom: 32px;
  }

  .cosmod-about > section {
    margin-bottom: 40px;
  }
}


/* Legal / info page lists */
.cosmod-about__prose ul,
.cosmod-about__prose ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
  color: var(--about-muted, #5c574f);
  line-height: 1.7;
}
.cosmod-about__prose li {
  margin: 0.35em 0;
}
.cosmod-about__prose li::marker {
  color: var(--about-gold, #b8955e);
}
.cosmod-legal .cosmod-about__intro + .cosmod-about__intro,
.cosmod-legal section + section {
  margin-top: 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

/* —— Mobile: center section titles / eyebrows —— */
@media (max-width: 640px) {
  .cosmod-home-shell .cosmod-lp-products--rail .cosmod-lp-title-wrap,
  .cosmod-lp-products .cosmod-lp-title-wrap,
  .cosmod-home-head,
  .cosmod-home-cats .cosmod-home-head,
  .cosmod-tools .cosmod-home-head {
    text-align: center !important;
    align-items: center !important;
  }

  .cosmod-home-shell .cosmod-lp-products--rail .cosmod-lp-title-line,
  .cosmod-lp-products .cosmod-lp-title-line {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .cosmod-home-shell .cosmod-lp-eyebrow,
  .cosmod-lp-eyebrow,
  .cosmod-home-eyebrow,
  .cosmod-home-heading,
  .cosmod-home-heading--plain {
    text-align: center !important;
  }

  .cosmod-home-head--row {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .cosmod-home-head--row > div {
    width: 100%;
    text-align: center;
  }

  .cosmod-home-more {
    margin-inline: auto;
  }
}
