html {
  /* Adjust font size */
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  /* Font varient */
  font-variant-ligatures: none;
  -webkit-font-variant-ligatures: none;
  /* Smoothing */
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
}

body {
  /*    font-family: 'font-sofia',Helvetica, Arial, sans-serif !important;*/
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

/*h5,h3,
.nav-tab .nav-link div{
    font-size: large !important;
}

h6,h4,button,select,input,a  {
    font-size: large !important;
}*/

button.close {
  font-size: 2rem !important;
}

footer .bg-gray-13,
#js-searchproduct-item {
  background: var(--white-gray-theme) !important;
  /* background-color: rgba(246, 246, 246, 0.6) !important; */
  border: none;
  border-radius: 0;
}

.bg-primary,
#basicsHeadingOne button {
  background: #ff5722 !important;
  border-color: #ff5722 !important;
}

#searchProduct1 {
  background-color: var(--white-gray-theme);
  border-radius: 0;
}

.header-icon a,
.header-icon i {
  color: var(--orange-theme) !important;
}

.header-icon a:hover,
.header-icon i:hover {
  color: var(--blue-theme) !important;
  cursor: pointer;
}

.border-primary {
  border-color: var(--orange-theme) !important;
}
.border-bottom-gray-1 {
  border-bottom-color: #cdcdcd !important;
}

.btn-primary:not(.ec-add-to-cart):hover {
  color: var(--blue-theme) !important;
}

.label-sale {
  background: var(--orange-theme) !important;
  top: 16px !important;
  right: 30px !important;
}

.js-mega-menu a:hover {
  color: #fff !important;
  background: var(--yellow-theme) !important;
}

.js-mega-menu .u-header__nav-item.nav-icon a:hover i {
  color: var(--blue-theme);
}

.u-header__sub-menu-nav-link {
  text-decoration: none !important;
  padding-left: 0.25rem !important;
}
.hs-mega-menu {
  border: 1px solid var(--orange-theme) !important;
}
.border-red {
  border-color: #0077d0 !important;
}
.pagination-shop .page-link.current {
  background-color: var(--orange-theme) !important;
  color: #fff !important;
  border-color: var(--orange-theme) !important;
}

.pagination-shop .page-link {
  border-color: var(--orange-theme) !important;
  color: var(--orange-theme);
  background-color: transparent !important;
}

.text-blue {
  color: #3f3b7b !important;
}
.text-orange {
  color: var(--orange-theme) !important;
}

.text-dark-gray {
  color: var(--dark-gray-theme) !important;
}

.text-dark {
  color: var(--datk-text-theme) !important;
}

.banner-bg a:not(.no-hover):hover {
  /*    border:1px solid #0b027b;*/
  border-radius: 10px;
}

#filter-cenovаByName {
  background: #eae8ff;
}

.css-img-hover:hover {
  border: 5px solid #4e6aff !important;
  opacity: 0.8;
  transform: scale(1.2);
  transition: transform 0.2s ease;
}

.css-baner-hover {
  border: 10px solid var(--white-gray-theme);
}

.css-baner-hover:hover {
  border: 10px solid var(--orange-theme) !important;
}
a.u-header__nav-link {
  font-size: 16px;
}

.css-triangle-down {
  width: 0px;
  height: 0px;
  display: inline-block;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 20px solid #f00;
}
.css-section-title {
  border-bottom: 3px solid #f00 !important;
}

#basicDropdownHoverInvoker {
  cursor: pointer;
}

/*HEADER*/
/* Плавен преход за sticky елементи */
.section2,
.section3 {
  transition: all 0.3s ease-in-out;
}

.section2 .container {
  border-bottom: 1px solid #e0e0e0;
}

.section2.sticky {
  z-index: 1030;
}

.section2.fixed-top {
  background-color: #fff !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1), 0 1px 6px rgba(0, 0, 0, 0.05) !important;
}

.section2.fixed-top .container {
  border-bottom: none !important;
}

.section3 {
  transition: transform 0.3s ease-in-out;
}

/* Предотвратяване на премигване при sticky преходи */
.sticky-transition {
  transition: all 0.2s ease-in-out;
}

/* Mobile Icons - адаптиране към съдържанието */
#mobileIcons {
  width: auto !important;
  flex: none !important;
}

#mobileIcons ul li {
  width: auto !important;
  flex: none !important;
}

/*Mobile*/
/* Mobile Layout подобрения */
@media (max-width: 1199.98px) {
  /* Mobile Icons - намаляване на padding между иконките */
  #mobileIcons ul li {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
}

/*NAV LINKS ICONS */
.js-mega-menu .btn-secondary:hover {
  color: #fff !important;
  background: var(--blue-theme) !important;
  border-color: var(--blue-theme) !important;
}

.js-mega-menu .u-header__nav-item.nav-icon a:hover {
  background: transparent !important;
}

#js-cenovaListaMenu.css-cenovaListaLinks a {
  color: var(--datk-text-theme);
}

#js-cenovaListaMenu.css-cenovaListaLinks a:hover {
    color: var(--orange-theme) !important;
}

/*Header Section2 */
.section3 .header-nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.section3 .header-nav-links > a {
  color: var(--datk-text-theme);
  font-weight: 700;
}

.section3 .header-nav-links > a:hover {
  color: var(--orange-theme);
}

.section3 .header-call-btn {
  font-size: 18px;
}

.section3 .header-call-btn:hover i {
  color: var(--blue-theme) !important;
}

.section3 .header-call-btn i {
  width: 22px;
  height: 22px;
}

/*STILES*/
.min-vh-50 {
  min-height: 50vh !important;
}

.orange-bg {
  background-color: var(--orange-theme);
}

/* глобално за всички checkbox-и и радио бутони */
input[type="checkbox"],
input[type="radio"] {
  accent-color: #FF5722;   /* оранжевото ти */
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 2px solid #FF5722;
  outline-offset: 2px;
}

.css-border-orange {
  border: 1px solid var(--orange-theme) !important;
}

/*FOOTER */

footer {
  font-size: 16px;
}

footer .social-media-icons a,
.card-body-contacts .social-media-icons a {
  border: 1px solid var(--orange-theme);
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--orange-theme);
}

footer .social-media-icons a:hover,
.card-body-contacts .social-media-icons a:hover {
  animation: bounce-scale 0.4s ease-in-out;
  background-color: var(--orange-theme);
  color: white;
}

@keyframes bounce-scale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}

footer .footer-navigation {
  /* background-color: var(--blue-theme); */
  background-color: rgba(44, 62, 80, 0.8) !important;
}

footer .footer-navigation a:hover {
  color: var(--orange-theme) !important;
}

/*HOME PAGE*/
.g_slide {
  border: none !important;
}

.mt-minus {
  margin-top: -5rem;
}

.lh-1 {
  line-height: 1.1;
}

.lh-2 {
  line-height: 1.2;
}

.css-cta-section {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.css-counter-content {
  background-color: #fff !important;
  z-index: 1;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.15),
    0 12px 48px rgba(0, 0, 0, 0.2);
  margin-top: -7em;
}

.ccs-bg-white {
  background-color: #fff !important;
}

.css-z1 {
  z-index: 1;
}

/*Product Card*/
/* .css-product-item__title {
    font-size: 1rem;
    line-height: 0.875rem;
} */

.css-product-item__inner {
  border: 10px solid #f6f6f6;
}

.css-product-item__inner:hover {
  border-color: var(--orange-theme) !important;
}

.css-product-item {
  padding: 0 6px !important;
}

.css-banner-container {
  position: relative !important;
}

.css-banner-container > a {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.css-add-to-cart-quantity {
  width: 50% !important;
  border-color: #ff5722 !important;
  border-radius: 0 !important;
}

.css-add-to-cart-quantity-input {
  max-width: 100px;
}

.input-group.prodcut-add-cart {
  flex-wrap: nowrap;
}

.css-btn-add-cart {
  width: 50%;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Показваме бутона в долния край върху снимката при hover (десктоп) */
.quickview-btn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -48px;
  opacity: 0;
  transition: all 0.25s ease;
  width: 100%;
}
figure.position-relative:hover .quickview-btn {
  bottom: 0;
  opacity: 1;
}

/* На тъч устройства няма hover – показваме бутона винаги */
@media (pointer: coarse) {
  .quickview-btn {
    bottom: 0;
    opacity: 1;
  }
}

@media screen and (max-width: 580px) {
  .input-group.prodcut-add-cart {
    flex-wrap: wrap !important;
  }

  .css-add-to-cart-quantity {
    width: 100% !important;
  }

  .css-btn-add-cart {
    width: 100% !important;
  }
}

/*LIST PRODUCTS*/
@media screen and (max-width: 990px) {
  .btn-add-cart i {
    font-size: 1.6rem !important;
  }
}

/*Category Tabs Styling*/
.css-category-tab {
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 0 !important;
  background: #ff5722 !important;
  color: #fff !important;
  /* border: 2px solid rgb(44, 62, 80) !important; */
  font-weight: 700;
  /* box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(44, 62, 80, .22), 0 1px 0 rgba(44, 62, 80, .85), 0 10px 16px rgba(44, 62, 80, .35) !important; */
    box-shadow:
    0 1px 0 0 rgba(255, 87, 34, .95),
    0 28px 20px -8px rgba(255, 87, 34, .50),
    18px 0 22px -10px rgba(255, 87, 34, .48),
    12px 14px 24px -12px rgba(255, 87, 34, .38)
  !important;
}

.css-category-tab:hover {
  background: #ffc107 !important;
  color: #2c3e50 !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.css-category-tab-active {
  background: #ffc107 !important;
  color: #2c3e50 !important;
  font-weight: bold !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-bottom: 3px solid #2c3e50;
}

.css-category-tab-active:hover {
  transform: none;
}

.css-category-tab > img {
  margin-right: 5px;
  filter: invert(1);
}

.css-category-tab:hover > img {
  filter:
    brightness(0) saturate(100%)
    invert(22%)
    sepia(12%)
    saturate(1200%)
    hue-rotate(169deg)
    brightness(91%)
    contrast(90%);
}

.css-category-tab-active > img {
  filter:
    brightness(0) saturate(100%)
    invert(22%)
    sepia(12%)
    saturate(1200%)
    hue-rotate(169deg)
    brightness(91%)
    contrast(90%);
}


/* Дребни донастройки за мобилно */
@media (max-width: 767.98px) {
  .css-category-tab {
    padding: 10px 12px;
    border-radius: 12px;
  }
  .css-category-tab::before { border-radius: 14px; }
}


/*PRODUCT PAGE*/
.css-add-to-cart-padding {
  padding: 0.6em 2em !important;
}

.css-btn-secondary-v2 {
  background-color: transparent !important;
  border: 2px solid var(--orange-theme) !important;
  color: var(--orange-theme) !important;
}

.css-btn-secondary-v2:hover {
  background-color: var(--blue-theme) !important;
  color: #fff !important;
  border: 2px solid var(--blue-theme) !important;
}

.css-product-images {
  padding: 16px;
  background: #f9f9f9 !important;
}

/*Quick View*/
#quickViewBody .slick-arrow {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
  border: 1px solid #ff5722;
  background: #ff5722;
  color: #fff;
  width: 32px;
  height: 32px;
  font-size: 16px;
  border-radius: 6px;
}

#quickViewBody .slick-arrow.slick-prev {
  top: 50%;
  left: 0%;
  transform: translate(50%, -50%);
}

#quickViewBody .slick-arrow.slick-next {
  top: 50%;
  right: 0%;
  transform: translate(-50%, -50%);
}

.u-slick .js-slide, .u-slick .js-thumb {
  visibility: visible !important;
}

/*LOGIN PAGE*/
#signinEmail,
#signinSrPasswordExample2,
#signinPassword {
  border-radius: 0 !important;
}

.form-control {
  border-radius: 0 !important;
}

.btn-primary-orange {
  background-color: var(--orange-theme);
  color: #fff;
  border: 1px solid var(--orange-theme);
}

.btn-primary-orange:hover {
  background-color: var(--yellow-theme) !important;
  color: var(--blue-theme) !important;
  border: 1px solid var(--yellow-theme) !important;
}

.btn-secondary-white-orange {
  border: 2px solid var(--orange-theme);
  color: var(--blue-theme);
  background-color: transparent;
} 

.btn-secondary-white-orange:hover {
  color: var(--orange-theme);
}

.btn-outline-orange {
  background-color: #fff;
  color: var(--orange-theme);
  border: 1px solid var(--orange-theme);
}

.btn-outline-orange:hover,
.btn-outline-orange:focus {
  background-color: var(--orange-theme);
  color: #fff;
  border-color: var(--orange-theme);
}

/*МОДАЛ CSS*/
@media (max-width: 767.98px) {
  .m-modal {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 1050;
    display: none;
    overflow-y: auto;
  }
  .m-modal:target {
    display: block;
  }
  .m-modal__header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    z-index: 1;
  }
  .m-modal__body {
    padding: 8px 0 24px;
  }
  .m-list a {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #212529;
  }
  .m-list a:hover {
    background: #f9f9f9;
  }
  .m-close {
    text-decoration: none;
    font-weight: 600;
  }
  .m-trigger {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
  }
}

/*FILTERS*/
.u-range-slider .irs-slider {
  background-color: var(--orange-theme) !important;
}

.u-range-slider .irs-slider.to {
  border-color: var(--orange-theme) !important;
}

/*CONTACTS PAGE*/
.card-body-contacts p,
.card-body-contacts h3 {
  color: #fff !important;
}

.contacts-information tr {
  display: flex !important;
  flex-direction: column !important;
}

/*Input Fields*/
.custom-select:focus,
.form-control:focus {
  border-color: var(--orange-theme);
}

/*SHOP PAGE*/
.css-fitler-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
}

/* .css-filter-banner {
  border: 4px solid transparent;
} */

/* ==== БАЗА ==== */
.css-filter-banner {
  border: 4px solid transparent;
  border-radius: 18px;
  padding: 18px;
  background:
    #ffffff padding-box,
    linear-gradient(135deg, var(--orange-theme), var(--orange-theme)) border-box;
  color: #222;
  
  /* 👉 box-shadow още от самото начало */
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);

  transition: transform .25s ease, box-shadow .25s ease;
}

.css-filter-banner:hover {
  transform: translateY(-3px);
  /* box-shadow: 0 10px 24px rgba(0, 0, 0, .15); */
  box-shadow: 0 22px 20px -8px rgba(255, 87, 34, .50), 18px 0 22px -10px rgba(255, 87, 34, .48), 12px 14px 24px -12px rgba(255, 87, 34, .38);

}
/* .css-filter-banner:hover {
  border-color: var(--orange-theme);
} */

/*CART PAGE*/
.css-background-transparent {
  background-color: transparent !important;;
}
