/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


body {
	font-family: Mulish, Sans-Serif;
}

h1,
h2,
h3,
h4 h5,
h6 {
	font-family: Mulish, Sans-Serif;
}


.section__front_slider {
	background: #212121;
	color: #ffffff;
	margin-top: 120px;
	position: relative;
}

.section__front_slider .ct-container {
	height: 100%;
}

.container__two_grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	min-height: 560px;
}

.half__container {
	position: relative;
	height: 100%;
}

.half__container.flex__center {
	display: flex;
	align-items: center;
}

.section__front_slider .btn-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 193px;
	height: 40px;
	background: #fff;
	color: #212121;
	font-size: 16px;
	font-weight: 700;
	margin-top: 50px;
}

.section__main_cat {
	padding: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
}

.section__main_cat .main__cat_card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	text-align: center;
	color: #757575;
	font-size: 16px;
	font-weight: 700;
}

.section__main_cat .main__cat_card:hover,
.section__main_cat .main__cat_card:focus {
	color: #212121;
}

.main__cat_img {
	width: 100px;
	height: 100px;
}

.section__body {
	padding: 50px 0;
}

.section__buy_gurt {
	padding: 50px 0;
}

.gurt__container {
	background: #212121;
	color: #ffffff;
	padding: 100px 20px 90px;
}

.section__buy_gurt h2 {
	color: #fff;
	font-size: 40px;
	font-weight: 900;
	margin-bottom: 15px;
	line-height: 1;
}

.gurt__wrap {
	max-width: 840px;
	display: flex;
	gap: 30px;
	justify-content: space-between;
	margin: 0 auto;
}

.section__buy_gurt .wpforms-field-medium {
	width: 100%;
}

button.wpforms-submit {
	background: #fff;
	color: #212121;
	min-height: 40px;
	padding: 0 20px;
	font-weight: 700;
}

.gurt__wrap .gurt_left {
	max-width: 330px;
}

.section__shop {
	padding: 50px 0;
}

.section__title {
	font-size: 32px;
	font-weight: 700;
	color: #000;
	line-height: 1;
}

.section__shop_grey {
	background: #f5f5f5;
	padding: 20px 0 50px;
	position: relative;
}

.section__shop_grey:after {
	position: absolute;
	content: "";
	left: 0;
	right: 0;
	top: 0;
	height: 62px;
	background: #ffffff;
}

.section__shop_grey .tabs__shop {
	position: relative;
	z-index: 1;
}

.section__banner {
	background: url('img/banner_3.png')no-repeat;
	position: relative;
	background-size: cover;
}

.bottom__center_content {
	position: absolute;
	content: '';
	left: 0;
	right: 0;
	bottom: 50px;
	text-align: center;
}

.btn__black {
	width: 196px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: #212121;
	font-weight: 700;
	margin: 0 auto;
}

.front__section_slider {
	position: relative;
}

.tab-buttons {
	display: flex;
	border-bottom: 1px solid #eee;
}

.tab-buttons button {
	padding: 11px 10px;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	color: #757575;
	background: transparent;
}

.tab-buttons button.active {
	color: #000;
	background: #fff;
	border-bottom: 2px solid #000;
}

.tab-content {
	display: none;
	border-top: none;
}

.tab-content.active {
	display: block;
	padding-top: 20px;
}

.swiper__buttons {
	position: absolute;
	z-index: 2;
	left: -22px;
	right: -22px;
	top: 35%;
	display: flex;
	justify-content: space-between;
}

.section__collection_content .swiper__buttons {
	top: 42%;
}

.swiper__btn {
	display: flex !important;
	justify-content: center;
	align-items: center;
	width: 32px;
	height: 32px;
	background: #fff;
	border: 1px solid #e0e0e0;
}

.swiper__btn:hover,
.swiper__btn:focus {
	cursor: pointer;
}

.swiper__btn.tabPrev .btn__arrow,
.swiper__btn.tabNext .btn__arrow,
.swiper__btn.zhinkamPrev .btn__arrow,
.swiper__btn.zhinkamNext .btn__arrow,
.swiper__btn.collectionPrev .btn__arrow,
.swiper__btn.collectionNext .btn__arrow {
	display: block;
	width: 12px;
	height: 12px;
	background: #eee;
	-webkit-mask: url('img/arrow_swiper.svg')no-repeat;
	mask: url('img/arrow_swiper.svg')no-repeat;
}

.swiper__btn.tabPrev .btn__arrow,
.swiper__btn.zhinkamPrev .btn__arrow,
.swiper__btn.collectionPrev .btn__arrow {
	transform: rotate(180deg);
}

.swiper__btn:hover .btn__arrow,
.swiper__btn:focus .btn__arrow {
	background: #757575;
}

.section__collections {
	padding: 50px 0;
	position: relative;
}

.section__collection_content {
	position: relative;
}

.collection_card {
	display: flex;
	flex-direction: column;
	gap: 15px;
	transition: 300ms ease;
}

.collection_img {
	width: 100%;
	padding-top: 100%;
}

.collection_title {
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	color: #757575;
}

.collection_card:hover .collection_title {
	color: #212121;
}



/*   WOO  */
.front__section_slider .woocommerce .products {
	grid-column-gap: 0 !important;
}

.sale-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	column-gap: 5px;
	flex-direction: row-reverse;
}

ul.products span.price {
	text-align: right;
}

.sale-price del bdi {
	color: #212121;
}

[data-products] .product .price {
	--theme-text-color: #212121;
}

.sale-price ins bdi {
	color: #D50000;
}


@media (max-width:599px) {
	.section__main_cat {
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		cursor: grab;
		justify-content: left;
	}
}


@media (max-width: 767px) {
	.gurt__wrap {
		flex-direction: column;
	}

	.section__banner {
		height: 300px;
	}
}



@media (min-width: 768px) {
	.gurt__wrap .gurt_left {
		flex: 0 0 330px;
	}

	.gurt__wrap .gurt_right {
		flex: 0 0 415px;
	}

	.section__banner {
		height: 640px;
	}
}



@media (max-width: 1199px) {
	.front__slider_img {
		position: absolute;
		content: "";
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
	}

	.half__container {
		display: none;
	}
}


@media (min-width: 1200px) {
	.front__slider_img {
		position: absolute;
		content: "";
		left: 50%;
		right: 0;
		top: 0;
		bottom: 0;
	}
}







.shop-view-switcher {
	display: flex;
	align-items: center;
	gap: 12px;
}

.shop-view-switcher button {
	width: 32px;
	height: 32px;

	display: flex;
	align-items: center;
	justify-content: center;

	border: none;
	background: transparent;
	cursor: pointer;

	color: #bdbdbd;
	transition: .2s;
}

.shop-view-switcher button.active {
	color: #555;
}

.shop-view-switcher button:hover {
	color: #777;
}

ul.products.products-view-1 {
	--shop-columns: repeat(1, minmax(0, 1fr)) !important;
}

ul.products.products-view-2 {
	--shop-columns: repeat(2, minmax(0, 1fr)) !important;
}

ul.products.products-view-3 {
	--shop-columns: repeat(3, minmax(0, 1fr)) !important;
}






.woocommerce-ordering {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: auto;
	margin: 0;
}

.woocommerce-ordering select.orderby {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
	width: 100%;
	height: 100%;
}

.custom-ordering-label {
	position: relative;
	z-index: 1;

	display: inline-flex;
	align-items: center;
	gap: 4px;

	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: #212121;

	white-space: nowrap;
}

.custom-ordering-label span {
	font-size: 11px;
	transform: translateY(-1px);
	pointer-events: none;
}

.woocommerce-ordering .ct-sort-icon {
	display: none !important;
}

.shop-filter-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;

	border: none;
	background: transparent;
	padding: 0;

	font-size: 18px;
	font-weight: 500;
	color: #212121;

	cursor: pointer;
}

.shop-filter-button svg {
	width: 26px;
	height: 26px;
}

.shop-filters-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	opacity: 0;
	visibility: hidden;
	z-index: 99998;
	transition: 0.25s ease;
}

.shop-filters-overlay.active {
	opacity: 1;
	visibility: visible;
}

.shop-filters-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: 360px;
	max-width: 90vw;
	height: 100vh;
	background: #fff;
	z-index: 99999;
	padding: 24px;
	overflow-y: auto;
	transform: translateX(-100%);
	transition: 0.25s ease;
}

.shop-filters-drawer.active {
	transform: translateX(0);
}

.shop-filters-close {
	margin-left: auto;
	display: flex;
	font-size: 28px;
	background: transparent;
	border: 0;
	cursor: pointer;
}

body.shop-filters-open {
	overflow: hidden;
}

@media (max-width: 768px) {
	.shop-filters-drawer {
		width: 85vw;
		padding: 20px;
	}
}

.shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 20px 0;
	width: 100%;
}

.shop-toolbar-left {
	display: flex;
	align-items: center;
	gap: 24px;
}

.shop-toolbar-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.shop-filter-button {
	display: flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	padding: 0;
	font-size: 16px;
	cursor: pointer;
}

@media (max-width: 768px) {

	.shop-toolbar {
		margin: 16px 0;
	}

	.shop-toolbar-left {
		gap: 16px;
	}
}

.shop-child-categories::-webkit-scrollbar {
	display: none;
}

.shop-child-categories {
	display: flex;
	gap: 8px;
	overflow-x: auto;

	padding-bottom: 6px;
	margin-bottom: 24px;

	scrollbar-width: none;

	/*border-bottom: 1px solid #e5e5e5;*/
	padding-top: 12px;
	padding-bottom: 16px;
}

.shop-child-categories::-webkit-scrollbar {
	display: none;
}

.shop-child-category {
	display: flex;
	align-items: center;
	justify-content: center;

	min-height: 42px;

	padding: 0 18px;

	border: 1px solid #dcdcdc;

	background: #fff;

	color: #111;

	font-size: 14px;
	font-weight: 500;

	text-decoration: none;

	white-space: nowrap;

	transition: all .2s ease;
}

.shop-child-category:hover {
	border-color: #111;
	color: #111;
}

.woo-listing-top {
	display: block;
}

@media (min-width: 1025px) {
  .shop-filter-button {
    display: none !important;
  }
}

.kk-clear-options,
.kk-add-to-cart,
.kk-remove-from-cart {
  width: 100%;
  margin-top: 10px;
  min-height: 40px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.kk-clear-options {
  background: transparent;
  color: #555;
  text-decoration: underline;
}

.kk-add-to-cart {
  background: #212121;
  color: #fff;
}

.kk-remove-from-cart {
  background: #d50000;
  color: #fff;
}

.ct-woo-card-actions {
    width: 100%;
}

.ct-woo-card-actions .button,
.ct-woo-card-actions .added_to_cart,
.wvs-add-to-cart-button {
    width: 100% !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.wvs_archive_reset_variations {
    width: 100%;
    margin-top: 10px;
}

.wvs_archive_reset_variations_link {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ct-woo-card-actions {
    order: 999;
    margin-top: 15px;
}

.ct-woo-card-actions:has(.added_to_cart) .wvs-add-to-cart-button {
    display: none !important;
}

.woocommerce-loop-product__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: calc(1.4em * 2);
}

.single-product table.variations th.label,
.single-product table.variations td.label {
    display: none !important;
}

form.variations_form table.variations tr:not(:last-child){
	margin-bottom:0;
}

.reset_variations{
	display: none !important;
}

@media (max-width: 599px) {
    .shop-filters-drawer {
        width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        top: 0 !important;
        z-index: 999999 !important;
    }

    .shop-filters-drawer .wc-block-product-filters__open-overlay {
        display: none !important;
    }

    .shop-filters-drawer .wc-block-product-filters__overlay,
    .shop-filters-drawer .wc-block-product-filters__overlay-wrapper,
    .shop-filters-drawer .wc-block-product-filters__overlay-dialog {
        display: block !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: transparent !important;
    }

    .shop-filters-drawer .wc-block-product-filters__overlay-header {
        display: none !important;
    }

    .shop-filters-drawer .wc-block-product-filters__overlay-content {
        display: block !important;
    }

    .shop-filters-drawer .wc-block-product-filters__overlay-footer {
        position: sticky !important;
        bottom: 0 !important;
        background: #fff !important;
        z-index: 2 !important;
    }
}



.front__section_slider .products.swiper-wrapper {
    align-items: stretch !important;
}

.front__section_slider li.wvs-archive-product-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 470px !important;
}

.front__section_slider li.wvs-archive-product-wrapper figure {
    min-height: 205px;
}

.front__section_slider li.wvs-archive-product-wrapper .woocommerce-loop-product__title {
    min-height: 42px;
}

.front__section_slider li.wvs-archive-product-wrapper .price {
    min-height: 50px;
}

.front__section_slider li.wvs-archive-product-wrapper .wvs-archive-variations-wrapper {
    min-height: 115px;
}

.front__section_slider li.wvs-archive-product-wrapper .ct-woo-card-actions {
    order: 999;
    margin-top: auto !important;
}








/* Mobile product cards fix */
@media (max-width: 767px) {

  .swiper-slide.wvs-archive-product-wrapper,
  .wvs-archive-product-wrapper.product {
    box-sizing: border-box;
  }

  .front__section_slider li.wvs-archive-product-wrapper {
    min-height: 420px !important;
  }

  .front__section_slider li.wvs-archive-product-wrapper figure {
    min-height: 185px !important;
  }

  .front__section_slider li.wvs-archive-product-wrapper .price {
    min-height: 44px !important;
  }

  .front__section_slider li.wvs-archive-product-wrapper .wvs-archive-variations-wrapper {
    min-height: 64px !important;
  }

  .wvs-archive-product-wrapper figure {
    margin-bottom: 6px !important;
  }

  .wvs-archive-product-wrapper .woocommerce-loop-product__title {
    margin: 4px 0 2px !important;
    min-height: 36px;
    line-height: 1.25;
    font-size: 14px;
  }

  .wvs-archive-product-wrapper .price {
    display: block;
    margin: 2px 0 0 !important;
    line-height: 1.2;
  }

  .wvs-archive-product-wrapper .wvs-archive-variations-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .wvs-archive-product-wrapper .variations {
    margin: 0 !important;
    padding: 0 !important;
  }

  .wvs-archive-product-wrapper .woo-variation-items-wrapper {
    margin: 0 0 4px !important;
    padding: 0 !important;
  }

  .wvs-archive-product-wrapper .woo-variation-items-wrapper:last-child {
    margin-bottom: 0 !important;
  }

  .wvs-archive-product-wrapper .variable-items-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .wvs-archive-product-wrapper .variable-item {
    margin: 0 !important;
  }

  .wvs-archive-product-wrapper .color-variable-item {
    width: 22px !important;
    height: 22px !important;
  }

  .wvs-archive-product-wrapper .button-variable-item {
    min-width: 26px !important;
    height: 26px !important;
    font-size: 12px;
  }

  .wvs-archive-product-wrapper .ct-woo-card-actions {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
  }

  .wvs-archive-product-wrapper .ct-woo-card-actions .button {
    min-height: 36px;
    padding: 8px 10px !important;
    font-size: 13px;
    line-height: 1.2;
  }
}




/* Single product: spacing after color/size options */
@media (max-width: 767px) {

  body.single-product form.variations_form table.variations:not(:first-child) {
    margin-bottom: 16px !important;
  }

  body.single-product form.variations_form .single_variation_wrap {
    margin-top: 16px !important;
  }
}

/* Single product: spacing between color and size options */
@media (max-width: 767px) {

  body.single-product form.variations_form table.variations {
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    margin-bottom: 16px !important;
  }

  body.single-product form.variations_form table.variations tr {
    display: block !important;
    margin-bottom: 10px !important;
  }

  body.single-product form.variations_form table.variations tr:last-child {
    margin-bottom: 0 !important;
  }

  body.single-product form.variations_form table.variations td.value {
    display: block !important;
    padding: 0 !important;
  }

  body.single-product .single-product-variable-items.variable-items-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

.product[class*="gallery"] .entry-summary-items > *:not(:first-child) {
  margin-bottom: 0 !important;
  margin-bottom: 10px !important;
}

.woocommerce-product-details__short-description > :first-child {
  margin-block-end: 0 !important;
}

body.single-product .entry-summary-items > .ct-product-divider[data-id="divider_1"] {
  margin: -10px 0  0 0 !important;
}