/* ==========================================================
   Empire Store — Logo text (mobile-first, Safari-safe)

   ========================================================== */

#logo,
#logo a,
.header-logo,
a.logo {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  position: relative;
  z-index: 5;
}

#logo a::after,
.header-logo a::after,
a.logo::after {
  content: "";
  font-size: 24px;
    font-weight: 900;
    letter-spacing: .5px;
    color: #20262d;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Desktop only — text is added here, never removed elsewhere */
@media (min-width: 661px) {
  #logo,
  #logo a,
  .header-logo,
  a.logo {
    margin-right: 25px !important;
  }

  #logo a::after,
  .header-logo a::after,
  a.logo::after {
    content: "Empire Store";
  }
}

/* Hide the "added to cart" success notification bar */
.woocommerce-message.message-wrapper {
  display: none !important;
}

.searchform{
    margin-right:60px !important;
}


/* ===== Bulk deal table → branded cards ===== */
.bulk_table { margin: 18px 0 24px !important; padding: 0 !important; border: 0 !important; background: none !important; }
.bulk_table .wdp_pricing_table_caption { display: block !important; font-size: 15px !important; font-weight: 800 !important; color: #373838 !important; letter-spacing: .5px !important; text-transform: uppercase !important; margin: 0 0 10px !important; padding: 0 !important; }
.bulk_table .wdp_pricing_table { display: block !important; width: 100% !important; border: 0 !important; background: none !important; margin: 0 !important; box-shadow: none !important; }
.bulk_table .wdp_pricing_table thead { display: none !important; }
.bulk_table .wdp_pricing_table tbody { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; width: 100% !important; }
.bulk_table .wdp_pricing_table tbody tr { display: block !important; flex: 1 1 150px !important; border: 2px solid #eaeaea !important; border-radius: 14px !important; background: #fff !important; padding: 14px 10px !important; text-align: center !important; margin: 0 !important; transition: border-color .2s !important; }
.bulk_table .wdp_pricing_table tbody tr:hover { border-color: #ff8100 !important; }
.bulk_table .wdp_pricing_table tbody td { display: block !important; border: 0 !important; padding: 0 !important; background: none !important; text-align: center !important; line-height: 1.3 !important; }
.bulk_table .wdp_pricing_table tbody td:nth-child(1) { font-size: 14px !important; font-weight: 800 !important; color: #373838 !important; text-transform: uppercase !important; }
.bulk_table .wdp_pricing_table tbody td:nth-child(1)::after { content: " ПАРЧИЊА"; font-size: 11px; color: #999; font-weight: 700; }
.bulk_table .wdp_pricing_table tbody td:nth-child(2) { display: inline-block !important; margin: 8px 0 6px !important; padding: 3px 10px !important; border-radius: 20px !important; background: #2e7d32 !important; color: #fff !important; font-size: 12px !important; font-weight: 800 !important; }
.bulk_table .wdp_pricing_table tbody td:nth-child(3), .bulk_table .wdp_pricing_table tbody td:nth-child(3) .amount { font-size: 20px !important; font-weight: 800 !important; color: #ff8100 !important; }
.bulk_table .wdp_pricing_table tbody td:nth-child(3)::before { content: "по парче"; display: block; font-size: 11px; color: #999; font-weight: 700; margin-bottom: 2px; }
@media (max-width: 640px) {
  .bulk_table .wdp_pricing_table tbody tr { flex: 1 1 44% !important; padding: 12px 6px !important; }
}

/* ===== Product summary: custom order ===== */
.product-info.product-summary { display: flex !important; flex-direction: column !important; }
.product-info.product-summary > .woocommerce-breadcrumb { order: 1 !important; }
.product-info.product-summary > .next-prev-thumbs { order: 1 !important; }
.product-info.product-summary > .product-title { order: 2 !important; }
.product-info.product-summary > .is-divider { order: 3 !important; }
.product-info.product-summary > .product-short-description { order: 4 !important; margin-bottom: 14px !important; }
.product-info.product-summary > .price-wrapper { order: 5 !important; margin-bottom: 6px !important; }
.product-info.product-summary > .wdp_bulk_table_content { order: 6 !important; }
.product-info.product-summary > form.cart { order: 7 !important; margin-top: 4px !important; }
.product-info.product-summary > .product_meta { order: 8 !important; }
.product-info.product-summary > .social-icons { order: 9 !important; }

/* ==========================================================================
  
/* ==========================================================================
   Homepage — carousel, category filter, product grid        (2026-09-14)

   This is the ONLY homepage block this file needs. It is self-contained:
   layout AND design. It replaces the older .epx-* section as well as every
   previously appended copy of the redesign.

   Everything is !important for two reasons: this stylesheet is enqueued
   BEFORE flatsome.css, and most of the page markup carries inline styles.

   Palette   navy #1e2a44 · orange #ff8100 · grey #8992a3 · line #e3e8ef
   ========================================================================== */

/* ---------- Page chrome --------------------------------------------------- */
body.home #content.page-wrapper { 
    padding-top: 0 !important; 
    padding-bottom:0px !important;
}
body.home #content .large-12.col { padding-bottom: 0 !important; }

/* ---------- Full-width colour bands --------------------------------------
   A very large box-shadow paints outside the element without affecting
   layout; clip-path trims it vertically. Using 100vw instead would overflow
   the page by the width of the scrollbar.

   The padding/margin rules also close the white slivers that used to appear
   above and below the carousel: those were collapsed margins escaping their
   boxes (the subtitle's 34px bottom margin, and the carousel block's inline
   margin-bottom:10px). Turned into padding, they are painted. */
div:has(+ div > .epx-carousel-wrap),
div:has(> .epx-carousel-wrap) {
  background: #eef3f9 !important;
  box-shadow: 0 0 0 100vmax #eef3f9 !important;
  clip-path: inset(0 -100vmax) !important;
}
div:has(+ div > .epx-carousel-wrap) { padding: 13px 20px 0 !important; }
div:has(+ div > .epx-carousel-wrap) > div:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 30px !important;
}
div:has(> .epx-carousel-wrap) {
  margin-bottom: 0 !important;
  padding: 0 20px 5px !important;
}
div:has(> .epx-cat-carousel) {
  background: #eef3f9 !important;
  box-shadow: 0 0 0 100vmax #eef3f9 !important;
  clip-path: inset(0 -100vmax) !important;
  padding: 1px 20px 50px !important;
}

/* ---------- Headings ------------------------------------------------------
   The carousel heading already carries its accent bar and subtitle in the
   page HTML. .epx-heading / .epx-sub are added to the Категории heading by
   custom-navbar.js so both match. */
.epx-heading {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: #1e2a44 !important;
  letter-spacing: .2px !important;
  line-height: 1.2 !important;
  text-align: center !important;
  margin: 0 0 8px !important;
}
.epx-heading::before {
  content: "" !important;
  display: block !important;
  width: 44px !important;
  height: 3px !important;
  border-radius: 2px !important;
  background: #ff8100 !important;
  margin: 0 auto 16px !important;
}
.epx-sub {
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #8992a3 !important;
  margin: 0 0 30px !important;
  line-height: 1.4 !important;
}

/* ---------- Top carousel: layout ------------------------------------------
   Card width uses the same four-across maths as the grid below, so a carousel
   card and a category card are identical in size. Snapping is off because the
   arrows already advance by exactly one card + gap; proximity snapping on top
   of that dragged the scroll back to the first card. */
.epx-carousel-wrap { position: relative !important; }

.epx-carousel-track {
  display: flex !important;
  gap: 24px !important;
  overflow-x: auto !important;
  padding: 6px 0 14px !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}
.epx-carousel-track::-webkit-scrollbar { display: none !important; }

.epx-carousel-track .epx-card {
  flex: 0 0 calc((100% - 72px) / 4) !important;
  width: calc((100% - 72px) / 4) !important;
  min-width: 0 !important;
  max-width: none !important;
  scroll-snap-align: none !important;
}

/* ---------- Arrows (carousel + category row) ------------------------------
   Both sets are 40px and share the dimmed .epx-off state, which is toggled
   from custom-navbar.js when there is nothing more to slide. */
.epx-carousel-wrap .epx-carousel-arrow,
.epx-cat-carousel .epx-cat-arrow {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    box-sizing: border-box !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #20262d !important;
    border: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    font-size: 29px !important;
    font-family: inherit !important;
    line-height: 1 !important;
    text-transform: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 0 3px !important;
    box-shadow: 0 6px 18px rgba(20, 30, 60, .20) !important;
    transition: background .2s ease, opacity .2s ease !important;
}
.epx-carousel-wrap .epx-carousel-arrow:hover,
.epx-cat-carousel .epx-cat-arrow:hover {
    background: #ff8100 !important;
    color: #fff !important;
    }

.epx-carousel-wrap .epx-carousel-arrow.epx-off,
.epx-carousel-wrap .epx-carousel-arrow.epx-off:hover,
.epx-cat-carousel .epx-cat-arrow.epx-off,
.epx-cat-carousel .epx-cat-arrow.epx-off:hover {
    opacity: 0.55 !important;
    cursor: default !important;
    background: #ffffff !important;
    color:#20262d !important;
}

.epx-carousel-wrap .epx-carousel-arrow {
  position: absolute !important;
  top: 44% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
}
.epx-carousel-wrap .epx-carousel-prev { left: -25px !important; right: auto !important; }
.epx-carousel-wrap .epx-carousel-next { right: -25px !important; left: auto !important; }

/* ---------- Category row: layout ------------------------------------------ */
.epx-cat-carousel {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 30px !important;
  position: relative !important;
}
.epx-cat-filter {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  padding: 4px 2px !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-behavior: smooth !important;
}
.epx-cat-filter::-webkit-scrollbar { display: none !important; height: 0 !important; }
.epx-cat-carousel .epx-cat-arrow { flex: 0 0 40px !important; }
.epx-cat-carousel.epx-no-scroll .epx-cat-arrow { display: none !important; }
@media (min-width: 1150px) {
  .epx-cat-carousel .epx-cat-arrow-prev { margin-left: -50px !important; }
  .epx-cat-carousel .epx-cat-arrow-next { margin-right: -50px !important; }
}

/* ---------- Category pills ------------------------------------------------ */
.epx-cat-btn {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid #e3e8ef !important;
  background: #fff !important;
  color: #1e2a44 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  font-family: inherit !important;
  min-height: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease !important;
}
.epx-cat-btn:hover {
  background: #fff !important;
  border-color: #c6d1e0 !important;
  color: #1e2a44 !important;
}
/* Several categories can be active at once — see wireFilter() in the JS. */
.epx-cat-btn.epx-cat-active,
.epx-cat-btn.epx-cat-active:hover {
  background: #ff8100 !important;
  border-color: #ff8100 !important;
  color: #fff !important;
}

/* Monochrome line icons, injected as CSS masks so the page HTML needs no
   markup for them. background-color:currentColor makes each icon inherit the
   pill's text colour, so it turns white by itself when the pill is active. */
.epx-cat-btn::before {
  content: "" !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  background-color: currentColor !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  opacity: .72 !important;
  /* Default tag icon. Without a fallback, a category slug with no rule below
     would render as a solid 16px square, because background-color fills the
     whole box when no mask is set. */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 12.5 12 21 3 12V3h9z'/%3E%3Ccircle cx='7.6' cy='7.6' r='1.4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 12.5 12 21 3 12V3h9z'/%3E%3Ccircle cx='7.6' cy='7.6' r='1.4'/%3E%3C/svg%3E");
}
.epx-cat-btn.epx-cat-active::before { opacity: 1 !important; }

.epx-cat-btn[data-cat=""]::before,
.epx-cat-btn[data-cat="all"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.6'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.6'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.6'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.6'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.6'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.6'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.6'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.6'/%3E%3C/svg%3E") !important;
}
.epx-cat-btn[data-cat="chanti"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.2 8h15.6l-1.3 12H5.5L4.2 8z'/%3E%3Cpath d='M8.6 8V6.3a3.4 3.4 0 0 1 6.8 0V8'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.2 8h15.6l-1.3 12H5.5L4.2 8z'/%3E%3Cpath d='M8.6 8V6.3a3.4 3.4 0 0 1 6.8 0V8'/%3E%3C/svg%3E") !important;
}
.epx-cat-btn[data-cat="audio"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14.5v-2.2a8 8 0 0 1 16 0v2.2'/%3E%3Crect x='2.6' y='13.6' width='4.4' height='6.8' rx='2.2'/%3E%3Crect x='17' y='13.6' width='4.4' height='6.8' rx='2.2'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14.5v-2.2a8 8 0 0 1 16 0v2.2'/%3E%3Crect x='2.6' y='13.6' width='4.4' height='6.8' rx='2.2'/%3E%3Crect x='17' y='13.6' width='4.4' height='6.8' rx='2.2'/%3E%3C/svg%3E") !important;
}
.epx-cat-btn[data-cat="obleka"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.8 3.5 4.2 6.1l1.7 4.1 2.3-.8v11.1h7.6V9.4l2.3.8 1.7-4.1-4.6-2.6a3.4 3.4 0 0 1-6.4 0z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.8 3.5 4.2 6.1l1.7 4.1 2.3-.8v11.1h7.6V9.4l2.3.8 1.7-4.1-4.6-2.6a3.4 3.4 0 0 1-6.4 0z'/%3E%3C/svg%3E") !important;
}
.epx-cat-btn[data-cat="dom"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.6 12 3.8l8.5 6.8'/%3E%3Cpath d='M5.8 12.2v8.3h12.4v-8.3'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.6 12 3.8l8.5 6.8'/%3E%3Cpath d='M5.8 12.2v8.3h12.4v-8.3'/%3E%3C/svg%3E") !important;
}
.epx-cat-btn[data-cat="ocila"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6.6' cy='14.2' r='3.6'/%3E%3Ccircle cx='17.4' cy='14.2' r='3.6'/%3E%3Cpath d='M10.2 14c.9-.9 2.7-.9 3.6 0'/%3E%3Cpath d='M3 10.8 5.6 8.2'/%3E%3Cpath d='M21 10.8 18.4 8.2'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6.6' cy='14.2' r='3.6'/%3E%3Ccircle cx='17.4' cy='14.2' r='3.6'/%3E%3Cpath d='M10.2 14c.9-.9 2.7-.9 3.6 0'/%3E%3Cpath d='M3 10.8 5.6 8.2'/%3E%3Cpath d='M21 10.8 18.4 8.2'/%3E%3C/svg%3E") !important;
}
.epx-cat-btn[data-cat="kujna-oprema"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.2 9.6h15.6v5.6a4.4 4.4 0 0 1-4.4 4.4H8.6a4.4 4.4 0 0 1-4.4-4.4V9.6z'/%3E%3Cpath d='M4.2 11.8H2.4M19.8 11.8h1.8'/%3E%3Cpath d='M9.4 6.6c0-1.1 1.4-1.1 1.4-2.2M13.2 6.6c0-1.1 1.4-1.1 1.4-2.2'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.2 9.6h15.6v5.6a4.4 4.4 0 0 1-4.4 4.4H8.6a4.4 4.4 0 0 1-4.4-4.4V9.6z'/%3E%3Cpath d='M4.2 11.8H2.4M19.8 11.8h1.8'/%3E%3Cpath d='M9.4 6.6c0-1.1 1.4-1.1 1.4-2.2M13.2 6.6c0-1.1 1.4-1.1 1.4-2.2'/%3E%3C/svg%3E") !important;
}
.epx-cat-btn[data-cat="alat"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.6 4.6 16.8 7.4l1.8 1.8 2.8-2.8a5 5 0 0 1-6.6 6.6l-7.2 7.2a1.8 1.8 0 0 1-2.6-2.6l7.2-7.2a5 5 0 0 1 6.6-6.6z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.6 4.6 16.8 7.4l1.8 1.8 2.8-2.8a5 5 0 0 1-6.6 6.6l-7.2 7.2a1.8 1.8 0 0 1-2.6-2.6l7.2-7.2a5 5 0 0 1 6.6-6.6z'/%3E%3C/svg%3E") !important;
}
.epx-cat-btn[data-cat="fitnes-zdravje"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.4v3.2M6.2 7.8v8.4M17.8 7.8v8.4M21 10.4v3.2M6.2 12h11.6'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.4v3.2M6.2 7.8v8.4M17.8 7.8v8.4M21 10.4v3.2M6.2 12h11.6'/%3E%3C/svg%3E") !important;
}
.epx-cat-btn[data-cat="gradina-avto"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4.2c0 8.2-5.2 11.8-11 11.8a4.9 4.9 0 0 1 0-9.8c3.9 0 5.9-.9 7.9-2z'/%3E%3Cpath d='M4.4 19.8c2.4-3.4 5.3-5.4 9.2-6.9'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4.2c0 8.2-5.2 11.8-11 11.8a4.9 4.9 0 0 1 0-9.8c3.9 0 5.9-.9 7.9-2z'/%3E%3Cpath d='M4.4 19.8c2.4-3.4 5.3-5.4 9.2-6.9'/%3E%3C/svg%3E") !important;
}
.epx-cat-btn[data-cat="elektronika"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.2 2.8 5.6 13.6h5.6l-1.2 7.6 8-10.8h-5.6z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.2 2.8 5.6 13.6h5.6l-1.2 7.6 8-10.8h-5.6z'/%3E%3C/svg%3E") !important;
}
.epx-cat-btn[data-cat="ubavina"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.4 3.4 13 8.2l4.8 1.6-4.8 1.6-1.6 4.8-1.6-4.8L5 9.8l4.8-1.6z'/%3E%3Cpath d='M17.6 15.4l.8 2.2 2.2.8-2.2.8-.8 2.2-.8-2.2-2.2-.8 2.2-.8z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.4 3.4 13 8.2l4.8 1.6-4.8 1.6-1.6 4.8-1.6-4.8L5 9.8l4.8-1.6z'/%3E%3Cpath d='M17.6 15.4l.8 2.2 2.2.8-2.2.8-.8 2.2-.8-2.2-2.2-.8 2.2-.8z'/%3E%3C/svg%3E") !important;
}

/* ---------- Product grid --------------------------------------------------- */
.epx-products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}
.epx-products-grid .epx-prod { width: auto !important; min-width: 0 !important; }
.epx-no-results { grid-column: 1 / -1 !important; }

/* ---------- Cards (carousel + grid share one design) ---------------------- */
.epx-carousel-track .epx-card,
.epx-products-grid .epx-prod {
  background: #fff !important;
  border: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(20, 30, 60, .08) !important;
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
.epx-carousel-track .epx-card:hover,
.epx-products-grid .epx-prod:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 32px rgba(20, 30, 60, .15) !important;
}

.epx-carousel-track .epx-card-media,
.epx-products-grid .epx-prod-media {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: #f1f4f9 !important;
  aspect-ratio: 4 / 3 !important;
}
.epx-carousel-track .epx-card-media img,
.epx-products-grid .epx-prod-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .5s ease !important;
}
.epx-carousel-track .epx-card:hover .epx-card-media img,
.epx-products-grid .epx-prod:hover .epx-prod-media img {
  transform: scale(1.06) !important;
}

.epx-carousel-track .epx-card-body,
.epx-products-grid .epx-prod-body {
    padding: 7px 7px 7px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.epx-carousel-track .epx-card-body a:first-child,
.epx-products-grid .epx-title {
  color: #1e2a44 !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  letter-spacing: .4px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: block !important;
  width: 100% !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin: 0 !important;
  padding: 0 !important;
}
.epx-carousel-track .epx-card-body a:first-child:hover,
.epx-products-grid .epx-title:hover { color: #ff8100 !important; }

/* ---------- Rating row ----------------------------------------------------
   Grey stars with the real count. The orange layer is clipped to the average,
   so it fills in on its own once products have genuine reviews. */
.epx-rate {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 14px !important;
}
.epx-stars {
  position: relative !important;
  display: inline-block !important;
  font-size: 13px !important;
  line-height: 1 !important;
  letter-spacing: 1.5px !important;
  white-space: nowrap !important;
}
.epx-stars-bg { color: #d9dfe8 !important; }
.epx-stars-fg {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  overflow: hidden !important;
  color: #ffb020 !important;
  white-space: nowrap !important;
}
.epx-rc { font-size: 12px !important; font-weight: 600 !important; color: #8992a3 !important; }

/* ---------- Price row ----------------------------------------------------- */
.epx-carousel-track .epx-price-row,
.epx-products-grid .epx-price-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin: auto 0 0 !important;
  padding: 0 !important;
  position: static !important;
}
.epx-carousel-track .epx-price-row span:first-child,
.epx-products-grid .epx-old {
  text-decoration: line-through !important;
  color: #aab2c0 !important;
  font-size: 13px !important;
  margin-right: 7px !important;
  font-weight: 400 !important;
}
.epx-carousel-track .epx-price-row span:last-child,
.epx-products-grid .epx-new {
  color: #ff8100 !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  text-decoration: none !important;
}
.epx-products-grid .epx-new.epx-only { color: #1e2a44 !important; }

.epx-carousel-track .epx-hover-cart,
.epx-products-grid .epx-hover-cart {
  position: static !important;
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 9px !important;
  background: #ff8100 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: background .2s ease !important;
}
.epx-carousel-track .epx-hover-cart:hover,
.epx-products-grid .epx-hover-cart:hover {
  background: #e87400 !important;
  transform: none !important;
}
/* Flatsome has a blanket i[class*="icon-"] rule with !important on
   position/margin/padding that would otherwise leak into the cart button. */
.epx-carousel-track .epx-hover-cart i,
.epx-products-grid .epx-hover-cart i {
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  color: #fff !important;
  line-height: 1 !important;
}

/* ---------- Discount bubble + "ТОП ПОНУДА" ribbon ------------------------- */
.epx-badge {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  background: #1e2a44 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 6px 11px !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  display: block !important;
  z-index: 2 !important;
}
.epx-ribbon {
  position: absolute !important;
  top: 12px !important;
  left: 0 !important;
  right: auto !important;
  background: #ff8100 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .5px !important;
  padding: 6px 10px !important;
  border-radius: 0 6px 6px 0 !important;
  line-height: 1 !important;
  box-shadow: 0 3px 10px rgba(255, 129, 0, .35) !important;
  z-index: 2 !important;
}

/* ---------- Loading skeletons --------------------------------------------- */
.epx-skel {
  background: #fff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(20, 30, 60, .06) !important;
}
.epx-skel-img {
  aspect-ratio: 4 / 3 !important;
  background: linear-gradient(90deg, #eef1f6 25%, #f7f9fc 37%, #eef1f6 63%) !important;
  background-size: 400% 100% !important;
  animation: epxShimmer 1.3s ease infinite !important;
}
.epx-skel-body { padding: 14px !important; display: flex !important; flex-direction: column !important; gap: 10px !important; }
.epx-skel-body span {
  height: 11px !important;
  border-radius: 6px !important;
  background: linear-gradient(90deg, #eef1f6 25%, #f7f9fc 37%, #eef1f6 63%) !important;
  background-size: 400% 100% !important;
  animation: epxShimmer 1.3s ease infinite !important;
}
.epx-skel-body span:last-child { width: 55% !important; }
@keyframes epxShimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* ---------- "Вчитај повеќе" + status -------------------------------------- */
#epx-cat-loading,
.epx-no-results {
  text-align: center !important;
  color: #8992a3 !important;
  font-size: 14px !important;
}
.epx-more,
#epx-load-more {
  padding: 13px 40px !important;
  background: #fff !important;
  border: 2px solid #1e2a44 !important;
  color: #1e2a44 !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .4px !important;
  text-transform: none !important;
  font-family: inherit !important;
  min-height: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background .16s ease, color .16s ease !important;
}
.epx-more:hover,
#epx-load-more:hover { background: #1e2a44 !important; color: #fff !important; }

/* ---------- Responsive ----------------------------------------------------
   The carousel always shows the same number of cards across as the grid. */
@media (max-width: 900px) {
  .epx-heading { font-size: 26px !important; }
  .epx-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .epx-carousel-track .epx-card {
    flex-basis: calc((100% - 48px) / 3) !important;
    width: calc((100% - 48px) / 3) !important;
  }
}
@media (max-width: 640px) {
  div:has(+ div > .epx-carousel-wrap) { padding: 30px 16px 0 !important; }
  div:has(+ div > .epx-carousel-wrap) > div:last-child { padding-bottom: 20px !important; }
  div:has(> .epx-carousel-wrap) { padding: 0 16px 26px !important; }
  div:has(> .epx-cat-carousel) { padding: 30px 16px 34px !important; }

  .epx-heading { font-size: 22px !important; }
  .epx-heading::before { margin: 0 auto 12px !important; }
  .epx-sub { font-size: 12.5px !important; margin: 0 0 20px !important; }

  .epx-carousel-wrap .epx-carousel-arrow { display: none !important; }
  .epx-cat-carousel { gap: 6px !important; margin-bottom: 16px !important; }
  .epx-cat-carousel .epx-cat-arrow {
    flex-basis: 32px !important;
    width: 32px !important; height: 32px !important;
    min-width: 32px !important; min-height: 32px !important;
    max-width: 32px !important; max-height: 32px !important;
    font-size: 18px !important;
  }
  .epx-cat-btn { padding: 9px 14px !important; font-size: 12px !important; gap: 6px !important; }
  .epx-cat-btn::before { flex-basis: 14px !important; width: 14px !important; height: 14px !important; }

  .epx-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .epx-carousel-track { gap: 12px !important; padding: 6px 0 10px !important; }
  .epx-carousel-track .epx-card {
    flex-basis: calc((100% - 12px) / 2) !important;
    width: calc((100% - 12px) / 2) !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .epx-carousel-track .epx-card-body,
  .epx-products-grid .epx-prod-body { padding: 11px !important; gap: 7px !important; }
  .epx-carousel-track .epx-card-body a:first-child,
  .epx-products-grid .epx-title { font-size: 11.5px !important; }
  .epx-badge { font-size: 11px !important; padding: 5px 9px !important; top: 8px !important; right: 8px !important; }
  .epx-ribbon { font-size: 9px !important; padding: 5px 8px !important; top: 8px !important; }
  .epx-carousel-track .epx-hover-cart,
  .epx-products-grid .epx-hover-cart { flex-basis: 32px !important; width: 32px !important; height: 32px !important; }
  .epx-more, #epx-load-more { padding: 12px 30px !important; font-size: 13px !important; }
}

.wc-forward{
border-radius:5px!important;
    
}
.wc-forward{
border-radius:5px!important;
    
}

.nav-dropdown-default{
    border-radius:9px;
    box-shadow: 1px 2px 7px 4px rgb(55 56 55 / 44%) !important;
    border:none!important;
}


.nav-dark .nav>li.header-divider {
    border-color: hsl(0deg 100% 98.78% / 64%) !important;
    height: 16px !important;
}


/* ==========================================================
   Empire Store — Почетна, втора итерација

   Append to: wp-content/themes/flatsome-child/css/custom-navbar.css
   Then bump the version in functions.php (?ver=1.2.7 → 1.2.8), or the
   browser keeps serving the cached stylesheet and none of this appears.

   Covers three things:
     1. Section headers  — eyebrow + orange left bar + left-aligned title,
                           "Види ги сите →" on the right.
     2. Category buttons — circles with the label underneath.
     3. Carousel dots    — pagination under Најпопуларни производи.

   Everything keys off classes that custom-navbar.js adds, so no rule here
   can touch a page that does not have them.
   ========================================================== */

/* ---------- 1. Section headers -------------------------------------------- */

.epx-sec-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 24px !important;
  row-gap: 8px !important;
  text-align: left !important;
}

/* The old centred 44x3 rule above the title — replaced by the vertical bar. */
.epx-oldbar,
.epx-sec-head .epx-title::before {
  display: none !important;
}

.epx-sec-headmain {
  grid-column: 1 !important;
  grid-row: 1 !important;
  border-left: 4px solid #ff8100 !important;
  border-radius: 2px !important;
  padding-left: 14px !important;
}

.epx-sec-head .epx-eyebrow {
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 1.4px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  color: #ff8100 !important;
  margin: 0 0 7px !important;
}

.epx-sec-head .epx-title {
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: .2px !important;
  color: #1e2a44 !important;
  text-align: left !important;
  margin: 0 !important;
}

.epx-sec-head .epx-subtitle {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding-left: 18px !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #8992a3 !important;
    text-align: left !important;
    padding-bottom: 10px;
}

.epx-sec-head .epx-seeall {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  justify-self: end !important;
  align-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: #5c6880 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color .15s !important;
}

.epx-sec-head .epx-seeall::after {
  content: "" !important;
  width: 17px !important;
  height: 17px !important;
  flex: 0 0 17px !important;
  background-color: currentColor !important;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13.2 5.6 11.8 7l4 4H4v2h11.8l-4 4 1.4 1.4L19.6 12z'/></svg>") !important;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13.2 5.6 11.8 7l4 4H4v2h11.8l-4 4 1.4 1.4L19.6 12z'/></svg>") !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  transition: transform .15s !important;
}

.epx-sec-head .epx-seeall:hover {
  color: #ff8100 !important;
}

.epx-sec-head .epx-seeall:hover::after {
  transform: translateX(3px) !important;
}

/* ---------- 2. Category buttons as circles -------------------------------- */

.epx-cat-filter {
  gap: 16px !important;
  align-items: flex-start !important;
  padding-bottom: 4px !important;
}

/* The circle is the button's own background and the icon is its ::before, so
   both stay in normal flow. .epx-cat-filter scrolls horizontally with
   overflow:auto, which would clip an absolutely positioned label. */
.epx-cat-btn {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  width: 78px !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #1e2a44 !important;
  position: relative !important;
}

/* The white disc, drawn behind the icon. */
.epx-cat-btn::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  margin-left: -32px !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1px solid #eef1f6 !important;
  box-shadow: 0 4px 14px rgba(30, 42, 68, .07) !important;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease !important;
  z-index: 0 !important;
}

/* The icon keeps its existing per-category mask rules — only the box around
   it changes. The 19px margins centre it inside the 64px disc. */
.epx-cat-btn::before {
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 26px !important;
  margin: 19px 0 !important;
  opacity: .78 !important;
  position: relative !important;
  z-index: 1 !important;
}

.epx-cat-lb {
  position: relative !important;
  z-index: 1 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: #5c6880 !important;
  text-align: center !important;
  transition: color .16s ease !important;
}

.epx-cat-btn:hover {
  background: transparent !important;
  color: #1e2a44 !important;
}

.epx-cat-btn:hover::after {
  border-color: #c6d1e0 !important;
  box-shadow: 0 6px 18px rgba(30, 42, 68, .13) !important;
}

.epx-cat-btn:hover .epx-cat-lb {
  color: #1e2a44 !important;
}

.epx-cat-btn.epx-cat-active,
.epx-cat-btn.epx-cat-active:hover {
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
}

.epx-cat-btn.epx-cat-active::after,
.epx-cat-btn.epx-cat-active:hover::after {
  background: #ff8100 !important;
  border-color: #ff8100 !important;
  box-shadow: 0 6px 18px rgba(255, 129, 0, .32) !important;
}

.epx-cat-btn.epx-cat-active::before {
  opacity: 1 !important;
}

.epx-cat-btn.epx-cat-active .epx-cat-lb,
.epx-cat-btn.epx-cat-active:hover .epx-cat-lb {
  color: #ff8100 !important;
  font-weight: 700 !important;
}

/* ---------- 3. Carousel dots ---------------------------------------------- */

.epx-dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin: 18px 0 4px !important;
  padding: 0 !important;
}

.epx-dots.epx-dots-off {
  display: none !important;
}

.epx-dot {
  width: 9px !important;
  height: 9px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #d9dfe8 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  transition: width .2s ease, background-color .2s ease !important;
}

.epx-dot:hover {
  background: #aab2c0 !important;
}

.epx-dot.epx-dot-on,
.epx-dot.epx-dot-on:hover {
  width: 26px !important;
  background: #ff8100 !important;
}

/* ---------- Responsive ----------------------------------------------------- */

@media (max-width: 660px) {
  .epx-sec-head {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .epx-sec-head .epx-title {
    font-size: 24px !important;
  }

  .epx-sec-head .epx-seeall {
    grid-column: 1 !important;
    grid-row: 3 !important;
    justify-self: start !important;
    margin-top: 4px !important;
    padding-left: 18px !important;
  }

  .epx-cat-btn {
    width: 68px !important;
    gap: 8px !important;
  }

  .epx-cat-btn::after {
    width: 56px !important;
    height: 56px !important;
    margin-left: -28px !important;
  }

  .epx-cat-btn::before {
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    margin: 16px 0 !important;
  }

  .epx-cat-lb {
    font-size: 11px !important;
  }
}


.container, .container-width, .full-width .ubermenu-nav, .row {
    max-width: 1280px !important;
}

/* ============================================================
   EMPIRE STORE — Footer redesign
   Append this to custom-navbar.css (loaded on the server for the
   Flatsome child theme). Pairs with the HTML block pasted into
   WP Admin → Appearance → Customize → Footer → Bottom Footer →
   "Footer Text / Copyright" (see footer-html-snippet.html).
   ============================================================ */

.es-footer, .es-footer * { box-sizing: border-box; }
html, body { overflow-x: hidden; }

/* Hide the theme's default payment-icons row so it doesn't collide with the new bottom bar */
.absolute-footer .footer-secondary { display: none !important; }
.absolute-footer { padding: 0 !important; background: transparent !important; }
.absolute-footer .footer-primary { width: 100% !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.copyright-footer { margin: 0 !important; }

/* Full-bleed breakout so the footer ignores the theme's centered container */
.es-usp-bar, .es-footer-main {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
}

/* ---------- USP bar ---------- */
.es-usp-bar {
  background: #eef1f5;
  color: #1a1a1a;
}
.es-usp-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 25px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.es-usp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border-right: 1px solid #d7dbe1;
}
.es-usp-item:last-child { border-right: none; }
.es-usp-icon {
  flex: none;
  width: 52px;
  height: 52px;
  color: #ff8100;
}
.es-usp-icon svg { width: 100%; height: 100%; }
.es-usp-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.es-usp-text { display: flex; flex-direction: column; gap: 2px; }
.es-usp-text strong { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.es-usp-text em { font-style: normal; font-size: 13px; color: #6b7280; }

/* ---------- Main footer ---------- */
.es-footer-main {
  background: #1a1e29;
  color: #c9ccd3;
  font-family: inherit;
}
.es-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 25px 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr minmax(360px, 1.3fr);
  gap: 40px;
}
.es-footer-col h3 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  text-transform: uppercase;
}
.es-footer-col h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 3px;
  background: #ff8100;
  border-radius: 2px;
}

/* Brand column */
.es-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #fff;
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .01em;
}
.es-logo svg { width: 26px; height: 26px; color: #ff8100; }
.es-logo-img { display: block !important; width: 36px !important; height: 25px !important; object-fit: contain; }
.es-desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #9a9ea8;
}
.es-social { display: flex; gap: 10px; }
.es-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #262b38;
  color: #c9ccd3;
  transition: background .2s ease, color .2s ease;
}
.es-social a svg { width: 17px; height: 17px; }
.es-social a:hover { background: #ff8100; color: #fff; }

/* Links column */
.es-link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.es-link-list a {
  display: flex; align-items: center; gap: 8px;
  color: #c9ccd3; text-decoration: none; font-size: 14px;
  transition: color .2s ease;
}
.es-link-list a i { font-style: normal; color: #ff8100; }
.es-link-list a:hover { color: #fff; }

/* Contact column */
.es-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.es-contact-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.es-contact-list svg { flex: none; width: 17px; height: 17px; color: #ff8100; }
.es-contact-list a { color: #c9ccd3; text-decoration: none; }
.es-contact-list a:hover { color: #fff; }
.es-hours { display: flex; gap: 10px; font-size: 13px; line-height: 1.7; color: #c9ccd3; }
.es-hours svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: #ff8100; }

/* Newsletter column — input and button are each a trapezoid (one side straight,
   one side angled), with a visible gap between them — no seam, no overlap.
   Shape is cut with clip-path so the icon/text inside stay upright; no
   skew/counter-skew transforms needed anywhere. */
.es-newsletter {
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}
.es-footer .es-newsletter .es-nl-input {
     display: flex !important;
    align-items: center;
    background: #1f2633 !important;
    padding: 0 0px 0 9px !important;
    height: 46px;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    box-sizing: border-box;
    border-radius: 9px;
}
.es-newsletter .es-nl-input svg { flex: none; width: 18px; height: 18px; margin-right: 10px; color: #8a96a8 !important; background: transparent !important; }
.es-footer .es-newsletter .es-nl-input input,
.es-footer .es-newsletter .es-nl-input input[type="email"] {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: normal !important;
  padding: 0 !important;
  margin: 0 !important;
}
.es-footer .es-newsletter .es-nl-input input::placeholder { color: #707e94 !important; opacity: 1 !important; }

.es-footer .es-newsletter .es-nl-btn,
.es-footer .es-newsletter .es-nl-btn[type="submit"] {
    position: relative !important;
    flex: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    padding: 0 9px 0 9px !important;
    margin: 0 !important;
    background: #ff8100 !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color .2s ease;
    border-radius: 9px;
}
.es-footer .es-newsletter .es-nl-btn:hover { background: #e57400 !important; }
.es-newsletter .es-nl-btn-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.es-newsletter .es-nl-btn-inner svg { flex: none; width: 16px; height: 16px; color: #fff !important; background: transparent !important; }

@media (max-width: 640px) {
  .es-newsletter { flex-wrap: wrap; gap: 10px; }
  .es-footer .es-newsletter .es-nl-input { width: 100%; clip-path: none; border-radius: 6px; padding: 0 14px !important; }
  .es-footer .es-newsletter .es-nl-btn { width: 100% !important; clip-path: none; border-radius: 6px; padding: 0 22px !important; }
}
.es-cod {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  line-height: 1.6;
  color: #9a9ea8;
}
.es-cod svg,
.es-cod img { flex: none; width: 52px !important; height: 52px !important; object-fit: contain; color: #ff8100; }

/* Bottom bar */
.es-footer-bottom {
  border-top: 1px solid #262b38;
  background: #14171f;
}
.es-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #8b8f99;
}
.es-badges { display: flex; gap: 22px; flex-wrap: wrap; }
.es-badges span { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #8b8f99; }
.es-badges svg { width: 20px; height: 20px; color: #ff8100; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .es-usp-inner { grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .es-usp-item { border-right: none; padding: 0; }
  .es-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
}
@media (max-width: 640px) {
  .es-usp-inner { grid-template-columns: 1fr; }
  .es-footer-grid { grid-template-columns: 1fr; padding: 40px 20px 30px; text-align: center; }
  .es-footer-col h3::after { left: 50%; transform: translateX(-50%); }
  .es-logo, .es-social, .es-newsletter, .es-cod, .es-contact-list li, .es-hours { justify-content: center; }
  .es-contact-list li { text-align: left; }
  .es-footer-bottom-inner { flex-direction: column; text-align: center; }
  .es-badges { justify-content: center; }
}

/* ============================================================
   EMPIRE STORE — Empty cart page (empirestoremk.com/cart/)
   The empty-cart message is rendered by the WooCommerce Cart
   block, so it can't be edited as plain HTML — this reskins the
   existing markup with CSS, plus a couple of elements (the
   subtitle and the "continue shopping" button, which don't exist
   in the default markup) that get inserted by cart-empty.js.
   Pair this CSS with cart-empty.js — add both, one won't do
   anything useful without the other.
   ============================================================ */

/* Icon + heading. WooCommerce's own icon uses a CSS mask (not a
   background-image) to tint its built-in SVG, so the mask has to be
   switched off or it clips our replacement image down to nothing. */
.wc-block-cart__empty-cart__title.with-empty-cart-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0; /* collapses WooCommerce's own text so only our ::after shows */
  margin: 30px 0 0;
}
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
  content: "" !important;
  display: block !important;
  width: 180px !important;
  height: 180px !important;
  margin: 0 auto 8px !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background: transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxODAiIGhlaWdodD0iMTgwIiB2aWV3Qm94PSIwIDAgMTgwIDE4MCI+CiAgPGNpcmNsZSBjeD0iOTAiIGN5PSI5NCIgcj0iNjIiIGZpbGw9IiNlZWYxZjUiLz4KICA8Y2lyY2xlIGN4PSIyNiIgY3k9IjM0IiByPSI0IiBmaWxsPSIjZmY4MTAwIiBvcGFjaXR5PSIwLjU1Ii8+CiAgPGNpcmNsZSBjeD0iMTUwIiBjeT0iMTI4IiByPSIzLjUiIGZpbGw9IiNmZjgxMDAiIG9wYWNpdHk9IjAuNSIvPgogIDxjaXJjbGUgY3g9IjM0IiBjeT0iMTQwIiByPSIzIiBmaWxsPSIjZmY4MTAwIiBvcGFjaXR5PSIwLjQiLz4KICA8Y2lyY2xlIGN4PSIxNTIiIGN5PSI1MiIgcj0iMi41IiBmaWxsPSIjZmY4MTAwIiBvcGFjaXR5PSIwLjQ1Ii8+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTYsNjQpIiBmaWxsPSJub25lIiBzdHJva2U9IiMxYTFlMjkiIHN0cm9rZS13aWR0aD0iNS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogICAgPHBhdGggZD0iTTAgNGgxMWw0IDQwYTYgNiAwIDAgMCA2IDVoMzlhNiA2IDAgMCAwIDYtNWw2LTI4SDE0Ii8+CiAgICA8Y2lyY2xlIGN4PSIyNCIgY3k9IjY0IiByPSI1LjUiIGZpbGw9IiMxYTFlMjkiIHN0cm9rZT0ibm9uZSIvPgogICAgPGNpcmNsZSBjeD0iNTYiIGN5PSI2NCIgcj0iNS41IiBmaWxsPSIjMWExZTI5IiBzdHJva2U9Im5vbmUiLz4KICA8L2c+CiAgPGNpcmNsZSBjeD0iMTQwIiBjeT0iNDQiIHI9IjIwIiBmaWxsPSIjZmY4MTAwIi8+CiAgPHBhdGggZD0iTTEzMiAzNmwxNiAxNk0xNDggMzZsLTE2IDE2IiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iNC4yIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPC9zdmc+Cg==") no-repeat center / contain !important;
  background-color: transparent !important;
}
.wc-block-cart__empty-cart__title.with-empty-cart-icon::after {
  content: "Вашата кошничка е празна!";
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #1a1e29;
  text-align: center;
}

/* Subtitle + "continue shopping" button — inserted by cart-empty.js
   right after the heading above */
.es-cart-empty-sub {
  display: block;
  max-width: 480px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: #6b7280;
}
.es-cart-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px auto 0;
  padding: 14px 30px;
  background: #ff8100;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 999px;
  transition: background-color .2s ease;
}
.es-cart-empty-btn:hover { background: #e57400; }
.es-cart-empty-btn svg { width: 17px; height: 17px; flex: none; }

.wp-block-woocommerce-empty-cart-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 10px;
}

/* Divider + "Нови производи" heading */
.wp-block-woocommerce-empty-cart-block hr.wp-block-separator {
  border: none;
  border-top: 1px solid #e5e7eb;
  height: 0;
  width: 100%;
  max-width: 1160px;
  margin: 44px auto 30px;
  background: none;
}
.wp-block-woocommerce-empty-cart-block hr.wp-block-separator::before,
.wp-block-woocommerce-empty-cart-block hr.wp-block-separator::after { display: none; content: none; }
.wp-block-woocommerce-empty-cart-block hr.wp-block-separator + h2.wp-block-heading {
  text-align: left;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto 22px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1e29;
}
.wp-block-woocommerce-empty-cart-block .wc-block-grid {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

/* On-sale badge on this "Нови производи" grid — the WooCommerce-Blocks
   product grid ships unstyled (white/grey), unlike the orange ribbon
   Flatsome already shows on product and shop pages. This just brings
   this one grid in line with that — it does not touch the ribbon
   badge used elsewhere, which is already the right orange. */
.wc-block-grid__product-onsale {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  left: auto !important;
  background: #ff8100 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 5px 11px !important;
  border-radius: 999px !important;
  line-height: 1.2;
  box-shadow: none !important;
}

@media (max-width: 640px) {
  .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { width: 140px !important; height: 140px !important; }
  .wc-block-cart__empty-cart__title.with-empty-cart-icon::after { font-size: 22px; }
}

.absolute-footer ul {
    border:none !important;
    opacity: 1 !important;
    padding-bottom: 5px;
}