/*

 Theme Name:   Woodmart Child

 Description:  Woodmart Child Theme

 Author:       XTemos

 Author URI:   http://xtemos.com

 Template:     woodmart

 Version:      1.0.0

 Text Domain:  woodmart

*/

/*li#menu-item-18032 {
    width: 160px;
}

li#menu-item-18031 {
    width: 215px;
}
*/
/*.page-id-1022 li#menu-item-18031 {
    width: 150px;
}*/

/* SLIDER NAV STYLE */

.home .container {
	max-width:100%;
	padding-inline: 0 !important;
}


.home .swiper-pagination {
  background: #fff;
  width: fit-content;
  left: 50%;
  border-radius: 26px;
  padding: 0px 8px;
	bottom: 12px !important;
}


.home .whb-main-header .container,
.home .footer-container .container {
	width: 100%;
  max-width: var(--wd-container-w);
  padding-inline: 15px;
  margin-inline: auto;
}

@media (max-width: 767px) { 

.home .whb-main-header .container,
.home .footer-container .container {
	width: 95%;
  max-width: var(--wd-container-w);
  padding-inline: 15px;
  margin-inline: auto;
}
	.home .swiper-pagination {
		left: 35vw;
	}
	
}


#main-content .wd-carousel-wrap {
  grid-template-columns: auto;
}

html .product_title {
  font-size: 22px !important;
}

#main-content .product-label.onsale {
  background-color: #bc4545;
}

#main-content .wd-product.wd-hover-buttons-on-hover .wd-add-btn > a {
  background-color: #719763;
}

#main-content .single_add_to_cart_button {
  background-color: #719763;
}

body .wd-empty-mini-cart .btn {
  background-color: #719763;
}

.amount {
  color: #719763;
}

.wd-nav:where(:not(.wd-dis-act))
  > li:where(.current-menu-item, .wd-active, .active)
  > a {
  color: #bc4545;
}

.wd-nav-header > li > a:hover {
  color: #bc4545;
}

.price-prefix {
  color: #719763 !important;
}

#main-content .widget_price_filter .ui-slider .ui-slider-range {
  background-color: #bc4545;
}

#main-content .widget_price_filter .ui-slider .ui-slider-handle:after {
  background-color: #bc4545;
}

#main-content a.button.checkout.wc-forward {
  background-color: #bc4545;
}

.whb-row.whb-header-bottom.whb-sticky-row.whb-with-bg.whb-without-border.whb-color-dark.whb-hidden-mobile.whb-col-1 {
  position: fixed;
  width: 100%;
}

#main-content
  .elementor-1084
  .elementor-element.elementor-element-d91bbfd
  > .elementor-widget-container,
#main-content
  .elementor-1084
  .elementor-element.elementor-element-48a4bd2
  > .elementor-widget-container,
#main-content
  .elementor-1084
  .elementor-element.elementor-element-553ce95
  > .elementor-widget-container,
#main-content .woocommerce-info,
#main-content #place_order {
  background-color: #bc4545;
}

#main-content a.showcoupon {
  color: #bc4545 !important;
}

#main-content .woocommerce-form-coupon .button {
  background-color: #bc4545;
}

.wd-sub-menu li > a {
  padding-bottom: 0px !important;
}

h1.entry-title.title {
  font-size: 40px;
}

#menu-item-18030 .elementor-widget:not(:last-child) {
  margin-bottom: 0px !important;
}

#menu-item-18033 .elementor-widget:not(:last-child) {
  margin-bottom: 0px !important;
}

.product-element-top.wd-quick-shop {
  max-height: 310px;
}

.product-element-top.wd-quick-shop,
.product-element-top.wd-quick-shop a,
.product-element-top.wd-quick-shop a img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
  display: block;
}

.wd-buttons.wd-pos-r-t .wd-wishlist-btn {
  padding-top: 15px;
  padding-right: 10px;
}

.woocommerce-mini-cart__buttons .checkout,
.cart-totals-inner .checkout-button,
.wd-coupon-form .button {
  background-color: #bc4545 !important;
}

.wd-shipping-progress-bar,
.wd-progress-bar {
  display: none;
}

.wd-single-content .elementor-widget-container {
  color: #121212;
}

.hotspot-product.hotspot-content.wd-scroll.hotspot-dropdown-left a.button {
  background-color: #bc4545 !important;
}

.hotspot-product.hotspot-content.wd-scroll.hotspot-dropdown-right a.button {
  background-color: #bc4545 !important;
}

.wd-cat-count {
  display: none;
}

.text-description.images table td {
  padding: 15px 0px;
}

.info-box-wrapper .wd-info-box {
  padding: 20px 10px 20px 10px !important;
}

.price,
body .wc-block-components-totals-footer-item-tax-value {
  color: #bc4545 !important;
}

.elementor-711 .elementor-element.elementor-element-5e38082 .price,
.elementor-711 .elementor-element.elementor-element-5e38082 .price del,
.elementor-711 .elementor-element.elementor-element-5e38082 .amount {
  font-size: 26px !important;
}

.page-id-12
  .wd-page-title.page-title.page-title-default.title-size-large.title-design-default.color-scheme-light {
  display: none;
}

.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
  background-color: #bc4545 !important;
}

#block-8 .wp-block-heading {
  margin-bottom: 0px !important;
}

/**
 * CSS за стилизиране на списъка с категории и контрол на разгъването.
 */

.custom-category-sidebar-list ul {
  list-style: none; /* Премахва точиците */
  margin: 0;
  padding: 0;
}

.custom-category-sidebar-list ul li {
  position: relative;
  margin-bottom: 10px;
}

.custom-category-sidebar-list ul li ul {
  padding-left: 20px; /* Отместване за подкатегориите (Ниво 2) */
  padding-top: 10px;
}

/* СКРИВАНЕ НА НИВО 3 И ПО-НАДОЛУ ПО ПОДРАЗБИРАНЕ (контролира се от JS, но CSS е резерва) */
.custom-category-sidebar-list ul li ul li ul {
  display: none;
}

/**
 * CSS за стилизиране на новата икона за разгъване (по-заоблена)
 */

/* Бутон за разгъване (Икона) */
.custom-category-sidebar-list .toggle-button {
  cursor: pointer;
  display: inline-block;
  float: right;
  margin-left: 5px;
  width: 20px;
  height: 20px; /* Добавяме височина за центриране */
  text-align: center;
  line-height: 20px; /* Центриране по вертикала */
  font-size: 20px; /* По-голям шрифт за по-добра видимост */
  font-weight: normal;
  color: #767676; /* По-мек цвят */
  transition: all 0.3s ease; /* Добавяме плавен преход при промяна на стила */
}

/* Икона: По-заоблен "Плюс" (Unicode U+2795) за затворено състояние */
.custom-category-sidebar-list .toggle-button::after {
  content: "+"; /* Можете да използвате '+' или '⊕' (U+2295) */
  /* Ако не искате да изглежда като бутон: */
  /* content: '▶'; */
}

/* Стил при отворено състояние: По-заоблен "Минус" (Unicode U+2796) */
.custom-category-sidebar-list li.open > .toggle-button::after {
  content: "−"; /* Можете да използвате '-' или '⊖' (U+2296) */
  /* Ако не искате да изглежда като бутон: */
  /* content: '▼'; */
}

/* Премахваме старото завъртане, ако сме сменили символа */
.custom-category-sidebar-list li.open > .toggle-button {
  /* Може да добавите лека промяна на цвят или сянка, ако желаете */
  color: #bc4545;
}

/**
 * CSS за ограничаване на височината и добавяне на скрол в списъка с категории.
 */
.custom-category-sidebar-list {
  /* Задава максимална височина на целия контейнер */
  max-height: 500px; /* ПРОМЕНЕТЕ ТАЗИ СТОЙНОСТ, АКО Е НЕОБХОДИМО */

  /* Добавя вертикален скрол, когато съдържанието надхвърли max-height */
  overflow-y: auto;

  /* Добавя малко вътрешно отстояние, за да изглежда по-добре скролът */
  padding-right: 15px;

  /* Уверете се, че няма скрол по хоризонтала (ако списъкът е твърде широк) */
  overflow-x: hidden;
}

/* Ако списъкът <ul> има горно отстояние (margin-top),
   може да го премахнете, за да започне скролът отгоре: */
.custom-category-sidebar-list ul {
  margin-top: 0;
}

/**
 * Стилизиране на активната/текущата категория в списъка.
 * WordPress автоматично добавя класа 'current-cat' към <li> на текущата категория.
 */
.custom-category-sidebar-list .current-cat > a {
  font-weight: bold; /* Прави текста на линка удебелен */
  color: #333; /* Може да добавите и друг цвят, за да изпъкне */
}

/* Ако използвате икони, уверете се, че те не са удебелени */
.custom-category-sidebar-list .current-cat > a span {
  font-weight: normal;
}

.wd-page-title .wd-page-title-bg img {
  display: none;
}

.wd-page-title-bg.wd-fill {
  background-image: url(https://new.hometex.gr/wp-content/uploads/2023/04/wd-furniture-background.jpg);
}

h1.entry-title.title {
  font-size: 40px;
  color: #111;
}

.wd-back-btn > a::before {
  content: "\f121";
  font-family: "woodmart-font";
  color: #111;
}

.title-size-large {
  --wd-title-sp: 55px !important;
}

.tax-product_cat .wd-negative-gap {
  margin-bottom: 0px;
}

h1.entry-title.title {
  font-size: 35px;
  color: #333;
}

.elementor-element.elementor-element-4eca312.elementor-widget.elementor-widget-wd_button {
  display: none;
}

@media (max-width: 768px) {
  #slide-151 .wd-slide-bg,
  #slide-217 .wd-slide-bg,
  #slide-226 .wd-slide-bg,
  #slide-1440 .wd-slide-bg {
    background-position: 0px 0px !important;
  }

  .title-size-large {
    --wd-title-sp: 27px !important;
  }

  .wd-product .wd-entities-title {
    font-size: 12px;
  }

  .mobile-tab-title.mobile-pages-title {
    display: none;
  }

  .wd-nav-mob-tab > li {
    flex: 1 0 50%;
    max-width: 100% !important;
  }

  div#woofc-count {
    display: none;
  }
}

.page-id-12 .whb-main-header {
  display: none;
}

.elementor-divider-separator {
  display: none !important;
}

.rate_cart_page {
  display: none;
}

.page-id-11 .woocommerce-shipping-totals.shipping {
  display: none;
}

.wd-product-cats {
  display: none;
}

.whb-header-bottom {
  padding: 5px 0px;
}

.wd-nav[class*="wd-style-underline"] .nav-link-text::after {
  background-color: #bc4545;
}

.wd-sub-menu li > a:hover {
  color: #bc4545;
}

.wd-breadcrumbs a {
  color: #111;
}

.wd-breadcrumbs .wd-last,
.wd-delimiter {
  color: #111 !important;
}

.custom-benefits-table td {
  vertical-align: middle; /* Центрира иконата и текста вертикално */
  padding: 10px;
}

.benefit-item {
  display: flex; /* Превръща елемента във flexbox */
  align-items: center; /* Подравнява иконата и текста по средата */
  text-align: left; /* Подравнява текста вляво вътре в блока */
}

.benefit-item img {
  margin-right: 0px; /* Разстояние между иконата и текста */
  flex-shrink: 0; /* Пречи на иконата да се свива */
}

@media (max-width: 767px) {
  .benefit-item {
    display: grid;
    align-items: center;
    text-align: left;
  }
}
.benefit-item span {
  font-size: 12px;
  width: 76%;
}

.text-aligncenter.custom-benefits-table {
  margin-bottom: 15px;
}

/* =========================
   CHECKOUT PAYMENT METHODS FIX
   ========================= */

.woocommerce-checkout #payment ul.payment_methods {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  column-gap: 14px;
  padding: 18px 0 !important;
  margin: 0 !important;
  border-top: 1px solid #e9e9e9;
  min-height: 60px;
}

.woocommerce-checkout
  #payment
  ul.payment_methods
  > li.wc_payment_method:first-child {
  border-top: 0;
}

.woocommerce-checkout
  #payment
  ul.payment_methods
  > li.wc_payment_method
  .porto-radio {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0 !important;
}

.woocommerce-checkout
  #payment
  ul.payment_methods
  > li.wc_payment_method
  .porto-radio
  input {
  margin: 0 !important;
  position: static !important;
  transform: none !important;
}

.woocommerce-checkout
  #payment
  ul.payment_methods
  > li.wc_payment_method
  .payment_box {
  grid-column: 2;
  grid-row: 1;
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.woocommerce-checkout
  #payment
  ul.payment_methods
  > li.wc_payment_method
  .payment_box::before,
.woocommerce-checkout
  #payment
  ul.payment_methods
  > li.wc_payment_method
  .payment_box:before {
  display: none !important;
  content: none !important;
}

.woocommerce-checkout
  #payment
  ul.payment_methods
  > li.wc_payment_method
  .payment_box
  p {
  margin: 0 !important;
  line-height: 1.4;
  font-size: 18px;
  color: #6f6f6f;
}

.hometex-sidebar-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hometex-sidebar-filter-list li {
  margin: 0 0 8px;
}

.hometex-sidebar-filter-list li a {
  display: block;
  padding: 8px 10px;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.hometex-sidebar-filter-list li.active a,
.hometex-sidebar-filter-list li a:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.hometex-sidebar-filter-scroll {
  max-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

.hometex-sidebar-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hometex-sidebar-filter-list li {
  margin: 0;
  padding: 0;
}

.hometex-filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.3;
}

.hometex-filter-checkbox input[type="checkbox"] {
  margin: 0;
  flex: 0 0 auto;
}

.hometex-filter-checkbox span {
  display: inline-block;
}

.hometex-filter-actions {
  margin-top: 10px;
}

.hometex-filter-clear {
  font-size: 13px;
  text-decoration: none;
}

/* WOODMART - всички product images в листинга да показват цялата снимка */
body .products .product-grid-item .product-element-top,
body .products .product-grid-item .product-image-wrap,
body .products .product-grid-item .product-image-link {
  background: #fff !important;
}

body .products .product-grid-item .product-element-top {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

body .products .product-grid-item .product-image-wrap,
body .products .product-grid-item .product-image-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

body .products .product-grid-item .product-image-link img,
body .products .product-grid-item .hover-img img,
body .products .product-grid-item img.wd-force-full-archive-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block;
  background: #fff !important;
}

button.button.woocommerce-button.woocommerce-form-login__submit,
.return-to-shop .button,
input.wpcf7-form-control.wpcf7-submit.has-spinner.btn.btn-color-primary,
form.woocommerce-EditAccountForm.edit-account button.woocommerce-Button.button {
  background: #719763 !important;
}

button.cky-btn.cky-btn-customize,
button.cky-btn.cky-btn-reject,
button.cky-btn.cky-btn-accept {
  color: #111!important;
  border-color: #111!important;
}

button.cky-btn.cky-btn-accept {
  background-color: #719764!important;
}


.cky-revisit-bottom-left {
	bottom: 112px !important;
  lefT: 48px !important;
}

@media (max-width: 768px) {

	.cky-revisit-bottom-left {
	bottom: 65px !important;
	lefT: 12px !important;
}
}

.woocommerce-billing-fields {
    padding-top: 20px;
}

.optional{
	top: 0px!important;
}
