@import url("https://cdn.jsdelivr.net/npm/fontsource-firago@4.0.0/300.css");
@import url("https://cdn.jsdelivr.net/npm/fontsource-firago@4.0.0/400.css");
@import url("https://cdn.jsdelivr.net/npm/fontsource-firago@4.0.0/500.css");
@import url("https://cdn.jsdelivr.net/npm/fontsource-firago@4.0.0/700.css");
@import url("https://cdn.jsdelivr.net/npm/fontsource-firago@4.0.0/400-italic.css");

/* ვუმატებთ !important-ს, რომ ძველმა სტილებმა ვერ გადაფარონ */
body, p, a, li, button, input, textarea, select, label {
    font-family: 'FiraGO', sans-serif !important;
	font-weight: 400 !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .menu-item-title {
    font-family: 'FiraGO', sans-serif !important;
    font-weight: 700 !important;
	font-feature-settings: 'case' on !important;
}



/* 1. მთლიანი პროდუქტის ბლოკი */
.item-product, 
.item-product.relative {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

/* 2. ფოტოების კონტეინერის ფიქსირებული სიმაღლე */
.item-product .thumbnail-container {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

/* 3. სურათი სრულად შეავსებს ბლოკს და იქნება დიდი და ხარისხიანი */
.item-product .thumbnail-container img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important; /* ფოტო გაივსებს მთელ უჯრას მოჭრის გარეშე გაწელვის პრობლემის გარეშე */
    object-position: center !important;
}

/* 4. ტექსტი და ფასი თავის ადგილზე */
.item-product .product_info,
.item-product .product_info-bottom {
    position: relative !important;
    inset: auto !important;
    margin-top: 10px !important;
    background: transparent !important;
}

.rbb_woo_products .item-product .product_button .button .add-to-cart-icon span{
	padding: 0px!important;
}


/* მიუთითეთ თქვენი ბლოგის სურათების კონტეინერის ან კლასის სახელი */
.post-thumbnail img, 
.blog-wrap img {
    width: 100%;
    height: 400px; /* აქ შეგიძლიათ ჩაწეროთ თქვენთვის სასურველი ფიქსირებული სიმაღლე */
    object-fit: cover; /* უზრუნველყოფს, რომ სურათი პროპორციულად შეავსოს არეალი გაწელვის გარეშე */
    border-radius: 12px; /* სურვილისამებრ: მრგვალი კიდეები */
}


.overflow-auto{
	padding-top: 80px;
	padding-bottom: 80px;
}

.overflow-auto {
    overflow: auto;
    padding-top: 80px;
	  padding-bottom: 80px;
}
/* 
/* ===== Polylang language switcher ===== */

/*

 Dropdown trigger: remove stray ">" text, flag and label on one line 
li.menu-item-11566 > a.a-level {
  font-size: 0;
}

li.menu-item-11566 > a.a-level > span:not(.menu-item-title) {
  display: none;
}

li.menu-item-11566 > a.a-level > .menu-item-title {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

 Dropdown: invisible hover bridge from the trigger down to the list 
li.menu-item-11566 {
  position: relative;
}

li.menu-item-11566::after {
  content: "";
  position: absolute;
  left: -30px;
  right: -30px;
  top: 100%;
  height: 60px;
  background: transparent;
}

 Flat list (menu-item IDs with language suffix)
.menu-item-11566-ka > a,
.menu-item-11566-ru > a,
.menu-item-11566-en > a {
  font-size: 0;
}

.menu-item-11566-ka > a > span:not(.menu-item-title),
.menu-item-11566-ru > a > span:not(.menu-item-title),
.menu-item-11566-en > a > span:not(.menu-item-title) {
  display: none;
}

.menu-item-11566-ka > a > .menu-item-title,
.menu-item-11566-ru > a > .menu-item-title,
.menu-item-11566-en > a > .menu-item-title {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

 Flag and label spacing (both modes)
.menu-item-title img {
  display: inline-block;
  width: 16px;
  height: 11px;
  margin: 0;
  vertical-align: middle;
}

.menu-item-title span {
  margin-left: 0 !important;
}

*/

/* Maxlight desktop logo */
#rbb-default-header #_desktop_logo > a {
  --bulb-x: 22%;
  --bulb-y: 50%;
  --beam-width: clamp(180px, 22vw, 360px);

  position: relative;
  isolation: isolate;
}

#rbb-default-header #_desktop_logo > a > img.logo {
  display: block;
}

/* Soft golden beam behind the logo */
#rbb-default-header #_desktop_logo > a::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(var(--bulb-x) - 8px);
  top: var(--bulb-y);
  width: var(--beam-width);
  height: 52px;
  transform: translateY(-50%);
  background:
    radial-gradient(ellipse 30% 12% at 15% 50%, #ffe074b3, transparent),
    radial-gradient(ellipse 68% 50% at 30% 50%, #ffc40066, transparent);
  filter: blur(3px);
  pointer-events: none;
}

/* Bright point over the bulb lens */
#rbb-default-header #_desktop_logo > a::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: var(--bulb-x);
  top: var(--bulb-y);
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff7cc;
  box-shadow: 0 0 8px 3px #ffdb44, 0 0 22px 8px #ffc40070;
  pointer-events: none;
}

#rbb-default-header .rbb-account > div > span.block.text-xs.font-bold,
#rbb-default-header .rbb-account > div > span.whitespace-nowrap.text-\[0\.625rem\] {
  color: #fff;
}

@media (min-width: 768px) {
  .home-page-slider-custom .slick-slide[data-slick-index="0"] .button-group {
    justify-content: flex-end;
  }
}

.home-categories-custom .banner-8 .banner-img {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(250px, 20vw, 340px);
}

.home-categories-custom .banner-8 .banner-img > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-categories-custom .banner-8 .banner-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.72),
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.60)
  );
  pointer-events: none;
}

.home-page-slider-custom .slick-dots{
    left: 50% !important;
    transform: translateY(-50%) !important;
}


.wpcf7 form.wpcf7-form:has(> .maxlight-contact-grid) {
  display: block;
}

.maxlight-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.maxlight-contact-grid .maxlight-contact-wide {
  grid-column: 1 / -1;
}

.maxlight-contact-grid p {
  margin: 0;
}

.maxlight-contact-grid label,
.maxlight-contact-grid .wpcf7-form-control-wrap {
  display: block;
}

.maxlight-contact-grid .wpcf7-form-control-wrap {
  margin-top: 6px;
}

.wpcf7 .maxlight-contact-grid :is(input[type="text"], input[type="email"], textarea) {
  box-sizing: border-box;
  width: 100%;
}

.wpcf7 .maxlight-contact-grid textarea {
  height: 140px;
  min-height: 140px;
  resize: vertical;
}

.wpcf7 .maxlight-contact-grid input.wpcf7-submit {
  width: auto;
  min-width: 140px;
}

@media (max-width: 600px) {
  .maxlight-contact-grid {
    grid-template-columns: 1fr;
  }
}

#rbb-widget--price-filters-1 a.filter-link {
  color: #fff;
  background-color: #151719;
}

#rbb-widget--price-filters-1 a.filter-link:hover,
#rbb-widget--price-filters-1 a.filter-link:focus-visible {
  color: #151719;
  background-color: #ffde21;
}

nav.woocommerce-pagination.rbb-woo-pagination .page-numbers.current,
nav.woocommerce-pagination.rbb-woo-pagination a.page-numbers:hover,
nav.woocommerce-pagination.rbb-woo-pagination a.page-numbers:focus {
  color: #fff;
}


/* Keep the Georgian Add to Cart label on one line. */
html:lang(ka) .rbb_woo_products .item-product .product_button {
  flex-wrap: wrap;
  align-items: center;
}

html:lang(ka) .rbb_woo_products .item-product .product_button > a.add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 46px;
  padding-inline: 14px;
  flex-shrink: 0;
}

html:lang(ka) .rbb_woo_products .item-product .product_button
a.add_to_cart_button .add-to-cart-icon > span {
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.2;
}

/* Make Compare and Quick View icons visible on the dark buttons. */
.rbb_woo_products .item-product .product_button .wooscp-compare .woosc-btn-icon,
.rbb_woo_products .item-product .product_button .product_quick-view .quick-view i {
  color: #fff;
}

/* Restore the Georgian cart pill's height and padding. */
html:lang(ka) .rbb_woo_products .item-product .product_button
> a.add_to_cart_button {
  padding-inline: 0;
}

html:lang(ka) .rbb_woo_products .item-product .product_button
> a.add_to_cart_button .add-to-cart-icon > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding-inline: 12px !important;
  white-space: nowrap;
}

.rbb_woo_products .item-product .product_button .wooscp-compare .woosc-btn::after{
	color: #FFF !important;
}

.single-product .product-summary form .single_add_to_cart_button{
	color: #FFF !important;
}

.single-product .product-summary form .single_add_to_cart_button:hover{
	color: #000!important;
}

.single-product .product-summary .woosw-btn .woosw-btn-icon::before{
	color: #FFF !important;
}
.single-product .product-summary form .buy-now a{
	color: #000 !important;
}

.rbb-icon-shopping-cart-6:before {
    color: white;
}


/* Default state (Login is active, pill is on the left) */
.login-btn {
    color: #000000 !important;
    transition: color 0.3s ease;
}
.register-btn {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

/* When Register is clicked (pill moves to translate(100%)) */
div:has(> .login_switch_title[style*="100%"]) .login-btn {
    color: #ffffff !important;
}
div:has(> .login_switch_title[style*="100%"]) .register-btn {
    color: #000000 !important;
}


body > div.rbb-mini-cart-canvas.rbb-modal.backdrop.show > div.rbb-modal-dialog > div > div > div.mini-cart-content-inner > div > div > a {
	color: white;
}


/* Targets both Mobile and Tablet screens */
@media (max-width: 1024px) {
    /* Sets header background to #111315 */
    #rbb-header,
    #rbb-header .header-mobile,
    #rbb-header .rbb-header-mobile,
    #rbb-header > div,
    header.rbb-header,
    .header-mobile {
        background-color: #111315 !important;
        border-bottom-color: #222529 !important;
    }

    /* Turns hamburger menu, search, and grid icons white */
    #rbb-default-header i, 
	#rbb-default-header > div.rbb-header-sticky > div > div.header-mobile.shadow-\[0_0px_15px_0_rgba\(0\,0\,0\,0\.1\)\].px-\[15px\].md\:hidden > div > div.header-mobile-right.min-w-\[60px\].flex.items-center.justify-end > div.icon-vertical-menu.text-black.text-lg.ml-5.rbb-icon-view-grid-1{
        color: #ffffff !important;
        fill: #ffffff !important;
    }
}

@media (max-width: 767px) {
    .rbb-default-header .header-mobile .toggle-megamenu .icon-directional:before, .rbb-default-header .header-mobile .toggle-megamenu:after, .rbb-default-header .header-mobile .toggle-megamenu:before {
        background-color: white !important;
    }
}

.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
	padding: 0;
}


.bdt-prime-slider-mount .bdt-navigation-arrows {
	left: auto;
	right: clamp(1.875rem, 5vw, 3.125rem) !important;
}


@media (max-width: 1024px) {
	.bdt-prime-slider-mount .bdt-navigation-arrows {
		right: 50% !important;
		transform: translateX(50%);
		bottom: 60px;
	}
}

#rbb-active-filters-bar > div.clear-all.text-center.uppercase.rounded.mb-5 > a {
	color: white;
}


/* Keep the desktop language dropdown attached to its trigger. */
@media (min-width: 1024px) {
  #rbb-default-header #desktop_menu
  li.level-1:has(> a[href="#pll_switcher"]) {
    position: relative;
  }

  #rbb-default-header #desktop_menu
  li.level-1:has(> a[href="#pll_switcher"]) > ul.sub-menu {
    top: calc(100% - 1px);
    left: 0;
    margin-top: 0;
    transition: opacity 150ms ease;
  }

  #rbb-default-header #desktop_menu
  li.level-1:has(> a[href="#pll_switcher"]):is(:hover, :focus-within)
  > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

body.home #rbb-default-header #header-vertical_menu {
  display: none;
}

body.home .elementor-widget-rbb_woo_products
.rbb_woo_products.default .slick-slider > .slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 8px;
}

@media (min-width: 1024px) {
  :is(html[lang|="ka"], html[lang|="ru"]) body.home
  .elementor-widget-rbb_woo_products .rbb_woo_products.default .title_left {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    row-gap: 12px;
  }

  :is(html[lang|="ka"], html[lang|="ru"]) body.home
  .elementor-widget-rbb_woo_products .rbb_woo_products.default .select-wrap {
    min-width: 0;
    max-width: 100%;
  }

  :is(html[lang|="ka"], html[lang|="ru"]) body.home
  .elementor-widget-rbb_woo_products .rbb_woo_products.default .select-options {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  :is(html[lang|="ka"], html[lang|="ru"]) body.home
  .elementor-widget-rbb_woo_products .rbb_woo_products.default .select-options > li {
    padding-inline: 18px;
  }
}

/* Keep the homepage product actions visible. */
body.home .elementor-widget-rbb_woo_products
.rbb_woo_products.default .item-product .product_info .product-popup {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition: none;
  background: transparent;
  box-shadow: none;
}

body.home .elementor-widget-rbb_woo_products
.rbb_woo_products.default .item-product .product-popup::before,
body.home .elementor-widget-rbb_woo_products
.rbb_woo_products.default .item-product .product-popup > :is(
  .product-title, .product_price, .product_info-bottom
) {
  display: none;
}

body.home .elementor-widget-rbb_woo_products
.rbb_woo_products.default .item-product .product_info > :is(
  .product-title, .product_title, .product_price, .product_info-bottom
) {
  transform: none;
}

body.home .elementor-widget-rbb_woo_products
.rbb_woo_products.default .item-product .product-popup .product_button {
  flex-wrap: wrap;
  align-items: center;
  row-gap: 8px;
}

body.home .elementor-widget-rbb_woo_products
.rbb_woo_products.default .item-product .product-popup .product_button
:is(.add-to-cart-icon, .wooscp-compare, .product_quick-view) {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
}

body.home .elementor-widget-rbb_woo_products
.rbb_woo_products.default .item-product .product_button .product_quick-view {
  display: flex;
}

body.home .elementor-widget-rbb_woo_products
.rbb_woo_products.default .slick-track > .slick-slide
> div + div:has(> .item) {
  padding-block-start: 16px;
}

/* Give the vehicle finder its own row above the shop sorting controls. */
#rbb-primary .category-top-bar:has(> .fmc-finder) {
    flex-wrap: wrap;
    row-gap: 12px;
}

#rbb-primary .category-top-bar > .fmc-finder {
    flex: 0 0 100%;
    min-width: 0;
    margin: 0;
}

#rbb-primary .category-top-bar > .fmc-finder .fmc-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

#rbb-primary .category-top-bar > .fmc-finder .fmc-title > img.emoji {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px;
    object-fit: contain;
    margin: 0 !important;
}

.fmc-finder .fmc-bulbs-title > img.emoji {
    display: inline-block;
    width: 22px !important;
    height: 22px !important;
    object-fit: contain;
    vertical-align: middle;
}

.fmc-finder img.emoji {
    display: inline-block;
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0;
    object-fit: contain;
    vertical-align: middle;
}

#woosc_table .tr-description td.col img.emoji {
    display: inline-block !important;
    width: 1em !important;
    height: 1em !important;
    object-fit: contain;
    vertical-align: -0.1em;
    margin-inline-end: 0.2em;
}