/* ==========================================================================
   Zoocenter Primorski — CUSTOM CSS (FULL)
   - Includes category hero/sections + products archive UI (toolbar/grid/sidebar/cards/pagination)
   - NO CSS variables
   ========================================================================== */


/* ==========================================================================
   HERO SECTION
   ========================================================================== */

div#category-hero-section {
  padding-top: 180px !important;
  background: #219ebc !important;
}

.category-page-hero-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cat-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  width: 100%;
  max-width: 600px;
}

.cat-hero-links {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 10px;
  width: 100%;
}

a.cat-hero-products-link,
a.cat-hero-contacts-link {
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
}

a.cat-hero-products-link:hover,
a.cat-hero-contacts-link:hover {
  font-weight: 700;
}

h1.cat-hero-title {
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
  margin-top: 10px;
}

.cat-hero-title span {
  color: #fb8500;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  display: inline-block;
}

.cat-hero-button {
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #fb8500 0%, #f44603 100%);
  border-radius: 40px;
  box-shadow: 0 16px 44px rgba(244, 70, 3, 0.18);
  position: relative;
  transition: all 0.3s ease;
}

.cat-hero-button:hover {
  background: linear-gradient(180deg, #f44603 0%, #fb8500 100%);
}

.cat-hero-image-container {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.cat-hero-image-container img {
  border-radius: 30px;
}

.cat-hero-image-container:before {
  content: '';
  width: 100px;
  height: 95px;
  background-image: url('/wp-content/uploads/2025/08/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: -25px;
  top: -36px;
  filter: invert(1) drop-shadow(2px 4px 6px #848484);
}


/* ==========================================================================
   SECOND SECTION - INFO
   ========================================================================== */

.category-more-info-container1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cat-text-container1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 30px;
}

.cat-text-container1 h2 {
  color: #219ebc;
  text-align: center;
}

.cat-text-container1 p {
  font-size: 14px;
  text-align: center;
}

.cat-image-container1 {
  display: flex;
  margin: 0 auto;
  max-width: 600px;
}

.cat-image-container1 img {
  border-radius: 30px;
  object-fit: cover;
}

.category-more-info-container2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cat-text-container2 h2 {
  color: #219ebc;
  margin-bottom: 20px;
  text-align: center;
}

.cat-info-container2 {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.cat-info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(50% - 10px);
  max-width: 370px;
  margin-bottom: 30px;
}

.cat-info-card p {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}
/* ==========================================================================
   MOST POPULAR PRODUCTS SLIDER
   ========================================================================== */

div#most-popular-products-slider-section {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}
/* ==========================================================================
   PROMO BANNER
   ========================================================================== */

#second-section-row {
  background: #219ebc;
  border-radius: 30px;
  overflow: hidden;
  max-width: 350px !important;
}

.second-section-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  width: 100%;
}

.second-section-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  position: relative;
}

.second-section-new {
  background: #fb8500;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 7px 15px 7px 20px;
}

.second-section-new span {
  font-weight: 600;
  color: #fff;
}

.second-section-text {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 20px;
  flex-direction: column;
}

h2.promo-banner-title {
  color: #fff;
}

.second-section-text p {
  color: #fff;
  text-align: left;
  font-size: 24px;
}

a.promo-banner-link {
  width: 290px;
  display: flex;
  align-items: center;
  padding: 10px 0;
  color: #ffffff;
  position: relative;
  transition: 0.5s;
  background: linear-gradient(180deg, #fb8500 0%, #f44603 100%);
  box-shadow: 0 16px 44px rgba(244, 70, 3, 0.18);
  border-color: rgba(255, 255, 255, 0.10);
  justify-content: space-evenly;
  border-radius: 40px;
  margin-top: 20px;
  font-size: 14px;
}

.second-section-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: -29px;
}

.second-section-image-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  padding: 30px;
}

.second-section-image-1 img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

.second-section-imae-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.second-section-imae-2 img {
  object-fit: cover;
  object-position: 83% center;
  width: 100%;
  height: 100%;
  aspect-ratio: 5/6;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
}

.second-section-imae-2.delivery-image-2 img {
  object-position: 20% center;
}


/* ==========================================================================
   SECTION SPACING / BACKGROUNDS
   ========================================================================== */

div#category-contact-section { padding-top: 0 !important; }

div#other-categories-section {
  /* padding-bottom: 0 !important; */
  padding-top: 0 !important;
}

div#products-section {
  background: #219ebc !important;
  min-height: 300px;
}

div#fullwidth-category-slider { padding-bottom: 0 !important; }


/* ==========================================================================
   IMAGE DIVIDER
   ========================================================================== */

.category-divider-image {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.category-divider-image img {
  object-fit: cover;
  border-radius: 30px;
  min-height: 375px;
  max-height: 450px;
  width: 100%;
  object-position: 61% 30%;
}


/* ==========================================================================
   DESKTOP (>=981px)
   ========================================================================== */

@media (min-width: 981px) {

  .category-page-hero-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
  }

  /* IMPORTANT: base has !important so desktop must too */
  div#category-hero-section {
    padding-top: 235px !important;
  }

  .cat-hero-text {
    max-width: unset;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 45%;
  }

  .cat-hero-image-container {
    max-width: unset;
    width: 50%;
    min-height: 500px;
  }

  .cat-hero-image-container img {
    object-fit: cover;
  }
  #products-section-products-column .zc-filters-toggle{
    display: none;
  }

  h1.cat-hero-title {
    text-align: left;
  }

  .cat-hero-image-container:before {
    width: 125px;
    height: 120px;
    left: -50px;
  }

  /* SECOND SECTION - INFO */
  .category-more-info-container1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cat-text-container1 {
    margin-bottom: 0;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .cat-image-container1 { width: 57%; }

  .cat-text-container1 h2 { text-align: left; }

  .cat-image-container1 img { min-height: 450px; }

  .category-more-info-container2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cat-text-container2 { width: 30%; }

  .cat-text-container2 h2 { text-align: left; }

  .cat-info-container2 {
    width: 65%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .cat-info-card {
    margin: 0;
    width: calc((100% / 3) - 10px);
  }

  /* PROMO BANNER */
  #second-section-row { max-width: 1440px; }

  .second-section-container {
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .second-section-content {
    width: 36%;
    max-width: 430px;
  }

  .second-section-text {
    margin-right: 0;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
  }

  .second-section-images {
    flex-direction: row;
    margin-top: -29px;
    align-items: stretch;
    width: 75%;
    justify-content: flex-end;
  }

  .second-section-image-1 {
    width: 43%;
    margin-right: 10px;
  }

  .second-section-imae-2 { width: 50%; }

  .second-section-imae-2 img {
    border-radius: 45% 0 0 45%;
    aspect-ratio: auto;
  }

}


/* ==========================================================================
   ZC PRODUCTS ARCHIVE UI (Toolbar + Grid + Sidebar + Cards + Pagination)
   - NO CSS VARIABLES
   - Grid controlled by data-zc-cols="2|3|4" on: ul.products.loop-grid
   ========================================================================== */

/* ---------- Toolbar container ---------- */
#products-section-products-column .zc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin: 0 0 22px 0;
  position: relative;
  z-index: 3;
}

#products-section-products-column .zc-toolbar * { box-sizing: border-box; }

/* Left side */
#products-section-products-column .zc-toolbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}

/* Result count */
#products-section-products-column .zc-toolbar .woocommerce-result-count {
  margin: 0 !important;
  font-size: 13px;
  line-height: 1.2;
  opacity: 0.65;
  white-space: nowrap;
}

/* Sorting select */
#products-section-products-column .zc-toolbar form.woocommerce-ordering {
  margin: 0 !important;
  display: flex;
  align-items: center;
  width: auto;
}

#products-section-products-column .zc-toolbar form.woocommerce-ordering select.orderby {
  height: 40px;
  padding: 0 44px 0 14px;
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  font-size: 14px;
  outline: none;
  cursor: pointer;
}

/* Right side (filters + grid buttons) */
#products-section-products-column .zc-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  pointer-events: auto;
}

/* Filters toggle button */
#products-section-products-column .zc-filters-toggle {
  height: 40px;
  padding: 0 16px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  cursor: pointer;
  user-select: none;
  background: linear-gradient(180deg, #fb8500 0%, #f44603 100%);
  box-shadow: 0 16px 44px rgba(244, 70, 3, 0.18);
  color: #fff;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  width: 84px;
}

#products-section-products-column .zc-filters-toggle:active { transform: translateY(1px); }

#products-section-products-column .zc-filter-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}

/* Grid buttons style */
#products-section-products-column .zc-grid-btn {
  width: 40px;
  height: 40px;
  border-radius: 40px;
  cursor: pointer;
  user-select: none;

  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, #fb8500 0%, #f44603 100%);
  box-shadow: 0 16px 44px rgba(244, 70, 3, 0.18);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 !important;
  line-height: 0;
  font-size: 0; /* hide stray text */
}

#products-section-products-column .zc-grid-btn.is-active {
  box-shadow: 0 18px 50px rgba(244, 70, 3, 0.28);
  filter: saturate(1.05);
  outline: 2px solid rgba(244, 70, 3, 0.20);
  outline-offset: 2px;
}

#products-section-products-column .zc-grid-btn:active { transform: translateY(1px); }

/* Grid icons (SVG) */
#products-section-products-column .zc-grid-btn svg { width: 20px; height: 20px; display: block; }
#products-section-products-column .zc-grid-btn svg rect { fill: rgba(255,255,255,0.95); }

/* Mobile toolbar stacking */
@media (max-width: 980px) {
  #products-section-products-column .zc-toolbar {flex-wrap: wrap;gap: 10px;display: flex;justify-content: space-between;align-items: flex-end;}
  #products-section-products-column .zc-toolbar-left {width: calc(100% - 94px) !important;flex-wrap: wrap;gap: 10px;}
  #products-section-products-column .zc-toolbar-right {margin-left: auto;display: none;}
  #products-section-products-column .zc-toolbar .woocommerce-result-count { order: 1; }
  #products-section-products-column .zc-toolbar form.woocommerce-ordering { order: 2; width: 100%; }
  #products-section-products-column .zc-toolbar form.woocommerce-ordering select.orderby { width: 100%; }
  div#second-text-section {
    padding-bottom: 0 !important;
}
}
#products-section-products-column div#category-more-text-section {
    padding-bottom: 0 !important;
}
div#category-more-text-section {
    /* padding-bottom: 0 !important; */
}
 .homepage-categories-slider-custom .categories-wrapper {height: 100%;min-height: 275px;}
div#other-categories-row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

div#category-product-custom-card {
    padding: 0 !important;
    max-height: 390px;
    height: 100%;
    width: 100%;
}



div#category-product-custom-card .et_pb_module {
    margin-bottom: 12px !important;
    width: 100% !important;
}


div#category-product-custom-card .et_pb_row {
    padding: 0 !important;
    height: 100%;
}


div#category-product-custom-card .et_pb_column {
    /* height: 100%; */
}

div#category-more-text-section .et_pb_row {
    padding-bottom: 0 !important;
}

.homepage-categories-slider-custom .swiper-slide.category-card {
    min-height: 275px;
}

#products-section-products-column div#other-categories-row {
    padding-bottom: 0 !important;
}

 

/* ---------- Sidebar (Filters) ---------- */
#products-section-filter-column .et_pb_de_mach_filter_posts {
  background: #ffffff;
  border-radius: 22px;
  padding: 14px 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Group title */
#products-section-filter-column .et_pb_contact_field_options_title {
  display: block;
  font-weight: 900;
  font-size: 18px;
  margin: 12px 0 10px;
  color: rgba(0,0,0,0.78);
}

/* Container for options */
#products-section-filter-column .et_pb_contact_field_options_list {
  border-radius: 16px;
  padding: 10px 5px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  max-height: 520px;
  overflow: auto;
}

/* Each option row */
#products-section-filter-column .et_pb_contact_field_radio {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 14px;
  position: relative;
  justify-content: center;
  flex-direction: row;
}

#products-section-filter-column .et_pb_contact_field_radio:hover {
  background: rgba(0,0,0,0.04);
}

/* Hide native checkbox (keep accessible click via label) */
#products-section-filter-column .et_pb_contact_field_radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Custom checkbox */
#products-section-filter-column .et_pb_contact_field_radio .checkmark {
  width: 18px !important;
  height: 18px !important;
  border-radius: 7px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  position: relative !important;
  flex: 0 0 auto !important;
  display: flex !important;
}

/* Checked state */
#products-section-filter-column .et_pb_contact_field_radio input:checked + .checkmark {
  background: linear-gradient(180deg, #fb8500 0%, #f44603 100%);
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 16px 34px rgba(244, 70, 3, 0.18);
}

#products-section-filter-column .et_pb_contact_field_radio input:checked + .checkmark:after {
  content: '';
  position: absolute;
  left: 6px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

/* Label */
#products-section-filter-column .et_pb_contact_field_radio label.radio-label {
  cursor: pointer;
  font-weight: 700;
  color: rgba(0,0,0,0.78);
  flex: 1 1 auto;
  margin: 0 !important;
  font-size: 14px !important;
}

/* Parent categories (has-child) slightly stronger */
#products-section-filter-column .et_pb_contact_field_radio input[data-type="has-child"] + .checkmark + label.radio-label {
  font-weight: 900;
}

/* Child categories slight indent */
#products-section-filter-column .et_pb_contact_field_radio input:not([data-type="has-child"]) + .checkmark + label.radio-label {
  padding-left: 5px;
  opacity: 0.92;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Count pill */
#products-section-filter-column .et_pb_contact_field_radio .radio-count {
  flex: 0 0 auto;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: rgba(0,0,0,0.68);
  position: relative !important;
}


/* ---------- Products grid (controlled by data-zc-cols) ---------- */
#products-section-products-column .divi-filter-loop-container ul.products.loop-grid {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* default = 3 */
  gap: 15px !important;
}

#products-section-products-column .divi-filter-loop-container ul.products.loop-grid[data-zc-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#products-section-products-column .divi-filter-loop-container ul.products.loop-grid[data-zc-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (min-width: 600px) {
   .second-section-images {
    flex-direction: row;
    margin-top: 10px;
    align-items: stretch;
    width: 100%;
    justify-content: space-between;
  }

  .second-section-image-1 {
    width: 43%;
    margin-right: 10px;
  }

  .second-section-imae-2 {width: 55%;}

  .second-section-imae-2 img {
    border-radius: 45% 0 0 45%;
    aspect-ratio: auto;
  }
  div#second-section-row {max-width: 1440px!important;}
}
@media (min-width: 800px) {
   .second-section-container {
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .second-section-content {
    width: 36%;
    max-width: 430px;
  }

  .second-section-text {
    margin-right: 0;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
  }

  .second-section-images {
    flex-direction: row;
    margin-top: -29px;
    align-items: stretch;
    width: 75%;
    justify-content: flex-end;
  }

  .second-section-image-1 {
    width: 43%;
    margin-right: 10px;
  }

  .second-section-imae-2 {width: 48%;}

  .second-section-imae-2 img {
    border-radius: 45% 0 0 45%;
    aspect-ratio: auto;
  }
}

/* Responsive override */
@media (max-width: 980px) {
  #products-section-products-column .divi-filter-loop-container ul.products.loop-grid,
  #products-section-products-column .divi-filter-loop-container ul.products.loop-grid[data-zc-cols="2"],
  #products-section-products-column .divi-filter-loop-container ul.products.loop-grid[data-zc-cols="3"],
  #products-section-products-column .divi-filter-loop-container ul.products.loop-grid[data-zc-cols="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  #products-section-products-column .divi-filter-loop-container ul.products.loop-grid,
  #products-section-products-column .divi-filter-loop-container ul.products.loop-grid[data-zc-cols="2"],
  #products-section-products-column .divi-filter-loop-container ul.products.loop-grid[data-zc-cols="3"],
  #products-section-products-column .divi-filter-loop-container ul.products.loop-grid[data-zc-cols="4"] {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

#products-section-products-column .divi-filter-loop-container ul.products.loop-grid > li.product {
  width: auto !important;
  margin: 0 !important;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#products-section-products-column .divi-filter-loop-container ul.products.loop-grid > li.product .grid-item-cont {
  height: 385px;
  display: flex;
  flex-direction: column;
  /* padding: 14px 10px 16px; */
  padding: 10px;
  max-height: 410px;
  justify-content: flex-end;
  align-items: center;
}


/* ---------- Product images: same height, centered ---------- */
#products-section-products-column div[id="category-product-custom-card"] .et_pb_db_image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#products-section-products-column div[id="category-product-custom-card"] .et_pb_db_image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  display: block;
  max-height: 180px;
}


@media (max-width: 767px) {
  #products-section-products-column div[id="category-product-custom-card"] .et_pb_db_image {height: 200px;}
}


/* ---------- Price: "Цена 29,00 лв." on ONE ROW ---------- */
#products-section-products-column .et_pb_db_price .et_pb_module_inner,
#products-section-products-column .et_pb_df_ajax_filter_db_price_3 .et_pb_module_inner {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}

#products-section-products-column .et_pb_db_price .price_title,
#products-section-products-column .et_pb_db_price .price,
#products-section-products-column .et_pb_df_ajax_filter_db_price_3 .price_title,
#products-section-products-column .et_pb_df_ajax_filter_db_price_3 .price {
  margin: 0 !important;
  padding: 0 !important;
}

#products-section-products-column .et_pb_db_price .price,
#products-section-products-column .et_pb_df_ajax_filter_db_price_3 .price {
  white-space: nowrap;
}

#products-section-products-column .et_pb_db_price .price_title,
#products-section-products-column .et_pb_df_ajax_filter_db_price_3 .price_title {
  opacity: 0.75;
  font-size: 13px;
  font-weight: 900;
}


/* ---------- Qty + Buy button on ONE ROW ---------- */
#products-section-products-column .et_pb_db_atc .et_pb_module_inner {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  flex-direction: row !important;
  width: 100%;
}

/* Qty control */
#products-section-products-column .et_pb_db_atc .zc-qty {
  display: inline-flex !important;
  align-items: center;
  gap: 0px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 40px;
  padding: 6px 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  visibility: visible !important;
  opacity: 1 !important;
}
#products-section-products-column h3.entry-title.de_title_module.product_title {
    font-size: 16px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
    overflow: hidden;
    height: 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}
#products-section-products-column 
.et_pb_db_atc a.add_to_cart_button::after,
#products-section-products-column 
.et_pb_db_atc a.ajax_add_to_cart::after {
    right: 0;
    position: relative;
    width: 20px;
}
#products-section-products-column .et_pb_db_atc .zc-qty button {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
}

#products-section-products-column .et_pb_db_atc .zc-qty input.zc-qty-input {
  width: 25px;
  height: 28px;
  border: 0;
  outline: none;
  text-align: center;
  font-weight: 900;
  background: transparent;
  -moz-appearance: textfield;
}

#products-section-products-column .et_pb_db_atc .zc-qty input.zc-qty-input::-webkit-outer-spin-button,
#products-section-products-column .et_pb_db_atc .zc-qty input.zc-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Buy button */
#products-section-products-column .et_pb_db_atc a.add_to_cart_button,
#products-section-products-column .et_pb_db_atc a.ajax_add_to_cart {
  height: 40px;
  line-height: 40px;
  padding: 0 18px !important;
  border-radius: 40px !important;
  background: linear-gradient(180deg, #fb8500 0%, #f44603 100%) !important;
  box-shadow: 0 16px 44px rgba(244, 70, 3, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  display: flex!important;
  align-items: center;
  justify-content: space-evenly;
  white-space: nowrap;
  width: 102px !important;
  font-size: 16px !important;
  flex-direction: row;
}

@media (max-width: 420px) {
  #products-section-products-column .et_pb_db_atc .et_pb_module_inner {/* flex-wrap: wrap; */}
  #products-section-products-column .et_pb_db_atc a.add_to_cart_button,
  #products-section-products-column .et_pb_db_atc a.ajax_add_to_cart { width: 100%; }
}


/* ---------- Pagination ---------- */
#products-section-products-column nav.woocommerce-pagination { margin-top: 26px; }

#products-section-products-column nav.woocommerce-pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  border: none !important;
}

#products-section-products-column nav.woocommerce-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
  border: none !important;
}

#products-section-products-column nav.woocommerce-pagination a.page-numbers,
#products-section-products-column nav.woocommerce-pagination span.page-numbers {
  min-width: 40px;
  height: 40px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, #fb8500 0%, #f44603 100%);
  box-shadow: 0 16px 44px rgba(244, 70, 3, 0.18);
  color: #fff;
  padding: 0 12px;
}

#products-section-products-column nav.woocommerce-pagination span.page-numbers.current {
  position: relative;
  min-width: 46px;
  height: 46px;
  border: 2px solid #fb8500 !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #087f94 !important;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.42),
    0 16px 38px rgba(18, 54, 66, 0.24),
    0 10px 28px rgba(244, 70, 3, 0.22) !important;
  transform: translateY(-3px);
}

#products-section-products-column nav.woocommerce-pagination span.page-numbers.current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fb8500;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.42);
  transform: translateX(-50%);
}

#products-section-products-column nav.woocommerce-pagination a.page-numbers:hover,
#products-section-products-column nav.woocommerce-pagination a.page-numbers:focus-visible {
  background: #ffffff !important;
  background-image: none !important;
  color: #087f94 !important;
  border-color: #fb8500 !important;
  box-shadow: 0 12px 34px rgba(18, 54, 66, 0.2) !important;
  transform: translateY(-2px);
}

#products-section-products-column nav.woocommerce-pagination span.page-numbers.dots {
  background: transparent;
  box-shadow: none;
  border: 0;
  color: rgba(0,0,0,0.45);
}

body.post-type-archive-product.et-db #et-boc .et-l .et_pb_db_shop_loop_0_tb_body nav.woocommerce-pagination ul li span.page-numbers.current,
body.tax-product_cat.et-db #et-boc .et-l .et_pb_db_shop_loop_0_tb_body nav.woocommerce-pagination ul li span.page-numbers.current {
  border: 2px solid #fb8500 !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #087f94 !important;
}


@media (min-width: 1800px) {
  
div#category-product-custom-card {
    padding: 5px !important;
    height: 395px !important;
}
}

a.reset-filters.et_pb_button {
    height: 50px;
    padding: 0 18px !important;
    border-radius: 40px !important;
    background: linear-gradient(180deg, #fb8500 0%, #f44603 100%) !important;
    box-shadow: 0 16px 44px rgba(244, 70, 3, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: #fff !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    display: flex!important;
    align-items: center;
    justify-content: space-evenly;
    white-space: nowrap;
    font-size: 16px !important;
    flex-direction: row;
    margin-top: 10px;
   transition: background 0.6s ease, box-shadow 0.6s ease, transform 0.5s ease;
}

a.reset-filters.et_pb_button:hover{
   background: linear-gradient(180deg, #f44603 0%, #f44603 100%) !important;
}


/* =========================================================
   PRICE RANGE SLIDER ONLY (product_price)
   Scope: #products-section-filter-column
   Target: .divi-filter-item[data-filter-option="product_price"]
   Colors: gradient #fb8500 -> #f44603 + accent #219ebc
   ========================================================= */

/* Title (only inside the price filter block) */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"]
~ * .et_pb_contact_field_options_title{
  /* fallback if title isn't inside the same wrapper in some builds */
}

#products-section-filter-column .search_filter_cont .et_pb_contact_field_options_title{
  /* keep this minimal; module title is shared, but that's OK.
     If you want it ONLY for product_price, tell me where the title sits in your DOM. */
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  letter-spacing: .2px;
  color: #0b1f25;
  margin-bottom: 10px;
}

/* Card wrapper – ONLY price filter */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"]{
  background: #ffffff;
  border: 1px solid rgba(11,31,37,.10);
  border-radius: 22px;
  padding: 30px 14px 16px;
  box-shadow: 0 10px 30px rgba(11,31,37,.10);
}

/* Track line */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-line{
  height: 10px !important;
  border-radius: 999px !important;
  background: rgba(11,31,37,.08) !important;
}

/* Selected range (bar) – your gradient */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-bar{
  height: 10px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #fb8500 0%, #f44603 100%) !important;
  box-shadow: 0 10px 28px rgba(244, 70, 3, 0.18) !important;
}

/* Handles – luxury pill + gradient */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-handle{
  top: 18px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  background: linear-gradient(180deg, #fb8500 0%, #f44603 100%) !important;
  box-shadow: 0 16px 44px rgba(244, 70, 3, 0.18) !important;
  cursor: pointer;
}

/* Remove default handle stripes */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-handle i{
  display: none !important;
}

/* Hover/active feel */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-handle:hover{
  filter: saturate(1.05);
  transform: translateY(-1px);
}
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-handle.state_hover,
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-handle:active{
  filter: saturate(1.1);
}

/* Value bubbles (from/to) */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-from,
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-to{
  top: -24px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  letter-spacing: .2px;
  color: #0b1f25 !important;
  background: #ffffff !important;
  border: 1px solid rgba(33,158,188,.35) !important;
  box-shadow: 0 10px 26px rgba(33,158,188,.10);
}

/* Bubble arrows */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-from:before,
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-to:before{
  border-top-color: rgba(33,158,188,.35) !important;
}

/* If single label ever shows */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-single{
  top: -4px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  color: #0b1f25 !important;
  background: #ffffff !important;
  border: 1px solid rgba(33,158,188,.35) !important;
  box-shadow: 0 10px 26px rgba(33,158,188,.10);
}
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-single:before{
  border-top-color: rgba(33,158,188,.35) !important;
}

/* Min/Max (if enabled) */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-min,
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-max{
  font-weight: 800 !important;
  font-size: 12px !important;
  color: rgba(11,31,37,.55) !important;
  background: transparent !important;
}

/* Grid off */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"] .irs-grid{
  opacity: 0 !important;
  height: 0 !important;
}

/* Remove extra field spacing in this block */
#products-section-filter-column .search_filter_cont
.divi-filter-item[data-filter-option="product_price"]
.irs{
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 560px){
  #products-section-filter-column .search_filter_cont
  .divi-filter-item[data-filter-option="product_price"]{
    border-radius: 18px;
    padding: 12px 12px 14px;
  }
  #products-section-filter-column .search_filter_cont
  .divi-filter-item[data-filter-option="product_price"] .irs--flat .irs-handle{
    width: 22px !important;
    height: 22px !important;
  }
}


@media (min-width: 981px) {
    #products-section-products-column .divi-filter-loop-container ul.products.loop-grid > li.product {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 430px;
}

#products-section-products-column .divi-filter-loop-container ul.products.loop-grid > li.product .grid-item-cont {
    height: 420px !important;
    max-height: 420px !important;
}

div#category-product-custom-card {
    max-height: 410px;
}


div#category-product-custom-card .et_pb_row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
  #products-section-products-column .zc-toolbar-left {
    display: flex;
    justify-content: flex-start;
}
}
