/* Single product: gallery, summary, quantity and related headings */

/* Entry summary */
.ast-woocommerce-container .product .entry-summary{
	padding-left:20px;
	padding-right:20px;
	padding-top:20px;
	padding-bottom:20px;
	background-color:#f9f9f9;
	border-top-left-radius:30px;
	border-top-right-radius:30px;
	border-bottom-left-radius:30px;
	border-bottom-right-radius:30px;
	
}
/* Inhale card discount */
.entry-summary .price .inhale-card-discount{
	background-color:#a7dd66;
	color:#ffffff;
	padding-right:10px;
	padding-left:10px;
	
}

.entry-summary .price del {
	color:#28352c !important;
	opacity:1 !important;
}

.entry-summary .price ins,
.entry-summary .price > .woocommerce-Price-amount {
	color:#28352c !important;
	text-decoration:none !important;
}
/* Single product product-section headings */
body.single-product .related.products > h2,
body.single-product .upsells.products > h2,
body.single-product .up-sells.products > h2,
body.single-product .cross-sells > h2,
body.single-product .recently-viewed-products > h2,
body.single-product .widget_recently_viewed_products .widget-title,
body.single-product .woocommerce h2:not(.woocommerce-loop-product__title) {
	text-transform: uppercase;
}

body.single-product .ast-woocommerce-container > .products > h2 {
	padding-top:30px;
}

/* Product accordion */
#tab-description,
#tab-weinhale_nutrition,
#tab-additional_information,
#tab-reviews,
#tab-weinhale_disclaimer {
	margin-bottom:0px;
}

.ast-woocommerce-container .product .ast-woocommerce-accordion {
	padding-top:20px !important;
	margin-bottom:20px !important;
}

.ast-woocommerce-container .product .ast-woocommerce-accordion .ast-single-tab {
	border-color:#dce3e6;
	transition:color 160ms ease, border-color 160ms ease;
	cursor:pointer;
}

.ast-woocommerce-accordion .ast-single-tab .ahfb-svg-iconset {
	font-size:14px;
	transition:color 160ms ease;
}

.ast-woocommerce-container .product .ast-woocommerce-accordion .ast-single-tab:hover,
.ast-woocommerce-container .product .ast-woocommerce-accordion .ast-single-tab:hover .ast-accordion-header,
.ast-woocommerce-container .product .ast-woocommerce-accordion .ast-single-tab:hover .ast-accordion-header button,
.ast-woocommerce-container .product .ast-woocommerce-accordion .ast-single-tab:hover .ast-accordion-title,
.ast-woocommerce-container .product .ast-woocommerce-accordion .ast-single-tab:hover .ahfb-svg-iconset {
	color:#a7dd66 !important;
}

.ast-woocommerce-container .product .ast-woocommerce-accordion .ast-single-tab:hover {
	border-color:#a7dd66;
}

.weinhale-product-disclaimer p {
	margin:0 0 16px;
}

.weinhale-product-disclaimer p:last-child {
	margin-bottom:0;
}

.weinhale-product-disclaimer .weinhale-vmvt-download {
	color:#a7dd66;
	font-weight:800;
	text-decoration:underline;
}

/* Minus */
.cart .quantity .minus{
	border-top-left-radius:30px;
	border-bottom-left-radius:30px;
}

/* Plus */
.cart .quantity .plus{
	border-top-right-radius:30px;
	border-bottom-right-radius:30px;
}

/* Button */
.entry-summary .cart .single_add_to_cart_button{
	height:40px;
}

/* Variation swatches: keep long attribute labels from colliding with pills */
.woocommerce div.product form.cart .variations tr {
	display:flex !important;
	flex-wrap:wrap !important;
	align-items:flex-start;
	column-gap:16px;
	row-gap:10px;
}

.woocommerce div.product form.cart .variations td.label,
.woocommerce div.product form.cart .variations th.label {
	display:flex !important;
	align-items:center;
	flex:0 0 auto;
	width:auto !important;
	max-width:100%;
	min-height:44px;
	padding:0 !important;
	line-height:1.1;
	white-space:nowrap;
}

.woocommerce div.product form.cart .variations td.value {
	display:flex;
	flex:1 1 260px;
	flex-wrap:wrap;
	align-items:center;
	gap:10px 14px;
	width:auto !important;
	min-width:0;
	padding:0 !important;
}

.woocommerce div.product form.cart .variations .cfvsw-swatches-container {
	display:flex;
	flex:1 1 auto;
	flex-wrap:wrap;
	align-items:center;
	gap:10px 14px;
	min-width:0;
}

.woocommerce div.product form.cart .variations .reset_variations {
	flex-basis:100%;
	margin-left:0 !important;
}

@media (max-width: 544px) {
	.woocommerce div.product form.cart .variations td.label,
	.woocommerce div.product form.cart .variations th.label,
	.woocommerce div.product form.cart .variations td.value {
		flex-basis:100%;
	}
}
/* Post image */
.woocommerce-product-gallery__wrapper a .wp-post-image{
	border-top-left-radius:30px;
	border-top-right-radius:30px;
	border-bottom-left-radius:30px;
	border-bottom-right-radius:30px;
}
/* Thumbnail Image */
#ast-vertical-slider-inner .ast-woocommerce-product-gallery__image img{
	border-top-left-radius:30px;
	border-top-right-radius:30px;
	border-bottom-left-radius:30px;
	border-bottom-right-radius:30px;
	
}

/* Single product brand logo */
.single-product .single-product-brand-logo-wrap {
	display:flex;
	align-items:center;
	justify-content:flex-start;
	margin:10px 0 22px;
}

.single-product .single-product-brand-logo-link {
	display:inline-flex;
	align-items:center;
	text-decoration:none;
}

.single-product .single-product-brand-logo {
	display:block;
	width:auto !important;
	max-width:60px !important;
	height:auto !important;
	object-fit:contain;
}

/* Estimated delivery row */

.single-product .inhale-estimated-delivery {
            font-size: 18px;
            line-height: 1.4;
            color: #4b5258;
            margin: 18px 0 22px 0;
            padding-bottom: 18px;
            border-bottom: 1px solid #e2e6e8;
        }

        .single-product .inhale-estimated-delivery span {
            font-weight: 400;
        }

        .single-product .inhale-estimated-delivery strong {
            font-weight: 700;
        }

/* Product page quantity discount table */
.rp_wcdpd_product_page {
	margin: 22px 0 28px;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.rp_wcdpd_product_page_title {
	margin-bottom: 10px;
	font-size: 22px;
	font-weight: 800;
	color: #3f4650;
	text-transform: uppercase;
}

.rp_wcdpd_pricing_table table {
	width: 100%;
	max-width: 955px;
	margin: 0 auto !important;
	border-collapse: separate !important;
	border-spacing: 20px 0 !important;
	table-layout: fixed;
	background: transparent !important;
	border: 0 !important;
}

.rp_wcdpd_pricing_table td {
	width: 33.333%;
	text-align: center;
	background: #f2f3f4 !important;
	border: 1px solid #dfe4e8 !important;
	transition: 0.18s ease;
}

.rp_wcdpd_pricing_table tr:first-child td {
	padding: 10px 14px !important;
	border-bottom: 0 !important;
	border-radius: 14px 14px 0 0;
}

.rp_wcdpd_pricing_table tr:last-child td {
	padding: 14px 14px 18px !important;
	border-top: 1px solid #d8dde2 !important;
	border-radius: 0 0 14px 14px;
}

.rp_wcdpd_pricing_table_quantity {
	display: block;
	font-size: 17px;
	font-weight: 800;
	color: #3f4650;
	line-height: 1.2;
}

.rp_wcdpd_pricing_table_quantity::before {
	content: "Kiekis";
	display: block;
	margin-bottom: 7px;
	font-size: 12px;
	font-weight: 800;
	color: #747b84;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.rp_wcdpd_pricing_table_product_price,
.rp_wcdpd_pricing_table_product_price .woocommerce-Price-amount {
	display: block;
	font-size: 27px;
	font-weight: 900;
	color: #9bd957 !important;
	line-height: 1.1;
}

.rp_wcdpd_pricing_table tr:first-child td:last-child,
.rp_wcdpd_pricing_table tr:last-child td:last-child {
	background: #aee56d !important;
	border-color: #aee56d !important;
}

.rp_wcdpd_pricing_table tr:last-child td:last-child {
	border-top: 0 !important;
}

.rp_wcdpd_pricing_table tr:first-child td:last-child *,
.rp_wcdpd_pricing_table tr:last-child td:last-child *,
.rp_wcdpd_pricing_table tr:last-child td:last-child .woocommerce-Price-amount {
	color: #203126 !important;
}

.rp_wcdpd_pricing_table tr:first-child td:last-child {
	position: relative;
	padding-top: 22px !important;
}

.rp_wcdpd_pricing_table tr:first-child td:last-child::before {
	content: "Geriausia kaina";
	display: inline-block;
	margin-bottom: 7px;
	padding: 6px 16px;
	border-radius: 999px;
	background: #203126;
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.rp_wcdpd_pricing_table td:hover {
	transform: translateY(-4px);
	filter: brightness(0.97);
	cursor: pointer;
}

@media (max-width: 768px) {
	.rp_wcdpd_product_page {
		margin: 18px 0 22px;
	}

	.rp_wcdpd_product_page_title {
		margin-bottom: 14px;
		font-size: 18px;
		text-align: center;
	}

	.rp_wcdpd_pricing_table table {
		max-width: 100% !important;
		border-spacing: 6px 0 !important;
	}

	.rp_wcdpd_pricing_table tr:first-child td {
		padding: 12px 5px 8px !important;
		border-radius: 10px 10px 0 0;
	}

	.rp_wcdpd_pricing_table tr:last-child td {
		padding: 8px 5px 12px !important;
		border-radius: 0 0 10px 10px;
	}

	.rp_wcdpd_pricing_table_quantity {
		font-size: 13px !important;
	}

	.rp_wcdpd_pricing_table_quantity::before {
		margin-bottom: 4px;
		font-size: 9px;
		letter-spacing: 0.2px;
	}

	.rp_wcdpd_pricing_table_product_price,
	.rp_wcdpd_pricing_table_product_price .woocommerce-Price-amount {
		font-size: 19px !important;
	}

	.rp_wcdpd_pricing_table tr:first-child td:last-child {
		padding-top: 8px !important;
	}

	.rp_wcdpd_pricing_table tr:first-child td:last-child::before {
		content: "Geriausia";
		margin-bottom: 6px;
		padding: 4px 8px;
		font-size: 8px;
	}

	.rp_wcdpd_pricing_table td:hover {
		transform: none;
		filter: none;
	}
}

/* Product label gallery under the main image */
.label-gallery-milinuts-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	margin-top: 20px;
}

.label-gallery-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 92px;
	gap: 7px;
	text-align: center;
}

.label-gallery-imgbox {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 92px;
}

.label-gallery-imgbox img {
	display: block;
	width: auto;
	height: auto;
	max-width: 82px;
	max-height: 82px;
	object-fit: contain;
}

.label-gallery-caption {
	min-height: 30px;
	color: #4b4f58;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

@media (max-width: 767px) {
	.label-gallery-milinuts-wrap {
		gap: 14px;
		margin-top: 18px;
	}

	.label-gallery-item,
	.label-gallery-imgbox {
		width: 88px;
	}

	.label-gallery-imgbox {
		height: 88px;
	}

	.label-gallery-imgbox img {
		max-width: 78px;
		max-height: 78px;
	}

	.label-gallery-caption {
		min-height: 30px;
		font-size: 12px;
	}
}

@media (max-width: 390px) {
	.label-gallery-milinuts-wrap {
		gap: 10px;
	}

	.label-gallery-item,
	.label-gallery-imgbox {
		width: 82px;
	}

	.label-gallery-imgbox {
		height: 82px;
	}

	.label-gallery-imgbox img {
		max-width: 72px;
		max-height: 72px;
	}
}

/* WPLoyalty product/review messages on product pages */
.single-product .wlr-product-message {
	display: inline-flex !important;
	align-items: center;
	width: auto !important;
	margin: 0 0 12px !important;
	padding: 10px 14px !important;
	border-radius: 16px !important;
}

.single-product .wlr-product-message::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 8px;
	background: url("https://weinhale.com/wp-content/uploads/2026/05/cropped-inhale-pilkas-1.svg") no-repeat center center;
	background-size: contain;
	vertical-align: middle;
}

.single-product .wlr-product-message .wlr-more-link {
	margin-left: 8px;
	font-weight: 400;
	text-decoration: underline;
}

.single-product .entry-summary .wlr-product-message a {
	color: #000;
}

.single-product #commentform .wlr-product-review-message {
	position: relative;
	top: -15px;
	padding: 10px;
	border-radius: 30px;
	background-color: #94b200;
	color: #fff;
}

/* Out of stock product page message */
.single-product .inhale-oos-message {
	display:block;
	margin:12px 0 22px;
	color:#e00000;
	font-size:18px;
	font-weight:700;
	line-height:1.4;
}

body.single-product.weinhale-product-oos .ast-stock-detail,
body.single-product.weinhale-product-oos .stock.out-of-stock,
body.single-product.weinhale-product-oos .woocommerce-variation-availability,
body.single-product.weinhale-product-oos .availability {
	display:none !important;
}

body.single-product.weinhale-product-oos .inhale-estimated-delivery,
body.single-product.weinhale-product-oos form.cart,
body.single-product.weinhale-product-oos .variations_form,
body.single-product.weinhale-product-oos .single_variation_wrap,
body.single-product.weinhale-product-oos .variations,
body.single-product.weinhale-product-oos .quantity,
body.single-product.weinhale-product-oos .single_add_to_cart_button,
body.single-product.weinhale-product-oos #rp_wcdpd_pricing_table_variation_container {
	display:none !important;
}
