/*
 NEXORAWORLD / GOLD EDITION v4.0
 Custom CSS for EasyDonate storefront
 Palette: obsidian / warm graphite / champagne gold
 Remove old CSS entirely. Especially the old TEST CSS with hue-rotate(90deg).
 This is pure CSS: interactive functionality belongs to EasyDonate.
 Expected support: modern browsers, including Chrome 105+ (:has used for progressive enhancement).
 */

/* ========================================================================
 01 / BRAND TOKENS: replace template's green and blue component colors
 ======================================================================== */
:root, body {
  --nw-black: #090909;
  --nw-graphite: #111113;
  --nw-charcoal: #17171a;
  --nw-elevated: #1d1c1d;
  --nw-border: rgba(237,190,109,.17);
  --nw-border-strong: rgba(240,191,103,.45);
  --nw-gold: #eab85f;
  --nw-gold-strong: #ffc86b;
  --nw-gold-soft: #ffe1a8;
  --nw-gold-deep: #986b31;
  --nw-white: #f9f6f0;
  --nw-muted: #aaa7a4;
  --nw-easing: cubic-bezier(.2,.8,.2,1);

  --primary: #eab85f !important;
  --primary-color: #eab85f !important;
  --theme-color: #eab85f !important;
  --bs-primary: #eab85f !important;
  --bs-primary-rgb: 234,184,95 !important;
  --bs-link-color: #eab85f !important;
  --bs-link-hover-color: #ffe1a8 !important;
  --success: #eab85f !important;
  --bs-success: #eab85f !important;
  --bs-success-rgb: 234,184,95 !important;
  --bs-body-color: #f9f6f0 !important;
  --bs-body-bg: #111113 !important;
  --bs-border-color: rgba(237,190,109,.17) !important;
  color-scheme: dark;
}
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
*, *::before, *::after { box-sizing: border-box; }
body {
  min-width: 320px;
  overflow-x: clip;
  color: var(--nw-white) !important;
  background-color: var(--nw-graphite) !important;
  /* Do not override the store's own background-image URL. */
  font-family: 'Segoe UI', Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 100000;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, #9b692b 18%, #ffde96 48%, #a97232 82%, transparent);
}
body :is(h1,h2,h3,h4,h5,h6) { font-family: inherit !important; color: var(--nw-white) !important; }
body :is(p,li) { line-height: 1.62; }
body a { transition: color .2s, opacity .2s; }
body a:hover { color: var(--nw-gold-strong) !important; }
body a, body button, body [role=button] { -webkit-tap-highlight-color: transparent; }
::selection { color: #14100a; background: var(--nw-gold-strong); }
:where(a,button,input,select,textarea,[role=button]):focus-visible {
  outline: 2px solid var(--nw-gold-strong) !important;
  outline-offset: 3px;
}
body :is(.container,.container-lg,.container-xl,.container-fluid > .container) {
  max-width: 1220px;
}

/* ========================================================================
 02 / NAVIGATION: floating dark console with the brand's warm-metal frame
 ======================================================================== */
body :is(.navbar, nav.navbar, .shop-navbar, .main-navbar, .top-navbar, .navigation-bar) {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  min-height: 72px;
  width: min(1190px, calc(100% - 32px));
  margin: 16px auto 0 !important;
  padding: 8px clamp(12px,2.1vw,26px) !important;
  background: rgba(11,11,13,.89) !important;
  border: 1px solid rgba(255,207,124,.18) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(23px) saturate(110%);
  -webkit-backdrop-filter: blur(23px) saturate(110%);
  box-shadow: 0 18px 65px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.065) !important;
}
body :is(.navbar, .shop-navbar, .main-navbar, .top-navbar)::before {
  content: '';
  position: absolute;
  left: 24px;
  bottom: -1px;
  height: 2px;
  width: clamp(56px,10vw,122px);
  background: linear-gradient(90deg, var(--nw-gold), transparent);
  pointer-events: none;
}
body :is(.navbar, .shop-navbar, .main-navbar, .top-navbar) .container,
body :is(.navbar, .shop-navbar, .main-navbar, .top-navbar) .container-fluid {
  max-width: 100% !important;
  display: flex;
  align-items: center;
  gap: 16px;
}
body :is(.navbar-brand,.shop-logo,.header-logo,.logo-link) {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  color: var(--nw-white) !important;
  font-weight: 800;
  letter-spacing: -.04em;
}
body :is(.navbar-brand,.shop-logo,.header-logo,.logo-link) img {
  width: auto !important;
  height: 44px !important;
  max-height: 44px !important;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(235,174,67,.18));
}
body :is(.navbar-nav,.navbar, .main-navbar,.shop-navbar) :is(.nav-link,.navbar-link,.menu-link) {
  color: #e6e0d6 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px !important;
  margin-inline: 2px;
  border: 1px solid transparent;
  border-radius: 9px !important;
  background: transparent !important;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .015em;
  transition: color .2s, background .2s, border-color .2s;
}
body :is(.navbar-nav,.navbar,.main-navbar,.shop-navbar) :is(.nav-link,.navbar-link,.menu-link):hover,
body :is(.navbar-nav,.navbar,.main-navbar,.shop-navbar) :is(.nav-link,.navbar-link,.menu-link).active {
  color: var(--nw-gold-soft) !important;
  background: rgba(234,184,95,.10) !important;
  border-color: rgba(234,184,95,.2) !important;
}
body :is(.navbar-toggler,.hamburger,.menu-toggle) {
  background: rgba(255,202,106,.09) !important;
  border: 1px solid var(--nw-border-strong) !important;
  border-radius: 10px !important;
  color: var(--nw-gold-soft) !important;
}

/* ========================================================================
 03 / HERO: asymmetric editorial layout, preserves uploaded background image
 Target parent if recognizable; h1 still works when parent class differs.
 ======================================================================== */
body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner):has(h1) {
  position: relative;
  min-height: clamp(490px, 49vw, 650px);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  background-position: center 38% !important;
  background-size: cover !important;
}
body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner):has(h1)::before {
  content:'';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5,5,6,.33) 0%, rgba(5,5,6,.10) 42%, rgba(5,5,6,.24) 60%, rgba(5,5,6,.62) 100%),
    linear-gradient(0deg, #111113 0%, transparent 22%, transparent 80%, rgba(0,0,0,.12) 100%);
}
body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner):has(h1) > * {
  position: relative;
  z-index: 1;
}
/* Primary shop title. One title only; no injected decorative captions. */
body :is(.shop-name,#shop-name,.hero-title,.shop-title,h1.display-1),
body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner) h1 {
  display: block;
  width: min(750px,calc(100% - 38px));
  max-width: 100%;
  margin: clamp(54px,6.5vw,94px) auto 0 max(28px,calc((100vw - 1220px)/2 + 28px)) !important;
  padding: 0 0 26px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(236,188,105,.25) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: none !important;
  color: #fffaf2 !important;
  font-size: clamp(50px,6.3vw,91px) !important;
  font-weight: 900 !important;
  letter-spacing: -.075em !important;
  line-height: .99 !important;
  text-align: left !important;
  text-transform: none;
  text-shadow: 0 8px 35px #0009 !important;
  overflow-wrap: anywhere;
}
body :is(.shop-name,#shop-name,.hero-title,.shop-title,h1.display-1)::after,
body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner) h1::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 118px;
  height: 3px;
  background: linear-gradient(90deg,var(--nw-gold-strong),#986b31);
  box-shadow: 0 0 22px rgba(255,194,99,.25);
}
body :is(.shop-description,.shop-subtitle,.shop-slogan,.hero-subtitle,.hero-description,.shop-desc),
body :is(.shop-name,#shop-name,.hero-title,.shop-title,h1.display-1) + :is(h3,p,.h3,.lead),
body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner) h1 + :is(h3,p,.lead) {
  display: block;
  width: min(540px,calc(100% - 48px));
  max-width: 100%;
  margin: 18px auto clamp(45px,6vw,84px) max(28px,calc((100vw - 1220px)/2 + 28px)) !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  text-align: left !important;
  color: #dfd5c7 !important;
  font-size: clamp(16px,1.8vw,23px) !important;
  letter-spacing: -.025em;
  font-weight: 475 !important;
  line-height: 1.5 !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.7);
}
/* Replace template's scalloped waves with one crisp transition if such layers exist. */
body :is(.waves,.wave-container,.hero-waves,.wave-bottom,.bottom-wave,.svg-wave) { display: none !important; }
body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner):has(h1)::after {
  content:'';
  position:absolute;
  pointer-events:none;
  z-index:2;
  bottom: 0;
  left:0; right:0;
  height:2px;
  background:linear-gradient(90deg,transparent 4%,rgba(255,204,119,.45),transparent 85%);
}

/* ========================================================================
 04 / SECTIONS: premium editorial proportions and geometric separators
 ======================================================================== */
body main, body :is(.shop-main,.shop-content,.main-content,.store-content,.shop-body,.content-section) {
  color: var(--nw-white);
}
body :is(.shop-products,.products-section,.catalog-section,.store-products,.shop-catalog) {
  position: relative;
  padding-top: clamp(54px,7vw,100px) !important;
  padding-bottom: clamp(50px,7vw,100px) !important;
}
body h2, body .h2 {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: 0 0 23px 0 !important;
  margin: 0 0 32px 0 !important;
  border: 0 !important;
  color: var(--nw-white) !important;
  background: none !important;
  font-size: clamp(29px,3.4vw,43px) !important;
  font-weight: 750 !important;
  line-height: 1.15 !important;
  letter-spacing: -.045em !important;
  text-align: left !important;
}
body h2::after, body .h2::after {
  content:'' !important;
  position:absolute;
  bottom:0;
  left:0;
  width:86px;
  height:3px;
  background:linear-gradient(90deg,var(--nw-gold),rgba(234,184,95,0));
  border:0 !important;
  border-radius:0;
}
body :is(h3,h4,h5) { letter-spacing: -.035em; }
body :is(.text-muted,.text-secondary,.small,.muted,.subtitle) { color:var(--nw-muted) !important; }
body :is(.text-primary,.text-success,.text-info,.text-warning,.color-primary,.color-success) {
  color:var(--nw-gold-strong) !important;
}
body :is(.bg-primary,.bg-success,.bg-info,.bg-warning) {
  background:var(--nw-gold) !important;
  color:var(--nw-black) !important;
}
body :is(.border-primary,.border-success,.border-info,.border-warning) {
  border-color:var(--nw-border-strong) !important;
}

/* ========================================================================
 05 / CATALOG CONTROLS: new rounded filters / dark search console
 ======================================================================== */
body :is(.nav-pills,.nav-tabs,.product-categories,.shop-categories,.categories,.category-list,.filters) {
  gap: 9px;
  border:0 !important;
}
body :is(.nav-pills,.nav-tabs,.product-categories,.shop-categories,.categories,.category-list,.filters) :is(.nav-link,.btn,a,button),
body :is(.category-item,.category-button,.category-tab,.filter-button) {
  display: inline-flex;
  justify-content:center;
  align-items:center;
  min-height:44px;
  background:rgba(255,255,255,.035) !important;
  border:1px solid var(--nw-border) !important;
  color:#dad4c9 !important;
  font-weight:700 !important;
  padding:10px 17px !important;
  border-radius:10px !important;
  box-shadow:none !important;
  transition: color .2s, background .2s, border-color .2s !important;
}
body :is(.nav-pills,.nav-tabs,.product-categories,.shop-categories,.categories,.category-list,.filters) :is(.nav-link,.btn,a,button):is(:hover,.active),
body :is(.category-item.active,.category-button.active,.category-tab.active,.filter-button.active) {
  background:rgba(234,184,95,.13) !important;
  color:var(--nw-gold-soft) !important;
  border-color:rgba(255,198,102,.55) !important;
}
body :is(.search,.search-wrapper,.search-box,.product-search,.search-field,.search-container,.input-group):has(input[placeholder*='Поиск']) {
  position:relative;
  display:flex;
  align-items:center;
  min-width: min(270px,100%);
  border: 1px solid rgba(234,184,95,.23) !important;
  border-radius:13px !important;
  background:rgba(9,9,10,.64) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 12px 28px rgba(0,0,0,.16);
  overflow:hidden;
}
body :is(input[type=search],input[placeholder*='Поиск'],input[placeholder*='поиск'],.search-input) {
  height:52px !important;
  min-width:0;
  width:100%;
  border:1px solid rgba(234,184,95,.24) !important;
  background:rgba(7,7,8,.8) !important;
  color:#faf2e6 !important;
  padding:13px 16px !important;
  font-size:14px !important;
  border-radius:12px !important;
  outline:none !important;
  box-shadow:none !important;
}
body :is(.search,.search-wrapper,.search-box,.product-search,.search-field,.search-container,.input-group):has(input[placeholder*='Поиск']) input {
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
}
body :is(input[type=search],input[placeholder*='Поиск'],input[placeholder*='поиск'],.search-input)::placeholder { color:#8c847a !important; }
body :is(input[type=search],input[placeholder*='Поиск'],input[placeholder*='поиск'],.search-input):focus {
  border-color:var(--nw-gold-strong) !important;
  box-shadow:0 0 0 3px rgba(234,184,95,.14) !important;
}
body :is(.search,.search-wrapper,.search-box,.product-search,.search-field,.search-container,.input-group):has(input[placeholder*='Поиск']) :is(button,.btn) {
  height:52px;
  min-width:52px;
  border:0 !important;
  border-radius:0 !important;
  background:var(--nw-gold) !important;
  color:var(--nw-black) !important;
}

/* ========================================================================
 06 / PRODUCTS: retail-style cards (normal / featured / sale)
 ======================================================================== */
body :is(.products-grid,.products-list,.product-grid,.shop-products-grid,.items-grid) {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px !important;
  align-items:stretch;
}
body :is(.product-card,.shop-product,.product-item,.goods-item,.item-card,.donate-card,.product,.top-product) {
  position:relative;
  background:
    linear-gradient(155deg,rgba(255,230,180,.045),transparent 34%),
    linear-gradient(180deg,#211e1b,#161618) !important;
  border:1px solid rgba(235,185,95,.19) !important;
  border-radius:18px !important;
  color:var(--nw-white) !important;
  box-shadow:0 15px 42px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.045) !important;
  overflow:hidden;
  transition:transform .32s var(--nw-easing),border-color .3s,box-shadow .3s !important;
}
body :is(.product-card,.shop-product,.product-item,.goods-item,.item-card,.donate-card,.product,.top-product)::before {
  content:'';
  position:absolute;
  top:0;
  left:22px;
  width:84px;
  height:3px;
  z-index:2;
  background:linear-gradient(90deg,#e3a74d,#ffe0a3);
  pointer-events:none;
}
body :is(.product-card,.shop-product,.product-item,.goods-item,.item-card,.donate-card,.product,.top-product):hover {
  transform:translateY(-7px);
  border-color:rgba(255,200,107,.61) !important;
  box-shadow:0 24px 65px rgba(0,0,0,.46),0 0 0 1px rgba(246,187,87,.13) !important;
}
body :is(.product-card,.shop-product,.product-item,.goods-item,.item-card,.donate-card,.product,.top-product) :is(.card-body,.product-body,.item-body,.product-info) {
  padding:23px !important;
  background:transparent !important;
}
body :is(.product-card,.shop-product,.product-item,.goods-item,.item-card,.donate-card,.product,.top-product) img {
  max-width:100%;
  object-fit:contain;
  transition:transform .45s var(--nw-easing),filter .3s;
}
body :is(.product-card,.shop-product,.product-item,.goods-item,.item-card,.donate-card,.product,.top-product):hover img {
  transform:scale(1.045);
}
body :is(.product-card,.shop-product,.product-item,.goods-item,.item-card,.donate-card,.product,.top-product) :is(h3,h4,h5,.card-title,.product-name,.item-name) {
  color:var(--nw-white) !important;
  font-size:clamp(19px,2vw,24px) !important;
  font-weight:850 !important;
  letter-spacing:-.045em;
  line-height:1.16 !important;
  margin-block:6px 12px !important;
}
body :is(.product-card,.shop-product,.product-item,.goods-item,.item-card,.donate-card,.product,.top-product) :is(.price,.product-price,.item-price,.card-price,.price-value,.cost) {
  color:var(--nw-gold-strong) !important;
  font-weight:900 !important;
  font-size:clamp(23px,2.3vw,30px) !important;
  letter-spacing:-.055em;
}
body :is(.old-price,.price-old,.old_cost,del,s) { color:#9a9184 !important; }
body :is(.badge,.label,.tag,.discount,.sale-badge,.badge-sale) {
  border-radius:7px !important;
  background:#2d2418 !important;
  border:1px solid rgba(234,184,95,.30) !important;
  color:var(--nw-gold-soft) !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:.02em;
}
/* Safety: bootstrap `.card` on product grids; not all cards are products. */
body :is(.products-grid,.products-list,.product-grid,.shop-products-grid,.items-grid,.shop-products) .card {
  background:linear-gradient(180deg,#211e1b,#161618) !important;
  border:1px solid var(--nw-border) !important;
  border-radius:18px !important;
  color:var(--nw-white) !important;
  overflow:hidden;
  transition:transform .3s,border-color .3s,box-shadow .3s;
}
body :is(.products-grid,.products-list,.product-grid,.shop-products-grid,.items-grid,.shop-products) .card:hover {
  transform:translateY(-5px);
  border-color:var(--nw-border-strong) !important;
  box-shadow:0 22px 44px rgba(0,0,0,.35);
}

/* ========================================================================
 07 / ACTIONS: replace any blue or green CTA with molten champagne gold
 ======================================================================== */
body :is(.btn-primary,.btn-success,.btn-info,.btn-warning,.buy-button,.purchase-button,.buy-btn,.button-buy,.btn-buy,.btn-purchase,.to-cart,.add-to-cart,.checkout-button),
body button[type=submit]:not(.btn-outline-secondary) {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:45px;
  padding:12px 21px !important;
  border:1px solid #f3c67c !important;
  border-radius:10px !important;
  color:#15100b !important;
  background:linear-gradient(105deg,#d89b42 0%,#f5c975 47%,#d99a42 100%) !important;
  background-size:160% auto !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 8px 22px rgba(155,100,27,.17) !important;
  font-size:13px !important;
  font-weight:850 !important;
  letter-spacing:.025em;
  text-shadow:none !important;
  text-transform:none;
  transition:transform .2s var(--nw-easing),filter .2s,box-shadow .2s,background-position .3s !important;
  cursor:pointer;
}
body :is(.btn-primary,.btn-success,.btn-info,.btn-warning,.buy-button,.purchase-button,.buy-btn,.button-buy,.btn-buy,.btn-purchase,.to-cart,.add-to-cart,.checkout-button):hover,
body button[type=submit]:not(.btn-outline-secondary):hover {
  color:#120e09 !important;
  filter:brightness(1.08);
  transform:translateY(-2px);
  background-position:100% center !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 14px 30px rgba(155,100,27,.23) !important;
}
body :is(.btn-secondary,.btn-outline-primary,.btn-outline-success,.btn-outline-secondary,.button-secondary) {
  background:#23211f !important;
  color:#f1dfbd !important;
  border:1px solid rgba(234,184,95,.37) !important;
  border-radius:10px !important;
  min-height:43px;
  font-weight:700;
}
body :is(.btn-secondary,.btn-outline-primary,.btn-outline-success,.btn-outline-secondary,.button-secondary):hover {
  background:#302719 !important;
  color:var(--nw-gold-soft) !important;
  border-color:var(--nw-gold) !important;
}
body :is(button,.btn,[role=button]):disabled { cursor:not-allowed; opacity:.48 !important; transform:none !important; }

/* ========================================================================
 08 / EMPTY STATE: not a lonely gray cog in an empty store
 ======================================================================== */
body :is(.no-products,.no-items,.empty-products,.products-empty,.empty-state,.empty-shop,.empty-list,.no-results,.nothing-found) {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:235px;
  padding:40px 25px !important;
  margin-block:25px 35px !important;
  background:linear-gradient(115deg,rgba(236,173,70,.08),rgba(19,18,18,.98) 55%) !important;
  border:1px dashed rgba(235,187,98,.30) !important;
  border-radius:16px !important;
  color:#e0d5c6 !important;
}
body :is(.no-products,.no-items,.empty-products,.products-empty,.empty-state,.empty-shop,.empty-list,.no-results,.nothing-found) :is(i,svg,.icon) {
  color:var(--nw-gold) !important;
  fill:currentColor;
  opacity:.76;
  margin-bottom:15px;
}

/* ========================================================================
 09 / PURCHASE GUIDE: editorial step cards, supported class variants
 ======================================================================== */
body :is(.purchase-instructions,.purchase-instruction,.buy-instructions,.buy-instruction,.buy-guide,.instructions,.how-to-buy,.shop-instruction,.instruction-section,.payment-guide) {
  position:relative;
  padding:clamp(25px,4vw,48px) !important;
  border:1px solid rgba(234,184,95,.16) !important;
  border-radius:19px !important;
  background:
    radial-gradient(ellipse at 100% 0,rgba(211,151,62,.09),transparent 40%),
    linear-gradient(130deg,#1d1b1a,#131315) !important;
  box-shadow:0 15px 55px rgba(0,0,0,.19);
}
body :is(.purchase-instructions,.purchase-instruction,.buy-instructions,.buy-instruction,.buy-guide,.instructions,.how-to-buy,.shop-instruction,.instruction-section,.payment-guide) :is(ol,ul) {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:15px;
  counter-reset:nwstep;
  padding:0 !important;
  margin:25px 0 0 !important;
  list-style:none !important;
}
body :is(.purchase-instructions,.purchase-instruction,.buy-instructions,.buy-instruction,.buy-guide,.instructions,.how-to-buy,.shop-instruction,.instruction-section,.payment-guide) :is(ol,ul) > li {
  position:relative;
  min-width:0;
  min-height:160px;
  padding:60px 20px 20px !important;
  border:1px solid rgba(234,184,95,.18);
  border-radius:13px;
  background:rgba(4,4,5,.29);
  color:#d7d0c7;
}
body :is(.purchase-instructions,.purchase-instruction,.buy-instructions,.buy-instruction,.buy-guide,.instructions,.how-to-buy,.shop-instruction,.instruction-section,.payment-guide) :is(ol,ul) > li::before {
  counter-increment:nwstep;
  content:'0' counter(nwstep);
  position:absolute;
  top:16px;
  left:20px;
  color:var(--nw-gold-strong);
  font-weight:900;
  font-size:25px;
  line-height:1;
  letter-spacing:-.06em;
}
body :is(.purchase-instructions,.purchase-instruction,.buy-instructions,.buy-instruction,.buy-guide,.instructions,.how-to-buy,.shop-instruction,.instruction-section,.payment-guide) :is(strong,b) {
  color:var(--nw-white) !important;
  font-weight:800;
}
/* Fallback when EasyDonate uses simple Bootstrap columns for three steps. */
body :is(.purchase-instructions,.buy-instructions,.how-to-buy,.instructions) > .row > [class*='col'] {
  border:1px solid rgba(234,184,95,.15);
  border-radius:12px;
  background:#171617;
  padding:23px;
}
body :is(.purchase-instructions,.buy-instructions,.how-to-buy,.instructions) > .row {
  gap:15px;
}

/* ========================================================================
 10 / FIELDS / PAYMENTS / CART / DIALOGS
 ======================================================================== */
body :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.form-control,.form-select) {
  color:var(--nw-white) !important;
  background-color:#151414 !important;
  border:1px solid rgba(234,184,95,.24) !important;
  border-radius:10px !important;
  min-height:44px;
  box-shadow:none !important;
  accent-color:var(--nw-gold);
}
body :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.form-control,.form-select):focus {
  border-color:var(--nw-gold) !important;
  box-shadow:0 0 0 3px rgba(234,184,95,.15) !important;
  outline:none !important;
}
body input::placeholder,body textarea::placeholder { color:#91887d !important; opacity:1; }
body :is(input[type=checkbox],input[type=radio],.form-check-input) { accent-color:var(--nw-gold); }
body .form-check-input:checked {
  background-color:var(--nw-gold) !important;
  border-color:var(--nw-gold) !important;
}
body :is(.form-label,label,.input-label) { color:#e9dfcf !important; font-size:13px; font-weight:650; }
body :is(.input-group-text,.input-group-addon,.form-floating) { color:var(--nw-gold-soft); }
body :is(.modal-content,.modal-header,.modal-body,.modal-footer,.offcanvas,.dropdown-menu,.popover,.tooltip-inner,.cart-panel,.basket,.basket-content,.checkout-panel) {
  color:var(--nw-white) !important;
  background-color:#181719 !important;
  border-color:rgba(234,184,95,.2) !important;
}
body :is(.modal-content,.offcanvas,.cart-panel,.checkout-panel) {
  border:1px solid rgba(234,184,95,.27) !important;
  border-radius:18px !important;
  box-shadow:0 35px 100px rgba(0,0,0,.65) !important;
}
body :is(.dropdown-item,.list-group-item,.cart-item,.basket-item) {
  color:#e8e1d7 !important;
  background-color:transparent !important;
  border-color:rgba(234,184,95,.14) !important;
}
body :is(.dropdown-item,.list-group-item,.cart-item,.basket-item):hover {
  color:var(--nw-gold-soft) !important;
  background-color:rgba(234,184,95,.075) !important;
}
body :is(.modal-header,.modal-footer) { padding:21px 25px !important; }
body .modal-body { padding:25px !important; }
body :is(.table,.table-striped,.table-hover) {
  --bs-table-bg:transparent;
  --bs-table-color:var(--nw-white);
  --bs-table-striped-bg:#24211f;
  --bs-table-hover-bg:#302719;
  color:var(--nw-white) !important;
  border-color:var(--nw-border);
}
body :is(hr,.divider) { border-color:var(--nw-border) !important; opacity:1; }
body :is(.alert,.notification,.toast) {
  color:#f1e6d6 !important;
  background:#242019 !important;
  border:1px solid rgba(234,184,95,.33) !important;
  border-radius:10px !important;
}
body :is(.progress,.progress-bar) { background-color:#312517 !important; }
body :is(.progress-bar,.pagination .active,.page-item.active .page-link) {
  background-color:var(--nw-gold) !important;
  border-color:var(--nw-gold) !important;
  color:#17110b !important;
}

/* ========================================================================
 11 / FOOTER: distinct final panel, not EasyDonate's stock flat strip
 ======================================================================== */
body :is(footer,.footer,.shop-footer,.main-footer,.site-footer) {
  position:relative;
  min-height:150px;
  margin-top:50px;
  padding:38px 24px !important;
  color:#c2b7a8 !important;
  border-top:1px solid rgba(236,185,91,.28) !important;
  background:
    radial-gradient(ellipse at 75% -45%,rgba(234,184,95,.11),transparent 52%),
    linear-gradient(180deg,#151414,#0b0b0c) !important;
}
body :is(footer,.footer,.shop-footer,.main-footer,.site-footer)::before {
  content:'';
  position:absolute;
  width:150px;
  height:3px;
  top:-2px;
  left:max(24px,calc((100% - 1220px)/2));
  background:linear-gradient(90deg,var(--nw-gold),transparent);
}
body :is(footer,.footer,.shop-footer,.main-footer,.site-footer) :is(a,.footer-link) { color:#d3a861 !important; }
body :is(footer,.footer,.shop-footer,.main-footer,.site-footer) :is(a,.footer-link):hover { color:var(--nw-gold-soft) !important; }
body :is(footer,.footer,.shop-footer,.main-footer,.site-footer) img {
  max-height:48px;
  width:auto;
  object-fit:contain;
}

/* ========================================================================
 12 / ELIMINATE REMAINING THEME-GREEN ACCENTS WITHOUT TOUCHING RGB IMAGES
 ======================================================================== */
body :is(.btn-outline-info,.btn-outline-warning,.btn-outline-danger) { border-radius:10px; }
body :is(.bg-gradient-primary,.bg-gradient-success,.gradient-primary,.gradient-success) {
  background:linear-gradient(120deg,#d69b46,#f2c779) !important;
  color:#15110c !important;
}
body :is(.link-primary,.link-success,.link-info,a.text-success,a.text-primary) { color:var(--nw-gold) !important; }
body :is(.active-indicator,.accent,.accent-color,.highlight,.selected-indicator) {
  border-color:var(--nw-gold) !important;
}

/* ========================================================================
 13 / MOBILE AND ACCESSIBILITY
 ======================================================================== */
@media (max-width: 992px) {
  body :is(.products-grid,.products-list,.product-grid,.shop-products-grid,.items-grid) {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px !important;
  }
  body :is(.purchase-instructions,.purchase-instruction,.buy-instructions,.buy-instruction,.buy-guide,.instructions,.how-to-buy,.shop-instruction,.instruction-section,.payment-guide) :is(ol,ul) {
    grid-template-columns:1fr;
  }
  body :is(.navbar,nav.navbar,.shop-navbar,.main-navbar,.top-navbar) {
    min-height:62px;
    padding:9px 14px !important;
    border-radius:13px !important;
  }
}
@media (max-width: 650px) {
  body :is(.navbar,nav.navbar,.shop-navbar,.main-navbar,.top-navbar) {
    margin-top:10px !important;
    width:calc(100% - 20px);
  }
  body :is(.navbar-brand,.shop-logo,.header-logo,.logo-link) img { height:38px !important; max-height:38px !important; }
  body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner):has(h1) {
    min-height:500px;
    background-position: 58% center !important;
  }
  body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner):has(h1)::before {
    background:linear-gradient(0deg,rgba(8,8,9,.98),rgba(8,8,9,.2) 76%),linear-gradient(90deg,rgba(8,8,9,.45),transparent) !important;
  }
  body :is(.shop-name,#shop-name,.hero-title,.shop-title,h1.display-1),
  body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner) h1 {
    margin:174px 18px 0 !important;
    width:calc(100% - 36px);
    font-size:clamp(38px,9vw,59px) !important;
    padding-bottom:20px !important;
  }
  body :is(.shop-description,.shop-subtitle,.shop-slogan,.hero-subtitle,.hero-description,.shop-desc),
  body :is(.shop-name,#shop-name,.hero-title,.shop-title,h1.display-1) + :is(h3,p,.h3,.lead),
  body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner) h1 + :is(h3,p,.lead) {
    margin:18px 18px 30px !important;
    max-width:calc(100% - 36px);
    font-size:16px !important;
  }
  body h2,body .h2 { font-size:31px !important; }
  body :is(.products-grid,.products-list,.product-grid,.shop-products-grid,.items-grid) { grid-template-columns:1fr; }
  body :is(.product-card,.shop-product,.product-item,.goods-item,.item-card,.donate-card,.product,.top-product):hover,
  body :is(.products-grid,.products-list,.product-grid,.shop-products-grid,.items-grid) .card:hover { transform:none; }
  body :is(.purchase-instructions,.purchase-instruction,.buy-instructions,.buy-instruction,.buy-guide,.instructions,.how-to-buy,.shop-instruction,.instruction-section,.payment-guide) {
    padding:20px !important;
  }
  body :is(footer,.footer,.shop-footer,.main-footer,.site-footer) { margin-top:32px; padding:30px 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  body *,body *::before,body *::after {
    animation-duration:.01ms !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}

/* ========================================================================
 14 / TEMPLATE FALLBACKS AND SEASONAL OVERLAYS
 ======================================================================== */
/* Optional seasonal particles: keep the golden website uncluttered. */
body :is(canvas.particles-js-canvas-el,.falling-leaves,.autumn-leaves,.leaf-particle,.particle-leaf) {
  display:none !important;
}
/* When EasyDonate uses Bootstrap columns rather than a CSS product grid. */
body :is(.shop-products,.products-section,.catalog-section,.products) :is(.col-sm-6,.col-md-4,.col-lg-4,.col-xl-3) > .card {
  background:linear-gradient(150deg,#24201c,#171719) !important;
  border:1px solid var(--nw-border) !important;
  border-radius:18px !important;
  overflow:hidden;
  box-shadow:0 16px 45px #0004;
  transition:transform .3s var(--nw-easing),border-color .3s;
}
body :is(.shop-products,.products-section,.catalog-section,.products) :is(.col-sm-6,.col-md-4,.col-lg-4,.col-xl-3) > .card:hover {
  border-color:var(--nw-border-strong) !important;
  transform:translateY(-5px);
}
body :is(.shop-products,.products-section,.catalog-section,.products) .card :is(.card-header,.card-footer) {
  background:rgba(0,0,0,.15) !important;
  border-color:var(--nw-border) !important;
}
body :is(.purchase-guide,.steps,.instruction-list,.instructions-list) > :is(.step,.instruction,.instruction-item,.instructions-item) {
  position:relative;
  padding:24px !important;
  background:linear-gradient(135deg,#201c18,#131315) !important;
  border:1px solid var(--nw-border) !important;
  border-radius:12px !important;
  box-shadow:0 10px 35px #0003;
}
/* Common new Bootstrap theme variants */
body :is(.form-control,.form-select,.btn,.card,.modal-content) { --bs-focus-ring-color:rgba(234,184,95,.2) !important; }


/* ========================================================================
 15 / V4 TUNE-UP, based on screenshots of the actual NexoraWorld storefront
 ======================================================================== */

/* Stop duplicate micro-labels on the picture even when another old rule is
   still loaded. The only site name in the hero should be the real heading. */
body :is(.shop-name,#shop-name,.hero-title,.shop-title,.banner-title,.main-title,h1.display-1)::before,
body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner) :is(h1,h2.shop-name)::before {
  content: none !important;
  display: none !important;
}

/* Less visual clutter around the main name, better right-side contrast. */
body :is(.shop-name,#shop-name,.hero-title,.shop-title,h1.display-1),
body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner) h1 {
  white-space: normal !important;
  font-kerning: normal;
  text-wrap: balance;
  max-width: min(750px,calc(100vw - 36px));
  padding-bottom: 21px !important;
  letter-spacing: -.065em !important;
  text-shadow: 0 7px 23px rgba(0,0,0,.66) !important;
}
body :is(.shop-name,#shop-name,.hero-title,.shop-title,h1.display-1)::after,
body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner) h1::after {
  width: 82px !important;
  height: 2px !important;
  box-shadow: none !important;
  background: linear-gradient(90deg,#e9ae52,rgba(233,174,82,0)) !important;
}
body :is(.shop-description,.shop-subtitle,.shop-slogan,.hero-subtitle,.hero-description,.shop-desc),
body :is(.shop-name,#shop-name,.hero-title,.shop-title,h1.display-1) + :is(h3,p,.h3,.lead),
body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner) h1 + :is(h3,p,.lead) {
  text-wrap: pretty;
  max-width: 590px;
  color:#f0e6d6 !important;
  font-weight: 480 !important;
  text-shadow: 0 3px 17px #000b !important;
}

/* Avoid the stock full-width flat band effect under the header. */
body :is(.shop-header,.hero,.header-banner,.shop-banner,.shop-cover,.main-banner):has(h1) {
  border-bottom: 1px solid rgba(234,184,95,.20) !important;
}
body :is(.shop-products,.products-section,.catalog-section,.store-products,.shop-catalog),
body :is(.purchase-instructions,.purchase-instruction,.buy-instructions,.buy-instruction,.buy-guide,.instructions,.how-to-buy,.shop-instruction,.instruction-section,.payment-guide) {
  scroll-margin-top: 100px;
}

/* Headers: avoid the exaggerated compressed bold appearance from v3. */
body main h2,body main .h2,
body :is(.shop-content,.shop-main,.main-content,.store-content) h2 {
  font-weight: 735 !important;
  font-size: clamp(29px,3.3vw,42px) !important;
  letter-spacing: -.042em !important;
  line-height:1.18 !important;
  text-wrap:balance;
}
body main h2::after,body main .h2::after {height:2px !important;width:68px !important;}

/* Give the empty product area an intentional panel when supported by template. */
body :is(.products-empty,.empty-products,.products-not-found,.no-products,.no-items,.no-products-found,.empty-shop,.empty-state,.no-results,.no-products-block,.empty-content) {
  width:100%;
  min-height: 210px !important;
  max-width:100% !important;
  padding: 42px 24px !important;
  color: #cbbfac !important;
  background: linear-gradient(125deg,rgba(234,184,95,.045),rgba(10,10,11,.32)) !important;
  border:1px dashed rgba(234,184,95,.19) !important;
  border-radius: 16px !important;
}
body :is(.products-empty,.empty-products,.products-not-found,.no-products,.no-items,.no-products-found,.empty-shop,.empty-state,.no-results,.no-products-block,.empty-content) :is(.fa-cogs,.fa-gears,.fa-cog,svg,i) {
  opacity:.75 !important;
  color:#d9ab66 !important;
}

/* Fallback for different EasyDonate help guide structures. */
body :is(.instructions,.instructions-section,.instruction-section,.purchase-instructions,.purchase-guide,.purchase-steps,.buy-guide,.how-to-buy,.buy-instructions,.how-to-purchase,.shop-instruction,.buying-guide,.steps-guide,.help-instructions) {
  max-width:100%;
  padding: clamp(24px,3.3vw,44px) !important;
  margin-block: 36px 52px !important;
  border: 1px solid rgba(234,184,95,.16) !important;
  background:linear-gradient(135deg,#1b1918,#131315 72%) !important;
  border-radius: 18px !important;
}
body :is(.instructions,.instructions-section,.instruction-section,.purchase-instructions,.purchase-guide,.purchase-steps,.buy-guide,.how-to-buy,.buy-instructions,.how-to-purchase,.shop-instruction,.buying-guide,.steps-guide,.help-instructions) :is(ol,.step-list,.instruction-list,.steps) {
  display:grid !important;
  gap:16px !important;
  grid-template-columns: repeat(3,minmax(0,1fr));
  list-style:none !important;
  padding:0 !important;
}
body :is(.instructions,.instructions-section,.instruction-section,.purchase-instructions,.purchase-guide,.purchase-steps,.buy-guide,.how-to-buy,.buy-instructions,.how-to-purchase,.shop-instruction,.buying-guide,.steps-guide,.help-instructions) :is(ol,.step-list,.instruction-list,.steps) > :is(li,.step,.instruction,.instruction-item) {
  background: #141313 !important;
  border: 1px solid rgba(234,184,95,.16) !important;
  border-radius: 14px !important;
  margin:0 !important;
  padding:58px 20px 22px !important;
  box-shadow:none !important;
}
body :is(.instructions,.instructions-section,.instruction-section,.purchase-instructions,.purchase-guide,.purchase-steps,.buy-guide,.how-to-buy,.buy-instructions,.how-to-purchase,.shop-instruction,.buying-guide,.steps-guide,.help-instructions) :is(h3,h4,strong,b) {
  font-size: 16px !important;
  letter-spacing: -.02em !important;
  color:#fff7e7 !important;
  line-height:1.35 !important;
}
body :is(.instructions,.instructions-section,.instruction-section,.purchase-instructions,.purchase-guide,.purchase-steps,.buy-guide,.how-to-buy,.buy-instructions,.how-to-purchase,.shop-instruction,.buying-guide,.steps-guide,.help-instructions) p {
  font-size:14px !important;
  line-height:1.6 !important;
  color:#b9b0a5 !important;
}

/* Ensure brand gold is reserved for actions and accents, not every text link. */
body :is(.navbar,.main-navbar,.shop-navbar) :is(a,.nav-link):hover {
  text-decoration: none !important;
}
body :is(.btn,.search-wrapper,.search-box,.form-control,.form-select,.card) {
  transition-duration:.2s;
}
body :is(.btn,.card,.shop-product,.product-item):hover {filter:none;}
body :is(.btn-primary,.btn-success,.buy-button,.purchase-button,.btn-buy):focus-visible {
  box-shadow: 0 0 0 3px rgba(255,198,105,.3) !important;
}

/* Optional seasonal-effects mitigation; avoid hiding site pictures and
   functional canvas components, only known decorative names. */
body :is([class*='autumn'],[class*='Autumn'],[id*='autumn'],[class*='falling-leaf'],[class*='fallingLeaf'],[class*='leaf-particle'],[class*='leafParticle'],[class*='leaves'],[id*='leaves'],[class*='snowfall'],[class*='snowflake'],[id='particles-js'],canvas.particles-js-canvas-el),
body img[src*='autumn'],body img[src*='/leaf'],body img[src*='leaves'],body img[src*='falling-leaf'] {
  display:none !important;
}

/* Keep the footer and page hierarchy calm, with no floating ornaments. */
body :is(footer,.footer,.shop-footer,.main-footer,.site-footer) {margin-top:32px !important;}
body :is(footer,.footer,.shop-footer,.main-footer,.site-footer)::before {
  width:110px !important;
  height:2px !important;
}

@media(max-width:992px) {
  body :is(.instructions,.instructions-section,.instruction-section,.purchase-instructions,.purchase-guide,.purchase-steps,.buy-guide,.how-to-buy,.buy-instructions,.how-to-purchase,.shop-instruction,.buying-guide,.steps-guide,.help-instructions) :is(ol,.step-list,.instruction-list,.steps) {
    grid-template-columns:1fr !important;
  }
}
@media(max-width:650px) {
  body :is(.shop-name,#shop-name,.hero-title,.shop-title,h1.display-1),
  body :is(.hero,.shop-header,.header-banner,.main-header,.shop-banner,.jumbotron,.shop-cover,.main-banner) h1 {
    font-size:clamp(39px,10vw,58px) !important;
    letter-spacing:-.05em !important;
    text-wrap:wrap;
    overflow-wrap:break-word;
  }
  body :is(.instructions,.instructions-section,.instruction-section,.purchase-instructions,.purchase-guide,.purchase-steps,.buy-guide,.how-to-buy,.buy-instructions,.how-to-purchase,.shop-instruction,.buying-guide,.steps-guide,.help-instructions) {
    padding:20px 16px !important;
  }
  body main h2,body main .h2 {font-size:30px !important;}
}
