/* =========================================================
   Nelkos Theme — main stylesheet
   Palette is driven by CSS variables (set via the Customizer)
   ========================================================= */
:root {
  --nelkos-primary: #d9650a;
  --nelkos-accent: #f5b81c;
  --nelkos-dark: #7a3410;
  --nelkos-bg: #fbf9f4;
  --nelkos-footer: #2b1808;
  --nelkos-border: #eee2d2;
  --nelkos-soft: #fdf2e3;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--nelkos-bg);
  color: #2b1d12;
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--nelkos-primary); text-decoration: none; }
a:hover { color: var(--nelkos-dark); }

.nelkos-container {
  max-width: 1500px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Force full-width layout: neutralise boxed/page-builder (Elementor) width constraints. */
#page.site,
.site-content,
#content.site-content,
.nelkos-topbar,
.nelkos-promostrip,
.nelkos-header,
.nelkos-catnav,
.nelkos-footer {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}
.home #content.site-content > .elementor,
body.woocommerce-page #content { max-width: none !important; }

/* ---------- Buttons ---------- */
.nelkos-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  display: inline-block;
  background: var(--nelkos-primary);
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 11px 26px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
  line-height: 1.2;
}
.nelkos-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--nelkos-dark);
  color: #fff !important;
}
.nelkos-btn--accent {
  background: var(--nelkos-accent);
  color: var(--nelkos-dark) !important;
}
.nelkos-btn--accent:hover { background: #e2a50f; color: var(--nelkos-dark) !important; }

.nelkos-notice {
  background: var(--nelkos-soft);
  border: 1px solid var(--nelkos-border);
  color: var(--nelkos-dark);
  padding: 14px 18px;
  border-radius: 12px;
  margin: 16px 0;
  font-weight: 500;
}

/* ---------- Top bar ---------- */
.nelkos-topbar {
  background: var(--nelkos-dark);
  color: rgba(255,255,255,.85);
  font-size: 12px;
}
.nelkos-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}
.nelkos-topbar__left strong { color: #fff; }
.nelkos-topbar__left .sep { margin: 0 8px; opacity: .4; }
.nelkos-topbar__right { display: flex; gap: 20px; }
.nelkos-topbar__right a { color: rgba(255,255,255,.85); }
.nelkos-topbar__right a:hover { color: #fff; }
@media (max-width: 782px) { .nelkos-topbar { display: none; } }

/* ---------- Header ---------- */
.nelkos-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nelkos-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.nelkos-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.nelkos-header__brand { flex-shrink: 0; }
.nelkos-header__brand img { max-height: 52px; width: auto; }
.nelkos-brand { display: inline-flex; }
.nelkos-logo { display: inline-flex; align-items: center; gap: 0; }
.nelkos-logo svg { margin-right: -5px; }
.nelkos-logo__text { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }

.nelkos-header__search { flex: 1; max-width: 760px; }
.nelkos-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--nelkos-accent);
  border-radius: 999px;
  overflow: hidden;
  height: 44px;
}
.nelkos-search input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 18px;
  font-size: 14px;
  color: #333;
  background: transparent;
}
.nelkos-search button {
  height: 100%;
  border: none;
  background: var(--nelkos-dark);
  color: #fff;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease;
}
.nelkos-search button:hover { background: #5e260b; }

.nelkos-header__actions { display: flex; align-items: center; gap: 6px; }
.nelkos-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  transition: color .18s ease;
}
.nelkos-action:hover { color: #ffe6b0; }
.nelkos-action span:last-child { margin-top: 3px; }
.nelkos-cart-icon { position: relative; }
.nelkos-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--nelkos-accent);
  color: var(--nelkos-dark);
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
@media (max-width: 600px) {
  .nelkos-action span:last-child { display: none; }
  .nelkos-logo__text { display: none; }
}

/* ---------- Category nav ---------- */
.nelkos-catnav {
  background: #fff;
  border-bottom: 1px solid var(--nelkos-border);
  position: sticky;
  top: 68px;
  z-index: 30;
}
.nelkos-catnav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nelkos-catnav__inner::-webkit-scrollbar { display: none; }
.nelkos-catnav__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--nelkos-dark);
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.nelkos-catnav__all:hover { background: var(--nelkos-soft); }
.nelkos-catnav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nelkos-catnav__menu li a {
  display: inline-block;
  color: #4b3a2b;
  font-size: 14px;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nelkos-catnav__menu li a:hover { background: var(--nelkos-soft); color: var(--nelkos-primary); }

/* ---------- Hero ---------- */
.nelkos-hero-wrap { padding-top: 16px; }
.nelkos-hero-grid { display: flex; gap: 16px; }
.nelkos-hero-rail {
  width: 224px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--nelkos-border);
  border-radius: 12px;
  padding: 8px 0;
}
.nelkos-hero-rail a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: #4b3a2b;
  transition: all .15s ease;
}
.nelkos-hero-rail a:hover { background: var(--nelkos-soft); color: var(--nelkos-primary); padding-left: 20px; }

.nelkos-hero {
  position: relative;
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  min-height: 340px;
}
.nelkos-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--nelkos-dark);
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.nelkos-slide.is-active { opacity: 1; pointer-events: auto; animation: nelkosKenBurns 14s ease-in-out infinite alternate; }
@keyframes nelkosKenBurns { 0% { background-size: 105%; background-position: 50% 50%; } 100% { background-size: 118%; background-position: 50% 46%; } }
@media (prefers-reduced-motion: reduce) { .nelkos-slide.is-active { animation: none; } }
.nelkos-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(122,52,16,.88), rgba(122,52,16,.4) 55%, transparent);
}
.nelkos-slide__content {
  position: relative;
  max-width: 540px;
  padding: 40px 56px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.nelkos-slide__eyebrow { color: var(--nelkos-accent); font-weight: 800; font-size: 13px; margin-bottom: 6px; }
.nelkos-slide__content h2 { font-size: 44px; line-height: 1.05; margin: 0; font-weight: 800; }
.nelkos-slide__content p { font-size: 18px; margin: 12px 0 0; opacity: .95; }
.nelkos-slide__content .nelkos-btn { margin-top: 22px; align-self: flex-start; }

.nelkos-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.85);
  color: var(--nelkos-dark);
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 3;
}
.nelkos-hero:hover .nelkos-hero__nav { opacity: 1; }
.nelkos-hero__nav--prev { left: 12px; }
.nelkos-hero__nav--next { right: 12px; }
.nelkos-hero__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.nelkos-dot { width: 8px; height: 8px; border-radius: 999px; border: none; background: rgba(255,255,255,.7); cursor: pointer; transition: all .2s ease; }
.nelkos-dot.is-active { width: 24px; background: var(--nelkos-accent); }

.nelkos-hero-sidecards { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.nelkos-sidecard {
  position: relative;
  flex: 1;
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  min-height: 162px;
  background: var(--nelkos-soft);
  border: 1px solid var(--nelkos-border);
  transition: box-shadow .18s ease, transform .18s ease;
}
.nelkos-sidecard:hover { box-shadow: 0 8px 22px rgba(122,52,16,.16); transform: translateY(-2px); }
.nelkos-sidecard.tone-pink { background: #fdeef0; }
.nelkos-sidecard.tone-blue { background: #eef2fd; }
.nelkos-sidecard__text { position: relative; z-index: 2; padding: 16px 0 16px 18px; display: flex; flex-direction: column; justify-content: center; width: 55%; }
.nelkos-sidecard__text strong { font-size: 17px; color: #2b1d12; font-weight: 800; }
.nelkos-sidecard__text .sub { font-size: 13px; color: var(--nelkos-primary); font-weight: 600; margin-top: 2px; }
.nelkos-sidecard__text .cta { margin-top: 10px; display: inline-block; align-self: flex-start; background: var(--nelkos-primary); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.nelkos-sidecard__img { width: 45%; background-size: cover; background-position: center; }

@media (max-width: 1280px) { .nelkos-hero-sidecards { display: none; } }
@media (max-width: 1024px) { .nelkos-hero-rail { display: none; } }
@media (max-width: 600px) {
  .nelkos-hero { min-height: 220px; }
  .nelkos-slide__content { padding: 24px; }
  .nelkos-slide__content h2 { font-size: 28px; }
  .nelkos-slide__content p { font-size: 14px; }
}

/* ---------- Category tiles ---------- */
.nelkos-tiles-wrap { margin-top: 24px; }
.nelkos-tiles {
  background: #fff;
  border: 1px solid var(--nelkos-border);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.nelkos-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; transition: background .15s ease; }
.nelkos-tile:hover { background: var(--nelkos-soft); }
.nelkos-tile__img { width: 80px; height: 80px; border-radius: 999px; background-size: cover; background-position: center; border: 2px solid rgba(245,184,28,.4); }
.nelkos-tile:hover .nelkos-tile__img { border-color: var(--nelkos-primary); }
.nelkos-tile__name { font-size: 13px; font-weight: 500; color: #4b3a2b; text-align: center; }
@media (max-width: 768px) { .nelkos-tiles { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Homepage sections ---------- */
.nelkos-section { margin-top: 32px; }
.nelkos-section__card { background: #fff; border: 1px solid var(--nelkos-border); border-radius: 12px; padding: 16px; }
.nelkos-section__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.nelkos-section__head h2 { font-size: 24px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; color: #1f150c; }
.nelkos-section__head a { font-weight: 700; font-size: 14px; }
.nelkos-flame { color: var(--nelkos-primary); }
.nelkos-divider-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.nelkos-divider-head span { flex: 1; height: 1px; background: #eadfce; }
.nelkos-divider-head h2 { font-size: 24px; font-weight: 800; margin: 0; color: #1f150c; }

/* ---------- WooCommerce product grid / cards ---------- */
.woocommerce ul.products,
ul.products.nelkos-grid {
  display: grid !important;
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
ul.products.columns-6 { grid-template-columns: repeat(6, 1fr); }
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
.woocommerce ul.products li.product,
ul.products.nelkos-grid li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--nelkos-border);
  border-radius: 12px;
  overflow: hidden;
  padding: 0 !important;
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.woocommerce ul.products li.product:hover,
ul.products.nelkos-grid li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(122,52,16,.14);
}
.woocommerce ul.products li.product a img,
ul.products.nelkos-grid li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
  background: #f6f1e9;
  display: block;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products.nelkos-grid li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 500;
  color: #2b1d12;
  padding: 12px 12px 0 !important;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
}
.woocommerce ul.products li.product .price,
ul.products.nelkos-grid li.product .price {
  color: var(--nelkos-primary) !important;
  font-weight: 800;
  font-size: 18px;
  padding: 6px 12px 0 !important;
  display: block;
}
.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price del .woocommerce-Price-amount,
ul.products.nelkos-grid li.product .price del,
ul.products.nelkos-grid li.product .price del .woocommerce-Price-amount { color: #aaa !important; font-weight: 400 !important; font-size: 13px !important; }
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price ins .woocommerce-Price-amount,
ul.products.nelkos-grid li.product .price ins .woocommerce-Price-amount { text-decoration: none; font-weight: 800 !important; }
.woocommerce ul.products li.product .button,
ul.products.nelkos-grid li.product .button {
  margin: 12px !important;
  width: calc(100% - 24px);
  text-align: center;
  padding: 9px 14px !important;
  font-size: 13px;
}
.nelkos-sale-badge {
  position: absolute;
  bottom: auto;
  top: 10px;
  left: 10px;
  background: var(--nelkos-accent);
  color: var(--nelkos-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}
.woocommerce span.onsale { display: none; }

@media (max-width: 1100px) { ul.products.columns-6 { grid-template-columns: repeat(4, 1fr); } .woocommerce ul.products.columns-4 { grid-template-columns: repeat(3,1fr);} }
@media (max-width: 768px) { ul.products.columns-6, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Shop layout ---------- */
.nelkos-shop-wrap { padding-top: 20px; padding-bottom: 20px; }
.nelkos-shop-layout { display: flex; gap: 20px; }
.nelkos-shop-main { flex: 1; min-width: 0; }
.nelkos-shop-sidebar { width: 240px; flex-shrink: 0; }
.nelkos-shop-sidebar .widget {
  background: #fff;
  border: 1px solid var(--nelkos-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.widget-title { font-size: 16px; font-weight: 800; margin: 0 0 12px; color: #1f150c; }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 16px; }
.woocommerce-ordering select {
  border: 1px solid var(--nelkos-border);
  border-radius: 8px;
  padding: 8px 10px;
}
@media (max-width: 900px) { .nelkos-shop-sidebar { display: none; } }

.page-title, .woocommerce-products-header__title {
  font-size: 28px;
  font-weight: 800;
  color: #1f150c;
}

/* ---------- Single product ---------- */
.single-product div.product { display: grid; grid-template-columns: 440px minmax(0,1fr) 320px; gap: 28px; align-items: start; }
.single-product div.product > * { grid-column: 1 / -1; }
.single-product div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; }
.single-product div.product > .summary.entry-summary { grid-column: 2; grid-row: 1; }
.single-product div.product > .nelkos-pd-basket { grid-column: 3; grid-row: 1; }
@media (max-width: 1200px) { .single-product div.product { grid-template-columns: 420px minmax(0,1fr); } .single-product div.product > .nelkos-pd-basket { display: none; } }
.single-product div.product .woocommerce-product-gallery { width: 100% !important; margin: 0 !important; }
.single-product div.product .product_title { font-size: 26px; font-weight: 800; color: #1f150c; }
.single-product div.product p.price { color: var(--nelkos-primary) !important; font-size: 30px; font-weight: 800; }
.single-product div.product .price del,
.single-product div.product .price del .woocommerce-Price-amount { color: #aaa !important; font-size: 18px; font-weight: 400 !important; }
.single-product div.product .price ins,
.single-product div.product .price ins .woocommerce-Price-amount { text-decoration: none; font-weight: 800 !important; }
.single-product .woocommerce-tabs { grid-column: 1 / -1; }
.single-product .related.products,
.single-product .upsells.products { grid-column: 1 / -1; }
.woocommerce div.product form.cart .quantity input {
  border: 1px solid var(--nelkos-border);
  border-radius: 8px;
  padding: 8px;
  width: 64px;
}
.woocommerce .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--nelkos-primary); }
.woocommerce .woocommerce-tabs ul.tabs li.active a { color: var(--nelkos-primary); }
@media (max-width: 900px) { .single-product div.product { grid-template-columns: 1fr; } }

/* ---------- Cart / checkout accents ---------- */
.woocommerce-cart table.cart,
.woocommerce table.shop_table {
  border-radius: 12px;
  border: 1px solid var(--nelkos-border) !important;
  overflow: hidden;
}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details {
  background: #fff;
  border: 1px solid var(--nelkos-border);
  border-radius: 12px;
  padding: 16px;
}
.woocommerce-message,
.woocommerce-info { border-top-color: var(--nelkos-primary); }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--nelkos-primary); }

/* ---------- Blog / pages ---------- */
.nelkos-main-wrap { padding-top: 24px; padding-bottom: 24px; }
.nelkos-page-content { padding-top: 24px; padding-bottom: 24px; }
.nelkos-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nelkos-post-card { background: #fff; border: 1px solid var(--nelkos-border); border-radius: 12px; overflow: hidden; padding-bottom: 16px; }
.nelkos-post-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.nelkos-post-title { font-size: 18px; margin: 12px 16px 4px; }
.nelkos-post-meta { font-size: 12px; color: #998877; margin: 0 16px 8px; }
.nelkos-post-excerpt { font-size: 14px; color: #5b4a3b; margin: 0 16px 12px; }
.nelkos-post-card .nelkos-btn { margin: 0 16px; }
@media (max-width: 768px) { .nelkos-posts { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.nelkos-footer { background: var(--nelkos-footer); color: rgba(255,255,255,.7); margin-top: 48px; }
.nelkos-footer__trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.trust-item { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 14px; }
.trust-ico { width: 44px; height: 44px; border-radius: 999px; background: var(--nelkos-primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nelkos-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; padding: 40px 0; }
.nelkos-footer__brandcol p { font-size: 14px; line-height: 1.6; margin-top: 16px; }
.footer-widget-title { color: #fff; font-weight: 700; font-size: 14px; margin: 0 0 12px; }
.footer-widget ul { list-style: none; margin: 0; padding: 0; }
.footer-widget ul li { margin-bottom: 8px; }
.footer-widget a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-widget a:hover { color: var(--nelkos-accent); }
.nelkos-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; flex-wrap: wrap; }
.nelkos-footer__legal { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nelkos-footer__legal a { color: rgba(255,255,255,.7); }
.nelkos-footer__legal a:hover { color: #fff; }
@media (max-width: 768px) {
  .nelkos-footer__trust { grid-template-columns: repeat(2, 1fr); }
  .nelkos-footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* pagination */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current {
  border-radius: 8px;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--nelkos-primary); color: #fff; }

/* ---------- All Categories mega menu ---------- */
.nelkos-catnav__sep { width: 1px; height: 20px; background: var(--nelkos-border); margin: 0 6px; flex-shrink: 0; }
.nelkos-mega { position: relative; flex-shrink: 0; }
.nelkos-mega__trigger {
  display: inline-flex; align-items: center; gap: 8px; border: none; background: transparent;
  font-weight: 700; color: var(--nelkos-dark); padding: 7px 12px; border-radius: 8px;
  white-space: nowrap; cursor: pointer; font-size: 14px;
}
.nelkos-mega__trigger:hover, .nelkos-mega.is-open .nelkos-mega__trigger { background: var(--nelkos-soft); color: var(--nelkos-primary); }
.nelkos-mega__panel {
  position: absolute; left: 0; top: 100%; margin-top: 8px; z-index: 60;
  display: none; background: #fff; border: 1px solid var(--nelkos-border);
  border-radius: 14px; box-shadow: 0 24px 60px rgba(122,52,16,.22);
  width: min(94vw, 1080px); overflow: hidden;
}
.nelkos-mega.is-open .nelkos-mega__panel, .nelkos-mega:hover .nelkos-mega__panel { display: flex; }
.nelkos-mega__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; background: transparent; }
.nelkos-mega__rail { width: 252px; flex-shrink: 0; max-height: 560px; overflow-y: auto; border-right: 1px solid #f1e7d8; padding: 8px 0; }
.nelkos-mega__cat { display: flex; align-items: center; gap: 12px; padding: 10px 16px; color: #4b3a2b; }
.nelkos-mega__cat:hover, .nelkos-mega__cat.is-active { background: var(--nelkos-soft); color: var(--nelkos-primary); }
.nelkos-mega__cat-ico { display: inline-flex; color: inherit; }
.nelkos-mega__cat-name { font-size: 14px; flex: 1; }
.nelkos-mega__cat-arrow { opacity: 0; font-size: 18px; line-height: 1; }
.nelkos-mega__cat.is-active .nelkos-mega__cat-arrow { opacity: 1; }
.nelkos-mega__content { flex: 1; max-height: 560px; overflow-y: auto; padding: 20px; min-width: 0; }
.nelkos-mega__view { display: none; }
.nelkos-mega__view.is-active { display: block; }
.nelkos-mega__view-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.nelkos-mega__view-head h3 { font-size: 16px; font-weight: 800; margin: 0; color: #1f150c; }
.nelkos-mega__view-head a { font-size: 12px; font-weight: 700; color: var(--nelkos-primary); }
.nelkos-mega__label { font-size: 14px; font-weight: 800; color: #2b1d12; margin: 14px 0 10px; }
.nelkos-mega__rec { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #f1e7d8; }
.nelkos-mega__rec-item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.nelkos-mega__rec-img { width: 100%; aspect-ratio: 1/1; border-radius: 8px; background-size: cover; background-position: center; background-color: #f6f1e9; border: 1px solid var(--nelkos-border); }
.nelkos-mega__rec-item span:last-child { font-size: 11px; color: #6b5a4b; line-height: 1.2; }
.nelkos-mega__rec-item:hover span:last-child { color: var(--nelkos-primary); }
.nelkos-mega__brands { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #f1e7d8; }
.nelkos-mega__brand { aspect-ratio: 16/10; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #eee2d2; color: #2b1d12; font-size: 11px; font-weight: 800; text-align: center; padding: 6px; line-height: 1.1; overflow: hidden; transition: box-shadow .15s ease, border-color .15s ease; }
.nelkos-mega__brand:hover { box-shadow: 0 4px 12px rgba(122,52,16,.14); border-color: var(--nelkos-primary); color: #2b1d12; }
.nelkos-mega__brand img { max-height: 26px; max-width: 100%; object-fit: contain; }
.nelkos-mega__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 14px; }
.nelkos-mega__col-title { display: block; font-size: 14px; font-weight: 800; color: #1f150c; margin-bottom: 8px; }
.nelkos-mega__col-title:hover { color: var(--nelkos-primary); }
.nelkos-mega__col ul { list-style: none; margin: 0; padding: 0; }
.nelkos-mega__col li { margin-bottom: 7px; }
.nelkos-mega__col li a { font-size: 13px; color: #6b5a4b; }
.nelkos-mega__col li a:hover { color: var(--nelkos-primary); }
@media (max-width: 900px) { .nelkos-mega__panel { width: 96vw; } .nelkos-mega__rail { width: 180px; } .nelkos-mega__rec { grid-template-columns: repeat(4,1fr); } .nelkos-mega__brands { grid-template-columns: repeat(5,1fr); } .nelkos-mega__cols { grid-template-columns: repeat(2,1fr); } }

/* ---------- Promo strip (above category nav) ---------- */
.nelkos-promostrip { background: linear-gradient(90deg,#fff7e6,#fdeccd,#fff7e6); border-bottom: 1px solid #f0e1c6; overflow: hidden; }
.nelkos-promostrip__inner { max-width: 1500px; margin: 0 auto; height: 36px; display: flex; align-items: center; overflow: hidden; }
.nelkos-promostrip__track { display: flex; white-space: nowrap; animation: nelkosMarquee 28s linear infinite; }
.nelkos-promostrip__row { display: flex; align-items: center; gap: 32px; padding: 0 16px; flex-shrink: 0; }
.nelkos-promo-item { font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.nelkos-promo-gift { color: #d9211f; font-weight: 800; }
.nelkos-promo-gift .g { animation: giftWiggleWp 1s ease-in-out infinite; display: inline-block; }
@keyframes nelkosMarquee { 0% { transform: translateX(0);} 100% { transform: translateX(-50%);} }
@keyframes giftWiggleWp { 0%,100%{transform:rotate(-8deg);} 50%{transform:rotate(8deg);} }
@keyframes nelkosFlash { 0%,100%{opacity:1;} 50%{opacity:.55;} }
.nelkos-flash { animation: nelkosFlash 1.3s ease-in-out infinite; }

/* ---------- Hero free-gift badge + benefit bar ---------- */
.nelkos-hero { position: relative; }
.nelkos-hero__gift { position: absolute; top: 14px; right: 18px; z-index: 4; background: #d9211f; color: #fff; width: 72px; height: 72px; border-radius: 999px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.25); font-size: 10px; font-weight: 800; text-align: center; }
.nelkos-slide__content h2 { font-size: 38px; }
.nelkos-hero { min-height: 260px; }
.nelkos-benefits { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 16px; }
.nelkos-benefit { background: #fff; border: 1px solid var(--nelkos-border); border-radius: 12px; padding: 12px; display: flex; align-items: center; gap: 12px; }
.nelkos-benefit .ico { width: 40px; height: 40px; border-radius: 999px; background: var(--nelkos-soft); color: var(--nelkos-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.nelkos-benefit strong { display: block; font-size: 13px; color: #2b1d12; }
.nelkos-benefit span { font-size: 11px; color: #7a6a5b; }
@media (max-width:768px){ .nelkos-benefits{ grid-template-columns: repeat(2,1fr);} }

/* ---------- Section gradient banner ---------- */
.nelkos-secbanner { position: relative; overflow: hidden; border-radius: 14px 14px 0 0; padding: 12px 20px; display: flex; align-items: center; gap: 10px; }
.nelkos-secbanner.flash { background: linear-gradient(90deg,#ffe9c2,#ffd591,#ffefd2); }
.nelkos-secbanner.best { background: linear-gradient(90deg,#ffe1d2,#ffc6ac,#ffe9de); }
.nelkos-secbanner.love { background: linear-gradient(90deg,#ffe9c2,#f8c9d6,#ffe9c2); }
.nelkos-secbanner h2 { margin: 0; font-size: 22px; font-weight: 800; color: var(--nelkos-dark); }
.nelkos-secbanner .gift-deco { position: absolute; right: -6px; bottom: -10px; font-size: 56px; color: rgba(255,255,255,.45); }
.nelkos-section__card.has-banner { border-radius: 0 0 14px 14px; border-top: none; }

/* ---------- Loop product meta ---------- */
.nelkos-loop-meta { padding: 2px 12px 0; display: flex; flex-direction: column; gap: 2px; }
.nelkos-loop-sold { font-size: 11px; color: #8a786a; }
.nelkos-loop-left { font-size: 11px; color: #d9211f; font-weight: 700; }
.nelkos-loop-ship { font-size: 11px; font-weight: 700; }
.nelkos-loop-ship.tone-green { color: #0f8a5f; }
.nelkos-loop-ship.tone-blue { color: #1a73e8; }
.nelkos-loop-ship.tone-muted { color: #8a786a; font-weight: 500; }
.nelkos-loop-bought { font-size: 11px; color: #a0907f; }
.nelkos-ext-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nelkos-buy-now { background: var(--nelkos-primary) !important; color: #fff !important; margin-left: 8px; }
.nelkos-buy-now:hover { background: #bf560a !important; }

/* ---------- Single product delivery box ---------- */
.nelkos-single-delivery { border: 1px solid var(--nelkos-border); border-radius: 12px; margin: 14px 0; }
.nelkos-single-delivery .row { display: flex; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #f3ece1; align-items: flex-start; }
.nelkos-single-delivery .row:last-of-type { border-bottom: none; }
.nelkos-single-delivery .ico { font-size: 18px; }
.nelkos-single-delivery .ico.tone-blue { color: #1a73e8; }
.nelkos-single-delivery .ico.tone-green { color: #0f8a5f; }
.nelkos-single-delivery strong { display: block; font-size: 14px; }
.nelkos-single-delivery strong.tone-green { color: #0f8a5f; }
.nelkos-single-delivery strong.tone-blue { color: #1a73e8; }
.nelkos-single-delivery span { font-size: 12px; color: #7a6a5b; }
.nelkos-bought { padding: 8px 12px; border-top: 1px solid #f3ece1; font-size: 12px; color: #7a6a5b; }

/* ---------- Search by image modal ---------- */
.nelkos-imgmodal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; }
.nelkos-imgmodal.is-open { display: flex; }
.nelkos-imgmodal__bg { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.nelkos-imgmodal__box { position: relative; background: #fff; border-radius: 16px; padding: 24px; width: min(92vw,420px); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.nelkos-imgmodal__box h3 { margin: 0 0 4px; font-size: 18px; color: #1f150c; }
.nelkos-imgmodal__drop { border: 2px dashed var(--nelkos-accent); background: #fdf7ec; border-radius: 12px; padding: 30px; text-align: center; cursor: pointer; margin-top: 12px; }
.nelkos-imgmodal__close { position: absolute; top: 14px; right: 16px; border: none; background: none; font-size: 22px; cursor: pointer; color: #999; }
.nelkos-header__cam { background: none; border: none; color: #9aa; cursor: pointer; padding: 0 8px; display: inline-flex; align-items: center; }
.nelkos-header__cam:hover { color: var(--nelkos-primary); }

/* ---------- You may also like (single product) ---------- */
.nelkos-you-may-like { margin: 28px auto; }
.nelkos-yml-title { font-size: 20px; font-weight: 800; color: var(--nelkos-dark); margin: 0 0 14px; }
.nelkos-you-may-like ul.products { margin: 0; }

/* ---------- v1.3.0 baked-in fixes ---------- */
/* Mega "All Categories" menu was clipped by the nav scroll container */
.nelkos-catnav__inner { overflow: visible; }
@media (max-width: 900px) { .nelkos-catnav__inner { overflow-x: auto; } }
/* "You may also like" must span the full product-page grid, not one cell */
.single-product .nelkos-you-may-like { grid-column: 1 / -1; width: 100%; clear: both; }
.single-product .nelkos-you-may-like ul.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 1100px) { .single-product .nelkos-you-may-like ul.products { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { .single-product .nelkos-you-may-like ul.products { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Single product live basket card (v1.3.1) ---------- */
.nelkos-pd-basket { position: sticky; top: 120px; }
.nelkos-pd-basket__frag { background: #fff; border: 1px solid var(--nelkos-border); border-radius: 12px; overflow: hidden; }
.nelkos-pd-basket__head { padding: 14px; border-bottom: 1px solid #f3ece1; }
.nelkos-pd-basket__top { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; color: #7a6a5b; }
.nelkos-pd-basket__total { font-size: 20px; font-weight: 800; color: var(--nelkos-primary); }
.nelkos-pd-basket__checkout { display: block; text-align: center; margin-top: 12px; background: var(--nelkos-primary); color: #fff; font-weight: 800; padding: 10px; border-radius: 999px; }
.nelkos-pd-basket__checkout:hover { background: #bf560a; color: #fff; }
.nelkos-pd-basket__view { display: block; text-align: center; margin-top: 8px; border: 1px solid var(--nelkos-border); color: #444; font-weight: 700; padding: 10px; border-radius: 999px; }
.nelkos-pd-basket__view:hover { background: var(--nelkos-soft); color: #444; }
.nelkos-pd-basket__items { max-height: 420px; overflow-y: auto; }
.nelkos-pd-basket__empty { text-align: center; color: #a0907f; font-size: 13px; padding: 26px 12px; }
.nelkos-pd-basket__item { display: flex; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #f6efe5; }
.nelkos-pd-basket__img img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; border: 1px solid var(--nelkos-border); }
.nelkos-pd-basket__meta { flex: 1; min-width: 0; }
.nelkos-pd-basket__meta a { font-size: 12px; color: #2b1d12; line-height: 1.3; display: block; }
.nelkos-pd-basket__row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.nelkos-pd-basket__price { font-size: 14px; font-weight: 800; color: var(--nelkos-primary); }
.nelkos-pd-basket__qty { font-size: 12px; color: #7a6a5b; }

/* ---------- Unified React-style product card (v1.4.0) ---------- */
.woocommerce ul.products li.product.nelkos-card { background:#fff; border:1px solid var(--nelkos-border); border-radius:10px; overflow:hidden; margin:0; padding:0; display:flex; flex-direction:column; transition:box-shadow .16s ease, transform .16s ease; }
.woocommerce ul.products li.product.nelkos-card:hover { box-shadow:0 8px 22px rgba(122,52,16,.14); transform:translateY(-2px); }
.nelkos-card__media { position:relative; }
.nelkos-card__imglink { display:block; aspect-ratio:1/1; overflow:hidden; background:#faf6ef; }
.nelkos-card__media img { width:100%; height:100%; object-fit:cover; display:block; margin:0; transition:transform .3s ease; }
.nelkos-card:hover .nelkos-card__media img { transform:scale(1.05); }
.nelkos-sale-badge { position:absolute; top:8px; left:8px; background:var(--nelkos-primary); color:#fff; font-size:11px; font-weight:800; padding:2px 7px; border-radius:6px; z-index:2; }
.nelkos-card__choice { position:absolute; bottom:8px; left:8px; background:#1f1f1f; color:#fff; font-size:10px; font-weight:800; letter-spacing:.3px; padding:2px 7px; border-radius:4px; z-index:2; }
.nelkos-card__wish { position:absolute; top:6px; right:6px; width:30px; height:30px; border-radius:999px; background:rgba(255,255,255,.92); border:none; color:#7a6a5b; display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:3; box-shadow:0 2px 6px rgba(0,0,0,.12); transition:color .15s ease, transform .15s ease; }
.nelkos-card__wish:hover { transform:scale(1.12); color:#d9211f; }
.nelkos-card__wish.is-wished { color:#d9211f; }
.nelkos-card__wish.is-wished svg { fill:#d9211f; }
.nelkos-card__body { padding:8px 10px 10px; display:flex; flex-direction:column; gap:4px; flex:1; }
.woocommerce ul.products li.product.nelkos-card .nelkos-card__title { font-size:13px; line-height:1.35; color:#2b1d12; font-weight:500; margin:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:35px; }
.nelkos-card:hover .nelkos-card__title { color:var(--nelkos-primary); }
.woocommerce ul.products li.product.nelkos-card .price { margin:0; font-size:16px; font-weight:800; color:var(--nelkos-primary); }
.nelkos-card__rate { display:flex; align-items:center; gap:4px; font-size:11px; color:#7a6a5b; }
.nelkos-card__star { color:var(--nelkos-yellow,#f5b81c); }
.nelkos-card__ratenum { color:#444; font-weight:600; }
.nelkos-card__sep { color:#ddd; }
.nelkos-card__bought { font-size:11px; color:#a0907f; }
.nelkos-card__low { font-size:11px; color:#d9211f; font-weight:700; }
.nelkos-card__ship { font-size:11px; font-weight:600; }
.nelkos-card__ship.tone-green { color:#0f8a5f; }
.nelkos-card__ship.tone-blue { color:#1a73e8; }
.nelkos-card__ship.tone-muted { color:#8a786a; }
.woocommerce ul.products li.product.nelkos-card a.button { display:block; width:100%; text-align:center; margin-top:6px; background:var(--nelkos-primary); color:#fff; font-size:13px; font-weight:700; padding:7px 0; border-radius:999px; transition:background .15s ease; }
.woocommerce ul.products li.product.nelkos-card a.button:hover { background:#bf560a; }
.woocommerce ul.products li.product.nelkos-card a.added_to_cart { display:none; }

/* ---------- Footer columns (v1.4.0) ---------- */
.nelkos-footer__col h4 { font-size:14px; font-weight:800; color:#fff; margin:0 0 12px; }
.nelkos-footer__col ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.nelkos-footer__col ul li a { color:rgba(255,255,255,.78); font-size:13px; text-decoration:none; transition:color .15s ease; }
.nelkos-footer__col ul li a:hover { color:#fff; }

/* ---------- Shop filter bar (v1.5.0) ---------- */
.nelkos-filterbar { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:0 0 12px; }
.nelkos-filterbar:empty { display:none; }
.nelkos-fpill { position:relative; }
.nelkos-fpill__btn { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:999px; font-size:13px; font-weight:600; border:1px solid transparent; background:#f4f1ea; color:#444; cursor:pointer; white-space:nowrap; }
.nelkos-fpill__btn:hover { background:#ece6da; }
.nelkos-fpill.is-active .nelkos-fpill__btn { background:#fdf2e3; border-color:var(--nelkos-primary); color:var(--nelkos-primary); }
.nelkos-fpill__count { background:var(--nelkos-primary); color:#fff; font-size:10px; border-radius:999px; padding:1px 6px; }
.nelkos-fpill__menu { position:absolute; z-index:40; top:calc(100% + 6px); left:0; width:220px; max-height:280px; overflow-y:auto; background:#fff; border:1px solid var(--nelkos-border); border-radius:12px; box-shadow:0 12px 30px rgba(0,0,0,.14); padding:8px; }
.nelkos-fopt { display:flex; align-items:center; gap:8px; padding:7px 8px; border-radius:8px; font-size:13px; color:#444; cursor:pointer; }
.nelkos-fopt:hover { background:#fdf2e3; }
.nelkos-fopt input { accent-color:var(--nelkos-primary); }
.nelkos-fclear { background:none; border:none; color:#d9211f; font-weight:700; font-size:13px; cursor:pointer; display:inline-flex; align-items:center; gap:4px; }
.nelkos-active-filters { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 14px; }
.nelkos-active-filters:empty { display:none; }
.nelkos-achip { display:inline-flex; align-items:center; gap:6px; background:#fdf2e3; border:1px solid #e2d6c2; color:#7a3410; font-size:12px; font-weight:600; padding:4px 10px; border-radius:999px; cursor:pointer; }
.nelkos-fcount { font-size:13px; color:#7a6a5b; margin-left:auto; }

/* ---------- Card social-proof line (v1.6.0) ---------- */
.nelkos-card__social { display:flex; align-items:center; gap:6px; font-size:11px; color:#bf560a; font-weight:600; }
.nelkos-card__pulse { width:7px; height:7px; border-radius:999px; background:#e8590c; box-shadow:0 0 0 0 rgba(232,89,12,.5); animation:nelkosPulse 1.8s infinite; flex:0 0 auto; }
@keyframes nelkosPulse { 0%{ box-shadow:0 0 0 0 rgba(232,89,12,.5); } 70%{ box-shadow:0 0 0 6px rgba(232,89,12,0); } 100%{ box-shadow:0 0 0 0 rgba(232,89,12,0); } }
@media (prefers-reduced-motion: reduce) { .nelkos-card__pulse { animation:none; } }

/* ---------- v1.7.0 fixes: homepage card parity + PDP buttons ---------- */
/* Cards everywhere (home sections lack a .woocommerce wrapper) */
li.product.nelkos-card .nelkos-card__title { color:#2b1d12 !important; font-weight:500 !important; }
li.product.nelkos-card:hover .nelkos-card__title { color:var(--nelkos-primary) !important; }
li.product.nelkos-card .price { color:var(--nelkos-primary) !important; font-weight:800 !important; }
li.product.nelkos-card a.button, li.product.nelkos-card a.add_to_cart_button {
  display:block !important; width:100% !important; text-align:center !important; margin-top:6px !important;
  background:var(--nelkos-primary) !important; color:#fff !important; font-size:13px !important; font-weight:700 !important;
  padding:8px 0 !important; border-radius:999px !important; text-decoration:none !important;
}
li.product.nelkos-card a.button:hover, li.product.nelkos-card a.add_to_cart_button:hover { background:#bf560a !important; color:#fff !important; }
li.product.nelkos-card a.added_to_cart { display:none !important; }

/* PDP: separate Buy Now from Add to Basket + give it a distinct colour */
.single-product .nelkos-buy-now {
  display:block; margin-top:12px !important; clear:both;
  background:#2b1d12 !important; color:#fff !important; border:2px solid #2b1d12 !important;
}
.single-product .nelkos-buy-now:hover { background:#fff !important; color:#2b1d12 !important; }
.single-product form.cart .single_add_to_cart_button { margin-bottom:0; }

/* ---------- v1.8.0: top-left badge stack, search suggest, recently viewed ---------- */
/* Nelkos Choice (dark) + Local (blue) badges, top-left, mirroring the React card */
.nelkos-card__badges { position:absolute; top:8px; left:8px; display:flex; flex-direction:column; gap:4px; z-index:3; }
.nelkos-badge { align-self:flex-start; font-size:10px; font-weight:800; line-height:1.4; padding:2px 7px; border-radius:4px; color:#fff; letter-spacing:.2px; }
.nelkos-badge--choice { background:#7a3410; }
.nelkos-badge--local { background:#1a73e8; }
/* Sale % badge moves to bottom-left amber on cards (React parity) */
.nelkos-card__media .nelkos-sale-badge { top:auto; bottom:8px; left:8px; background:var(--nelkos-accent); color:var(--nelkos-dark); }

/* Live search suggestions dropdown */
.nelkos-header__search { position:relative; }
.nelkos-search-suggest { position:absolute; top:calc(100% + 8px); left:0; right:0; background:#fff; border:1px solid var(--nelkos-border); border-radius:14px; box-shadow:0 18px 50px rgba(122,52,16,.22); z-index:80; overflow:hidden; max-height:72vh; overflow-y:auto; }
.nelkos-search-suggest[hidden] { display:none; }
.nelkos-suggest__group { padding:6px; }
.nelkos-suggest__item { display:flex; align-items:center; gap:12px; padding:8px 10px; border-radius:10px; }
.nelkos-suggest__item:hover { background:var(--nelkos-soft); }
.nelkos-suggest__img { width:46px; height:46px; flex:0 0 auto; border-radius:8px; overflow:hidden; background:#f6f1e9; border:1px solid var(--nelkos-border); }
.nelkos-suggest__img img { width:100%; height:100%; object-fit:cover; display:block; }
.nelkos-suggest__meta { min-width:0; display:flex; flex-direction:column; gap:2px; }
.nelkos-suggest__title { font-size:13px; color:#2b1d12; line-height:1.3; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
.nelkos-suggest__price { font-size:13px; font-weight:800; color:var(--nelkos-primary); }
.nelkos-suggest__terms { display:flex; flex-wrap:wrap; gap:6px; padding:8px 12px; border-top:1px solid #f3ece1; }
.nelkos-suggest__chip { font-size:12px; font-weight:600; color:#7a3410; background:#fdf2e3; border:1px solid #e2d6c2; border-radius:999px; padding:4px 10px; }
.nelkos-suggest__chip:hover { background:#f9e6cb; }
.nelkos-suggest__all { display:block; text-align:center; font-size:13px; font-weight:700; color:var(--nelkos-primary); padding:12px; border-top:1px solid #f3ece1; background:#fffdf9; }
.nelkos-suggest__all:hover { background:var(--nelkos-soft); }

/* Recently viewed rail (single product page) */
.nelkos-recent { margin:28px auto; }
.nelkos-recent[hidden] { display:none; }
.single-product .nelkos-recent { grid-column:1 / -1; width:100%; clear:both; }
.nelkos-recent ul.products { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; margin:0; padding:0; list-style:none; }
@media (max-width:1100px) { .nelkos-recent ul.products { grid-template-columns:repeat(4,1fr); } }
@media (max-width:768px)  { .nelkos-recent ul.products { grid-template-columns:repeat(2,1fr); } }

/* ---------- v1.9.0: single product seller / reviews row ---------- */
.nelkos-single-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13px; color:#5b4a3b; margin:6px 0 8px; }
.nelkos-single-meta__rate { font-weight:700; color:#2b1d12; }
.nelkos-single-meta .star { color:var(--nelkos-accent); }
.nelkos-single-meta .sep { color:#ddd; }
.nelkos-single-seller { display:flex; align-items:center; flex-wrap:wrap; gap:6px; font-size:13px; color:#5b4a3b; margin:0 0 12px; padding:8px 0; border-top:1px solid #f3ece1; border-bottom:1px solid #f3ece1; }
.nelkos-single-seller__ico { color:var(--nelkos-primary); display:inline-flex; }
.nelkos-single-seller__name { font-weight:700; color:var(--nelkos-primary); }
.nelkos-single-seller__name:hover { text-decoration:underline; }
.nelkos-single-seller .star { color:var(--nelkos-accent); }

/* ---------- Homepage hero separators (AliExpress / Temu style) ---------- */
.nelkos-sepwrap { margin-top: 18px; }
.nelkos-sepband { position: relative; overflow: hidden; border-radius: 14px; padding: 26px 30px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nelkos-sepband--deals { background: linear-gradient(120deg, #b3400a 0%, var(--nelkos-primary) 48%, #f5a623 100%); color: #fff; }
.nelkos-sepband--dark { background: var(--nelkos-footer); color: #fff; }
.nelkos-sepband--soft { background: linear-gradient(120deg, var(--nelkos-soft), #fff8ea 55%, var(--nelkos-soft)); border: 1px solid var(--nelkos-border); color: var(--nelkos-dark); border-radius: 12px; margin: 4px 12px 16px; padding: 20px 26px; }
.nelkos-sepband__deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); pointer-events: none; }
.nelkos-sepband__deco.d1 { width: 240px; height: 240px; right: -70px; top: -130px; }
.nelkos-sepband__deco.d2 { width: 150px; height: 150px; left: 34%; bottom: -95px; }
.nelkos-sepband--soft .nelkos-sepband__deco { background: rgba(217,101,10,.08); }
.nelkos-sepband__main { position: relative; z-index: 1; min-width: 230px; }
.nelkos-sepband__kicker { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.2); border-radius: 999px; padding: 4px 12px; margin-bottom: 8px; }
.nelkos-sepband--soft .nelkos-sepband__kicker { background: rgba(217,101,10,.14); color: #b3400a; }
.nelkos-sepband__main h2 { margin: 0 0 4px; font-size: 30px; font-weight: 900; letter-spacing: -.01em; color: inherit; }
.nelkos-sepband--soft .nelkos-sepband__main h2 { font-size: 24px; }
.nelkos-sepband__main p { margin: 0; font-size: 14px; opacity: .92; }
.nelkos-sepband__points { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }
.nelkos-sepband__points span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.nelkos-sepband__thumbs { position: relative; z-index: 1; display: flex; gap: 16px; margin-left: auto; padding-bottom: 6px; }
.nelkos-sepband__thumb { position: relative; width: 86px; height: 86px; border-radius: 50%; border: 3px solid rgba(255,255,255,.85); background-size: cover; background-position: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); display: block; }
.nelkos-sepband__thumb .chip { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); background: #fff; color: #b3400a; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; box-shadow: 0 2px 6px rgba(0,0,0,.15); white-space: nowrap; }
.nelkos-sepband__cta { position: relative; z-index: 1; margin-left: auto; background: #fff; color: #b3400a !important; font-weight: 800; font-size: 14px; padding: 11px 26px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.16); transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap; }
.nelkos-sepband__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.nelkos-sepband--dark .nelkos-sepband__cta { color: var(--nelkos-footer) !important; }
.nelkos-sepband--soft .nelkos-sepband__cta { background: var(--nelkos-primary); color: #fff !important; }
.nelkos-sepband__thumbs + .nelkos-sepband__cta { margin-left: 0; }
@media (max-width: 860px) {
  .nelkos-sepband { padding: 20px; gap: 16px; }
  .nelkos-sepband__thumbs { margin-left: 0; }
  .nelkos-sepband__cta { margin-left: 0; }
  .nelkos-sepband__main h2 { font-size: 24px; }
}

/* ---------- Homepage: icon-only add-to-basket (AliExpress style) ---------- */
.nelkos-card__iconcart { position: absolute; right: 8px; bottom: 8px; z-index: 3; }
li.product.nelkos-card .nelkos-card__iconcart a.button,
li.product.nelkos-card .nelkos-card__iconcart a.add_to_cart_button {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 34px !important; height: 34px !important; padding: 0 !important; margin: 0 !important;
  border-radius: 50% !important; font-size: 0 !important; line-height: 0 !important;
  background: #fff !important; color: var(--nelkos-primary) !important;
  border: 1.5px solid var(--nelkos-primary) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.16);
  transition: background .15s ease, transform .15s ease;
}
li.product.nelkos-card .nelkos-card__iconcart a.button::after {
  content: ""; width: 17px; height: 17px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") center/contain no-repeat;
}
li.product.nelkos-card .nelkos-card__iconcart a.button:hover { background: var(--nelkos-primary) !important; color: #fff !important; transform: scale(1.1); }
li.product.nelkos-card .nelkos-card__iconcart a.button.loading { opacity: .55; }
li.product.nelkos-card .nelkos-card__iconcart a.added_to_cart { display: none !important; }
