
/* Larger, centered mobile product photos */
@media (max-width:767px) {
 #cosmod-theme-content :is(#cosmod-grid-flash,:is(#cosmod-grid-luxe,#cosmod-grid-makeup),#cosmod-grid-parfums,#cosmod-grid-visage,#cosmod-grid-ongles) > article.cosmod-lp-card { width:100% !important; max-width:none !important; margin-inline:0 !important; padding:4px 4px 12px !important; box-sizing:border-box; text-align:center !important; }
 #cosmod-theme-content :is(#cosmod-grid-flash,:is(#cosmod-grid-luxe,#cosmod-grid-makeup),#cosmod-grid-parfums,#cosmod-grid-visage,#cosmod-grid-ongles) .cosmod-lp-card .cosmod-lp-img-wrap { width:100% !important; height:200px !important; aspect-ratio:auto !important; display:flex !important; align-items:center !important; justify-content:center !important; }
 #cosmod-theme-content :is(#cosmod-grid-flash,:is(#cosmod-grid-luxe,#cosmod-grid-makeup),#cosmod-grid-parfums,#cosmod-grid-visage,#cosmod-grid-ongles) .cosmod-lp-card .cosmod-lp-img-link { width:100% !important; height:100% !important; display:flex !important; align-items:center !important; justify-content:center !important; }
 #cosmod-theme-content :is(#cosmod-grid-flash,:is(#cosmod-grid-luxe,#cosmod-grid-makeup),#cosmod-grid-parfums,#cosmod-grid-visage,#cosmod-grid-ongles) .cosmod-lp-card .cosmod-lp-img-link img { width:100% !important; height:100% !important; max-width:100% !important; max-height:100% !important; object-fit:contain !important; object-position:center !important; margin:0 auto !important; }
}

@media (max-width:767px) {
 #cosmod-theme-content :is(#cosmod-grid-flash,:is(#cosmod-grid-luxe,#cosmod-grid-makeup),#cosmod-grid-parfums,#cosmod-grid-visage,#cosmod-grid-ongles) .cosmod-lp-card .cosmod-lp-img-wrap { background: #fff !important; }
}

/* White mobile product photo background */
@media (max-width: 767px) {
 #cosmod-theme-content .cosmod-lp-grid .cosmod-lp-card .cosmod-lp-img-wrap,
 #cosmod-theme-content .cosmod-lp-grid .cosmod-lp-card .cosmod-lp-img-link { background: #fff !important; }
}

@media (max-width: 767px) {
 #cosmod-theme-content .cosmod-lp-grid[id] > article.cosmod-lp-card.cosmod-lp-card,
 #cosmod-theme-content :is(#cosmod-grid-flash,:is(#cosmod-grid-luxe,#cosmod-grid-makeup),#cosmod-grid-parfums,#cosmod-grid-visage,#cosmod-grid-ongles) > article.cosmod-lp-card { border: 0 !important; box-shadow: none !important; }
}

@media (max-width: 767px) {
 body .cosmod-lp-wrap .cosmod-lp-grid article.cosmod-lp-card { border: none !important; box-shadow: none !important; }
}


/* COSMOD desktop mega-menu refresh */
@media (min-width: 1024px) {
  .cosmod-header { z-index: 200; }
  .cosmod-nav-slot { width: 100% !important; max-width: none !important; }
  .cmm-nav { width: min(1240px, calc(100vw - 56px)) !important; max-width: none !important; margin: 0 auto !important; }
  .cmm-menu { width: 100%; justify-content: center; gap: clamp(12px, 1.7vw, 28px) !important; }
  .cmm-menu > .cmm-item > a { position: relative; display: flex; align-items: center; gap: 7px; padding: 17px 3px 19px; color: #f7f4ee !important; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; transition: color .2s ease; }
  .cmm-menu > .cmm-item > a::after { position: absolute; right: 3px; bottom: 8px; left: 3px; height: 2px; background: #c7a66a; content: ''; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
  .cmm-menu > .cmm-item:hover > a, .cmm-menu > .cmm-item:focus-within > a { color: #e4c98e !important; }
  .cmm-menu > .cmm-item:hover > a::after, .cmm-menu > .cmm-item:focus-within > a::after { transform: scaleX(1); }
  .cmm-menu .cmm-caret { color: #c7a66a; font-size: 11px; }
  .cmm-menu > .cmm-item.has-children { position: static !important; }
  .cmm-menu > .cmm-item > .cmm-panel { top: calc(100% - 1px) !important; left: 50% !important; width: min(1180px, calc(100vw - 48px)) !important; max-width: none !important; overflow: hidden; border: 1px solid rgba(23, 43, 67, .09); border-top: 3px solid #c7a66a; border-radius: 0 0 18px 18px; background: #fff; box-shadow: 0 24px 60px rgba(12, 25, 42, .18); transform: translateX(-50%); }
  .cmm-panel-inner { display: flex !important; align-items: stretch; gap: clamp(24px, 2.4vw, 40px) !important; min-height: 250px; padding: 30px 34px !important; }
  .cmm-panel-inner::before { display: flex; flex: 0 0 190px; align-items: center; justify-content: center; min-height: 190px; border-radius: 14px; background: linear-gradient(145deg, #f5f0e6, #eee5d5); color: #b89557; content: '✦'; font-family: Georgia, 'Times New Roman', serif; font-size: 56px; }
  .cmm-lane-col { flex: 1 1 0; width: auto !important; min-width: 0; max-width: none !important; gap: 20px !important; }
  .cmm-col { min-width: 0; }
  .cmm-col-title { display: block; margin: 0 0 12px; padding: 0 0 10px; border-bottom: 1px solid #e9e2d6; color: #172d47 !important; font-size: 12px; font-weight: 700; letter-spacing: .09em; line-height: 1.45; text-transform: uppercase; }
  .cmm-col-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 12px; margin: 0; padding: 0; list-style: none; }
  .cmm-col-links a { display: block; padding: 8px 9px; border-radius: 7px; color: #596779 !important; font-size: 13px; line-height: 1.4; text-decoration: none !important; transition: color .18s ease, background-color .18s ease; }
  .cmm-col-links a:hover, .cmm-col-links a:focus { background: #f7f3eb; color: #172d47 !important; }
}

/* Keep the full desktop navigation centered in its narrow theme slot */
@media (min-width: 1024px) {
  .cmm-nav { position: relative !important; left: 50% !important; margin: 0 !important; transform: translateX(-50%) !important; }
}



/* Cart icon for product purchase buttons */
.single-product .add-to-cart::before,
.single-product .cosmod-similar-card__atc::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%279%27 cy=%2721%27 r=%271%27/%3E%3Ccircle cx=%2720%27 cy=%2721%27 r=%271%27/%3E%3Cpath d=%27M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6%27/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%279%27 cy=%2721%27 r=%271%27/%3E%3Ccircle cx=%2720%27 cy=%2721%27 r=%271%27/%3E%3Cpath d=%27M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6%27/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Product details: separate bordered tabs */
.single-product .cosmod-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.single-product .cosmod-tabs-nav > .tab {
  border: 1px solid #c9c5bf;
  border-radius: 4px;
  padding: 10px 18px;
  background: #fff;
}
.single-product .cosmod-tabs-nav > .tab:hover,
.single-product .cosmod-tabs-nav > .tab[aria-selected="true"],
.single-product .cosmod-tabs-nav > .tab.active {
  border-color: #111;
  background: #f5f4f2;
  color: #111;
}
.single-product .cosmod-tabs-nav > .tab:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

/* Small arrows on product detail tabs */
.single-product .cosmod-tabs-nav > .tab::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 12px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.single-product .cosmod-tabs-nav > .tab[aria-selected="true"]::after {
  transform: translateY(2px) rotate(225deg);
}

/* Keep the Complianz email obfuscation decoy hidden from visitors. */
.cmplz-fmail-domain {
  display: none !important;
}

/* COSMOD homepage buttons: light stone, evenly shaded 3D finish */
body.home .cosmod-home-hero-slider__cta,
body.home .cosmod-lp-viewall {
  background: radial-gradient(ellipse at center, #f5f4f1 0%, #eceae6 42%, #dfdcd6 76%, #d1cdc6 100%) !important;
  color: #403d38 !important;
  border: 1px solid #c6c1b9 !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 -2px 3px rgba(130,123,113,.16), 0 3px 0 #bdb8b0, 0 5px 10px rgba(65,60,54,.14) !important;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.home .cosmod-home-hero-slider__cta:hover,
body.home .cosmod-lp-viewall:hover {
  background: radial-gradient(ellipse at center, #faf9f6 0%, #f0eeea 42%, #e2dfd9 76%, #d4d0c9 100%) !important;
  color: #302e2a !important;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.95), inset 0 -2px 3px rgba(130,123,113,.14), 0 4px 0 #bdb8b0, 0 7px 12px rgba(65,60,54,.17) !important;
}
body.home .cosmod-home-hero-slider__cta:active,
body.home .cosmod-lp-viewall:active {
  transform: translateY(2px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.8), inset 0 -1px 2px rgba(130,123,113,.18), 0 1px 0 #bdb8b0 !important;
}
body.home .cosmod-home-hero-slider__cta:focus-visible,
body.home .cosmod-lp-viewall:focus-visible {
  outline: 2px solid #8a847a;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  body.home .cosmod-home-hero-slider__cta,
  body.home .cosmod-lp-viewall { transition: none; }
}


/* Slightly larger, clearer text inside homepage CTA buttons */
body.home .cosmod-home-hero-slider__cta,
body.home .cosmod-lp-viewall {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35;
}


/* COSMOD homepage buttons: consistent across all language versions */
.cosmod-home-hero-slider__cta,
.cosmod-lp-viewall {
  background: radial-gradient(ellipse at center, #f5f4f1 0%, #eceae6 42%, #dfdcd6 76%, #d1cdc6 100%) !important;
  color: #302e2a !important;
  border: 1px solid #c6c1b9 !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 -2px 3px rgba(130,123,113,.16), 0 3px 0 #bdb8b0, 0 5px 10px rgba(65,60,54,.14) !important;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.35;
}
.cosmod-home-hero-slider__cta:hover,
.cosmod-lp-viewall:hover {
  background: radial-gradient(ellipse at center, #faf9f6 0%, #f0eeea 42%, #e2dfd9 76%, #d4d0c9 100%) !important;
  color: #302e2a !important;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.95), inset 0 -2px 3px rgba(130,123,113,.14), 0 4px 0 #bdb8b0, 0 7px 12px rgba(65,60,54,.17) !important;
}
.cosmod-home-hero-slider__cta:active,
.cosmod-lp-viewall:active {
  transform: translateY(2px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.8), inset 0 -1px 2px rgba(130,123,113,.18), 0 1px 0 #bdb8b0 !important;
}
.cosmod-home-hero-slider__cta:focus-visible,
.cosmod-lp-viewall:focus-visible {
  outline: 2px solid #8a847a;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .cosmod-home-hero-slider__cta,
  .cosmod-lp-viewall { transition: none; }
}


/* Desktop product gallery thumbnails: one compact horizontal carousel */
@media (min-width: 768px) {
  .cosmod-gallery .cosmod-thumbs {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cosmod-gallery .cosmod-thumbs .thumb {
    flex: 0 0 112px;
    max-width: 112px;
    scroll-snap-align: start;
  }
  .cosmod-gallery .cosmod-thumbs::-webkit-scrollbar { display: none; }
}

/* Product trust card: align with related products and tighten the height */
.single-product .cosmod-trust {
  width: 100% !important;
  max-width: 1100px !important;
  padding-block: 12px !important;
  box-sizing: border-box;
}
.single-product .cosmod-trust > * {
  padding-block: 10px !important;
}
@media (max-width: 767px) {
  .single-product .cosmod-trust {
    width: 100% !important;
    padding-block: 8px !important;
  }
}


/* Desktop gallery thumbnails span the same width as the main image */
@media (min-width: 768px) {
  .single-product .cosmod-gallery .cosmod-thumbs {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    box-sizing: border-box;
  }
}


/* Final alignment for product info card and desktop gallery controls */
@media (min-width: 768px) {
  .single-product .cosmod-trust {
    width: 100% !important;
    max-width: 1200px !important;
    padding-block: 8px !important;
  }
  .single-product .cosmod-trust > * {
    padding-block: 6px !important;
  }
  .single-product .cosmod-gallery .cosmod-thumbs-nav {
    left: 20px !important;
    right: 20px !important;
    width: auto !important;
  }
}


@media (min-width: 768px) {
  .single-product .cosmod-gallery .cosmod-thumbs-arrow:first-child {
    transform: translateX(20px) !important;
  }
  .single-product .cosmod-gallery .cosmod-thumbs-arrow:last-child {
    transform: translateX(-20px) !important;
  }
}


/* Desktop: align the thumbnail rail and delivery panel to the full product card edges */
@media (min-width: 768px) {
  .single-product .cosmod-gallery {
    overflow: visible !important;
  }
  .single-product .cosmod-gallery .cosmod-thumbs {
    position: relative !important;
    left: -39px !important;
    width: 200% !important;
    max-width: none !important;
    flex: 0 0 200% !important;
  }
  .single-product .cosmod-trust {
    width: calc(100% + 52px) !important;
    max-width: none !important;
    margin-left: -26px !important;
    margin-right: -26px !important;
  }
}


/* Extend the desktop thumbnail viewport to the full product content width */
@media (min-width: 768px) {
  .single-product .cosmod-gallery .cosmod-thumbs {
    width: 325% !important;
    flex: 0 0 325% !important;
  }
}


/* Keep the product thumbnail strip exactly as wide as its main image */
@media (min-width: 768px) {
  .single-product .cosmod-gallery .cosmod-thumbs {
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}


/* Match the shipping/payment/returns panel to the red guide lines */
@media (min-width: 768px) {
  .single-product .cosmod-trust {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

		
		

/* Mobile catalogue: remove product card frames */
@media (max-width: 767px) {
  .cosmod-lp-grid .cosmod-lp-card {
    border: 0 !important;
    box-shadow: none !important;
  }
}

		
		
		/* Latest featured post: wide photo and black caption panel. */
#cosmod-theme-content .cosmod-blog__cats{display:none!important}
#cosmod-theme-content .cosmod-blog__feature{display:grid!important;grid-template-columns:2fr 1fr!important;gap:0!important;min-height:520px!important;background:#000!important;margin-bottom:48px!important}
#cosmod-theme-content .cosmod-blog__feature-media{display:block!important;min-height:520px!important}
#cosmod-theme-content .cosmod-blog__feature-media img{display:block!important;width:100%!important;height:100%!important;min-height:520px!important;object-fit:cover!important}
#cosmod-theme-content .cosmod-blog__feature-panel{background:#000!important;color:#fff!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;padding:48px 36px!important;gap:24px!important}
#cosmod-theme-content .cosmod-blog__feature-title{color:#fff!important;font:700 30px/1.25 Arial,sans-serif!important}
#cosmod-theme-content .cosmod-blog__feature-meta{color:#ddd!important;font-size:14px!important}
#cosmod-theme-content .cosmod-blog__grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:48px 30px!important}
#cosmod-theme-content .cosmod-blog__card{border:0!important;box-shadow:none!important;padding:0!important;background:#fff!important}
#cosmod-theme-content .cosmod-blog__card-media{display:block!important;aspect-ratio:16/9!important;overflow:hidden!important}
#cosmod-theme-content .cosmod-blog__card-media img{width:100%!important;height:100%!important;object-fit:cover!important}
@media(max-width:767px){
#cosmod-theme-content .cosmod-blog__feature{grid-template-columns:1fr!important;min-height:0!important}
#cosmod-theme-content .cosmod-blog__feature-media{min-height:0!important;aspect-ratio:16/10!important}
#cosmod-theme-content .cosmod-blog__feature-media img{min-height:0!important;height:100%!important}
#cosmod-theme-content .cosmod-blog__feature-panel{padding:24px!important}
#cosmod-theme-content .cosmod-blog__feature-title{font-size:24px!important}
#cosmod-theme-content .cosmod-blog__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px 12px!important}
}

/* Desktop homepage rails: five equal cards, no clipped sixth card, and balanced arrows. */
@media (min-width: 1024px) {
  #cosmod-theme-content .cosmod-lp-products--rail:has(:is(:is(#cosmod-grid-luxe,#cosmod-grid-makeup), #cosmod-grid-flash, #cosmod-grid-parfums, #cosmod-grid-visage, #cosmod-grid-ongles)) .cosmod-lp-rail__scroller {
    box-sizing: border-box !important;
    width: min(1056px, calc(100vw - 235px)) !important;
    max-width: 100% !important;
    clip-path: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
  #cosmod-theme-content :is(:is(#cosmod-grid-luxe,#cosmod-grid-makeup), #cosmod-grid-flash, #cosmod-grid-parfums, #cosmod-grid-visage, #cosmod-grid-ongles).cosmod-lp-grid--rail {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
  }
  #cosmod-theme-content :is(:is(#cosmod-grid-luxe,#cosmod-grid-makeup), #cosmod-grid-flash, #cosmod-grid-parfums, #cosmod-grid-visage, #cosmod-grid-ongles).cosmod-lp-grid--rail > .cosmod-lp-card {
    box-sizing: border-box !important;
    flex: 0 0 calc((100% - 48px) / 5) !important;
    width: calc((100% - 48px) / 5) !important;
    min-width: 0 !important;
    max-width: calc((100% - 48px) / 5) !important;
  }
  #cosmod-theme-content .cosmod-lp-products--rail:has(:is(:is(#cosmod-grid-luxe,#cosmod-grid-makeup), #cosmod-grid-flash, #cosmod-grid-parfums, #cosmod-grid-visage, #cosmod-grid-ongles)) .cosmod-lp-rail__btn--prev {
    left: 4px !important;
    right: auto !important;
    transform: none !important;
  }
  #cosmod-theme-content .cosmod-lp-products--rail:has(:is(:is(#cosmod-grid-luxe,#cosmod-grid-makeup), #cosmod-grid-flash, #cosmod-grid-parfums, #cosmod-grid-visage, #cosmod-grid-ongles)) .cosmod-lp-rail__btn--next {
    left: calc(56px + min(1056px, calc(100vw - 235px))) !important;
    right: auto !important;
    transform: none !important;
  }
}

/* Full-width, centered product rails: five equal cards, with arrows at the outer edges. */
@media (min-width: 1024px) {
  #cosmod-theme-content .cosmod-lp-products--rail .cosmod-lp-rail {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    column-gap: 4px !important;
    justify-content: stretch !important;
    align-items: center !important;
    padding: 0 !important;
  }
  #cosmod-theme-content .cosmod-lp-products--rail:has(:is(:is(#cosmod-grid-luxe,#cosmod-grid-makeup), #cosmod-grid-flash, #cosmod-grid-parfums, #cosmod-grid-visage, #cosmod-grid-ongles)) .cosmod-lp-rail {
    padding: 0 !important;
  }
  #cosmod-theme-content .cosmod-lp-products--rail .cosmod-lp-rail__btn {
    position: static !important;
    inset: auto !important;
    width: 44px !important;
    min-width: 44px !important;
    margin: 0 !important;
    transform: none !important;
  }
  #cosmod-theme-content .cosmod-lp-products--rail .cosmod-lp-rail__scroller {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  #cosmod-theme-content .cosmod-lp-products--rail:has(:is(:is(#cosmod-grid-luxe,#cosmod-grid-makeup), #cosmod-grid-flash, #cosmod-grid-parfums, #cosmod-grid-visage, #cosmod-grid-ongles)) .cosmod-lp-title-wrap {
    position: relative !important;
    left: 12px !important;
    transform: none !important;
  }
  #cosmod-theme-content .cosmod-lp-products--rail .cosmod-lp-viewall-wrap {
    right: 48px !important;
  }
}

/* Let the product scroller use the full inner width of its rail. */
@media (min-width: 1024px) {
  #cosmod-theme-content .cosmod-lp-products--rail:has(:is(:is(#cosmod-grid-luxe,#cosmod-grid-makeup), #cosmod-grid-flash, #cosmod-grid-parfums, #cosmod-grid-visage, #cosmod-grid-ongles)) .cosmod-lp-rail__scroller {
    width: 100% !important;
    max-width: none !important;
  }
}


/* Match the product section titles to the compact category label scale. */
#cosmod-theme-content .cosmod-lp-products--rail .cosmod-lp-title-wrap a {
  font-size: 18px !important;
  line-height: 1.3 !important;
}

/* Remove the dark gradient cast over the hero artwork. */
#cosmod-theme-content .cosmod-home-hero-slider__scrim {
  display: none !important;
}
#cosmod-theme-content .cosmod-home-hero-slider {
  background-color: #fff !important;
}

/* Override the rail-specific title sizing consistently across all home sections. */
#cosmod-theme-content .cosmod-lp-products--rail:has(:is(:is(#cosmod-grid-luxe,#cosmod-grid-makeup), #cosmod-grid-flash, #cosmod-grid-parfums, #cosmod-grid-visage, #cosmod-grid-ongles)) .cosmod-lp-title-wrap a {
  font-size: 18px !important;
  line-height: 1.3 !important;
}

/* Keep the hero slide unchanged; restore its original text scrim. */
#cosmod-theme-content .cosmod-home-hero-slider__scrim {
  display: block !important;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%) !important;
}

/* Use a clean white canvas behind the home product photos. */
#cosmod-theme-content .cosmod-lp-products--rail .cosmod-lp-img-wrap {
  background-color: #fff !important;
}

/* Force pure white photo wells over the theme default. */
#cosmod-theme-content .cosmod-lp-products--rail:has(:is(:is(#cosmod-grid-luxe,#cosmod-grid-makeup), #cosmod-grid-flash, #cosmod-grid-parfums, #cosmod-grid-visage, #cosmod-grid-ongles)) .cosmod-lp-grid .cosmod-lp-card .cosmod-lp-img-wrap {
  background-color: #fff !important;
}


/* Homepage spacing and view-all alignment */
@media (min-width: 768px) {
  #cosmod-theme-content .cosmod-lp-products--rail:has(#cosmod-grid-flash) .cosmod-lp-viewall-wrap { right: 56px !important; }
  #cosmod-theme-content .cosmod-lp-products--rail:has(#cosmod-grid-parfums) .cosmod-lp-viewall-wrap,
  #cosmod-theme-content .cosmod-lp-products--rail:has(#cosmod-grid-visage) .cosmod-lp-viewall-wrap { transform: translateY(-12px) !important; }
  #cosmod-theme-content .cosmod-cat-rail:has([aria-label="Product categories"]) { margin-top: 24px !important; margin-bottom: -24px !important; }
}


/* Align the Luxe and Nails view-all links with Flash. */
@media (min-width: 768px) {
  #cosmod-theme-content .cosmod-lp-products--rail:has(:is(#cosmod-grid-luxe,#cosmod-grid-makeup)) .cosmod-lp-viewall-wrap,
  #cosmod-theme-content .cosmod-lp-products--rail:has(#cosmod-grid-ongles) .cosmod-lp-viewall-wrap { right: 56px !important; }
}


/* COSMOD customer help form */
.cosmod-help{box-sizing:border-box;max-width:900px!important;width:calc(100% - 32px);margin:36px auto!important;padding:clamp(22px,4vw,42px)!important;border:1px solid #e7e1d8!important;border-radius:18px!important;background:#fff;box-shadow:0 14px 38px rgba(35,29,22,.07);color:#282521;font-family:inherit}
.cosmod-help h2{margin:0 0 12px;color:#171614;font-family:Georgia,'Times New Roman',serif;font-size:clamp(26px,3vw,34px);font-weight:500;line-height:1.2}
.cosmod-help>p:first-of-type{max-width:680px;margin:0 0 26px;color:#68635b;font-size:16px;line-height:1.65}
.cosmod-help form p{margin:0 0 18px}
.cosmod-help label{display:block;color:#38342e;font-size:14px;font-weight:600;line-height:1.5}
.cosmod-help input:not([type=hidden]),.cosmod-help textarea{display:block;width:100%!important;margin-top:7px;padding:13px 14px;border:1px solid #d9d4cc;border-radius:9px;background:#fff;color:#25231f;font:inherit;font-size:15px}
.cosmod-help input:focus,.cosmod-help textarea:focus{outline:none;border-color:#b49a68;box-shadow:0 0 0 3px rgba(180,154,104,.18)}
.cosmod-help textarea{min-height:132px;resize:vertical}
.cosmod-help button{min-height:48px;padding:0 24px;border:0;border-radius:8px;background:#171614;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.cosmod-help button:hover{background:#39342b}
.cosmod-help form+ p{margin:16px 0 0;color:#777168;font-size:12px;line-height:1.6}
.cosmod-help [role=status]{margin:0 0 20px;padding:14px 16px;border:1px solid #d7e4d5;border-radius:10px;background:#f4f8f2;white-space:pre-line;line-height:1.6}
@media(max-width:600px){.cosmod-help{width:calc(100% - 28px);margin:24px auto!important;padding:22px 18px!important;border-radius:14px!important}.cosmod-help button{width:100%}}/* Hide the phone contact link in the site footer */
/* Keep the COSMOD help page focused on written support */body.page-id-50449 #cosmod-info-help-0 li:nth-child(2) { display: none !important; }

/* Help page: remove duplicate navigation and the extra step before the support form. */
body.page-id-50449 #cosmod-theme-content .cards,
body.page-id-50449 #cosmod-theme-content .contact-intro { display: none !important; }

/* Target the live help-page blocks directly. */
body.page-id-50449 #cosmod-theme-content nav:has(a[href*='/mijn-account/']):has(a[href*='/verzendkosten/']):has(a[href*='/retourneren-en-terugbetaling/']):has(a[href*='/faq-nl/']) { display: none !important; }


/* Hide the four redundant help-page shortcut cards. */
body.page-id-50449 #cosmod-theme-content a[href*='/mijn-account/'],
body.page-id-50449 #cosmod-theme-content a[href*='/verzendkosten/'],
body.page-id-50449 #cosmod-theme-content a[href*='/retourneren-en-terugbetaling/'],
body.page-id-50449 #cosmod-theme-content a[href*='/faq-nl/'] { display: none !important; }





/* Keep product pagination numbers readable in every state */
#cosmod-theme-content .cosmod-pagination-flash a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:40px;min-height:40px;box-sizing:border-box;padding:0 10px!important;border:1px solid #d6d2ca!important;border-radius:4px!important;background:#fff!important;color:#222!important;-webkit-text-fill-color:#222!important;opacity:1!important;text-shadow:none!important;line-height:1.2!important}
#cosmod-theme-content .cosmod-pagination-flash a:hover,#cosmod-theme-content .cosmod-pagination-flash a:focus,#cosmod-theme-content .cosmod-pagination-flash a:active,#cosmod-theme-content .cosmod-pagination-flash a[aria-current=page],#cosmod-theme-content .cosmod-pagination-flash .current,#cosmod-theme-content .cosmod-pagination-flash .active{background:#24211d!important;border-color:#24211d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;text-shadow:none!important}
#cosmod-theme-content .cosmod-pagination-flash a:focus-visible{outline:2px solid #b49a68!important;outline-offset:2px!important}

/* Correct the actual pagination container and active page class */
#cosmod-pagination-flash a.cosmod-lp-page-num{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:40px;min-height:40px;padding:0 10px!important;background:#fff!important;color:#222!important;-webkit-text-fill-color:#222!important;border:1px solid #d6d2ca!important;border-radius:4px!important;opacity:1!important;text-indent:0!important}
#cosmod-pagination-flash a.cosmod-lp-page-num:hover,#cosmod-pagination-flash a.cosmod-lp-page-num:focus,#cosmod-pagination-flash a.cosmod-lp-page-num:active,#cosmod-pagination-flash a.cosmod-lp-page-active{background:#24211d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#24211d!important;opacity:1!important}
#cosmod-pagination-flash a:focus-visible{outline:2px solid #b49a68!important;outline-offset:2px!important}



/* Visual-only finish for the four header controls; keep their layout and positions unchanged. */
@media (min-width: 900px) {
  .cosmod-header__actions .cosmod-icon-btn {
    background: rgba(255,255,255,.07) !important;
    border-radius: 10px !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18) !important;
    transition: background-color .18s ease, box-shadow .18s ease !important;
  }
  .cosmod-header__actions .cosmod-icon-btn:hover,
  .cosmod-header__actions .cosmod-icon-btn:focus-visible {
    background: rgba(255,255,255,.15) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.34), 0 2px 8px rgba(0,0,0,.12) !important;
  }
  .cosmod-header__actions .cosmod-lang__toggle {
    background: #294969 !important;
    color: #fff !important;
    border-color: rgba(255,255,255,.28) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 2px 8px rgba(0,0,0,.12) !important;
  }
  .cosmod-header__actions .cosmod-lang__toggle:hover,
  .cosmod-header__actions .cosmod-lang__toggle:focus-visible {
    background: #355778 !important;
  }
  .cosmod-header__actions .cosmod-cart__badge {
    background: #c5a66b !important;
    color: #172b46 !important;
    box-shadow: 0 0 0 2px #172b46 !important;
  }
}

@media (min-width: 900px) {
  .cosmod-header__actions .cosmod-lang__toggle { background: #456b8e !important; color: #fff !important; border-color: rgba(255,255,255,.5) !important; }
  .cosmod-header__actions .cosmod-lang__toggle,
  .cosmod-header__actions .cosmod-lang__toggle * { color: #fff !important; -webkit-text-fill-color: #fff !important; opacity: 1 !important; }
  .cosmod-header__actions .cosmod-lang__toggle:hover,
  .cosmod-header__actions .cosmod-lang__toggle:focus-visible { background: #52799e !important; }
}

@media (min-width: 900px) {
  .cosmod-header__actions [aria-label^="Language"] { background: #456b8e !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border: 1px solid rgba(255,255,255,.5) !important; box-shadow: 0 2px 8px rgba(0,0,0,.12) !important; }
  .cosmod-header__actions [aria-label^="Language"] * { color: #fff !important; -webkit-text-fill-color: #fff !important; opacity: 1 !important; }
}

/* COSMOD cart palette: navy, warm ivory and champagne gold */
body.woocommerce-cart #cosmod-theme-content .woocommerce-cart-form table.shop_table.cart { background:#fff; border:1px solid #e4e8ed; border-radius:14px; border-collapse:separate; border-spacing:0; overflow:hidden; box-shadow:0 8px 24px rgba(23,43,70,.06); }
body.woocommerce-cart #cosmod-theme-content .woocommerce-cart-form table.shop_table.cart thead th { background:#172b46; color:#fff; border:0; padding:15px 12px; font-size:11px; letter-spacing:.07em; }
body.woocommerce-cart #cosmod-theme-content .woocommerce-cart-form table.shop_table.cart tbody td { padding:15px 12px; border-top:1px solid #e9e5dc; vertical-align:middle; }
body.woocommerce-cart #cosmod-theme-content .woocommerce-cart-form table.shop_table.cart tbody tr:nth-child(even) { background:#faf8f3; }
body.woocommerce-cart #cosmod-theme-content .woocommerce-cart-form .product-name a { color:#172b46; font-weight:600; line-height:1.45; }
body.woocommerce-cart #cosmod-theme-content .woocommerce-cart-form .product-price, body.woocommerce-cart #cosmod-theme-content .woocommerce-cart-form .product-subtotal { color:#172b46; font-weight:600; }
body.woocommerce-cart #cosmod-theme-content .woocommerce-cart-form a.remove { display:inline-flex; align-items:center; justify-content:center; width:27px; height:27px; color:#172b46 !important; background:#f3eee3; border-radius:50%; font-size:19px; line-height:1; }
body.woocommerce-cart #cosmod-theme-content .woocommerce-cart-form a.remove:hover { color:#172b46 !important; background:#c5a66b; }
body.woocommerce-cart #cosmod-theme-content .woocommerce-cart-form .quantity .qty { min-height:38px; border:1px solid #d8dfe7; border-radius:8px; color:#172b46; background:#fff; }
body.woocommerce-cart #cosmod-theme-content .cart-collaterals .cart_totals { padding:24px; background:#f8f5ee; border:1px solid #e6dcc9; border-radius:14px; box-shadow:0 8px 24px rgba(23,43,70,.06); }
body.woocommerce-cart #cosmod-theme-content .cart-collaterals .cart_totals h2 { color:#172b46; padding-bottom:12px; border-bottom:2px solid #c5a66b; }
body.woocommerce-cart #cosmod-theme-content .cart-collaterals .cart_totals table.shop_table { border:0; background:transparent; }
body.woocommerce-cart #cosmod-theme-content .cart-collaterals .cart_totals table.shop_table th, body.woocommerce-cart #cosmod-theme-content .cart-collaterals .cart_totals table.shop_table td { padding:13px 8px; border:0; color:#172b46; background:transparent; }
body.woocommerce-cart #cosmod-theme-content .cart-collaterals .cart_totals tr.order-total th, body.woocommerce-cart #cosmod-theme-content .cart-collaterals .cart_totals tr.order-total td { border-top:1px solid #d8c49c; font-size:17px; font-weight:700; }
body.woocommerce-cart #cosmod-theme-content .wc-proceed-to-checkout a.checkout-button { padding:15px 20px; color:#fff; background:#172b46; border:1px solid #172b46; border-radius:999px; box-shadow:0 5px 14px rgba(23,43,70,.16); font-weight:700; letter-spacing:.04em; transition:background .2s ease,color .2s ease,border-color .2s ease; }
body.woocommerce-cart #cosmod-theme-content .wc-proceed-to-checkout a.checkout-button:hover { color:#172b46; background:#c5a66b; border-color:#c5a66b; }
@media (max-width:767px) { body.woocommerce-cart #cosmod-theme-content .cart-collaterals .cart_totals { padding:18px; } body.woocommerce-cart #cosmod-theme-content .woocommerce-cart-form table.shop_table.cart { border-radius:10px; } }

/* Keep the cart checkout action in COSMOD navy */
body.woocommerce-cart #cosmod-theme-content a.checkout-button, body.woocommerce-cart #cosmod-theme-content .checkout-button { color:#fff !important; background:#172b46 !important; border:1px solid #172b46 !important; }
body.woocommerce-cart #cosmod-theme-content a.checkout-button:hover, body.woocommerce-cart #cosmod-theme-content .checkout-button:hover { color:#172b46 !important; background:#c5a66b !important; border-color:#c5a66b !important; }


/* COSMOD checkout: structured two-column layout in the existing brand palette */
body.woocommerce-checkout #cosmod-theme-content { max-width:1200px !important; margin:0 auto !important; padding:30px 24px 52px !important; box-sizing:border-box; }
body.woocommerce-checkout #cosmod-theme-content > h1 { color:#172b46; text-align:center; margin:0 0 26px; letter-spacing:.12em; }
body.woocommerce-checkout #cosmod-theme-content > h1:after { content:""; display:block; width:54px; height:2px; margin:10px auto 0; background:#c5a66b; }
body.woocommerce-checkout #cosmod-theme-content form.checkout.woocommerce-checkout { display:grid !important; grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr); gap:20px 24px; align-items:start; }
body.woocommerce-checkout #cosmod-theme-content #customer_details { grid-column:1; grid-row:1 / span 2; width:auto !important; float:none !important; margin:0 !important; padding:22px 24px !important; background:#fff; border:1px solid #e8e3d9; border-radius:14px; box-shadow:0 8px 24px rgba(23,43,70,.05); }
body.woocommerce-checkout #cosmod-theme-content #customer_details .col-1, body.woocommerce-checkout #cosmod-theme-content #customer_details .col-2 { width:100% !important; float:none !important; }
body.woocommerce-checkout #cosmod-theme-content #customer_details h3 { color:#172b46; margin:0 0 16px; font-size:21px; }
body.woocommerce-checkout #cosmod-theme-content #customer_details .form-row { margin-bottom:13px; }
body.woocommerce-checkout #cosmod-theme-content #customer_details label { color:#172b46; font-size:13px; font-weight:600; }
body.woocommerce-checkout #cosmod-theme-content #customer_details input.input-text, body.woocommerce-checkout #cosmod-theme-content #customer_details select, body.woocommerce-checkout #cosmod-theme-content #customer_details textarea { min-height:42px; padding:10px 12px; color:#172b46; background:#fff; border:1px solid #d8dfe7; border-radius:8px; box-shadow:none; }
body.woocommerce-checkout #cosmod-theme-content #customer_details textarea { min-height:88px; }
body.woocommerce-checkout #cosmod-theme-content #customer_details input:focus, body.woocommerce-checkout #cosmod-theme-content #customer_details select:focus, body.woocommerce-checkout #cosmod-theme-content #customer_details textarea:focus { border-color:#8a9bb0; outline:2px solid rgba(197,166,107,.22); }
body.woocommerce-checkout #cosmod-theme-content #order_review_heading { grid-column:2; grid-row:1; margin:0 !important; padding:20px 22px 8px !important; color:#172b46; background:#f8f5ee; border:1px solid #e6dcc9; border-bottom:0; border-radius:14px 14px 0 0; font-size:21px; }
body.woocommerce-checkout #cosmod-theme-content #order_review { grid-column:2; grid-row:2; width:auto !important; float:none !important; margin:0 !important; padding:8px 22px 22px !important; background:#f8f5ee; border:1px solid #e6dcc9; border-top:0; border-radius:0 0 14px 14px; box-shadow:0 8px 24px rgba(23,43,70,.05); }
body.woocommerce-checkout #cosmod-theme-content #order_review table.shop_table { width:100%; margin:0 0 14px; border:0; border-collapse:collapse; background:transparent; }
body.woocommerce-checkout #cosmod-theme-content #order_review table.shop_table th, body.woocommerce-checkout #cosmod-theme-content #order_review table.shop_table td { padding:11px 7px; color:#172b46; border-bottom:1px solid #e6dcc9; background:transparent; vertical-align:top; }
body.woocommerce-checkout #cosmod-theme-content #order_review table.shop_table thead th { color:#66758a; font-size:11px; letter-spacing:.08em; }
body.woocommerce-checkout #cosmod-theme-content #order_review table.shop_table .order-total th, body.woocommerce-checkout #cosmod-theme-content #order_review table.shop_table .order-total td { color:#172b46; font-size:18px; font-weight:700; border-top:1px solid #c5a66b; border-bottom:0; }
body.woocommerce-checkout #cosmod-theme-content #order_review .woocommerce-shipping-methods { margin:6px 0 0; padding:0; list-style:none; }
body.woocommerce-checkout #cosmod-theme-content #order_review .woocommerce-shipping-methods li { padding:5px 0; color:#34445b; }
body.woocommerce-checkout #cosmod-theme-content #order_review .woocommerce-shipping-methods label { display:inline; color:#34445b; font-weight:500; }
body.woocommerce-checkout #cosmod-theme-content #order_review #payment { margin-top:18px; padding:16px; background:#fff; border:1px solid #e8e3d9; border-radius:12px; }
body.woocommerce-checkout #cosmod-theme-content #order_review #payment:before { content:"Mode de paiement"; display:block; margin:0 0 12px; color:#172b46; font-family:Georgia,serif; font-size:19px; font-weight:700; }
body.woocommerce-checkout #cosmod-theme-content #order_review #payment ul.payment_methods { margin:0; padding:0; border:0; }
body.woocommerce-checkout #cosmod-theme-content #order_review #payment ul.payment_methods > li { margin:0; padding:10px 8px; color:#172b46; border-bottom:1px solid #eee9df; }
body.woocommerce-checkout #cosmod-theme-content #order_review #payment ul.payment_methods > li:last-child { border-bottom:0; }
body.woocommerce-checkout #cosmod-theme-content #order_review #payment ul.payment_methods > li.wc_payment_method label { color:#172b46; font-weight:600; }
body.woocommerce-checkout #cosmod-theme-content #order_review #payment div.payment_box { margin:10px 0 2px; padding:13px; color:#34445b; background:#f8f5ee; border:1px solid #eee5d3; border-radius:9px; }
body.woocommerce-checkout #cosmod-theme-content #order_review #payment div.payment_box:before { border-bottom-color:#f8f5ee; }
body.woocommerce-checkout #cosmod-theme-content #order_review #payment .place-order { margin:14px 0 0; padding:0; }
body.woocommerce-checkout #cosmod-theme-content #order_review #payment #place_order { width:100%; min-height:48px; padding:13px 20px; color:#fff; background:#172b46; border:1px solid #172b46; border-radius:999px; box-shadow:0 5px 14px rgba(23,43,70,.14); font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; transition:background .2s ease,color .2s ease,border-color .2s ease; }
body.woocommerce-checkout #cosmod-theme-content #order_review #payment #place_order:hover { color:#172b46; background:#c5a66b; border-color:#c5a66b; }
body.woocommerce-checkout #cosmod-theme-content .woocommerce-form-coupon-toggle .woocommerce-info { color:#172b46; background:#f8f5ee; border-top-color:#c5a66b; border-radius:8px; }
@media (max-width:780px) { body.woocommerce-checkout #cosmod-theme-content { padding:22px 14px 36px !important; } body.woocommerce-checkout #cosmod-theme-content form.checkout.woocommerce-checkout { grid-template-columns:minmax(0,1fr); gap:16px; } body.woocommerce-checkout #cosmod-theme-content #customer_details { grid-column:1; grid-row:auto; padding:18px 16px !important; } body.woocommerce-checkout #cosmod-theme-content #order_review_heading { grid-column:1; grid-row:auto; padding:17px 16px 6px !important; } body.woocommerce-checkout #cosmod-theme-content #order_review { grid-column:1; grid-row:auto; padding:8px 16px 16px !important; } body.woocommerce-checkout #cosmod-theme-content #order_review #payment { padding:13px; } }

