/* ============================================================
   eMag Modern UI v7  FINAL COMPLET
   Header: logo|search|nav(desktop) / logo|search|hamburger(mobile)
   Hamburger: opens dropdown BELOW header, can close
   Desktop: no hamburger shown
   2x <br> spacer under header on all pages
   Account: mobile optimized
   ============================================================ */

:root {
  --emag-blue:    #1a72c5;
  --emag-blue-dk: #0d5aab;
  --emag-red:     #e53935;
  --emag-yellow:  #f5a623;
  --emag-green:   #388e3c;
  --emag-bg:      #f5f5f5;
  --emag-surface: #fff;
  --emag-border:  #e0e0e0;
  --emag-text:    #333;
  --bottom-h:     56px;
  --header-h:     60px;
}

body {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--emag-bg);
}

/* ============================================================
   HEADER GLOBAL
   ============================================================ */
.site-header.modern-nav {
  position: sticky;
  top: 0; z-index: 200;
  width: 100% !important; max-width: 100% !important;
  margin: 0 !important; padding: 0 !important;
  background: var(--emag-blue) !important;
  border: 0 !important; border-radius: 0 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
  backdrop-filter: none !important;
  display: block !important;
}

/*  HEADER INNER: logo | search | nav | hamburger  */
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto auto;
  align-items: center;
  gap: 14px; padding: 10px 20px;
  max-width: 1280px; margin: 0 auto;
}

/* LOGO */
.brand {
  display: flex !important; align-items: center !important;
  gap: 8px !important; color: #fff !important;
  font-size: 20px !important; font-weight: 800 !important;
  letter-spacing: -.02em !important; white-space: nowrap;
  flex-shrink: 0; text-decoration: none;
}
.brand span { background: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important; }
.brand img { height: auto !important; max-height: 60px !important; width: auto !important; max-width: 220px !important; border-radius: 0 !important; object-fit: contain !important; flex-shrink: 0; }
.brand .mobile-logo { display: none; }

/* SEARCH */
.site-header .search { position: relative; width: 100%; min-width: 0; }
.site-header .search input {
  width: 100%; height: 40px;
  background: rgba(255,255,255,.97) !important;
  border: 0 !important; border-radius: 8px;
  font-size: 14px; padding: 0 12px 0 40px;
  box-shadow: none !important; color: #333; outline: none;
}
.site-header .search input::placeholder { color: #999; }
.site-header .search::before {
  content: ""; position: absolute; left: 13px; top: 50%;
  width: 13px; height: 13px; border: 2px solid #bbb;
  border-radius: 999px; transform: translateY(-52%);
  z-index: 1; pointer-events: none;
}
.site-header .search::after {
  content: ""; position: absolute; left: 25px; top: calc(50% + 4px);
  width: 5px; height: 2px; background: #bbb; border-radius: 2px;
  transform: rotate(45deg); z-index: 1; pointer-events: none;
}

/*  DESKTOP NAV (inline, right of search)  */
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  /* Desktop: shown inline */
}

/* Badge nr produse cos — pozitie absoluta pe icon, nu inline in text */
.nav-icon-badgeable {
  position: relative;
  display: inline-flex;
}
.nav-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: #dc2626;
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  pointer-events: none;
  white-space: nowrap;
}
.main-nav a {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 12px; border-radius: 8px;
  color: rgba(255,255,255,.92);
  font-size: 13px; font-weight: 600;
  white-space: nowrap; text-decoration: none;
  transition: background .15s, color .15s;
  position: relative;
}
.main-nav a:hover { background: rgba(255,255,255,.18); color: #fff; }
.main-nav a b {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--emag-red);
  color: #fff; font-size: 10px; font-weight: 700;
}
.main-nav a b:empty { display: none; }

/*  HAMBURGER  hidden on desktop  */
.mobile-menu-btn {
  display: none !important; /* Hidden on desktop */
  flex-direction: column;
  justify-content: center; align-items: center;
  gap: 4px; width: 42px; height: 42px;
  border: 0; border-radius: 10px;
  background: rgba(255,255,255,.18);
  cursor: pointer; flex-shrink: 0; padding: 0;
}
.mobile-menu-btn span {
  display: block; width: 20px; height: 2px;
  border-radius: 2px; background: #fff;
  transition: transform .22s ease, opacity .18s;
  margin: 0;
}
.mobile-menu-btn::before, .mobile-menu-btn::after {
  display: none !important; content: none !important;
}
/* X animation when menu open */
.site-menu-open .mobile-menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
.site-menu-open .mobile-menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Benefit bar */
.benefit-bar {
  background: var(--emag-blue-dk) !important; border: 0 !important;
  border-radius: 0 !important; width: 100% !important; margin: 0 !important;
  color: rgba(255,255,255,.9) !important; font-size: 12px !important;
  font-weight: 600 !important; padding: 7px 20px !important; box-shadow: none !important;
}
.benefit-bar span { color: rgba(255,255,255,.88) !important; }
.benefit-bar span + span { border-left-color: rgba(255,255,255,.22) !important; }

/*  SPACER  2 linii sub header  */
.header-spacer {
  display: block;
  height: 40px; /* 4x <br> breathing room under navbar */
  background: var(--emag-bg);
}

/* ============================================================
   HOME HERO  DESKTOP
   ============================================================ */
@media (min-width: 961px) {
  .home-hero {
    max-width: 1280px; margin: 0 auto;
    padding: 0 20px;
    display: grid; grid-template-columns: 1fr 240px;
    gap: 14px; align-items: stretch;
  }
  .hero-stage {
    min-height: 440px; border-radius: 12px; overflow: hidden;
    background: linear-gradient(145deg, rgba(8,12,20,.88) 0%, rgba(15,25,20,.75) 100%) !important;
    position: relative; display: flex; align-items: flex-end;
    padding: 40px 48px; box-shadow: 0 4px 16px rgba(0,0,0,.2);
    border: 0 !important; order: 1;
  }
  .hero-cats {
    background: var(--emag-surface); border: 1px solid var(--emag-border);
    border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.08);
    height: 440px; overflow: hidden; order: 2;
  }
  .hero-cats h2 {
    font-size: 14px; font-weight: 700; padding: 14px 16px 10px;
    border-bottom: 1px solid #f0f0f0; color: #111; margin: 0;
  }
  .hero-cats > div {
    height: calc(100% - 46px); overflow-y: auto;
    padding: 6px 8px; display: flex; flex-direction: column; gap: 1px;
  }
  .hero-cats a {
    display: grid !important; grid-template-columns: 38px 1fr 8px !important;
    align-items: center; gap: 10px; padding: 8px 10px;
    border-radius: 8px; font-size: 13px; font-weight: 500; color: #333;
    transition: background .15s, color .15s;
  }
  .hero-cats a::after {
    content: ""; display: block; width: 6px; height: 6px;
    border-right: 2px solid #ccc; border-top: 2px solid #ccc;
    transform: rotate(45deg);
  }
  .hero-cats a:hover { background: #f0f7ff; color: var(--emag-blue); }
  .hero-cats a:hover::after { border-color: var(--emag-blue); }
  .hero-cats img { width: 36px !important; height: 36px !important; border-radius: 8px; object-fit: cover; }
}

/* Hero content */
.hero-stage::before { display: none !important; }
.hero-slides .hero-slide { opacity: 0; } /* default ascuns, JS activeaza */
.hero-content { max-width: 580px; position: relative; z-index: 2; }
.hero-content > span {
  display: inline-flex; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28); color: #a7f3d0;
  font-size: 11px; font-weight: 700; padding: 4px 12px;
  border-radius: 999px; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 8px;
}
.hero-content h1 {
  font-size: clamp(28px,3.5vw,54px); font-weight: 800; color: #fff;
  line-height: 1.08; margin: 10px 0 14px; letter-spacing: -.025em;
}
.hero-content p { color: rgba(255,255,255,.78); font-size: clamp(15px,1.5vw,18px); margin: 0 0 28px; line-height: 1.6; }
.hero-content .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-content .btn.primary {
  background: var(--emag-red) !important; border: 0 !important;
  box-shadow: 0 6px 20px rgba(229,57,53,.4) !important; border-radius: 9px !important;
  font-weight: 700 !important; font-size: 15px !important; min-height: 48px !important;
  padding: 0 26px !important; background-image: none !important; animation: none !important;
}
.hero-content .btn.primary:hover { background: #c62828 !important; animation: none !important; }
.hero-proof span { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #b8e4ff; }

/*  PRODUSE  */
.product-card { border-color: var(--emag-border); border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.product-card::after { display: none !important; }
.card-row strong { color: var(--emag-blue); }
.card-actions .btn.primary {
  background: var(--emag-blue) !important; border: 0 !important; box-shadow: none !important;
  border-radius: 7px !important; font-weight: 700 !important;
  animation: none !important; background-image: none !important;
}
.card-actions .btn.primary:hover { background: var(--emag-blue-dk) !important; transform: none !important; animation: none !important; }
.card-actions .btn.ghost { display: none !important; }
.delivery-chip { background: #e8f5e9; color: var(--emag-green); border-radius: 5px; }
.discount-badge { background: var(--emag-red); border-radius: 5px; }
.rating { color: var(--emag-yellow); }
.price { color: var(--emag-blue); }

/* Buttons */
.btn.primary { background: var(--emag-blue) !important; background-image: none !important; box-shadow: 0 4px 14px rgba(26,114,197,.28) !important; animation: none !important; }
.btn.primary:hover { background: var(--emag-blue-dk) !important; animation: none !important; }
.hero-content .btn.primary { background: var(--emag-red) !important; }
.hero-content .btn.primary:hover { background: #c62828 !important; }
.checkout-submit { background: var(--emag-blue) !important; background-image: none !important; }
.cta { background: linear-gradient(135deg, #0d1117, #0d3d6b 55%, #1a72c5 100%); border-radius: 14px; }

/* Cookie banner */
#cookie-banner.cookie-banner {
  position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  z-index: 9999 !important; border-radius: 0 !important; width: 100%;
  background: #111827 !important; color: #fff !important; padding: 14px 20px !important;
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  gap: 14px !important; box-shadow: 0 -4px 20px rgba(0,0,0,.3) !important; font-size: 13px !important;
}
#cookie-banner.cookie-banner span { flex: 1; }
#cookie-banner.cookie-banner .btn {
  flex-shrink: 0; min-height: 38px; white-space: nowrap;
  background: var(--emag-blue) !important; color: #fff !important;
  border: 0 !important; border-radius: 7px !important; font-weight: 700 !important;
  padding: 0 18px !important; animation: none !important; background-image: none !important;
}

/* Bottom icon emoji */
.bottom-icon { font-size: 22px; line-height: 1; display: block; }
.bottom-ico { display: none !important; }

/* ============================================================
   MOBILE  960px
   ============================================================ */
@media (max-width: 960px) {

  body { background: #f5f5f5; font-size: 14px; padding-bottom: 0; }

  /* Header FIXED on mobile */
  .site-header.modern-nav {
    position: fixed !important; top: 0; left: 0; right: 0; z-index: 200 !important;
  }

  /* Header grid: logo | search | hamburger (3 cols) */
  .header-inner {
    grid-template-columns: auto 1fr auto !important;
    padding: 9px 12px !important; gap: 10px !important;
  }

  /* Main nav  HIDE on mobile by default, show as dropdown below header */
  .main-nav {
    display: none !important;
    position: fixed !important;
    top: var(--header-h) !important;
    left: 0 !important; right: 0 !important;
    background: #fff !important;
    border-top: 3px solid var(--emag-blue) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.2) !important;
    z-index: 199 !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 6px 16px 16px !important;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  /* Show nav when hamburger clicked */
  .site-menu-open .main-nav { display: flex !important; }

  /* Nav links style on mobile */
  .main-nav a {
    display: flex !important; align-items: center !important;
    gap: 12px !important; padding: 14px 10px !important;
    border-bottom: 1px solid #f2f2f2 !important;
    color: #222 !important; font-weight: 600 !important; font-size: 15px !important;
    border-radius: 0 !important; background: transparent !important;
  }
  .main-nav a:last-child { border-bottom: 0 !important; }
  .main-nav a:hover { background: #f0f7ff !important; color: var(--emag-blue) !important; border-radius: 8px !important; }
  .main-nav a b {
    min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: 999px; background: var(--emag-red); color: #fff;
    font-size: 11px; font-weight: 700;
  }

  /* Hamburger  VISIBLE on mobile */
  .mobile-menu-btn {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; align-items: center !important;
    gap: 4px !important; width: 42px !important; height: 42px !important;
    border: 0 !important; border-radius: 10px !important;
    background: rgba(255,255,255,.18) !important;
    cursor: pointer; flex-shrink: 0; padding: 0 !important;
  }
  .mobile-menu-btn span { display: block !important; }

  /* Overlay behind dropdown */
  .site-menu-open::before {
    content: ""; position: fixed; inset: 0; z-index: 198;
    background: rgba(0,0,0,.3);
  }

  /* Main content  compensate fixed header */
  main { padding-top: var(--header-h) !important; }

  /* Spacer hidden on mobile (header already fixed) */
  .header-spacer { display: none !important; }
  .benefit-bar { display: none !important; }

  /* Cookie banner above bottom nav */
  #cookie-banner.cookie-banner {
    bottom: var(--bottom-h) !important; flex-wrap: wrap !important;
    gap: 8px !important; padding: 12px 14px !important;
  }

  /* HOME HERO */
  .home-hero {
    display: flex !important; flex-direction: column !important;
    margin: 0 !important; padding: 0 !important; gap: 0 !important;
  }
  .hero-stage {
    order: 1; min-height: 200px !important; border-radius: 0 !important;
    padding: 20px 16px 24px !important;
    display: flex !important; flex-direction: row !important;
    align-items: center !important; justify-content: space-between !important;
    background: rgba(10,14,22,.82) !important;
    box-shadow: none !important; border: 0 !important; position: relative; overflow: hidden;
  }
  .hero-stage::after {
    content: ""; position: absolute; right: -20px; top: -20px;
    width: 160px; height: 160px; border-radius: 50%;
    background: rgba(255,255,255,.07); pointer-events: none;
  }
  .hero-stage::before { display: none !important; }
  .hero-content { max-width: 64%; z-index: 2; position: relative; }
  .hero-content > span { display: none !important; }
  .hero-content h1 { font-size: 19px !important; line-height: 1.22 !important; font-weight: 800 !important; color: #fff !important; margin: 0 0 8px !important; }
  .hero-content p { font-size: 12px !important; color: rgba(255,255,255,.82) !important; margin: 0 0 14px !important; }
  .hero-content .actions { gap: 8px !important; flex-direction: column !important; align-items: flex-start; }
  .hero-content .btn.primary {
    min-height: 38px !important; height: 38px !important; padding: 0 16px !important;
    font-size: 13px !important; font-weight: 700 !important; border-radius: 8px !important;
    background: var(--emag-red) !important; display: inline-flex; align-items: center;
  }
  .hero-content .btn.glass { display: none !important; }
  .hero-proof { display: none !important; }
  .hero-dots { display: none !important; } /* hero-slides raman vizibile pe mobil */

  /* CATEGORIES CAROUSEL */
  .hero-cats {
    order: 2; height: auto !important; border: 0 !important; border-radius: 0 !important;
    border-bottom: 1px solid #eee !important; background: transparent !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
    overflow-x: auto !important; overflow-y: hidden !important;
    scrollbar-width: none !important; -webkit-overflow-scrolling: touch;
    position: relative !important;
  }
  .hero-cats::-webkit-scrollbar { display: none; }
  .hero-cats h2 { display: none !important; }
  .hero-cats > div {
    display: flex !important; flex-direction: row !important;
    gap: 0 !important; height: auto !important;
    padding: 10px 4px 8px !important; min-width: max-content;
  }
  .hero-cats a {
    display: flex !important; flex-direction: column !important;
    align-items: center !important; justify-content: flex-start !important;
    gap: 6px !important; padding: 8px 12px 10px !important; min-width: 72px;
    font-size: 11px !important; font-weight: 600 !important; color: #333 !important;
    text-align: center; border-radius: 10px; white-space: nowrap;
    grid-template-columns: unset !important;
  }
  .hero-cats a::after { display: none !important; content: none !important; border: 0 !important; }
  .hero-cats a:active { background: #f0f7ff; }
  .hero-cats img { width: 50px !important; height: 50px !important; border-radius: 12px !important; }

  /* SECTIONS */
  .section, .promo-banners, .trust-band,
  .shop-layout, .product-page, .cart-page, .checkout-page,
  .account-hero, .account-layout, .blog-hero, .blog-layout,
  .blog-post, .contact-page { padding-left: 12px !important; padding-right: 12px !important; }
  .section { background: #fff; margin-top: 8px; border-radius: 0; max-width: 100%; padding-top: 16px; padding-bottom: 10px; }
  .section.alt { max-width: 100%; background: #fff; }
  .section + .section, .section.alt, .best-sellers, .reviews-home { border-top: 6px solid #f5f5f5; }
  .section-head { margin-bottom: 12px; }
  .section-head h1, .section-head h2 { font-size: 16px; }
  .trust-band { display: none !important; }

  /* SHOP */
  .shop-hero { padding-top: 14px !important; }
  .shop-hero > div { min-height: 120px; border-radius: 10px; padding: 18px 16px; }
  .shop-hero h1 { font-size: 20px; margin: 4px 0; }
  .shop-categories { display: flex !important; overflow-x: auto !important; gap: 6px !important; padding: 10px 12px 12px !important; scrollbar-width: none; }
  .shop-categories::-webkit-scrollbar { display: none; }
  .shop-categories a { flex-shrink: 0; padding: 7px 14px; font-size: 12px; border-radius: 6px; }
  .shop-layout { grid-template-columns: 1fr !important; padding-top: 10px; padding-bottom: 80px; }
  .filters { display: none; position: static !important; }
  .filters.open { display: block; }

  /* PRODUCT */
  .product-page { grid-template-columns: 1fr !important; padding-top: 12px; padding-bottom: 90px; }
  .premium-product .gallery { position: static !important; }
  .buy-box { position: static !important; padding: 16px; border-radius: 12px; margin-top: 12px; }
  .product-info h1 { font-size: 20px; }
  .buy-box .actions { grid-template-columns: 1fr !important; gap: 10px; }
  .product-tab-nav { overflow-x: auto; }
  .product-tab-nav button { flex: 0 0 auto; }
  .mobile-buy-bar {
    display: flex !important; position: fixed !important; left: 0 !important; right: 0 !important;
    bottom: var(--bottom-h) !important; z-index: 95; border-radius: 0 !important;
    padding: 10px 16px; background: #111827; color: #fff;
  }

  /* Products grid */
  .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .carousel-track { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; width: auto !important; animation: none !important; }
  .carousel-track .product-card { width: auto !important; flex: none !important; }
  .product-card h3 { font-size: 12px !important; margin: 8px 8px 4px !important; min-height: auto !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .product-card p { display: none !important; }
  .card-row strong { font-size: 15px !important; color: var(--emag-blue) !important; }
  .card-actions { padding: 0 8px 10px !important; }
  .card-actions .btn.primary { min-height: 34px !important; font-size: 12px !important; }
  .delivery-chip { margin: 0 8px 6px !important; font-size: 10px !important; padding: 3px 7px !important; }
  .rating { padding: 0 8px; font-size: 12px; }
  .card-row { padding: 4px 8px 2px; }
  .heart-btn { position:absolute;right:10px;bottom:10px;z-index:3;display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:none!important;border:none!important;box-shadow:none!important;color:#e11d48;font-size:22px;line-height:1;text-decoration:none;text-shadow:0 1px 4px rgba(0,0,0,.25);transition:transform .2s; }

  /* Promo banners */
  .promo-banners { display: flex !important; overflow-x: auto !important; gap: 10px !important; padding: 0 12px 8px !important; margin-top: 8px; scrollbar-width: none; }
  .promo-banners::-webkit-scrollbar { display: none; }
  .promo-banners a { flex: 0 0 82% !important; min-height: 110px; border-radius: 10px; }

  /* CTA */
  .cta { margin: 8px 0 0 !important; padding: 22px 16px !important; border-radius: 0 !important; border: 0 !important; }
  .cta h2 { font-size: 20px; }
  .cta .btn.glass { display: none; }

  /* 
     ACCOUNT PAGE  MOBILE COMPLET
      */
  .account-hero {
    background: linear-gradient(135deg, #0d5aab, #1a72c5 50%, #2196f3) !important;
    border-radius: 0 !important; margin: 0 !important;
    padding: 20px 16px !important; color: #fff !important;
    max-width: 100% !important; width: 100% !important;
  }
  .account-hero h1 { color: #fff !important; font-size: 22px !important; font-weight: 800 !important; margin-bottom: 4px; }
  .account-hero p { color: rgba(255,255,255,.8) !important; font-size: 13px; }
  .account-mini-stats { flex-wrap: wrap; gap: 10px !important; margin-top: 12px !important; }
  .account-mini-stats div { padding: 8px 12px !important; background: rgba(255,255,255,.12) !important; border-radius: 8px; flex: 1; min-width: 80px; }
  .account-mini-stats div strong { font-size: 18px !important; color: #fff !important; }
  .account-mini-stats div span { font-size: 10px; color: rgba(255,255,255,.7); }
  .account-hero .btn { background: rgba(255,255,255,.15) !important; color: #fff !important; border-color: rgba(255,255,255,.3) !important; margin-top: 12px; display: inline-flex; }

  .account-layout {
    grid-template-columns: 1fr !important; margin: 0 !important; padding: 0 !important;
    max-width: 100% !important; gap: 0 !important;
  }
  .account-card { position: static !important; border-radius: 0 !important; border: 0 !important; box-shadow: none !important; }
  .account-tabs.panel { border-radius: 0; border: 0; box-shadow: none; margin: 0; padding: 0; }

  /* Tab nav  horizontal scroll */
  .tab-nav {
    display: flex !important; overflow-x: auto !important;
    scrollbar-width: none; flex-wrap: nowrap !important;
    background: #fff; border-bottom: 1px solid #e8e8e8;
    position: sticky; top: var(--header-h); z-index: 50;
  }
  .tab-nav::-webkit-scrollbar { display: none; }
  .tab-nav button {
    flex: 0 0 auto !important; padding: 12px 14px !important;
    font-size: 13px !important; font-weight: 600 !important;
    border-bottom: 2px solid transparent !important;
    color: #666 !important; white-space: nowrap;
  }
  .tab-nav button.active { color: var(--emag-blue) !important; border-bottom-color: var(--emag-blue) !important; background: transparent !important; }

  /* Account panels */
  .account-panel { padding: 16px !important; }
  .account-panel h2 { font-size: 16px; margin-bottom: 12px; }
  .account-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .account-stats div { padding: 12px; }
  .account-stats div strong { font-size: 20px; }

  /* Tables in account */
  .account-panel .table { font-size: 12px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .account-panel .table th, .account-panel .table td { padding: 8px 6px; white-space: nowrap; }
  .account-panel .table th:nth-child(4), .account-panel .table td:nth-child(4) { display: none; } /* hide extras */

  /* Grid forms in account */
  .grid-form { display: flex !important; flex-direction: column !important; gap: 12px !important; }
  .grid-form input, .grid-form select, .grid-form textarea {
    height: 42px; border: 1px solid var(--emag-border); border-radius: 8px;
    padding: 0 12px; font-size: 14px; width: 100%; font-family: inherit;
  }
  .grid-form textarea { height: 80px; padding: 10px 12px; }
  .address-grid { grid-template-columns: 1fr !important; }

  /* CART */
  .cart-page { grid-template-columns: 1fr !important; margin: 12px auto; }
  .cart-item { grid-template-columns: 72px 1fr !important; gap: 10px; }
  .cart-summary { position: static !important; }

  /* CHECKOUT */
  .checkout-page { grid-template-columns: 1fr !important; margin: 12px auto; }
  .checkout-main.panel { padding: 16px 12px; border-radius: 10px; }
  .checkout-summary { position: static !important; }
  .checkout-steps { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .checkout-steps span { min-height: 34px; font-size: 10px; }
  .coupon-row { grid-template-columns: 1fr auto; }

  /* BLOG */
  .blog-hero { grid-template-columns: 1fr !important; }
  .blog-hero > div { min-height: 180px; padding: 20px; }
  .blog-layout { grid-template-columns: 1fr !important; padding-bottom: 80px; }
  .blog-sidebar { position: static !important; }
  .blog-grid { grid-template-columns: 1fr !important; }
  .blog-post { padding-bottom: 80px; }

  /* CONTACT */
  .contact-page { grid-template-columns: 1fr !important; margin: 14px auto !important; }

  /* MISC */
  .panel { padding: 16px 14px; border-radius: 10px; margin-top: 8px; }
  .auth-panel.panel { margin: 12px; border-radius: 14px; }
  .narrow { max-width: 100%; }
  .suggestions { top: 46px; border-radius: 0 0 10px 10px; }
  .site-footer { display: none !important; }
  .mobile-ai-fab { display: none !important; }

  /* BOTTOM NAV */
  .mobile-bottom-nav {
    display: grid !important; position: fixed !important;
    left: 0; right: 0; bottom: 0; z-index: 100 !important;
    height: var(--bottom-h) !important; background: transparent !important;
    border-top: 1px solid #e8e8e8 !important;
    box-shadow: 0 -2px 12px rgba(0,0,0,.1) !important;
    grid-template-columns: repeat(4, 1fr) !important; padding: 0 !important;
    transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0, 0, 0);
    will-change: transform; backface-visibility: hidden;
  }
  .mobile-bottom-nav a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; min-height: var(--bottom-h); color: #757575;
    font-size: 10px; font-weight: 600; border-radius: 0; padding: 6px 4px 8px; position: relative;
  }
  .mobile-bottom-nav a.active { color: var(--emag-blue); }
  .mobile-bottom-nav a.active::after {
    content: ""; position: absolute; top: 0; left: 20%; right: 20%;
    height: 2px; background: var(--emag-blue); border-radius: 0 0 3px 3px;
  }
  .mobile-bottom-nav em {
    position: absolute; top: 6px; right: calc(50% - 18px);
    min-width: 17px; height: 17px; display: grid; place-items: center;
    padding: 0 4px; border-radius: 999px; background: var(--emag-red);
    color: #fff; font-size: 10px; font-style: normal; font-weight: 700;
  }
  .bottom-icon { font-size: 22px; }
}

/* FINAL PRODUCT / ACCOUNT FIX v9.3 */
@media (min-width: 961px) {
  .product-card .card-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    align-items: center !important;
  }
  .product-card .card-actions .btn {
    display: inline-flex !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}
.rating span,
.review-summary em,
.reviews-section article span,
.star-rating-input span {
  color: #f59e0b !important;
}
.review-summary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.review-summary em {
  font-style: normal !important;
  letter-spacing: 1px !important;
}
.star-rating-input {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.star-rating-input span {
  position: relative !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 999px !important;
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  font-size: 20px !important;
  cursor: pointer !important;
}
.star-rating-input input {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
}
.star-rating-input span:has(input:checked) {
  background: #f59e0b !important;
  color: #fff !important;
  border-color: #f59e0b !important;
}
.order-details-row {
  display: none;
}
.order-details-row:target {
  display: table-row;
}
.order-details-card {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding: 16px !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
.order-details-card > div {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}
.order-details-card strong {
  color: #0f172a !important;
}
.order-details-card span {
  color: #64748b !important;
  font-size: 13px !important;
}
@media (max-width: 760px) {
  .order-details-card {
    grid-template-columns: 1fr !important;
  }
}

/* FINAL CART LIVE / MOBILE DRAWER v8.9 */
.qty-stepper {
  display: inline-grid !important;
  grid-template-columns: 34px minmax(48px, 68px) 34px !important;
  align-items: center !important;
  gap: 6px !important;
}
.qty-stepper button {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}
.qty-stepper input {
  width: 100% !important;
  height: 34px !important;
  text-align: center !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
}
.stock-ok {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 24px !important;
  height: 24px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: #dcfce7 !important;
  color: #047857 !important;
  font-weight: 900 !important;
}
.live-line-total {
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: #eff6ff !important;
  color: #0f172a !important;
  font-weight: 800 !important;
}
.ai-search-option {
  width: calc(100% - 16px) !important;
  margin: 8px !important;
  min-height: 40px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #1a72c5, #14b8a6) !important;
  color: #fff !important;
  font-weight: 900 !important;
}
@media (max-width: 960px) {
  .mini-cart {
    align-items: end !important;
    place-items: end stretch !important;
    z-index: 100000 !important;
  }
  .mini-cart-panel {
    width: 100vw !important;
    height: auto !important;
    max-height: calc(82vh - env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 18px 14px calc(var(--bottom-h) + 18px) !important;
    overflow-y: auto !important;
    transform: translateY(100%) !important;
  }
  .mini-cart.open .mini-cart-panel {
    transform: translateY(0) !important;
  }
  .mini-cart-item {
    grid-template-columns: 76px 1fr !important;
    gap: 12px !important;
    padding: 12px !important;
    align-items: center !important;
  }
  .mini-cart-item img {
    width: 76px !important;
    height: 76px !important;
  }
  .mini-cart-item strong {
    font-size: 15px !important;
  }
  .mini-cart-item span {
    display: block !important;
    margin: 4px 0 8px !important;
  }
  .mini-cart-total {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 2 !important;
  }
  .cart-item.advanced-cart-item {
    grid-template-columns: 82px 1fr !important;
  }
  .cart-item.advanced-cart-item label,
  .cart-item.advanced-cart-item > strong {
    grid-column: 2 !important;
  }
}

/* ============================================================
   FINAL FOOTER / BOTTOM BAR / MOBILE CATEGORIES v8.7
   ============================================================ */
.site-footer {
  width: min(1280px, calc(100% - 36px)) !important;
  margin: 34px auto 0 !important;
  padding: 34px !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 1.15fr) minmax(170px, .7fr) minmax(190px, .8fr) minmax(260px, 1fr) !important;
  gap: 26px !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 26px 26px 0 0 !important;
  background: linear-gradient(135deg, #0f172a, #123f6d 52%, #0f766e) !important;
  color: #fff !important;
  box-shadow: 0 -18px 50px rgba(15,23,42,.08) !important;
}
.site-footer h3 {
  margin: 0 0 10px !important;
  font-size: 26px !important;
  color: #fff !important;
}
.site-footer p {
  color: rgba(255,255,255,.78) !important;
}
.footer-company {
  display: grid !important;
  gap: 5px !important;
  margin: 14px 0 !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 13px !important;
}
.footer-links,
.footer-trust {
  display: grid !important;
  align-content: start !important;
  gap: 9px !important;
}
.footer-links strong,
.footer-trust strong {
  color: #fff !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  margin-bottom: 5px !important;
}
.footer-links a,
.footer-trust span {
  color: rgba(255,255,255,.78) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}
.footer-links a:hover {
  color: #fff !important;
}
.anpc-links {
  display: grid !important;
  gap: 8px !important;
  margin-top: 10px !important;
}
.anpc-links a {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
.anpc-links img {
  display: block !important;
  width: min(250px, 100%) !important;
  max-width: 250px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
}
.cat-scroll {
  display: none !important;
}

@media (max-width: 960px) {
  body {
    padding-bottom: calc(var(--bottom-h) + 18px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .mobile-bottom-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    transform: translate3d(0,0,0) !important;
    will-change: transform !important;
    contain: layout paint !important;
    height: var(--bottom-h) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    box-shadow: 0 -10px 28px rgba(15,23,42,.16) !important;
  }
  .site-footer {
    display: grid !important;
    width: 100% !important;
    margin: 22px 0 0 !important;
    padding: 24px 14px calc(var(--bottom-h) + 30px) !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    border-radius: 24px 24px 0 0 !important;
  }
  .site-footer h3 {
    font-size: 22px !important;
  }
  .footer-links {
    padding-top: 14px !important;
    border-top: 1px solid rgba(255,255,255,.14) !important;
  }
  .footer-links a,
  .footer-trust span {
    min-height: 34px !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255,255,255,.09) !important;
  }
  .anpc-links {
    grid-template-columns: 1fr !important;
  }
  .anpc-links img {
    width: 250px !important;
    max-width: 100% !important;
  }
  .hero-cats {
    position: relative !important;
  }
  .cat-scroll {
    position: absolute !important;
    top: 50% !important;
    z-index: 8 !important;
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    margin-top: -17px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    color: #1565c0 !important;
    box-shadow: 0 8px 20px rgba(15,23,42,.16) !important;
    font-size: 28px !important;
    font-weight: 900 !important;
  }
  .cat-scroll-left {
    left: 8px !important;
  }
  .cat-scroll-right {
    right: 8px !important;
  }
  .hero-cats::before,
  .hero-cats::after {
    display: none !important;
    position: sticky !important;
    top: 50% !important;
    z-index: 5 !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 32px !important;
    height: 32px !important;
    margin-top: 28px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.94) !important;
    color: #1565c0 !important;
    box-shadow: 0 8px 20px rgba(15,23,42,.14) !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    pointer-events: none !important;
  }
  .hero-cats::before {
    content: "" !important;
    left: 8px !important;
    float: left !important;
  }
  .hero-cats::after {
    content: "" !important;
    right: 8px !important;
    float: right !important;
  }
  .hero-cats > div {
    padding-left: 44px !important;
    padding-right: 44px !important;
  }
  .category-showcase {
    position: relative !important;
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 12px !important;
    padding: 8px 44px 12px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .category-showcase::-webkit-scrollbar {
    display: none !important;
  }
  .category-showcase a {
    flex: 0 0 150px !important;
    min-width: 150px !important;
  }
  .category-showcase::before,
  .category-showcase::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 3 !important;
    width: 30px !important;
    height: 30px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #1565c0 !important;
    box-shadow: 0 8px 20px rgba(15,23,42,.14) !important;
    font-weight: 900 !important;
    pointer-events: none !important;
  }
  .category-showcase::before {
    content: "" !important;
    left: 6px !important;
  }
  .category-showcase::after {
    right: 6px !important;
  }
}

/*  ACCOUNT PAGE DESKTOP  */
@media (min-width: 961px) {
  .account-hero {
    background: linear-gradient(135deg, #0d5aab, #1a72c5 50%, #2196f3) !important;
    border-radius: 16px !important; margin: 20px auto !important;
    padding: 28px 32px !important; color: #fff !important; max-width: 1100px;
  }
  .account-hero h1 { color: #fff !important; font-size: 26px !important; font-weight: 800 !important; }
  .account-hero p { color: rgba(255,255,255,.8) !important; }
  .account-mini-stats { display: flex; gap: 20px; margin-top: 16px; }
  .account-mini-stats div { background: rgba(255,255,255,.12); padding: 10px 16px; border-radius: 10px; }
  .account-mini-stats div strong { font-size: 22px; font-weight: 800; display: block; color: #fff; }
  .account-mini-stats div span { font-size: 11px; color: rgba(255,255,255,.7); }
  .account-layout { max-width: 1100px; }
  .account-card { background: #fff; border: 1px solid var(--emag-border); border-radius: 14px; padding: 0; overflow: hidden; }
  .tab-nav { border-bottom: 1px solid var(--emag-border); background: #f8f9fa; display: flex; overflow-x: auto; }
  .tab-nav button { padding: 14px 20px; font-size: 14px; font-weight: 600; color: #666; border-bottom: 2px solid transparent; background: transparent; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; white-space: nowrap; }
  .tab-nav button.active { color: var(--emag-blue); border-bottom-color: var(--emag-blue); background: #fff; }
  .account-panel { padding: 24px; }
  .account-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
  .account-stats div { background: #f8f9fa; border: 1px solid var(--emag-border); border-radius: 10px; padding: 16px; text-align: center; }
  .account-stats div strong { font-size: 24px; font-weight: 800; color: var(--emag-blue); display: block; }
}

/*  TABLET 621-960  */
@media (min-width: 621px) and (max-width: 960px) {
  body { padding-bottom: 0; }
  .home-hero { display: flex !important; flex-direction: column !important; padding: 0 !important; margin: 0 !important; }
  .hero-stage { border-radius: 0; min-height: 280px; padding: 36px; order: 1; }
  .hero-content h1 { font-size: 32px; }
  .hero-cats { order: 2; height: auto !important; border-radius: 0 !important; border-bottom: 1px solid #eee !important; background: transparent !important; overflow-x: auto !important; scrollbar-width: none; }
  .hero-cats::-webkit-scrollbar { display: none; }
  .hero-cats > div { display: flex !important; flex-direction: row !important; height: auto !important; min-width: max-content; padding: 10px 12px; }
  .hero-cats a { display: flex !important; flex-direction: column !important; align-items: center; min-width: 80px; text-align: center; gap: 6px; padding: 10px 14px; grid-template-columns: unset !important; }
  .hero-cats a::after { display: none !important; content: none !important; border: 0 !important; }
  .hero-cats img { width: 44px !important; height: 44px !important; border-radius: 10px !important; }
  .trust-band { grid-template-columns: repeat(2, 1fr); }
  .site-footer { display: none; }
  .mobile-bottom-nav { display: grid !important; position: fixed !important; bottom: 0; left: 0; right: 0; z-index: 100; height: var(--bottom-h) !important; background: transparent !important; border-top: 1px solid #e8e8e8; grid-template-columns: repeat(4, 1fr) !important; }
  .mobile-bottom-nav a { min-height: var(--bottom-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #757575; font-size: 10px; font-weight: 600; }
  .mobile-bottom-nav a.active { color: var(--emag-blue); }
  .product-grid { grid-template-columns: repeat(3, 1fr) !important; }
  #cookie-banner.cookie-banner { bottom: var(--bottom-h) !important; flex-wrap: wrap !important; }
}

/*  ACCOUNT CARD  better product placeholder  */
.account-panel .product-card .card-media {
  background: linear-gradient(135deg, #e8f4ff, #f0e8ff);
}
.account-panel .product-card .card-media img {
  mix-blend-mode: multiply;
}

/*  CART ACTIONS  button visibility fix  */

/* ============================================================
   FINAL UX FIX v8.3  header inline + account mobile polish
   ============================================================ */
@media (min-width: 961px) {
  .site-header.modern-nav {
    background: #1a72c5 !important;
    border: 0 !important;
    box-shadow: 0 6px 18px rgba(26,114,197,.18) !important;
  }
  .site-header .header-inner {
    width: min(1280px, calc(100% - 32px)) !important;
    display: grid !important;
    grid-template-columns: minmax(180px, 260px) minmax(360px, 1fr) auto !important;
    gap: 18px !important;
    align-items: center !important;
  }
  .site-header .brand {
    min-width: 0 !important;
    color: #fff !important;
    font-size: 21px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .site-header .brand span {
    color: #fff !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
  }
  .site-header .search {
    max-width: none !important;
    width: 100% !important;
  }
  .site-header .main-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }
  .site-header .main-nav a {
    flex: 0 0 auto !important;
  }
}

.header-spacer {
  min-height: 14px !important;
}
body:has(.home-hero) .header-spacer {
  min-height: 22px !important;
}

@media (max-width: 960px) {
  .account-hero {
    display: block !important;
    margin-top: 0 !important;
    padding: 18px 14px 16px !important;
  }
  .account-hero .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .premium-account {
    display: block !important;
    background: #f4f6fb !important;
  }
  .account-profile {
    display: grid !important;
    grid-template-columns: 1fr !important;
    padding: 14px !important;
    background: transparent !important;
    border-bottom: 1px solid #e5e7eb !important;
  }
  .account-profile img {
    display: none !important;
  }
  .account-profile h1 {
    margin: 0 !important;
    font-size: 18px !important;
  }
  .account-profile p {
    margin: 2px 0 10px !important;
    color: #64748b !important;
    font-size: 13px !important;
  }
  .account-profile .btn {
    min-height: 40px !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .account-main {
    min-width: 0 !important;
  }
  .account-tools {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px !important;
  }
  .account-tools a {
    padding: 12px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }
  .account-tabs.panel {
    background: transparent !important;
  }
  .account-panel {
    padding: 14px 12px !important;
    overflow-x: hidden !important;
  }
  .account-panel .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .account-panel .product-card {
    min-width: 0 !important;
    width: 100% !important;
  }
  .account-panel .product-card img,
  .account-panel .product-card .card-media,
  .account-panel .product-card > img {
    display: none !important;
  }
  .account-panel .table {
    display: table !important;
    width: 100% !important;
    min-width: 620px !important;
  }
  .account-panel:has(.table) {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .account-stats {
    padding: 12px !important;
  }
}
.cart-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cart-actions .btn:first-child {
  background: #eff6ff !important;
  color: var(--emag-blue) !important;
  border: 1.5px solid var(--emag-blue) !important;
  font-weight: 600 !important;
}
.cart-actions .btn:first-child:hover {
  background: var(--emag-blue) !important;
  color: #fff !important;
}

/*  HEADER SPACER  desktop only  */
.header-spacer { display: block; height: 40px; background: var(--emag-bg); }
@media (max-width: 960px) { .header-spacer { display: none !important; } }

/*  FINAL HEADER BAR FIX  */
header.site-header {
  margin-bottom: 0 !important;
}
.benefit-bar {
  margin-top: 0 !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
}
.header-spacer {
  height: 16px !important;
  min-height: 16px !important;
}
body:has(.home-hero) .header-spacer {
  height: 18px !important;
  min-height: 18px !important;
}
.hero-proof {
  display: none !important;
}

/*  FINAL MOBILE / ACCOUNT POLISH v8.5  */
.check {
  align-items: center !important;
  gap: 12px !important;
}
.check input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  margin: 0 !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 7px !important;
  background: transparent !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8) !important;
  display: inline-grid !important;
  place-items: center !important;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
.check input[type="checkbox"]::after {
  content: "" !important;
  width: 6px !important;
  height: 11px !important;
  border: solid #fff !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) scale(.6) !important;
  opacity: 0 !important;
  transition: opacity .16s ease, transform .16s ease !important;
}
.check input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--emag-blue), #14b8a6) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 16px rgba(26,114,197,.22) !important;
}
.check input[type="checkbox"]:checked::after {
  opacity: 1 !important;
  transform: rotate(45deg) scale(1) !important;
}
.auth-panel .check {
  padding: 12px 14px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-weight: 700 !important;
}
.main-nav a::before {
  display: inline-grid !important;
  place-items: center !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  border-radius: 999px !important;
  background: rgba(26,114,197,.1) !important;
  color: var(--emag-blue) !important;
  font-size: 13px !important;
}
.main-nav > a::before { content: ""; }
.nav-cats-menu a::before { content: none !important; display: none !important; }
.account-profile img {
  display: none !important;
}
.account-profile {
  padding: 20px !important;
}
.account-profile h1 {
  margin-top: 0 !important;
}

@media (max-width: 960px) {
  :root { --header-h: 56px; --benefit-h: 34px; }
  .site-header.modern-nav {
    height: var(--header-h) !important;
    min-height: var(--header-h) !important;
  }
  .site-header .header-inner {
    width: 100% !important;
    max-width: 100% !important;
    height: var(--header-h) !important;
    display: grid !important;
    grid-template-columns: minmax(74px, auto) minmax(0, 1fr) 42px !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 10px !important;
    margin: 0 !important;
  }
  .site-header .brand {
    min-width: 0 !important;
    max-width: 98px !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }
  .site-header .brand span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .site-header .brand img {
    height: auto !important;
    max-height: 44px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    margin-right: 0 !important;
  }
  .site-header .brand .mobile-logo {
    display: block !important;
    height: auto !important;
    max-height: 44px !important;
    width: auto !important;
    max-width: 160px !important;
    border-radius: 0 !important;
    object-fit: contain !important;
  }
  .site-header .brand:has(.mobile-logo) .desktop-logo,
  .site-header .brand:has(.mobile-logo) span {
    display: none !important;
  }
  .site-header .search {
    min-width: 0 !important;
    width: 100% !important;
  }
  .site-header .search input {
    height: 42px !important;
    min-width: 0 !important;
    padding: 0 10px 0 36px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }
  .mobile-menu-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
  }
  .benefit-bar {
    display: flex !important;
    position: fixed !important;
    top: var(--header-h) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 198 !important;
    height: var(--benefit-h) !important;
    min-height: var(--benefit-h) !important;
    align-items: center !important;
    gap: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    padding: 0 10px !important;
    scrollbar-width: none !important;
  }
  .benefit-bar::-webkit-scrollbar { display: none !important; }
  .benefit-bar span {
    flex: 0 0 auto !important;
    font-size: 11px !important;
    line-height: 1 !important;
    padding: 0 10px !important;
  }
  .benefit-bar span:first-child { padding-left: 0 !important; }
  main {
    padding-top: calc(var(--header-h) + var(--benefit-h)) !important;
  }
  .main-nav {
    top: calc(var(--header-h) + var(--benefit-h)) !important;
  }
  .mobile-filter-toggle {
    display: flex !important;
    width: calc(100% - 24px) !important;
    margin: 12px auto 0 !important;
    min-height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    background: transparent !important;
    border: 1px solid #dbe3ef !important;
    color: #0f172a !important;
    box-shadow: 0 6px 18px rgba(15,23,42,.07) !important;
    font-weight: 800 !important;
  }
  .filters {
    display: none !important;
    position: static !important;
    margin-top: 12px !important;
  }
  .filters.open {
    display: block !important;
  }
  .account-hero {
    margin: 12px 12px 0 !important;
    padding: 18px !important;
    grid-template-columns: 1fr !important;
    border-radius: 18px !important;
  }
  .account-hero h1 {
    font-size: 24px !important;
    line-height: 1.08 !important;
  }
  .account-hero p {
    font-size: 13px !important;
  }
  .premium-account {
    display: grid !important;
    gap: 12px !important;
    padding: 12px !important;
    background: #f4f6fb !important;
  }
  .account-profile {
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 16px !important;
    display: grid !important;
    gap: 10px !important;
  }
  .account-profile h1 {
    font-size: 20px !important;
  }
  .account-mini-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .account-main {
    min-width: 0 !important;
  }
  .account-stats,
  .account-tools {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .account-panel {
    padding: 16px 12px !important;
    overflow-x: auto !important;
  }
}

/*  ADMIN TABLE FULL WIDTH FIX  */
/* Tables in padded divs should always use full available width */
[style*="padding:20"] .admin-card,
[style*="padding: 20"] .admin-card { width: 100%; }

/* ============================================================
   FINAL SALES MOBILE POLISH v8.6
   ============================================================ */
.modern-auth {
  overflow: hidden !important;
}
.auth-choice {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
  padding: 6px !important;
  margin: 0 0 22px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
}
.auth-choice a {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  color: #475569 !important;
}
.auth-choice a.active {
  background: var(--emag-blue) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(26,114,197,.22) !important;
}
.auth-panel .auth-check {
  display: grid !important;
  grid-template-columns: 46px 1fr !important;
  align-items: center !important;
}
.auth-panel .auth-check input[type="checkbox"] {
  width: 42px !important;
  height: 24px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: #cbd5e1 !important;
  box-shadow: inset 0 2px 5px rgba(15,23,42,.18) !important;
  position: relative !important;
}
.auth-panel .auth-check input[type="checkbox"]::before {
  content: "" !important;
  position: absolute !important;
  width: 18px !important;
  height: 18px !important;
  left: 3px !important;
  top: 3px !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: 0 2px 6px rgba(15,23,42,.22) !important;
  transition: transform .18s ease !important;
}
.auth-panel .auth-check input[type="checkbox"]::after {
  display: none !important;
}
.auth-panel .auth-check input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #14b8a6, var(--emag-blue)) !important;
}
.auth-panel .auth-check input[type="checkbox"]:checked::before {
  transform: translateX(18px) !important;
}
.account-progress {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 8px !important;
  align-items: center !important;
  padding: 12px !important;
  border: 1px solid #dbeafe !important;
  border-radius: 14px !important;
  background: #eff6ff !important;
  color: #0f172a !important;
  overflow: hidden !important;
}
.account-progress span,
.account-progress strong {
  position: relative !important;
  z-index: 1 !important;
  color: #0f172a !important;
}
.account-progress i {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #14b8a6, var(--emag-blue)) !important;
}
.account-chart {
  display: grid !important;
  grid-template-columns: 1fr 150px !important;
  align-items: end !important;
  gap: 16px !important;
  margin: 0 0 14px !important;
  padding: 18px !important;
}
.account-chart span {
  display: block !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}
.account-chart strong {
  display: block !important;
  margin-top: 4px !important;
  color: #0f172a !important;
  font-size: 18px !important;
}
.mini-bars {
  height: 74px !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  align-items: end !important;
}
.mini-bars i {
  display: block !important;
  border-radius: 999px 999px 8px 8px !important;
  background: linear-gradient(180deg, #60a5fa, #14b8a6) !important;
  box-shadow: 0 8px 18px rgba(20,184,166,.22) !important;
}

@keyframes benefitMarqueeMobile {
  0% { transform: translateX(-105vw); }
  100% { transform: translateX(105vw); }
}
@keyframes reviewMarqueeMobile {
  0% { transform: translateX(0); }
  100% { transform: translateX(-55%); }
}
@media (max-width: 960px) {
  .site-header .header-inner {
    grid-template-columns: clamp(56px, 22vw, 86px) minmax(0, 1fr) 42px !important;
    gap: 8px !important;
    min-width: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: visible !important;
  }
  /* Brand link must be fully clickable on mobile */
  .site-header .brand {
    position: relative;
    z-index: 201 !important;
    pointer-events: auto !important;
  }
  .site-header .brand {
    width: 100% !important;
    max-width: 86px !important;
    min-width: 0 !important;
    font-size: 15px !important;
  }
  .site-header .brand span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .site-header .brand:has(img) span {
    display: none !important;
  }
  .site-header .brand:has(img) {
    max-width: 56px !important;
    justify-content: flex-start !important;
  }
  .site-header .search {
    justify-self: center !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .site-header .search input {
    text-align: left !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .mobile-menu-btn {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    grid-column: 3 !important;
    justify-self: end !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .benefit-bar {
    justify-content: flex-start !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .benefit-bar span {
    animation: benefitMarqueeMobile 16s linear infinite !important;
    padding: 0 18px !important;
  }
  .why-buy.editorial-feature {
    padding: 16px 14px !important;
    background: linear-gradient(180deg, #fff, #f8fbff) !important;
  }
  .why-buy .section-head {
    display: grid !important;
    gap: 10px !important;
    padding: 16px !important;
    border: 1px solid #dbeafe !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, #eff6ff, #ecfeff) !important;
  }
  .why-buy .section-head .eyebrow {
    width: fit-content !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: 0 8px 20px rgba(15,23,42,.06) !important;
  }
  .why-buy .section-head h2 {
    font-size: 22px !important;
    line-height: 1.08 !important;
    margin: 0 !important;
  }
  .why-buy .section-head p {
    margin: 0 !important;
    font-size: 14px !important;
  }
  .why-grid {
    display: grid !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }
  .why-grid div {
    padding: 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    background: transparent !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.06) !important;
  }
  .why-grid div::before {
    content: "" !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 10px !important;
    border-radius: 999px !important;
    background: #dcfce7 !important;
    color: #047857 !important;
    font-weight: 900 !important;
  }
  .reviews-home {
    overflow: hidden !important;
    padding-bottom: 20px !important;
  }
  .reviews-home .review-grid {
    display: flex !important;
    width: max-content !important;
    gap: 12px !important;
    animation: reviewMarqueeMobile 22s linear infinite !important;
  }
  .reviews-home .review-grid article {
    flex: 0 0 280px !important;
    min-height: 170px !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 28px rgba(15,23,42,.08) !important;
  }
  .account-mini-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .account-mini-stats div {
    padding: 10px 6px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
  }
  .account-mini-stats div strong,
  .account-mini-stats div span {
    color: #0f172a !important;
  }
  .account-mini-stats div span {
    font-size: 10px !important;
  }
  .account-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .account-stats div {
    min-height: 92px !important;
    border-radius: 18px !important;
  }
  .account-chart {
    grid-template-columns: 1fr !important;
    border-radius: 18px !important;
  }
  .mini-bars {
    width: 100% !important;
  }
}

/* FINAL OVERRIDE v8.8 - footer vizibil + bottom bar fix peste toate regulile vechi */
@media (max-width: 960px) {
  .site-footer {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .mobile-bottom-nav {
    display: grid !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 99999 !important;
    transform: translate3d(0,0,0) !important;
    height: var(--bottom-h) !important;
  }
  .mobile-ai-fab {
    display: none !important;
  }
}

/* FINAL FIX v9.0 - footer centrat, categorii curate, search AI mobil */
.site-footer {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
  text-align: center !important;
  justify-items: center !important;
}
.site-footer > * {
  width: min(100%, 340px) !important;
}
.footer-brand .btn {
  display: none !important;
}
.footer-description {
  max-width: 420px !important;
  margin: 10px auto 0 !important;
  color: rgba(226,232,240,.86) !important;
}
.footer-company,
.footer-links,
.footer-trust {
  align-items: center !important;
}
.footer-links a,
.footer-trust span {
  justify-content: center !important;
  text-align: center !important;
}
.anpc-links {
  justify-content: center !important;
}
.anpc-links img {
  border-radius: 0 !important;
}

.category-showcase {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  overflow: visible !important;
  padding: 0 !important;
}
.category-showcase a:nth-child(n+4) {
  display: none !important;
}
.category-showcase::before,
.category-showcase::after {
  display: none !important;
  content: none !important;
}

.hero-cats::before,
.hero-cats::after {
  display: none !important;
  content: none !important;
}
.hero-cats .cat-scroll {
  pointer-events: auto !important;
}
.promo-banners {
  width: min(1180px, calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}

.site-header,
.header-inner,
.site-header .search {
  overflow: visible !important;
}
.suggestions {
  z-index: 100500 !important;
}
.suggest-empty {
  padding: 12px 14px !important;
  color: #64748b !important;
  font-size: 13px !important;
}

.ai-chat {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100800 !important;
  display: none !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  background: rgba(15,23,42,.34) !important;
  padding: 18px !important;
}
.ai-chat.open {
  display: flex !important;
}
.ai-chat-panel {
  width: min(420px, 100%) !important;
  height: min(680px, calc(100vh - 36px)) !important;
  display: grid !important;
  grid-template-rows: auto 1fr auto !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: 0 30px 90px rgba(15,23,42,.34) !important;
}
.ai-chat-panel header {
  display: flex !important;
  justify-content: space-between !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 18px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0f766e, #1d4ed8) !important;
}
.ai-chat-panel header strong,
.ai-chat-panel header span {
  display: block !important;
  color: #fff !important;
}
.ai-chat-panel header span {
  font-size: 12px !important;
  opacity: .82 !important;
}
.ai-chat-panel header button {
  width: 36px !important;
  height: 36px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
  font-size: 24px !important;
}
.ai-chat-messages {
  overflow-y: auto !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  background: #f8fafc !important;
}
.ai-msg {
  max-width: 88% !important;
  padding: 12px 14px !important;
  border-radius: 18px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
.ai-msg.bot {
  align-self: flex-start !important;
  background: transparent !important;
  color: #0f172a !important;
  box-shadow: 0 8px 22px rgba(15,23,42,.08) !important;
}
.ai-msg.user {
  align-self: flex-end !important;
  background: #1d4ed8 !important;
  color: #fff !important;
}
.ai-msg.thinking {
  opacity: .7 !important;
}
.ai-products {
  display: grid !important;
  gap: 8px !important;
  margin-top: 10px !important;
}
.ai-products a {
  display: grid !important;
  grid-template-columns: 48px 1fr !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 8px !important;
  border-radius: 14px !important;
  background: #eefdf8 !important;
  text-decoration: none !important;
}
.ai-products img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
}
.ai-products strong,
.ai-products em {
  display: block !important;
  color: #0f172a !important;
}
.ai-products em {
  color: #0f766e !important;
  font-style: normal !important;
  font-weight: 800 !important;
}
.ai-chat-form {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 10px !important;
  padding: 14px !important;
  background: transparent !important;
  border-top: 1px solid #e2e8f0 !important;
}
.ai-chat-form input {
  min-width: 0 !important;
  height: 46px !important;
  border: 1px solid #dbe4ef !important;
  border-radius: 999px !important;
  padding: 0 14px !important;
}
.ai-chat-form button {
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  background: #0f766e !important;
  color: #fff !important;
  font-weight: 800 !important;
}

@media (min-width: 961px) {
  .site-footer {
    grid-template-columns: repeat(4, minmax(190px, 1fr)) !important;
    padding: 52px max(24px, calc((100vw - 1180px) / 2)) !important;
  }
}

@media (max-width: 960px) {
  .site-footer {
    border-radius: 0 !important;
    padding: 26px 18px calc(var(--bottom-h) + 34px) !important;
  }

  .site-header .header-inner {
    display: grid !important;
    grid-template-columns: minmax(56px, 76px) minmax(0, 1fr) 42px !important;
    grid-template-areas: "brand search menu" !important;
    align-items: center !important;
    column-gap: 8px !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding-left: 12px !important;
    padding-right: 6px !important;
  }
  .site-header .brand {
    grid-area: brand !important;
    min-width: 0 !important;
    max-width: 76px !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .site-header .search {
    grid-area: search !important;
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
    overflow: visible !important;
  }
  .site-header .search input {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding-left: 42px !important;
  }
  .mobile-menu-btn {
    grid-area: menu !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .category-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .category-showcase a {
    min-width: 0 !important;
    min-height: 118px !important;
    border-radius: 16px !important;
    padding: 14px 10px !important;
  }
  .category-showcase strong {
    font-size: clamp(14px, 4vw, 18px) !important;
    line-height: 1.12 !important;
  }
  .category-showcase span {
    font-size: 12px !important;
  }

  .hero-cats {
    padding: 0 44px !important;
    overflow: hidden !important;
  }
  .hero-cats > div {
    display: flex !important;
    flex-direction: row !important;
    gap: 18px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    padding: 8px 0 14px !important;
  }
  .hero-cats > div::-webkit-scrollbar {
    display: none !important;
  }
  .hero-cats a {
    flex: 0 0 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    scroll-snap-align: center !important;
    border-radius: 16px !important;
    padding: 8px 6px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .hero-cats a span {
    display: block !important;
    max-width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.2 !important;
  }
  .hero-cats .cat-scroll {
    display: grid !important;
    top: 50% !important;
    width: 38px !important;
    height: 38px !important;
    margin-top: -19px !important;
    background: transparent !important;
    color: #0f766e !important;
    font-size: 24px !important;
    box-shadow: 0 14px 30px rgba(15,23,42,.16) !important;
  }
  .hero-cats .cat-scroll-left {
    left: 6px !important;
  }
  .hero-cats .cat-scroll-right {
    right: 6px !important;
  }

  .site-header .suggestions {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    top: 74px !important;
    max-height: min(68vh, 520px) !important;
    overflow-y: auto !important;
    border-radius: 18px !important;
    border: 1px solid rgba(15,23,42,.12) !important;
    box-shadow: 0 24px 60px rgba(15,23,42,.22) !important;
  }
  .site-header .suggestions a {
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    padding: 11px 12px !important;
  }
  .site-header .suggestions strong {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .ai-search-option {
    width: calc(100% - 20px) !important;
    margin: 10px !important;
    justify-content: center !important;
  }
  .ai-chat {
    padding: 0 !important;
  }
  .ai-chat-panel {
    width: 100% !important;
    height: min(86vh, 680px) !important;
    border-radius: 24px 24px 0 0 !important;
  }
}
.product-card .card-actions .btn.ghost,
.card-actions .btn.ghost {
  display: inline-flex !important;
  background: #e30613 !important;
  border-color: #e30613 !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(227, 6, 19, .22) !important;
}

.product-card .card-actions .btn.ghost:hover,
.card-actions .btn.ghost:hover {
  background: #b90510 !important;
  border-color: #b90510 !important;
  color: #fff !important;
}

.card-actions,
.product-card .card-actions {
  gap: 9px !important;
}

.card-actions .btn,
.product-card .card-actions .btn {
  margin: 0 !important;
}

.bottom-icon {
  display: grid !important;
  place-items: center !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 auto 2px !important;
  color: currentColor !important;
  line-height: 1 !important;
}

.bottom-icon svg,
.bottom-bar-preview svg,
.settings-icon-preview svg,
.admin-picker-icon svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.mobile-bottom-nav a.active .bottom-icon,
.mobile-bottom-nav a:hover .bottom-icon {
  color: #1a72c5 !important;
}

/* FIX v10: regula veche care punea "OK" inainte de fiecare card din why-grid. ELIMINATA. */
.why-grid div::before {
  content: none !important;
  display: none !important;
}

/* FINAL ICON SYSTEM FIX */
.main-nav a::before {
  content: none !important;
  display: none !important;
}

.nav-icon,
.bottom-icon,
.settings-icon-preview,
.admin-picker-icon,
.bottom-bar-preview span {
  box-sizing: border-box !important;
}

.nav-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  background: transparent !important;
  margin-right: 6px !important;
  vertical-align: middle !important;
}

.nav-icon-shop,
.nav-icon-cart,
.nav-icon-blog,
.nav-icon-user,
.nav-icon-contact { background: transparent !important; }

.ui-icon-svg,
.bottom-icon svg,
.bottom-bar-preview svg,
.settings-icon-preview svg,
.admin-picker-icon svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.bottom-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: #f0f7ff !important;
  color: #1a72c5 !important;
}

.mobile-bottom-nav a:nth-child(2) .bottom-icon { background: #fff1f2 !important; color: #e11d48 !important; }
.mobile-bottom-nav a:nth-child(3) .bottom-icon { background: #fff7ed !important; color: #f97316 !important; }
.mobile-bottom-nav a:nth-child(4) .bottom-icon { background: #f3e8ff !important; color: #7e22ce !important; }

.mini-cart .btn.ghost {
  display: inline-flex !important;
  min-height: 50px !important;
  background: #e30613 !important;
  border-color: #e30613 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(227, 6, 19, .2) !important;
}

.mini-cart .btn.ghost:hover {
  background: #b90510 !important;
  border-color: #b90510 !important;
}

.mini-cart .btn.primary {
  min-height: 50px !important;
}

/* Product text stability + admin icon/table repair */
.product-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.product-card .product-title-link {
  display: block !important;
  color: inherit !important;
}
.product-card .product-title-link h3,
.product-card h3 {
  min-height: unset !important;
  max-height: 2.8em !important;
  line-height: 1.4 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  word-break: normal !important;
  white-space: normal !important;
}
.product-card > p {
  min-height: 44px !important;
  max-height: 44px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}
.product-card .card-actions {
  margin-top: auto !important;
}
.premium-product .product-info h1,
.product-info h1 {
  font-size: clamp(24px, 3vw, 42px) !important;
  line-height: 1.12 !important;
  max-width: 980px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  word-break: normal !important;
  cursor: pointer !important;
}
.premium-product .product-info h1.expanded,
.product-info h1.expanded {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
}
.product-detail-tabs .description {
  white-space: normal !important;
}
.product-detail-tabs .description p {
  margin: 0 0 14px !important;
}
.admin-product-cell {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  min-width: 0 !important;
}
.admin-product-cell img {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  border-radius: 9px !important;
  object-fit: cover !important;
  background: #f1f5f9 !important;
  display: block !important;
  flex: 0 0 52px !important;
}
.admin-product-thumb.empty {
  width: 52px !important;
  height: 52px !important;
  border-radius: 9px !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  display: grid !important;
  place-items: center !important;
}
.admin-product-thumb.empty .ui-icon-svg {
  width: 22px !important;
  height: 22px !important;
}
.subcat-filter {
  display: grid !important;
  gap: 10px !important;
  padding: 12px !important;
  border: 1px solid rgba(14, 165, 233, .16) !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
}
.subcat-filter strong {
  color: #0f172a !important;
  font-size: 13px !important;
}
.subcat-filter div {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.subcat-filter a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  background: #e8f7f4 !important;
  color: #0f766e !important;
  font-weight: 800 !important;
  font-size: 12px !important;
}
.admin-product-name {
  max-width: 360px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: #0f172a !important;
  text-align: left !important;
  cursor: pointer !important;
  display: block !important;
}
.admin-product-name.expanded {
  max-width: min(520px, 52vw) !important;
  white-space: normal !important;
  overflow: visible !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  position: relative !important;
  z-index: 4 !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08) !important;
}
.admin-product-sku {
  font-size: 11px !important;
  color: #94a3b8 !important;
}
.icon-btn {
  min-width: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.icon-btn .ui-icon-svg,
.kpi-icon .ui-icon-svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
}
.kpi-icon {
  display: grid !important;
  place-items: center !important;
  color: #0f172a !important;
}
.account-tools a {
  position: relative !important;
  padding-left: 64px !important;
}
.account-tools a i {
  position: absolute !important;
  left: 18px !important;
  top: 18px !important;
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 12px !important;
  background: #eef6ff !important;
  color: #1a72c5 !important;
  font-style: normal !important;
}
.account-tools a:nth-child(2) i { background: #ecfdf5 !important; color: #0f766e !important; }
.account-tools a:nth-child(3) i { background: #fff7ed !important; color: #f97316 !important; }
.account-tools a:nth-child(4) i { background: #f3e8ff !important; color: #7e22ce !important; }
.account-tools a i .ui-icon-svg {
  width: 18px !important;
  height: 18px !important;
}
.review-summary em {
  color: #f59e0b !important;
  font-style: normal !important;
}
.icon-picker-grid button {
  display: grid !important;
  place-items: center !important;
  gap: 6px !important;
  min-width: 58px !important;
  min-height: 62px !important;
  padding: 8px !important;
  line-height: 1.1 !important;
}
.icon-picker-grid button em {
  display: block !important;
  font-size: 11px !important;
  font-style: normal !important;
  color: #475569 !important;
}
.admin-picker-icon,
.settings-icon-preview,
.bottom-bar-preview span {
  display: grid !important;
  place-items: center !important;
  color: #0f766e !important;
}
@media (max-width: 960px) {
  .product-card .product-title-link h3,
  .product-card h3 {
    min-height: unset !important;
    max-height: 2.8em !important;
    font-size: 12px !important;
  }
  .premium-product .product-info h1,
  .product-info h1 {
    font-size: clamp(26px, 9vw, 42px) !important;
    line-height: 1.08 !important;
  }
}


/* ============================================================
   ELEGANT REFINEMENTS — appended, non-breaking
   Microinteractions & polish atop original styles
   ============================================================ */

/* Plus Jakarta Sans preconnect-ready */


/* Global smooth font rendering */
body { font-feature-settings: "kern" 1, "liga" 1; text-rendering: optimizeLegibility; }

/* Butoane — transition mai smootha */
.btn { transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease, background .18s ease, border-color .18s ease, color .18s ease; }
.btn:active { transform: scale(.97) !important; }

/* Primary button shimmer */
@keyframes shimmer-sweep {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.btn.primary:hover {
  animation: shimmer-sweep 1.8s linear infinite;
  background-size: 200% auto;
}

/* Product card — linie accent la baza */
.product-card { transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease, border-color .2s; }
.product-card::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: 0;
  transition: opacity .28s ease;
  border-radius: 0 0 20px 20px;
  z-index: 2;
}
.product-card:hover::after { opacity: 1; }

/* Hero — linie luminoasa */
.hero-stage::before {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(20,184,166,.6) 50%, transparent 100%);
  z-index: 5;
}

/* Scrollbar brand */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-2); }

/* Text selection brand */
::selection { background: rgba(20,184,166,.2); color: var(--ink); }

/* Focus visible elegant */
:focus-visible { outline: 2.5px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

/* Section head titluri mai sharp */
.section-head h1, .section-head h2 { letter-spacing: -0.03em; }

/* Trust band item hover */
.benefit-bar span { transition: color .18s, transform .18s; cursor: default; }
.benefit-bar span:hover { color: var(--brand); transform: translateY(-1px); }

/* Nav menu animation mai eleganta */
@keyframes menu-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.nav-menu { animation: menu-in .16s cubic-bezier(.16,1,.3,1) forwards; }

/* Checkout steps done state */
.checkout-steps span.done {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(15,118,110,.2);
}

/* Blog card image zoom */
.blog-card img { transition: transform .38s cubic-bezier(.16,1,.3,1); }
.blog-card:hover img { transform: scale(1.04); }

/* Auth panel mai elegant */
.auth-panel.panel { border-radius: 26px; box-shadow: 0 24px 72px rgba(16,24,40,.12); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .carousel-track, .tag-marquee div { animation: none !important; }
}

/* Print */
@media print {
  .site-header, .site-footer, .mobile-bottom-nav, .cookie-banner, .mini-cart { display: none !important; }
  body { background: #fff; color: #000; }
}


/* ============================================================
   HERO SLIDER — functional JS slider
   ============================================================ */

/* Slide-uri multiple: fiecare span e un layer */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slides .hero-slide {
  position: absolute; inset: 0;
  background-position: center; background-size: cover;
  opacity: 0;
  transition: opacity .7s cubic-bezier(.4,0,.2,1);
  will-change: opacity;
}
.hero-slides .hero-slide.active { opacity: .85; }

/* Multiple hero-content (unul per slide) */
.hero-contents { position: relative; z-index: 2; width: 100%; }
.hero-content {
  display: none;
  animation: content-in .5s cubic-bezier(.16,1,.3,1) both;
}
.hero-content.active { display: block; }
@keyframes content-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Dots slider - desktop si mobil */
.hero-dots {
  display: flex !important;
  gap: 8px; margin-top: 24px;
  position: relative; z-index: 3;
}
.hero-dots span {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
  display: block;
  border: 0 !important;
}
.hero-dots span.active {
  width: 28px; background: #fff;
}

/* Butoane prev/next slider */
.hero-nav {
  position: absolute; z-index: 10;
  top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: 20px; cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.hero-nav:hover { background: rgba(255,255,255,.28); transform: translateY(-50%) scale(1.06); }
.hero-nav.prev { left: 16px; }
.hero-nav.next { right: 16px; }

/* Pe mobil */
@media (max-width: 620px) {
  .hero-slides .hero-slide { opacity: 0 !important; }
  .hero-slides .hero-slide.active { opacity: .82 !important; }
  .hero-dots {
    position: absolute !important; bottom: 10px !important;
    left: 50% !important; transform: translateX(-50%) !important;
    margin-top: 0 !important; gap: 5px !important;
    z-index: 5 !important;
  }
  .hero-dots span {
    width: 6px !important; height: 6px !important;
    background: rgba(255,255,255,.45) !important;
  }
  .hero-dots span.active {
    width: 18px !important; background: transparent !important;
  }
  .hero-nav { display: none !important; }
  /* Mobile hero: imaginea e setata de JS via data-mobile-src */
}

/* Logo mobil: filter alb pe fundal inchis */
@media (max-width: 620px) {
  .site-header .brand .desktop-logo {
    display: none !important;
  }
  .site-header .brand .mobile-logo {
    display: block !important;
    height: auto !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
  }
  /* Daca nu exista mobile-logo, arata desktop-logo (user uploadat versiunea alba) */
  .site-header .brand:not(:has(.mobile-logo)) .desktop-logo {
    display: block !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: 160px !important;
  }
}

/* ============================================================
   CATEGORY CAROUSEL — fix complet
   ============================================================ */

/* Desktop: butoane scroll vertial vizibile */
.hero-cats { position: relative; }
.cat-scroll {
  display: none;
}

/* Tablet + desktop (>620px) cu hero-cats ca sidebar vertical */
@media (min-width: 621px) and (max-width: 960px) {
  .cat-scroll {
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    z-index: 10 !important;
    width: 32px !important; height: 32px !important;
    border-radius: 999px !important; border: 0 !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 4px 12px rgba(15,23,42,.18) !important;
    color: var(--brand) !important;
    font-size: 22px !important; font-weight: 900 !important;
    cursor: pointer !important;
    transition: transform .18s, box-shadow .18s !important;
  }
  .cat-scroll:hover { transform: scale(1.1) !important; box-shadow: 0 6px 18px rgba(15,23,42,.22) !important; }
  .cat-scroll-left { left: 8px !important; top: 50% !important; transform: translateY(-50%) !important; }
  .cat-scroll-right { right: 8px !important; top: 50% !important; transform: translateY(-50%) !important; }
}

/* Mobil (<=620px) — carousel orizontal */
@media (max-width: 620px) {
  /* Asigura scroll pe elementul corect */
  .hero-cats {
    position: relative !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
  .hero-cats > div {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    min-width: max-content !important;
    overflow: visible !important; /* parintele (hero-cats) scrolleaza, nu div-ul */
  }

  /* Butoane navigare mobil — discrete, colturi */
  .cat-scroll {
    display: grid !important;
    place-items: center !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    width: 28px !important; height: 28px !important;
    border-radius: 999px !important; border: 0 !important;
    background: rgba(255,255,255,.9) !important;
    box-shadow: 0 2px 8px rgba(15,23,42,.16) !important;
    color: #333 !important;
    font-size: 20px !important; font-weight: 900 !important;
    cursor: pointer !important;
  }
  .cat-scroll-left  { left: 4px !important; }
  .cat-scroll-right { right: 4px !important; }

  /* Fade edges pentru indiciu scroll */
  .hero-cats::before,
  .hero-cats::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important; bottom: 0 !important;
    width: 32px !important;
    z-index: 5 !important;
    pointer-events: none !important;
  }
  .hero-cats::before {
    left: 0 !important;
    background: linear-gradient(90deg, rgba(255,255,255,.9), transparent) !important;
  }
  .hero-cats::after {
    right: 0 !important;
    background: linear-gradient(270deg, rgba(255,255,255,.9), transparent) !important;
  }
}

/* ================================================================
   HERO SLIDER — fix definitiv mobil + desktop
   ================================================================ */

/* Slides: pozitionate absolute, ascunse implicit */
.hero-slides {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
.hero-slides .hero-slide {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0 !important;
  transition: opacity .7s ease !important;
  background-image: inherit; /* nu anula background-image */
}
.hero-slides .hero-slide.active { opacity: .85 !important; }

/* Continut slides */
.hero-contents {
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
}
.hero-contents .hero-content { display: none !important; }
.hero-contents .hero-content.active {
  display: block !important;
  animation: hSlideIn .5s ease both !important;
}
@keyframes hSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Dots */
.hero-dots {
  display: flex !important;
  gap: 7px !important;
  position: relative !important;
  z-index: 4 !important;
  margin-top: 20px !important;
}
.hero-dots span {
  display: block !important;
  width: 8px !important; height: 8px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.4) !important;
  cursor: pointer !important;
  transition: width .3s, background .3s !important;
  border: 0 !important;
}
.hero-dots span.active { width: 26px !important; background: transparent !important; }

/* Sageti */
.hero-nav {
  display: grid !important;
  place-items: center !important;
  position: absolute !important;
  top: 50% !important; transform: translateY(-50%) !important;
  z-index: 10 !important;
  width: 42px !important; height: 42px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.15) !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  color: #fff !important; font-size: 24px !important;
  cursor: pointer !important;
  backdrop-filter: blur(8px) !important;
}
.hero-nav.prev { left: 14px !important; }
.hero-nav.next { right: 14px !important; }
.hero-nav:hover { background: rgba(255,255,255,.28) !important; }

/* MOBIL (<=620px) */
@media (max-width: 620px) {
  .hero-stage {
    min-height: 220px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    padding: 20px 16px 36px !important;
    position: relative !important;
    overflow: hidden !important;
  }
  /* Slides vizibile pe mobil - JS aplica mobile image */
  .hero-slides { display: block !important; }
  .hero-slides .hero-slide { opacity: 0 !important; }
  .hero-slides .hero-slide.active { opacity: .85 !important; }

  .hero-contents { max-width: 85% !important; }
  .hero-dots {
    position: absolute !important;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-top: 0 !important;
  }
  .hero-dots span { width: 6px !important; height: 6px !important; }
  .hero-dots span.active { width: 18px !important; }
  .hero-nav { display: none !important; }
}

/* === MOBILE BOTTOM NAV - FINAL FIX === */
@media (max-width: 768px) {
.mobile-bottom-nav {
    grid-template-columns: repeat(5, 1fr) !important;
    background: rgba(255,255,255,.97) !important;
}
.mobile-bottom-nav a,
.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active,
.bnav-icon-wrap,
.bnav-ai .bnav-icon-wrap,
.mobile-bottom-nav a[href*="favorites"] .bnav-icon-wrap,
.mobile-bottom-nav a[href*="favorites"],
.mobile-bottom-nav a[href*="favorites"]:hover {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}
.bnav-ai, .bnav-ai * { color: #6366f1 !important; }
}


/* Dimensiune marita pentru pictograme navbar */
.nav-icon svg,
.nav-icon img,
.nav-icon .ui-icon-img {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Iconuri separate desktop / meniu hamburger mobil */
.nav-icon-mobile { display: none !important; }
@media (max-width: 900px) {
  .main-nav .nav-icon-desktop { display: none !important; }
  .main-nav .nav-icon-mobile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .main-nav .nav-icon-mobile img,
  .main-nav .nav-icon-mobile .ui-icon-img,
  .main-nav .nav-icon-mobile svg {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain !important;
    display: block !important;
  }
}

/* ===== FIX DUPLICARE ICONURI NAVBAR =====
   Desktop: arata doar pictograma desktop.
   Mobil/hamburger: arata doar pictograma mobila separata. */
.main-nav .nav-icon-mobile {
  display: none !important;
}
.main-nav .nav-icon-desktop {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
@media (max-width: 900px) {
  .main-nav .nav-icon-desktop {
    display: none !important;
  }
  .main-nav .nav-icon-mobile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ============================================================
   BIRAI custom footer - desktop + mobile like provided mockups
   ============================================================ */
.site-footer.footer-birai,
.site-footer.footer-birai *{
  box-sizing:border-box!important;
}
.site-footer.footer-birai{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:radial-gradient(circle at 72% 8%,rgba(0,183,214,.32),transparent 34%),linear-gradient(135deg,#041833 0%,#063c6d 55%,#006978 100%)!important;
  color:#fff!important;
  text-align:left!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.site-footer.footer-birai .birai-footer-inner{
  width:min(1180px,calc(100% - 42px))!important;
  margin:0 auto!important;
  padding:38px 0 18px!important;
  display:grid!important;
  grid-template-columns:minmax(250px,1.15fr) minmax(160px,.72fr) minmax(230px,.9fr) minmax(280px,1.12fr)!important;
  gap:34px!important;
  align-items:start!important;
}
.site-footer.footer-birai .bf-brand,
.site-footer.footer-birai .bf-links,
.site-footer.footer-birai .bf-trust{
  width:auto!important;
  max-width:none!important;
  display:block!important;
}
.site-footer.footer-birai .bf-logo{
  display:inline-flex!important;
  align-items:center!important;
  text-decoration:none!important;
  margin:0 0 28px!important;
}
.site-footer.footer-birai .bf-logo img{
  width:172px!important;
  height:auto!important;
  display:block!important;
  filter:brightness(0) invert(1)!important;
}
.site-footer.footer-birai .bf-tagline{
  margin:0 0 26px!important;
  max-width:286px!important;
  color:rgba(255,255,255,.88)!important;
  font-size:13px!important;
  line-height:1.85!important;
  font-weight:600!important;
  text-align:left!important;
}
.site-footer.footer-birai .bf-company{
  display:grid!important;
  gap:5px!important;
  margin:0 0 16px!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.35!important;
  text-align:left!important;
  text-transform:uppercase!important;
  letter-spacing:.03em!important;
}
.site-footer.footer-birai .bf-company strong{
  color:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
}
.site-footer.footer-birai .bf-company span{
  color:#fff!important;
  font-weight:800!important;
}
.site-footer.footer-birai .bf-contact{
  display:grid!important;
  gap:9px!important;
  margin:0 0 20px!important;
}
.site-footer.footer-birai .bf-contact a{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:13px!important;
  font-weight:800!important;
}
.site-footer.footer-birai .bf-contact span{
  width:32px!important;
  height:32px!important;
  border-radius:8px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(0,174,255,.42)!important;
  background:rgba(0,128,207,.22)!important;
  flex:0 0 32px!important;
}
.site-footer.footer-birai .bf-contact img{
  width:21px!important;
  height:21px!important;
  object-fit:contain!important;
  display:block!important;
  mix-blend-mode:screen!important;
}
.site-footer.footer-birai .bf-social{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  align-items:center!important;
}
.site-footer.footer-birai .bf-social a{
  width:30px!important;
  height:30px!important;
  border-radius:7px!important;
  display:grid!important;
  place-items:center!important;
  text-decoration:none!important;
  border:1px solid rgba(255,255,255,.11)!important;
  background:rgba(0,31,68,.26)!important;
  overflow:hidden!important;
}
.site-footer.footer-birai .bf-social img{
  width:24px!important;
  height:24px!important;
  object-fit:contain!important;
  display:block!important;
  border-radius:5px!important;
}
.site-footer.footer-birai h3{
  margin:0 0 18px!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.1!important;
  text-transform:uppercase!important;
  letter-spacing:.1em!important;
  font-weight:950!important;
  text-align:left!important;
}
.site-footer.footer-birai .bf-links{
  display:grid!important;
  gap:0!important;
  align-content:start!important;
}
.site-footer.footer-birai .bf-links a{
  min-height:34px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  color:rgba(255,255,255,.9)!important;
  text-decoration:none!important;
  font-size:13px!important;
  font-weight:750!important;
  line-height:1.25!important;
  justify-content:flex-start!important;
  text-align:left!important;
  border:0!important;
}
.site-footer.footer-birai .bf-links a:hover{
  color:#fff!important;
}
.site-footer.footer-birai .bf-shop a > span{
  width:9px!important;
  height:9px!important;
  display:inline-block!important;
  border-right:2px solid #13c5ff!important;
  border-top:2px solid #13c5ff!important;
  transform:rotate(45deg)!important;
  opacity:.95!important;
  flex:0 0 9px!important;
}
.site-footer.footer-birai .bf-info a{
  min-height:43px!important;
  border-bottom:1px solid rgba(255,255,255,.09)!important;
}
.site-footer.footer-birai .bf-info-icon{
  width:30px!important;
  height:30px!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 30px!important;
}
.site-footer.footer-birai .bf-info-icon img{
  width:26px!important;
  height:26px!important;
  object-fit:contain!important;
  display:block!important;
}
.site-footer.footer-birai .bf-trust-list{
  display:grid!important;
  gap:11px!important;
}
.site-footer.footer-birai .bf-trust-item{
  display:grid!important;
  grid-template-columns:48px 1fr!important;
  gap:14px!important;
  align-items:center!important;
  padding:0 0 10px!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
}
.site-footer.footer-birai .bf-trust-item img{
  width:48px!important;
  height:48px!important;
  object-fit:contain!important;
  display:block!important;
}
.site-footer.footer-birai .bf-trust-item p{
  margin:0!important;
  color:#fff!important;
  text-align:left!important;
}
.site-footer.footer-birai .bf-trust-item strong{
  display:block!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.18!important;
  font-weight:950!important;
}
.site-footer.footer-birai .bf-trust-item span{
  display:block!important;
  margin-top:3px!important;
  color:rgba(255,255,255,.78)!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:650!important;
  border:0!important;
  min-height:0!important;
}
.site-footer.footer-birai .bf-anpc{
  display:grid!important;
  gap:8px!important;
  width:170px!important;
  margin:10px auto 0!important;
}
.site-footer.footer-birai .bf-anpc a{
  display:block!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  text-decoration:none!important;
}
.site-footer.footer-birai .bf-anpc img{
  width:170px!important;
  max-width:100%!important;
  display:block!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  margin:0!important;
}
.site-footer.footer-birai .bf-payments{
  grid-column:1 / -1!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  margin-top:2px!important;
}
.site-footer.footer-birai .bf-payments img{
  width:250px!important;
  max-width:100%!important;
  height:auto!important;
  display:block!important;
  object-fit:contain!important;
}
@media (min-width:961px){
  .site-footer.footer-birai .bf-social a:first-child{
    margin-left:0!important;
  }
  .site-footer.footer-birai .bf-payments{
    margin-top:-4px!important;
  }
}
@media (max-width:960px){
  .site-footer.footer-birai{
    margin:0!important;
    padding:0 0 calc(var(--bottom-h,70px) + 18px)!important;
    text-align:center!important;
  }
  .site-footer.footer-birai .birai-footer-inner{
    width:100%!important;
    padding:26px 22px 0!important;
    grid-template-columns:1fr 1fr!important;
    gap:0!important;
  }
  .site-footer.footer-birai .bf-brand{
    grid-column:1 / -1!important;
    text-align:center!important;
    padding:0 0 20px!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
  }
  .site-footer.footer-birai .bf-logo{
    display:flex!important;
    justify-content:center!important;
    margin:0 0 18px!important;
  }
  .site-footer.footer-birai .bf-logo img{
    width:172px!important;
  }
  .site-footer.footer-birai .bf-tagline{
    max-width:330px!important;
    margin:0 auto 18px!important;
    color:#fff!important;
    font-size:15px!important;
    line-height:1.65!important;
    text-align:center!important;
    font-weight:700!important;
  }
  .site-footer.footer-birai .bf-company{
    text-align:center!important;
    margin-bottom:18px!important;
    font-size:15px!important;
    gap:4px!important;
  }
  .site-footer.footer-birai .bf-company strong,
  .site-footer.footer-birai .bf-company span{
    font-size:15px!important;
  }
  .site-footer.footer-birai .bf-contact{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:14px!important;
    flex-wrap:wrap!important;
    margin-bottom:17px!important;
  }
  .site-footer.footer-birai .bf-contact a{
    gap:10px!important;
    font-size:14px!important;
  }
  .site-footer.footer-birai .bf-contact span{
    width:38px!important;
    height:38px!important;
    border-radius:9px!important;
    flex-basis:38px!important;
  }
  .site-footer.footer-birai .bf-contact img{
    width:25px!important;
    height:25px!important;
  }
  .site-footer.footer-birai .bf-social{
    justify-content:center!important;
    gap:16px!important;
  }
  .site-footer.footer-birai .bf-social a{
    width:42px!important;
    height:42px!important;
    border-radius:9px!important;
  }
  .site-footer.footer-birai .bf-social img{
    width:32px!important;
    height:32px!important;
  }
  .site-footer.footer-birai .bf-links{
    padding:20px 0!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
  }
  .site-footer.footer-birai .bf-shop{
    padding-right:14px!important;
  }
  .site-footer.footer-birai .bf-info{
    padding-left:14px!important;
  }
  .site-footer.footer-birai h3{
    margin:0 0 13px!important;
    text-align:left!important;
    font-size:14px!important;
    letter-spacing:.09em!important;
  }
  .site-footer.footer-birai .bf-links a{
    min-height:28px!important;
    font-size:13px!important;
    line-height:1.25!important;
    justify-content:flex-start!important;
    text-align:left!important;
    color:#fff!important;
  }
  .site-footer.footer-birai .bf-info a{
    min-height:38px!important;
    border-bottom:0!important;
  }
  .site-footer.footer-birai .bf-info-icon{
    width:29px!important;
    height:29px!important;
    flex-basis:29px!important;
  }
  .site-footer.footer-birai .bf-info-icon img{
    width:25px!important;
    height:25px!important;
  }
  .site-footer.footer-birai .bf-trust{
    grid-column:1 / -1!important;
    padding:20px 0 0!important;
    text-align:center!important;
  }
  .site-footer.footer-birai .bf-trust h3{
    text-align:left!important;
    margin-left:0!important;
  }
  .site-footer.footer-birai .bf-trust-list{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:0!important;
    align-items:start!important;
  }
  .site-footer.footer-birai .bf-trust-item{
    display:flex!important;
    flex-direction:column!important;
    gap:6px!important;
    align-items:center!important;
    text-align:center!important;
    padding:0 8px 12px!important;
    border-bottom:0!important;
    border-right:1px solid rgba(255,255,255,.12)!important;
  }
  .site-footer.footer-birai .bf-trust-item:last-child{
    border-right:0!important;
  }
  .site-footer.footer-birai .bf-trust-item img{
    width:54px!important;
    height:54px!important;
  }
  .site-footer.footer-birai .bf-trust-item p,
  .site-footer.footer-birai .bf-trust-item strong,
  .site-footer.footer-birai .bf-trust-item span{
    text-align:center!important;
  }
  .site-footer.footer-birai .bf-trust-item strong{
    font-size:12px!important;
    line-height:1.18!important;
  }
  .site-footer.footer-birai .bf-trust-item span{
    font-size:10px!important;
    line-height:1.25!important;
  }
  .site-footer.footer-birai .bf-anpc{
    width:100%!important;
    margin:14px auto 0!important;
    grid-template-columns:1fr 1fr!important;
    gap:14px!important;
    align-items:center!important;
  }
  .site-footer.footer-birai .bf-anpc img{
    width:100%!important;
    max-width:190px!important;
    margin:0 auto!important;
    border-radius:7px!important;
  }
  .site-footer.footer-birai .bf-payments{
    grid-column:1 / -1!important;
    padding:22px 0 0!important;
    margin:0!important;
  }
  .site-footer.footer-birai .bf-payments img{
    width:min(330px,92vw)!important;
  }
}
@media (max-width:430px){
  .site-footer.footer-birai .birai-footer-inner{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  .site-footer.footer-birai .bf-tagline{
    font-size:14px!important;
  }
  .site-footer.footer-birai .bf-contact{
    gap:10px!important;
  }
  .site-footer.footer-birai .bf-contact a{
    font-size:12px!important;
  }
  .site-footer.footer-birai .bf-links a{
    font-size:12px!important;
  }
  .site-footer.footer-birai .bf-trust-item{
    padding-left:5px!important;
    padding-right:5px!important;
  }
  .site-footer.footer-birai .bf-trust-item strong{
    font-size:11px!important;
  }
  .site-footer.footer-birai .bf-trust-item span{
    font-size:9px!important;
  }
}

/* === BIRAI footer hard fix v2: prevent huge/duplicated natural images === */
.site-footer.footer-birai{background:radial-gradient(circle at 78% 0%,rgba(0,174,255,.28),transparent 34%),linear-gradient(135deg,#061e42 0%,#073b6b 55%,#006878 100%)!important;color:#fff!important;overflow:hidden!important;text-align:left!important}
.site-footer.footer-birai img{max-width:100%!important;height:auto!important;display:block!important;object-fit:contain!important}
.site-footer.footer-birai .birai-footer-inner{max-width:1180px!important;width:calc(100% - 48px)!important;margin:0 auto!important;padding:38px 0 18px!important;display:grid!important;grid-template-columns:1.12fr .72fr .95fr 1.15fr!important;gap:34px!important;align-items:start!important}
.site-footer.footer-birai .bf-logo img{width:158px!important;height:auto!important;filter:none!important}
.site-footer.footer-birai .bf-contact span{width:32px!important;height:32px!important;flex:0 0 32px!important;overflow:hidden!important;background:rgba(0,130,210,.22)!important;border:1px solid rgba(0,194,255,.45)!important;border-radius:8px!important;display:grid!important;place-items:center!important}
.site-footer.footer-birai .bf-contact span img{width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;background:transparent!important;border:0!important;border-radius:0!important;mix-blend-mode:normal!important}
.site-footer.footer-birai .bf-info-icon img{width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important;background:transparent!important;border-radius:0!important}
.site-footer.footer-birai .bf-trust-item img{width:50px!important;height:50px!important;max-width:50px!important;max-height:50px!important;background:transparent!important;border-radius:0!important;flex:0 0 50px!important}
.site-footer.footer-birai .bf-social img{width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important}
.site-footer.footer-birai .bf-anpc a{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0!important;line-height:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
.site-footer.footer-birai .bf-anpc img{width:170px!important;max-width:170px!important;height:auto!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;border:0!important;padding:0!important;margin:0!important}
.site-footer.footer-birai .bf-payments img{width:250px!important;max-width:250px!important;height:auto!important}
@media (max-width:960px){
  .site-footer.footer-birai{padding-bottom:calc(var(--bottom-h,70px) + 8px)!important;text-align:center!important}
  .site-footer.footer-birai .birai-footer-inner{width:100%!important;max-width:640px!important;padding:24px 18px 0!important;grid-template-columns:1fr 1fr!important;gap:0!important}
  .site-footer.footer-birai .bf-brand{grid-column:1/-1!important;text-align:center!important;padding-bottom:20px!important;border-bottom:1px solid rgba(255,255,255,.09)!important}
  .site-footer.footer-birai .bf-logo{display:flex!important;justify-content:center!important;margin:0 0 18px!important}
  .site-footer.footer-birai .bf-logo img{width:170px!important;margin:0 auto!important}
  .site-footer.footer-birai .bf-tagline{max-width:340px!important;margin:0 auto 16px!important;text-align:center!important;font-size:14px!important;line-height:1.65!important;color:#fff!important}
  .site-footer.footer-birai .bf-company{text-align:center!important;margin:0 0 17px!important;font-size:14px!important}
  .site-footer.footer-birai .bf-contact{display:flex!important;justify-content:center!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important;margin:0 0 18px!important}
  .site-footer.footer-birai .bf-contact a{display:flex!important;align-items:center!important;gap:10px!important;font-size:13px!important;color:#fff!important;text-decoration:none!important}
  .site-footer.footer-birai .bf-contact span{width:38px!important;height:38px!important;flex:0 0 38px!important}
  .site-footer.footer-birai .bf-contact span img{width:27px!important;height:27px!important;max-width:27px!important;max-height:27px!important}
  .site-footer.footer-birai .bf-social{justify-content:center!important;gap:16px!important}
  .site-footer.footer-birai .bf-social a{width:42px!important;height:42px!important;border-radius:9px!important;display:grid!important;place-items:center!important;overflow:hidden!important}
  .site-footer.footer-birai .bf-social img{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important}
  .site-footer.footer-birai .bf-links{padding:20px 0!important;border-bottom:1px solid rgba(255,255,255,.09)!important;text-align:left!important}
  .site-footer.footer-birai .bf-shop{padding-right:12px!important}.site-footer.footer-birai .bf-info{padding-left:12px!important}
  .site-footer.footer-birai h3{text-align:left!important;font-size:13px!important;margin:0 0 13px!important;letter-spacing:.08em!important}
  .site-footer.footer-birai .bf-links a{font-size:13px!important;min-height:30px!important;color:#fff!important;justify-content:flex-start!important;text-align:left!important}
  .site-footer.footer-birai .bf-info-icon{width:28px!important;height:28px!important;flex:0 0 28px!important}.site-footer.footer-birai .bf-info-icon img{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important}
  .site-footer.footer-birai .bf-trust{grid-column:1/-1!important;padding:20px 0 0!important}
  .site-footer.footer-birai .bf-trust h3{text-align:left!important}
  .site-footer.footer-birai .bf-trust-list{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:0!important}
  .site-footer.footer-birai .bf-trust-item{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:7px!important;padding:0 8px 12px!important;border-right:1px solid rgba(255,255,255,.13)!important;border-bottom:0!important}
  .site-footer.footer-birai .bf-trust-item:last-child{border-right:0!important}
  .site-footer.footer-birai .bf-trust-item img{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;flex:0 0 54px!important}
  .site-footer.footer-birai .bf-trust-item p,.site-footer.footer-birai .bf-trust-item strong,.site-footer.footer-birai .bf-trust-item span{text-align:center!important}
  .site-footer.footer-birai .bf-trust-item strong{font-size:12px!important;line-height:1.15!important}.site-footer.footer-birai .bf-trust-item span{font-size:10px!important;line-height:1.25!important}
  .site-footer.footer-birai .bf-anpc{width:100%!important;margin:14px auto 0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;align-items:center!important}
  .site-footer.footer-birai .bf-anpc a{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0 auto!important;line-height:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
  .site-footer.footer-birai .bf-anpc img{width:100%!important;max-width:190px!important;margin:0 auto!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;border:0!important;padding:0!important}
  .site-footer.footer-birai .bf-payments{grid-column:1/-1!important;display:flex!important;justify-content:center!important;padding:22px 0 0!important;margin:0!important}.site-footer.footer-birai .bf-payments img{width:min(330px,92vw)!important;max-width:min(330px,92vw)!important}
}
@media (max-width:360px){
  .site-footer.footer-birai .birai-footer-inner{padding-left:14px!important;padding-right:14px!important}
  .site-footer.footer-birai .bf-contact{gap:8px!important}.site-footer.footer-birai .bf-contact a{font-size:11px!important}.site-footer.footer-birai .bf-contact span{width:34px!important;height:34px!important;flex-basis:34px!important}.site-footer.footer-birai .bf-contact span img{width:23px!important;height:23px!important}
  .site-footer.footer-birai .bf-social a{width:36px!important;height:36px!important}.site-footer.footer-birai .bf-social img{width:29px!important;height:29px!important}
  .site-footer.footer-birai .bf-links a{font-size:11px!important}.site-footer.footer-birai h3{font-size:11px!important}
  .site-footer.footer-birai .bf-trust-item{padding-left:3px!important;padding-right:3px!important}.site-footer.footer-birai .bf-trust-item img{width:42px!important;height:42px!important;max-width:42px!important;max-height:42px!important}.site-footer.footer-birai .bf-trust-item strong{font-size:9px!important}.site-footer.footer-birai .bf-trust-item span{font-size:8px!important}
}


/* Fix ANPC SAL/SOL: fara background alb sub imagine */
.site-footer.footer-birai .bf-anpc,
.site-footer.footer-birai .bf-anpc a,
.site-footer.footer-birai .bf-anpc img{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.site-footer.footer-birai .bf-anpc a{
  padding:0!important;
  margin:0!important;
  line-height:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
.site-footer.footer-birai .bf-anpc img{
  padding:0!important;
  object-fit:contain!important;
}
@media (max-width:768px){
  .site-footer.footer-birai .bf-anpc a{margin:0 auto!important;}
}

/* ============================================================
   MOBILE FIXES v3
   1. Title si descriere produs - 3 linii, aliniate corect
   2. Pill-uri (In stoc / Livrare rapida) - grid 2 coloane, fara suprapunere
   3. Belt-and-suspenders pentru marquee categorii
   ============================================================ */
@media (max-width: 960px) {
  /* TITLU PRODUS: 3 linii in loc de 2, hyphenation pentru cuvinte lungi */
  .product-card .product-title-link h3,
  .product-card h3 {
    min-height: unset !important;
    max-height: 4.2em !important;
    line-height: 1.4 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    word-break: break-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    margin: 8px 12px 4px !important;
    padding-right: 4px !important;
  }

  /* DESCRIERE PRODUS: vizibila, 3 linii, fara fade */
  .product-card > p,
  .product-card p {
    display: -webkit-box !important;
    min-height: unset !important;
    max-height: 4.5em !important;
    line-height: 1.5 !important;
    overflow: hidden !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    word-break: break-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    margin: 0 12px 8px !important;
    font-size: 12px !important;
    color: #64748b !important;
  }
}

/* PILL-URI: grid 2 coloane pe mobil (sub 600px), una sub alta pe foarte mic (<360px) */
@media (max-width: 600px) {
  .pcard-pills {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin: 8px 12px 6px !important;
    width: calc(100% - 24px) !important;
  }
  .pcard-pill {
    justify-content: center !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .pcard-pill .pp-ic { font-size: 12px !important; }
}
/* Pe ecrane foarte inguste, stack vertical */
@media (max-width: 360px) {
  .pcard-pills {
    grid-template-columns: 1fr !important;
  }
}

/* Belt-and-suspenders: pe mobil ascundem clar versiunea desktop hero-cats */
@media (max-width: 960px) {
  .hero-cats-desktop { display: none !important; }
  .hero-cats-mobile { display: block !important; }
}
@media (min-width: 961px) {
  .hero-cats-mobile { display: none !important; }
  .hero-cats-desktop { display: block !important; }
}

/* ── Pictograme footer uploadabile (dimensiune fixa 53x40) ── */
.site-footer.footer-birai .bf-payment-icons{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:8px!important}
.site-footer.footer-birai .bf-payments .bf-payment-icons img{width:53px!important;height:40px!important;max-width:53px!important;max-height:40px!important;object-fit:contain!important}
@media (max-width:960px){
  .site-footer.footer-birai .bf-payments .bf-payment-icons img{width:53px!important;height:40px!important;max-width:53px!important;max-height:40px!important;object-fit:contain!important}
}

/* AI chat final polish + mobile keyboard stability */
:root {
  --ai-stable-height: 100dvh;
  --ai-keyboard-inset: 0px;
}

html.ai-chat-lock,
body.ai-chat-lock {
  height: var(--ai-stable-height) !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.ai-chat-lock {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

.ai-chat {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  height: var(--ai-stable-height) !important;
  z-index: 100800 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
  background:
    radial-gradient(circle at 20% 12%, rgba(20,184,166,.28), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(37,99,235,.22), transparent 28%),
    rgba(15,23,42,.58) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

.ai-chat.open {
  display: flex !important;
}

.ai-chat-panel {
  width: min(450px, 100%) !important;
  height: min(720px, calc(var(--ai-stable-height) - 36px)) !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  border-radius: 26px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 28px 90px rgba(15,23,42,.35) !important;
  transform: translateY(10px) scale(.98) !important;
  opacity: 0 !important;
  transition: transform .22s ease, opacity .22s ease !important;
}

.ai-chat.open .ai-chat-panel {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
}

.ai-chat-panel header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 18px !important;
  color: #fff !important;
  background:
    linear-gradient(135deg, rgba(15,118,110,.98), rgba(29,78,216,.96)) !important;
}

.ai-chat-brand {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

.ai-chat-avatar {
  width: 46px !important;
  height: 46px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.18) !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28) !important;
}

.ai-chat-avatar img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: inherit !important;
}

.ai-chat-panel header strong {
  display: block !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
}

.ai-chat-panel header span {
  display: block !important;
  margin-top: 4px !important;
  color: rgba(255,255,255,.86) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.ai-chat-panel header button {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 auto !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.ai-chat-messages {
  min-height: 0 !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 18px !important;
  background:
    linear-gradient(180deg, #f8fafc, #eef7f5) !important;
  -webkit-overflow-scrolling: touch !important;
}

.ai-msg {
  max-width: 88% !important;
  padding: 12px 14px !important;
  border-radius: 18px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  word-wrap: break-word !important;
}

.ai-msg.bot {
  align-self: flex-start !important;
  background: #fff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15,23,42,.07) !important;
  box-shadow: 0 10px 28px rgba(15,23,42,.08) !important;
}

.ai-msg.user {
  align-self: flex-end !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0f766e, #2563eb) !important;
  box-shadow: 0 10px 24px rgba(37,99,235,.22) !important;
}

.ai-msg.thinking {
  opacity: .75 !important;
}

.ai-products {
  display: grid !important;
  gap: 9px !important;
  margin-top: 12px !important;
}

.ai-products a {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 11px !important;
  align-items: center !important;
  padding: 9px !important;
  border-radius: 16px !important;
  background: #f0fdfa !important;
  border: 1px solid rgba(15,118,110,.14) !important;
  text-decoration: none !important;
}

.ai-products img {
  width: 54px !important;
  height: 54px !important;
  border-radius: 13px !important;
  object-fit: cover !important;
  background: #fff !important;
}

.ai-products strong,
.ai-products em {
  display: block !important;
  min-width: 0 !important;
}

.ai-products strong {
  color: #0f172a !important;
  font-size: 13px !important;
}

.ai-products em {
  margin-top: 3px !important;
  color: #0f766e !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

.ai-product-card {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
  padding: 12px !important;
  border-radius: 18px !important;
  background: #f0fdfa !important;
  border: 1px solid rgba(15,118,110,.16) !important;
}

.ai-products .ai-product-image {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 15px !important;
  overflow: hidden !important;
}

.ai-products .ai-product-image img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 15px !important;
  object-fit: cover !important;
  background: #fff !important;
}

.ai-product-info {
  min-width: 0 !important;
  display: grid !important;
  gap: 5px !important;
}

.ai-product-category {
  width: fit-content !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  background: rgba(15,118,110,.11) !important;
  color: #0f766e !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.ai-products .ai-product-title {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  align-items: initial !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0f172a !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}

.ai-product-info p {
  margin: 3px 0 0 !important;
  color: #334155 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.ai-product-info small {
  color: #0f766e !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.ai-product-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 6px !important;
}

.ai-products .ai-product-actions a {
  display: inline-flex !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.ai-products .ai-product-buy {
  background: #e30613 !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 10px 20px rgba(227,6,19,.2) !important;
}

.ai-products .ai-product-more {
  background: #fff !important;
  color: #0f766e !important;
  border: 1px solid rgba(15,118,110,.2) !important;
}

.ai-chat-form {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  padding: 14px !important;
  padding-bottom: max(14px, env(safe-area-inset-bottom)) !important;
  background: rgba(255,255,255,.98) !important;
  border-top: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 -12px 26px rgba(15,23,42,.06) !important;
}

.ai-chat-form input {
  min-width: 0 !important;
  height: 48px !important;
  border: 1px solid #d5e2ea !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  font-size: 16px !important;
  padding: 0 16px !important;
  outline: none !important;
}

.ai-chat-form input:focus {
  border-color: #0f766e !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(15,118,110,.12) !important;
}

.ai-chat-form button {
  height: 48px !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 18px !important;
  background: #e30613 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 24px rgba(227,6,19,.22) !important;
}

@media (max-width: 960px) {
  .ai-chat {
    align-items: stretch !important;
    justify-content: stretch !important;
    padding: 0 !important;
  }

  .ai-chat-panel {
    width: 100% !important;
    height: var(--ai-stable-height) !important;
    max-height: none !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .ai-chat-panel header {
    padding: calc(14px + env(safe-area-inset-top)) 14px 14px !important;
  }

  .ai-chat-panel header strong {
    font-size: 17px !important;
  }

  .ai-chat-panel header span {
    font-size: 11px !important;
  }

  .ai-chat-avatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }

  .ai-chat-messages {
    padding: 14px !important;
    padding-bottom: calc(88px + var(--ai-keyboard-inset)) !important;
  }

  .ai-msg {
    max-width: 92% !important;
    font-size: 14px !important;
  }

  .ai-product-card {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    padding: 10px !important;
  }

  .ai-product-image img {
    width: 62px !important;
    height: 62px !important;
  }

  .ai-chat-form {
    grid-template-columns: minmax(0, 1fr) 88px !important;
    padding: 12px !important;
    padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
    transform: translateY(calc(-1 * var(--ai-keyboard-inset))) !important;
    transition: transform .16s ease !important;
  }

  .ai-chat-form button {
    padding: 0 12px !important;
  }
}

/* ===== BOTTOM NAV FINAL FIX =====
   Suprascrie toate regulile anterioare care contin transform/will-change
   pe .mobile-bottom-nav. Acestea erau cauza principala a problemei:
   un element cu transform devine "containing block" pentru fixed children
   si isi pierde ancorarea la viewport la scroll.
   ================================= */
@media (max-width: 960px) {
  .mobile-bottom-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    /* ZERO transform - orice transform rupe position:fixed pe mobile */
    transform: none !important;
    -webkit-transform: none !important;
    /* ZERO will-change - creeaza stacking context si misca bara la scroll */
    will-change: auto !important;
    /* ZERO contain - poate interfera cu fixed positioning */
    contain: none !important;
    /* Fara backdrop-filter - pe unele Android face bara sa "sara" */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    /* Stil vizual simplu fara efecte GPU */
    background: #fff !important;
    border-top: 1px solid #e8e8e8 !important;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.10) !important;
    /* Inaltime fixa - nu 'auto', nu 'var()' cu fallback necunoscut */
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    /* Safe area iPhone - adaugata ca padding, nu ca height */
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    /* Recalculeaza height cu safe area */
    height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
    /* z-index mare dar nu exagerat */
    z-index: 9999 !important;
    /* Grid layout pentru cele 4-5 taburi */
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    align-items: stretch !important;
  }
}
/* ===== END BOTTOM NAV FINAL FIX ===== */

/* ── Reviews marquee slider pe homepage ── */
.reviews-marquee-wrap {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.reviews-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  width: max-content;
  animation: reviews-marquee-scroll 35s linear infinite;
  will-change: transform;
}
.reviews-marquee-wrap:hover .reviews-marquee-track {
  animation-play-state: paused;
}
.reviews-marquee-card {
  flex-shrink: 0;
  width: 300px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reviews-marquee-card p {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reviews-marquee-card small {
  font-size: 12px;
  color: #94a3b8;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@keyframes reviews-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Pe mobil: scroll normal */
@media (max-width: 768px) {
  .reviews-marquee-card { width: 260px; }
}

/* ================================================================
   FIX FINAL EXTRA: elimina albul/gradientul de peste categoriile mobile
   Nu modifica JS-ul si nu strica marquee-ul functional.
   ================================================================ */
@media (max-width: 960px) {
  .home-hero .hero-cats-mobile,
  .home-hero .hero-cats-mobile.hero-cats {
    background: transparent !important;
  }

  .home-hero .hero-cats-mobile::before,
  .home-hero .hero-cats-mobile::after,
  .home-hero .hero-cats::before,
  .home-hero .hero-cats::after,
  .hero-cats-mobile::before,
  .hero-cats-mobile::after {
    display: none !important;
    content: none !important;
    background: none !important;
    width: 0 !important;
  }

  .home-hero .hero-cats-mobile .cats-marquee-wrap,
  .hero-cats-mobile .cats-marquee-wrap {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    background: transparent !important;
  }
}

/* ============================================================
   NAV: DROPDOWN CATEGORII PRODUSE (desktop + mobil)
   ============================================================ */
.nav-cats {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-cats-toggle {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 12px; border-radius: 8px;
  color: rgba(255,255,255,.92);
  font-size: 13px; font-weight: 600;
  white-space: nowrap; text-decoration: none;
  background: transparent; border: 0; cursor: pointer;
  font-family: inherit; line-height: inherit;
  transition: background .15s, color .15s;
}
.nav-cats-toggle:hover { background: rgba(255,255,255,.18); color: #fff; }
.nav-cats-toggle .nav-icon .ui-icon-svg,
.nav-cats-toggle .nav-icon svg { width: 18px; height: 18px; }
.nav-cats-caret {
  width: 12px; height: 12px; flex: 0 0 12px;
  transition: transform .18s ease;
}
.nav-cats.open .nav-cats-caret { transform: rotate(180deg); }

/* Panoul dropdown - desktop */
.nav-cats-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px); left: 0;
  min-width: 250px; max-width: 320px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  padding: 8px;
  z-index: 300;
}
/* Sageata mica deasupra panoului */
.nav-cats-menu::before {
  content: ""; position: absolute; top: -6px; left: 26px;
  width: 12px; height: 12px; background: #fff;
  transform: rotate(45deg); border-radius: 2px;
}
.nav-cats.open .nav-cats-menu { display: block; }
@media (hover: hover) and (min-width: 961px) {
  .nav-cats:hover .nav-cats-menu { display: block; }
  .nav-cats:hover .nav-cats-caret { transform: rotate(180deg); }
  /* Punte invizibila intre buton si panou, ca hover-ul sa nu se piarda in gap */
  .nav-cats::after {
    content: ""; position: absolute; left: 0; right: 0;
    top: 100%; height: 12px;
  }
}

/* Linkurile din dropdown - desktop */
.nav-cats-menu a {
  display: flex !important; align-items: center;
  padding: 10px 12px !important; border-radius: 8px;
  color: #222 !important; font-size: 13.5px; font-weight: 600;
  text-decoration: none; white-space: normal !important;
}
.nav-cats-menu a:hover { background: #f0f7ff !important; color: var(--emag-blue) !important; }
.nav-cats-menu a.nav-cat-child {
  padding-left: 28px !important;
  font-weight: 500; font-size: 13px;
  color: #555 !important;
  position: relative;
}
.nav-cats-menu a.nav-cat-child::after {
  content: ""; position: absolute; left: 15px; top: 50%;
  width: 6px; height: 6px; border-radius: 999px;
  background: rgba(26,114,197,.35);
  transform: translateY(-50%);
}

/* Ecrane desktop mai inguste: nav-ul nu trebuie sa impinga layout-ul */
@media (min-width: 961px) and (max-width: 1200px) {
  .site-header .main-nav a,
  .site-header .nav-cats-toggle { padding: 7px 8px !important; font-size: 12.5px !important; }
}

/* -------------------- MOBIL (<=960px) -------------------- */
@media (max-width: 960px) {
  .nav-cats {
    display: block;
    position: static;
    border-bottom: 1px solid #f2f2f2;
  }
  .nav-cats-toggle {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    padding: 14px 10px; border-radius: 0;
    color: #222; font-weight: 600; font-size: 15px;
    background: transparent; text-align: left;
  }
  .nav-cats-toggle:hover { background: #f0f7ff; color: var(--emag-blue); border-radius: 8px; }
  .nav-cats-caret { margin-left: auto; width: 14px; height: 14px; flex-basis: 14px; color: #999; }
  .nav-cats.open .nav-cats-toggle { color: var(--emag-blue); }

  /* Acordeon in meniul hamburger */
  .nav-cats-menu {
    position: static !important;
    display: none;
    min-width: 0; max-width: none; max-height: none;
    overflow: visible;
    box-shadow: none; border-radius: 0;
    background: #f8fafc;
    padding: 4px 6px 8px;
    margin: 0 0 6px;
    border-radius: 10px;
  }
  .nav-cats-menu::before { display: none; }
  .nav-cats.open .nav-cats-menu { display: block; }

  .nav-cats-menu a {
    display: flex !important;
    padding: 12px 12px !important;
    border-bottom: 1px solid #eef2f6 !important;
    border-radius: 0 !important;
    color: #333 !important; font-size: 14px !important; font-weight: 600 !important;
    background: transparent !important;
  }
  .nav-cats-menu a:last-child { border-bottom: 0 !important; }
  .nav-cats-menu a:hover { background: #eef6ff !important; color: var(--emag-blue) !important; border-radius: 8px !important; }
  .nav-cats-menu a.nav-cat-child {
    padding-left: 30px !important;
    font-weight: 500 !important; font-size: 13.5px !important;
    color: #555 !important;
  }
  .nav-cats-menu a.nav-cat-child::after { left: 16px; }
}
