.fs-14 {
  font-size: 14px !important;
}

/*Homepage*/
.pisarna-prihodnosti {
  font-size: 24px !important;
  color: #222 !important;
  font-weight: 600 !important;
}

.prihodnost-wrapper {
  padding: 32px 16px;
}

@media only screen and (max-width: 700px) {
  .prihodnost-wrapper {
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 12px;
    padding-right: 12px;

    gap: 0 !important;
  }
  .prihodnost-wrapper .col-left {
    padding: 24px !important;
    max-width: 100% !important;

    border-bottom: none !important;

    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }
  .prihodnost-wrapper .col-left p {
    font-size: 14px;
  }
  .prihodnost-wrapper .col-left a {
    padding: 8px 24px !important;
    font-size: 14px !important;
  }
  .video-container iframe,
  .video-container {
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
  }
}

.z-vami-txt {
  font-size: 16px !important;
  line-height: 28px !important;
}
@media only screen and (max-width: 1024px) {
  .z-vami-txt {
    font-size: 14px !important;
  }
}

.ergo-txt-custom {
  font-size: 16px;
}
@media only screen and (max-width: 700px) {
  .ergo-txt-custom {
    font-size: 14px;
  }
}

.ergo-custom-h2 h2,
.ergo-custom-h2 {
  line-height: 36px !important;
  font-weight: 600 !important;
}

@media only screen and (max-width: 1024px) {
  .ergo-custom-h2 h2,
  .ergo-custom-h2 {
    line-height: 28px !important;
  }
}

.lh-32 {
  line-height: 32px !important;
}

.lh-28 {
  line-height: 28px !important;
}

.lh-24 {
  line-height: 24px !important;
}

.chair-sekcija {
}

@media only screen and (max-width: 1024px) {
  .faq-ergo .accordion-button {
    text-transform: inherit !important;
  }
  .faq-ergo .accordion-body li,
  .faq-ergo .accordion-body p {
    font-size: 14px !important;
    /*margin: 0 !important;*/
  }
}

.posts-carousel-wrapper h4,
.posts-carousel-wrapper .h4 {
  font-size: 24px !important;
  font-weight: 600 !important;
}

@media only screen and (max-width: 1024px) {
  .post-carousel-item .inner-content {
    padding: 24px 0;
  }
  .post-carousel-item .inner-content h4 {
    font-size: 18px !important;
  }
  .post-carousel-item .inner-content .excerpt {
    font-size: 14px !important;
  }
}

.products-carousel .owl-stage-outer {
  margin-bottom: unset !important;
}

/*Kategorije*/
.ergoles-cat-card .title a {
  font-size: 20px;
  color: #222;
  font-weight: 600;
}
.ergoles-cat-card .excerpt {
  font-size: 14px;
  margin-bottom: 24px;
}
.ergoles-cat-card .content-wrapper {
  padding: 12px 24px;
  width: 100%;
}

.card .product-header {
  box-shadow: none !important;
  outline: none !important;
  border-top-color: #f4f4f4 !important;
  border-bottom-color: #f4f4f4 !important;
  border-left-color: #f4f4f4 !important;
  border-right-color: #f4f4f4 !important;
  border: 1px solid #fff !important;
}
/*Poruct Loop Card*/
.card:hover .product-header {
  border: 1px solid #f4f4f4 !important;
  border-top-color: #f4f4f4 !important;
  border-bottom-color: #f4f4f4 !important;
  border-left-color: #f4f4f4 !important;
  border-right-color: #f4f4f4 !important;
}

.layout-grid-6 {
  grid-template-columns: repeat(5, 1fr);
}

.single-product-additional-content {
  padding-bottom: 50px;
}

.additional-content-item h4 {
  /*font-weight: 600 !important;*/
  color: #222 !important;
}

@media only screen and (max-width: 1024px) {
  #tab-description-wrapper .tab-pane .video-content,
  #tab-description-wrapper .tab-pane h5,
  #tab-description-wrapper .tab-pane li,
  #tab-description-wrapper .tab-pane p,
  #tab-description-wrapper table.shop_attributes th,
  #tab-description-wrapper table.shop_attributes p {
    font-size: 14px !important;
  }

  .woocommerce-product-details__short-description span,
  .woocommerce-product-details__short-description h6,
  .woocommerce-product-details__short-description strong {
    font-size: 14px !important;
  }

  .additional-content-item .content-wrapper-inner {
    font-size: 14px;
  }
}

.nav-underline {
  border: none;
}
.nav-underline .nav-link {
  color: #222 !important;
  font-weight: 800 !important;
  font-size: 16px !important;
}

.woocommerce table.shop_attributes th {
  padding: 14px 8px;
}

/**/
.loop-item--free-shipping {
  margin-bottom: 0 !important;
}

.ergoles-product-loop--wrapper h2.woocommerce-loop-product__title {
  flex-grow: 1;
}

/*Reference*/
.brands-wrapper .brands-wrapper img {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(128, 128, 128, 0.404);
}

.related-products-outer-wrapper .related-products-inner-wrapper:after {
  display: none !important;
}

.product-loop--razprodano {
  padding: 4px !important;
  font-size: 12px;
  opacity: 0.7;
  transition: all 0.3s;
}

/*Product Loop Item CTA*/
.layout-grid-5,
#main .products {
  row-gap: 20px !important;
}
.product.card .card-body > :last-child {
  display: flex !important;
  justify-content: flex-start;
  margin-top: 24px;
  opacity: 0;
}
@media only screen and (max-width: 1024px) {
  .product.card .card-body > :last-child {
    opacity: 1;
  }
}

.product.card .card-body > :last-child > a {
  display: none !important;
}

.card .card-body > :last-child .add-to-cart-container {
  margin: 0 !important;
  top: unset !important;
  position: relative !important;
  display: block !important;
}

.card .card-body > :last-child .add-to-cart-container a {
  font-size: 14px !important;
}

.product.card:hover .card-body > :last-child {
  opacity: 1;
}

/*Product Page assistance-content-wrapper */
.assistance-content-wrapper {
  font-size: 14px !important;
}

/*Header*/
@media only screen and (max-width: 1079px) {
  .logo-wrapper .logo img {
    max-width: 75px;
  }
}

#wrapper-navbar {
  /*position: fixed !important;*/
  top: 0 !important;
  position: unset !important;
}

.ergo-slider--mobile-wrapper
  .swiper-wrapper
  .wp-block-uagb-container:first-child {
  /*min-height: 250px !important;*/
}

.ergo-slider--mobile-wrapper .swiper-pagination {
  bottom: unset !important;
  position: relative !important;
}

.ergo-slider--mobile-wrapper img {
  min-height: 300px;
}

.ergo-slider--mobile-wrapper
  .swiper-wrapper
  .wp-block-uagb-container:first-child
  .wp-block-uagb-image,
.ergo-slider--mobile-wrapper
  .swiper-wrapper
  .wp-block-uagb-container:first-child
  .wp-block-uagb-image
  img {
  height: 100% !important;
}

/*Loop Dvižne mize Image*/

.card.product_cat-mizne-plosce .ergoles-product-loop-header--wrapper,
#main .products .product.product_cat-dvizne-mize .product-header,
.product_cat-dvizne-mize .ergoles-product-loop-header--wrapper {
  height: fit-content !important;
}

.product_cat-dvizne-mize
  .ergoles-product-loop-header--wrapper
  .woocommerce-LoopProduct-link.woocommerce-loop-product__link {
  width: 100% !important;
}

.products-carousel .owl-stage-outer {
  padding-bottom: 0 !important;
}

@media only screen and (min-width: 1024px) {
  .layout-grid-5,
  .subcategory-wrapper,
  .featured-category-carousel-section {
    max-width: 90%;
    margin: 0 auto;
  }

  .subcategory-wrapper .layout-grid-5 {
    max-width: 100%;
  }
}

#wrapper-navbar
  .navbar
  .main-menu-container
  .navbar-nav
  li.menu-item
  .dropdown-menu {
  background: #f4f4f4;
}

/*Homepage Slider*/
.homepage-slider--main .swiper-wrapper {
  align-items: stretch !important;
}

/* Sticky container */
.main-sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  /* Start fully hidden and non-interactive */
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  will-change: opacity, transform;
}

/* Visible state (we toggle this via JS) */
.main-sticky-header.is-visible {
  /* display is handled in JS so we can animate; keep it here for clarity only */
  opacity: 1;
  transform: translateY(0);
}

/* Optional: give it a slight shadow so it separates from content */
.main-sticky-header .wrapper-navbar,
.main-sticky-header .wrapper-fluid {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Prevent layout shift: define a stable height if you know it */
@media (min-width: 992px) {
  .main-sticky-header {
    /* tweak to your actual sticky header height */
    /* height: 96px;  */
  }
}

.main-menu-container.sticky li a {
  font-size: 14px !important;
}

.subcategory-wrapper {
  scroll-margin-top: 145px !important;
}

@media (max-width: 1079px) {
  .subcategory-wrapper {
    scroll-margin-top: 70px !important;
  }
}

.layout-grid-5 {
  grid-template-columns: repeat(5, 1fr) !important; /* default: 1400px and up */
}

/* 770px–1399px → 4 columns */
@media (max-width: 1800px) {
  .layout-grid-5 {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* 400px–769px → 3 columns */
@media (max-width: 1200px) {
  .layout-grid-5 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* below 400px → 2 columns */
@media (max-width: 500px) {
  .layout-grid-5 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.ergo-custom-btn-red.btn-primary,
.ergo-custom-btn-red {
  background-color: #8a211c !important;
  border-color: #8a211c !important;
  color: #fff !important;
  border-radius: 50px !important;
}

/*Archive Page Subcat Buttons*/
.subcat-button {
  border: 1px solid #000 !important;
}

.featured-slider-outer .featured-slider-nav .owl-prev,
.featured-slider-outer .featured-slider-nav .owl-next,
.featured-category-carousel-section .carousel-wrapper .carousel-nav .owl-prev,
.featured-category-carousel-section .carousel-wrapper .carousel-nav .owl-next {
  background-color: #fff !important;
  border: 2px solid #8a211c !important;

  background-color: transparent !important;
  border: none !important;
}

.star-rating-custom .review-count {
  display: block !important;
}

.product .summary .woocommerce-product-rating .review-count {
  display: none !important;
}

/*Cart*/
.woocommerce-mini-cart-item .item-quantity .variation {
  display: none;
}

/*Composite Products*/
.ywcp_component_otpions_thumbnails_container ul.products li .ywcp_product_info {
  padding: 0;
}

.ywcp_components_single_item {
  margin-bottom: 48px;
}
.ywcp_components_single_item h3 {
  margin-bottom: 16px;
  margin-top: 36px;
  text-transform: initial !important;
  font-weight: 600;
  line-height: 24px;
}

.ywcp_component_otpions_thumbnails_container
  ul.products
  li
  .ywcp_product_info
  .ywcp_product_title {
  font-weight: 500;
  font-size: 14px;
}

.ywcp_component_options_list_container ul li {
  max-width: 100%;
}

/*Stock Display*/
.summary p.stock,
.summary p.stock.out-of-stock {
  display: none !important;
}

.ergo-stock-notice,
.ergo-stock-out {
  font-size: 14px;
  background: #8a211c;
  width: fit-content;
  padding: 0 8px;
  border-radius: 4px;
  color: #fff;
  margin-bottom: 16px;
}

/*Ergo Product Page Composite Product 2.0*/
.ywcp_components_container .ywcp_components_single_item {
  border: 1px solid rgb(211, 206, 210);
  padding: 12px;
  border-radius: 4px;
}
.ywcp_components_container .ywcp_components_single_item h3 {
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.ywcp_components_container .ywcp_components_single_item h3 span {
  display: none;
}

.ywcp_components_container .ywcp_component_options_list_container {
  margin-top: 36px;
}

.ywcp_selection_close,
.ywcp_selection_open {
  margin-right: 0 !important;
  margin-left: auto !important;
}

.ywcp_components_container ul.products li .ywcp_image_container {
  width: 100%;
  height: 100%;
}
.ywcp_components_container ul.products li .ywcp_product_link a {
  width: 100% !important;
  margin: 0 !important;
}
.ywcp_components_container .products {
  gap: 12px;
}

.ywcp_component_otpions_thumbnails_container ul.products li {
  background: #d3ced226 !important;
}

/*Chosen Variable*/
.ywcp_components_container .ywcp_inner_selected_container table.variations {
  width: 100% !important;
  max-width: 100% !important;
}
.ywcp_components_container
  .ywcp_inner_selected_container
  .ywcp_image_container {
  margin-right: 12px;
  margin-bottom: 12px;
}
.woocommerce div.product form.cart .variations label {
  text-transform: initial;
}
.ywcp_component_options_selection_container {
  margin-top: 36px !important;
}
.ywcp_component_options_selection_container .ywcp_product_info {
  font-size: 14px !important;
  font-weight: 500 !important;
}
.ywcp_component_options_selection_container .ywcp_product_title,
.ywcp_component_options_selection_container .ywcp_product_info {
  font-weight: 500 !important;
}
.woocommerce div.product form.cart .variations td.label {
  padding: 0;
  display: flex !important;
}

/*Cart*/
.cart-list .woocommerce-mini-cart-item .item-name a {
  font-weight: 600 !important;
  font-size: 14px !important;
}
/*
.cart-list
  .woocommerce-mini-cart-item.ywcp_component_child_item
  .item-quantity
  .quantity {
  display: none !important;
}
*/
/*Cart Footer*/
.cart-footer {
  border-top: 1px solid #e7e7e7;
}
.cart-footer .woocommerce-mini-cart__total {
  font-weight: 500 !important;
}
.cart-footer .woocommerce-mini-cart__total small {
  display: none;
}

/*Cart Prices*/
.cart-list .woocommerce-mini-cart-item .remove .bootscore-custom-render-total {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 22px;
  margin-bottom: 0 !important;
}
/*Cart Quantity*/
.cart-list .woocommerce-mini-cart-item .item-quantity span.quantity {
  display: none !important;
}
.woocommerce-mini-cart .woocommerce-message {
  font-size: 14px;
  padding: 12px;
}
.woocommerce-mini-cart .woocommerce-message::before {
  display: none;
}

/*Product page compare*/
.product-page--compare {
  border: 1px solid #000;
  border-radius: 4px;
  width: 46px;
  height: 46px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 10px;
}

/*Product Compare Loop*/
.ergo-compare-wrap.product-page--compare.loop-page {
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 100%;
  border: 1px solid #d5d4d5;
}

.ergo-compare-wrap.product-page--compare.loop-page svg {
  max-width: 15px;
}

/*Updates 23.10.2025*/

/*Cart Composite Product*/
.cart-list .mini_cart_item.ywcp_component_item .item-name .item-quantity,
.cart-list .mini_cart_item.ywcp_component_item .bootscore-custom-render-total {
  display: none !important;
}

/*Mobile Show Button Compare/Wishlist*/
@media only screen and (max-width: 1024px) {
  .action-buttons-wrapper {
    display: flex !important;
  }
}

/*Primerjalna tabela Stili*/
#woosc_table table.woocommerce-product-attributes tbody tr {
  display: flex;
  flex-direction: column;
}

/*Slider Arrows*/
.carousel-wrapper {
  position: relative;
}
.carousel-wrapper .carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;

  z-index: 99;
  width: 95%;

  position: absolute;
  top: calc(190px - 19px);
  left: 2.5%;
}

.carousel-wrapper .carousel-nav button {
  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  background: unset;

  font-size: 38px;
  color: #8a211c;
}

/*Product Page Gallery*/
.fancybox__slide.has-image > .fancybox__content {
  height: auto !important;
  width: 100% !important;
}

.fancybox-image,
.fancybox-spaceball {
  position: relative !important;
}

/*Hide compare for mobile*/
.product-page--compare {
  background-color: #fff;
}
@media (max-width: 1119px) {
  .ergo-compare-wrap.product-page--compare.loop-page,
  .ergo-compare-wrap.product-page--compare {
    display: none !important;
  }
}


/**/
#main .products .product.product_cat-dodatki-za-dvizne-mize-dvizne-mize .product-header,
#main .products .product.product_cat-dvizne-mize .product-header,
.product_cat-dvizne-mize .ergoles-product-loop-header--wrapper img {
  height: fit-content !important;
}


/*Product Page CTA*/
.product-buttons-wrapper {
  gap: 10px !important;
}
.product-buttons-wrapper .product-page--compare,
.product-buttons-wrapper .yith-add-to-wishlist-button-block {
  margin: 0 !important;
}

.woocommerce div.product form.cart {
  flex-wrap: nowrap !important;
}
.woocommerce div.product  form.cart.ywcp.ywcp_form_loaded {
  flex-wrap: wrap !important;
}

/*Product Page Composite Products*/
.ywcp_component_options_selection_container .ywcp_inner_selected_container {
  gap: 0 !important;
}
.ywcp_component_options_selection_container .woocommerce-variation.single_variation,
.ywcp_component_options_selection_container .woocommerce-variation-add-to-cart {
  display: flex !important;
}

.ywcp_component_options_selection_container .woocommerce-variation-add-to-cart .quantity {
  margin-top: 12px !important;
  width: 100% !important;
}
.woocommerce div.product form.cart .ywcp_component_options_selection_container div.quantity {
  width: 100%;
  float: unset;
}
.ywcp_component_options_selection_container .ywcp_inner_selected_container {
  display: flex;
  flex-wrap: wrap;
}
.ywcp_component_options_selection_container .ywcp_product_link {
  display: flex !important;
}
.ywcp_component_options_selection_container .ywcp_product_link a {
  font-size: 12px !important;
}

/*Ergoles Menu Icons*/
.ergo--menu-icon a {
  display: flex;
  align-items: center;
}
.ergo--menu-icon a:before {
    content: "";
    width: 24px;
    height: 24px;
    background: url('https://ergoles.si/wp-content/uploads/2025/11/receipt-percent.svg') no-repeat center center;
    display: block;
    margin-right: 6px;
}

/*Ergoles Main Menu*/
@media (min-width: 1080px) {
  #wrapper-navbar .navbar .main-menu-container .navbar-nav {
    align-items: stretch;
  }
}

#main-menu>li {
  display: flex;
  align-items: center;
}

#main-menu .prodajni.menu-item {
  height: 100%;
}

/**/
.product-type-simple form.cart,
.variations_form.cart {
  margin-bottom: 16px !important;
}

/*Product Carousels*/
.carousel-wrapper .carousel-nav {
  height: 0;
  top: 35%;
}


/*****/
.featured-slider-outer .slide-item {
    position: relative;
    overflow: hidden;
}

.slide-image-wrapper {
    position: relative;
    width: 100% !important;
}

.slide-image-wrapper img.slide-image {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: cover; /* optional, if your 'featured-slider' size is cropped */
}

/* If overlay_image should be over the main image */
.overlay-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.featured-slider-outer .featured-slider .slide-item {
  height: unset !important;
  padding: 0 !important;
}


.ergo-slider--mobile-wrapper .swiper-wrapper .wp-block-uagb-container:first-child .wp-block-uagb-image,
.ergo-slider--mobile-wrapper .swiper-wrapper .wp-block-uagb-container:first-child .wp-block-uagb-image img {
  width: 100% !important;
  object-fit: unset;
}

.ergo-slider--mobile-wrapper img {
  min-height: unset !important;
}