/**
* -------------------------------------------
* SINGLE PRODUCT PAGE (PDP)
* -------------------------------------------
*/
body.single-product .ct-container-full[data-vertical-spacing*=top] {
	padding-top:30px!important;
}
@media screen and (max-width:480px) {
	body.single-product .ct-container-full[data-vertical-spacing*=top] {
		padding-top:15px!important;
	}
	body.single-product .hero-section[data-type=type-1] {
		margin-bottom:15px!important;
	}
}


/* @ big screens */
/*
@media (min-width: 1025px) {
	.product-entry-wrapper.is-width-constrained {
		max-width:1380px;
		margin-bottom:90px;
		gap:4vw;
	}
	.woocommerce-product-gallery {
		width:58%!important;
	}
	body .entry-summary-items {
		width:42%!important;
		margin-inline-start:0!important;
	}
}*/
@media (min-width: 1025px) {
	.product-entry-wrapper.is-width-constrained {
		/*max-width:1400px;*/
		margin-bottom:90px;
		gap:60px;
		align-items: center!important;
	}
	.woocommerce-product-gallery {
		/*width:58%!important;*/
		visibility: visible;
	}
	body .entry-summary-items {
		/*width:42%!important;*/
		margin-inline-start:0!important;
	}
}
@media (max-width: 480px) {
	body div.woocommerce-product-gallery {
		margin-bottom:30px!important;
	}
}

/* Product title 
-------------------------------------------*/
body .entry-summary-items .product_title {
	font-size:38px;
	font-weight:600;
	margin-bottom:10px;
}
@media (max-width: 480px) {
	body .entry-summary-items .product_title {
		font-size:26px;
	}
}

/* Read more link
-------------------------------------------*/
.read-more-link {
	font-size:inherit;
	font-weight:600;
	color: var(--theme-palette-color-4);
	text-decoration:underline;
	white-space: nowrap;
}
.read-more-link:hover {
	text-decoration:none
}


/* Single product - Gallery
-------------------------------------------*/
.woocommerce-product-gallery .flexy-view,
.woocommerce-product-gallery .flexy-pills .ct-media-container,
.ct-product-gallery-container:not(:has(.flexy-view)) {
	border:solid 1px #DDD!important;
	border-radius:8px;
}
body div.woocommerce-product-gallery li.active .ct-media-container:after {
	border:solid 1px #5C5C5C;
}
.woocommerce-product-details__short-description {
	margin-bottom:0!important;
}
@media (max-width: 480px) {
	.woocommerce-product-details__short-description {
		font-size:15px;
	}
}

/* Single product - Divider
-------------------------------------------*/
body .product[class*=gallery] .entry-summary-items > .ct-product-divider {
	margin-bottom:0px;
	border:none!important;
	padding:0 0 30px 0;
}
body .product[class*=gallery] .entry-summary-items > .ct-product-divider::before {
	content:"";
	display:block;
	/*border-top:solid 1px #D9D9D9;*/
	border:none!important;
}
@media (max-width: 480px) {
	body .product[class*=gallery] .entry-summary-items > .ct-product-divider {
		padding-top:0px;
	}
	body .product[class*=gallery] .entry-summary-items > .ct-product-divider::before {
		border:none!important;
	}
}

/* Single product - Star rating and Reviews
--------------------------------------------*/
body .woocommerce-product-rating .woocommerce-review-link {
	font-size:16px;
}

/* Single product - Sale price 
-------------------------------------------*/
body .entry-summary-items .price .sale-price {
	column-gap:20px;
	row-gap:20px;
	width:100%;
	display:flex;
	flex-direction:row;
	justify-content:space-between;
}
body .entry-summary-items .price .sale-price .pricing {
	display:flex;
	flex-direction:column;
	gap:0px;
}

body .entry-summary-items .price .pricing-prefix-label {
	font-size: 16px;
}
@media (max-width: 480px) {
	body .entry-summary-items .price .pricing-prefix-label {
		margin-bottom:30px;
	}
}
body .entry-summary-items .price .sale-price .pricing .pricing-amounts {
	display:flex;
	flex-direction:row;
	gap:15px;
}
body .entry-summary-items .price .pricing-tax-label {
	font-size: 15px;
	opacity:0.7;
	font-weight:400;
}

body .entry-summary-items p.price {
	margin-top:-5px;
	margin-bottom:0!important;
	position:relative;
}
body .entry-summary-items .price .sale-price del {
	margin-bottom:0!important;
	font-size:inherit!important;
	font-weight:300!important;
	text-decoration-thickness: 1px;
	/*text-decoration-color: #777;*/
}

html[lang="hu"] body .entry-summary .price {
    --theme-font-weight: 700;
    --theme-font-size: 25px;
}

body .entry-summary-items p.price .maxi-discount-savings-badge {
    display:flex;
	flex-direction:row;
	column-gap:8px;
	align-items:center;
	justify-content: center;
    background:#FFF;
    color:inherit;
	border:dashed 1px var(--theme-palette-color-2);
	border-radius:8px;
	overflow:hidden
	
}
body .entry-summary-items p.price .maxi-discount-savings-badge span {
	display:inline-block;
}
body .entry-summary-items p.price .maxi-discount-savings-badge span.maxi-discount-savings-badge--p1 {
	font-size:16px;
	height:35px;
	line-height:35px;
	text-transform: uppercase;
	padding-left:10px;
	color:var(--theme-palette-color-2);
}
body .entry-summary-items p.price .maxi-discount-savings-badge span.maxi-discount-savings-badge--p2 {
	font-size:18px;
	font-weight:800;
	background:var(--theme-palette-color-2);
	color:#FFF;
	border-radius:5px;
	height:35px;
	line-height:35px;
	padding:0 10px;
}
body .entry-summary-items p.price .maxi-discount-savings-badge span.maxi-discount-savings-badge--p2::before {
	content:"-";
}
@media (max-width: 480px) {
	body .entry-summary-items p.price .maxi-discount-savings-badge {
		position:absolute;
		top:30px;
		left:0;
		padding:0;
	}
	body .entry-summary-items p.price .maxi-discount-savings-badge span.maxi-discount-savings-badge--p1,
	body .entry-summary-items p.price .maxi-discount-savings-badge span.maxi-discount-savings-badge--p2 {
		font-size:10px;
		height:20px;
		line-height:20px;
	}
}
/*----------------------------------------*/


/* Quantity input
-------------------------------------------*/
body .quantity input.qty,
div.quantity input[type=number] {
	border-color:#999;
	border-radius: 8px!important;
	background:var(--theme-palette-color-10);
}

/* Add to cart button
------------------------------*/
body .product[class*=gallery] .entry-summary-items>* {
	margin-bottom:20px;
}
body .entry-summary button.single_add_to_cart_button {
	font-size:22px;
	font-weight:600;
	text-transform:uppercase;
}
@media (max-width: 480px) {
	body .entry-summary .ct-cart-actions {
		
		flex-direction:column;
		gap:15px;
		
	}
	body .entry-summary .ct-cart-actions div.quantity[data-type=type-2] {
		width:100%;
	}
	body .entry-summary button.single_add_to_cart_button {
		font-size:18px;
		
		padding-top:15px;
		padding-bottom:15px;
		
	}
}

/* Product meta (stock, delivery)
------------------------------*/
.ct-product-add-to-cart .stock.out-of-stock {
	display:none;
}

.product-meta--wrap {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
	font-size:0.9em;
	gap:20px;
	border-top:solid 1px #DDD;
	padding-top:20px;
}	
.product-meta--item {
	display:flex;
	flex-direction:row;
	align-items:center;
	column-gap:6px;
	font-weight:500;
	flex-wrap:nowrap;
	white-space: nowrap;
}
.product-meta--stock.instock span,
.product-meta--delivery span,
.product-meta--payment span {
	color:var( --theme-palette-color-1 );
	white-space: nowrap;
}

.product-meta--stock.outofstock span {
	color:rgb(182, 0, 36);
}
@media (max-width: 835px) {
	.product-meta--wrap {
		margin-bottom:45px!important;
		justify-content: center;
	}
}
@media (max-width: 480px) {
	.product-meta--wrap {
		flex-direction:column;
		align-items:flex-start;
		justify-content: flex-start;
		row-gap:7px;
		column-gap: 20px;
		margin-bottom:30px!important;
		font-size:1em;
		flex-wrap: wrap;
		border-top:none;;
		padding-top:10px;
	}
	.product-meta--item {
		flex-direction:row;
	}
}

/**
Single product - Tabs
-------------------------------------------*/
.woo-custom-tabs {
	padding-top:90px;
	padding-bottom:90px;
	background-color: #f7f6f4;
}
body.single-product .woo-custom-tabs {
	padding-bottom:0px;
}
    @media (max-width: 835px) {
        .woo-custom-tabs {
            padding-top:45px;
            padding-bottom:45px;
        }
    }
    @media (max-width: 480px) {
        .woo-custom-tabs {
            padding-top:30px;
            padding-bottom:30px;
        }
    }
    .custom_product_description {
        width: var(--theme-container-width, 1200px);
        max-width: var(--theme-normal-container-max-width, 1200px);
        margin:0 auto;
        gap:45px;
        display:flex;
        flex-direction:column;
    }
    .custom_product_description--header {
        display:flex;
        flex-direction:column;
        align-items:center;
        margin-bottom:45px;
    }
    @media (min-width:482px) and (max-width: 835px) {
        .custom_product_description {
            display:flex;
            flex-direction:column;
            row-gap:45px;
        }
        .custom_product_description--header {
            margin-bottom:0px;
        }
    }
    @media (max-width: 480px) {
         .custom_product_description {
            row-gap:30px;
        }
        .custom_product_description--header {
            margin-bottom:0px;
        }
    }

    .custom_product_description .woo-custom-tab-title {
        text-align:center;
        margin:0!important;
        order:2;
        font-size:42px;
        font-family:"Quicksand", serif!important;
		font-weight:400;
    }
    @media (max-width: 835px) {
        .custom_product_description .woo-custom-tab-title {
            font-size:32px;
            text-align:left;
        }
    }
    @media (max-width: 480px) {
        .custom_product_description .woo-custom-tab-title {
            font-size:24px;
            text-align:left;
        }
    }
    .custom_product_description h3 {
        font-size:36px;
        margin-bottom:0px!important;
        font-weight:500;
        font-family:"Quicksand", serif!important;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		flex-wrap:nowrap;
		gap:12px;
    }
    @media (max-width: 480px) {
        .custom_product_description h3 {
            font-size:24px;
        }
    }
    .custom_product_description .subtitle {
        font-size:18px;
        color:#666666;
        text-transform:uppercase;
        margin-bottom:10px;
        order:1;
    }
     @media (max-width: 480px) {
        .custom_product_description .subtitle {
            font-size:14px;
            margin-bottom:5px;
        }
    }

.custom_product_description > div:nth-child(2):not(.custom_product_additional_info) > div:nth-child(1),
.custom_product_description > div:nth-child(3):not(.custom_product_additional_info) > div:nth-child(2),
.custom_product_description > div:nth-child(4):not(.custom_product_additional_info) > div:nth-child(1),
.custom_product_description > div:nth-child(5):not(.custom_product_additional_info) > div:nth-child(2) {
	/*border:solid 1px red;*/
	flex-basis:35%;
}
.custom_product_description > div:nth-child(2):not(.custom_product_additional_info) > div:nth-child(2),
.custom_product_description > div:nth-child(3):not(.custom_product_additional_info) > div:nth-child(1),
.custom_product_description > div:nth-child(4):not(.custom_product_additional_info) > div:nth-child(2),
.custom_product_description > div:nth-child(5):not(.custom_product_additional_info) > div:nth-child(1) {
	/*border:solid 1px red;*/
	flex-basis:65%;
	gap:15px;
}

.custom_product_additional_info {
	display:flex;
	flex-direction:row;
	gap:1.8vw;
	margin-top:45px;
	margin-bottom:110px;
}
.ideal_buyer_section {
	width:50%;
	display:inline-flex;
	flex-direction: column;
	padding:30px;
	background:#fff;
	border-radius:8px;
}

.ideal_buyer_section p,
.ideal_buyer_section ul {
	margin-bottom:15px;
	line-height:1.5em;
}
.ideal_buyer_section ul {
	text-align:left;
	padding-inline-start:25px;
}

.custom_product_description .ideal_buyer_section h3 {
	margin-bottom:15px!important;
}

@media (max-width: 835px) {
	.custom_product_additional_info {
		display:flex;
		flex-direction:column;
		gap:30px;
		margin-top:0px;
		margin-bottom:60px;
	}
	.ideal_buyer_section {
		width:100%!important;
	}
}

@media (max-width: 481px) {
	.custom_product_description {
		display:flex;
		flex-direction:column;
		gap:30px;
		padding-bottom:45px;
	}
	.custom_product_description .ideal_buyer_section h3 {
		margin-bottom:15px!important;
	}
	.custom_product_description ul {
		padding-inline-start:15px;
		margin-bottom:15px!important;
	}
	.custom_product_description > div {
		flex-direction: column;
		row-gap:0px;
		align-items:flex-start;
	}
	.custom_product_description > div:nth-child(2):not(.custom_product_additional_info) > div:nth-child(1),
	.custom_product_description > div:nth-child(3):not(.custom_product_additional_info) > div:nth-child(2),
	.custom_product_description > div:nth-child(4):not(.custom_product_additional_info) > div:nth-child(1),
	.custom_product_description > div:nth-child(2):not(.custom_product_additional_info) > div:nth-child(2),
	.custom_product_description > div:nth-child(3):not(.custom_product_additional_info) > div:nth-child(1),
	.custom_product_description > div:nth-child(4):not(.custom_product_additional_info) > div:nth-child(2),
	.custom_product_description > div:nth-child(5):not(.custom_product_additional_info) > div:nth-child(2),
	.ideal_buyer_section {
		flex-basis:100%!important;
		width:100%!important;
		padding: 0 !important;
	}
	.custom_product_description > div:nth-child(2):not(.custom_product_additional_info) > div:nth-child(1),
	.custom_product_description > div:nth-child(3):not(.custom_product_additional_info) > div:nth-child(2),
	.custom_product_description > div:nth-child(4):not(.custom_product_additional_info) > div:nth-child(1),
	.custom_product_description > div:nth-child(5):not(.custom_product_additional_info) > div:nth-child(2) {
		margin-bottom:25px;
	}
	.custom_product_description > div:nth-child(3):not(.custom_product_additional_info) > div:nth-child(1),
	.custom_product_description > div:nth-child(5):not(.custom_product_additional_info) > div:nth-child(1) {
		order:2;
	}
	.custom_product_description > div > div {
		gap:15px;
		font-size:15px;
	}
	.custom_product_description > div.custom_product_additional_info {
		row-gap:15px!important;
	}
	.custom_product_description .ideal_buyer_section {
		background:none!important;
		padding:0!important;
		gap:0!important;
	}
	.custom_product_description h3 {
		font-size:24px;
		margin:0;
		padding:0;
	}
	.custom_product_additional_info {
		flex-direction:column;
		row-gap:0px!important;
		margin: 0!important;
	}
}


/*
@media (max-width: 834px) {
	.wp-block-post-content > div:nth-child(1),
	.wp-block-post-content > div:nth-child(2),
	.wp-block-post-content > div:nth-child(3) {
		flex-direction: column;
	}
	.wp-block-post-content > div:nth-child(2) > div:nth-child(2) {
		order:1;
	}
	.wp-block-post-content > div:nth-child(2) > div:nth-child(1) {
		order:2;
	}

	.wp-block-post-content > div:nth-child(1) > div:nth-child(1),
	.wp-block-post-content > div:nth-child(2) > div:nth-child(2),
	.wp-block-post-content > div:nth-child(3) > div:nth-child(1) {
		aspect-ratio: 1/1;
		width:100%
	}
}
	*/


/**
Single product - Floating add to cart bar
-------------------------------------------*/
@media screen and (min-width:1024px) {

	body .ct-drawer-canvas[data-floating-bar] {
		--floating-bar-height: 140px;
		/*background:#608c58!important;*/
	}
	body .ct-floating-bar {
		height: 140px!important;
		/*background:#608c58!important;*/
		border-top:solid 1px #ddd;
	}
	.ct-drawer-canvas[data-floating-bar] .ct-media-container {
		max-width:100px;
		border:solid 1px #ddd;
		border-radius:8px;
	}

	.ct-drawer-canvas[data-floating-bar] .product-title,
	.ct-drawer-canvas[data-floating-bar] .product-price * {
		color:#333!important;
	}
	.ct-drawer-canvas[data-floating-bar] .product-title {
		font-size: 1.3em;
		font-weight:600;
	}

	.ct-drawer-canvas[data-floating-bar] .button {
		min-height:50px;
		font-size:18px;
		padding-left:40px;
		padding-right:40px;
		background:var(--theme-palette-color-2);
	}
	.ct-drawer-canvas[data-floating-bar] .button:hover {
		background:var(--theme-palette-color-1);
	}
	.ct-drawer-canvas[data-floating-bar] div.quantity input[type=number] {
		height:50px;
		font-size:18px;
	}
	.ct-floating-bar .quantity[data-type=type-2] {
		height:50px!important;
	}
	.ct-floating-bar .quantity[data-type=type-2] .ct-increase, .ct-floating-bar .quantity[data-type=type-2] .ct-decrease {
		top: 50%!important;
		transform: translateY(-50%)!important;
	}
}
@media screen and (max-width:481px) {
	body .ct-drawer-canvas[data-floating-bar] .product-price * {
		font-size:14px!important;
	}
}