/* Aura global visual harmonisation — navy / white / orange */
:root {
  --ep-navy: #1B1F4B;
  --ep-navy-deep: #12132F;
  --ep-accent: #E11D48;
  --ep-accent-hover: #BE123C;
  --ep-ink: #1A1830;
  --ep-muted: #645F80;
  --ep-border: #E6E4F1;
  --ep-surface: #FFFFFF;
  --ep-page: #F7F6FB;
  --ep-radius: 14px;
  --ep-shadow: 0 5px 20px rgba(18, 19, 47, .07);
}
html { scroll-behavior: smooth; }
body { background: var(--ep-page); color: var(--ep-ink); }
.main-content { background: transparent; }
.main-content > * { max-width: 100%; }

/* Header and navigation */
.yc-header, .yc-navbar, .yc-navbar-mobile {
  color: var(--ep-ink);
}
.yc-header, .yc-navbar {
  box-shadow: 0 2px 12px rgba(18, 19, 47, .06);
}
.yc-navbar a, .yc-navbar-mobile a, .menu-list a, .menu-item a {
  transition: color .18s ease, background-color .18s ease;
}
.yc-navbar a:hover, .yc-navbar-mobile a:hover, .menu-list a:hover, .menu-item a:hover {
  color: var(--ep-accent) !important;
}
.ep-retailer-strip { background: var(--ep-navy-deep); color: #fff; }
.ep-retailer-strip a { color: #fff; }

/* Consistent section headings */
.yc-section-title, .yc-featured-products .yc-section-title,
.yc-featured-collections .yc-section-title {
  color: var(--ep-navy) !important;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-top: 28px;
  margin-bottom: 20px;
}

/* Product cards and collection tiles */
.yc-product-card, .product-holder, .product-container,
.collection-block, .yc-featured-container .collection-block {
  border-radius: var(--ep-radius);
}
.yc-product-card, .product-holder {
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  box-shadow: 0 2px 10px rgba(18, 19, 47, .035);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.yc-product-card:hover, .product-holder:hover {
  transform: translateY(-3px);
  border-color: #D4DCEC;
  box-shadow: var(--ep-shadow);
}
.yc-product-card .product-name, .product-holder .product-title,
.product-holder .product-name, .yc-product-card .product-title {
  color: var(--ep-ink);
  font-weight: 650;
}
.yc-product-card .price, .product-holder .price,
.product-price, .product-price-container {
  color: var(--ep-navy);
  font-weight: 800;
}
.collection-block {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ep-border);
  box-shadow: 0 2px 10px rgba(18, 19, 47, .04);
}
.collection-name { color: var(--ep-navy); font-weight: 750; }

/* Buttons and interactive controls */
.yc-btn, .primary-button, .add-to-cart-btn, .checkout_cta,
.product-btn, button.primary-button {
  background: var(--ep-accent) !important;
  border-color: var(--ep-accent) !important;
  color: #fff !important;
  border-radius: 9px;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.yc-btn:hover, .primary-button:hover, .add-to-cart-btn:hover,
.checkout_cta:hover, .product-btn:hover {
  background: var(--ep-accent-hover) !important;
  border-color: var(--ep-accent-hover) !important;
  color: #fff !important;
}
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  border-color: var(--ep-border);
  border-radius: 8px;
}
input:focus, select:focus, textarea:focus {
  border-color: #8D9BC0 !important;
  outline: 2px solid rgba(27, 31, 75, .10) !important;
}

/* Product detail page */
.yc-single-product, .product-details, .product-images-container {
  color: var(--ep-ink);
}
.product-name { color: var(--ep-navy); font-weight: 800; line-height: 1.25; }
.product-description { color: #4B4868; line-height: 1.75; }
.product-option, .product-options, .compare-container {
  border-color: var(--ep-border);
}
.thumbnail-images img, .main-image img { border-radius: 10px; }

/* Standard content pages, search, cart and checkout */
.template-page .yc-page, .template-page .yc-page-container,
.template-search .main-content, .template-cart .yc-cart,
.template-cart .summary-box, .template-cart .cart-items-container,
.template-search .product-listing-container {
  color: var(--ep-ink);
}
.yc-page, .yc-page-container, .contact-us, .contact-form,
.summary-box, .cart-items-container, .empty-cart {
  border-radius: var(--ep-radius);
}
.summary-box, .contact-form, .contact-details {
  background: #fff;
  border: 1px solid var(--ep-border);
  box-shadow: 0 2px 12px rgba(18, 19, 47, .035);
}
.breadcrumbs-container, .breadcrumbs-wrapper { color: var(--ep-muted); }

/* Footer */
.yc-footer {
  background: var(--ep-navy-deep);
  color: rgba(255,255,255,.88);
  margin-top: 34px;
}
.yc-footer .title, .yc-footer .copyright-title { color: #fff; font-weight: 750; }
.yc-footer a { color: rgba(255,255,255,.82); }
.yc-footer a:hover { color: #FFB36F; }
.yc-footer .social-icon { border-radius: 50%; }

/* Notice bar and trust elements */
.yc-notice { background: var(--ep-navy); color: #fff; }
.yc-notice a { color: #fff; }

/* Prevent oversized empty blocks on common templates */
.template-index .main-content, .template-page .main-content,
.template-search .main-content, .template-cart .main-content,
.template-product .main-content, .template-collection .main-content {
  min-height: 0;
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  .yc-section-title, .yc-featured-products .yc-section-title,
  .yc-featured-collections .yc-section-title {
    font-size: 22px;
    margin: 22px auto 15px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .yc-product-card, .product-holder { border-radius: 11px; }
  .yc-footer { margin-top: 24px; }
  .template-page .yc-page, .template-page .yc-page-container { padding-left: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Aura v1.1 — catalogue, search and collection page refinement */
.template-collection .ep-collection-page,
.template-search .yc-search-100,
.template-search .yc-featured-products {
  width: min(100% - 28px, 1320px);
  margin-left: auto;
  margin-right: auto;
}
.ep-collection-intro {
  padding: 18px 0 8px;
}
.ep-collection-intro .collection-page-title,
#search-title {
  color: var(--ep-navy, #1B1F4B);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.ep-collection-description {
  max-width: 850px;
  color: var(--ep-muted, #645F80);
  line-height: 1.65;
}
.ep-collection-page .collection-heading {
  display: flex;
  justify-content: flex-end;
  margin: 14px 0 8px;
}
.ep-collection-page .sort-container {
  padding: 0;
  background: transparent;
}
.ep-collection-page .ep-catalog-toolbar,
.template-search .ep-catalog-toolbar {
  border: 1px solid var(--ep-border, #E6E4F1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(18, 19, 47,.045);
}
.ep-suggest-host { z-index: 30; }
.ep-suggest {
  border-color: #DCE2EE;
  box-shadow: 0 18px 42px rgba(18, 19, 47,.20);
}
.ep-suggest__prod { min-height: 62px; }
.ep-suggest__prod .ep-suggest__price { margin-inline-start: auto; }
@media (max-width: 767px) {
  .template-collection .ep-collection-page,
  .template-search .yc-featured-products {
    width: calc(100% - 20px);
  }
  .ep-collection-intro { padding-top: 12px; }
  .ep-collection-page .collection-heading { justify-content: stretch; }
}


/* FIX v1.2 — menus déroulants toujours au premier plan */
.yc-header {
  position: relative !important;
  z-index: 120 !important;
  isolation: isolate;
}
.yc-header .yc-navbar,
.yc-header .yc-navbar .menu,
.yc-header .yc-navbar .menu-list,
.yc-header .yc-navbar .menu-item {
  overflow: visible !important;
}
.yc-header .yc-navbar .menu-list {
  position: relative;
  z-index: 121 !important;
}
.yc-header .yc-navbar .menu-item[data-has-submenu="true"] {
  position: relative;
  z-index: 122;
}
.yc-header .yc-navbar .menu-item[data-has-submenu="true"]:hover,
.yc-header .yc-navbar .menu-item[data-has-submenu="true"]:focus-within,
.yc-header .yc-navbar .menu-item[data-has-submenu="true"].is-open {
  z-index: 123 !important;
}
.yc-header .yc-navbar .menu-item .sub-links {
  z-index: 1240 !important;
  max-height: min(70vh, 520px);
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.ep-desktop-search-bar,
#searchInputHolder,
.ep-suggest-host {
  z-index: 30 !important;
}
@media (max-width: 767px) {
  .yc-header {
    z-index: 120 !important;
  }
  .yc-header .yc-navbar .menu-item .sub-links {
    max-width: min(82vw, 320px);
    max-height: 65vh;
  }
}

