/* TheAnaaj 1.9.0 client-request layer.
 * Non-destructive overrides only. Legacy styles and content remain in place.
 */

/* Temporarily hidden per client request. Do not delete. */
.zaivik-temporarily-hidden {
	display: none !important;
}

/* Supplied Zaivik Anaaj logo: preserve intrinsic aspect ratio in every context. */
.theanaaj-parity-header .brand,
.theanaaj-site-header .theanaaj-brand-logo,
.mobile-drawer__head .brand,
.theanaaj-mobile-menu__head .theanaaj-brand-logo {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	line-height: 0;
}
.theanaaj-parity-header .brand img,
.theanaaj-site-header .theanaaj-brand-logo__image {
	width: auto !important;
	height: 78px !important;
	max-width: 176px !important;
	max-height: 78px !important;
	object-fit: contain !important;
	object-position: left center;
}
.theanaaj-parity-header.has-sticky-header .brand img,
.theanaaj-site-header[data-theanaaj-header].is-sticky .theanaaj-brand-logo__image {
	height: 60px !important;
	max-width: 137px !important;
	max-height: 60px !important;
}
.theanaaj-parity-footer .footer-brand .brand img,
.theanaaj-footer__brand .theanaaj-brand-logo__image {
	width: auto !important;
	height: 132px !important;
	max-width: 202px !important;
	max-height: 132px !important;
	object-fit: contain !important;
	object-position: left center;
}
.theanaaj-account-brand {
	margin: 0 auto 22px;
	text-align: center;
}
.theanaaj-account-brand img {
	width: auto;
	height: 112px;
	max-width: min(100%, 172px);
	object-fit: contain;
}

/* Sticky header must use a page-level containing block. The 1.9.0 inner
 * `.site-header { position: sticky }` rule was constrained by its short wrapper. */
.theanaaj-parity-header.has-sticky-header {
	position: sticky;
	top: 0;
	z-index: 1000;
}
.theanaaj-parity-header.has-sticky-header .site-header {
	position: relative;
	top: auto;
}
body.admin-bar .theanaaj-parity-header.has-sticky-header { top: 32px; }
.theanaaj-site-header[data-theanaaj-header].is-sticky {
	position: sticky;
	top: 0;
	z-index: 1000;
}
body.admin-bar .theanaaj-site-header[data-theanaaj-header].is-sticky { top: 32px; }

/* Header cart: stable icon, badge, label and total alignment at all totals.
 * The 1.9.0 defect was caused by broad `.header-action span` rules converting
 * WooCommerce's nested currency span into a grid item. Keep only the explicit
 * copy wrapper as a grid and force the complete amount tree to remain inline.
 */
.theanaaj-parity-header .cart-action,
.theanaaj-site-header .theanaaj-cart-link {
	display: grid !important;
	grid-template-columns: 32px minmax(68px, auto);
	grid-template-rows: auto;
	column-gap: 9px;
	align-items: center;
	min-width: 118px;
	position: relative;
}
.theanaaj-parity-header .cart-action__icon,
.theanaaj-site-header .theanaaj-cart-link .cart-action__icon {
	grid-column: 1;
	grid-row: 1;
	position: relative;
	width: 32px;
	height: 34px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.theanaaj-parity-header .cart-action__icon > svg,
.theanaaj-site-header .theanaaj-cart-link .cart-action__icon > svg {
	width: 27px !important;
	height: 27px !important;
	flex: 0 0 auto;
}
.theanaaj-parity-header .cart-action__copy,
.theanaaj-site-header .theanaaj-cart-link > .cart-action__copy {
	grid-column: 2;
	grid-row: 1;
	display: grid !important;
	align-content: center;
	justify-items: start;
	min-width: 0;
	line-height: 1.08;
}
.theanaaj-parity-header .cart-action__label,
.theanaaj-site-header .theanaaj-cart-link strong {
	font-size: .82rem;
	font-weight: 800;
	white-space: nowrap;
}
.theanaaj-parity-header .cart-action__total,
.theanaaj-site-header .theanaaj-cart-total {
	margin-top: 3px;
	display: inline-flex !important;
	align-items: baseline;
	justify-content: flex-start;
	gap: .16em;
	min-width: max-content;
	font-size: .68rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap !important;
	font-variant-numeric: tabular-nums;
}
.theanaaj-parity-header .cart-action__total .woocommerce-Price-amount,
.theanaaj-site-header .theanaaj-cart-total .woocommerce-Price-amount,
.theanaaj-parity-header .cart-action__total bdi,
.theanaaj-site-header .theanaaj-cart-total bdi {
	display: inline !important;
	white-space: nowrap !important;
}
.theanaaj-parity-header .cart-action__total .woocommerce-Price-currencySymbol,
.theanaaj-site-header .theanaaj-cart-total .woocommerce-Price-currencySymbol {
	display: inline !important;
	margin-right: .16em;
	white-space: nowrap !important;
}
.theanaaj-parity-header .cart-action__count,
.theanaaj-site-header .theanaaj-cart-count {
	position: absolute !important;
	top: -5px !important;
	right: -4px !important;
	left: auto !important;
	z-index: 2;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	display: inline-grid !important;
	place-items: center;
	border: 2px solid #fffdf8;
	border-radius: 999px;
	background: var(--terracotta, #a94628);
	color: #fff;
	font-size: .62rem;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

/* Product typography: larger, darker and consistent without changing card geometry. */
.product-card__badge,
.theanaaj-product-badge,
.woocommerce span.onsale {
	font-size: .66rem !important;
	font-weight: 850 !important;
	letter-spacing: .075em;
}
.product-card__category,
.theanaaj-product-collection .wc-block-product .taxonomy-product_cat,
.woocommerce ul.products li.product .product-category {
	font-size: .69rem !important;
	font-weight: 850 !important;
	color: var(--terracotta, #a94628) !important;
}
.product-card h3,
.product-card h3 a,
.theanaaj-product-collection .wp-block-post-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.14rem !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	color: var(--green-950, #0c2f1a) !important;
	overflow-wrap: anywhere;
}
.product-card__desc,
.theanaaj-product-subtitle,
.woocommerce ul.products li.product .theanaaj-product-subtitle {
	font-size: .82rem !important;
	font-weight: 500;
	line-height: 1.5 !important;
	color: #4d5a4f !important;
}
.product-card__tags span {
	font-size: .66rem !important;
	font-weight: 650;
	color: #554638 !important;
}
.product-card__price-row strong,
.theanaaj-product-collection .wc-block-components-product-price,
.woocommerce ul.products li.product .price {
	font-size: 1.15rem !important;
	font-weight: 850 !important;
	color: var(--green-950, #0c2f1a) !important;
}
.product-card__price-row del,
.woocommerce ul.products li.product .price del {
	font-size: .78rem !important;
	color: #746e65 !important;
}
.product-card__price-row b,
.woocommerce ul.products li.product .price ins {
	font-size: .7rem !important;
	font-weight: 800 !important;
}
.product-card__buy-row select,
.product-card__buy-row input,
.woocommerce ul.products li.product select {
	min-height: 42px;
	font-size: .8rem !important;
	font-weight: 650;
}
.product-card__buy-row button,
.product-card__buy-row .button,
.theanaaj-product-collection .wp-block-button__link,
.woocommerce ul.products li.product .button {
	min-height: 42px !important;
	font-size: .75rem !important;
	font-weight: 850 !important;
	letter-spacing: .015em;
}
.product-info__category { font-size: .78rem !important; }
.product-info h1 { overflow-wrap: anywhere; }
.product-info__hi {
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	line-height: 1.4;
	color: var(--green-700, #235c35) !important;
}
.product-info .lede { font-size: 1rem !important; color: #465249 !important; }
.product-info__price strong { font-size: 1.65rem !important; }
.product-info__price del { font-size: .92rem !important; }
.product-info__price span { font-size: .76rem !important; font-weight: 800; }
.variant-chip,
.option-label,
.qty-control,
.stock,
.single_add_to_cart_button { font-size: .84rem !important; }
.single_add_to_cart_button { font-weight: 850 !important; }

/* Static Instagram-style gallery, intentionally not presented as a live feed. */
.zaivik-social-showcase {
	background: linear-gradient(180deg, #fffaf0, #f7efdf);
}
.zaivik-social-showcase__head {
	margin-bottom: 28px;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
}
.zaivik-social-showcase__head h2 {
	margin: 5px 0 8px;
	font-size: clamp(2.25rem, 4.2vw, 4.2rem);
}
.zaivik-social-showcase__head p {
	max-width: 720px;
	margin: 0;
	color: var(--muted, #667064);
}
.zaivik-social-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}
.zaivik-social-card {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	border: 1px solid var(--line, #e5d6bd);
	border-radius: 22px;
	background: #eaddc8;
	box-shadow: 0 12px 30px rgba(45, 29, 14, .06);
	isolation: isolate;
}
.zaivik-social-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}
.zaivik-social-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 43%, rgba(9, 30, 17, .86) 100%);
	transition: background .25s ease;
}
.zaivik-social-card:hover img,
.zaivik-social-card:focus-within img { transform: scale(1.045); }
.zaivik-social-card:hover::after { background: linear-gradient(180deg, rgba(9,30,17,.08) 24%, rgba(9,30,17,.92) 100%); }
.zaivik-social-card__icon {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255,255,255,.55);
	border-radius: 50%;
	background: rgba(12,42,24,.62);
	color: #fff;
	backdrop-filter: blur(8px);
}
.zaivik-social-card__icon svg { width: 20px; height: 20px; }
.zaivik-social-card__copy {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 15px;
	z-index: 2;
	color: #fff;
}
.zaivik-social-card__copy span {
	display: block;
	margin-bottom: 5px;
	font-size: .62rem;
	font-weight: 850;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: #f0c178;
}
.zaivik-social-card__copy strong {
	display: block;
	font-size: .88rem;
	line-height: 1.3;
}
.zaivik-social-showcase__cta {
	margin-top: 26px;
	display: flex;
	justify-content: center;
}
.zaivik-social-showcase__cta .is-disabled {
	cursor: not-allowed;
	opacity: .68;
}

/* Form consent alignment and accessible control sizing. */
.theanaaj-consent,
.woocommerce-form__label-for-checkbox {
	display: grid !important;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 11px;
	align-items: start;
	justify-content: start;
	text-align: left;
}
.theanaaj-consent input[type="checkbox"],
.woocommerce-form__label-for-checkbox input[type="checkbox"] {
	width: 20px !important;
	height: 20px !important;
	min-width: 20px;
	margin: 1px 0 0 !important;
	accent-color: var(--green-900, #123a22);
}
.theanaaj-consent span,
.woocommerce-form__label-for-checkbox span {
	line-height: 1.45;
}

/* WooCommerce login/account card. Existing functionality is untouched. */
.woocommerce-account:not(.logged-in) main .woocommerce,
.woocommerce-account:not(.logged-in) .wp-block-post-content > .woocommerce {
	width: min(calc(100% - 28px), 590px);
	margin: clamp(46px, 7vw, 92px) auto;
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid var(--line, #e5d6bd);
	border-radius: 24px;
	background: #fffdf8;
	box-shadow: 0 20px 56px rgba(51, 33, 16, .09);
}
.woocommerce-account:not(.logged-in) .u-columns,
.woocommerce-account:not(.logged-in) .col2-set {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}
.woocommerce-account:not(.logged-in) .u-column1,
.woocommerce-account:not(.logged-in) .u-column2,
.woocommerce-account:not(.logged-in) .col-1,
.woocommerce-account:not(.logged-in) .col-2 {
	float: none !important;
	width: 100% !important;
}
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
.woocommerce-account .woocommerce-form-row label {
	display: block;
	margin-bottom: 7px;
	font-size: .84rem;
	font-weight: 800;
	color: var(--green-950, #0c2f1a);
}
.woocommerce-account .woocommerce-Input,
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"] {
	width: 100%;
	min-height: 52px;
	padding: 11px 14px;
	border: 1px solid #d9c8aa;
	border-radius: 14px;
	background: #fff;
	font-size: 1rem;
}
.woocommerce-account .password-input {
	position: relative;
	display: block;
}
.woocommerce-account .show-password-input {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	cursor: pointer;
}
.woocommerce-account .woocommerce-form-login__rememberme {
	margin: 8px 0 16px;
}
.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-register__submit {
	width: 100%;
	min-height: 50px;
	margin: 8px 0 0 !important;
	border-radius: 14px !important;
	background: var(--green-900, #123a22) !important;
	color: #fff !important;
	font-size: .86rem !important;
	font-weight: 850 !important;
}
.woocommerce-account .woocommerce-LostPassword {
	margin: 14px 0 0;
	text-align: center;
}
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
	border-radius: 14px;
	font-size: .9rem;
}
.theanaaj-account-support {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--line, #e5d6bd);
	text-align: center;
	font-size: .82rem;
	color: var(--muted, #667064);
}

@media (max-width: 900px) {
	.zaivik-social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.theanaaj-parity-header .brand img,
	.theanaaj-site-header .theanaaj-brand-logo__image {
		height: 68px !important;
		max-width: 155px !important;
	}
}
@media (max-width: 680px) {
	.theanaaj-parity-header .brand img,
	.theanaaj-site-header .theanaaj-brand-logo__image {
		height: 56px !important;
		max-width: 128px !important;
	}
	.mobile-drawer__head .brand img,
	.theanaaj-mobile-menu__head .theanaaj-brand-logo__image {
		height: 72px !important;
		max-width: 165px !important;
	}
	.theanaaj-parity-footer .footer-brand .brand img,
	.theanaaj-footer__brand .theanaaj-brand-logo__image {
		height: 112px !important;
		max-width: 172px !important;
	}
	.product-card__body { padding: 17px !important; }
	.product-card h3,
	.product-card h3 a { font-size: 1.08rem !important; }
	.product-card__desc { min-height: 0 !important; font-size: .79rem !important; }
	.product-card__buy-row { grid-template-columns: minmax(76px, .8fr) minmax(0, 1.2fr) !important; }
	.product-card__buy-row button { padding-inline: 7px; white-space: normal; }
	.zaivik-social-showcase__head { align-items: flex-start; flex-direction: column; }
	.zaivik-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.zaivik-social-card { border-radius: 18px; }
	.zaivik-social-card__copy { left: 12px; right: 12px; bottom: 12px; }
	.zaivik-social-card__copy strong { font-size: .78rem; }
}
@media (max-width: 390px) {
	.product-card__buy-row { grid-template-columns: 1fr !important; }
	.product-card__buy-row select { min-width: 0; }
	.zaivik-social-card__copy span { font-size: .54rem; }
	.zaivik-social-card__copy strong { font-size: .72rem; }
}


/* Compact headers retain the complete icon, badge, label and total unit. */
@media (max-width: 680px) {
	.theanaaj-site-header .theanaaj-cart-link,
	.theanaaj-parity-header .cart-action {
		grid-template-columns: 30px minmax(62px, auto);
		min-width: 104px;
		column-gap: 6px;
	}
	.theanaaj-site-header .theanaaj-cart-link > .cart-action__copy,
	.theanaaj-parity-header .cart-action > .cart-action__copy { display: grid !important; }
	.theanaaj-site-header .theanaaj-cart-link .cart-action__icon,
	.theanaaj-parity-header .cart-action__icon { width: 30px; }
	.theanaaj-site-header .theanaaj-cart-total,
	.theanaaj-parity-header .cart-action__total { font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
	.zaivik-social-card img { transition: none; }
}

/* Cart icon wrapper introduced for stable AJAX-safe layout. */
.theanaaj-parity-header .cart-action__icon,
.theanaaj-site-header .cart-action__icon {
	grid-column: 1;
	grid-row: 1;
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
}
.theanaaj-parity-header .cart-action__icon svg,
.theanaaj-site-header .cart-action__icon svg {
	width: 27px !important;
	height: 27px !important;
}

/* Contact details in the mobile navigation are driven by theme options. */
.mobile-drawer__contact {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--line, #e5d6bd);
	display: grid;
	gap: 11px;
}
.mobile-drawer__contact > a,
.mobile-drawer__contact > span {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	color: var(--green-950, #0c2f1a);
	font-size: .88rem;
	font-weight: 650;
	text-decoration: none;
}
.mobile-drawer__contact svg { width: 20px; height: 20px; }

/* Login/account logo is decorative branding around the native Woo form. */
.theanaaj-account-brand .theanaaj-brand-logo {
	display: inline-flex;
	justify-content: center;
	line-height: 0;
}

/* Long titles remain readable at the smallest supported viewport. */
@media (max-width: 390px) {
	.product-card h3,
	.product-card h3 a,
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 1rem !important;
		line-height: 1.24 !important;
	}
}
