/* Thooya Nutribites — store styles. Palette and type follow the homepage design. */
:root {
	--thooya-navy: #13306e;
	--thooya-ink: #16213f;
	--thooya-gold: #e3a52b;
	--thooya-gold-hover: #efb640;
	--thooya-green: #1f5a24;
	--thooya-cream: #faf6ee;
	--thooya-sand: #f3ead9;
	--thooya-line: #e6d8bf;
	--thooya-brown: #6b5540;
	--thooya-muted: #8a6a4e;
	--thooya-rust: #a4501b;
	--thooya-serif: 'Young Serif', Georgia, serif;
	--thooya-sans: 'Figtree', system-ui, sans-serif;
	--thooya-tamil: 'Noto Sans Tamil', sans-serif;
}

body {
	background: var(--thooya-cream);
	color: var(--thooya-ink);
	font-family: var(--thooya-sans);
	-webkit-font-smoothing: antialiased;
}

body h1, body h2, body h3,
.woocommerce div.product .product_title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title {
	font-family: var(--thooya-serif);
	font-weight: 400;
	color: var(--thooya-ink);
}

a { color: #1c3f8a; }
a:hover { color: var(--thooya-green); }

/* Product and category cards */
.woocommerce ul.products li.product {
	position: relative;
	background: #fffdf8;
	border: 1px solid #ebdfc9;
	border-radius: 18px;
	padding: 12px 12px 16px;
	text-align: left;
}
.woocommerce ul.products li.product a img {
	border-radius: 12px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: #f1e6d0;
	margin-bottom: 12px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 19px;
	line-height: 1.2;
	padding: 0 4px;
}
.woocommerce ul.products li.product .price {
	color: var(--thooya-ink);
	font-weight: 700;
	font-size: 18px;
	padding: 0 4px;
}
.woocommerce ul.products li.product .price del {
	color: var(--thooya-muted);
	font-size: 13px;
	font-weight: 400;
}
.woocommerce ul.products li.product .price ins { text-decoration: none; }

.thooya-badge {
	display: inline-block;
	background: var(--thooya-navy);
	color: #f8f4ea;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 5px 10px;
	border-radius: 999px;
}
.woocommerce ul.products li.product .thooya-badge,
.woocommerce div.product div.images .thooya-badge {
	position: absolute;
	z-index: 2;
	top: 22px;
	left: 22px;
}
.woocommerce div.product div.images { position: relative; }
.woocommerce div.product div.images .thooya-badge { top: 14px; left: 14px; }

.thooya-tamil {
	display: block;
	font-family: var(--thooya-tamil);
	font-size: 12px;
	color: var(--thooya-muted);
	padding: 0 4px;
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-components-button:not(.is-link) {
	background: var(--thooya-gold);
	color: var(--thooya-ink);
	border: 0;
	border-radius: 999px;
	font-family: var(--thooya-sans);
	font-weight: 700;
	padding: 12px 22px;
	transition: background .15s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--thooya-gold-hover);
	color: var(--thooya-ink);
}
.woocommerce a.added_to_cart {
	display: inline-block;
	margin-left: 8px;
	font-weight: 600;
	font-size: 14px;
}

/* Single product */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--thooya-ink);
	font-weight: 700;
	font-size: 24px;
}
.woocommerce div.product div.images img { border-radius: 18px; }
.woocommerce .quantity .qty {
	border: 1px solid #d8c5a3;
	border-radius: 999px;
	padding: 10px;
	background: #fffdf8;
}
.thooya-min-qty,
.thooya-ship-note {
	color: var(--thooya-brown);
	font-size: 14px;
}
.thooya-ship-note .amount { font-weight: 700; color: var(--thooya-ink); }

/* Notices */
.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--thooya-green);
	background: var(--thooya-sand);
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--thooya-green); }

/* Hide empty dynamic text (e.g. products without a badge in Elementor loops) */
.e-paragraph-base:empty { display: none; }

/* Header cart count pill */
.thooya-cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--thooya-gold);
	color: var(--thooya-ink);
	font-size: 12px;
	font-weight: 700;
}
