/*
Theme Name:   Ayurveda Siddhi
Theme URI:    https://shop.ayurvedasidhi.com/
Description:  Premium Ayurvedic child theme for Kadence + WooCommerce. Herbal green, turmeric gold and warm cream palette with an editorial serif.
Author:       Ayurveda Siddhi
Template:     kadence
Version:      1.2.4
Requires PHP: 7.4
Text Domain:  ayurveda-siddhi
Update URI:   false
*/

/* ------------------------------------------------------------------
   1. Design tokens (also remaps Kadence's global palette)
------------------------------------------------------------------ */
:root:root {
	--as-green-900: #17331f;
	--as-green-800: #1f4129;
	--as-green-700: #2c5a3b;
	--as-green-500: #4d7d5b;
	--as-green-100: #e4eee5;
	--as-gold: #b5832a;
	--as-gold-600: #9a6d1f;
	--as-gold-100: #f5ead2;
	--as-cream: #fbf7ef;
	--as-sand: #f2ead9;
	--as-line: #e6dcc8;
	--as-ink: #1d231f;
	--as-text: #3a423c;
	--as-muted: #6b736d;
	--as-white: #ffffff;
	--as-radius: 16px;
	--as-radius-sm: 10px;
	--as-shadow: 0 1px 2px rgba(23, 51, 31, .05), 0 8px 24px -12px rgba(23, 51, 31, .18);
	--as-shadow-lg: 0 2px 4px rgba(23, 51, 31, .06), 0 22px 44px -18px rgba(23, 51, 31, .32);
	--as-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--as-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Kadence palette */
	--global-palette1: var(--as-green-700);
	--global-palette2: var(--as-green-900);
	--global-palette3: var(--as-ink);
	--global-palette4: #2b322d;
	--global-palette5: var(--as-text);
	--global-palette6: var(--as-muted);
	--global-palette7: var(--as-sand);
	--global-palette8: var(--as-cream);
	--global-palette9: var(--as-white);
	--global-palette-highlight: var(--as-green-700);
	--global-palette-highlight-alt: var(--as-gold);
	--global-palette-btn-bg: var(--as-green-700);
	--global-palette-btn-bg-hover: var(--as-green-900);
	--global-palette-btn: #fff;
	--global-palette-btn-hover: #fff;
	--global-body-font-family: var(--as-sans);
	--global-heading-font-family: var(--as-serif);
}

/* ------------------------------------------------------------------
   2. Base
------------------------------------------------------------------ */
body {
	background: var(--as-cream);
	color: var(--as-text);
	font-family: var(--as-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .page-title, .product_title, .woocommerce-loop-category__title {
	font-family: var(--as-serif);
	color: var(--as-ink);
	letter-spacing: -.01em;
	font-weight: 600;
}
a { color: var(--as-green-700); }
a:hover { color: var(--as-gold-600); }
::selection { background: var(--as-gold-100); color: var(--as-ink); }

.content-bg, body.content-style-unboxed .site { background: transparent; }
.content-style-boxed .content-bg,
.entry.content-bg { background: var(--as-white); border-radius: var(--as-radius); box-shadow: var(--as-shadow); }

/* Buttons */
.button, button, input[type="submit"], .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wc-block-components-button:not(.is-link) {
	border-radius: 999px !important;
	font-family: var(--as-sans);
	font-weight: 600;
	letter-spacing: .01em;
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .button:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px -10px rgba(23, 51, 31, .55);
}
.woocommerce a.button.alt, .woocommerce button.button.alt,
.single_add_to_cart_button, .checkout-button, #place_order {
	background: var(--as-green-700) !important;
	color: #fff !important;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.single_add_to_cart_button:hover, .checkout-button:hover, #place_order:hover {
	background: var(--as-green-900) !important;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="number"], textarea, select, .select2-container .select2-selection {
	border-radius: var(--as-radius-sm) !important;
	border: 1px solid var(--as-line) !important;
	background: #fff;
}
input:focus, textarea:focus, select:focus {
	border-color: var(--as-green-500) !important;
	box-shadow: 0 0 0 3px rgba(77, 125, 91, .18) !important;
	outline: none;
}

/* ------------------------------------------------------------------
   3. Header
------------------------------------------------------------------ */
#masthead, .site-header-row-container-inner {
	background: rgba(251, 247, 239, .92);
}
#masthead {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--as-line);
}
.admin-bar #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar #masthead { top: 0; position: relative; } }
.site-branding img.custom-logo { max-height: 56px; width: auto; }
.main-navigation .primary-menu-container > ul > li.menu-item > a {
	font-weight: 500;
	color: var(--as-ink);
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a {
	color: var(--as-green-700);
}
.header-cart-button { color: var(--as-ink); }
.header-cart-button .header-cart-total {
	background: var(--as-gold) !important;
	color: #fff !important;
}

/* ------------------------------------------------------------------
   4. Archive hero (inner archive pages) — the home page uses .as-hero
------------------------------------------------------------------ */
.entry-hero.product-archive-hero-section .entry-hero-container-inner {
	background: linear-gradient(135deg, var(--as-green-900), var(--as-green-700));
}
.entry-hero.product-archive-hero-section .page-title,
.entry-hero.product-archive-hero-section .archive-description,
.entry-hero.product-archive-hero-section .woocommerce-breadcrumb,
.entry-hero.product-archive-hero-section .woocommerce-breadcrumb a { color: var(--as-cream); }
.entry-hero.product-archive-hero-section .hero-section-overlay { background: transparent; }
.as-has-hero .entry-hero.product-archive-hero-section { display: none; }

/* ------------------------------------------------------------------
   5. Home hero, trust strip, categories
------------------------------------------------------------------ */
.as-hero {
	position: relative;
	overflow: hidden;
	margin: 0 0 28px;
	padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px);
	border-radius: calc(var(--as-radius) + 8px);
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(181, 131, 42, .28) 0%, rgba(181, 131, 42, 0) 55%),
		linear-gradient(140deg, var(--as-green-900) 0%, var(--as-green-800) 45%, var(--as-green-700) 100%);
	color: var(--as-cream);
	box-shadow: var(--as-shadow-lg);
	isolation: isolate;
}
.as-hero::after { /* leaf motif */
	content: "";
	position: absolute;
	right: -60px;
	bottom: -80px;
	width: 380px;
	height: 380px;
	z-index: -1;
	opacity: .12;
	background: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path fill='%23fbf7ef' d='M50 4C26 22 14 44 18 66c3 17 16 28 32 30 16-2 29-13 32-30C86 44 74 22 50 4zm0 12c3 22 3 52 0 78-3-26-3-56 0-78z'/></svg>");
}
.as-hero__inner { max-width: 680px; }
.as-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(251, 247, 239, .12);
	border: 1px solid rgba(251, 247, 239, .22);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--as-gold-100);
}
.as-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--as-gold); }
.as-hero h1 {
	margin: 18px 0 14px;
	font-size: clamp(34px, 5.2vw, 58px);
	line-height: 1.04;
	color: #fff;
	font-weight: 600;
}
.as-hero h1 em { font-style: italic; color: var(--as-gold-100); }
.as-hero p.as-hero__lead {
	margin: 0 0 26px;
	font-size: clamp(16px, 1.6vw, 18px);
	line-height: 1.6;
	color: rgba(251, 247, 239, .86);
	max-width: 560px;
}
.as-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.as-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none !important;
	transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.as-btn:hover { transform: translateY(-1px); }
.as-btn--gold { background: var(--as-gold); color: #fff !important; }
.as-btn--gold:hover { background: var(--as-gold-600); }
.as-btn--ghost { color: var(--as-cream) !important; border: 1px solid rgba(251, 247, 239, .35); }
.as-btn--ghost:hover { background: rgba(251, 247, 239, .1); }

.as-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}
.as-trust li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--as-line);
	border-radius: var(--as-radius);
	font-size: 14px;
	line-height: 1.35;
	color: var(--as-muted);
}
.as-trust strong { display: block; color: var(--as-ink); font-weight: 600; font-size: 15px; }
.as-trust svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--as-green-100); color: var(--as-green-700); }
@media (max-width: 900px) { .as-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .as-trust { grid-template-columns: 1fr; } }

.as-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.as-section-head h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.as-section-head p { margin: 4px 0 0; color: var(--as-muted); }

.as-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
	margin: 0 0 44px;
}
.as-cat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 20px;
	border-radius: var(--as-radius);
	background: linear-gradient(160deg, #fff 0%, var(--as-sand) 100%);
	border: 1px solid var(--as-line);
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.as-cat:hover { transform: translateY(-2px); box-shadow: var(--as-shadow); border-color: var(--as-gold); }
.as-cat__name { font-family: var(--as-serif); font-size: 22px; font-weight: 600; color: var(--as-ink); line-height: 1.15; }
.as-cat__count { font-size: 13px; color: var(--as-muted); }
.as-cat__arrow { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--as-green-700); }

/* ------------------------------------------------------------------
   6. Product grid
------------------------------------------------------------------ */
.kadence-shop-top-row { margin-bottom: 18px; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	background: #fff;
	border: 1px solid var(--as-line);
	border-radius: var(--as-radius);
	overflow: hidden;
	box-shadow: none;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--as-shadow-lg);
	border-color: transparent;
}
.woocommerce ul.products li.product .product-details.content-bg {
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	padding: 16px 18px 20px;
}
.woocommerce ul.products li.product a img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin: 0;
	background: var(--as-sand);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--as-sans);
	font-size: 16px !important;
	font-weight: 600;
	line-height: 1.4;
	color: var(--as-ink);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 4.2em;
}
.woocommerce ul.products li.product .price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 20px;
	font-weight: 700;
	color: var(--as-green-700);
	margin: 10px 0 14px;
}
.woocommerce ul.products li.product .price del { font-size: 14px; font-weight: 500; color: var(--as-muted); opacity: .8; order: 2; }
.woocommerce ul.products li.product .price ins { text-decoration: none; order: 1; }
.woocommerce ul.products li.product .button {
	width: 100%;
	justify-content: center;
	text-align: center;
	background: var(--as-green-100);
	color: var(--as-green-800);
}
.woocommerce ul.products li.product .button:hover { background: var(--as-green-700); color: #fff; }
.woocommerce ul.products li.product .star-rating { color: var(--as-gold); }

.woocommerce span.onsale {
	top: 12px;
	left: 12px;
	right: auto;
	min-height: 0;
	min-width: 0;
	padding: 5px 12px;
	line-height: 1.2;
	border-radius: 999px;
	background: var(--as-gold);
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .03em;
	box-shadow: 0 6px 14px -6px rgba(154, 109, 31, .7);
}

/* ------------------------------------------------------------------
   7. Single product
------------------------------------------------------------------ */
.single-product div.product .product_title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin-bottom: 10px; }
.single-product div.product p.price,
.single-product div.product span.price { color: var(--as-green-700); font-size: 28px; font-weight: 700; }
.single-product div.product p.price del { color: var(--as-muted); font-size: 18px; font-weight: 500; }
.single-product div.product p.price ins { text-decoration: none; }
.single-product div.product .woocommerce-product-gallery img { border-radius: var(--as-radius); }
.single-product div.product .woocommerce-product-details__short-description { color: var(--as-text); line-height: 1.7; }
.single-product div.product form.cart { margin: 22px 0; }
.single-product div.product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.single-product div.product form.cart .quantity { margin: 0 !important; }
.single-product div.product form.cart .quantity .qty { height: 100%; min-height: 50px; }
.single-product div.product form.cart .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: auto;
	min-height: 50px;
	padding: 0 38px;
	line-height: 1.2;
	font-size: 16px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; border-bottom: 1px solid var(--as-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-weight: 600; color: var(--as-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--as-green-700); box-shadow: inset 0 -2px 0 var(--as-gold); }
.product_meta { font-size: 14px; color: var(--as-muted); border-top: 1px solid var(--as-line); padding-top: 14px; }

/* ------------------------------------------------------------------
   8. Cart / checkout / notices
------------------------------------------------------------------ */
.woocommerce-message, .woocommerce-info, .wc-block-components-notice-banner.is-success {
	border-top: 0 !important;
	border-left: 4px solid var(--as-green-700) !important;
	background: var(--as-green-100) !important;
	border-radius: var(--as-radius-sm);
	color: var(--as-ink);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--as-green-700); }
.woocommerce-error { border-top: 0; border-left: 4px solid #b3412e; border-radius: var(--as-radius-sm); }
.woocommerce table.shop_table, .wc-block-cart, .wc-block-checkout,
.woocommerce-checkout-review-order, .cart_totals {
	border-radius: var(--as-radius);
}
.woocommerce table.shop_table { border-color: var(--as-line); overflow: hidden; background: #fff; }

/* ------------------------------------------------------------------
   9. Footer
------------------------------------------------------------------ */
.site-footer, .site-footer .site-footer-row-container-inner {
	background: var(--as-green-900) !important;
	color: rgba(251, 247, 239, .78);
}
.site-footer a, .site-footer h2, .site-footer h3, .site-footer .widget-title { color: var(--as-cream) !important; }
.site-footer a:hover { color: var(--as-gold-100) !important; }
.site-bottom-footer-wrap .site-footer-row-container-inner { border-top: 1px solid rgba(251, 247, 239, .12); }
.site-footer .social-button {
	background: rgba(251, 247, 239, .08) !important;
	border-color: rgba(251, 247, 239, .14) !important;
	color: var(--as-cream) !important;
	border-radius: 999px !important;
}
.site-footer .social-button:hover { background: var(--as-gold) !important; }

/* ------------------------------------------------------------------
   10. Motion preference
------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------------
   11. Mobile app mode (< 768px)
------------------------------------------------------------------ */
.asc-app-search, .asc-tabbar, .asc-buybar, .asc-sheet, .asc-sheet-backdrop { display: none; }

/* Plugin elements that belong to app mode */
.ast-proof { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 13px; font-weight: 500; color: var(--as-gold-600); }
.ast-proof svg { width: 14px; height: 14px; }

@media (max-width: 767px) {
	html { -webkit-tap-highlight-color: transparent; }
	html.asc-lock, html.asc-lock body { overflow: hidden; }
	body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
	.ast-announce { font-size: 12px; padding: 7px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

	/* Header */
	#masthead { border-bottom: 0; }
	.site-branding img.custom-logo { max-height: 40px; }
	#mobile-header .site-header-row-container-inner { padding-top: 4px; padding-bottom: 4px; }

	/* Search pill */
	.asc-app-search { display: block; padding: 6px 16px 12px; background: rgba(251, 247, 239, .96); border-bottom: 1px solid var(--as-line); }
	.asc-app-search form { position: relative; margin: 0; }
	.asc-app-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--as-muted); pointer-events: none; }
	.asc-app-search input[type="search"] {
		width: 100%; height: 44px; padding: 0 16px 0 42px !important;
		border-radius: 999px !important; border: 1px solid var(--as-line) !important;
		background: #fff; font-size: 15px; box-shadow: 0 1px 2px rgba(23, 51, 31, .04);
	}

	/* Content spacing */
	.content-container.site-container, .site-container { padding-left: 14px; padding-right: 14px; }
	.content-area { margin-top: 14px; margin-bottom: 20px; }

	/* Hero becomes a compact promo card */
	.as-hero { padding: 24px 20px; margin-bottom: 14px; border-radius: 20px; }
	.as-hero::after { width: 200px; height: 200px; right: -50px; bottom: -60px; }
	.as-eyebrow { font-size: 11px; padding: 5px 10px; }
	.as-hero h1 { font-size: 30px; margin: 12px 0 8px; }
	.as-hero p.as-hero__lead { font-size: 14.5px; line-height: 1.5; margin-bottom: 16px; }
	.as-hero__actions { gap: 8px; }
	.as-btn { padding: 11px 18px; font-size: 14px; }

	/* Trust strip -> swipeable chips */
	.as-trust { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -14px 18px; padding: 0 14px 4px; scrollbar-width: none; }
	.as-trust::-webkit-scrollbar, .as-cats::-webkit-scrollbar { display: none; }
	.as-trust li { flex: 0 0 auto; scroll-snap-align: start; padding: 10px 14px; gap: 10px; font-size: 12.5px; border-radius: 14px; }
	.as-trust strong { font-size: 13.5px; }
	.as-trust svg { width: 30px; height: 30px; padding: 6px; }

	/* Category tiles -> chips */
	.as-section-head { margin-bottom: 10px; }
	.as-section-head h2 { font-size: 23px; }
	.as-section-head p { display: none; }
	.as-cats { display: flex; gap: 8px; overflow-x: auto; margin: 0 -14px 22px; padding: 0 14px 4px; scrollbar-width: none; }
	.as-cat { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: #fff; }
	.as-cat__name { font-family: var(--as-sans); font-size: 14px; font-weight: 600; }
	.as-cat__count { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--as-green-100); color: var(--as-green-800); }
	.as-cat__arrow { display: none; }

	/* Product grid: 2-up app cards */
	.kadence-shop-top-row { margin-bottom: 10px; font-size: 13px; }
	.woocommerce ul.products.grid-cols, .woocommerce-page ul.products.grid-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important;
	}
	.woocommerce ul.products li.product { border-radius: 14px; }
	.woocommerce ul.products li.product:hover { transform: none; }
	.woocommerce ul.products li.product .product-details.content-bg { padding: 10px 11px 12px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13.5px !important; line-height: 1.35; -webkit-line-clamp: 2; min-height: 2.7em; }
	.woocommerce ul.products li.product .price { font-size: 16px; margin: 6px 0 8px; gap: 5px; flex-wrap: wrap; }
	.woocommerce ul.products li.product .price del { font-size: 12px; }
	.woocommerce ul.products li.product .button { padding: 9px 8px !important; font-size: 13px !important; min-height: 0; }
	.woocommerce ul.products li.product .star-rating { font-size: 11px; }
	.woocommerce span.onsale { top: 8px; left: 8px; padding: 3px 9px; font-size: 11px; }
	.ast-proof { font-size: 11.5px; }

	/* Product page */
	.single-product .woocommerce-breadcrumb { font-size: 12px; margin-bottom: 8px; }
	.single-product div.product .product_title { font-size: 26px; }
	.single-product div.product p.price { font-size: 24px; }
	.single-product div.product .woocommerce-product-gallery { margin-left: -14px; margin-right: -14px; width: calc(100% + 28px) !important; }
	.single-product div.product .woocommerce-product-gallery img { border-radius: 0; }
	.single-product .content-bg.entry { box-shadow: none; background: transparent; }

	/* Bottom tab bar */
	.asc-tabbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
		display: grid; grid-template-columns: repeat(5, 1fr);
		padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96);
		backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
		border-top: 1px solid var(--as-line);
		box-shadow: 0 -6px 24px -12px rgba(23, 51, 31, .18);
		transition: transform .25s ease;
	}
	.asc-tab {
		position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
		padding: 6px 0 4px; border: 0; background: none; border-radius: 12px;
		color: var(--as-muted) !important; text-decoration: none !important;
		font: 500 11px/1.1 var(--as-sans); letter-spacing: .01em; box-shadow: none !important; transform: none !important;
	}
	.asc-tab svg { width: 23px; height: 23px; }
	.asc-tab.is-active { color: var(--as-green-700) !important; }
	.asc-tab.is-active svg { stroke-width: 2.2; }
	.asc-tab.is-active::before { content: ""; position: absolute; top: -6px; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--as-gold); }
	.asc-cart-count {
		position: absolute; top: 1px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px;
		border-radius: 999px; background: var(--as-gold); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center;
	}
	.asc-cart-count[hidden] { display: none; }

	/* Sticky buy bar (product pages) */
	.asc-buybar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9991;
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		background: #fff; border-top: 1px solid var(--as-line);
		box-shadow: 0 -8px 28px -12px rgba(23, 51, 31, .25);
		transform: translateY(110%); transition: transform .25s ease;
	}
	.asc-buybar.is-visible { transform: none; }
	.asc-buybar.is-visible + .asc-tabbar { transform: translateY(110%); }
	.asc-buybar__price { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 20px; color: var(--as-green-700); }
	.asc-buybar__price del { order: 2; font-size: 12.5px; font-weight: 500; color: var(--as-muted); }
	.asc-buybar__price ins { text-decoration: none; }
	.asc-buybar__btn { flex: 1; max-width: 220px; min-height: 48px; border: 0; border-radius: 999px; background: var(--as-green-700); color: #fff; font-weight: 700; font-size: 16px; }

	/* Category bottom sheet */
	.asc-sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 9995; background: rgba(23, 35, 27, .45); opacity: 0; transition: opacity .25s ease; }
	.asc-sheet-backdrop.is-open { opacity: 1; }
	.asc-sheet-backdrop[hidden], .asc-sheet[hidden] { display: none; }
	.asc-sheet {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9996; max-height: 75vh; overflow-y: auto;
		padding: 8px 18px calc(18px + env(safe-area-inset-bottom));
		background: var(--as-cream); border-radius: 22px 22px 0 0;
		transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
	}
	.asc-sheet.is-open { transform: none; }
	.asc-sheet::before { content: ""; display: block; width: 40px; height: 4px; margin: 4px auto 10px; border-radius: 4px; background: var(--as-line); }
	.asc-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
	.asc-sheet__head strong { font-family: var(--as-serif); font-size: 24px; color: var(--as-ink); }
	.asc-sheet__x { width: 36px; height: 36px; padding: 7px; border: 0; border-radius: 50% !important; background: #fff !important; color: var(--as-ink); }
	.asc-sheet__list { list-style: none; margin: 0 0 14px; padding: 0; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--as-line); }
	.asc-sheet__list li + li { border-top: 1px solid var(--as-line); }
	.asc-sheet__list a { display: flex; justify-content: space-between; align-items: center; padding: 15px 16px; font-weight: 600; color: var(--as-ink); text-decoration: none; }
	.asc-sheet__list a span { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--as-green-100); color: var(--as-green-800); }
	.asc-sheet__help { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--as-green-100); color: var(--as-green-800); font-weight: 600; text-decoration: none; }
	.asc-sheet__help svg { width: 22px; height: 22px; flex: none; }

	/* Floating WhatsApp sits above the tab bar; hidden on product pages (buy bar) */
	.ast-wa { bottom: calc(84px + env(safe-area-inset-bottom)); left: 12px; }
	.single-product .ast-wa { display: none; }

	/* Footer clearance */
	.site-footer { padding-bottom: 8px; }

	/* v1.1.1 polish */
	#mobile-header .site-bottom-header-wrap { display: none; }
	.single-product .woocommerce-breadcrumb { display: none; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { max-height: 2.7em; }
	.woocommerce ul.products li.product .ast-proof { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.woocommerce ul.products li.product .ast-proof svg { display: none; }
	.single-product div.product form.cart .single_add_to_cart_button { flex: 1; max-width: none; }
	body .ast-welcome__code span { display: none; }
	body .ast-welcome__go { white-space: nowrap; }
	body .ast-welcome__t { font-size: 27px; }
}

/* v1.1.2: Kadence sets display:flow-root + padding on loop titles, which breaks the 2-line clamp */
.woocommerce ul.products li.product .woocommerce-loop-product__title { display: -webkit-box !important; padding: 0 !important; max-height: none; }

/* ------------------------------------------------------------------
   12. Product page v1.2 — editorial layout + trust
------------------------------------------------------------------ */
.single-product div.product { display: flow-root; }
.single-product .content-bg.entry { background: transparent; box-shadow: none; }
.single-product div.product .woocommerce-product-gallery {
	padding: 14px; background: #fff; border: 1px solid var(--as-line); border-radius: calc(var(--as-radius) + 6px);
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li { width: 64px !important; float: none; }
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 10px; opacity: .55; border: 1px solid var(--as-line); }
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--as-gold); }

@media (min-width: 1025px) {
	.single-product div.product div.summary {
		position: sticky; top: 96px; padding: 28px 30px; background: #fff;
		border: 1px solid var(--as-line); border-radius: calc(var(--as-radius) + 6px); box-shadow: var(--as-shadow);
	}
}

.asc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.asc-chip { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; text-decoration: none !important; background: var(--as-sand); color: var(--as-ink) !important; }
.asc-chip--green { background: var(--as-green-100); color: var(--as-green-800) !important; }
.asc-chip--gold { background: var(--as-gold-100); color: #5a4110 !important; }

.single-product div.product p.price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.single-product div.product p.price del { order: 2; }

.asc-byline { display: flex; align-items: center; gap: 12px; margin: 14px 0 16px; padding: 12px 14px; background: var(--as-cream); border: 1px solid var(--as-line); border-radius: 14px; }
.asc-byline span { display: flex; flex-direction: column; font-size: 14.5px; line-height: 1.35; color: var(--as-ink); }
.asc-byline small { font-size: 12.5px; color: var(--as-muted); }
.asc-avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.asc-avatar--initials { display: inline-grid; place-items: center; background: linear-gradient(140deg, var(--as-green-800), var(--as-green-500)); color: #fff; font: 600 16px/1 var(--as-serif); letter-spacing: .04em; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--as-gold); }

.single-product div.product .woocommerce-product-details__short-description ul { margin: 10px 0 0; padding: 0; list-style: none; }
.single-product div.product .woocommerce-product-details__short-description li,
.single-product div.product .woocommerce-tabs .panel li { position: relative; padding-left: 26px; margin: 0 0 8px; }
.single-product div.product .woocommerce-product-details__short-description li::before,
.single-product div.product .woocommerce-tabs .panel ul > li::before {
	content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; border-radius: 50%;
	background: var(--as-green-100) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%232c5a3b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/></svg>") center / 9px no-repeat;
}
.single-product div.product .woocommerce-tabs .panel ol > li { padding-left: 4px; }

/* Trust section */
.asc-trust {
	clear: both; display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px 32px; align-items: center;
	margin: 40px 0 28px; padding: clamp(22px, 4vw, 36px);
	border-radius: calc(var(--as-radius) + 8px); color: var(--as-cream);
	background: radial-gradient(120% 140% at 100% 0%, rgba(181, 131, 42, .25) 0%, rgba(181, 131, 42, 0) 55%), linear-gradient(140deg, var(--as-green-900), var(--as-green-700));
	box-shadow: var(--as-shadow-lg);
}
.asc-trust__creator { display: flex; gap: 18px; align-items: flex-start; }
.asc-trust__creator .asc-avatar { width: 72px; height: 72px; font-size: 24px; box-shadow: 0 0 0 3px var(--as-green-900), 0 0 0 5px var(--as-gold); }
.asc-trust__eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--as-gold-100); }
.asc-trust h2 { margin: 4px 0 2px; color: #fff; font-size: clamp(26px, 3vw, 34px); }
.asc-trust__role { margin: 0 0 10px; font-weight: 600; color: rgba(251, 247, 239, .85); }
.asc-trust__creator p:last-child { margin: 0; line-height: 1.6; color: rgba(251, 247, 239, .82); }
.asc-trust__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.asc-trust__stats li { padding: 14px 16px; border-radius: 14px; background: rgba(251, 247, 239, .08); border: 1px solid rgba(251, 247, 239, .14); }
.asc-trust__stats strong { display: block; font: 600 30px/1.05 var(--as-serif); color: #fff; }
.asc-trust__stats span { font-size: 13px; color: rgba(251, 247, 239, .75); }
.asc-trust__join { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(251, 247, 239, .14); }
.asc-trust__join > span { margin-right: 4px; font-weight: 600; color: var(--as-gold-100); }
.asc-join { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: #fff !important; text-decoration: none !important; transition: transform .2s ease; }
.asc-join:hover { transform: translateY(-1px); }
.asc-join::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .8; }
.asc-join--tg { background: #229ed9; }
.asc-join--ig { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.asc-join--wa { background: #1fa855; }

/* Tabs as a clean card */
.woocommerce div.product .woocommerce-tabs { margin-top: 10px; padding: 8px clamp(18px, 3vw, 30px) 24px; background: #fff; border: 1px solid var(--as-line); border-radius: calc(var(--as-radius) + 6px); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; font-size: 16px; line-height: 1.75; color: var(--as-text); }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: clamp(26px, 3vw, 32px); margin: 18px 0 10px; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 23px; margin: 26px 0 8px; padding-top: 18px; border-top: 1px solid var(--as-line); }
.woocommerce div.product .woocommerce-tabs .panel img { border-radius: 12px; border: 1px solid var(--as-line); }
.woocommerce div.product .woocommerce-tabs .panel iframe { width: 100%; max-width: 640px; aspect-ratio: 16 / 9; height: auto; border-radius: 12px; }

/* FAQ */
.asc-faq { max-width: 860px; margin: 28px 0 36px; }
.asc-faq h2 { font-size: clamp(26px, 3vw, 32px); margin: 0 0 12px; }
.asc-faq details { margin: 0 0 10px; background: #fff; border: 1px solid var(--as-line); border-radius: 14px; overflow: hidden; }
.asc-faq summary { position: relative; padding: 16px 48px 16px 18px; font-weight: 600; color: var(--as-ink); cursor: pointer; list-style: none; }
.asc-faq summary::-webkit-details-marker { display: none; }
.asc-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--as-gold-600); transition: transform .2s ease; }
.asc-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.asc-faq details > div { padding: 0 18px 16px; color: var(--as-text); line-height: 1.65; }

/* Related / upsells headings */
.single-product .related > h2, .single-product .upsells > h2, .single-product .cross-sells > h2 { font-size: clamp(24px, 3vw, 30px); }

@media (max-width: 767px) {
	.single-product div.product .woocommerce-product-gallery { padding: 0; border: 0; border-radius: 0; background: transparent; }
	.single-product div.product .woocommerce-product-gallery .flex-control-thumbs { padding: 0 14px; }
	.asc-trust { grid-template-columns: 1fr; margin: 28px -14px 22px; border-radius: 0; }
	.asc-trust__creator .asc-avatar { width: 58px; height: 58px; font-size: 20px; }
	.asc-trust__stats strong { font-size: 24px; }
	.asc-join { padding: 9px 14px; font-size: 13px; }
	.woocommerce div.product .woocommerce-tabs { margin-left: -14px; margin-right: -14px; border-radius: 0; border-left: 0; border-right: 0; }
	.asc-faq summary { padding: 14px 44px 14px 16px; }
}

/* v1.2.1: no sticky summary (it overlapped the sections below); fix initials colour */
@media (min-width: 1025px) { .single-product div.product div.summary { position: static; } }
.asc-byline .asc-avatar--initials { display: inline-grid; flex-direction: row; color: #fff; font: 600 16px/1 var(--as-serif); }

/* v1.2.2: compact creator/community section on phones */
@media (max-width: 767px) {
	.asc-trust { gap: 14px; padding: 18px 16px; margin: 22px -14px 18px; }
	.asc-trust__creator { gap: 12px; align-items: center; }
	.asc-trust__creator .asc-avatar { width: 46px; height: 46px; font-size: 16px; }
	.asc-trust__eyebrow { font-size: 10.5px; letter-spacing: .06em; }
	.asc-trust h2 { font-size: 22px; margin: 2px 0 0; }
	.asc-trust__role { margin: 0; font-size: 12.5px; font-weight: 500; }
	.asc-trust__creator p:last-child:not(.asc-trust__role) { display: none; }
	.asc-trust__stats { grid-template-columns: repeat(4, 1fr); gap: 6px; }
	.asc-trust__stats li { padding: 9px 4px; border-radius: 10px; text-align: center; }
	.asc-trust__stats strong { font-size: 18px; }
	.asc-trust__stats span { display: block; margin-top: 2px; font-size: 10px; line-height: 1.2; }
	.asc-trust__join { gap: 6px; padding-top: 12px; }
	.asc-trust__join > span { width: 100%; margin: 0 0 2px; font-size: 12.5px; }
	.asc-join { flex: 1; justify-content: center; padding: 8px 6px; font-size: 12.5px; }
	.asc-join::before { display: none; }
}
@media (max-width: 767px) { .asc-join { white-space: nowrap; padding: 8px 4px; font-size: 12px; } }

/* v1.2.4: Kadence breadcrumb on product pages — hidden on phones, quiet single line on desktop */
.single-product .product-title.product-above { margin-bottom: 14px; }
.single-product .kadence-breadcrumbs { font-size: 13px; color: var(--as-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.single-product .kadence-breadcrumbs a { color: var(--as-muted); text-decoration: none; }
.single-product .kadence-breadcrumbs a:hover { color: var(--as-green-700); }
.single-product .kadence-breadcrumbs .bc-delimiter { margin: 0 4px; opacity: .5; }
@media (max-width: 767px) { .single-product .product-title.product-above { display: none; } }
