/*
Theme Name: Glozin Child
Theme URI: https://wpglozin.com/
Author: UIXThemes
Author URI: https://uix.store
Description: Multipurpose WooCommerce WordPress Theme
Version: 1.0.1
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 7.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glozin
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: glozin
*/

/* Age Gate presentation polish */
.age-gate-background-color,
.age-gate__background-color {
	background: rgba(65, 19, 34, 0.68) !important;
	opacity: 1 !important;
}

.age-gate {
	border: 1px solid rgba(65, 19, 34, 0.12) !important;
	border-radius: 42px !important;
	box-shadow: 0 24px 70px rgba(65, 19, 34, 0.22) !important;
	padding: clamp(28px, 4vw, 46px) !important;
}

.age-gate__form,
.age-gate-form {
	gap: 14px;
}

.age-gate__buttons,
.age-gate-buttons {
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
	width: 100%;
}

button.age-gate__button,
button.age-gate-button,
button.age-gate__submit--yes,
button.age-gate-submit-yes {
	order: 1;
	width: min(100%, 280px);
	min-height: 50px;
	border: 1px solid #411322 !important;
	border-radius: 999px !important;
	background: #411322 !important;
	color: #fff !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
}

button.age-gate__button:hover,
button.age-gate__button:focus,
button.age-gate-button:hover,
button.age-gate-button:focus,
button.age-gate__submit--yes:hover,
button.age-gate__submit--yes:focus,
button.age-gate-submit-yes:hover,
button.age-gate-submit-yes:focus {
	border-color: #2f0d18 !important;
	background: #2f0d18 !important;
	color: #fff !important;
}

button.age-gate__submit--no,
button.age-gate-submit-no {
	order: 2;
	width: auto;
	min-height: 0;
	margin-top: -2px !important;
	padding: 4px 8px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: rgba(65, 19, 34, 0.62) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

button.age-gate__submit--no:hover,
button.age-gate__submit--no:focus,
button.age-gate-submit-no:hover,
button.age-gate-submit-no:focus {
	background: transparent !important;
	color: #411322 !important;
}

@media (max-width: 480px) {
	.age-gate {
		border-radius: 34px !important;
		padding: 26px 22px !important;
	}
}

/* Quantity tiers: align the reusable plugin with Purity's Glozin styling. */
body .zais-wcqt {
	--zais-wcqt-ink: #111111;
	--zais-wcqt-muted: #77706f;
	--zais-wcqt-border: #e8e1e3;
	font-family: inherit;
	margin: 20px 0 14px;
}

body .zais-wcqt legend {
	font-family: inherit;
	font-weight: 600;
}

body .zais-wcqt__row.is-selected {
	background: rgba(65, 19, 34, 0.055);
}

body .zais-wcqt__summary em,
body .zais-wcqt-sticky__summary span {
	color: #411322;
}

body .zais-wcqt__button-slot .single_add_to_cart_button,
body .zais-wcqt-sticky__button {
	background: #411322 !important;
	font-family: inherit;
}

body .zais-wcqt__button-slot .single_add_to_cart_button:hover,
body .zais-wcqt__button-slot .single_add_to_cart_button:focus,
body .zais-wcqt-sticky__button:hover,
body .zais-wcqt-sticky__button:focus {
	background: #2f0d18 !important;
}

body .zais-wcqt__row:focus-within {
	outline: 2px solid rgba(65, 19, 34, 0.28);
	outline-offset: -2px;
}

/* Free-shipping progress shared by cart and checkout. */
.purity-free-shipping-progress {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 24px;
	padding: 16px 18px;
	border: 1px solid #e8e1e3;
	border-radius: 8px;
	background: transparent;
	color: #111111;
}

.purity-free-shipping-progress__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.purity-free-shipping-progress__header strong,
.purity-free-shipping-progress__header span {
	letter-spacing: 0;
	line-height: 1.4;
}

.purity-free-shipping-progress__header strong {
	font-size: 16px;
	font-weight: 700;
}

.purity-free-shipping-progress__header span {
	color: #6f686a;
	font-size: 14px;
	text-align: right;
}

.purity-free-shipping-progress__track {
	height: 6px;
	overflow: hidden;
	border-radius: 999px;
	background: #eee9ea;
}

.purity-free-shipping-progress__track > span {
	display: block;
	height: 100%;
	min-width: 6px;
	border-radius: inherit;
	background: #411322;
	transition: width 220ms ease;
}

.purity-free-shipping-progress small {
	display: block;
	margin-top: 8px;
	color: #81797b;
	font-size: 12px;
	letter-spacing: 0;
	line-height: 1.35;
}

.purity-free-shipping-progress--checkout-mobile {
	display: none;
}

@media (max-width: 767px) {
	.purity-free-shipping-progress {
		margin-bottom: 18px;
		padding: 14px;
	}

	.purity-free-shipping-progress__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
		margin-bottom: 10px;
	}

	.purity-free-shipping-progress__header span {
		font-size: 13px;
		text-align: left;
	}

	.checkout-wc .purity-free-shipping-progress--checkout-mobile {
		display: block;
	}
}

/* Keep individual gallery slides square without resizing Swiper's track. */
.woocommerce div.product .woocommerce-product-gallery__image {
	height: auto !important;
	aspect-ratio: 1;
}

.woocommerce div.product .woocommerce-product-gallery__image > a {
	display: block;
	height: 100%;
}

.woocommerce div.product .woocommerce-product-gallery__image img.wp-post-image {
	display: block;
	width: 100%;
	height: 100% !important;
	aspect-ratio: 1;
	object-fit: cover;
}

ul.products li.product .gz-ratio--product-image {
	height: auto !important;
	aspect-ratio: auto;
}

ul.products li.product .gz-ratio--product-image::before {
	padding-top: 100% !important;
	padding-bottom: 0 !important;
}

ul.products li.product .gz-ratio--product-image img {
	width: 100%;
	height: 100% !important;
	object-fit: contain !important;
	object-position: center;
	transform: none !important;
}

/* Product thumbnails must stay completely static on touch and hover. */
ul.products li.product .product-thumbnail,
ul.products li.product .gz-hover-zoom,
ul.products li.product .gz-hover-effect,
ul.products li.product .gz-hover-effect picture,
ul.products li.product .gz-hover-effect img,
ul.products li.product .product-thumbnail .woocommerce-loop-product__link,
ul.products li.product .product-thumbnail picture,
ul.products li.product .product-thumbnail img {
	-webkit-transform: none !important;
	transform: none !important;
	scale: 1 !important;
	-webkit-animation: none !important;
	animation: none !important;
	-webkit-transition: none !important;
	transition: none !important;
	will-change: auto !important;
	touch-action: manipulation;
}

ul.products li.product .product-thumbnail .product-thumbnails--fadein-image {
	display: none !important;
}
