/**
 * E-light design overlay — warehouse-e
 * Parent: Warehouse (IQIT) · PrestaShop 1.7.7.3
 * Source: proposals-v2/homepage-e-light-full.html
 *
 * Load AFTER parent theme CSS (priority ~200).
 * Uses !important sparingly where Warehouse specificity is high.
 */

/* ==========================================================================
   0. Fonts
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Space+Grotesk:wght@500;600;700&display=swap");

/* ==========================================================================
   1. Design tokens (CSS variables)
   ========================================================================== */
:root {
  --e-paper: #f7f6f2;
  --e-paper-2: #efeee8;
  --e-panel: #ffffff;
  --e-ink: #1a1c1f;
  --e-ink-soft: #2e3238;
  --e-mute: #6a707a;
  --e-mute-2: #8b919c;
  --e-line: #e4e2da;
  --e-line-strong: #d4d1c6;
  --e-chip: #f0efe9;
  --e-tag: #c8f200;
  --e-tag-ink: #12140a;
  --e-tag-deep: #a8d000;
  --e-tag-soft: rgba(200, 242, 0, 0.18);
  --e-amber: #e8a317;
  --e-shade: rgba(26, 28, 31, 0.55);
  --e-shadow: 0 10px 36px rgba(26, 28, 31, 0.07);
  --e-shadow-lg: 0 22px 56px rgba(26, 28, 31, 0.12);
  --e-radius: 14px;
  --e-radius-lg: 18px;
  --e-radius-pill: 999px;
  --e-max: 1480px;
  --e-gutter: 24px;
  --e-font-display: "Space Grotesk", system-ui, sans-serif;
  --e-font-body: "DM Sans", system-ui, sans-serif;
  --e-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   2. Global base
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

html body,
body#index,
body#category,
body#product,
body#cms,
body#contact,
body#search,
body#module-ph_simpleblog-list,
body#module-ph_simpleblog-single,
#wrapper,
#content-wrapper,
#main {
  font-family: var(--e-font-body) !important;
  color: var(--e-ink) !important;
  background: var(--e-paper) !important;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4,
.page-header h1,
.product-title,
.product-detail h1,
.block-category h1,
.page-heading,
.section-title {
  font-family: var(--e-font-display) !important;
  letter-spacing: -0.03em !important;
  color: var(--e-ink) !important;
  font-weight: 700 !important;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--e-ink) !important; }

img { max-width: 100%; }

/* ==========================================================================
   3. Buttons & CTA language
   ========================================================================== */
.btn,
a.btn,
button.btn,
input.btn,
.btn-primary,
.btn.btn-primary,
button.btn-primary {
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-family: var(--e-font-body) !important;
  transition: transform 0.15s var(--e-ease), filter 0.15s, box-shadow 0.15s, background 0.15s !important;
}

/* Primary dark (form submit / secondary solid) */
.btn-primary,
.btn.btn-primary,
button.btn-primary {
  background: var(--e-ink) !important;
  border-color: var(--e-ink) !important;
  color: #fff !important;
  padding: 12px 20px !important;
  box-shadow: 0 4px 14px rgba(26, 28, 31, 0.18) !important;
}
.btn-primary:hover,
.btn.btn-primary:hover,
button.btn-primary:hover {
  background: var(--e-ink-soft) !important;
  border-color: var(--e-ink-soft) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Chartreuse “ask” CTA — use .e-cta / .rp-header-cta / inquiry links */
.e-cta,
.e-cta-solid,
.rp-header-cta,
a.e-ask,
.e-dock .e-dock-solid {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--e-tag) !important;
  color: var(--e-tag-ink) !important;
  border: 0 !important;
  border-radius: var(--e-radius-pill) !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.02em;
  padding: 10px 16px !important;
  box-shadow: 0 2px 8px rgba(200, 242, 0, 0.4) !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: filter 0.15s, transform 0.15s !important;
}
.e-cta:hover,
.e-cta-solid:hover,
.rp-header-cta:hover,
a.e-ask:hover,
.e-dock .e-dock-solid:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
  color: var(--e-tag-ink) !important;
}

.e-cta-ghost,
.e-dock .e-dock-ghost {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--e-line-strong) !important;
  background: var(--e-paper) !important;
  color: var(--e-ink) !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  padding: 11px 15px !important;
  text-decoration: none !important;
}
.e-cta-ghost:hover,
.e-dock .e-dock-ghost:hover {
  border-color: var(--e-ink) !important;
  color: var(--e-ink) !important;
}

.btn-secondary,
.btn.btn-secondary,
.btn-tertiary {
  background: var(--e-panel) !important;
  border: 1px solid var(--e-line) !important;
  color: var(--e-ink) !important;
  border-radius: var(--e-radius-pill) !important;
}

/* Soften native cart CTAs — catalog-first */
#add-to-cart,
.add-to-cart,
.ajax_add_to_cart_button,
.product-add-to-cart .add .btn-primary {
  background: var(--e-paper-2) !important;
  border: 1px solid var(--e-line-strong) !important;
  color: var(--e-mute) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  opacity: 0.85;
}
#add-to-cart:hover,
.add-to-cart:hover {
  background: var(--e-panel) !important;
  color: var(--e-ink) !important;
  border-color: var(--e-ink) !important;
  transform: none;
  box-shadow: none !important;
}

/* ==========================================================================
   4. Header / nav / sticky search chrome
   ========================================================================== */
#header .header-banner,
#header .header-nav,
#header .header-top {
  background: rgba(247, 246, 242, 0.92) !important;
  border-bottom: 1px solid var(--e-line) !important;
  color: var(--e-mute) !important;
  font-size: 13px !important;
}

#header,
#header .header-main,
#header .desktop-header,
#header .header-top {
  background: rgba(247, 246, 242, 0.88) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--e-line) !important;
  box-shadow: none !important;
}

/* Sticky feel when theme supports sticky header */
#header.sticky-header,
#header.is-sticky,
.header-sticky #header {
  background: rgba(247, 246, 242, 0.92) !important;
}

#header .menu > ul > li > a,
#header .cbp-hrmenu > ul > li > a,
.cbp-hrmenu .cbp-hrsub-inner a,
#header .top-menu a {
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--e-ink-soft) !important;
  font-family: var(--e-font-body) !important;
}
#header .menu > ul > li > a:hover,
#header .menu > ul > li.current > a,
#header .cbp-hrmenu > ul > li > a:hover {
  color: var(--e-ink) !important;
}

/* Search — pill catalog OS */
#header .search-widget,
#header #search_widget,
#header .iqitsearch-wrapper,
#header form#search_widget,
#_desktop_search,
#_desktop_search_widget,
#search_widget {
  max-width: 100%;
}
#header .search-widget form,
#header #search_widget form,
#header .iqitsearch-wrapper form,
#search_widget form {
  background: var(--e-panel) !important;
  border: 1px solid var(--e-line-strong) !important;
  border-radius: var(--e-radius-pill) !important;
  padding: 4px 8px 4px 14px !important;
  box-shadow: 0 1px 2px rgba(26, 28, 31, 0.03) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
#header .search-widget form:focus-within,
#header #search_widget form:focus-within,
#search_widget form:focus-within {
  border-color: var(--e-ink) !important;
  box-shadow: 0 0 0 3px var(--e-tag-soft) !important;
}
#header .search-widget input[type="text"],
#header #search_widget input[type="text"],
#search_widget input[type="text"],
#header input[name="s"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--e-ink) !important;
  font-family: var(--e-font-body) !important;
}
#header .search-widget input::placeholder,
#search_widget input::placeholder {
  color: var(--e-mute-2) !important;
  font-weight: 400 !important;
}

/* Injected extras */
.e-header-extras,
.rp-header-extras {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}
.e-header-phone,
.rp-header-phone {
  font-variant-numeric: tabular-nums;
  font-weight: 500 !important;
  font-size: 13px !important;
  color: var(--e-mute) !important;
  white-space: nowrap;
  text-decoration: none !important;
}
.e-header-phone:hover,
.rp-header-phone:hover {
  color: var(--e-ink) !important;
}

/* Soften cart / wishlist prominence */
#header .blockcart,
#header .cart-preview,
#header .blockcart .header,
#header .iqitwishlist-header,
#header .iqitcompare-header {
  opacity: 0.45;
  transition: opacity 0.2s;
}
#header .blockcart:hover,
#header .iqitwishlist-header:hover {
  opacity: 1;
}
#header .cart-products-count,
#header .blockcart .cart-products-count {
  background: var(--e-ink) !important;
  color: #fff !important;
}

/* Optional sticky search strip (JS may clone) */
.e-sticky-search {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--e-line);
  padding: 10px var(--e-gutter);
}
.e-sticky-search .e-sticky-inner {
  max-width: var(--e-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   5. Homepage hooks / intro / moments (Elementor-friendly class hooks)
   ========================================================================== */
.e-intro,
body#index .e-intro {
  max-width: var(--e-max);
  margin: 0 auto;
  padding: 32px var(--e-gutter) 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.e-intro .e-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--e-tag-deep);
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.e-intro .e-eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--e-tag);
  border-radius: 2px;
}
.e-intro h1 {
  font-size: clamp(30px, 3.6vw, 48px) !important;
  line-height: 1.05 !important;
  margin-bottom: 12px !important;
}
.e-intro h1 .e-mark,
.e-intro h1 span.e-hl {
  background: linear-gradient(120deg, var(--e-tag), var(--e-tag));
  background-repeat: no-repeat;
  background-size: 100% 42%;
  background-position: 0 88%;
  padding: 0 2px;
}
.e-intro .lead {
  font-size: 15px;
  color: var(--e-mute);
  max-width: 46ch;
}
.e-stat {
  background: var(--e-panel);
  border: 1px solid var(--e-line);
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 110px;
  box-shadow: 0 1px 3px rgba(26, 28, 31, 0.03);
}
.e-stat b {
  display: block;
  font-family: var(--e-font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.e-stat span {
  font-size: 11px;
  color: var(--e-mute);
}

/* Filter chips */
.e-filters,
.e-chip-bar {
  max-width: var(--e-max);
  margin: 0 auto;
  padding: 4px var(--e-gutter) 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.e-chip,
button.e-chip {
  appearance: none;
  background: var(--e-panel);
  border: 1px solid var(--e-line);
  color: var(--e-mute);
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: var(--e-radius-pill);
  cursor: pointer;
  font-weight: 500;
  font-family: var(--e-font-body);
  transition: all 0.18s;
  user-select: none;
}
.e-chip:hover {
  border-color: var(--e-line-strong);
  color: var(--e-ink);
  background: var(--e-paper-2);
}
.e-chip.on,
.e-chip[aria-selected="true"],
.e-chip.is-active {
  background: var(--e-ink) !important;
  color: #fff !important;
  border-color: var(--e-ink) !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(26, 28, 31, 0.15);
}
.e-chip .n {
  opacity: 0.55;
  margin-left: 5px;
  font-variant-numeric: tabular-nums;
}

/* Category moments */
.e-moments {
  max-width: var(--e-max);
  margin: 48px auto 0;
  padding: 0 var(--e-gutter) 8px;
}
.e-mom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.e-mom {
  position: relative;
  border-radius: var(--e-radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--e-line);
  background: var(--e-panel);
  isolation: isolate;
  display: block;
}
.e-mom img,
.e-mom .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--e-ease);
}
.e-mom:hover img,
.e-mom:hover .bg { transform: scale(1.05); }
.e-mom .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(18, 20, 24, 0.82) 100%);
  pointer-events: none;
}
.e-mom .body {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
}
.e-mom .cat {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--e-tag);
  font-weight: 700;
  margin-bottom: 6px;
}
.e-mom h3 {
  font-size: 18px !important;
  color: #fff !important;
  margin-bottom: 4px !important;
}
.e-mom p { font-size: 12px; color: rgba(255, 255, 255, 0.7); margin-bottom: 10px; }
.e-mom .go {
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1.5px solid var(--e-tag);
  padding-bottom: 1px;
}

/* Marking + trust */
.e-marking {
  margin-top: 56px;
  padding: 56px var(--e-gutter);
  background: var(--e-panel);
  border-top: 1px solid var(--e-line);
  border-bottom: 1px solid var(--e-line);
}
.e-mark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
.e-mark-grid article,
.e-mark-card {
  background: var(--e-paper);
  border: 1px solid var(--e-line);
  border-radius: 12px;
  padding: 22px;
  transition: 0.2s;
}
.e-mark-grid article:hover,
.e-mark-card:hover {
  border-color: var(--e-line-strong);
  box-shadow: var(--e-shadow);
  transform: translateY(-2px);
}
.e-mark-grid .ic,
.e-mark-card .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--e-tag);
  color: var(--e-tag-ink);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
.e-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.e-trust-row .titem {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--e-paper);
  border: 1px solid var(--e-line);
}
.e-trust-row .num {
  font-family: var(--e-font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--e-tag-deep);
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--e-tag-soft);
  padding: 8px 10px;
  border-radius: 8px;
  min-width: 52px;
  text-align: center;
}
.e-trust-row b { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.e-trust-row span { font-size: 12px; color: var(--e-mute); }

/* Soften default homepage modules toward paper catalog */
body#index #wrapper,
body#index #content-wrapper {
  background: var(--e-paper) !important;
}
body#index .featured-products,
body#index .products,
body#index .elementor-section {
  /* allow Elementor; paper shows through */
}

/* ==========================================================================
   6. Category listing — .products / product miniature
   ========================================================================== */
body#category #wrapper,
body#search #wrapper,
body#prices-drop #wrapper,
body#new-products #wrapper,
body#best-sales #wrapper {
  background: var(--e-paper) !important;
}

body#category .page-header h1,
body#category .block-category h1 {
  font-size: clamp(26px, 3vw, 36px) !important;
}

body#category #js-product-list-top,
body#category .products-selection,
body#search #js-product-list-top {
  background: transparent !important;
  border: 0 !important;
  color: var(--e-mute) !important;
  font-size: 13px !important;
  padding: 8px 0 16px !important;
}

body#category .products,
body#search .products,
body#index .featured-products .products,
body#prices-drop .products,
body#new-products .products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  margin: 0 !important;
}
@media (max-width: 1100px) {
  body#category .products,
  body#search .products,
  body#index .featured-products .products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 760px) {
  body#category .products,
  body#search .products,
  body#index .featured-products .products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

body#category .products .product,
body#category .products .product-miniature,
body#category article.product-miniature,
body#search .product-miniature,
body#index .product-miniature,
body#prices-drop .product-miniature {
  background: var(--e-panel) !important;
  border: 1px solid var(--e-line) !important;
  border-radius: var(--e-radius) !important;
  overflow: visible !important;
  box-shadow: 0 1px 3px rgba(26, 28, 31, 0.04) !important;
  transition: transform 0.35s var(--e-ease), box-shadow 0.35s !important;
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  position: relative !important;
}
body#category .product-miniature:hover,
body#search .product-miniature:hover,
body#index .product-miniature:hover {
  box-shadow: var(--e-shadow) !important;
  transform: translateY(-2px);
}

body#category .product-thumbnail,
body#search .product-thumbnail,
body#index .product-thumbnail {
  display: block;
  overflow: hidden;
  background: var(--e-paper-2);
  border-radius: 0;
  margin: 0 !important;
}
body#category .product-thumbnail img,
body#search .product-thumbnail img,
body#index .product-thumbnail img {
  transition: transform 0.55s var(--e-ease);
  width: 100%;
  height: auto;
  object-fit: cover;
}
body#category .product-miniature:hover img,
body#search .product-miniature:hover img {
  transform: scale(1.045);
}

body#category .product-description,
body#category .product-miniature .product-description,
body#search .product-description {
  padding: 12px 14px 16px !important;
  background: var(--e-panel) !important;
}
body#category .product-title,
body#category .product-title a,
body#search .product-title a {
  font-family: var(--e-font-body) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
  color: var(--e-ink) !important;
  line-height: 1.3 !important;
}
body#category .product-title a:hover {
  color: var(--e-ink) !important;
}

/* Price — “nuo” feel via ::before when .e-price-from or data attribute present;
   otherwise restyle amount as chartreuse-adjacent dark */
body#category .product-price-and-shipping,
body#search .product-price-and-shipping,
body#index .product-price-and-shipping {
  margin-top: 6px !important;
}
body#category .product-price-and-shipping .price,
body#search .product-price-and-shipping .price,
body#index .product-price-and-shipping .price,
.product-miniature .price {
  font-family: var(--e-font-display) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: var(--e-ink) !important;
  font-variant-numeric: tabular-nums;
}

/* Absolute price tag overlay (tpl adds .e-price-tag) */
.product-miniature .e-price-tag,
.e-price-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: var(--e-tag);
  color: var(--e-tag-ink);
  font-family: var(--e-font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 14px rgba(200, 242, 0, 0.45), 0 2px 6px rgba(26, 28, 31, 0.12);
  letter-spacing: -0.01em;
  line-height: 1.2;
  pointer-events: none;
}
.e-price-tag small,
.e-price-tag .e-nuo {
  font-weight: 500;
  font-size: 10px;
  opacity: 0.7;
  margin-right: 3px;
}

.product-miniature .e-badge,
.e-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--e-ink);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 5px;
  font-weight: 700;
  border: 1px solid rgba(26, 28, 31, 0.08);
}
.e-badge.hit { background: var(--e-ink); color: #fff; border-color: var(--e-ink); }
.e-badge.eco { background: #e8f6e0; color: #2d6a1f; border-color: #c8e6b8; }

/* Hide noisy hover cart on cards */
body#category .product-miniature .button-container,
body#category .product-miniature .highlighted-informations,
body#category .product-miniature .product-flags,
body#search .product-miniature .button-container,
body#search .product-miniature .highlighted-informations {
  opacity: 0 !important;
  pointer-events: none !important;
}
body#category .product-miniature .add-to-cart,
body#category .product-miniature .ajax_add_to_cart_button,
body#search .product-miniature .add-to-cart {
  display: none !important;
}

/* Ask link base — chartreuse pill (reinforced later with !important) */
.product-miniature .e-ask-link,
a.e-ask-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--e-tag-ink) !important;
  background: var(--e-tag);
  border-radius: var(--e-radius-pill);
  padding: 8px 14px;
  letter-spacing: 0.02em;
  text-decoration: none !important;
}
.product-miniature .e-ask-link:hover {
  color: var(--e-tag-ink) !important;
  filter: brightness(0.97);
}

/* Facets / left column */
#search_filters,
.facets,
#_desktop_search_filters_wrapper {
  background: var(--e-panel) !important;
  border: 1px solid var(--e-line) !important;
  border-radius: var(--e-radius) !important;
  padding: 16px !important;
}
#search_filters .facet .facet-title,
.facets .facet-title {
  font-family: var(--e-font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* Filter dim helpers (JS chips on custom walls) */
.e-tile.dim,
.product-miniature.e-dim {
  opacity: 0.22;
  filter: grayscale(0.4);
  transform: scale(0.985);
  pointer-events: none;
}
.e-tile.hl,
.product-miniature.e-hl {
  box-shadow: 0 0 0 2px var(--e-tag), var(--e-shadow) !important;
}

/* ==========================================================================
   7. Product page
   ========================================================================== */
body#product #wrapper,
body#product #content-wrapper {
  background: var(--e-paper) !important;
}
body#product .product-detail,
body#product .product-container,
body#product #main {
  background: transparent !important;
}
body#product h1.product-title,
body#product .product-detail h1 {
  font-size: clamp(24px, 2.8vw, 34px) !important;
  letter-spacing: -0.035em !important;
}
body#product .current-price,
body#product .product-price,
body#product .current-price-value {
  font-family: var(--e-font-display) !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  color: var(--e-ink) !important;
}
/* Prefixed “nuo” on PDP when .e-price-from wraps price */
body#product .e-price-from::before {
  content: "nuo ";
  font-size: 12px;
  font-weight: 500;
  opacity: 0.7;
  margin-right: 2px;
  font-family: var(--e-font-display);
}

/* Inquiry block (JS injects .e-inquiry / .rp-inquiry) */
.e-inquiry,
.rp-inquiry {
  background: var(--e-panel);
  border: 1px solid var(--e-line);
  border-radius: var(--e-radius-lg);
  padding: 22px;
  margin: 16px 0 20px;
  box-shadow: var(--e-shadow);
}
.e-inquiry .e-kicker,
.rp-inquiry .rp-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--e-tag-ink);
  background: var(--e-tag);
  display: inline-block;
  padding: 5px 9px;
  border-radius: 5px;
  margin-bottom: 14px;
}
.e-inquiry-actions,
.rp-inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.e-inquiry .e-note,
.rp-inquiry .rp-note {
  font-size: 12.5px;
  color: var(--e-mute);
  margin-top: 14px;
  line-height: 1.5;
}
.e-facts,
.rp-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.e-fact,
.rp-fact {
  background: var(--e-paper);
  border: 1px solid var(--e-line);
  border-radius: 10px;
  padding: 12px 14px;
}
.e-fact b,
.rp-fact b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}
.e-fact span,
.rp-fact span {
  font-size: 12px;
  color: var(--e-mute);
}

body#product .product-add-to-cart.e-cart-quiet,
body#product .rp-cart-quiet {
  opacity: 0.7;
  margin-top: 8px;
}
body#product .product-information {
  color: var(--e-mute);
  font-size: 14.5px;
}
body#product .tabs .nav-tabs .nav-link.active {
  border-color: var(--e-ink) !important;
  color: var(--e-ink) !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   8. CMS / contact pages
   ========================================================================== */
body#cms #wrapper,
body#contact #wrapper,
body#cms #content-wrapper,
body#contact #content-wrapper {
  background: var(--e-paper) !important;
}
body#cms #main,
body#contact #main,
body#cms .page-content,
body#contact .page-content {
  background: var(--e-panel);
  border: 1px solid var(--e-line);
  border-radius: var(--e-radius-lg);
  padding: 28px 32px;
  box-shadow: var(--e-shadow);
  max-width: 920px;
}
body#cms .page-header h1,
body#contact .page-header h1 {
  font-size: clamp(26px, 2.8vw, 36px) !important;
}

/* Forms — contact + newsletter + inquiry */
.form-control,
input.form-control,
textarea.form-control,
select.form-control,
body#contact input[type="text"],
body#contact input[type="email"],
body#contact input[type="tel"],
body#contact textarea,
body#contact select,
.e-inquiry-form input,
.e-inquiry-form select,
.e-inquiry-form textarea {
  width: 100%;
  padding: 11px 13px !important;
  border-radius: 10px !important;
  border: 1px solid var(--e-line-strong) !important;
  background: var(--e-paper) !important;
  font-size: 14px !important;
  font-family: var(--e-font-body) !important;
  color: var(--e-ink) !important;
  box-shadow: none !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}
.form-control:focus,
input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus,
body#contact input:focus,
body#contact textarea:focus,
.e-inquiry-form input:focus,
.e-inquiry-form textarea:focus,
.e-inquiry-form select:focus {
  outline: 0 !important;
  border-color: var(--e-ink) !important;
  box-shadow: 0 0 0 3px var(--e-tag-soft) !important;
  background: #fff !important;
}
.form-control::placeholder {
  color: var(--e-mute-2) !important;
}
label,
.form-group label {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--e-mute) !important;
  margin-bottom: 6px !important;
}

.e-inquiry-form {
  background: var(--e-panel);
  border: 1px solid var(--e-line);
  border-radius: var(--e-radius-lg);
  padding: 28px;
  box-shadow: var(--e-shadow);
}

/* ==========================================================================
   9. Blog (ph_simpleblog generic)
   ========================================================================== */
body#module-ph_simpleblog-list #wrapper,
body#module-ph_simpleblog-single #wrapper,
.simpleblog,
#phblog {
  background: var(--e-paper) !important;
}
.simpleblog__listing,
.blog-list {
  /* listing wrapper — posts row uses Bootstrap cols + flex (see QA fixes) */
}
.simpleblog-posts.row {
  display: flex !important;
  flex-wrap: wrap !important;
}
.simpleblog__listing article,
.simpleblog-posts article,
.blog-list article,
.simpleblog__post {
  background: var(--e-panel) !important;
  border: 1px solid var(--e-line) !important;
  border-radius: var(--e-radius) !important;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(26, 28, 31, 0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}
.simpleblog__listing article:hover,
.simpleblog-posts article:hover {
  transform: translateY(-2px);
  box-shadow: var(--e-shadow);
}
.simpleblog__post-title,
.simpleblog article h2,
.simpleblog article h3 {
  font-family: var(--e-font-display) !important;
  letter-spacing: -0.02em !important;
}
body#module-ph_simpleblog-single .simpleblog__post,
body#module-ph_simpleblog-single article {
  background: var(--e-panel);
  border: 1px solid var(--e-line);
  border-radius: var(--e-radius-lg);
  padding: 28px 32px;
  box-shadow: var(--e-shadow);
  max-width: 820px;
  margin: 0 auto;
}

/* ==========================================================================
   10. Search results (shares listing rules above)
   ========================================================================== */
body#search .page-header h1,
body#search #js-product-list-header h1 {
  font-size: clamp(24px, 2.6vw, 32px) !important;
}
body#search #search_widget,
body#search .search-widget {
  margin-bottom: 20px;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
#footer,
.footer-container,
footer#footer {
  background: var(--e-paper-2) !important;
  border-top: 1px solid var(--e-line) !important;
  color: var(--e-mute) !important;
  font-size: 12.5px !important;
  padding-top: 36px !important;
  padding-bottom: 48px !important;
  box-shadow: none !important;
}
#footer a,
.footer-container a {
  color: var(--e-mute) !important;
}
#footer a:hover,
.footer-container a:hover {
  color: var(--e-ink) !important;
}
#footer .block-contact,
#footer .footer-block h4,
#footer h3,
#footer h4,
.footer-container .h3,
.footer-container h4 {
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--e-ink) !important;
  font-weight: 700 !important;
  font-family: var(--e-font-body) !important;
  margin-bottom: 12px !important;
}
#footer .e-brand-foot,
.e-brand-foot {
  font-family: var(--e-font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--e-ink);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.e-brand-foot i {
  font-style: normal;
  color: var(--e-tag-deep);
  background: var(--e-tag);
  padding: 0 3px;
  border-radius: 3px;
}

/* ==========================================================================
   12. Floating inquiry dock
   ========================================================================== */
.e-dock {
  position: sticky;
  bottom: 18px;
  z-index: 80;
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 0 var(--e-gutter);
  pointer-events: none;
}
.e-dock .e-dock-inner {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--e-line-strong);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--e-shadow-lg);
}
.e-dock p {
  font-size: 13px;
  color: var(--e-mute);
  line-height: 1.4;
  margin: 0;
}
.e-dock p b {
  color: var(--e-ink);
  font-weight: 700;
}
.e-dock-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.e-dock.is-hidden {
  display: none !important;
}
@media (max-width: 760px) {
  .e-dock .e-dock-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Toast */
.e-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--e-ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--e-radius-pill);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s var(--e-ease);
  z-index: 220;
  box-shadow: var(--e-shadow-lg);
  white-space: nowrap;
  max-width: 90vw;
}
.e-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   13. Misc Warehouse / IQIT softening
   ========================================================================== */
.breadcrumb {
  background: transparent !important;
  font-size: 12px !important;
  color: var(--e-mute) !important;
  padding: 12px 0 !important;
}
.breadcrumb a { color: var(--e-mute) !important; }
.breadcrumb a:hover { color: var(--e-ink) !important; }

.pagination .page-list li.current a,
.pagination .page-list li a:hover {
  background: var(--e-ink) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

/* Cookie / popup — keep readable on paper */
.iqitcookielaw,
#iqitpopup {
  font-family: var(--e-font-body) !important;
}

/* ==========================================================================
   14. Responsive extras
   ========================================================================== */
@media (max-width: 1100px) {
  .e-mom-grid,
  .e-mark-grid,
  .e-trust-row { grid-template-columns: repeat(2, 1fr); }
  .e-intro { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .e-mom-grid,
  .e-mark-grid,
  .e-trust-row,
  .e-facts,
  .rp-facts { grid-template-columns: 1fr; }
  .e-header-phone,
  .rp-header-phone { display: none !important; }
  body#cms #main,
  body#contact #main,
  body#cms .page-content,
  body#contact .page-content {
    padding: 20px 18px;
  }
}

/* ==========================================================================
   15. Warehouse live selectors (staging HTML samples)
   ========================================================================== */

/* Desktop header layout-1 */
#desktop-header,
#desktop-header.desktop-header-style-1,
#desktop-header .header-top {
  background: rgba(247, 246, 242, 0.88) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--e-line) !important;
  box-shadow: none !important;
}
#header.e-scrolled #desktop-header,
#header.e-scrolled .header-nav {
  background: rgba(247, 246, 242, 0.96) !important;
  box-shadow: 0 8px 28px rgba(26, 28, 31, 0.06) !important;
}

/* Soften Warehouse custom HTML slogan in header center */
#desktop-header .header-custom-html {
  display: none !important;
}

/* Search widget — Warehouse uses .input-group + .form-search-control */
#search_widget .input-group,
#header #search_widget .input-group {
  background: var(--e-panel) !important;
  border: 1px solid var(--e-line-strong) !important;
  border-radius: var(--e-radius-pill) !important;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(26, 28, 31, 0.03) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
#search_widget .input-group:focus-within {
  border-color: var(--e-ink) !important;
  box-shadow: 0 0 0 3px var(--e-tag-soft) !important;
}
#search_widget .form-search-control,
#search_widget input.form-control {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 10px 14px !important;
  height: auto !important;
}
#search_widget .search-btn {
  background: transparent !important;
  border: 0 !important;
  color: var(--e-mute) !important;
  padding: 0 14px !important;
  box-shadow: none !important;
}
#search_widget .search-btn:hover {
  color: var(--e-ink) !important;
}

/* Megamenu */
#iqitmegamenu-wrapper,
.iqitmegamenu-wrapper,
.container-iqitmegamenu {
  background: transparent !important;
  border-color: var(--e-line) !important;
}
#cbp-hrmenu > ul > li > a {
  font-family: var(--e-font-body) !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  color: var(--e-ink-soft) !important;
  letter-spacing: -0.01em;
}
#cbp-hrmenu > ul > li > a:hover,
#cbp-hrmenu > ul > li.cbp-hropen > a {
  color: var(--e-ink) !important;
}
.cbp-hrsub,
.cbp-hrsub-inner {
  background: var(--e-panel) !important;
  border: 1px solid var(--e-line) !important;
  border-radius: 12px !important;
  box-shadow: var(--e-shadow-lg) !important;
}

/* Header extras placement in col-header-right / right-nav */
.col-header-right .e-header-extras,
.right-nav .e-header-extras,
#mobile-header .e-header-extras {
  margin-left: 8px;
}
.e-mobile-extras .e-header-extras {
  width: 100%;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Hide empty cart chrome when catalog / zero products */
body.e-hide-cart #header .blockcart,
body.e-hide-cart #header .cart-preview,
body.e-hide-cart .blockcart.cart-preview,
#header .blockcart.e-cart-empty {
  opacity: 0.28 !important;
  pointer-events: none;
  filter: grayscale(0.3);
}

/* ==========================================================================
   16. Product grid — Warehouse .products-grid / layout-2
   ========================================================================== */
.products.products-grid,
#js-product-list .products,
body#category .products.row,
body#search .products.row,
body#index .products.row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -6px !important;
  margin-right: -6px !important;
}
/* Prefer CSS grid when wrappers allow — override Bootstrap cols visually */
@supports (display: grid) {
  #js-product-list .products.products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    margin: 0 !important;
  }
  #js-product-list .products.products-grid > .js-product-miniature-wrapper {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
  }
  @media (max-width: 1100px) {
    #js-product-list .products.products-grid {
      grid-template-columns: repeat(3, 1fr) !important;
    }
  }
  @media (max-width: 760px) {
    #js-product-list .products.products-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px !important;
    }
  }
}

.product-miniature.e-mini,
article.product-miniature-layout-2 {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-miniature .thumbnail-container {
  position: relative !important;
  overflow: hidden;
  background: var(--e-paper-2);
  border-radius: var(--e-radius) var(--e-radius) 0 0;
}
.product-miniature .product-thumbnail-second {
  opacity: 0;
  transition: opacity 0.35s;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.product-miniature:hover .product-thumbnail-second.loaded,
.product-miniature:hover .product-thumbnail-second[src]:not([src^="data:"]) {
  opacity: 1;
}

/* Warehouse uses .product-price (not classic .price) */
.product-miniature .product-price,
.product-price-and-shipping .product-price,
span.product-price {
  font-family: var(--e-font-display) !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  color: var(--e-ink) !important;
  font-size: 14px !important;
}
.product-miniature .product-category-name {
  font-size: 10px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--e-mute-2) !important;
  margin-bottom: 4px;
}
.product-miniature .product-reference {
  font-size: 11px !important;
  color: var(--e-mute-2) !important;
  margin-top: 2px;
}

/* Soften functional buttons / compare / quickview */
.product-functional-buttons,
.product-miniature .product-functional-buttons-bottom {
  opacity: 0;
  transition: opacity 0.2s;
}
.product-miniature:hover .product-functional-buttons {
  opacity: 0.85;
}
.product-flags .product-flag {
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--e-ink) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 5px !important;
  border: 1px solid rgba(26, 28, 31, 0.08);
}

/* Replace loud list ATC with quiet view + ask */
.product-miniature .product-add-cart,
.product-miniature .e-mini-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 0 2px;
}
.product-miniature .btn-product-list {
  background: var(--e-paper-2) !important;
  border: 1px solid var(--e-line) !important;
  color: var(--e-mute) !important;
  border-radius: var(--e-radius-pill) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  box-shadow: none !important;
  text-transform: none !important;
}
.product-miniature .btn-product-list:hover {
  border-color: var(--e-ink) !important;
  color: var(--e-ink) !important;
  background: var(--e-panel) !important;
}
.product-miniature .e-ask-link {
  margin-top: 0 !important;
}

.e-price-tag--muted {
  background: var(--e-paper) !important;
  color: var(--e-mute) !important;
  box-shadow: 0 2px 6px rgba(26, 28, 31, 0.08) !important;
  border: 1px solid var(--e-line);
}

/* Left column facets — Warehouse / facetedsearch */
#left-column,
#search_filters_wrapper {
  font-size: 13px;
}
#search_filters .facet,
.facet {
  border-bottom: 1px solid var(--e-line);
  padding-bottom: 12px;
  margin-bottom: 12px;
}
#search_filters .facet .magnitude,
.facet .magnitude {
  color: var(--e-mute-2);
  font-size: 11px;
}
#search_filters .facet .custom-checkbox input[type="checkbox"]:checked + span .ps-shown-by-js,
#search_filters .facet a:hover {
  color: var(--e-ink) !important;
}

/* Category header / description */
body#category #js-product-list-header,
body#category .block-category {
  background: transparent !important;
  border: 0 !important;
  margin-bottom: 8px;
}
body#category .category-cover img {
  border-radius: var(--e-radius);
  border: 1px solid var(--e-line);
}

/* Sort / showing */
#js-product-list-top .sort-by-row,
.products-sort-order .select-title {
  font-size: 13px !important;
  color: var(--e-mute) !important;
  border-radius: 10px !important;
  border-color: var(--e-line-strong) !important;
  background: var(--e-panel) !important;
}

/* ==========================================================================
   17. Product page — Warehouse PDP + price range note
   ========================================================================== */
body#product .product-prices {
  margin-bottom: 8px;
}
body#product .current-price .product-price,
body#product span.product-price {
  font-family: var(--e-font-display) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}
body#product .tax-shipping-delivery-label {
  font-size: 12.5px !important;
  color: var(--e-mute) !important;
  line-height: 1.45;
  max-width: 42ch;
  margin-top: 8px;
}
body#product .product-cover img,
body#product .images-container img {
  border-radius: 12px;
}
body#product .product-images img {
  border-radius: 8px;
  border: 1px solid var(--e-line);
}
body#product .tabs.product-tabs,
body#product .product-tabs {
  background: var(--e-panel);
  border: 1px solid var(--e-line);
  border-radius: var(--e-radius-lg);
  padding: 8px 20px 20px;
  box-shadow: 0 1px 3px rgba(26, 28, 31, 0.04);
}
body#product .product-additional-info,
body#product .social-sharing {
  opacity: 0.55;
}
body#product .product-additional-info:hover {
  opacity: 1;
}

/* Chartreuse price chip on PDP when JS wraps */
body#product .e-pdp-price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: var(--e-tag);
  color: var(--e-tag-ink);
  font-family: var(--e-font-display);
  font-weight: 700;
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(200, 242, 0, 0.4);
  margin-bottom: 12px;
}
body#product .e-pdp-price-tag small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
}

/* ==========================================================================
   18. CMS / kontaktai (Elementor contact form)
   ========================================================================== */
body#cms.cms-id-6 #main > .page-header,
body.page-cms #main > .page-header {
  margin-bottom: 12px;
}
body#cms .page-cms,
body#cms #content.page-content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  max-width: none !important;
  padding: 0 !important;
}
body#cms .elementor-widget-container .form-control,
body#cms .elementor input.form-control,
body#cms .elementor textarea.form-control {
  background: var(--e-paper) !important;
  border: 1px solid var(--e-line-strong) !important;
  border-radius: 10px !important;
}
body#cms .elementor button[type="submit"],
body#cms .elementor .btn-primary,
body#cms .elementor input[type="submit"] {
  background: var(--e-ink) !important;
  border-color: var(--e-ink) !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  padding: 12px 22px !important;
}
body#cms .elementor-text-editor,
body#cms .rte-content {
  color: var(--e-mute);
  font-size: 14.5px;
  line-height: 1.55;
}
body#cms .elementor-text-editor strong,
body#cms .rte-content strong {
  color: var(--e-ink);
  font-weight: 700;
}
body#cms .elementor-custom-embed iframe {
  border-radius: 14px !important;
  border: 1px solid var(--e-line);
}

/* Service CMS pages (marking) */
body#cms .page-content h2,
body#cms .page-content h3 {
  font-family: var(--e-font-display) !important;
  letter-spacing: -0.03em !important;
}

/* ==========================================================================
   19. Blog — ph_simpleblog real classes
   ========================================================================== */
body#module-ph_simpleblog-list #wrapper,
body#module-ph_simpleblog-single #wrapper,
body.page-module-ph-simpleblog-list #wrapper,
body.page-module-ph-simpleblog-single #wrapper {
  background: var(--e-paper) !important;
}
.simpleblog__listing .simpleblog-posts {
  display: flex;
  flex-wrap: wrap;
}
.simpleblog-post-item .post-item,
.e-blog-card {
  background: var(--e-panel) !important;
  border: 1px solid var(--e-line) !important;
  border-radius: var(--e-radius) !important;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 1px 3px rgba(26, 28, 31, 0.04);
  transition: transform 0.25s var(--e-ease), box-shadow 0.25s;
  padding-bottom: 8px;
}
.simpleblog-post-item .post-item:hover,
.e-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--e-shadow);
}
.simpleblog-post-item .post-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s var(--e-ease);
}
.simpleblog-post-item .post-item:hover .post-thumbnail img {
  transform: scale(1.04);
}
.simpleblog-post-item .post-title {
  padding: 14px 16px 4px;
}
.simpleblog-post-item .post-title h2 {
  font-family: var(--e-font-display) !important;
  font-size: 17px !important;
  letter-spacing: -0.025em !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}
.simpleblog-post-item .post-title a {
  color: var(--e-ink) !important;
}
.simpleblog-post-item .post-content {
  padding: 4px 16px 8px;
  font-size: 13px;
  color: var(--e-mute);
  line-height: 1.45;
}
.simpleblog-post-item .post-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--e-tag-deep) !important;
}
.simpleblog-post-item .post-additional-info {
  padding: 8px 16px 12px;
  font-size: 11px !important;
  border-top: 1px solid var(--e-line);
  margin-top: 4px;
}

body#module-ph_simpleblog-single .simpleblog__post,
body#module-ph_simpleblog-single #content article,
body#module-ph_simpleblog-single .page-content {
  background: var(--e-panel);
  border: 1px solid var(--e-line);
  border-radius: var(--e-radius-lg);
  padding: 28px 32px;
  box-shadow: var(--e-shadow);
  max-width: 820px;
  margin: 0 auto 32px;
}
body#module-ph_simpleblog-single h1 {
  font-size: clamp(26px, 3vw, 36px) !important;
}

/* ==========================================================================
   20. Search / stores / misc pages
   ========================================================================== */
body#search #js-product-list-header h1 span,
body#search .page-header h1 {
  font-family: var(--e-font-display) !important;
}
body#stores #wrapper,
body#pagenotfound #wrapper,
body#authentication #wrapper,
body#manufacturer #wrapper,
body#supplier #wrapper {
  background: var(--e-paper) !important;
}

/* Breadcrumbs refined */
.breadcrumb ol,
nav.breadcrumb {
  background: transparent !important;
}
.breadcrumb .breadcrumb-item,
.breadcrumb li {
  font-size: 12px !important;
  color: var(--e-mute) !important;
}

/* Pagination */
.pagination {
  margin-top: 24px;
}
.pagination .page-list li a,
.pagination a {
  border-radius: 8px !important;
  border: 1px solid var(--e-line) !important;
  background: var(--e-panel) !important;
  color: var(--e-ink) !important;
  min-width: 36px;
  text-align: center;
}
.pagination .page-list li.current a,
.pagination .page-list li a:hover,
.pagination li.current a {
  background: var(--e-ink) !important;
  color: #fff !important;
  border-color: var(--e-ink) !important;
}

/* Footer style-3 */
#footer-container-main.footer-style-3,
.footer-container.footer-style-3 {
  background: var(--e-paper-2) !important;
}
#footer .block-title,
#footer .block-title span {
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--e-ink) !important;
  font-weight: 700 !important;
}
.e-footer-note {
  background: var(--e-paper-2);
  border-top: 1px solid var(--e-line);
  padding: 16px 0 28px;
  text-align: center;
}
.e-footer-note .e-brand-foot {
  margin: 0;
  font-size: 12.5px;
  color: var(--e-mute);
}

/* Homepage Elementor / featured */
body#index .elementor-section {
  background: transparent;
}
body#index #content-wrapper > .container {
  max-width: var(--e-max);
}

/* Masonry wall hooks for Elementor custom HTML */
.e-wall,
#e-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 72px;
  gap: 12px;
  max-width: var(--e-max);
  margin: 0 auto;
  padding: 0 var(--e-gutter) 8px;
}
.e-tile {
  position: relative;
  border-radius: var(--e-radius);
  overflow: hidden;
  background: var(--e-panel);
  border: 1px solid var(--e-line);
  isolation: isolate;
  transition: opacity 0.35s, transform 0.35s, box-shadow 0.35s, filter 0.35s;
  box-shadow: 0 1px 3px rgba(26, 28, 31, 0.04);
}
.e-tile:hover {
  box-shadow: var(--e-shadow);
  transform: translateY(-2px);
}
@media (max-width: 1100px) {
  .e-wall, #e-wall {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 64px;
  }
}
@media (max-width: 760px) {
  .e-wall, #e-wall {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .e-tile { min-height: 220px; }
}

/* Focus visible polish */
a:focus-visible,
button:focus-visible,
.e-chip:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 0 !important;
  box-shadow: 0 0 0 3px var(--e-tag-soft) !important;
}

/* Dock fixed variant when sticky fails in some layouts */
.e-dock.e-dock-fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  margin-bottom: 0;
}

/* ==========================================================================
   20. Homepage E shell (index.tpl) — cmd / filters-bar / wall / inquiry-sec
   ========================================================================== */

body#index .e-home {
  background: var(--e-paper);
}

/* Sticky Catalog-OS command strip */
.e-cmd {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 246, 242, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--e-line);
  padding: 12px var(--e-gutter);
}
.e-cmd-inner {
  max-width: var(--e-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.e-cmd-brand {
  font-family: var(--e-font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--e-ink) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.e-cmd-brand i {
  font-style: normal;
  color: var(--e-tag-ink);
  background: var(--e-tag);
  border-radius: 999px;
  padding: 0 5px;
  margin: 0 1px;
  font-size: 14px;
}
.e-cmd-search {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--e-panel);
  border: 1px solid var(--e-line-strong);
  border-radius: var(--e-radius-pill);
  padding: 0 16px 0 40px;
  min-height: 44px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.e-cmd-search:focus-within {
  border-color: var(--e-ink);
  box-shadow: 0 0 0 3px var(--e-tag-soft);
}
.e-cmd-ico {
  position: absolute;
  left: 14px;
  color: var(--e-mute-2);
  pointer-events: none;
}
.e-cmd-search input[type="search"] {
  flex: 1;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  font-size: 14px !important;
  font-family: var(--e-font-body) !important;
  color: var(--e-ink) !important;
  padding: 10px 8px !important;
  min-width: 0;
  width: 100%;
}
.e-cmd-hint {
  font-size: 11px;
  color: var(--e-mute-2);
  white-space: nowrap;
  padding-left: 8px;
  border-left: 1px solid var(--e-line);
  margin-left: 4px;
}
.e-cmd-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.e-intro-meta {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.e-intro-left { flex: 1; min-width: 0; }

.e-filters-bar {
  max-width: var(--e-max);
  margin: 0 auto;
  padding: 4px var(--e-gutter) 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.e-filters-bar .e-filters {
  padding: 0;
  margin: 0;
  flex: 1;
}
a.e-chip {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}
.e-filters-meta {
  font-size: 12px;
  color: var(--e-mute);
  white-space: nowrap;
}
.e-filters-meta b {
  color: var(--e-ink);
  font-variant-numeric: tabular-nums;
}

/* Wall wrap around displayHome */
.e-wall-wrap {
  max-width: var(--e-max);
  margin: 8px auto 0;
  padding: 0 var(--e-gutter) 24px;
}
.e-wall-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.e-wall-title {
  font-family: var(--e-font-display) !important;
  font-size: clamp(20px, 2vw, 26px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  margin: 0 !important;
}
.e-wall-sub {
  font-size: 13px;
  color: var(--e-mute);
  margin: 0;
}
.e-home-modules .products,
.e-home-modules .featured-products .products,
.e-wall-wrap .products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 0 !important;
}
.e-home-modules .js-product-miniature-wrapper,
.e-wall-wrap .js-product-miniature-wrapper {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}
.e-wall-more {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: center;
  padding: 28px 0 8px;
}
.e-wall-more a {
  font-size: 14px;
  font-weight: 600;
  color: var(--e-ink) !important;
  text-decoration: none !important;
  border-bottom: 1.5px solid var(--e-tag);
  padding-bottom: 2px;
}
.e-wall-more a:hover { color: var(--e-ink-soft) !important; }
.e-wall-more .e-wall-ask {
  color: var(--e-tag-ink) !important;
  background: var(--e-tag);
  border: 0;
  border-radius: var(--e-radius-pill);
  padding: 10px 18px;
  box-shadow: 0 2px 8px rgba(200, 242, 0, 0.4);
}
.e-wall-more .e-wall-ask:hover {
  filter: brightness(0.97);
}

.e-sec-head {
  margin-bottom: 20px;
}
.e-sec-head h2 {
  font-family: var(--e-font-display) !important;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  margin: 0 0 6px !important;
}
.e-sec-sub {
  font-size: 14px;
  color: var(--e-mute);
  max-width: 52ch;
  margin: 0;
}
.e-marking-inner {
  max-width: var(--e-max);
  margin: 0 auto;
}
.e-mark-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--e-ink) !important;
  border-bottom: 1.5px solid var(--e-tag);
  text-decoration: none !important;
}

/* Inquiry section (homepage) */
.e-inquiry-sec {
  max-width: var(--e-max);
  margin: 64px auto 48px;
  padding: 0 var(--e-gutter);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.e-inquiry-sec h2 {
  font-family: var(--e-font-display) !important;
  font-size: clamp(26px, 2.8vw, 36px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em;
  line-height: 1.15 !important;
  margin: 0 0 12px !important;
}
.e-inquiry-sec h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--e-tag), var(--e-tag));
  background-repeat: no-repeat;
  background-size: 100% 42%;
  background-position: 0 88%;
  padding: 0 2px;
}
.e-inquiry-copy > p {
  font-size: 15px;
  color: var(--e-mute);
  max-width: 46ch;
  margin-bottom: 24px;
}
.e-inquiry-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.e-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.e-step i {
  font-style: normal;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--e-tag);
  color: var(--e-tag-ink);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--e-font-display);
}
.e-step b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.e-step span {
  font-size: 12.5px;
  color: var(--e-mute);
}
.e-inquiry-panel {
  margin: 0;
}
.e-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.e-form-head h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}
.e-form-head span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--e-tag-deep);
  background: var(--e-tag-soft);
  padding: 4px 8px;
  border-radius: 5px;
}
.e-inquiry-panel-lead {
  font-size: 13.5px;
  color: var(--e-mute);
  margin-bottom: 18px;
}
.e-inquiry-panel .e-inquiry-actions {
  flex-direction: column;
  align-items: stretch;
}
.e-inquiry-panel .e-cta,
.e-inquiry-panel .e-cta-ghost {
  text-align: center;
  justify-content: center;
}

/* Miniature: ask primary, view quiet */
.e-mini-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
}
.e-ask-link,
.e-ask-link--primary {
  font-size: 13px;
  font-weight: 700;
  color: var(--e-tag-ink) !important;
  background: var(--e-tag);
  text-decoration: none !important;
  padding: 8px 14px;
  border-radius: var(--e-radius-pill);
  box-shadow: 0 2px 8px rgba(200, 242, 0, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-block;
}
.e-ask-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200, 242, 0, 0.45);
  color: var(--e-tag-ink) !important;
}
.e-btn-quiet,
.e-mini-actions .e-btn-view {
  background: transparent !important;
  border: 1px solid var(--e-line) !important;
  color: var(--e-mute) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  border-radius: var(--e-radius-pill) !important;
  box-shadow: none !important;
  opacity: 0.85;
}
.e-btn-quiet:hover,
.e-mini-actions .e-btn-view:hover {
  border-color: var(--e-line-strong) !important;
  color: var(--e-ink) !important;
  opacity: 1;
}
.e-price-secondary {
  opacity: 0.55;
  font-size: 12px !important;
}
.e-mini-funcs {
  opacity: 0.35;
  transition: opacity 0.2s;
}
.e-mini:hover .e-mini-funcs { opacity: 0.7; }

/* PDP secondary ATC */
.e-atc-secondary {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--e-line);
  opacity: 0.65;
}
.e-atc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--e-mute-2);
  margin-bottom: 10px;
}
.e-atc-label span { font-weight: 400; text-transform: none; letter-spacing: 0; }
.e-atc-btn {
  background: var(--e-paper-2) !important;
  border: 1px solid var(--e-line-strong) !important;
  color: var(--e-mute) !important;
  font-size: 13px !important;
  box-shadow: none !important;
}
.e-atc-btn:hover {
  background: var(--e-paper) !important;
  color: var(--e-ink) !important;
}
.e-atc-min { font-size: 12px; color: var(--e-mute); }

@media (max-width: 980px) {
  .e-cmd-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .e-cmd-brand { display: none; }
  .e-cmd-hint { display: none; }
  .e-cmd-actions { justify-content: flex-end; }
  .e-intro-meta { width: 100%; flex-wrap: wrap; }
  .e-inquiry-sec {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 48px;
  }
  .e-mom-grid { grid-template-columns: repeat(2, 1fr); }
  .e-mark-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .e-mom-grid,
  .e-mark-grid { grid-template-columns: 1fr; }
  .e-cmd-actions .e-header-phone { display: none; }
}

/* Sticky cmd elevation when scrolled */
.e-cmd.e-cmd-stuck {
  box-shadow: 0 8px 28px rgba(26, 28, 31, 0.06);
  background: rgba(247, 246, 242, 0.94);
}

.e-footer-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}


/* === E QA FIXES: contact header + blog grid === */
/* Kill Elementor contact-page custom header rebuild (duplicates logos) */
body.cms-id-6 #rp-contact-header,
body.cms-id-6 .rp-contact-header-shell,
body#cms.cms-id-6 #rp-contact-header,
body#cms #rp-contact-header,
#rp-contact-header,
.rp-contact-header-shell {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Keep Warehouse/E header + footer on Kontaktai */
body.cms-id-6 #header.rp-original-header-hidden,
body#cms.cms-id-6 #header.rp-original-header-hidden,
body.cms-id-6 #header,
body#cms #header {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
  position: relative !important;
  opacity: 1 !important;
}
body.cms-id-6 #footer.rp-original-footer-hidden,
body#cms #footer.rp-original-footer-hidden,
body.cms-id-6 #footer,
body#cms #footer {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

/* Blog: full-width Bootstrap row of cards */
body#module-ph_simpleblog-list .simpleblog__listing,
body#module-ph_simpleblog-list #content.page-content,
body#module-ph_simpleblog-list .simpleblog {
  width: 100% !important;
  max-width: 100% !important;
}
body#module-ph_simpleblog-list .simpleblog__listing {
  display: block !important;
}
body#module-ph_simpleblog-list .simpleblog-posts,
body#module-ph_simpleblog-list .simpleblog-posts.row,
.simpleblog__listing .simpleblog-posts.row {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: -10px !important;
  margin-right: -10px !important;
  grid-template-columns: none !important;
}
body#module-ph_simpleblog-list .simpleblog-post-item,
.simpleblog-post-item {
  display: block !important;
  float: none !important;
  box-sizing: border-box !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin-bottom: 24px !important;
  min-width: 0 !important;
}
@media (min-width: 992px) {
  body#module-ph_simpleblog-list .simpleblog-post-item.col-md-3,
  .simpleblog-post-item.col-md-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  body#module-ph_simpleblog-list .simpleblog-post-item,
  .simpleblog-post-item.col-sm-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}
@media (max-width: 767px) {
  body#module-ph_simpleblog-list .simpleblog-post-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}
body#module-ph_simpleblog-list .e-blog-card,
body#module-ph_simpleblog-list .post-item {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
body#module-ph_simpleblog-list .post-thumbnail img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
}

/* Listing: always show chartreuse ask CTA on miniatures (never hover-only / clipped) */
.product-miniature,
.product-miniature.e-mini,
body#category .product-miniature,
body#search .product-miniature,
body#index .product-miniature,
.js-product-miniature-wrapper .product-miniature {
  overflow: visible !important;
}
.product-miniature .thumbnail-container {
  overflow: hidden; /* image only */
}
.product-miniature .product-description,
.product-miniature .product-add-cart,
.product-miniature .e-mini-actions {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
  position: relative !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}
.product-miniature .product-description {
  display: block !important;
  padding-bottom: 14px !important;
}
.product-miniature .e-mini-actions {
  flex-direction: column !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 10px !important;
  padding: 0 2px !important;
}
.product-miniature .e-ask-link,
.product-miniature .e-ask-link--primary,
.e-mini-actions .e-ask-link,
a.e-ask-link.e-ask-link--primary {
  display: inline-flex !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: var(--e-tag-ink) !important;
  background: var(--e-tag) !important;
  text-decoration: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: var(--e-radius-pill) !important;
  padding: 8px 14px !important;
  box-shadow: 0 2px 8px rgba(200, 242, 0, 0.35) !important;
  white-space: nowrap !important;
  letter-spacing: 0.01em;
}
.product-miniature .e-ask-link:hover,
.product-miniature .e-ask-link--primary:hover {
  color: var(--e-tag-ink) !important;
  background: var(--e-tag) !important;
  filter: brightness(0.97);
  transform: translateY(-1px);
}
/* Soften competing list ATC / arcontactus-looking chrome on cards */
.product-miniature .arcontactus,
.product-miniature [class*="arcontact"],
.product-miniature .button-container .add-to-cart,
.product-miniature .ajax_add_to_cart_button {
  display: none !important;
}

/* === E: disable rpcontactmenufix native bar === */
body.cms-id-6 .rp-contact-native-bar,
#rp-contact-native-bar,
.rp-contact-native-bar {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
body.cms-id-6 #header.rp-contact-theme-header-hidden,
body.cms-id-6 #header.rp-original-header-hidden,
body#cms #header.rp-contact-theme-header-hidden,
body#cms #header {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  position: relative !important;
}
body.cms-id-6 #rp-contact-header,
#rp-contact-header,
.rp-contact-header-shell {
  display: none !important;
}

/* ==========================================================================
   E: Site-wide — hide classic Warehouse header; .e-cmd is the only chrome
   ========================================================================== */
#header .header-banner,
#header .header-nav,
#header #desktop-header,
#header #mobile-header,
#header .e-classic-chrome,
#header .desktop-header-style-1,
#header .desktop-header-style-w-1,
#header .e-mobile-extras,
#iqitmegamenu-wrapper,
.iqitmegamenu-wrapper,
.container-iqitmegamenu,
#header #cbp-hrmenu,
#header .cbp-hrmenu,
#sticky-cart-wrapper {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Keep #header as thin sticky shell for .e-cmd (do NOT display:none the whole header) */
#header,
header#header,
body#index #header,
body#cms #header,
body.cms-id-6 #header,
body#category #header,
body#product #header,
body#search #header,
body#contact #header,
body#module-ph_simpleblog-list #header,
body#module-ph_simpleblog-single #header {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(247, 246, 242, 0.94) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--e-line) !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#header .e-cmd,
.e-cmd {
  position: relative;
  top: auto;
  z-index: 1001;
  background: transparent;
  border-bottom: 0;
}
body#index #wrapper,
#wrapper {
  padding-top: 0 !important;
}

/* Kill staging Elementor home chrome if still hooked */
body#index .rp-home-2026,
body#index .elementor .rp-home-2026,
.rp-home-2026,
#index .rev_slider_wrapper,
#index .revslider,
body#index rs-module-wrap,
body#index .areslider,
body#index .arproductlists {
  display: none !important;
}

/* Site-wide: kill leftover staging RP contact / navy chrome */
#rp-contact-header,
.rp-contact-header-shell,
.rp-contact-native-bar,
#rp-contact-native-bar,
.rp-contact-bar,
.rp-navy-bar,
[class*="rp-contact-header"],
.rp-header-shell--navy {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* ==========================================================================
   E: Kontaktai page (CMS 6)
   ========================================================================== */
body#cms.cms-id-6 #content.e-cms-contact,
body#cms.cms-id-6 .e-contact-page {
  max-width: var(--e-max);
  margin: 0 auto;
  padding: 24px var(--e-gutter) 64px;
  background: transparent !important;
}
body#cms.cms-id-6 .page-header,
body#cms.cms-id-6 .page-heading,
body#cms.cms-id-6 h1.page-heading,
body#cms.cms-id-6 #main > h1,
body#cms.cms-id-6 .rte-content > style {
  display: none !important;
}
.e-contact-hero {
  margin-bottom: 36px;
}
.e-contact-hero h1 {
  font-family: var(--e-font-display) !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em;
  line-height: 1.1 !important;
  margin: 8px 0 14px !important;
  color: var(--e-ink) !important;
}
.e-contact-hero .lead {
  font-size: 16px;
  color: var(--e-mute);
  max-width: 52ch;
  margin: 0 0 28px;
}
.e-contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.e-contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--e-panel);
  border: 1px solid var(--e-line);
  border-radius: var(--e-radius);
  padding: 18px 20px;
  text-decoration: none !important;
  color: var(--e-ink) !important;
  box-shadow: var(--e-shadow);
  transition: border-color 0.15s, transform 0.15s;
}
a.e-contact-card:hover {
  border-color: var(--e-tag-deep);
  transform: translateY(-2px);
  color: var(--e-ink) !important;
}
.e-contact-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--e-mute-2);
}
.e-contact-card strong {
  font-family: var(--e-font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.e-contact-card-hint {
  font-size: 12.5px;
  color: var(--e-mute);
}
.e-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .e-contact-grid { grid-template-columns: 1fr; }
}
.e-contact-form-panel {
  background: var(--e-panel);
  border: 1px solid var(--e-line);
  border-radius: var(--e-radius-lg);
  padding: 28px 28px 32px;
  box-shadow: var(--e-shadow);
}
.e-contact-form-panel .e-form-head {
  margin-bottom: 8px;
}
.e-contact-form-panel .e-form-head h2 {
  font-family: var(--e-font-display) !important;
  font-size: 22px !important;
  margin: 0 !important;
}
.e-contact-form-lead {
  font-size: 13.5px;
  color: var(--e-mute);
  margin: 0 0 20px;
}
.e-contact-form-lead a {
  color: var(--e-ink) !important;
  border-bottom: 1.5px solid var(--e-tag);
  font-weight: 600;
}
.e-contact-form-widget .col-sm-8 {
  max-width: 100% !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  padding: 0 !important;
}
.e-contact-form-widget .contact-form h4 {
  display: none !important;
}
.e-contact-form-widget .form-group.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.e-contact-form-widget .form-control,
.e-contact-form-widget select,
.e-contact-form-widget textarea,
.e-contact-form-widget input[type="email"],
.e-contact-form-widget input[type="text"] {
  background: var(--e-paper) !important;
  border: 1px solid var(--e-line-strong) !important;
  border-radius: 12px !important;
  color: var(--e-ink) !important;
  font-family: var(--e-font-body) !important;
  padding: 12px 14px !important;
}
.e-contact-form-widget .btn-primary,
.e-contact-form-widget input[type="submit"] {
  background: var(--e-tag) !important;
  border-color: var(--e-tag) !important;
  color: var(--e-tag-ink) !important;
  border-radius: var(--e-radius-pill) !important;
  font-weight: 700 !important;
  padding: 12px 22px !important;
  box-shadow: 0 2px 8px rgba(200, 242, 0, 0.4) !important;
}
.e-contact-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.e-contact-aside-card {
  background: var(--e-paper-2);
  border: 1px solid var(--e-line);
  border-radius: var(--e-radius);
  padding: 22px;
}
.e-contact-aside-card h3 {
  font-family: var(--e-font-display) !important;
  font-size: 16px !important;
  margin: 0 0 12px !important;
}
.e-contact-aside-card p {
  font-size: 13.5px;
  color: var(--e-mute);
  margin: 0 0 16px;
}
.e-contact-steps {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.e-contact-steps li {
  font-size: 13.5px;
  color: var(--e-mute);
}
.e-contact-steps li b {
  color: var(--e-ink);
  display: block;
  margin-bottom: 2px;
}

/* Restyle Warehouse header (non-index) to E paper/charcoal */
#header,
#header .header-nav,
#header .header-top,
#desktop-header {
  background: var(--e-paper) !important;
  border-bottom: 1px solid var(--e-line) !important;
  color: var(--e-ink) !important;
}
#header .cbp-hrmenu > ul > li > a,
#header .menu > ul > li > a,
#iqitmegamenu-horizontal a {
  color: var(--e-ink) !important;
  font-family: var(--e-font-body) !important;
}

/* ==========================================================================
   E QA 2026-09-29: product page + final chrome overrides
   ========================================================================== */
body#product,
body#product #wrapper,
body#product #content-wrapper,
body#product #main,
body#product .product-detail,
body#product .product-container {
  background: var(--e-paper) !important;
  color: var(--e-ink) !important;
  font-family: var(--e-font-body) !important;
}
body#product h1,
body#product .h1,
body#product .product-title,
body#product .page-title {
  font-family: var(--e-font-display) !important;
  color: var(--e-ink) !important;
}
body#product .e-inquiry,
body#product .rp-inquiry {
  background: var(--e-panel);
  border: 1px solid var(--e-line);
  border-radius: var(--e-radius-lg);
  padding: 22px 24px;
  box-shadow: var(--e-shadow);
  margin-bottom: 18px;
}
body#product .e-inquiry .e-cta,
body#product .rp-inquiry .e-cta {
  background: var(--e-tag) !important;
  color: var(--e-tag-ink) !important;
  border-radius: var(--e-radius-pill) !important;
  font-weight: 700 !important;
}
body#product .product-actions,
body#product .product-add-to-cart {
  background: transparent !important;
}
body#product #desktop-header,
body#product #mobile-header,
body#product .header-nav,
body#cms #desktop-header,
body#cms #mobile-header,
body#cms .header-nav,
body#category #desktop-header,
body#category #mobile-header,
body#category .header-nav {
  display: none !important;
}

/* Beat iqitthemeeditor navy leftovers on any remaining header scraps */
#header,
#header .header-top,
#header .header-nav,
#desktop-header,
#desktop-header .header-top,
.header-nav {
  background: var(--e-paper) !important;
  background-color: var(--e-paper) !important;
  color: var(--e-ink) !important;
  border-color: var(--e-line) !important;
  box-shadow: none !important;
}

/* Ensure dual e-cmd ids never leave a ghost (homepage no longer duplicates) */
.e-cmd + .e-cmd { display: none !important; }

/* === E: FORCE visible ask CTA on category cards (beat iqit custom_s_1) === */
body#category article.product-miniature,
body#category article.product-miniature.e-mini,
body#search article.product-miniature {
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
}
body#category #js-product-list .js-product-miniature-wrapper {
  height: auto !important;
  align-items: stretch !important;
}
body#category article.product-miniature .thumbnail-container {
  position: relative !important;
  overflow: hidden !important; /* clip image only */
}
body#category article.product-miniature .product-description {
  display: flex !important;
  flex-direction: column !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  height: auto !important;
  min-height: 96px !important;
  padding: 12px 14px 16px !important;
  background: var(--e-panel) !important;
  z-index: 2 !important;
}
body#category article.product-miniature .product-add-cart.e-mini-actions,
body#category article.product-miniature .e-mini-actions {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 3 !important;
  margin-top: 10px !important;
}
/* Overlay pill on product image — always visible without scrolling the card */
a.e-ask-overlay,
.product-miniature .e-ask-overlay {
  position: absolute !important;
  left: 10px !important;
  right: 10px !important;
  bottom: 10px !important;
  z-index: 6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  background: var(--e-tag) !important;
  color: var(--e-tag-ink) !important;
  font-family: var(--e-font-body) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-radius: 999px !important;
  padding: 10px 14px !important;
  box-shadow: 0 4px 16px rgba(200, 242, 0, 0.45) !important;
  border: 0 !important;
  text-align: center !important;
  max-width: calc(100% - 20px);
  margin: 0 auto;
}
a.e-ask-overlay:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 242, 0, 0.55) !important;
  color: var(--e-tag-ink) !important;
}
