/* ELEGANT STEP — SELIA FULL UI CSS V8.1 | Brand gold #E7C558 */

/* 01 — DESIGN TOKENS / SELIA VARIABLES */
html.selia-theme:not(.dark) {
  --es-paper: #ffffff;
  --es-canvas: #fcfaf7;
  --es-ivory: #f7f4ee;
  --es-cream: #fffdf8;
  --es-sand: #efe7da;
  --es-ink: #29251f;
  --es-muted: #6c655c;
  --es-gold: #E7C558;
  --es-gold-deep: #E7C558;
  --es-gold-light: #E7C558;
  --es-border: #e8e1d5;
  --es-content: 1240px;
  --es-radius: 15px;
  --es-shadow: 0 5px 20px rgba(65, 44, 17, .055);
  --es-shadow-hover: 0 12px 30px rgba(65, 44, 17, .11);

  --color-primary: #29251f;
  --color-primary-dark: #211d19;
  --color-primary-light: #5a5247;
  --color-primary-reverse: #ffffff;
  --bg-primary: #fcfaf7;
  --bg-secondary: #ffffff;
  --header-bg: #fffdf9;
  --header-text-color: #29251f;
  --store-text-primary: #29251f;
  --store-text-secondary: #6c655c;
  --product-bg: #ffffff;
  --product-border-color: #e8e1d5;
  --product-enhanced-btn-bg: #29251f;
  --product-enhanced-btn-color: #ffffff;
  --footer-bg: #f7f4ee;
  --footer-text-color: #29251f;
  --bottom-footer-bg: #efe7da;
  --bottom-nav-bg: #fffdf9;
  --bottom-nav-text-color: #29251f;
  --s-radius: .85rem;
}

html.selia-theme:not(.dark) body#app {
  color: var(--es-ink);
  background: var(--es-canvas);
  font-family: var(--font-main, 'PingARLT'), sans-serif;
  -webkit-font-smoothing: antialiased;
}
html.selia-theme:not(.dark) body#app .app-inner {
  background: var(--es-canvas);
}
body.index main > .s-block .container,
body.index main > .advanced-slider .container {
  max-width: var(--es-content, 1240px);
}
body.index main > .s-block { scroll-margin-top: 95px; }

/* 02 — NATIVE PROMOTIONAL STRIP; existing HTML has red/yellow inline styles */
html.selia-theme:not(.dark) .promotion-banner {
  background: #f1e7d3 !important;
  color: #392f21 !important;
  border-bottom: 1px solid #e5d8bd;
}
html.selia-theme:not(.dark) .promotion-banner__inner a {
  color: #392f21 !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  text-decoration: none;
}
html.selia-theme:not(.dark) .promotion-banner__inner a:hover {
  color: var(--es-gold-deep) !important;
}
html.selia-theme:not(.dark) .promotion-banner__close { color: #392f21; }
/* Custom marquee colors must also be set in its builder; not via CSS. */
body.index main > .s-block--bundle-marquee {
  margin: 0;
  padding: 0;
}

/* 03 — GLASS IVORY HEADER: retain original header positioning/JS behavior */
html.selia-theme:not(.dark) .store-header,
html.selia-theme:not(.dark) .store-header #mainnav,
html.selia-theme:not(.dark) .store-header .main-nav-container,
html.selia-theme:not(.dark) .store-header .main-nav-container > .inner {
  background-color: rgba(255, 253, 249, .96) !important;
  color: var(--es-ink) !important;
}
html.selia-theme:not(.dark) .store-header {
  border-bottom: 1px solid rgba(231,197,88,.18);
  box-shadow: 0 5px 19px rgba(48, 35, 14, .07);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}
html.selia-theme:not(.dark) .store-header .header__main-row {
  min-height: 72px;
  gap: 8px;
  align-items: center;
}
.store-header .header__main-start,
.store-header .header__main-end,
.store-header .header__brand { min-width: 0; }
.store-header .header__brand { flex: 0 1 auto; }
.store-header .navbar-brand {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.store-header .navbar-brand img {
  width: auto;
  max-width: min(170px, 100%);
  max-height: 52px;
  object-fit: contain;
}
html.selia-theme:not(.dark) .store-header .header-btn__icon,
html.selia-theme:not(.dark) .store-header .mburger,
html.selia-theme:not(.dark) .store-header .menu-label,
html.selia-theme:not(.dark) .store-header .theme-toggle {
  color: var(--es-ink) !important;
}
.store-header .header__search-btn,
.store-header .header-btn,
.store-header .mburger,
.store-header .theme-toggle {
  border-radius: 11px;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .store-header .header__search-btn:hover,
  .store-header .header-btn:hover,
  .store-header .mburger:hover,
  .store-header .theme-toggle:hover {
    background: #f6eedf;
    color: var(--es-gold-deep) !important;
    box-shadow: 0 0 0 1px rgba(231,197,88,.17);
  }
}

/* Desktop nav: applies colors only, without interfering with dropdown state. */
@media (min-width: 1024px) {
  html.selia-theme:not(.dark) .store-header .main-menu-row,
  html.selia-theme:not(.dark) .store-header #mobile-menu,
  html.selia-theme:not(.dark) .store-header #mobile-menu > .main-menu {
    background: rgba(255,253,249,.96) !important;
    color: var(--es-ink);
  }
  html.selia-theme:not(.dark) .store-header .main-menu-row {
    border-top: 1px solid #eee5d8;
  }
  html.selia-theme:not(.dark) .store-header #mobile-menu > .main-menu > .main-menu__item {
    font-size: 13px;
    font-weight: 600;
  }
}
html.selia-theme:not(.dark) .store-header .main-menu__link,
html.selia-theme:not(.dark) .store-header .main-menu__parent-label,
html.selia-theme:not(.dark) .store-header .main-menu__view-all a {
  color: var(--es-ink) !important;
}
html.selia-theme:not(.dark) .store-header .main-menu__link:hover,
html.selia-theme:not(.dark) .store-header .main-menu__parent-label:hover,
html.selia-theme:not(.dark) .store-header .main-menu__view-all a:hover {
  color: var(--es-gold-deep) !important;
}

/* 04 — MOBILE DRAWER: glass appearance, normal native open/close. */
@media (max-width: 1023px) {
  html.selia-theme:not(.dark) .store-header #mobile-menu {
    background: rgba(255, 253, 249, .97) !important;
    color: var(--es-ink) !important;
    border-inline-end: 1px solid rgba(231,197,88,.22);
    box-shadow: 8px 0 35px rgba(41,32,17,.12);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
  }
  html.selia-theme:not(.dark) .store-header #mobile-menu .main-menu,
  html.selia-theme:not(.dark) .store-header #mobile-menu .main-menu > li > ul,
  html.selia-theme:not(.dark) .store-header #mobile-menu .main-menu__item > ul {
    background: transparent !important;
    color: var(--es-ink) !important;
  }
  html.selia-theme:not(.dark) .store-header #mobile-menu .main-menu__link,
  html.selia-theme:not(.dark) .store-header #mobile-menu .main-menu__parent-label,
  html.selia-theme:not(.dark) .store-header #mobile-menu .main-menu__view-all a {
    color: #342d24 !important;
    font-size: 14px;
    line-height: 1.7;
    min-height: 44px;
    border-radius: 10px;
    transition: color .18s ease, background-color .18s ease;
  }
  html.selia-theme:not(.dark) .store-header #mobile-menu .main-menu__link:hover,
  html.selia-theme:not(.dark) .store-header #mobile-menu .main-menu__parent-label:hover,
  html.selia-theme:not(.dark) .store-header #mobile-menu .main-menu__view-all a:hover {
    color: var(--es-gold-deep) !important;
    background-color: rgba(231,197,88,.075);
  }
  html.selia-theme:not(.dark) .store-header #mobile-menu .main-menu__view-all a {
    font-weight: 700;
    color: var(--es-gold-deep) !important;
  }
  html.selia-theme:not(.dark) .store-header .close-mobile-menu,
  html.selia-theme:not(.dark) .store-header .btn--close-sm {
    color: #362d21 !important;
    background-color: rgba(255,255,255,.9);
    border: 1px solid #e6dac7;
    border-radius: 10px;
  }
  /* No forced position/display/visibility/transform: Selia manages the drawer. */
}

/* 05 — HERO: responsive, bounded (do not overwrite native slider state). */
body.index main > .advanced-slider {
  --sliderHeight: clamp(475px, 63vh, 715px) !important;
  --mobileSliderHeight: clamp(425px, 66svh, 610px) !important;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #eae0d2;
}
body.index .advanced-slider__slide {
  position: relative;
  overflow: hidden;
}
body.index .advanced-slider__image {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}
body.index .advanced-slider__caption { z-index: 2; }
body.index .advanced-slider__caption__inner__content {
  max-width: 545px;
  padding-block: 14px;
}
body.index .advanced-slider__caption__inner__content__heading {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 1.33;
  font-weight: 700;
  letter-spacing: -.015em;
  text-shadow: 0 2px 14px rgba(0,0,0,.20);
}
body.index .advanced-slider__caption__inner__content__text {
  max-width: 490px;
  margin-top: 10px;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0,0,0,.22);
}
body.index .advanced-slider__caption__inner__content__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 150px;
  margin-top: 12px;
  padding: 10px 21px;
  background: var(--es-gold-light) !important;
  color: #332714 !important;
  border: 1px solid #E7C558;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(34,25,9,.15);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.index .advanced-slider__caption__inner__content__button:not([href]) {
  cursor: default;
  box-shadow: none;
}
@media (hover:hover) and (pointer:fine) {
  body.index .advanced-slider__caption__inner__content__button[href]:hover {
    background: #E7C558 !important;
    transform: translateY(-2px);
    box-shadow: 0 11px 24px rgba(34,25,9,.17);
  }
}

/* 06 — HOMEPAGE SECTION RHYTHM */
body.index main > .s-block--square-links,
body.index main > .s-block--product-tabs {
  padding-block: clamp(36px, 4vw, 56px);
  background: var(--es-canvas);
}
body.index main > .s-block--fixed-banner,
body.index main > .s-block--custom-products,
body.index main > .s-block--bundle-text-content,
body.index main > .s-block--bundle-html-content {
  background: var(--es-canvas);
}
body.index .home-block-title { margin-bottom: 25px; }
body.index .square-links__title,
body.index .product-tabs__title {
  margin: 0;
  color: var(--es-ink) !important;
  font-size: clamp(23px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.5;
}
body.index .square-links__subtitle,
body.index .product-tabs__subtitle {
  max-width: 720px;
  margin-inline: auto;
  color: var(--es-muted) !important;
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.85;
}
body.index .enhanced-title-border,
body.index .home-block-line {
  border-color: var(--es-gold);
  background: linear-gradient(90deg, transparent, var(--es-gold), transparent);
}

/* 07 — BRAND CATEGORY CARDS: EDGE GLOW, not a heavy all-over glow. */
body.index .square-links__grid {
  column-gap: clamp(11px, 1.55vw, 20px);
  row-gap: clamp(13px, 1.7vw, 23px);
}
body.index .square-links__item { min-width: 0; }
body.index .square-links__item > a {
  display: block;
  text-decoration: none;
}
body.index .square-links__item > a:not([href]) { cursor: default; }
body.index .square-links__image-wrap {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #E7C558;
  border-radius: 15px;
  background: #f5eee3;
  box-shadow: var(--es-shadow);
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
body.index .square-links__image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
/* Inset gold rim is visible even when the source brand image has dark edges. */
body.index .square-links__image-wrap::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 0 2px rgba(231,197,88,.92),
              inset 0 0 18px rgba(231,197,88,.21);
  transition: opacity .24s ease;
}
@media (hover:hover) and (pointer:fine) {
  body.index .square-links__item:hover .square-links__image-wrap {
    border-color: #E7C558;
    box-shadow: 0 0 0 2px rgba(231,197,88,.40),
                0 0 20px rgba(231,197,88,.28),
                0 10px 25px rgba(62,40,11,.10);
    transform: translateY(-3px);
  }
  body.index .square-links__item:hover .square-links__image-wrap::after { opacity: 1; }
  body.index .square-links__item:hover .square-links__image-wrap img { transform: scale(1.025); }
}
body.index .square-links__item:focus-within .square-links__image-wrap {
  border-color: var(--es-gold-deep);
  box-shadow: 0 0 0 2px rgba(231,197,88,.30), 0 0 18px rgba(231,197,88,.16);
}
body.index .square-links__item:focus-within .square-links__image-wrap::after { opacity: 1; }
body.index .square-links__item-title {
  color: var(--es-ink) !important;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
}
body.index .square-links__item-subtitle {
  color: var(--es-muted) !important;
  font-size: 12px;
}

/* 08 — PRODUCT TABS */
body.index .s-block--product-tabs .btn-tabs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
}
body.index .s-block--product-tabs .product-tab {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #dfd4c1;
  border-radius: 999px;
  background: #fff;
  color: var(--es-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  box-shadow: none;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
body.index .s-block--product-tabs .product-tab.active,
body.index .s-block--product-tabs .product-tab[aria-selected='true'] {
  background: #E7C558;
  border-color: #E7C558;
  color: #372914;
  box-shadow: 0 3px 12px rgba(231,197,88,.12);
}
@media (hover:hover) and (pointer:fine) {
  body.index .s-block--product-tabs .product-tab:not(.active):hover {
    background: #faf5eb;
    border-color: var(--es-gold);
    color: var(--es-gold-deep);
  }
}

/* 09 — PRODUCT CARD FALLBACKS. Web components may have Shadow DOM. */
body.index .s-block--product-tabs custom-salla-product-card,
body.index .s-block--custom-products custom-salla-product-card {
  border-radius: var(--es-radius);
}
html.selia-theme:not(.dark) .s-product-card-entry,
html.selia-theme:not(.dark) .s-products-slider-card {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  overflow: hidden;
  box-shadow: var(--es-shadow);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
html.selia-theme:not(.dark) .s-product-card-image { background: #faf8f4; }
html.selia-theme:not(.dark) .s-product-card-content-title a,
html.selia-theme:not(.dark) .s-product-card-entry__title a {
  color: var(--es-ink);
  line-height: 1.6;
}
html.selia-theme:not(.dark) .s-product-card-price,
html.selia-theme:not(.dark) .s-product-card-entry__price {
  color: var(--es-gold-deep);
  font-weight: 700;
}
@media (hover:hover) and (pointer:fine) {
  html.selia-theme:not(.dark) .s-product-card-entry:hover,
  html.selia-theme:not(.dark) .s-products-slider-card:hover {
    border-color: #E7C558;
    box-shadow: var(--es-shadow-hover);
    transform: translateY(-2px);
  }
}
/* Native cart/search/quick-view buttons intentionally retain their own styles. */

/* 10 — CATEGORY CAMPAIGN BANNERS */
body.index main > .s-block--fixed-banner {
  padding-block: clamp(11px, 1.5vw, 19px);
}
body.index .s-block--fixed-banner .banner--fixed {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 13px;
  background: #f4ede2;
  box-shadow: 0 5px 17px rgba(45,31,10,.06);
  transition: box-shadow .22s ease, transform .22s ease;
}
body.index .s-block--fixed-banner .banner--fixed img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
body.index .s-block--three-banners .three-banners__row {
  gap: clamp(10px, 1.4vw, 18px);
}
@media (min-width: 640px) {
  body.index .s-block--three-banners .three-banners__row > .banner--fixed {
    flex: 1 1 0;
    min-width: 0;
  }
}
@media (hover:hover) and (pointer:fine) {
  body.index .s-block--fixed-banner a.banner--fixed[href]:hover {
    box-shadow: var(--es-shadow-hover);
    transform: translateY(-2px);
  }
}
/* Existing .es-benefits / .es-glass-faq components own their inner styles. */

/* 11 — CLEAN IVORY FOOTER */
html.selia-theme:not(.dark) footer.store-footer,
html.selia-theme:not(.dark) footer.store-footer .store-footer__inner {
  background: var(--es-ivory) !important;
  color: var(--es-ink) !important;
}
html.selia-theme:not(.dark) footer.store-footer {
  border-top: 1px solid var(--es-border);
}
html.selia-theme:not(.dark) .store-footer__curve {
  color: var(--es-ivory);
  fill: var(--es-ivory);
}
html.selia-theme:not(.dark) .store-footer__inner {
  padding-block: 42px 28px;
}
html.selia-theme:not(.dark) .store-footer__menu-title {
  color: var(--es-ink) !important;
  font-size: 17px;
  font-weight: 700;
}
html.selia-theme:not(.dark) .store-footer__menu-link,
html.selia-theme:not(.dark) .store-footer__sbc-link {
  color: var(--es-muted) !important;
  line-height: 1.75;
  text-decoration: none;
}
html.selia-theme:not(.dark) .store-footer__menu-link:hover {
  color: var(--es-gold-deep) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
html.selia-theme:not(.dark) .store-footer .footer-description,
html.selia-theme:not(.dark) .store-footer .footer-description * {
  color: var(--es-muted);
  line-height: 1.9;
}
html.selia-theme:not(.dark) .store-footer__logo-link img {
  max-width: 175px;
  height: auto;
  object-fit: contain;
}
html.selia-theme:not(.dark) .store-footer .footer-bottom {
  background: #efe7da !important;
  border-top: 1px solid #e2d6c3;
  color: #544b40;
}
html.selia-theme:not(.dark) .store-footer .footer-bottom a { color: #6a512c; }

/* 12 — ACCESSIBILITY AND RESPONSIVE POLISH */
html.selia-theme:not(.dark) a:focus-visible,
html.selia-theme:not(.dark) button:focus-visible,
html.selia-theme:not(.dark) summary:focus-visible {
  outline: 2px solid var(--es-gold-deep);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  html.selia-theme:not(.dark) .store-header .header__main-row {
    min-height: 62px;
    gap: 3px;
  }
  .store-header .header__main-start,
  .store-header .header__main-end { gap: 2px; }
  .store-header .navbar-brand img {
    max-width: min(116px,100%);
    max-height: 46px;
  }
  .store-header .header__search-btn,
  .store-header .header-btn,
  .store-header .theme-toggle {
    min-width: 36px;
    min-height: 42px;
  }
  .store-header .mburger {
    min-width: 32px;
    min-height: 42px;
    align-items: center;
  }
  body.index main > .advanced-slider {
    --sliderHeight: clamp(425px, 66svh, 610px) !important;
    --mobileSliderHeight: clamp(425px, 66svh, 610px) !important;
  }
  body.index .advanced-slider__image { object-position: 60% center; }
  body.index .advanced-slider__caption__inner__content {
    max-width: 96%;
    padding-block: 12px;
  }
  body.index .advanced-slider__caption__inner__content__heading {
    font-size: clamp(25px, 6vw, 34px);
    line-height: 1.4;
  }
  body.index .advanced-slider__caption__inner__content__text {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.75;
  }
  body.index .advanced-slider__caption__inner__content__button {
    min-height: 44px;
    min-width: 140px;
    margin-top: 10px;
    padding: 9px 16px;
    font-size: 13px;
  }
  body.index main > .s-block--square-links,
  body.index main > .s-block--product-tabs { padding-block: 34px; }
  body.index .home-block-title { margin-bottom: 19px; }
  body.index .square-links__title,
  body.index .product-tabs__title { font-size: 23px; }
  body.index .square-links__grid { gap: 11px; }
  body.index .square-links__image-wrap { border-radius: 12px; }
  body.index .square-links__item-title { font-size: 13px; }
  body.index .s-block--product-tabs .btn-tabs-container {
    gap: 7px;
    margin-bottom: 19px;
  }
  body.index .s-block--product-tabs .product-tab {
    min-height: 44px;
    padding: 9px 13px;
    font-size: 12px;
  }
  body.index .s-block--fixed-banner .banner--fixed { border-radius: 10px; }
  html.selia-theme:not(.dark) .store-footer__inner { padding-block: 29px 18px; }
  html.selia-theme:not(.dark) .store-footer__menu-title { font-size: 16px; }
}

/* On mobile, brand tiles use horizontal swipe instead of five tall rows. */
@media (max-width: 639px) {
  body.index .square-links__grid {
    display: grid;
    grid-template-columns: none !important;
    grid-template-rows: 1fr;
    grid-auto-flow: column;
    grid-auto-columns: minmax(132px, 42%);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 12px;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }
  body.index .square-links__grid > .square-links__item {
    scroll-snap-align: start;
  }
}
@media (max-width: 390px) {
  .store-header .header__main-row { gap: 1px; }
  .store-header .navbar-brand img { max-width: min(104px,100%); }
  .store-header .header__cart-summary { margin-inline-start: 5px; }
  body.index .advanced-slider__caption__inner__content__heading { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-header .header__search-btn,
  .store-header .header-btn,
  .store-header .mburger,
  .store-header .theme-toggle,
  body.index .advanced-slider__caption__inner__content__button,
  body.index .square-links__image-wrap,
  body.index .square-links__image-wrap::after,
  body.index .square-links__image-wrap img,
  body.index .s-block--product-tabs .product-tab,
  body.index .s-block--fixed-banner .banner--fixed,
  html.selia-theme:not(.dark) .s-product-card-entry,
  html.selia-theme:not(.dark) .s-products-slider-card {
    transition: none !important;
    animation: none !important;
  }
  body.index .square-links__item:hover .square-links__image-wrap,
  body.index .square-links__item:hover .square-links__image-wrap img,
  body.index .s-block--fixed-banner a.banner--fixed[href]:hover,
  html.selia-theme:not(.dark) .s-product-card-entry:hover,
  html.selia-theme:not(.dark) .s-products-slider-card:hover {
    transform: none;
  }
  body.index .square-links__grid { scroll-snap-type: none; }
}

/* ================================================================
   ELEGANT STEP | SIGNATURE GOLD OVERRIDE V8.1
   GOLD = #E7C558 ONLY; neutral ivory, white, and dark ink are retained.
   Paste AFTER all existing CSS, or use the merged CSS file alone.
   No JS, no position/display overrides for the Salla mobile drawer.
   ================================================================ */

/* 1. Unified brand color tokens */
html.selia-theme:not(.dark) {
  --es-gold: #E7C558;
  --es-gold-light: #E7C558;
  --es-gold-deep: #E7C558;
  --es-gold-glow: rgba(231,197,88,.25);
  --gold: #E7C558;
  --gold-light: #E7C558;
  --gold-dim: #E7C558;
  --najd: #E7C558;
  --gold-pale: #E7C558;
  --gold-accent: #E7C558;
}

/* 2. Header + navigation: gold outlines, legible dark labels */
html.selia-theme:not(.dark) .store-header {
  border-bottom-color: rgba(231,197,88,.54) !important;
}
html.selia-theme:not(.dark) .store-header .main-menu-row {
  border-top-color: rgba(231,197,88,.28) !important;
}
html.selia-theme:not(.dark) .store-header :is(
  .header__search-btn,.header-btn,.mburger,.theme-toggle
):is(:hover,:focus-visible) {
  background-color: rgba(231,197,88,.12) !important;
  box-shadow: 0 0 0 1px rgba(231,197,88,.65) !important;
  color: #29251F !important;
}
html.selia-theme:not(.dark) .store-header :is(
  .main-menu__link,.main-menu__parent-label,.main-menu__view-all a
):is(:hover,:focus-visible) {
  color: #29251F !important;
  background-color: rgba(231,197,88,.12) !important;
}
@media (max-width:1023px) {
  html.selia-theme:not(.dark) .store-header #mobile-menu {
    border-inline-end-color: rgba(231,197,88,.47) !important;
  }
  html.selia-theme:not(.dark) .store-header #mobile-menu :is(
    .main-menu__link,.main-menu__parent-label,.main-menu__view-all a
  ):is(:hover,:focus-visible) {
    background-color: rgba(231,197,88,.15) !important;
    color: #29251F !important;
  }
}

/* 3. Hero CTA and text: exact gold button, no pale-on-pale text */
html.selia-theme:not(.dark) body.index .advanced-slider__caption__inner__content__heading,
html.selia-theme:not(.dark) body.index .advanced-slider__caption__inner__content__text {
  color: #fff !important;
  text-shadow: 0 2px 13px rgba(0,0,0,.68) !important;
}
html.selia-theme:not(.dark) body.index .advanced-slider__caption__inner__content__button,
html.selia-theme:not(.dark) body.index .advanced-slider__caption__inner__content__button {
  background: #E7C558 !important;
  border-color: #E7C558 !important;
  color: #29251F !important;
  text-shadow: none !important;
  box-shadow: 0 6px 22px rgba(24,18,8,.20) !important;
}
html.selia-theme:not(.dark) body.index .advanced-slider__caption__inner__content__button[href]:hover {
  background: #E7C558 !important;
  color: #29251F !important;
  filter: brightness(.97);
  box-shadow: 0 9px 25px rgba(231,197,88,.34) !important;
}

/* 4. Decorative section underlines / native promotional bar */
html.selia-theme:not(.dark) .promotion-banner {
  border-bottom-color: rgba(231,197,88,.62) !important;
}
html.selia-theme:not(.dark) .promotion-banner__inner a:hover {
  color: #29251F !important;
  text-decoration: underline;
  text-decoration-color: #E7C558;
  text-underline-offset: 3px;
}
html.selia-theme:not(.dark) body.index :is(.enhanced-title-border,.home-block-line) {
  background: linear-gradient(90deg,transparent,#E7C558,transparent) !important;
  border-color: #E7C558 !important;
}

/* 5. Brand tiles: one gold for normal rims, hover and keyboard focus */
html.selia-theme:not(.dark) body.index .square-links__image-wrap {
  border-color: #E7C558 !important;
}
html.selia-theme:not(.dark) body.index .square-links__image-wrap::after {
  box-shadow: inset 0 0 0 2px #E7C558,
              inset 0 0 18px rgba(231,197,88,.24) !important;
}
@media (hover:hover) and (pointer:fine) {
  html.selia-theme:not(.dark) body.index .square-links__item:hover .square-links__image-wrap {
    border-color: #E7C558 !important;
    box-shadow: 0 0 0 2px rgba(231,197,88,.50),
                0 0 24px rgba(231,197,88,.36),
                0 10px 25px rgba(62,40,11,.08) !important;
  }
}
html.selia-theme:not(.dark) body.index .square-links__item:focus-within .square-links__image-wrap {
  border-color: #E7C558 !important;
  box-shadow: 0 0 0 2px rgba(231,197,88,.65),
              0 0 22px rgba(231,197,88,.30) !important;
}

/* 6. Product tabs and cards */
html.selia-theme:not(.dark) body.index .s-block--product-tabs .product-tab.active,
html.selia-theme:not(.dark) body.index .s-block--product-tabs .product-tab[aria-selected='true'] {
  background: #E7C558 !important;
  border-color: #E7C558 !important;
  color: #29251F !important;
  box-shadow: 0 4px 14px rgba(231,197,88,.26) !important;
}
html.selia-theme:not(.dark) body.index .s-block--product-tabs .product-tab:not(.active):hover {
  border-color: #E7C558 !important;
  background: rgba(231,197,88,.13) !important;
  color: #29251F !important;
}
html.selia-theme:not(.dark) :is(
  .s-product-card-entry,.s-products-slider-card
):hover {
  border-color: #E7C558 !important;
  box-shadow: 0 5px 22px rgba(231,197,88,.18) !important;
}
/* Pricing remains dark for readable contrast on white product cards. */
html.selia-theme:not(.dark) :is(
  .s-product-card-price,.s-product-card-entry__price
) { color: #29251F !important; }

/* 7. HTML benefit cards (scoped; works if CSS is embedded inside block) */
.es-benefits {
  --es-gold: #E7C558 !important;
  --es-border: #E8E1D5;
}
.es-benefits__icon { color: #E7C558 !important; }
.es-benefits__line { background: #E7C558 !important; }
.es-benefits__card:hover,
.es-benefits__card:focus-within {
  border-color: #E7C558 !important;
  box-shadow: 0 0 20px rgba(231,197,88,.23) !important;
}

/* 8. Glass Ivory FAQ — all glowing accents use signature gold */
.es-glass-faq {
  --gold: #E7C558 !important;
  --gold-light: #E7C558 !important;
}
.es-glass-faq__line {
  background: linear-gradient(90deg,transparent,#E7C558,transparent) !important;
}
.es-glass-faq__item:hover,
.es-glass-faq__item[open] {
  border-color: #E7C558 !important;
  box-shadow: 0 0 0 1px rgba(231,197,88,.11),
              0 0 25px rgba(231,197,88,.21) !important;
}
.es-glass-faq__icon {
  color: #29251F !important;
  background: rgba(231,197,88,.18) !important;
  border-color: #E7C558 !important;
}
.es-glass-faq__toggle { border-color: #E7C558 !important; }
.es-glass-faq__toggle::before,
.es-glass-faq__toggle::after { background: #E7C558 !important; }
.es-glass-faq__eyebrow,
.es-glass-faq__footer strong { color: #29251F !important; }

/* 9. Campaign images: affect wrapper, NEVER recolor embedded artwork */
html.selia-theme:not(.dark) body.index .s-block--fixed-banner .banner--fixed {
  border: 1px solid rgba(231,197,88,.55) !important;
}
html.selia-theme:not(.dark) body.index .s-block--fixed-banner a.banner--fixed[href]:hover {
  box-shadow: 0 5px 20px rgba(231,197,88,.23) !important;
}

/* 10. Footer + keyboard focus */
html.selia-theme:not(.dark) footer.store-footer {
  border-top-color: rgba(231,197,88,.55) !important;
}
html.selia-theme:not(.dark) .store-footer__menu-link:hover {
  color: #29251F !important;
  text-decoration-color: #E7C558 !important;
}
html.selia-theme:not(.dark) :is(a,button,summary):focus-visible {
  outline: 2px solid #E7C558 !important;
  outline-offset: 3px;
}

/* 11. PDP shipping glow keeps the exact gold; local remains green. */
.es-shipping-badge--international {
  color: #29251F !important;
  border-color: #E7C558 !important;
  background: rgba(231,197,88,.12) !important;
  box-shadow: 0 0 0 1px rgba(231,197,88,.12),
              0 0 19px rgba(231,197,88,.26) !important;
}
.es-shipping-badge--international::before {
  background: #E7C558 !important;
  box-shadow: 0 0 8px rgba(231,197,88,.52) !important;
}

@media (prefers-reduced-motion: reduce) {
  html.selia-theme:not(.dark) body.index .square-links__image-wrap,
  html.selia-theme:not(.dark) body.index .square-links__image-wrap::after,
  html.selia-theme:not(.dark) body.index .s-block--product-tabs .product-tab { transition: none !important; }
}

/* =========================================
   ELEGANT STEP — COMPACT HOMEPAGE SPACING
   Selia Theme | Desktop + Mobile
   ========================================= */

/* 1. General homepage sections */
body.index main > .s-block {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/* 2. Hero — no extra spacing */
body.index main > .advanced-slider {
  margin-bottom: 0 !important;
}

/* 3. Brand categories */
body.index main > .s-block--square-links {
  padding-top: 18px !important;
  padding-bottom: 12px !important;
}

/* 4. Product tabs */
body.index main > .s-block--product-tabs {
  padding-top: 14px !important;
  padding-bottom: 12px !important;
}

/* 5. Product sections */
body.index main > .s-block--custom-products {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* 6. Wide promotional banners */
body.index main > .s-block--fixed-banner {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

/* 7. Triple category banners */
body.index main > .s-block--three-banners {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* 8. Section headings */
body.index .home-block-title {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

/* 9. Store benefits */
body.index .es-benefits {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

body.index .es-benefits__header {
  margin-bottom: 16px !important;
}

/* 10. Glass Ivory FAQ */
body.index .es-glass-faq {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

body.index .es-glass-faq__header {
  margin-bottom: 18px !important;
}

/* 11. Mobile */
@media (max-width: 767px) {

  body.index main > .s-block {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  body.index main > .s-block--fixed-banner {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

  body.index .home-block-title {
    margin-bottom: 10px !important;
  }

  body.index .es-benefits {
    padding: 16px 12px !important;
  }

  body.index .es-glass-faq {
    padding: 20px 12px !important;
  }
}