/*
 Theme Name: Astra Child
 Template: astra
 Version: 1.0.0
*/

.post-91,
.post-10 {
	padding-bottom: 10%;
	padding-top: 2%;
}

.ast-site-identity {
	padding-top: 3%;
	padding-bottom: 5%;
}
.ast-builder-menu-1 .menu-item > .menu-link {
	text-transform: uppercase;
	color: #3f4250;
	font-size: 14px;
	padding-right: 2em;
}
.ast-builder-menu-1 .menu-item > .menu-link:hover {
	color: #141621;
	border-bottom: 1px solid #141621;
}
.ast-desktop .ast-above-header-bar .main-header-menu > .menu-item {
    line-height: 30px;
}
@media screen and (max-width: 921px) {
a.glink {
	color: #fff;
}
a.glink.gt-current-lang {
	color: #ff9900;
	border-bottom: 1px solid #fff;
}	
	#menu-item-4476 {
		padding: 0 20px;
	}
}
@media screen and (min-width: 922px) {
a.glink {
	color: #3f4250;
}
a.glink.gt-current-lang {
	color: #141621;
	border-bottom: 1px solid #141621;
}
}
.ast-primary-header-bar {
	background: #141621;
	height: 64px;
	border-bottom: none;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
	line-height: 64px;
}
.ast-primary-header-bar .site-primary-header-wrap {
    min-height: 64px;
	height: 64px;
}
#menu-item-113 {	
    align-items: center;
    background-color: #366ac5;
    width: 270px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .07rem;
    text-transform: uppercase;
}
#menu-item-113 a.menu-link,
#menu-item-4373 a.menu-link {
	color: #fff;
}
#menu-item-114 a.menu-link {
	text-transform: none;
    color: #22232b;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.1;
}
#menu-item-4373 {
	align-items: center;
    background-color: #292c3c;
    width: 270px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .07rem;
    text-transform: uppercase;
}

#menu-item-111:hover {
background: #1f212e;
}
.ast-builder-menu-2 .sub-menu, .ast-builder-menu-2 .inline-on-mobile .sub-menu {
    border-top: 2px solid #2c56a0;
    border-bottom: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    border-left: 1px solid #e6e6e6;
}

.dgwt-wcas-search-wrapp {
	width: 100%;
	min-width: 500px;
}
.ast-hfb-header .ast-addon-cart-wrap {
	padding: 0;
}
 .ast-cart-desktop-position-left .ast-woo-header-cart-info-wrap {
        margin-right: 0;
	 padding: 0;
    }

.about-company {
width: 88%;
  margin: 0 auto;
	color: #000;
}

.about-company h2,
.about-company h3,
.about-company h4 {
  color: #000;
  margin-top: 1.5em;
}

.about-company ul {
  padding-left: 20px;
  list-style-type: disc;
}

.about-company li {
  margin-bottom: 0.4em;
}
.about-company p {
	font-size: 16px;
	text-align: justify;
}
header.entry-header .entry-title {
	text-align: center;
}
.company-contacts {
	display: flex; 
	flex-wrap: wrap; 
	gap: 40px; 
	align-items: flex-start;
	width: 84%;
	margin: 0 auto;
}
.contact-info {
	color: #000;
}
.contact-map {
	width: 70%;
}

.custom-footer {
  background-color: #f4f4f4;
  color: #000;
  font-size: 15px;
  border-top: 1px solid #ddd;
	margin: 0;
	padding-top: 3%;
	padding-bottom: 1%;
}

@media screen and (max-width: 900px) {
	.footer-container {
    display: block;
    max-width: 85%;
		width: 85%;
    margin: 0 auto;
		padding-top: 3%;
  }
.footer-block {
    margin-bottom: 20px; 
	   display: block;
  }
  
	.post-88,
	.post-91 {
		padding-top: 5%;
		width: 98%;
		margin: 0 auto;
	}
}
@media screen and (min-width: 901px) {
.footer-container {
  margin: 0 auto;
  display: flex;
  gap: 20px;
	max-width: 90%;	
}
.footer-block {
  flex: 1 1 20%;
}
.footer-block-one {
flex: 1 1 36%;
	text-align: justify;
	margin-right: 6%;
}
}
.footer-block h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}

.footer-block p,
.footer-block li {
  margin-bottom: 8px;
}

.footer-block a {
  color: #000;
  text-decoration: none;
}

.footer-block a:hover {
  text-decoration: underline;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-logo {
  width: 200px;
  margin-bottom: 12px;
  display: block;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  color: #000;
}

.sub-menu .menu-link {
	color: #000 !important;
	text-transform: none;
	font-size: 16px;
	font-weight: 400;
}
.main-header-bar .main-header-bar-navigation .sub-menu {
    line-height: 1;
}

.main-header-menu .sub-menu .menu-link {
    padding: .7em 1em;
    display: block;
    word-wrap: break-word;
}
.main-page-block {
	display: block;
}
.popular {
  padding: 40px 0 20px 0;
	display: block;
}
.brands {
  padding: 40px 0;
	display: block;
}
.block-header {
  display: block;
  font-weight: 600;
  font-size: 35px;
  letter-spacing: .01rem;
  margin-bottom: 3%;
  color: #141621;
}

.uk-slider-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
}

.uk-slider-items li {
  flex: 1 1 calc(33.333% - 20px);
  box-sizing: border-box;
  display: flex;
}

.popular-item {
  border: 1px solid #737373; 
  text-decoration: none;
  color: #000;
  width: 100%;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #e3e5e8;
  transition: box-shadow 0.3s ease;
}

.popular-item:hover {
  box-shadow: 0 0 10px rgba(0, 51, 102, 0.2);
	background: #fff;
}

.popular-item .title {
 font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: .01rem;
  color: #141621;
  text-transform: uppercase;
}

/* Планшети */
@media (max-width: 1024px) {
  .uk-slider-items li {
    flex: 1 1 calc(50% - 20px);
  }
}

/* Мобільні */
@media (max-width: 600px) {
  .uk-slider-items li {
    flex: 1 1 100%;
  }

  .popular-item {
    padding: 20px 15px;
  }

  .popular-item .title {
    font-size: 16px;
  }
}

.view-all-container {
  text-align: center;
  margin-top: 5%;
}
@media screen and (max-width: 600px) {
	.view-all-container {
  text-align: center;
  margin-top: 8%;
}
	.seo-text {
		padding-bottom: 8%;
	}
}

.view-all-button {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #000;
  background-color: transparent;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.view-all-button:hover {
  background-color: #000;
  color: #fff;
}

.brands .uk-slider-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-items: center;
  align-items: center;
}

.brand-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-item img:hover {
  transform: scale(1.05);
}

/* Планшети (2 логотипи в ряд) */
@media (max-width: 1024px) {
  .brands .uk-slider-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Мобільні (1 логотип в ряд) */
@media (max-width: 600px) {
  .brands .uk-slider-items {
    grid-template-columns: 1fr;
  }
}
li,
h4,
p {
	color: #000;
}
.about-view-all-button {
	font-size: 18px;
	font-weight: 600;
	color: #292c3c;
}

.seo-text {
	display: flex;
	margin-bottom: 4%;
	margin-top: 3%;
}

.seo-text .text-a {
	width: 50%;
	text-align: justify;
}

.block-banner {
 width: 50%;
} 

/* Мобільні пристрої */
@media (max-width: 900px) {
  .seo-text {
   display: block;
  }

	.seo-text .text-a {
		width: 98%;
		margin: 0 auto;
  }
	.block-banner {
		display: none;
	}
}
.brand-block {
	width: 100%;
	padding-top: 5%;
	margin-bottom: 6%;
}
.brands-section {
	display: grid;
  grid-template-columns: repeat(6,1fr);
  grid-gap: 30px;
}
@media (max-width: 576px) {
  .brands-section {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width: 992px) {
  .brands-section {
    grid-template-columns: repeat(4,1fr);
  }
}
.img-wrapper {
  background: #fff;
  border: 1px solid #d9dbe0;
  border-radius: 4px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
}
.brand-block h1 {
	margin-bottom: 3%;
}

@media screen and (max-width: 1199px) {
	#menu-item-4373 {
		display: none;
	}
}	

@media screen and (max-width: 820px) {
	.ast-cart-desktop-position-left .ast-woo-header-cart-info-wrap {
		display: none;
	}
}

@media screen and (max-width: 1199px) {
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-4373 {
	display: none;
	}
}

.woocommerce ul.products li.product a img {
  height: 220px;
  object-fit: contain;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; 
  line-height: 1.6em;
  height: 3.2em; 
}

.woocommerce ul.products li.product .button {
  margin-top: auto;
}

@media (min-width: 701px) {
.woocommerce-js ul.products li.product .price, .woocommerce-page ul.products li.product .price {
	font-size: 18px;
}
	li.product-category {
	border: 1px solid #b8b894;
	border-bottom: 1px solid #b8b894 !important;
	height: 180px;
}
}
@media screen and (max-width: 700px) {
	.woocommerce-js ul.products li.product .price, .woocommerce-page ul.products li.product .price {
	font-size: 16px;
}
	li.product-category {
	border: 1px solid #b8b894;
	border-bottom: 1px solid #b8b894 !important;
	height: 168px;
}
}

li.product-category:hover {
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  border-color: #999970;
  transform: translateY(-4px);
  background-color: #f8f8e8; 
  z-index: 2;
}
.woocommerce-js ul.products li.product .woocommerce-loop-category__title, .woocommerce-page ul.products li.product .woocommerce-loop-category__title {
    bottom: 0;
}

.woocommerce-page ul.products li.product .woocommerce-loop-category__title .count {
	display: none;
}
.woocommerce-page ul.products li.product .woocommerce-loop-category__title {
	text-transform: none;
	font-size: 14px;
	font-weight: 600;
	color: #000;
	background: transparent;
	align-items: center;
	line-height: 1.2;
}
.woocommerce-js ul.products li.product.product-category a img {
	width: auto;
	height: 74%;
	margin: 0 auto;
	padding-top: 3%;
}

/* Відображення плитки і списку товарів */
ul.products.list-view .product-list-item {
  width: 100% !important;
  display: block;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.product-list-item .list-row {
  display: grid;
  grid-template-columns: 80px 1fr 70px 120px 100px 100px 100px 100px 100px 100px 100px 120px;
  gap: 10px;
  align-items: center;
}
.product-list-item .list-col.image img {
  max-width: 70px;
  height: auto;
}
.woocommerce-result-count {
	display: none;
}

.switch-grid svg,
.switch-list svg {
    color: #595959; 
    transition: color 0.3s;
}

.switch-grid.active svg,
.switch-list.active svg {
    color: #006600; 
}

.shop-header-with-switcher {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 2%;
}

.view-switcher {
	display: flex;
	gap: 20px;
}

@media (max-width: 768px) {
	.shop-header-with-switcher {
		display: block;
		justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 0;
	}

	.view-switcher {
		display: flex;
		gap: 8px;
		margin-bottom: 1em;
	}

	.view-switcher a svg {
		width: 1.875rem;
		height: 1.875rem;
	}
	.woocommerce-page ul.products li.product.mobile-align-left .button {
		text-align: center;
		font-size: 14px;
	}
}


/* List - Grid */
.product-list-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.product-list-table th,
.product-list-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    vertical-align: middle;
	line-height: 1.1;
}

.product-list-table th {
    background: #f2f2f2;
    font-weight: 500;
	line-height: 1.1;
}

.product-list-table td a {
    text-decoration: none;
    color: #000;
	font-size: 16px;
}
.product-list-table td a:hover {
	color: #737373;
}
td.title {
	line-height: 1.1;
}
.product-list-table td.image img {
    width: 50px;        
    height: auto;
    transition: transform 0.3s ease;
}

.product-list-table td.image img:hover {
    transform: scale(3.5);   
}
.product-list-table td.pdf img {
    display: inline-block;
    max-width: 24px;
    height: auto;
    vertical-align: middle;
}

@media screen and (max-width: 1090px) {
    .product-list-wrapper {
        overflow-x: auto;          
        -webkit-overflow-scrolling: touch; 
	}
    .product-list-table {
        width: 100%;
		max-width: 100%;
    }
}

td.add a.button {
	    border-style: solid;
    color: #ffffff;
    border-color: var(--ast-global-color-0);
    background-color: var(--ast-global-color-0);
    padding-top: 8px;
    padding-right: 10px;
    padding-bottom: 8px;
    padding-left: 10px;
    font-family: inherit;
    font-weight: 500;
    font-size: 14px;
	 white-space: nowrap !important;
}

.woocommerce-js div.product form.cart .button.single_add_to_cart_button {
	padding: 13px 40px;
	font-size: 16px;
}

/* Стилі фільтра */
.shop-left-filters {
    background: #fff;
    border-right: 1px solid #e6e6e6;
	 border-left: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
    box-sizing: border-box;
	width: 18%;	
}

.shop-left-filters .filter-item {
    display: block;
    margin-bottom: 4%;
    color: #000;
    cursor: pointer;
    font-size: 15px;
	padding-left: 15px;
}
.shop-left-filters .filter-item:hover {
	color: #366ac5;
}
.shop-left-filters .filter-item.filter-unavailable {
    opacity: 0.6;
    pointer-events: none;
	color: #aaa;
    cursor: default;
}

.shop-left-filters .filter-item.disabled {
    opacity: 0.6;
    pointer-events: none;
	color: #aaa;
    cursor: default;
}

.shop-left-filters h4 {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 7%;
	color: #fff;
	padding-left: 5px;
	background: #141621;
	padding-top: 5%;
	padding-bottom: 5%;
	text-align: center;
}
.filter-block {
	margin-bottom: 7%;
}
.filter-button,
.filter-button-skip {
	width: 100%;
	margin-bottom: 5%;
}
.filter-button button.button,
.filter-button-skip a.button.reset {
	background: #366ac5;
	color: #fff;
	padding-top: 5%;
	padding-bottom: 5%;
	border-radius: 0;
	width: 90%;
	margin: 0 auto;
	display: block;
	text-align: center;
}
.filter-button button.button:hover,
.filter-button-skip a.button.reset:hover {
	background: #141621;
}
.filter-actions {
	display: block;
	margin-top: 4%;
}

/* Показуємо лише на мобільних */
@media (max-width: 799px) {
    .mobile-filter-row {
        display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 2%;
    }
	.filter-actions {
	display: block;
	margin-top: 3%;
		margin-bottom: 3%;
}
	.mobile-filter-content {
		padding: 8px 16px;
	}
	.filter-block,
	.filter-item {
		display: block;
	}
	.filter-block h4 {
		padding-bottom: 3%;
	}
	.filter-item.filter-unavailable {
    opacity: 0.6;
    pointer-events: none;
	color: #aaa;
    cursor: default;
}
	.filter-item {
		margin-bottom: 2%;
		font-size: 16px;
	}
    .mobile-filter-btn {
        background: #045cb4;
        padding: 7px 14px;
        border-radius: 6px;
        font-size: 15px;
        border: 1px solid #ddd;
        cursor: pointer;
    }

    .view-switcher {
        display: none !important;
    }
	.mobile-view-switcher {
		display: flex;
    gap: 12px;
		justify-content: space-between;
	align-items: center;		
	}
	.shop-left-filters {
		display: none;
	}
	.page-title {
		padding-bottom: 2%;
		margin-bottom: 2%;
	}
}

/* На десктопі ховаємо мобільний */
@media (min-width: 800px) {
    .mobile-filter-row,
	.mobile-filter-popup {
        display: none !important;
    }
}


/* Оверлей */
.mobile-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 998;
}

/* Контейнер мобільного фільтра */
.mobile-filter-popup {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999;
    display: block;
    flex-direction: column;
    transition: right .35s ease;
    overflow-y: auto;
}

.mobile-filter-popup.open {
    right: 0;
}

/* Шапка */
.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
	background: #141621;
}
.mobile-filter-header span {
    font-size: 16px;
	font-weight: 600;
	padding: 12px;
	color: #fff;
}

.close-filter-btn {
    background: #366ac5;
    border: none;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
	color: #fff;
	padding: 8px;
	margin-top: 2%;
	margin-bottom: 2%;
	margin-right: 3%;
}

/* приховуємо мобільний фільтр на десктопах */
@media (min-width: 800px) {
    .mobile-filter-popup,
    .mobile-filter-overlay,
    .mobile-filter-row {
        display: none !important;
    }
}
.mobile-filter-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 5px;
}