/*
Theme Name: India Store
Description: Light WooCommerce theme for indiastore.ca. No builder, no web fonts.
Version: 1.0.0
Update URI: false
Text Domain: india-store
*/

:root {
	--ink: #2a1a1f;
	--muted: #6b5a5f;
	--line: #eadfd8;
	--brand: #7a1f3d;
	--brand-2: #9c2c50;
	--gold: #d98a12;
	--teal: #0f6b6b;
	--cream: #fdf6ec;
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--r: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--brand-2); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); color: var(--brand); line-height: 1.2; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 30; background: #fff; padding: 8px 12px; }

.topbar { margin: 0; background: var(--brand); color: #fff; text-align: center; font-size: .88rem; padding: 7px 12px; }
.head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.head-bar { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { font: 700 1.5rem/1 var(--serif); color: var(--brand); text-decoration: none; margin-right: auto; }
.brand span { color: var(--gold); }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .96rem; }
.nav a:hover { color: var(--brand-2); }
.cart { text-decoration: none; font-weight: 600; color: var(--brand); white-space: nowrap; }
.cart-count { background: var(--gold); color: #2a1a1f; border-radius: 999px; padding: 1px 8px; font-size: .85rem; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--brand); padding: 8px 13px; border: 1px solid var(--line); border-radius: var(--r); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); min-width: 210px; padding: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.menu nav a { display: block; padding: 12px; text-decoration: none; color: var(--ink); }

.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .wc-block-components-button { display: inline-block; background: var(--brand) !important; color: #fff !important; border: 2px solid var(--brand); border-radius: var(--r); padding: .68em 1.25em; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--brand-2) !important; }
.button.alt-line { background: transparent !important; color: var(--brand) !important; }

.hero { background: radial-gradient(circle at 85% 15%, #f8d9a0, transparent 45%), linear-gradient(150deg, var(--cream), #fbe6d6); padding: clamp(44px, 7vw, 92px) 0; }
.eyebrow { color: var(--teal); font-weight: 600; font-size: .95rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.section { padding: clamp(38px, 6vw, 68px) 0; }
.section.alt { background: var(--cream); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tile { display: grid; gap: 4px; align-content: end; min-height: 130px; padding: 20px; border-radius: var(--r); color: #fff; text-decoration: none; background: var(--brand); }
.tile strong { font: 600 1.25rem/1.2 var(--serif); }
.tile span { font-size: .93rem; opacity: .92; }
.tile:hover { filter: brightness(1.08); color: #fff; }
.tile-diwali { background: linear-gradient(140deg, #b4530a, #e39a1c); }
.tile-weddings { background: linear-gradient(140deg, #7a1f3d, #b23a63); }
.tile-festivals { background: linear-gradient(140deg, #0f6b6b, #2b9b8f); }
.tile-desi-sayings { background: linear-gradient(140deg, #3b2a7a, #6a4bb0); }
.tile-family-gifts { background: linear-gradient(140deg, #a83a1f, #d9682f); }
.tile-digital-downloads { background: linear-gradient(140deg, #1f4e7a, #3a7cb2); }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }

.prose-wrap, .shop-wrap { padding: clamp(26px, 5vw, 48px) 0 clamp(40px, 6vw, 64px); }
.prose { max-width: 760px; }
.prose.wide { max-width: none; }
.prose h2 { margin-top: 1.4em; }
details.faq { border-bottom: 1px solid var(--line); padding: 13px 0; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--brand); }

.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; margin: 0 0 1.5em; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; list-style: none; }
.woocommerce ul.products li.product img { border-radius: var(--r); background: var(--cream); margin-bottom: 8px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 600 1rem/1.3 var(--sans); color: var(--ink); padding: 0; }
.woocommerce .price { color: var(--brand) !important; font-weight: 600; }
.woocommerce .onsale { display: none; }
.woocommerce-breadcrumb { font-size: .88rem; color: var(--muted); }
.woocommerce div.product div.images img { border-radius: var(--r); }
.woocommerce table.shop_table { border-radius: var(--r); }
.woocommerce-products-header__title { margin-bottom: .2em; }
.term-description { color: var(--muted); max-width: 70ch; }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.form input, .form textarea { font: 400 1rem/1.4 var(--sans); padding: .65em .75em; border: 1px solid #c9bbb3; border-radius: 8px; width: 100%; }
.form .button { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.form-msg.ok { background: #e4f2e9; color: #17503a; }
.form-msg.bad { background: #fbe9e4; color: #8a2c12; }

.foot { background: #3d1020; color: #f3e6e0; font-size: .95rem; margin-top: 0; }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; padding: 42px 0 20px; }
.foot-name { font: 700 1.3rem/1.2 var(--serif); color: #fff; }
.foot nav a { display: block; padding: 3px 0; text-decoration: none; }
.foot-note { border-top: 1px solid rgba(255, 255, 255, .2); padding: 14px 0 22px; font-size: .88rem; }
.foot-note p { margin: 0; }

@media (max-width: 900px) {
	.nav { display: none; }
	.menu { display: block; }
	.foot-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
	.woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 12px; }
	.brand { font-size: 1.3rem; }
}
