/*
Theme Name: Tatka
Description: App-style shop theme for Barir Bazar — fish, chicken & mutton delivery. Works with the Tatka Shop Tools plugin.
Version: 2.8.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: tatka
WC requires at least: 8.0
*/

:root {
	--brand: #C4203A;
	--brand-dark: #A2172E;
	--brand-soft: #FDECEF;
	--green: #0B8A4E;
	--green-soft: #E6F5EE;
	--ink: #1C1C1E;
	--muted: #6E6E76;
	--line: #ECECF0;
	--bg: #FFFFFF;
	--surface: #F6F6F8;
	--amber: #FFB400;

	--f-head: "Anek Bangla", "Hind Siliguri", system-ui, sans-serif;
	--f-body: "Hind Siliguri", "Anek Bangla", system-ui, sans-serif;

	--r-sm: 10px;
	--r-md: 14px;
	--r-lg: 20px;
	--shadow: 0 1px 2px rgba(28, 28, 30, .06), 0 4px 14px rgba(28, 28, 30, .06);
	--wrap: 1200px;
	--bnav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font: 400 16px/1.55 var(--f-body);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 999; }
.skip-link:focus { left: 8px; }
.screen-reader-text, .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 22px; height: 22px; flex: none; }

/* ================= Header ================= */
.hdr {
	position: sticky; top: 0; z-index: 50; background: #fff;
	border-bottom: 1px solid var(--line);
	padding-top: env(safe-area-inset-top, 0);
}
.hdr__row {
	display: grid; align-items: center; gap: 10px 16px;
	grid-template-columns: auto auto 1fr auto;
	grid-template-areas: "brand loc search acts";
	min-height: 72px; padding-top: 10px; padding-bottom: 10px;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.brand__mark svg { width: 24px; height: 24px; color: #fff; }
.brand__name { font: 700 24px/1 var(--f-head); color: var(--brand); letter-spacing: -.01em; }
.brand__logo { max-height: 42px; width: auto; }

.loc { grid-area: loc; position: relative; }
.loc summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
	padding: 6px 10px; border-radius: var(--r-sm);
}
.loc summary::-webkit-details-marker { display: none; }
.loc summary:hover { background: var(--surface); }
.loc summary .ico-pin { color: var(--brand); }
.loc summary .ico-chev { width: 16px; height: 16px; color: var(--muted); }
.loc__txt { display: flex; flex-direction: column; line-height: 1.2; }
.loc__txt small { font-size: 12px; color: var(--muted); }
.loc__txt strong { font: 600 15px var(--f-head); }
.loc__pop {
	position: absolute; top: calc(100% + 6px); left: 0; width: 260px; z-index: 60;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
	box-shadow: var(--shadow); padding: 14px; font-size: 14px;
}
.loc__pop p { margin: 0 0 8px; }
.loc__pop ul { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.loc__pop li { background: var(--green-soft); color: var(--green); font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.loc__time { display: flex; align-items: center; gap: 6px; color: var(--muted); margin: 0 !important; }
.loc__time .ico { width: 16px; height: 16px; }
.loc__note { margin: 8px 0 0 !important; font-size: 13px; color: var(--muted); }
.loc__check { margin-top: 12px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border: 0; border-radius: var(--r-sm); background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.loc__check .ico { width: 18px; height: 18px; }
.loc__check[hidden] { display: none; }

.hdr .search {
	grid-area: search; display: flex; align-items: center; gap: 8px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
	padding: 0 14px; height: 46px; max-width: 560px; width: 100%; justify-self: center;
}
.hdr .search:focus-within { border-color: var(--ink); background: #fff; }
.hdr .search .ico { color: var(--muted); width: 20px; height: 20px; }
.hdr .search input { border: 0; background: transparent; outline: none; flex: 1; font: 400 15px var(--f-body); color: var(--ink); min-width: 0; }
.hdr .search input::placeholder { color: #9A9AA2; }

.hdr__acts { grid-area: acts; display: flex; gap: 6px; }
.hdr-btn {
	display: inline-flex; align-items: center; gap: 6px; position: relative;
	height: 44px; padding: 0 12px; border-radius: var(--r-sm);
	text-decoration: none; font-weight: 600; font-size: 15px;
}
.hdr-btn:hover { background: var(--surface); }
.hdr-btn--cart { background: var(--brand); color: #fff; padding: 0 14px; }
.hdr-btn--cart:hover { background: var(--brand-dark); }
.tatka-cart-count {
	min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
	background: #fff; color: var(--brand); font-size: 13px; font-weight: 700;
	display: inline-grid; place-items: center;
}

@media (max-width: 860px) {
	.hdr__row {
		grid-template-columns: 1fr auto;
		grid-template-areas: "brand acts" "loc loc" "search search";
		min-height: 0; gap: 6px 10px;
	}
	.loc summary { padding: 2px 0; }
	.loc__txt { flex-direction: row; gap: 6px; align-items: baseline; }
	.loc__txt small { font-size: 13px; }
	.hdr .search { max-width: none; height: 44px; }
	.hdr-btn--call span, .hdr-btn--cart > span:not(.tatka-cart-count) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.hdr-btn--call { width: 44px; padding: 0; justify-content: center; }
	.brand__name { font-size: 22px; }
	.brand__mark { width: 32px; height: 32px; }
}

/* ================= Top bar ================= */
.topbar { background: var(--green); color: #fff; font-size: 14px; font-weight: 600; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; text-align: center; }
.topbar .ico { width: 20px; height: 20px; }

/* ================= Home: banner ================= */
.hero { margin-top: 16px; }
.slides {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
	border-radius: var(--r-lg); scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide {
	flex: 0 0 100%; scroll-snap-align: start; position: relative;
	display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
	min-height: 260px; padding: 28px 36px; text-decoration: none; color: #fff; overflow: hidden;
}
.slide--img { display: block; padding: 0; min-height: 0; }
.slide__img { width: 100%; height: auto; aspect-ratio: 8 / 3; object-fit: cover; }
.slide--fish { background: radial-gradient(120% 140% at 85% 30%, #2C7DA0 0%, #134E6F 60%); }
.slide--chicken { background: radial-gradient(120% 140% at 85% 30%, #E9973A 0%, #B45F10 60%); }
.slide--mutton { background: radial-gradient(120% 140% at 85% 30%, #D0384F 0%, #8E1428 60%); }
.slide__tag { display: inline-block; margin: 0 0 10px; font-size: 14px; font-weight: 600; background: rgba(255,255,255,.18); padding: 4px 12px; border-radius: 999px; }
.slide h2 { font: 700 clamp(26px, 4.2vw, 44px)/1.12 var(--f-head); margin: 0 0 18px; }
.slide__cta { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; }
.slide__art { justify-self: center; width: min(260px, 100%); }
.slide__art svg { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.25)); }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots span { width: 7px; height: 7px; border-radius: 4px; background: #D6D6DC; transition: width .2s; }
.dots span.on { width: 22px; background: var(--brand); }
@media (max-width: 640px) {
	.slide { grid-template-columns: 1fr 110px; min-height: 180px; padding: 20px; }
	.slide h2 { margin-bottom: 12px; }
	.slide__cta { height: 38px; padding: 0 16px; font-size: 14px; }
	.slide__tag { font-size: 12px; }
	.slide__art { width: 110px; }
	.slides { border-radius: var(--r-md); }
}

/* ================= Home: today's special ================= */
.special { margin-top: 22px; }
.special__card {
	display: grid; grid-template-columns: 1fr 1.1fr; text-decoration: none; color: var(--ink);
	border-radius: var(--r-lg); overflow: hidden; background: #FFF8E6;
	border: 2px solid var(--amber); box-shadow: 0 8px 28px rgba(255, 180, 0, .18);
}
.special__pic { position: relative; background: #FDEFC7; min-height: 240px; }
.special__pic img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.special__art { position: absolute; inset: 0; display: grid; place-items: center; }
.special__art svg { width: 62%; height: auto; filter: drop-shadow(0 14px 20px rgba(0,0,0,.18)); }
.special__pct {
	position: absolute; top: 14px; left: 14px; background: var(--brand); color: #fff;
	font: 700 18px var(--f-head); padding: 6px 14px; border-radius: 999px;
}
.special__body { padding: 22px 24px; display: flex; flex-direction: column; align-items: flex-start; }
.special__tag { margin: 0 0 6px; font: 700 14px var(--f-head); color: #9A6A00; background: #FFE9A8; padding: 3px 12px; border-radius: 999px; }
.special__body h2 { font: 700 clamp(24px, 3.4vw, 34px)/1.15 var(--f-head); margin: 4px 0 8px; }
.special__note { margin: 0 0 6px; font-size: 16px; }
.special__offer { margin: 0 0 10px; font-weight: 700; color: var(--brand); font-size: 16px; }
.special__price { margin: 0 0 14px; font: 700 24px var(--f-head); }
.special__price del { color: var(--muted); font-weight: 500; font-size: 17px; margin-right: 6px; }
.special__price ins { text-decoration: none; color: var(--brand); }
.special__price .from { font: 500 14px var(--f-body); color: var(--muted); }
.special__cta { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: var(--r-sm); background: var(--brand); color: #fff; font-weight: 700; font-size: 16px; }
.special__card:hover .special__cta { background: var(--brand-dark); }
.special__ends { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
	.special__card { grid-template-columns: 1fr; }
	.special__pic { min-height: 0; aspect-ratio: 16 / 9; }
	.special__body { padding: 16px; }
	.special__cta { width: 100%; justify-content: center; }
}
.card-special { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--amber); color: var(--ink); font: 700 12px var(--f-body); padding: 5px 10px; border-radius: 999px; }

/* ================= Home: categories ================= */
.cats-sec { margin-top: 26px; }
.sec-title, .sec-head h2 { font: 700 22px/1.2 var(--f-head); margin: 0 0 14px; }
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 150px)); gap: 18px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.cat__pic {
	width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
	display: grid; place-items: center; transition: transform .15s ease;
}
.cat__pic svg { width: 72%; height: 72%; }
.cat__pic img { width: 100%; height: 100%; object-fit: cover; }
.cat--fish .cat__pic { background: #E5F0F6; }
.cat--chicken .cat__pic { background: #FDF0E0; }
.cat--mutton .cat__pic { background: #FBE7EA; }
.cat:hover .cat__pic { transform: scale(1.04); }
.cat__name { font: 600 17px var(--f-head); }
@media (max-width: 640px) { .cats { grid-template-columns: repeat(3, 1fr); gap: 12px; } .cat__name { font-size: 16px; } }

/* ================= Home: price promise ================= */
.promise { margin-top: 28px; }
.promise h2 { font: 700 clamp(22px, 3.4vw, 30px)/1.2 var(--f-head); margin: 0 0 6px; }
.promise > p { margin: 0; color: var(--muted); max-width: 62ch; }
.promise .usp { margin-top: 14px; padding: 0; }

/* ================= Home: app comparison ================= */
.cmp { margin-top: 30px; }
.cmp__table { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.cmp__row { display: grid; grid-template-columns: 1.6fr 1fr 1fr .9fr; gap: 8px; align-items: center; padding: 12px 16px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); font-size: 15px; }
.cmp__row:first-child { border-top: 0; }
a.cmp__row:hover { background: var(--surface); }
.cmp__row--head { background: var(--surface); font-size: 13px; color: var(--muted); font-weight: 600; }
.cmp__name { font: 600 16px var(--f-head); }
.cmp__app { color: var(--muted); text-decoration: line-through; }
.cmp__ours { font: 700 17px var(--f-head); }
.cmp__save { justify-self: start; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 14px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.cmp__note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
	.cmp__row { grid-template-columns: 1fr auto; grid-template-areas: "name save" "app ours"; row-gap: 2px; padding: 10px 12px; }
	.cmp__row--head { display: none; }
	.cmp__name { grid-area: name; } .cmp__save { grid-area: save; justify-self: end; }
	.cmp__app { grid-area: app; font-size: 13px; } .cmp__ours { grid-area: ours; justify-self: end; }
	.cmp__app::before { content: "অ্যাপে "; text-decoration: none; display: inline-block; margin-right: 2px; }
}

/* ================= Home: USP strip ================= */
.usp { list-style: none; margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.usp li { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; color: var(--muted); }
.usp .ico { color: var(--green); width: 26px; height: 26px; }
.usp strong { display: block; color: var(--ink); font: 600 15px var(--f-head); }
@media (max-width: 640px) {
	.usp { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.usp li { flex-direction: column; text-align: center; padding: 10px 6px; font-size: 12px; gap: 4px; }
	.usp strong { font-size: 13px; }
}

/* ================= Rails & product cards ================= */
.rail-sec { margin-top: 30px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; }
.sec-more { color: var(--brand); font-weight: 600; text-decoration: none; font-size: 15px; }
.woocommerce ul.products, ul.products {
	list-style: none; padding: 0; margin: 0 0 24px !important;
	display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
ul.products.rail {
	display: flex !important; overflow-x: auto; scroll-snap-type: x proximity;
	gap: 14px; padding-bottom: 6px !important; scrollbar-width: thin;
}
ul.products.rail li.product { flex: 0 0 220px; scroll-snap-align: start; }

.woocommerce ul.products li.product, ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
	padding: 0 !important; display: flex; flex-direction: column; position: relative; overflow: hidden;
	transition: box-shadow .15s ease;
}
ul.products li.product:hover { box-shadow: var(--shadow); }
ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
ul.products li.product a img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 !important;
	background: var(--surface); border-radius: 0 !important;
}
ul.products li.product .woocommerce-loop-product__title {
	font: 600 16px/1.3 var(--f-head) !important; color: var(--ink);
	padding: 10px 12px 0 !important; margin: 0 !important;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.3em + 10px);
}
.card-meta { margin: 4px 12px 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.card-meta span + span { color: var(--green); font-weight: 600; }
.card-cmp { margin: 6px 12px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; }
.card-cmp__app { color: var(--muted); text-decoration: line-through; }
.card-cmp__save { background: var(--green-soft); color: var(--green); font-weight: 700; padding: 1px 8px; border-radius: 999px; }
ul.products li.product .price {
	display: block; padding: 8px 12px 0; margin: auto 0 0 !important;
	color: var(--ink) !important; font: 700 18px var(--f-head) !important;
}
ul.products li.product .price .from { font: 500 13px var(--f-body); color: var(--muted); }
ul.products li.product .price del { color: var(--muted); font-weight: 400; font-size: 14px; margin-right: 4px; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .button {
	margin: 10px 12px 12px !important; min-height: 42px; border-radius: var(--r-sm) !important;
	background: #fff !important; color: var(--brand) !important; border: 1.5px solid var(--brand) !important;
	font: 700 15px var(--f-body) !important; display: flex !important; align-items: center; justify-content: center;
	padding: 0 12px !important; text-decoration: none; transition: background .12s, color .12s;
}
ul.products li.product .button:hover { background: var(--brand) !important; color: #fff !important; }
ul.products li.product .button.added { background: var(--green) !important; border-color: var(--green) !important; color: #fff !important; }
ul.products li.product .added_to_cart { display: none !important; }
ul.products li.product.outofstock { opacity: .6; }
ul.products li.product.outofstock .button { border-color: var(--line) !important; color: var(--muted) !important; pointer-events: none; }
.card-out, .woocommerce span.onsale, ul.products li.product .onsale {
	position: absolute; top: 10px; left: 10px; z-index: 2; margin: 0 !important;
	min-height: 0 !important; min-width: 0 !important; line-height: 1 !important;
	padding: 5px 10px !important; border-radius: 999px !important; font: 600 12px var(--f-body) !important;
}
.card-out { background: var(--ink); color: #fff; }
.woocommerce span.onsale, ul.products li.product .onsale { background: var(--brand) !important; color: #fff !important; right: auto !important; }
@media (max-width: 1024px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	ul.products.rail li.product { flex-basis: 168px; }
	ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; }
	ul.products li.product .price { font-size: 17px !important; }
	ul.products li.product .button { min-height: 38px; font-size: 14px !important; margin: 8px 10px 10px !important; }
}
.empty-note { margin-top: 30px; }
.empty-note p { background: var(--amber); background: #FFF6DB; border: 1px dashed var(--amber); border-radius: var(--r-md); padding: 16px; margin: 0; }

/* ================= Shop / category ================= */
.page-body { padding-top: 18px; padding-bottom: 40px; }
.page-title, .woocommerce-products-header__title { font: 700 clamp(24px, 4vw, 32px)/1.2 var(--f-head); margin: 4px 0 14px; }
.woocommerce-breadcrumb { font-size: 14px !important; color: var(--muted) !important; margin: 0 0 6px !important; }
.woocommerce-breadcrumb a { color: var(--muted) !important; text-decoration: none; }
.bc-sep { margin: 0 6px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
	flex: none; height: 38px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center;
	border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px;
}
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.term-description { color: var(--muted); }

/* ================= Buttons ================= */
.btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce .checkout-button, .woocommerce #place_order, .woocommerce #respond input#submit {
	background: var(--brand) !important; color: #fff !important; border: 0 !important;
	border-radius: var(--r-sm) !important; font: 700 16px/1.2 var(--f-body) !important;
	min-height: 48px; padding: 12px 20px !important; text-decoration: none;
	display: inline-flex; align-items: center; justify-content: center;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--brand-dark) !important; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled, .woocommerce button.button:disabled[disabled] { opacity: .45 !important; }

/* ================= Single product ================= */
.single-product div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.single-product div.product > * { grid-column: 1 / -1; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.single-product div.product div.images { grid-column: 1; }
.single-product div.product div.summary { grid-column: 2; }
.woocommerce div.product div.images img { border-radius: var(--r-lg); }
.woocommerce div.product .product_title { font: 700 clamp(24px, 3.4vw, 32px)/1.2 var(--f-head); margin: 0 0 6px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink) !important; font: 700 26px var(--f-head) !important; }
.woocommerce div.product p.price .from { font: 500 15px var(--f-body); color: var(--muted); }
.tatka-perkg { display: inline-block; background: var(--green-soft); color: var(--green); padding: 4px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; margin: 0 0 12px; }
.woocommerce-product-details__short-description { color: var(--muted); }
.pdp-cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--surface); border-radius: var(--r-md); padding: 12px; margin: 0 0 12px; }
.pdp-cmp > div { display: flex; flex-direction: column; }
.pdp-cmp small { font-size: 12px; color: var(--muted); }
.pdp-cmp s { color: var(--muted); font: 600 17px var(--f-head); }
.pdp-cmp strong { font: 700 19px var(--f-head); }
.pdp-cmp__save strong { color: var(--green); }
.pdp-cmp p { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.pdp-free { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 700; margin: 0 0 12px; }
.woocommerce div.product form.cart .variations { margin: 0 0 6px; border: 0; }
.woocommerce div.product form.cart .variations tr { display: block; margin-bottom: 14px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 !important; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart .variations th label { font: 600 16px var(--f-head); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.opt {
	min-height: 44px; padding: 8px 18px; border-radius: var(--r-sm); cursor: pointer;
	background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15px;
}
.opt:hover { border-color: var(--ink); }
.opt[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.opt:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.woocommerce div.product form.cart .reset_variations { font-size: 14px; color: var(--muted); }
.woocommerce-variation-price { margin: 4px 0 10px; }
.woocommerce div.product form.cart:not(.variations_form), .woocommerce div.product .woocommerce-variation-add-to-cart { display: flex; gap: 10px; align-items: stretch; }
.woocommerce div.product form.cart .button { flex: 1; min-height: 52px; font-size: 17px !important; }
.woocommerce .quantity .qty { width: 76px; min-height: 52px; font-size: 17px; border-radius: var(--r-sm); border: 1.5px solid var(--line); text-align: center; }
.pdp-trust { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.pdp-trust li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pdp-trust .ico { color: var(--green); }
.tatka-weight-note { font-size: 14px; color: var(--muted); background: var(--surface); padding: 10px 12px; border-radius: var(--r-sm); margin-top: 12px; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 10px !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font: 700 18px var(--f-head) !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.related.products > h2, .upsells.products > h2 { font: 700 22px var(--f-head); }
@media (max-width: 860px) {
	.single-product div.product { grid-template-columns: 1fr; gap: 16px; }
	.single-product div.product div.images, .single-product div.product div.summary { grid-column: 1; }
	.single-product .woocommerce-variation-add-to-cart, .single-product form.cart:not(.variations_form) {
		position: sticky; bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)); z-index: 30;
		background: #fff; padding: 10px 0; border-top: 1px solid var(--line);
	}
}

/* ================= Cart & checkout ================= */
.woocommerce table.shop_table { border: 1px solid var(--line) !important; border-radius: var(--r-md) !important; overflow: hidden; background: #fff; }
.woocommerce table.shop_table th { font: 600 15px var(--f-head); }
.woocommerce table.cart img { width: 64px; border-radius: var(--r-sm); }
.woocommerce a.remove { color: var(--brand) !important; }
.woocommerce a.remove:hover { background: var(--brand) !important; color: #fff !important; }
.cart-collaterals .cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-additional-fields h3 { font: 700 20px var(--f-head); }
.woocommerce form .form-row label { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	font: 400 16px var(--f-body); padding: 11px 14px; border: 1.5px solid var(--line);
	border-radius: var(--r-sm); background: #fff; width: 100%; min-height: 48px;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row select:focus, .woocommerce form .form-row textarea:focus { border-color: var(--ink); outline: none; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
.woocommerce-checkout #payment { background: var(--surface) !important; border-radius: var(--r-md) !important; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--line) !important; }
.woocommerce-checkout #payment ul.payment_methods li { font-size: 16px; padding: 6px 0; }
.woocommerce-checkout #payment div.payment_box { background: #fff !important; border-radius: var(--r-sm); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff !important; }
.woocommerce #place_order { width: 100%; min-height: 56px; font-size: 18px !important; }
@media (min-width: 900px) {
	form.woocommerce-checkout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 36px; align-items: start; }
	form.woocommerce-checkout > * { grid-column: 1; }
	form.woocommerce-checkout #order_review_heading, form.woocommerce-checkout #order_review { grid-column: 2; }
	form.woocommerce-checkout #order_review_heading { grid-row: 1; margin-top: 0; }
	form.woocommerce-checkout #order_review { grid-row: 2 / span 4; position: sticky; top: 100px; }
}
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: var(--r-sm); background: var(--surface) !important; }
.woocommerce-message { border-top-color: var(--green) !important; }
.woocommerce-message::before { color: var(--green) !important; }
.woocommerce-info { border-top-color: var(--ink) !important; }
.woocommerce-info::before { color: var(--ink) !important; }
.woocommerce-error { border-top-color: var(--brand) !important; }

/* ================= Thank-you: WhatsApp + UPI (Tatka Shop Tools) ================= */
.tatka-wa-box { background: var(--green-soft); border-radius: var(--r-md); padding: 18px; margin: 0 0 22px; }
.tatka-wa-lead { margin: 0 0 12px; font-weight: 600; }
.tatka-wa-btn { display: flex; align-items: center; justify-content: center; min-height: 54px; background: #1FA855; color: #fff; font-weight: 700; font-size: 18px; border-radius: var(--r-sm); text-decoration: none; }
.tatka-wa-btn:hover { background: #178A45; }
.tatka-upi { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 20px; margin: 0 0 22px; max-width: 460px; }
.tatka-upi h2 { font: 700 24px var(--f-head); margin: 0 0 14px; }
.tatka-upi-app { display: flex; align-items: center; justify-content: center; min-height: 54px; background: var(--ink); color: #fff; font-weight: 700; font-size: 17px; border-radius: var(--r-sm); text-decoration: none; }
.tatka-upi-or { text-align: center; color: var(--muted); font-size: 14px; margin: 14px 0 8px; }
.tatka-upi-qr { width: 230px; max-width: 100%; margin: 0 auto; aspect-ratio: 1; }
.tatka-upi-qr svg { width: 100%; height: 100%; display: block; }
.tatka-upi-id { text-align: center; font-size: 15px; }
.tatka-copy { font: 600 13px var(--f-body); padding: 4px 10px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.tatka-utr-form { border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 14px; display: grid; gap: 10px; }
.tatka-utr-form label { font-size: 15px; }
.tatka-utr-form input { font: 700 20px var(--f-body); letter-spacing: .06em; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); width: 100%; }
.tatka-utr-form button { background: var(--brand); color: #fff; border: 0; border-radius: var(--r-sm); min-height: 52px; font-weight: 700; font-size: 17px; cursor: pointer; }
@media (min-width: 761px) { .tatka-upi-app, .tatka-upi-or { display: none; } }

/* ================= Footer ================= */
.ftr { background: var(--surface); margin-top: 40px; padding: 32px 0 20px; font-size: 15px; color: var(--muted); }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.ftr h3 { font: 700 16px var(--f-head); color: var(--ink); margin: 0 0 8px; }
.ftr p { margin: 0 0 6px; }
.ftr a { color: var(--ink); }
.ftr__name { font: 700 22px var(--f-head); color: var(--brand); }
.ftr .ftr__copy { margin: 20px auto 0; font-size: 13px; }
@media (max-width: 760px) { .ftr__grid { grid-template-columns: 1fr; gap: 16px; } }

/* ================= Mobile bottom nav + cart bar ================= */
.bnav, .tatka-cartbar { display: none; }
@media (max-width: 860px) {
	body { padding-bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)); }
	.bnav {
		display: grid; grid-template-columns: repeat(4, 1fr);
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		background: #fff; border-top: 1px solid var(--line);
		height: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px));
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.bnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 600; }
	.bnav a[aria-current="page"] { color: var(--brand); }
	.tatka-cartbar.is-on { display: block; position: fixed; left: 10px; right: 10px; z-index: 55; bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px) + 8px); }
	.tatka-cartbar__in { display: flex; align-items: center; justify-content: space-between; background: var(--green); color: #fff; text-decoration: none; border-radius: var(--r-md); padding: 10px 16px; box-shadow: 0 6px 20px rgba(11,138,78,.35); }
	.tatka-cartbar__info { display: flex; flex-direction: column; line-height: 1.25; font-size: 14px; }
	.tatka-cartbar__info strong { font: 700 15px var(--f-head); }
	.tatka-cartbar__info .amount { color: #fff; }
	.tatka-cartbar__go { font-weight: 700; font-size: 15px; }
	.woocommerce-cart .tatka-cartbar, .woocommerce-checkout .tatka-cartbar { display: none !important; }
	.ftr { padding-bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ================= Order by WhatsApp / phone ================= */
.direct { display: flex; flex-wrap: wrap; gap: 10px; }
.direct__btn {
	flex: 1 1 200px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 16px; border-radius: var(--r-sm); text-decoration: none;
	font-weight: 700; font-size: 16px;
}
.direct__btn .ico { width: 22px; height: 22px; }
.direct__btn--wa { background: #1FA855; color: #fff; }
.direct__btn--wa:hover { background: #178A45; }
.direct__btn--call { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.direct__btn--call:hover { background: var(--surface); }
.direct-or { margin: 12px 0 8px; font-size: 14px; color: var(--muted); text-align: center; }
.direct-sec {
	margin-top: 26px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px 24px; align-items: center;
	background: #E9F7EF; border-radius: var(--r-lg); padding: 20px 24px;
}
.direct-sec h2 { font: 700 22px/1.2 var(--f-head); margin: 0 0 4px; }
.direct-sec p { margin: 0; color: var(--ink); }
.direct--big .direct__btn { min-height: 54px; font-size: 17px; }
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; gap: 8px;
	background: #1FA855; color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px;
	border-radius: 999px; box-shadow: 0 8px 24px rgba(31,168,85,.4);
}
.wa-float .ico { width: 24px; height: 24px; }
.wa-float:hover { background: #178A45; }
@media (max-width: 860px) {
	.wa-float { display: none; }
	.direct-sec { grid-template-columns: 1fr; padding: 16px; }
}
.woocommerce-cart .cart-collaterals .direct { margin-top: 4px; }
.tel-toast { position: fixed; left: 50%; top: 90px; transform: translateX(-50%); z-index: 9999; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: var(--r-md); box-shadow: 0 10px 30px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 2px; text-align: center; }
.tel-toast strong { font: 700 20px var(--f-head); }
.tel-toast span { font-size: 14px; color: #D7D7DC; }

/* ================= Logo v2 + 5-item bottom bar ================= */
.brand { gap: 10px; }
svg.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt .brand__name { font: 700 26px/1 var(--f-head); color: var(--brand); }
.brand__tag { font: 600 12px/1.2 var(--f-head); color: var(--green); margin-top: 4px; white-space: nowrap; }
@media (max-width: 860px) {
	svg.brand__mark { width: 38px; height: 38px; }
	.brand__txt .brand__name { font-size: 22px; }
	.brand__tag { font-size: 11px; }
	.bnav { grid-template-columns: repeat(5, 1fr); }
	.bnav a { font-size: 11px; }
	.bnav .bnav__wa { color: #1FA855; }
	.bnav .bnav__call { color: var(--ink); }
}

/* ================= Banner v3: product photo, today's rate, free-delivery stamp ================= */
.slide { position: relative; isolation: isolate; }
.slide__pattern {
	position: absolute; inset: 0; z-index: -1; opacity: .12; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='24' viewBox='0 0 44 24'%3E%3Cpath d='M0 12a11 11 0 0 1 22 0M22 12a11 11 0 0 1 22 0M-11 24a11 11 0 0 1 22 0M11 24a11 11 0 0 1 22 0M33 24a11 11 0 0 1 22 0' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
	background-size: 44px 24px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.slide h2 span { color: #FFD166; }
.slide__art { position: relative; justify-self: center; width: min(300px, 100%); aspect-ratio: 1; }
.slide__plate {
	position: absolute; inset: 6%; border-radius: 50%; overflow: hidden;
	border: 8px solid rgba(255, 255, 255, .92); box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
	background: #fff;
}
.slide__plate img, .slide__plate svg { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.slide__price {
	position: absolute; left: -8%; bottom: 8%; background: #fff; color: var(--ink);
	border-radius: 14px; padding: 8px 14px; box-shadow: 0 10px 24px rgba(0,0,0,.25);
	display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 2px; transform: rotate(-4deg);
}
.slide__price small { grid-column: 1 / -1; font: 600 11px var(--f-body); color: var(--muted); }
.slide__price strong { font: 700 26px/1.1 var(--f-head); color: var(--brand); }
.slide__price em { font-style: normal; font-size: 13px; color: var(--muted); }
.slide__stamp {
	position: absolute; right: -2%; top: 2%; width: 84px; height: 84px; border-radius: 50%;
	background: #FFD166; color: #5A3B00; display: grid; place-items: center; text-align: center;
	font: 700 15px/1.1 var(--f-head); transform: rotate(12deg);
	box-shadow: 0 8px 18px rgba(0,0,0,.22), inset 0 0 0 3px rgba(255,255,255,.6), inset 0 0 0 6px #FFD166, inset 0 0 0 7px rgba(90,59,0,.35);
}
@media (max-width: 640px) {
	.slide { grid-template-columns: 1fr 132px; min-height: 200px; padding: 18px 16px; }
	.slide__art { width: 132px; }
	.slide__plate { border-width: 5px; }
	.slide__price { left: -22%; bottom: 0; padding: 5px 9px; border-radius: 10px; }
	.slide__price small { display: none; }
	.slide__price strong { font-size: 18px; }
	.slide__price em { font-size: 11px; }
	.slide__stamp { width: 56px; height: 56px; font-size: 11px; right: -8%; top: -4%; }
}

/* ================= Footer v2 ================= */
.ftr { background: var(--ink); color: #BFD0CD; padding: 0 0 18px; margin-top: 90px; font-size: 15px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__cta {
	transform: translateY(-50%); margin-bottom: -10px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	background: linear-gradient(120deg, #0B8A4E, #0E9F5B); color: #fff;
	border-radius: var(--r-lg); padding: 20px 24px; box-shadow: 0 14px 30px rgba(11,138,78,.3);
}
.ftr__cta-h { margin: 0; font: 700 21px/1.2 var(--f-head); }
.ftr__cta-p { margin: 4px 0 0; font-size: 14px; color: #DDF3E6; max-width: 60ch; }
.ftr__cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ftr__btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: var(--r-sm); font-weight: 700; }
.ftr__btn .ico { width: 20px; height: 20px; }
.ftr .ftr__btn--wa { background: #fff; color: #0B8A4E; }
.ftr .ftr__btn--call { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.ftr .ftr__btn:hover { text-decoration: none; filter: brightness(1.05); }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 28px; padding: 8px 0 26px; }
.ftr__logo { display: inline-flex; align-items: center; gap: 10px; }
.ftr__mark { width: 40px; height: 40px; }
.ftr__logo span { font: 700 24px var(--f-head); color: #fff; }
.ftr__brand p { margin: 12px 0 14px; line-height: 1.6; max-width: 40ch; }
.ftr h3 { font: 700 16px var(--f-head); color: #fff; margin: 4px 0 12px; }
.ftr__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr__facts li { display: flex; gap: 8px; align-items: flex-start; }
.ftr__facts .ico { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #7FD3A6; }
.ftr__pins { display: flex !important; flex-wrap: wrap; gap: 6px !important; margin-top: 12px !important; }
.ftr__pins li { background: rgba(255,255,255,.1); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.ftr__pay { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ftr__pay li { border: 1px solid rgba(255,255,255,.25); color: #E6EFED; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 8px; }
.ftr__fssai { margin: 12px 0 0; font-size: 13px; }
.ftr__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #8FA9A5; }
.ftr__bottom p { margin: 0; }
@media (max-width: 960px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
	.ftr { padding-bottom: calc(var(--bnav-h) + 24px); }
	.ftr__cta { transform: translateY(-30%); padding: 16px; }
	.ftr__cta-btns { width: 100%; }
	.ftr__btn { flex: 1; justify-content: center; }
}
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; } .ftr__brand, .ftr__grid > .ftr__col:last-child { grid-column: 1 / -1; } .ftr { margin-top: 110px; } }

/* ================= English helper names + checkout field notes ================= */
.en-name { margin: 2px 12px 0; font-size: 12.5px; color: var(--muted); font-family: var(--f-body); }
.en-name--pdp { margin: -2px 0 10px; font-size: 15px; }
.woocommerce form .form-row .description,
.woocommerce-checkout .form-row .description {
	position: static !important; display: block !important; background: none !important; color: var(--muted) !important;
	padding: 4px 0 0 !important; margin: 0 !important; font-size: 13px !important; border-radius: 0 !important; box-shadow: none !important;
}
.woocommerce form .form-row .description::before { display: none !important; }
.woocommerce form .form-row .optional { color: var(--muted); font-weight: 400; font-size: 13px; }
