/*
Theme Name:        Samundri Shop
Theme URI:         https://shop.samundri.pk
Author:            Samundri.pk
Author URI:        https://samundri.pk
Description:       v2.9.44: Category marquee always playing by default on every device (only the stop button pauses; no reduced-motion/hover auto-pause). My Account: hero chips removed, split golden/normal welcome line via dashboard override, description links golden underlined with «پتہ» spelling. v2.9.43: My Account orders buttons in Urdu («اپنا آرڈر دیکھیں» / «اپنا آرڈر منسوخ کریں») + numeric d/m/Y order dates; golden larger welcome line with golden underlined «رکنیت سے باہر جائیں»; login logout renamed «اپنی رکنیت سے باہر نکلیں» and bottom links golden bold. v2.9.42: Register page simplified — progress steps and numbered block headings removed, step-1 button now «اکاؤنٹ بنائیں», bottom «میری رکنیت» link golden + larger. v2.9.41: Simple plain «مصنوعات» heading (all decorations removed) with marquee controls on the same single line in every view — clean professional row. v2.9.40: Mobile cart/account labels always visible under icons (logged-in shows first name); manual («مکمل رہنمائی») buttons restyled very attractive (gold gradient, icon, lift hover). v2.9.39: Manual buttons now read «مکمل رہنمائی»; professional ✿ مصنوعات ✿ heading (badged flowers, gradient rules); mobile cart/account separated properly (location hidden on small screens, larger tap targets). v2.9.38: Website manual buttons at topbar + above custom-order card; categories heading shortened to مصنوعات; three-step how-to section removed everywhere. v2.9.37: Removed the big golden guide hero button and the floating order-guide pill; mobile header account/cart actions separated with proper spacing (navy header kept). v2.9.36: Mockup front design — navy brand header (logo+tagline, pill search, gold actions), flower-flanked categories heading, bare category circles. v2.9.35: New Urdu order-guide page (every user function explained simply) with an always-visible gold guide button (topbar, floating pill, homepage, drawer, footer). v2.9.34: Category marquee speed fixed at owner-noted 60 px/s (footer.php speed line — always keep 60). v2.9.33: Promo-section gold (#E9C776) is now the single universal brand gold across the whole storefront. v2.9.32: One exact sampled gold unified across the whole storefront. v2.9.31: Category marquee now runs on a constant-speed JS engine (same px/s on every screen, with 5 or 200 categories) and has professional manual controls: prev, play/pause, next, plus drag support. v2.9.30: Category heading now reads مصنوعات کی اقسام. v2.9.29: Category heading simplified to one clean natural word — اقسام — the marketing eyebrow/subtitle lines are gone. v2.9.28: Main categories now have a large elegant heading (اہم اقسام) and a continuous right-to-left auto-sliding marquee — categories glide by themselves with no touch, pause on hover/focus, and stay readable with bigger names. v2.9.27: Related/upsell products fixed properly — WooCommerce's <section class="related products"> was being turned into a grid itself (squeezing the cards into thin vertical strips); the wrapper is now a full-width block and only the inner <ul> is a 2/3/4-column grid. v2.9.26: Recommended/related product cards now take their full column width (WooCommerce's old 22% item width was squeezing them into thin strips) — clean multi-column layout at every screen size. v2.9.25: Compact professional product cards (shorter media, no empty space, golden highlighted details link), responsive multi-column recommended products, and a price parser fix so quantity totals are exact (2400 x 2 = 4800). v2.9.24: Simple ordering — product-page trust/how-to/return sections removed; quantity changes now update prices automatically (live total in buy box + sticky bar on product page, and automatic cart update on the cart page with no manual Update button). v2.9.22: CSS safety net hides any archive heading/description/brands-title on store pages — only buttons/cards and products remain. v2.9.21: The "read product details" note is removed everywhere (front page + product buy box), and the brands heading/note text is gone from category pages — only the brand buttons remain. v2.9.20: Category/shop archive headings removed — the big term title and description no longer sit above the products (screen-reader title kept), so products appear immediately. v2.9.19: Hotfix — reviews option filter now uses a real callback (the previous '__return_no' does not exist in WordPress and caused a fatal error). v2.9.18: Customer comments/reviews removed from product pages (reviews tab, rating line and comment form gone). v2.9.17: The same Urdu details note now also appears as an elegant navy/gold strip at the top of the front page. v2.9.16: A polite Urdu details note sits in the buy box on single product pages, right before add-to-cart, asking shoppers to read the product details first. v2.9.15: Customers also get a one-step permanent-delete option on their orders (confirm first, then force-deleted in a single action — no trash stage — including already-cancelled orders; delivery messages/feedback rows are cleaned too). v2.9.14: WooCommerce's post-account email-verification prompt is disabled everywhere (My Account orders etc.) — email verification now exists only inside registration/account opening. v2.9.13: Customers can cancel an order from My Account before dispatch/out-for-delivery (orders list action + confirm box on view-order; server re-checks owner, nonce and stage, and blocks once a rider sheet is assigned), and admins get a clear one-click cancel button on the order screen. v2.9.12: OTP verification email is now sent in Urdu (subject, greeting and body; code box unchanged). v2.9.11: Email-first registration — enter email, verify the OTP sent to it, then complete the existing name/WhatsApp/address/password details to create the account; login heading now reads اپنی رکنیت میں جائیں۔ with email-only wording, and auth pages use the website header logo. v2.9.10: Manual left/right category-rail arrows under the search bar, clickable lightbox images that open the same link as their source image, and the cart button now reads میری خریداری میں لے جائیں. v2.9.9: True one-click COD ordering from the cart — logged-in customers order with saved account data (no repeated checkout fields); guests log in first and return to the cart for the same one-click order. Cart labels now use میری خریداری and the hamburger account link uses میری رکنیت. v2.9.8: Premium visual polish for account creation/login and the logged-in My Account area — branded auth header, two-step registration progress, grouped fields, refined OTP card, richer member hero and quick-access tiles; all existing cart, COD, OTP and account behaviour unchanged. v2.9.5: Security & performance hardening — OTP brute-force attempt limit enforced, spoofable IP header removed, REST/POST unslashing fixed, require_account & free_ship_threshold settings wired, checkout/cart CSS unified, N+1 category/brand queries eliminated, product card click navigation restored, valid All-Categories links, and version/cache-busting synced. v2.9.4: Cart radically simplified (no account gate/trust clutter); mobile card rows; guest checkout forced; shipping/terms friction removed so place-order works. v2.9.3: Guest checkout forced ON so orders place; admin one-click Confirm/Dispatch/Deliver buttons; minimal COD fields; PK default country. v2.9.2: CRITICAL mobile login fix — honeypot left:-9999px was expanding RTL document width (~10k px) so overflow-x:clip hid the whole login form on phones; honeypot now uses clip-path sr-only pattern. Auth pages hide category rail, centered full-width card, 16px inputs. v2.9.1: My Account mobile overhaul — simple elegant branded account (horizontal pill nav, card-style orders, 16px inputs, touch targets, downloads removed); guest order gate hardened (cart Proceed + checkout both force login/register first, redirect_to checkout). v2.9.0: verify hardened — password transient no longer required (falls back to stored hash), clearer errors, success confirmation + auto-login. v2.8.16: cache-bust (SMDSP_VERSION 1.1.6) so browsers drop the old 40s countdown JS; OTP validity raised to 30 minutes (min 15) — no on-screen timer at all, customer enters code whenever it arrives and verifies. v2.8.15: removed ALL visible countdowns from the registration page — no OTP-expiry timer and no resend countdown number. The verify button is never disabled by a timer. The "Resend" button is a plain always-enabled label (server still rate-limits). v2.8.14: OTP code + log row are now generated + stored SYNCHRONOUSLY at click time (previously written in the background only after a ~30s SMTP send, so verify returned "no OTP issued" during that window and the account could not be created); only the email delivery is deferred — verify works the instant the email arrives. v2.8.13: suppress WooCommerce's synchronous "Customer New Account" email during OTP/Google registration — the verify step no longer freezes ~12s on slow SMTP (account is created instantly; customer already has their chosen password + the OTP email). v2.8.12: deferred (background) OTP delivery — the "Send OTP" / "Resend" button now returns instantly instead of freezing 30-60s on slow SMTP (host mail.samundri.pk); all login / register / OTP validation messages, notices and form labels are now in Urdu script. Urdu-first, RTL, mobile-first WooCommerce theme for Samundri's local general store. Zero builders, pure PHP/CSS/vanilla JS, AJAX cart, mobile bottom navigation, simplified checkout, and bilingual search (Urdu / English / Roman Urdu). v2.8.3: advanced account-based checkout flow — professional cart "Create Account / Login" gate (Urdu, RTL), account-required checkout (guest checkout off by default), dedicated /login/ page, smart redirect to checkout after OTP registration or login (when cart has items); account data + order history permanently saved. v2.8.2: built-in SMTP engine for Shop Pro (host/port/user/pass via phpmailer_init) — fixes the registration OTP email never arriving on hosts that block PHP mail(); SMTP settings + status card added to Shop Pro → Settings/Status; OTP failure now surfaces the real SMTP error instead of a generic message. v2.8.1: critical fix — Shop Pro modules now wire on `init` (were hooked to `woocommerce_loaded`, which fires before theme functions.php loads, so nothing initialised in v2.8.0); added Shop Pro → Status module-health + OTP activity log, and Tools → Test email (SMTP check). v2.8.0: bundled Samundri Shop Pro — professional 2-column cart section, WhatsApp-OTP account registration (verify-before-create), checkout hardening, and automatic WooCommerce pages repair. v2.7.0: advanced trilingual search (diacritics-insensitive + SKU + category scope + recent searches), full category tree drawer, all-categories page, hardened save handlers. Built for shop.samundri.pk.
Version:           2.9.44
Requires at least: 6.0
Tested up to:      6.8
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       samundri-shop
Tags:              e-commerce, rtl-language-support, custom-colors, translation-ready

WooCommerce: yes

Note: Yeh file hi asal stylesheet hai. Theme header + main.css + premium.css
+ latest overrides (v2.4.32-v2.5.0) sab yahin combined hain.
assets/css/ ki files load NAHI hotin — CSS sirf isi file mein edit karein.
*/

/* === main.css === */
/*
 * Samundri Shop — Doorpe-style UI (Samundri color scheme)
 * Modern Urdu sans + Nunito Latin. RTL logical properties.
 */

/* Mehr Nastaliq Web — poori site ka Urdu font (local, font-display: swap) */
@font-face {
	font-family: 'Mehr Nastaliq Web';
	src: url('assets/fonts/MehrNastaliqWeb.woff2') format('woff2');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
	font-family: 'Mehr Nastaliq Placeholder';
	src: local('Noto Nastaliq Urdu'), local('Noto Naskh Arabic'), local('Geeza Pro'),
		local('Al Bayan'), local('Baghdad'), local('Damascus'), local('Urdu Typesetting'),
		local('Segoe UI'), local('Tahoma'), local('Arial');
	ascent-override: 107.42%;
	descent-override: 63.48%;
	line-gap-override: 0%;
}

:root {
	/* Aligned with samundri.pk — navy + gold */
	--primary: #10203e;
	--primary-dark: #0e1b33;
	--primary-soft: #e8eef5;
	--surface: #f7f4ef;
	--ink: #17233b;
	--ink-soft: #5b6475;
	--sale: #9b1b30;
	--gold: #E9C776;
	--gold-rgb: 233, 199, 118;
	--gold-soft: #F8E2A0;
	--line: rgba(var(--gold-rgb), .45);
	--radius: 10px;
	--radius-lg: 16px;
	--radius-xl: 20px;
	--shadow: 0 2px 12px rgba(0,0,0,.06);
	--shadow-lg: 0 8px 28px rgba(0,0,0,.10);
	--maxw: 1280px;
	--font-urdu: 'Jameel Noori Nastaliq', 'Mehr Nastaliq Web', 'Mehr Nastaliq Placeholder', 'Noto Nastaliq Urdu', 'Segoe UI', Roboto, Arial, sans-serif;
	--font-latin: -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
	max-width: 100%;
}
body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-urdu);
	font-size: 16px;
	line-height: 2.1;
	text-align: start;
	overflow-x: clip;
	max-width: 100%;
	width: 100%;
}
img, video, iframe, embed, object {
	max-width: 100%;
	height: auto;
}
img { display: block; }
iframe { border: 0; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position:absolute !important; width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
.skip-link:focus-visible { position:fixed !important; inset-block-start:8px; inset-inline-start:8px; width:auto;height:auto; clip-path:none; background:var(--primary);color:#fff;padding:8px 16px;z-index:999; }

.price, .samundri-cart-count, .woocommerce-Price-amount, bdi,
input[type="email"], input[type="tel"], input[type="number"], input[type="search"] {
	font-family: var(--font-latin);
	font-feature-settings: 'tnum';
}

.samundri-wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 16px; }

/* ---------- Topbar ---------- */
.samundri-topbar {
	background: var(--primary-dark);
	color: #fff;
	text-align: center;
	font-size: 13px;
	padding: 6px 16px;
}

/* ---------- Header (DoorPe-style 2-row) ---------- */
.samundri-header,
.samundri-header__bar,
.samundri-header__top,
.samundri-header__searchbar,
.samundri-header__cats {
	position: relative !important;
	top: auto !important;
	bottom: auto !important;
	left: auto !important;
	right: auto !important;
	inset: auto !important;
	inset-block-start: auto !important;
	inset-block-end: auto !important;
}
.samundri-header {
	background: #fff;
	z-index: 40;
	box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.samundri-header__bar {
	background: #fff;
}
/* Legacy class name if any cached HTML */
.samundri-header__sticky {
	position: relative !important;
	top: auto !important;
	background: #fff;
}
.samundri-header__top {
	border-block-end: 1px solid var(--line);
}
.samundri-header__inner {
	max-width: var(--maxw);
	margin-inline: auto;
	padding: 0 16px;
	height: 56px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.samundri-header__inner--search {
	height: auto;
	padding-block: 8px;
	gap: 10px;
}
.samundri-drawer-toggle {
	border: 0;
	background: transparent;
	padding: 8px;
	margin-inline-start: -8px;
	cursor: pointer;
	color: var(--ink);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.samundri-drawer-toggle:hover { background: var(--surface); }

.samundri-header__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}
.samundri-logo-text {
	font-size: 20px;
	font-weight: 800;
	color: var(--ink);
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 6px;
}
.samundri-logo-text span { color: var(--primary); }
img.samundri-logo-mark {
	display: inline-block;
	width: 40px;
	height: 40px;
	object-fit: contain;
	vertical-align: middle;
	border-radius: 10px;
	background: #fff;
}
.samundri-header__brand img {
	height: 40px;
	width: auto;
	border-radius: 10px;
}

/* Delivery location (DoorPe style) */
.samundri-header__location {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1.25;
	padding-inline-start: 4px;
}
.samundri-location__label {
	font-size: 11px;
	color: var(--ink-soft);
	font-weight: 600;
	font-family: var(--font-latin);
}
.samundri-location__city {
	font-size: 14px;
	font-weight: 800;
	color: var(--ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Actions */
.samundri-header__actions {
	display: flex;
	gap: 4px;
	align-items: center;
	flex-shrink: 0;
}
.samundri-action {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	color: var(--ink);
	font-size: 11px;
	padding: 6px 8px;
	border-radius: 10px;
}
.samundri-action:hover { background: var(--surface); color: var(--primary); }
.samundri-action svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.samundri-action__label { line-height: 1; font-weight: 600; }
.samundri-cart-count {
	position: absolute;
	inset-block-start: 2px;
	inset-inline-end: 2px;
	background: var(--sale);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 3px;
	font-family: var(--font-latin);
}
.samundri-cart-count[hidden] { display: none !important; }

/* Search bar row */
.samundri-header__searchbar {
	background: #fff;
	border-block-end: 1px solid var(--line);
}
.samundri-cats-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	background: #fff;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	padding: 9px 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink);
	white-space: nowrap;
	transition: border-color .15s, color .15s;
}
.samundri-cats-btn:hover {
	border-color: var(--primary);
	color: var(--primary);
}
.samundri-cats-btn svg { flex-shrink: 0; }

.samundri-header__search {
	position: relative;
	flex: 1;
	min-width: 0;
}
.samundri-header__search form {
	display: flex;
	border: 1.5px solid var(--primary);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(35,69,110,.08);
}
.samundri-header__search form:focus-within {
	border-color: var(--primary-dark);
	box-shadow: 0 0 0 3px rgba(35,69,110,.12);
}
.samundri-header__search input[type="search"] {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 10px 14px 11px;
	font-family: var(--font-urdu);
	font-size: 14px;
	min-width: 0;
	color: var(--ink);
}
.samundri-header__search input:focus { outline: none; }
.samundri-header__search input::placeholder { color: var(--ink-soft); }
.samundri-header__search button {
	border: 0;
	background: var(--primary);
	color: #fff;
	padding-inline: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s;
}
.samundri-header__search button:hover { background: var(--primary-dark); }
.samundri-header__search svg { width: 18px; height: 18px; fill: currentColor; }

.samundri-search-results {
	position: absolute;
	inset-inline: 0;
	inset-block-start: calc(100% + 6px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	z-index: 60;
	max-height: 360px;
	overflow-y: auto;
}
.samundri-search-results a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-block-end: 1px solid var(--surface);
	color: var(--ink);
}
.samundri-search-results a:hover { background: var(--surface); }
.samundri-search-results img { width: 44px; height: 55px; object-fit: cover; border-radius: 6px; }
.samundri-search-results .sr-price { margin-inline-start: auto; color: var(--primary); font-weight: 700; }
.samundri-search-results .sr-empty { padding: 12px 16px; color: var(--ink-soft); margin: 0; }

/* ---------- Drawer (professional side menu — refined Navy + Gold) ---------- */
.samundri-drawer-backdrop {
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	background: rgba(14, 27, 51, .55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .25s ease, visibility .25s ease;
}
.samundri-drawer-backdrop.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.samundri-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 330px;
	max-width: 88vw;
	background: var(--surface, #f7f4ef);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	box-shadow: 0 16px 48px rgba(14, 27, 51, .28);
	transition: transform .28s cubic-bezier(.4,0,.2,1);
	/* LTR default: left side, hidden off-left */
	left: 0;
	right: auto;
	transform: translateX(-110%);
}
/* RTL: right side, hidden off-right */
html[dir="rtl"] .samundri-drawer {
	left: auto;
	right: 0;
	transform: translateX(110%);
}
/* OPEN — must win over both LTR and RTL closed rules */
.samundri-drawer.is-open {
	transform: translateX(0) !important;
}

.samundri-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-block-end: 1px solid var(--line);
	background: #fff;
}
.samundri-drawer__brand {
	display: flex;
	align-items: center;
	gap: 10px;
}
.samundri-drawer__brand img { height: 34px; width: auto; border-radius: 10px; }
.samundri-drawer__title { font-weight: 800; font-size: 17px; color: var(--primary-dark); }
.samundri-drawer__close {
	border: 1px solid var(--line);
	background: var(--surface);
	width: 36px;
	height: 36px;
	cursor: pointer;
	color: var(--ink);
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s, color .15s, border-color .15s;
}
.samundri-drawer__close:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.samundri-drawer__user {
	margin: 12px 14px 4px;
	padding: 16px;
	border-radius: 16px;
	background:
		radial-gradient(circle at 15% 20%, rgba(var(--gold-rgb), .45), transparent 55%),
		linear-gradient(135deg, #0e1b33 0%, #1d3a6b 100%);
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-shadow: 0 10px 24px rgba(14, 27, 51, .18);
	border: 1px solid rgba(var(--gold-rgb), .56);
}
.samundri-drawer__guest-row {
	display: flex;
	align-items: center;
	gap: 12px;
}
.samundri-drawer__greeting { display: block; font-weight: 800; font-size: 15.5px; line-height: 1.5; }
.samundri-drawer__sub { display: block; font-size: 12px; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.samundri-drawer__auth-btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.samundri-drawer__login,
.samundri-drawer__register {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 9px 12px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
	text-decoration: none;
	transition: transform .15s, background .15s;
}
.samundri-drawer__login {
	background: rgba(255, 255, 255, .14);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .28);
}
.samundri-drawer__register {
	background: var(--gold);
	color: #0e1b33;
	box-shadow: 0 4px 12px rgba(var(--gold-rgb), .48);
}
.samundri-drawer__login:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.samundri-drawer__register:hover { transform: translateY(-1px); color: #0e1b33; }

/* Logged-in drawer profile */
.samundri-drawer__user-row {
	display: flex;
	align-items: center;
	gap: 12px;
}
.samundri-drawer__avatar,
.samundri-drawer__avatar-init {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex: 0 0 auto;
	object-fit: cover;
	border: 2px solid rgba(var(--gold-rgb), .88);
}
.samundri-drawer__avatar-init {
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	font-weight: 800;
	font-size: 1.05rem;
}
.samundri-drawer__user-meta { min-width: 0; }
.samundri-drawer__email {
	display: block;
	font-size: 12px;
	opacity: .82;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.samundri-drawer__logout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: rgba(255, 255, 255, .95);
	color: #b91c1c;
	padding: 8px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 800;
	width: 100%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
}
.samundri-drawer__logout:hover { background: #fef2f2; color: #991b1b; }

/* Header account menu (logged-in) */
.samundri-account-menu { position: relative; }
.samundri-action--account {
	border: none;
	background: transparent;
	cursor: pointer;
	font: inherit;
	color: inherit;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 6px;
	border-radius: 999px;
}
.samundri-action--account.is-logged-in {
	background: rgba(255,255,255,.12);
	padding-inline-end: 10px;
}
.samundri-account-avatar,
.samundri-account-initial {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}
.samundri-account-initial {
	display: grid;
	place-items: center;
	background: var(--primary, #1D4ED8);
	color: #fff;
	font-weight: 800;
	font-size: 13px;
}
.samundri-account-dropdown {
	position: absolute;
	inset-inline-end: 0;
	top: calc(100% + 8px);
	min-width: 240px;
	background: #fff;
	color: #0E1B33;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(15,23,42,.18);
	padding: 10px;
	z-index: 1000;
}
.samundri-account-dropdown[hidden] { display: none !important; }
.samundri-account-dropdown__head {
	padding: 10px 12px 12px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 6px;
}
.samundri-account-dropdown__hello {
	display: block;
	font-size: 12px;
	color: #6b7280;
}
.samundri-account-dropdown__head strong {
	display: block;
	font-size: 15px;
	margin-top: 2px;
}
.samundri-account-dropdown__head em {
	display: block;
	font-style: normal;
	font-size: 12px;
	color: #6b7280;
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.samundri-account-dropdown a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	color: #0E1B33;
	text-decoration: none;
}
.samundri-account-dropdown a:hover { background: #f8fafc; }
.samundri-account-dropdown__logout {
	color: #b91c1c !important;
	margin-top: 4px;
	border-top: 1px solid #f1f5f9;
	border-radius: 0 0 10px 10px;
}
.samundri-account-dropdown__logout:hover { background: #fef2f2 !important; }

.samundri-drawer__nav {
	flex: 1;
	overflow-y: auto;
	padding: 10px 14px 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	-webkit-overflow-scrolling: touch;
}
.samundri-drawer__section {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 8px;
	box-shadow: 0 4px 14px rgba(14, 27, 51, .04);
}
.samundri-drawer__section-title {
	display: block;
	padding: 6px 10px 8px;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--gold);
	font-family: var(--font-urdu);
	border-block-end: 1px solid rgba(var(--gold-rgb), .29);
	margin-bottom: 4px;
}
.samundri-drawer__nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 10px;
	border-radius: 11px;
	color: var(--ink);
	font-weight: 700;
	font-size: 14.5px;
	line-height: 1.6;
	transition: background .15s, color .15s, transform .15s;
}
.samundri-drawer__nav a:hover {
	background: var(--gold-soft);
	color: var(--primary-dark);
	transform: translateX(-2px);
}
.samundri-drawer__ic {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: var(--primary-soft);
	color: var(--primary);
	transition: background .15s, color .15s;
}
.samundri-drawer__nav a:hover .samundri-drawer__ic {
	background: var(--primary);
	color: #fff;
}
.samundri-drawer__wa .samundri-drawer__ic {
	background: #ecfdf5;
	color: #16a34a;
}
.samundri-drawer__wa:hover .samundri-drawer__ic {
	background: #16a34a;
	color: #fff;
}
.samundri-drawer__nav .menu-item a { /* WP menu items */ }
.samundri-drawer__nav .menu-item { list-style: none; margin: 0; padding: 0; }
.samundri-drawer__nav ul { list-style: none; margin: 0; padding: 0; }

/* Primary nav (legacy, if used) */
.samundri-nav { border-block-start: 1px solid var(--line); background: var(--surface); }
.samundri-nav__list { padding: 0 16px; list-style: none; display: flex; gap: 4px; margin-block: 0; overflow-x: auto; justify-content: flex-start; }
.samundri-nav__list li a { display: block; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.samundri-nav__list li a:hover { color: var(--primary); }
.samundri-nav__list .current-menu-item > a { color: var(--primary); }

/* ---------- Buttons ---------- */
.samundri-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	background: var(--primary); color: #fff; border: 0; border-radius: var(--radius);
	padding: 10px 20px; font-family: var(--font-urdu); font-size: 15px; font-weight: 700;
	cursor: pointer; transition: background .15s ease, transform .1s ease;
}
.samundri-btn:hover { background: var(--primary-dark); color: #fff; }
.samundri-btn--big { font-size: 17px; padding: 12px 28px; }
.samundri-btn--ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.samundri-btn--ghost:hover { background: var(--primary); color: #fff; }
.samundri-btn--sale { background: var(--sale); }
.samundri-btn--sale:hover { background: #9a1832; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce-page a.button, button[name="add-to-cart"] {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--primary); color: #fff; border: 0; border-radius: var(--radius);
	padding: 10px 18px; font-family: var(--font-urdu); font-size: 14px; font-weight: 700; cursor: pointer;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--primary-dark); color: #fff; }

/* ---------- Hero / promo ---------- */
/* Hero ke asal styles neeche "Custom hero banner" section mein hain. */

/* Promo rail */
.samundri-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 4px 12px; }
.samundri-rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.samundri-rail::-webkit-scrollbar { height: 6px; }
.samundri-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

/* Story circles */
.samundri-story { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; }
.samundri-story__ring {
	width: 64px; height: 64px; border-radius: 999px; padding: 3px;
	background: linear-gradient(135deg, var(--primary), var(--gold));
}
.samundri-story__img { width: 100%; height: 100%; border-radius: 999px; object-fit: cover; border: 3px solid #fff; }
.samundri-story__name { font-size: 11px; font-weight: 600; text-align: center; color: var(--ink); line-height: 1.3; }

/* ---------- Sections ---------- */
.samundri-section { padding-block: 24px; }
.samundri-section__title { font-size: 20px; font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.samundri-section__more { text-align: center; margin-top: 16px; }
.samundri-section--tinted { background: var(--primary-soft); border-radius: var(--radius-xl); padding: 20px; }

/* ---------- Category cards (circular) ---------- */
.samundri-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.samundri-cat {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 12px 8px; text-align: center; color: var(--ink); transition: box-shadow .15s, transform .15s;
}
.samundri-cat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.samundri-cat img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; }
.samundri-cat__name { font-size: 13px; font-weight: 700; }
.samundri-cat__count { font-size: 11px; color: var(--ink-soft); }

/* ---------- Featured stores ---------- */
.samundri-store {
	flex: 0 0 180px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 12px; display: flex; flex-direction: column; gap: 8px;
}
.samundri-store__logo { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; }
.samundri-store__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.samundri-store__meta { font-size: 12px; color: var(--ink-soft); }

/* ---------- Product card (v2.3.1) ---------- */
.samundri-card {
	background: #fff;
	border: 1px solid #e5eaf0;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
	transition: box-shadow .2s ease, transform .2s ease;
}
.samundri-card:hover {
	box-shadow: 0 16px 36px rgba(35, 69, 110, 0.14);
	transform: translateY(-3px);
}
.samundri-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: #f1f5f9;
	overflow: hidden;
}
.samundri-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.samundri-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #94a3b8;
	background: #f1f5f9;
}
.samundri-card__badge {
	position: absolute;
	top: 10px;
	right: 10px; /* RTL visual: sale badge corner */
	inset-inline-start: 10px;
	inset-block-start: 10px;
	background: #e11d48;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	padding: 4px 10px;
	border-radius: 999px;
	z-index: 2;
}
.samundri-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px 14px;
	flex: 1;
	min-width: 0;
}
.samundri-card__brand {
	font-size: 11px;
	font-weight: 800;
	color: var(--primary, #23456e);
	text-transform: uppercase;
	letter-spacing: .04em;
	font-family: system-ui, sans-serif;
}
.samundri-card__title {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.4;
}
.samundri-card__title a {
	color: #0f172a;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.samundri-card__title a:hover { color: var(--primary, #23456e); }
.samundri-card__price {
	margin-top: 4px;
	font-family: system-ui, sans-serif;
	font-feature-settings: 'tnum';
	direction: ltr;
	unicode-bidi: isolate;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}
.samundri-card__price-old {
	font-size: 13px;
	color: #94a3b8;
	text-decoration: line-through;
	font-weight: 600;
}
.samundri-card__price-new {
	font-size: 17px;
	font-weight: 800;
	color: var(--primary, #23456e);
}
.samundri-card__price-na {
	font-size: 13px;
	color: #94a3b8;
	font-weight: 600;
}
.samundri-card__btn {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--primary, #23456e);
	color: #fff !important;
	font-weight: 800;
	font-size: 13px;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(35, 69, 110, 0.25);
	transition: background .15s, transform .15s;
}
.samundri-card__btn:hover {
	background: var(--primary-dark, #1a3454);
	transform: translateY(-1px);
	color: #fff !important;
}

/* Product grid: min card width so 1 product is not a thin strip */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products.columns-2,
ul.products.columns-3,
ul.products.columns-4,
ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
	gap: 16px !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 20px 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
	display: none !important;
	content: none !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce .products .product,
ul.products li.product,
li.product.samundri-product,
li.product {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	clear: none !important;
	position: relative !important;
	left: auto !important;
	right: auto !important;
	list-style: none !important;
}
/* Hide any residual WC loop chrome inside our li */
li.product .star-rating,
li.product .onsale,
li.product > .price,
li.product > .button,
li.product .woocommerce-loop-product__title,
li.product .added_to_cart {
	display: none !important;
}
li.product .samundri-card .samundri-card__btn { display: flex !important; }

@media (min-width: 600px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
		gap: 18px !important;
	}
}
@media (min-width: 900px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
		gap: 20px !important;
	}
}

.samundri-card .star-rating { display: none !important; }

/* Shop toolbar */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin: 8px 0 12px;
	font-size: 13px;
	color: #64748b;
}
.woocommerce-products-header__title {
	font-size: 22px;
	font-weight: 800;
	margin: 8px 0 4px;
}


/* Archive page spacing so content never sits under sticky header */
.samundri-wrap,
.woocommerce-products-header,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	position: relative;
	z-index: 1;
}
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
	margin-block: 8px 12px;
}
.samundri-archive,
.samundri-wrap {
	padding-block-end: 32px;
}


/* ---------- Trust badges ---------- */
.samundri-trust { display: grid; grid-template-columns: 1fr; gap: 12px; padding-block: 16px; }
.samundri-trust__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; text-align: center; }
.samundri-trust__title { font-weight: 800; font-size: 15px; color: var(--ink); margin: 0 0 4px; }
.samundri-trust__text { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ---------- CTA strip ---------- */
.samundri-cta {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: #fff; border-radius: var(--radius-xl); padding: 20px; text-align: center; margin-block: 16px;
}
.samundri-cta h2 { color: #fff; font-size: 20px; margin: 0 0 6px; }
.samundri-cta p { color: rgba(255,255,255,.9); margin: 0 0 14px; font-size: 14px; }
.samundri-cta .samundri-btn { background: #fff; color: var(--primary); }
.samundri-cta .samundri-btn:hover { background: var(--surface); }

/* ---------- Footer ---------- */
.samundri-footer { background: #fff; border-block-start: 1px solid var(--line); margin-top: 24px; padding-block: 24px; }
.samundri-footer__inner { max-width: var(--maxw); margin-inline: auto; padding-inline: 16px; display: grid; gap: 20px; }
.samundri-footer__col { }
.samundri-footer__brand { font-size: 20px; font-weight: 800; color: var(--primary); margin: 0 0 8px; }
.samundri-footer__menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.samundri-footer__menu a { color: var(--ink-soft); font-size: 14px; }
.samundri-footer__menu a:hover { color: var(--primary); }
.samundri-footer__bottom { max-width: var(--maxw); margin-inline: auto; padding: 12px 16px 0; border-block-start: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; text-align: center; }
.samundri-whatsapp-btn { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 700; }
.samundri-whatsapp-btn:hover { background: #1ebe57; color: #fff; }

/* ---------- Search results ---------- */
.samundri-search-results { position: absolute; inset-inline: 0; inset-block-start: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60; }
.samundri-search-results a { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-block-end: 1px solid var(--surface); color: var(--ink); }
.samundri-search-results a:hover { background: var(--surface); }
.samundri-search-results img { width: 44px; height: 55px; object-fit: cover; border-radius: 6px; }
.samundri-search-results .sr-price { margin-inline-start: auto; color: var(--primary); font-weight: 700; }
.samundri-search-results .sr-empty { padding: 12px 16px; color: var(--ink-soft); margin: 0; }

/* ---------- Single product / cart / checkout / forms ---------- */
.woocommerce div.product { display: grid; gap: 20px; }
.woocommerce div.product .woocommerce-product-gallery { }
.woocommerce div.product .summary { }
.woocommerce .quantity .qty { width: 70px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 10px 12px; }
.woocommerce .cart_totals { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; }
.woocommerce form.checkout { display: grid; gap: 16px; }
.woocommerce .woocommerce-form-row input, .woocommerce form .form-row input.input-text {
	width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-urdu);
}
.woocommerce .woocommerce-form-row label, .woocommerce form .form-row label { font-weight: 600; font-size: 14px; margin-bottom: 4px; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 639px) {
	.samundri-header__location { display: none; }
	.samundri-action__label { display: none; }
	.samundri-cats-btn span { display: none; }
	.samundri-cats-btn { padding: 9px 10px; }
	.samundri-logo-text { font-size: 17px; }
	.samundri-cats { grid-template-columns: repeat(2, 1fr); }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.samundri-trust { grid-template-columns: 1fr; }
}
@media (min-width: 640px) {
	.samundri-cats { grid-template-columns: repeat(4, 1fr); }
	.samundri-trust { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.samundri-footer__inner { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
	.woocommerce ul.products { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}


/* ---------- Category rail (horizontal scroll) ---------- */
.samundri-cats-rail {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	padding-block: 6px 10px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--line) transparent;
	overscroll-behavior-x: contain;
	cursor: grab;
	user-select: none;
	max-width: 100%;
}
.samundri-cats-rail::-webkit-scrollbar { height: 5px; }
.samundri-cats-rail::-webkit-scrollbar-track { background: transparent; }
.samundri-cats-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.samundri-cats-rail.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
}
.samundri-cats-rail .samundri-cat {
	flex: 0 0 auto;
	width: 84px;
	scroll-snap-align: start;
}
.samundri-cats-rail .samundri-cat img,
.samundri-cats-rail .samundri-cat__placeholder {
	width: 64px; height: 64px; border-radius: 999px;
}
.samundri-cat__placeholder {
	display: flex; align-items: center; justify-content: center;
	background: var(--primary-soft); font-size: 28px;
}

/* ---------- Header categories rail (under search bar) ---------- */
.samundri-header__cats {
	position: relative !important;
	top: auto !important;
	background: #fff;
	border-block-start: 1px solid var(--line);
	padding: 12px 0 16px;
	max-width: 100%;
	overflow: visible;
}
.samundri-header__cats .samundri-cats-rail--header {
	padding-inline: 16px;
	gap: 10px;
	overflow-x: auto;
	overflow-y: visible;
}
@media (min-width: 768px) {
	.samundri-header__cats .samundri-cats-rail--header {
		padding-inline: 48px;
		max-width: var(--maxw);
		margin-inline: auto;
	}
}

.samundri-cat--header {
	flex: 0 0 auto;
	width: 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	color: var(--ink);
	text-decoration: none;
	transition: transform .15s ease;
	scroll-snap-align: start;
}
.samundri-cat--header:hover { transform: translateY(-2px); color: var(--primary); }
.samundri-cat--header img,
.samundri-cat--header .samundri-cat__placeholder {
	width: 60px; height: 60px; border-radius: 999px; object-fit: cover;
	border: 2px solid var(--primary-soft);
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
	background: var(--surface);
}
.samundri-cat--header .samundri-cat__placeholder {
	display: flex; align-items: center; justify-content: center;
	background: var(--primary-soft); font-size: 24px; border: 2px solid var(--line);
}
.samundri-cat--header .samundri-cat__name {
	font-size: 12px; font-weight: 700; color: inherit; line-height: 1.35;
	max-width: 80px; overflow: hidden; text-overflow: ellipsis;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	white-space: normal; min-height: 2.7em;
}

/* Arrow buttons for desktop / when overflow */
.samundri-cats-rail-wrap { position: relative; }
.samundri-cats-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, .96);
	color: var(--ink);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(18, 38, 63, .18);
	padding: 0;
	touch-action: manipulation;
	transition: background .15s, color .15s, opacity .15s, transform .15s;
}
.samundri-cats-arrow:hover {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}
.samundri-cats-arrow:active { transform: translateY(-50%) scale(.94); }
.samundri-cats-arrow--prev { inset-inline-start: 6px; }
.samundri-cats-arrow--next { inset-inline-end: 6px; }
.samundri-cats-arrow[hidden] { display: none !important; }

@media (max-width: 639px) {
	.samundri-header__cats .samundri-cats-arrow { display: none !important; }
	.samundri-header__cats .samundri-cats-rail--header {
		padding-inline: 14px;
	}
	.samundri-page-cats .samundri-cats-arrow {
		width: 32px;
		height: 32px;
		inset-inline-start: 4px;
		inset-inline-end: auto;
	}
	.samundri-page-cats .samundri-cats-arrow--next { inset-inline-start: auto; inset-inline-end: 4px; }
}

.samundri-cats-rail a {
	-webkit-user-drag: none;
	user-drag: none;
}


/* ---------- Brands grid (under main category) ---------- */
.samundri-archive__crumb {
	font-size: 14px;
	color: var(--ink-soft);
	margin: -8px 0 16px;
}
.samundri-archive__crumb a { color: var(--primary); font-weight: 700; }
.samundri-archive__crumb span { margin-inline: 6px; }

.samundri-brands { margin-block: 8px 24px; }
.samundri-brands__title {
	font-size: 16px;
	font-weight: 800;
	margin: 0 0 14px;
	color: var(--ink);
}
.samundri-brands__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
@media (min-width: 640px) {
	.samundri-brands__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
	.samundri-brands__grid { grid-template-columns: repeat(4, 1fr); }
}
.samundri-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 16px 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-align: center;
	color: var(--ink);
	text-decoration: none;
	transition: box-shadow .15s, transform .15s, border-color .15s;
}
.samundri-brand:hover {
	box-shadow: var(--shadow);
	transform: translateY(-2px);
	border-color: var(--primary);
	color: var(--primary);
}
.samundri-brand__media {
	width: 72px;
	height: 72px;
	border-radius: 999px;
	overflow: hidden;
	background: var(--surface);
	display: flex;
	align-items: center;
	justify-content: center;
}
.samundri-brand__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.samundri-brand__placeholder {
	font-size: 32px;
	line-height: 1;
}
.samundri-brand__name {
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
}
.samundri-brand__count {
	font-size: 12px;
	color: var(--ink-soft);
	font-weight: 600;
}


/* ===== FORCE: header + categories NEVER sticky/fixed (v2.2.2) ===== */
header.samundri-header,
header.samundri-header *,
.samundri-header,
.samundri-header__bar,
.samundri-header__sticky,
.samundri-header__top,
.samundri-header__searchbar,
.samundri-header__cats,
.samundri-cats-rail--header {
	position: relative !important;
}
header.samundri-header,
.samundri-header,
.samundri-header__bar,
.samundri-header__sticky,
.samundri-header__cats {
	top: auto !important;
	bottom: auto !important;
	inset: auto !important;
	inset-block-start: auto !important;
	transform: none !important;
}
.samundri-header__cats {
	overflow: visible !important;
}


/* ===== Categories as PAGE section (scrolls with content) ===== */
.samundri-page-cats {
	position: relative !important;
	top: auto !important;
	background: #fff;
	border-block-end: 1px solid var(--line);
	padding: 14px 0 18px;
	z-index: 1;
}
.samundri-page-cats__inner {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: 12px;
}
.samundri-cats-rail--page {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	padding-block: 4px 6px;
	scrollbar-width: thin;
}
.samundri-cat--page {
	flex: 0 0 auto;
	width: 84px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	color: var(--ink);
	text-decoration: none;
	scroll-snap-align: start;
}
.samundri-cat--page img,
.samundri-cat--page .samundri-cat__placeholder {
	width: 64px;
	height: 64px;
	border-radius: 999px;
	object-fit: cover;
	border: 2px solid var(--primary-soft);
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
	background: var(--primary-soft);
}
.samundri-cat--page .samundri-cat__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
}
.samundri-cat--page .samundri-cat__name {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	max-width: 84px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.samundri-cat--page:hover {
	color: var(--primary);
}
/* Hide old header cats if any residual markup */
.samundri-header__cats { display: none !important; }


/* === premium.css === */
/*
 * Samundri Shop — premium.css (v2.4.0)
 * Professional, simple, mobile-first e-commerce design.
 * main.css ke UPAR load hota hai. Header/categories sticky nahi.
 */

:root {
	/* samundri.pk brand: deep navy + gold */
	--primary: #10203e;
	--primary-dark: #0e1b33;
	--primary-soft: #eaf0f7;
	--surface: #f7f4ef;
	--gold: #E9C776;
	--gold-rgb: 233, 199, 118;
	--gold-soft: #F8E2A0;
	--fresh: #2e7d5b;
	--fresh-soft: #e6f4ed;
	--sale: #9b1b30;
	--ink: #17233b;
	--ink-soft: #5b6475;
	--line: rgba(var(--gold-rgb), .45);
	--radius: 12px;
	--radius-lg: 18px;
	--radius-xl: 24px;
	--shadow: 0 4px 18px rgba(18, 38, 63, .07);
	--shadow-lg: 0 18px 44px rgba(18, 38, 63, .14);
	--font-ui: 'Mehr Nastaliq Web', 'Jameel Noori Nastaliq', 'Noto Nastaliq Urdu', serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	background: var(--surface);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.95;
}
h1, h2, h3, h4, h5, h6 { line-height: 1.55; }
p { line-height: 1.95; }
img { max-width: 100%; height: auto; }
.samundri-main { min-height: 50vh; }

/* Mobile bottom nav ke liye jagah */
@media (max-width: 767px) {
	body { padding-bottom: 74px; }
}

/* ---------- Announcement strip ---------- */
.samundri-topbar {
	background: linear-gradient(90deg, var(--primary-dark), var(--primary) 55%, var(--primary-dark));
	color: #fff;
	font-size: 12.5px;
	line-height: 1.8;
	padding: 6px 16px;
	letter-spacing: 0;
}
.samundri-topbar strong { color: var(--gold); font-weight: 700; }

/* ---------- Header ---------- */
.samundri-header {
	box-shadow: 0 1px 0 var(--line), 0 10px 26px -24px rgba(18, 38, 63, .5);
}
.samundri-header__inner { height: 62px; }
.samundri-logo-text { font-size: 22px; letter-spacing: 0; }
img.samundri-logo-mark {
	width: 42px; height: 42px;
	object-fit: contain;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 3px 10px rgba(18, 38, 63, .16);
}
.samundri-header__location {
	display: flex; flex-direction: column; align-items: flex-start;
	padding-inline-start: 12px; margin-inline-start: 4px;
	border-inline-start: 2px solid var(--gold);
	line-height: 1.5; font-size: 12px; color: var(--ink-soft);
}
.samundri-location__city { font-weight: 800; color: var(--primary); font-size: 14px; }
.samundri-action { border-radius: 12px; padding: 7px 10px; }
.samundri-action:hover { background: var(--primary-soft); }
.samundri-cart-count { background: var(--gold); color: var(--primary-dark); }

/* Search row */
.samundri-header__searchbar { background: #fff; padding-block: 10px 12px; }
.samundri-cats-btn {
	background: var(--primary-soft); border-color: transparent; color: var(--primary);
	border-radius: 14px; padding: 10px 16px;
}
.samundri-cats-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.samundri-header__search form {
	border: 2px solid var(--primary); border-radius: 14px;
	box-shadow: 0 6px 18px rgba(30, 58, 95, .10);
}
.samundri-header__search input[type="search"] { padding-block: 11px 12px; font-size: 14px; }
.samundri-header__search button { padding-inline: 20px; background: var(--primary); }
.samundri-header__search button:hover { background: var(--gold); color: var(--primary-dark); }

/* ---------- Category rail ---------- */
.samundri-page-cats {
	background: #fff;
	border-block-end: 0;
	padding: 16px 0 20px;
	box-shadow: 0 10px 24px -20px rgba(18, 38, 63, .35);
}
.samundri-cats-rail--page { gap: 12px; padding-block: 4px 8px; padding-inline: 20px; padding-inline-end: 32px; }
.samundri-cat--page {
	width: 104px;
	padding: 12px 8px 10px;
	background: linear-gradient(180deg, #fff, var(--surface));
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: 0 2px 8px rgba(18, 38, 63, .05);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.samundri-cat--page:hover {
	transform: translateY(-3px);
	border-color: var(--gold);
	box-shadow: 0 12px 24px rgba(18, 38, 63, .14);
}
.samundri-cat--page img,
.samundri-cat--page .samundri-cat__placeholder {
	width: 66px; height: 66px;
	border: 3px solid #fff;
	box-shadow: 0 0 0 2px var(--gold-soft), 0 6px 14px rgba(18, 38, 63, .15);
}
.samundri-cat--page .samundri-cat__name { font-size: 12.5px; max-width: 92px; color: var(--ink); }

/* ---------- Custom hero banner (Customizer → ہیرو کی تصویر) ---------- */
.samundri-hero {
	position: relative;
	max-width: var(--maxw);
	margin: 14px auto 0;
	padding: 0 12px;
	width: 100%;
	box-sizing: border-box;
}
.samundri-hero__img {
	display: block;
	width: 100%;
	height: clamp(200px, 30vw, 340px);
	object-fit: cover;
	border-radius: 22px;
}
.samundri-hero__overlay {
	position: absolute;
	inset-inline: 12px;
	inset-block: 0;
	border-radius: 22px;
	background: linear-gradient(to left, rgba(8, 20, 38, .78) 0%, rgba(8, 20, 38, .30) 55%, rgba(8, 20, 38, .05) 100%);
	pointer-events: none;
}
.samundri-hero__content {
	position: absolute;
	inset-block: 0;
	inset-inline: 12px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 6px;
	padding: 24px 30px;
	color: #fff;
	text-align: start;
}
.samundri-hero__title {
	margin: 0;
	font-size: clamp(20px, 3.2vw, 34px);
	font-weight: 800;
	line-height: 1.7;
	color: #fff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.samundri-hero__sub {
	margin: 0;
	max-width: 620px;
	font-size: clamp(12px, 1.5vw, 16px);
	line-height: 1.9;
	color: #f3ead6;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.samundri-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	padding: 9px 22px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.6;
	text-decoration: none;
	color: var(--primary-dark);
	background: var(--gold);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .6);
	transition: filter .25s ease, transform .25s ease;
}
.samundri-hero__cta:hover { color: var(--primary-dark); filter: brightness(1.06); transform: translateY(-1px); }
.samundri-hero__cta svg { transition: transform .25s ease; }
.samundri-hero__cta:hover svg { transform: translateX(-3px); }
@media (max-width: 639px) {
	.samundri-hero { margin-top: 10px; padding: 0 12px; }
	.samundri-hero__img { height: 250px; border-radius: 18px; }
	.samundri-hero__overlay { border-radius: 18px; }
	.samundri-hero__content { padding: 18px 18px; gap: 4px; }
	.samundri-hero__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.samundri-hero__sub { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.samundri-hero__cta { padding: 8px 18px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.samundri-hero__cta, .samundri-hero__cta svg { transition: none !important; }
}

/* ---------- Details strip — خریداری سے پہلے تفصیلات (front page top) ---------- */
.samundri-details-strip {
	max-width: var(--maxw); margin: 14px auto 0; padding-inline: 12px;
	width: 100%; box-sizing: border-box;
}
@media (min-width: 640px) { .samundri-details-strip { padding-inline: 16px; } }
.samundri-details-strip__card {
	position: relative; overflow: hidden;
	display: flex; align-items: center; gap: 14px;
	background:
		radial-gradient(circle at 88% 10%, rgba(var(--gold-rgb), .56), transparent 42%),
		linear-gradient(135deg, #0e1b33 0%, #18355f 60%, #1d3a6b 100%);
	border: 1px solid rgba(var(--gold-rgb), .88);
	border-radius: 18px; padding: 16px 20px; color: #fff;
	box-shadow: 0 14px 30px rgba(11,29,51,.22);
}
.samundri-details-strip__icon {
	flex: 0 0 auto; width: 46px; height: 46px;
	display: grid; place-items: center; border-radius: 50%;
	background: var(--gold);
	font-size: 22px; line-height: 1;
	box-shadow: 0 6px 14px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.6);
}
.samundri-details-strip__text {
	margin: 0; font-size: 15px; line-height: 1.9; font-weight: 500; color: #e8edf5;
}
.samundri-details-strip__text strong { color: var(--gold); font-weight: 800; }
@media (max-width: 560px) {
	.samundri-details-strip__card { padding: 13px 15px; gap: 10px; border-radius: 16px; }
	.samundri-details-strip__icon { width: 38px; height: 38px; font-size: 18px; }
	.samundri-details-strip__text { font-size: 13.5px; line-height: 1.85; }
}

/* ---------- Promo cards — نئی آمد / خاص رعایت (v2.4.32 elegant) ---------- */
.samundri-promos {
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
	max-width: var(--maxw); margin: 14px auto 14px; padding-inline: 12px;
	width: 100%; box-sizing: border-box;
}
@media (min-width: 640px) { .samundri-promos { gap: 18px; padding-inline: 16px; } }

.samundri-promo {
	--pr-a: #0b1d33; --pr-b: #0f3b3a; --pr-glow: rgba(52, 190, 140, .38);
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 8px; min-height: 148px; padding: 18px 10px 16px;
	border-radius: 22px; text-align: center; text-decoration: none; color: #fff;
	font-family: var(--font-urdu);
	border: 1.5px solid transparent;
	background:
		radial-gradient(120% 90% at 50% -25%, var(--pr-glow), transparent 58%) padding-box,
		linear-gradient(155deg, var(--pr-a) 0%, var(--pr-b) 100%) padding-box,
		linear-gradient(135deg, var(--gold) 0%, rgba(var(--gold-rgb), .4) 35%, rgba(var(--gold-rgb), .4) 65%, var(--gold) 100%) border-box;
	box-shadow: 0 12px 28px rgba(11, 29, 51, .28), 0 2px 6px rgba(11, 29, 51, .18), inset 0 1px 0 rgba(255,255,255,.1);
	transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
	-webkit-tap-highlight-color: transparent;
}
.samundri-promo--sale { --pr-a: #2a0d18; --pr-b: #5a1428; --pr-glow: rgba(255, 110, 130, .35); }

/* shine sweep */
.samundri-promo::after {
	content: ""; position: absolute; z-index: 1; inset-block: -20%; inset-inline-start: -60%;
	width: 40%; transform: skewX(-20deg);
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
	opacity: 0; pointer-events: none;
}
@media (hover: hover) {
	.samundri-promo:hover { transform: translateY(-4px); color: #fff;
		box-shadow: 0 20px 40px rgba(11,29,51,.38), 0 0 0 1px rgba(var(--gold-rgb), .56); }
	.samundri-promo:hover::after { opacity: 1; inset-inline-start: 130%; transition: inset-inline-start .9s ease, opacity .2s ease; }
}
.samundri-promo:active { transform: scale(.985); }
.samundri-promo:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* faded decoration */
.samundri-promo__deco {
	position: absolute; z-index: 0; width: 110px; height: 110px;
	inset-inline-end: -18px; inset-block-end: -24px; color: var(--gold); opacity: .08;
	transform: rotate(-12deg); pointer-events: none;
}

.samundri-promo__icon {
	position: relative; z-index: 2; display: grid; place-items: center;
	width: 52px; height: 52px; border-radius: 999px; color: var(--gold);
	background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
	border: 1px solid rgba(var(--gold-rgb), .88);
	box-shadow: 0 6px 16px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.25);
}
.samundri-promo__text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0; }
.samundri-promo__eyebrow {
	font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.6;
	color: var(--gold); opacity: .95;
}
.samundri-promo__title {
	display: block; margin: 0; font-size: 21px; font-weight: 800; line-height: 1.7;
	color: #fff; white-space: nowrap; text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.samundri-promo__cta {
	position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 16px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.6;
	color: #2b1d05; white-space: nowrap;
	background: var(--gold);
	box-shadow: 0 4px 12px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.6);
	transition: transform .25s ease, filter .25s ease;
}
.samundri-promo__arrow { transition: transform .25s ease; }
@media (hover: hover) {
	.samundri-promo:hover .samundri-promo__cta { filter: brightness(1.06); }
	.samundri-promo:hover .samundri-promo__arrow { transform: translateX(-3px); }
}
.samundri-promo__badge, .samundri-promo__label, .samundri-promo__body { display: none !important; }

/* tablet / desktop: icon + text + button ek qatar mein */
@media (min-width: 640px) {
	.samundri-promo { min-height: 150px; padding: 22px 20px; gap: 10px; }
	.samundri-promo__title { font-size: 26px; }
	.samundri-promo__cta { font-size: 13px; padding: 7px 20px; }
	.samundri-promo__deco { width: 140px; height: 140px; }
}
@media (min-width: 900px) {
	.samundri-promo { flex-direction: row; justify-content: space-between; gap: 18px; min-height: 124px; padding: 24px 32px; border-radius: 26px; }
	.samundri-promo__text { align-items: flex-start; flex: 1 1 auto; }
	.samundri-promo__icon { width: 64px; height: 64px; }
	.samundri-promo__icon svg { width: 30px; height: 30px; }
	.samundri-promo__title { font-size: 30px; }
	.samundri-promo__cta { font-size: 14px; padding: 9px 24px; }
}
@media (max-width: 360px) {
	.samundri-promo { min-height: 136px; padding-inline: 6px; }
	.samundri-promo__title { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
	.samundri-promo, .samundri-promo__cta, .samundri-promo__arrow { transition: none !important; }
	.samundri-promo::after { display: none; }
}

/* ---------- Trust strip ---------- */
.samundri-trust {
	max-width: var(--maxw); margin-inline: auto;
	padding: 14px 16px; gap: 10px;
	display: grid; grid-template-columns: 1fr;
}
.samundri-trust__item {
	display: flex; align-items: center; gap: 12px; text-align: start;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 13px 15px; box-shadow: var(--shadow);
}
.samundri-trust__icon {
	flex: 0 0 46px; height: 46px; border-radius: 14px;
	display: grid; place-items: center; font-size: 22px; line-height: 1;
	background: var(--gold-soft);
}
.samundri-trust__item:nth-child(2) .samundri-trust__icon { background: var(--fresh-soft); }
.samundri-trust__item:nth-child(3) .samundri-trust__icon { background: var(--primary-soft); }
.samundri-trust__title { font-size: 15px; line-height: 1.7; margin: 0; font-weight: 800; }
.samundri-trust__text { font-size: 12.5px; line-height: 1.8; color: var(--ink-soft); margin: 0; }
@media (min-width: 768px) {
	.samundri-trust { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Sections ---------- */
.samundri-section { max-width: var(--maxw); margin-inline: auto; padding: 22px 16px 10px; }
.samundri-section__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px;
}
.samundri-section__title {
	position: relative; margin: 0; padding-inline-start: 15px;
	font-size: 23px; line-height: 1.8; color: var(--primary-dark);
}
.samundri-section__title::before {
	content: ''; position: absolute; inset-inline-start: 0; inset-block: 10px;
	width: 5px; border-radius: 4px; background: linear-gradient(var(--gold), var(--fresh));
}
.samundri-section__link {
	font-size: 13.5px; font-weight: 700; color: var(--primary);
	background: var(--primary-soft); padding: 0 16px; line-height: 2.4; border-radius: 999px;
}
.samundri-section__link:hover { background: var(--primary); color: #fff; }

/* ---------- Homepage category cards ---------- */
.samundri-home-cats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
	gap: 10px;
	margin-top: 6px;
}
.samundri-home-cat {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 14px 8px 12px;
	background: #fff; border: 1px solid var(--line); border-radius: 18px;
	text-align: center; color: var(--ink);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.samundri-home-cat:hover {
	transform: translateY(-3px);
	border-color: var(--gold);
	box-shadow: 0 14px 28px rgba(18, 38, 63, .12);
	color: var(--primary);
}
.samundri-home-cat__media {
	width: 64px; height: 64px; border-radius: 50%;
	overflow: hidden; display: grid; place-items: center;
	background: var(--primary-soft);
	border: 3px solid #fff;
	box-shadow: 0 0 0 2px var(--gold-soft), 0 6px 14px rgba(18, 38, 63, .12);
}
.samundri-home-cat__media img { width: 100%; height: 100%; object-fit: cover; }
.samundri-home-cat__placeholder { font-size: 26px; line-height: 1; }
.samundri-home-cat__name { font-size: 13px; font-weight: 800; line-height: 1.4; }
.samundri-home-cat__count { font-size: 11px; color: var(--ink-soft); line-height: 1.4; }

/* ---------- Product cards ---------- */
.samundri-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(18, 38, 63, .05);
	overflow: hidden;
	height: 100%;
}
.samundri-card:hover {
	border-color: rgba(35, 69, 110, .35);
	box-shadow: 0 12px 28px rgba(18, 38, 63, .12);
	transform: translateY(-2px);
}
.samundri-card__media {
	aspect-ratio: 4 / 5;
	background: #f8fafc;
	display: block;
	overflow: hidden;
	border-radius: 0; /* part of one tile — no separate rounded image */
}
.samundri-card__placeholder {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%; color: var(--ink-soft);
}
.samundri-card__price-na { font-size: 13px; color: var(--ink-soft); }
.samundri-card__badge {
	top: auto; right: auto;
	inset-block-start: 10px; inset-inline-start: 10px;
	background: linear-gradient(135deg, #d23c55, var(--sale));
	color: #fff; font-size: 10.5px; font-weight: 800;
	padding: 3px 10px; border-radius: 999px;
	box-shadow: 0 6px 14px rgba(180, 35, 60, .35);
	letter-spacing: .01em;
}
.samundri-card__badge--new {
	background: linear-gradient(135deg, #1F3A5F, #3B6FA0);
	box-shadow: 0 6px 14px rgba(31, 58, 95, .35);
}
.samundri-card__stock {
	position: absolute;
	inset-block-end: 10px;
	inset-inline-start: 10px;
	font-size: 10.5px;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 999px;
	line-height: 1.6;
}
.samundri-card__stock--out { background: var(--sale); color: #fff; }
.samundri-card__stock--low { background: var(--gold); color: #0e1b33; }
.samundri-card__body { padding: 10px 12px 12px; gap: 3px; }
.samundri-card__brand {
	font-size: 10px; font-weight: 800; color: var(--gold);
	text-transform: uppercase; letter-spacing: .06em;
	font-family: var(--font-latin);
}
.samundri-card__title { font-size: 14px; line-height: 1.7; }
.samundri-card__title a { color: var(--ink); }
.samundri-card__title a:hover { color: var(--primary); }
.samundri-card__price { margin-top: 2px; gap: 7px; }
.samundri-card__price-old { font-size: 12px; }
.samundri-card__price-new { font-size: 16px; color: var(--primary-dark); }
.samundri-card__btn {
	margin-top: 7px;
	padding: 9px 10px;
	border-radius: 11px;
	font-size: 13px;
	box-shadow: 0 6px 16px rgba(30, 58, 95, .22);
}
.samundri-card__btn:hover { background: var(--gold); color: var(--primary-dark) !important; transform: none; }
.samundri-card__btn.is-disabled {
	background: #9aa8b8 !important;
	box-shadow: none;
	cursor: not-allowed;
}
.samundri-card .added_to_cart {
	display: block !important;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--fresh);
	padding-top: 5px;
}

/* Homepage / product grids — unified tile grid (not scattered parts) */
.samundri-home-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 4px 0 12px;
	margin: 0;
	list-style: none;
	overflow: visible;
}
.samundri-home-grid > li.product {
	list-style: none;
	min-width: 0;
	width: 100%;
}
.samundri-home-grid .samundri-card {
	width: 100%;
}
@media (min-width: 640px) {
	.samundri-home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 900px) {
	.samundri-home-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 639px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products,
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
	.samundri-card__title { font-size: 13px; }
	.samundri-card__price-new { font-size: 15px; }
	.samundri-card__btn { font-size: 12px; padding: 8px 8px; }
}

/* ---------- How to order ---------- */
.samundri-howto {
	max-width: var(--maxw); margin: 22px auto; padding: 22px 16px 8px;
}
.samundri-howto__head { text-align: center; margin-bottom: 14px; }
.samundri-howto__head .samundri-section__title {
	display: inline-block; padding-inline-start: 0;
}
.samundri-howto__head .samundri-section__title::before { display: none; }
.samundri-howto__head p { color: var(--ink-soft); margin: 2px 0 0; font-size: 13.5px; }
.samundri-howto__steps { display: grid; grid-template-columns: 1fr; gap: 10px; }
.samundri-step {
	display: flex; gap: 12px; align-items: flex-start;
	background: #fff; border: 1px solid var(--line); border-radius: 16px;
	padding: 15px; box-shadow: var(--shadow);
}
.samundri-step__num {
	flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
	background: linear-gradient(145deg, var(--primary), var(--primary-dark));
	color: #fff; display: grid; place-items: center;
	font-weight: 800; font-size: 17px; font-family: var(--font-latin);
	box-shadow: 0 4px 10px rgba(30, 58, 95, .25);
}
.samundri-step strong { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 1px; }
.samundri-step p { margin: 0; font-size: 12.5px; color: var(--ink-soft); line-height: 1.8; }
.samundri-howto__alt { text-align: center; margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); }
.samundri-howto__alt a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.samundri-howto--compact { padding-top: 4px; }
@media (min-width: 768px) {
	.samundri-howto__steps { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Custom order CTA ---------- */
.samundri-cta {
	position: relative; overflow: hidden; isolation: isolate;
	max-width: calc(var(--maxw) - 32px); margin: 26px auto;
	background:
		radial-gradient(400px 200px at 90% 0%, rgba(var(--gold-rgb), .56), transparent 70%),
		linear-gradient(135deg, var(--primary), var(--primary-dark));
	border-radius: var(--radius-xl); padding: 32px 22px;
	box-shadow: var(--shadow-lg);
	text-align: center;
}
.samundri-cta h2 { font-size: 25px; line-height: 1.8; color: #fff; margin: 0 0 4px; }
.samundri-cta p { font-size: 14.5px; line-height: 1.95; color: rgba(255, 255, 255, .9); margin: 0 0 14px; }
.samundri-cta .samundri-btn { background: var(--gold); color: var(--primary-dark); }
.samundri-cta .samundri-btn:hover { background: #fff; }

/* ---------- Buttons / forms ---------- */
.samundri-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	border-radius: 12px; background: var(--primary);
}
.samundri-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--primary-dark); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
	padding: 11px 13px;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(30, 58, 95, .12); }
.woocommerce .cart_totals, .woocommerce table.shop_table { border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; }

/* ---------- Archive / shop toolbar ---------- */
.samundri-archive, .samundri-wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 16px; }
.samundri-archive__crumb { font-size: 13px; color: var(--ink-soft); margin: -4px 0 12px; }
.samundri-archive__crumb a { color: var(--primary); font-weight: 600; }
.samundri-shop-toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	background: #fff; border: 1px solid var(--line); border-radius: 14px;
	padding: 10px 14px; margin: 10px 0 18px; box-shadow: var(--shadow);
}
.samundri-shop-toolbar .woocommerce-result-count { margin: 0; font-size: 13px; color: var(--ink-soft); }
.samundri-shop-toolbar .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-ordering select {
	border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px;
	background: #fff; font-family: var(--font-urdu); font-size: 13px;
}
@media (max-width: 599px) {
	.samundri-shop-toolbar { flex-direction: column; align-items: stretch; }
	.samundri-shop-toolbar .woocommerce-ordering select { width: 100%; }
}

/* ---------- Brand cards ---------- */
.samundri-brands { margin-block: 8px 24px; }
.samundri-brands__title { font-size: 17px; font-weight: 800; margin: 0 0 12px; color: var(--ink); }
/* Store/archive par sirf buttons — heading/description likhaiyan band (safety net). */
body.archive .samundri-section__title,
body.archive .term-description,
body.archive .woocommerce-products-header,
.samundri-brands__title { display: none !important; }
.samundri-brands__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .samundri-brands__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .samundri-brands__grid { grid-template-columns: repeat(4, 1fr); } }
.samundri-brand {
	display: flex; flex-direction: column; align-items: center; gap: 7px;
	padding: 15px 10px; background: #fff; border: 1px solid var(--line);
	border-radius: 16px; text-align: center; color: var(--ink);
	transition: box-shadow .15s, transform .15s, border-color .15s;
}
.samundri-brand:hover {
	box-shadow: 0 14px 28px rgba(18, 38, 63, .12);
	transform: translateY(-2px);
	border-color: var(--gold);
	color: var(--primary);
}
.samundri-brand__media {
	width: 68px; height: 68px; border-radius: 50%; overflow: hidden;
	background: var(--surface); display: grid; place-items: center;
	border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold-soft);
}
.samundri-brand__media img { width: 100%; height: 100%; object-fit: cover; }
.samundri-brand__placeholder { font-size: 28px; line-height: 1; }
.samundri-brand__name { font-size: 13.5px; font-weight: 800; line-height: 1.4; }
.samundri-brand__count { font-size: 11.5px; color: var(--ink-soft); font-weight: 600; }

/* ---------- Footer ---------- */
.samundri-footer {
	margin-top: 48px; padding: 44px 0 0;
	background:
		radial-gradient(ellipse 80% 50% at 50% 0%, rgba(var(--gold-rgb), .13), transparent 70%),
		linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: rgba(255, 255, 255, .82);
	border-block-start: 4px solid var(--gold);
	position: relative;
	overflow: hidden;
}
.samundri-footer::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
	background-size: 24px 24px;
	pointer-events: none;
	z-index: 0;
}
.samundri-footer__inner {
	max-width: var(--maxw); margin-inline: auto; padding-inline: 20px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px;
	position: relative;
	z-index: 1;
}
.samundri-footer__col--brand { grid-column: 1 / -1; }
@media (min-width: 900px) {
	.samundri-footer__inner { grid-template-columns: 1.5fr 1fr 1.2fr; gap: 36px 28px; }
	.samundri-footer__col--brand { grid-column: auto; }
}
.samundri-footer__brand { color: #fff; font-size: 28px; font-weight: 800; margin: 0 0 6px; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
.samundri-footer__tagline { color: rgba(255, 255, 255, .75); font-size: 13.5px; line-height: 1.9; margin: 0 0 12px; }
.samundri-footer__trust { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.samundri-footer__trust span {
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px; padding: 2px 10px; font-size: 11px; color: #fff;
}
.samundri-footer h3 { color: var(--gold); font-size: 15px; margin: 0 0 9px; font-weight: 800; }
.samundri-footer__menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.samundri-footer__menu a { color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.samundri-footer__menu a:hover { color: var(--gold); }
.samundri-footer__contact li { color: rgba(255, 255, 255, .75); font-size: 12.5px; line-height: 1.85; }
.samundri-footer__contact a { color: #fff; font-weight: 700; }
.samundri-footer__bottom {
	max-width: var(--maxw); margin: 26px auto 0; padding: 14px 16px;
	border-block-start: 1px solid rgba(255, 255, 255, .15);
	display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
	color: rgba(255, 255, 255, .55); font-size: 12px;
}
.samundri-footer__bottom p { margin: 0; text-align: start; }
.samundri-footer__made { color: rgba(255, 255, 255, .45); }
@media (max-width: 599px) {
	.samundri-footer__bottom { flex-direction: column; text-align: center; }
	.samundri-footer__bottom p { text-align: center; }
}
.samundri-whatsapp-btn { box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }

/* ---------- Floating WhatsApp ---------- */
.samundri-fab {
	position: fixed; inset-block-end: 18px; inset-inline-start: 18px; z-index: 50;
	width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
	background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.samundri-fab svg { width: 27px; height: 27px; fill: currentColor; }
.samundri-fab:hover { color: #fff; transform: scale(1.06); }

/* ---------- Mobile bottom navigation ---------- */
.samundri-bottomnav {
	position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 80;
	display: none; grid-template-columns: repeat(5, 1fr);
	background: #fff; border-block-start: 1px solid var(--line);
	box-shadow: 0 -6px 24px rgba(18, 38, 63, .10);
	padding-block: 5px calc(5px + env(safe-area-inset-bottom, 0px));
}
.samundri-bottomnav__item {
	position: relative; display: flex; flex-direction: column;
	align-items: center; justify-content: center; gap: 2px;
	padding: 4px 2px; color: var(--ink-soft);
	font-size: 10.5px; font-weight: 700; line-height: 1.3; text-align: center;
}
.samundri-bottomnav__item svg { width: 22px; height: 22px; }
.samundri-bottomnav__item.is-active { color: var(--primary); }
.samundri-bottomnav__item.is-active::before {
	content: ''; position: absolute; inset-block-start: -5px; inset-inline: 18%;
	height: 3px; border-radius: 0 0 4px 4px; background: var(--gold);
}
.samundri-bottomnav__count {
	position: absolute; inset-block-start: 0; inset-inline-end: calc(50% - 20px);
	background: var(--sale); color: #fff; font-size: 9px; font-weight: 800;
	min-width: 15px; height: 15px; border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0 3px; font-family: var(--font-latin);
}
.samundri-bottomnav__count[hidden] { display: none !important; }
@media (max-width: 767px) {
	.samundri-bottomnav { display: grid; }
	.samundri-fab { inset-block-end: 82px; }
}

/* ---------- Sticky mobile ATC bar (single product) ---------- */
.samundri-sticky-atc {
	display: none;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	background: #fff;
	border-block-start: 1px solid var(--line, rgba(var(--gold-rgb), .45));
	box-shadow: 0 -6px 20px rgba(18, 38, 63, .12);
}
.samundri-sticky-atc.is-visible { display: flex; }
.samundri-sticky-atc__price {
	flex: 1;
	font-weight: 800;
	font-size: 1.1rem;
	color: var(--ink, #0E1B33);
	line-height: 1.4;
}
.samundri-sticky-atc__price .price { margin: 0; }
.samundri-sticky-atc__btn {
	background: var(--primary, #1F3A5F);
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: .95rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	font-family: inherit;
}
.samundri-sticky-atc__btn:active { transform: scale(.97); }
@media (max-width: 767px) {
	.samundri-sticky-atc.is-visible { display: flex; }
	.samundri-single .samundri-fab { display: none !important; }
	/* sit above bottom nav */
	.samundri-sticky-atc { inset-block-end: 62px; position: fixed; inset-inline: 0; z-index: 85; }
}

/* ---------- Single product ---------- */
.samundri-single {
	padding-block: 12px 28px;
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}
.samundri-single__crumb { font-size: 13px; color: var(--ink-soft); margin: 0 0 12px; }
.samundri-single__crumb a { color: var(--primary); font-weight: 600; }
.samundri-crumb-sep { margin-inline: 4px; color: var(--ink-soft); }

/* Layout — min-width:0 prevents grid blowout / horizontal scroll */
.samundri-single__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	align-items: start;
	width: 100%;
	max-width: 100%;
}
.samundri-single__gallery,
.samundri-single__summary {
	min-width: 0;
	max-width: 100%;
	width: 100%;
}

/* Desktop (≥900px) — side by side, balanced */
@media (min-width: 900px) {
	.samundri-single__layout {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: 36px;
	}
	.samundri-single__gallery {
		position: sticky;
		top: 24px;
		align-self: start;
	}
	.samundri-single__gallery .woocommerce-product-gallery__image img {
		max-height: min(58vh, 560px) !important;
	}
	.samundri-product-video {
		max-height: min(42vh, 380px);
	}
	.samundri-product-video iframe,
	.samundri-product-video video {
		max-height: min(42vh, 380px);
	}
}

/* Tablet (640px – 899px) */
@media (min-width: 640px) and (max-width: 899px) {
	.samundri-single__layout { gap: 20px; }
	.samundri-single__gallery {
		max-width: 560px;
		margin-inline: auto;
	}
	.samundri-single__gallery .woocommerce-product-gallery { padding: 12px; }
	.samundri-single__gallery .woocommerce-product-gallery__image img {
		max-height: min(50vh, 440px) !important;
	}
	.samundri-product-video {
		max-height: min(38vh, 320px);
	}
	.samundri-product-video iframe,
	.samundri-product-video video {
		max-height: min(38vh, 320px);
	}
	.samundri-single__gallery .flex-control-thumbs {
		justify-content: center;
		gap: 8px;
	}
	.samundri-single__gallery .flex-control-thumbs li {
		width: 60px;
		height: 60px;
	}
}

/* Mobile (≤639px) */
@media (max-width: 639px) {
	.samundri-single { padding-block: 8px 20px; }
	.samundri-single__layout { gap: 12px; }
	.samundri-single__gallery .woocommerce-product-gallery {
		padding: 6px;
		border-radius: 14px;
	}
	.samundri-single__gallery .woocommerce-product-gallery__image {
		border-radius: 12px;
	}
	.samundri-single__gallery .woocommerce-product-gallery__image img {
		max-height: min(52vh, 340px) !important;
	}
	.samundri-product-video {
		margin-bottom: 10px;
		border-radius: 14px;
		max-height: min(36vh, 260px);
	}
	.samundri-product-video iframe,
	.samundri-product-video video {
		max-height: min(36vh, 260px);
		border-radius: 12px;
	}
	.samundri-single__gallery .flex-control-thumbs {
		justify-content: center;
		gap: 6px;
		flex-wrap: wrap;
		margin-top: 8px;
	}
	.samundri-single__gallery .flex-control-thumbs li {
		width: 46px;
		height: 46px;
		border-radius: 8px;
	}
	.samundri-single__summary {
		padding: 14px !important;
		border-radius: 14px;
	}
	.samundri-single__summary .product_title {
		font-size: 20px !important;
	}
	.samundri-single__summary .price {
		font-size: 20px !important;
	}
}

/* Base gallery styles — force contain, no overflow */
.samundri-single__gallery .woocommerce-product-gallery {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 10px;
	box-shadow: var(--shadow);
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}
.samundri-single__gallery .woocommerce-product-gallery,
.samundri-single__gallery .woocommerce-product-gallery__wrapper,
.samundri-single__gallery .flex-viewport,
.samundri-single__gallery .woocommerce-product-gallery__image {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}
.samundri-single__gallery .flex-viewport {
	background: #f8fafc;
	border-radius: var(--radius);
	overflow: hidden;
}
.samundri-single__gallery .woocommerce-product-gallery__image {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: center;
}
.samundri-single__gallery .woocommerce-product-gallery__image a {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	line-height: 0;
}
.samundri-single__gallery .woocommerce-product-gallery__image img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 480px !important;
	border-radius: var(--radius) !important;
	object-fit: contain !important;
	margin-inline: auto;
	transition: transform .3s ease;
}
.samundri-single__gallery .woocommerce-product-gallery__image:hover img {
	transform: scale(1.02);
}

/* Product video — responsive across all screens */
.samundri-product-video {
	width: 100%;
	max-width: 100%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow);
	margin-bottom: 14px;
	background: #0f172a;
	position: relative;
}
.samundri-product-video--embed {
	aspect-ratio: 16 / 9;
}
.samundri-product-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
	display: block;
	max-width: 100%;
}
.samundri-product-video--file video,
.samundri-product-video video {
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: 380px;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	background: #0f172a;
	border: none;
	display: block;
	border-radius: 14px;
}

/* Thumbnails */
.samundri-single__gallery .flex-control-thumbs {
	margin-top: 10px;
	gap: 8px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	max-width: 100%;
}
.samundri-single__gallery .flex-control-thumbs li {
	width: 58px;
	height: 58px;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid var(--line);
	transition: border-color .2s ease, box-shadow .2s ease;
	flex-shrink: 0;
}
.samundri-single__gallery .flex-control-thumbs li:hover,
.samundri-single__gallery .flex-control-thumbs li.flex-active {
	border-color: var(--primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 25%, transparent);
}
.samundri-single__gallery .flex-control-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.samundri-single__summary {
	background: #fff; border: 1px solid var(--line); border-radius: 18px;
	padding: 20px; box-shadow: var(--shadow);
}
.samundri-single__summary .product_title { font-size: 25px; font-weight: 800; color: var(--ink); margin: 0 0 8px; line-height: 1.6; }
.samundri-single__summary .price { font-size: 23px; font-weight: 900; color: var(--primary); margin: 0 0 12px; }
.samundri-single__summary .price del { color: var(--ink-soft); font-size: 15px; font-weight: 500; margin-inline-end: 8px; }
.samundri-single__summary .woocommerce-product-details__short-description {
	color: var(--ink-soft); font-size: 14px; line-height: 1.9;
	margin: 0 0 14px; padding: 0 0 12px; border-block-end: 1px solid var(--line);
}
.samundri-single__summary .cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 14px; }
.samundri-single__summary .quantity { flex: 0 0 auto; }
.samundri-single__summary .quantity .qty {
	width: 74px; padding: 10px 12px; border: 1.5px solid var(--line);
	border-radius: 12px; font-size: 16px; text-align: center;
}
.samundri-single__summary .single_add_to_cart_button {
	flex: 1 1 160px; border-radius: 12px; padding: 12px 20px;
	font-size: 16px; font-weight: 800; background: var(--primary);
}
.samundri-single__summary .single_add_to_cart_button:hover { background: var(--primary-dark); }
.samundri-whatsapp-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: #25D366; color: #fff; border-radius: 12px;
	padding: 12px 20px; font-weight: 700; font-size: 15px;
	width: 100%; justify-content: center; margin: 0 0 12px;
}
.samundri-whatsapp-btn:hover { background: #1ebe57; color: #fff; }
.samundri-colour-note { font-size: 12px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.8; }
.samundri-qty-total { margin: 0 0 12px; font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.samundri-qty-total strong { color: var(--primary); font-size: 16px; }
html.smdsp-cart-auto .woocommerce-cart-form [name="update_cart"] { display: none !important; }
body.smdsp-cart-updating .woocommerce-cart-form,
body.smdsp-cart-updating .cart_totals { opacity: .55; pointer-events: none; }
.samundri-details-note {
	display: flex; align-items: flex-start; gap: 10px;
	background: linear-gradient(180deg, #fffdf6, #fdf6e3);
	border: 1px solid rgba(var(--gold-rgb), .38); border-inline-start: 4px solid var(--gold);
	border-radius: 12px; padding: 12px 14px; margin: 0 0 14px;
	font-size: 13.5px; line-height: 1.9; color: #57492a;
}
.samundri-details-note strong { color: var(--ink); }
.samundri-details-note__icon { flex: 0 0 auto; font-size: 18px; line-height: 1.9; }
.samundri-single__summary .product_meta {
	font-size: 12.5px; color: var(--ink-soft);
	padding-top: 12px; border-block-start: 1px solid var(--line);
}
.samundri-single__summary .product_meta a { color: var(--primary); font-weight: 600; }
.samundri-single__summary .product_meta span { display: inline-block; margin-inline-end: 12px; }

/* Stock badge */
.samundri-single__summary .stock {
	display: inline-block; padding: 4px 12px; border-radius: 999px;
	font-size: 12.5px; font-weight: 700; margin: 0 0 12px;
}
.samundri-single__summary .in-stock { background: var(--fresh-soft); color: var(--fresh); }
.samundri-single__summary .out-of-stock { background: #fdeaea; color: #9a2626; }

/* Trust row on product page */
.samundri-single__trust { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 20px 0 4px; }
.samundri-single__trust-item {
	display: flex; align-items: center; gap: 10px;
	background: #fff; border: 1px solid var(--line); border-radius: 14px;
	padding: 12px 14px; box-shadow: var(--shadow);
}
.samundri-single__trust-item > span { font-size: 22px; line-height: 1; }
.samundri-single__trust-item strong { display: block; font-size: 13.5px; color: var(--ink); }
.samundri-single__trust-item p { margin: 0; font-size: 12px; color: var(--ink-soft); }
@media (min-width: 768px) {
	.samundri-single__trust { grid-template-columns: repeat(3, 1fr); }
}

/* Tabs + description content */
.woocommerce-tabs {
	margin-top: 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 18px;
	box-shadow: var(--shadow);
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}
.woocommerce-tabs .tabs {
	display: flex;
	gap: 4px;
	border-bottom: 2px solid var(--line);
	padding: 0 0 8px;
	margin: 0 0 16px;
	list-style: none;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.woocommerce-tabs .tabs::-webkit-scrollbar { display: none; }
.woocommerce-tabs .tabs li { margin: 0; flex-shrink: 0; }
.woocommerce-tabs .tabs li a {
	display: block;
	padding: 8px 16px;
	color: var(--ink-soft);
	font-weight: 700;
	font-size: 13.5px;
	border-radius: 8px 8px 0 0;
	white-space: nowrap;
}
.woocommerce-tabs .tabs li.active a { color: var(--primary); background: var(--primary-soft); }
.woocommerce-tabs .panel {
	padding: 0;
	max-width: 100%;
	overflow-x: clip;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}
.woocommerce-tabs .panel h2 { font-size: 18px; font-weight: 800; color: var(--ink); margin: 0 0 10px; }
.woocommerce-tabs .panel img,
.woocommerce-tabs .panel video,
.woocommerce-tabs .panel iframe {
	border-radius: var(--radius);
	max-width: 100% !important;
	height: auto !important;
	display: block;
	margin-inline: auto;
}
.woocommerce-tabs .panel iframe {
	aspect-ratio: 16 / 9;
	width: 100% !important;
	max-width: 640px;
	height: auto !important;
}
.woocommerce-tabs .panel figure,
.woocommerce-tabs .panel .wp-block-embed,
.woocommerce-tabs .panel .wp-block-video {
	max-width: 100%;
	margin: 12px auto;
}
@media (max-width: 639px) {
	.woocommerce-tabs { padding: 12px; border-radius: 14px; }
	.woocommerce-tabs .panel iframe { max-width: 100%; }
}

/* Related products */
.samundri-single .related {
	margin-top: 28px;
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}
.samundri-single .related h2 { font-size: 20px; font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.samundri-single .related ul.products,
.samundri-single .upsells ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
@media (min-width: 768px) {
	.samundri-single .related ul.products,
	.samundri-single .upsells ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.samundri-single .related ul.products,
	.samundri-single .upsells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Notices ---------- */
.samundri-prepaid-notice,
.samundri-return-policy {
	display: flex; align-items: flex-start; gap: 10px;
	background: var(--primary-soft); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 12px 14px; margin: 0 0 12px;
	font-size: 12.5px; line-height: 1.8;
}
.samundri-return-policy { background: var(--gold-soft); border-color: var(--gold); }
.samundri-prepaid-notice__icon,
.samundri-return-policy__icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.samundri-prepaid-notice strong,
.samundri-return-policy strong { display: block; font-size: 13.5px; color: var(--ink); margin: 0 0 2px; }
.samundri-prepaid-notice p,
.samundri-return-policy p { margin: 0; color: var(--ink-soft); }
.samundri-return-policy a { color: var(--primary); font-weight: 700; text-decoration: underline; }

.samundri-cart-note,
.samundri-checkout-note {
	background: var(--gold-soft); border: 1px solid rgba(var(--gold-rgb), .56);
	border-radius: 14px; padding: 14px 16px; margin: 0 0 18px;
}
.samundri-cart-note strong,
.samundri-checkout-note strong { display: block; color: var(--primary-dark); font-size: 15px; }
.samundri-cart-note p,
.samundri-checkout-note p { margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }

.samundri-no-results {
	background: #fff; border: 1px dashed var(--line); border-radius: 14px;
	padding: 18px; color: var(--ink-soft); text-align: center;
}

/* ---------- Cart / checkout polish ---------- */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce { max-width: var(--maxw); margin-inline: auto; }
.woocommerce table.shop_table th { background: var(--primary-soft); color: var(--primary-dark); font-weight: 800; }
.woocommerce .cart .button,
.woocommerce .checkout-button,
.woocommerce #place_order {
	border-radius: 12px; font-weight: 800;
}
.woocommerce #place_order { width: 100%; padding-block: 14px; font-size: 16px; }
.woocommerce form.checkout .form-row { margin-bottom: 12px; }
.woocommerce form.checkout .form-row label { font-weight: 700; font-size: 13.5px; }
.woocommerce form.checkout .form-row input.input-text { font-size: 15px; }

/* ---------- Search results ---------- */
.samundri-search-summary { color: var(--ink-soft); font-size: 14px; margin: 0 0 12px; }
.samundri-search-summary a { color: var(--primary); font-weight: 700; }
.samundri-search-summary__sep { margin-inline: 6px; }

/* ---------- Mobile refinements ---------- */
@media (max-width: 639px) {
	.samundri-header__inner { height: 58px; }
	img.samundri-logo-mark { width: 38px; height: 38px; }
	.samundri-logo-text { font-size: 19px; }
	.samundri-section__title { font-size: 20px; }
	.samundri-cat--page { width: 92px; }
	.samundri-cat--page img, .samundri-cat--page .samundri-cat__placeholder { width: 58px; height: 58px; }
	.samundri-cta { margin-inline: 12px; padding: 26px 18px; }
	.samundri-card__body { padding: 9px 10px 11px; }
	.samundri-single__summary { padding: 15px; }
	.samundri-single__summary .product_title { font-size: 21px; }
	.samundri-single__summary .price { font-size: 19px; }
	.samundri-single__summary .single_add_to_cart_button { width: 100%; }
	.samundri-whatsapp-btn { width: 100%; }
	.woocommerce-tabs .tabs { overflow-x: auto; white-space: nowrap; }
}

/* ---------- Accessibility / performance ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
.samundri-card__img { transition: transform .35s ease; }
.samundri-card:hover .samundri-card__img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
	.samundri-card:hover .samundri-card__img { transform: none; }
}
/* ===== Image lightbox + zoom ===== */
.samundri-zoom { cursor: zoom-in; }
.woocommerce-product-gallery__image img { cursor: zoom-in; }

.samundri-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	background: rgba(15, 23, 42, .88);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity .2s ease;
	pointer-events: none;
}
.samundri-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}
.samundri-lightbox__link {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 92vw;
	max-height: 82vh;
	border-radius: 12px;
	-webkit-tap-highlight-color: transparent;
}
.samundri-lightbox__link[href] { cursor: pointer; }
.samundri-lightbox__img {
	max-width: 92vw;
	max-height: 82vh;
	object-fit: contain;
	border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
	background: #fff;
	cursor: default;
}
.samundri-lightbox__link[href] .samundri-lightbox__img { cursor: pointer; }
.samundri-lightbox__close {
	position: absolute;
	top: 16px;
	inset-inline-end: 16px;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, .18);
	color: #fff;
	cursor: pointer;
	transition: background .15s ease;
}
.samundri-lightbox__close:hover { background: rgba(255, 255, 255, .32); }
.samundri-lightbox__caption {
	color: rgba(255, 255, 255, .85);
	font-size: 14px;
	text-align: center;
	max-width: 60ch;
	margin: 0;
}

/* ===== Footer polish ===== */
.samundri-footer {
	background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
	position: relative;
}
.samundri-footer::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
}
.samundri-footer__col a {
	color: rgba(255, 255, 255, .78);
	transition: color .15s ease, transform .15s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.samundri-footer__col a:hover {
	color: var(--gold);
	transform: translateX(-2px);
}
html[dir="ltr"] .samundri-footer__col a:hover { transform: translateX(2px); }
.samundri-footer__col--brand p { color: rgba(255, 255, 255, .7); }
.samundri-footer__brand { color: #fff; }
.samundri-footer__tagline { color: rgba(255, 255, 255, .6); }
.samundri-footer__contact {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px;
}
.samundri-footer__contact li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, .78);
	font-size: 14px;
}
.samundri-footer__contact svg { flex-shrink: 0; color: var(--gold); }
.samundri-footer__social {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.samundri-footer__social a {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	transition: background .15s ease, transform .15s ease;
}
.samundri-footer__social a:hover {
	background: var(--primary);
	transform: translateY(-2px);
}
.samundri-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
}
.samundri-footer__made { color: rgba(255, 255, 255, .4); }

@media (max-width: 599px) {
	.samundri-footer__inner {
		gap: 18px 14px;
	}
	.samundri-footer__col--brand { padding-bottom: 6px; }
}
/* ===== Cart quantity +/- and empty cart ===== */
.woocommerce-cart-form .quantity,
.cart .quantity {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
}
.woocommerce-cart-form .quantity input.qty,
.cart .quantity input.qty {
	width: 52px;
	text-align: center;
	border: none;
	padding: 8px 4px;
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	-moz-appearance: textfield;
}
.woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.samundri-qty-btn {
	width: 36px;
	height: 36px;
	border: none;
	background: var(--primary-soft);
	color: var(--primary);
	font-size: 18px;
	font-weight: 800;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background .15s ease, color .15s ease;
}
.samundri-qty-btn:hover {
	background: var(--primary);
	color: #fff;
}
.samundri-empty-cart {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: var(--radius);
	border: 1.5px solid #dc2626;
	color: #dc2626;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.samundri-empty-cart:hover {
	background: #dc2626;
	color: #fff;
}
.woocommerce-cart-form .cart_item .remove,
.cart .cart_item .remove {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: #fef2f2;
	color: #dc2626;
	text-decoration: none;
	font-size: 18px;
	font-weight: 800;
	transition: background .15s ease, color .15s ease;
}
.woocommerce-cart-form .cart_item .remove:hover,
.cart .cart_item .remove:hover {
	background: #dc2626;
	color: #fff;
}
@media (max-width: 599px) {
	.woocommerce-cart-form .quantity input.qty,
	.cart .quantity input.qty { width: 44px; }
	.samundri-qty-btn { width: 32px; height: 32px; }
}
/* Product card body + details — one continuous tile */
.samundri-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 10px 12px 12px;
	gap: 4px;
	background: #fff;
	border-top: 0;
}
.samundri-card__details {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 9px 12px;
	border-radius: 10px;
	border: 0;
	background: var(--primary-soft);
	color: var(--primary);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
	width: 100%;
}
.samundri-card__details:hover {
	background: var(--primary);
	color: #fff;
}
.samundri-card__details svg { display: none; }

/* Force-hide any leftover back-to-top */
.samundri-backtop { display: none !important; }

/* ---------- Global overflow & media safety (product + store) ---------- */
.samundri-wrap,
.samundri-single,
.samundri-archive,
.samundri-main {
	max-width: 100%;
	overflow-x: clip;
}
.samundri-single__layout > * {
	min-width: 0;
}
/* Description / content embeds must never break width */
.woocommerce div.product .woocommerce-product-details__short-description iframe,
.woocommerce div.product .woocommerce-Tabs-panel iframe,
.woocommerce div.product .entry-summary iframe,
.woocommerce-tabs .panel iframe,
.woocommerce-product-details__short-description iframe {
	max-width: 100% !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
}
.woocommerce div.product img,
.woocommerce div.product video {
	max-width: 100%;
	height: auto;
}
/* Prevent any WC gallery columns from creating horizontal scroll */
.woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li,
.woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
	width: 58px !important;
	margin: 0 !important;
}

/* ============================================================
   Default WooCommerce product structure (fallback + live site)
   Ensures gallery + summary work even without custom template
   ============================================================ */
.woocommerce div.product,
.woocommerce-page div.product {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 16px !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product div.images,
.woocommerce div.product .summary,
.woocommerce div.product div.summary {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	min-width: 0 !important;
}

/* Desktop: side-by-side for default WC structure */
@media (min-width: 900px) {
	.woocommerce div.product:not(.samundri-single-product),
	.woocommerce-page div.product:not(.samundri-single-product) {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
		gap: 36px !important;
		align-items: start !important;
	}
	/* When using our content-single-product, children are layout wrapper */
	.woocommerce div.product.samundri-single-product {
		display: block !important;
	}
}

/* Gallery images — default WC */
.woocommerce div.product .woocommerce-product-gallery {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 10px;
	box-shadow: var(--shadow);
	overflow: hidden;
}
.woocommerce div.product .woocommerce-product-gallery__image img,
.woocommerce div.product .woocommerce-product-gallery__image--placeholder img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: min(52vh, 480px) !important;
	object-fit: contain !important;
	margin-inline: auto;
	border-radius: var(--radius);
}
@media (min-width: 900px) {
	.woocommerce div.product .woocommerce-product-gallery__image img,
	.woocommerce div.product .woocommerce-product-gallery__image--placeholder img {
		max-height: min(58vh, 560px) !important;
	}
}
@media (max-width: 639px) {
	.woocommerce div.product .woocommerce-product-gallery__image img,
	.woocommerce div.product .woocommerce-product-gallery__image--placeholder img {
		max-height: min(50vh, 340px) !important;
	}
}

/* Summary card */
.woocommerce div.product .summary.entry-summary {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 20px;
	box-shadow: var(--shadow);
}
.woocommerce div.product .summary .product_title {
	font-size: 25px;
	font-weight: 800;
	color: var(--ink);
	margin: 0 0 8px;
	line-height: 1.6;
}
.woocommerce div.product .summary .price {
	font-size: 23px;
	font-weight: 900;
	color: var(--primary);
	margin: 0 0 12px;
}
@media (max-width: 639px) {
	.woocommerce div.product .summary.entry-summary {
		padding: 14px;
		border-radius: 14px;
	}
	.woocommerce div.product .summary .product_title { font-size: 20px; }
	.woocommerce div.product .summary .price { font-size: 20px; }
}

/* Categories rail — full width, start from edge */
.samundri-page-cats {
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}
.samundri-page-cats__inner {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: 16px;
	width: 100%;
	box-sizing: border-box;
}
.samundri-cats-rail--page {
	justify-content: flex-start;
	width: 100%;
	padding-inline: 20px;
	scroll-padding-inline: 20px;
	padding-inline-end: 32px;
	scroll-padding-inline-end: 32px;
}

/* Prevent any leftover float-based WC columns */
.woocommerce #content div.product div.images,
.woocommerce #content div.product div.summary,
.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.images,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.images,
.woocommerce-page div.product div.summary {
	float: none !important;
	width: 100% !important;
}

/* ---------- Product video block (under gallery/summary) ---------- */
.samundri-single__video-block {
	margin: 18px 0 8px;
	width: 100%;
	max-width: 100%;
}
.samundri-single__video-title {
	font-size: 16px;
	font-weight: 800;
	color: var(--ink);
	margin: 0 0 10px;
}
.samundri-single__after {
	margin-top: 20px;
	display: grid;
	gap: 14px;
}

/* Mobile: tighter, less complex product page */
@media (max-width: 639px) {
	.samundri-single__video-block { margin: 12px 0 6px; }
	.samundri-single__video-title { font-size: 15px; margin-bottom: 8px; }

	.samundri-single__trust {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 6px !important;
		padding: 0 !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
	}
	.samundri-single__trust-item {
		padding: 8px 6px !important;
		text-align: center;
		border-radius: 12px;
		background: #fff;
		border: 1px solid var(--line);
	}
	.samundri-single__trust-item strong { font-size: 11px !important; }
	.samundri-single__trust-item p { font-size: 10px !important; line-height: 1.4; }
	.samundri-single__trust-item > span { font-size: 16px !important; }

	.samundri-howto--compact {
		padding: 12px !important;
		border-radius: 14px;
	}
	.samundri-howto__steps { gap: 8px !important; }
	.samundri-step p { font-size: 12px !important; }

	/* Description images: one clean size, no huge duplicates feel */
	.woocommerce-tabs .panel img {
		max-height: 280px;
		width: auto;
		max-width: 100%;
		margin-inline: auto;
		object-fit: contain;
	}

	/* Gallery: only one clear main image */
	.samundri-single__gallery .woocommerce-product-gallery__image img {
		max-height: min(48vh, 320px) !important;
	}
}

/* Prevent double gallery if WC still injects images outside our wrapper */
.samundri-single-product > .woocommerce-product-gallery {
	display: none !important;
}

/* ---------- Clean ATC / quantity (no native spinner arrows) ---------- */
.woocommerce div.product form.cart .quantity input.qty,
.samundri-qty input.qty {
	-moz-appearance: textfield;
	appearance: textfield;
}
.woocommerce div.product form.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity input.qty::-webkit-inner-spin-button,
.samundri-qty input.qty::-webkit-outer-spin-button,
.samundri-qty input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
	display: none;
}

.samundri-qty {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}
.samundri-qty .qty {
	width: 48px !important;
	border: 0 !important;
	border-radius: 0 !important;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	padding: 10px 4px !important;
	box-shadow: none !important;
}
.samundri-qty-btn {
	width: 40px;
	height: 44px;
	border: 0;
	background: var(--primary-soft);
	color: var(--primary);
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
	line-height: 1;
}
.samundri-qty-btn:hover { background: var(--primary); color: #fff; }

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 160px;
	border: 0;
	border-radius: 12px;
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 800;
	background: var(--primary);
	color: #fff !important;
	cursor: pointer;
	box-shadow: none;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
	background: var(--primary-dark);
}
.woocommerce div.product form.cart .single_add_to_cart_button::before,
.woocommerce div.product form.cart .single_add_to_cart_button::after {
	content: none !important;
	display: none !important;
}

/* Short description: never show embedded product photos (gallery already has them) */
.woocommerce-product-details__short-description img,
.summary .woocommerce-product-details__short-description img,
.samundri-single__summary .woocommerce-product-details__short-description img {
	display: none !important;
}

/* Categories rail: when few items, don't leave huge empty side */
.samundri-cats-rail--page {
	justify-content: center;
}
@media (min-width: 900px) {
	.samundri-page-cats__inner {
		max-width: var(--maxw);
		margin-inline: auto;
	}
}

/* Desktop product: force balanced 2-col when wide */
@media (min-width: 900px) {
	.samundri-single__layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: 32px !important;
		align-items: start;
	}
	.samundri-single__gallery {
		position: relative !important; /* no sticky — cleaner */
	}
	.samundri-single__summary {
		padding: 24px;
	}
}

/* Back-to-top: softer, less distracting */
.samundri-backtop {
	opacity: 0.75;
	width: 40px !important;
	height: 40px !important;
}
.samundri-backtop:hover { opacity: 1; }

#new-arrivals, #on-sale, #categories, #how-to-order { scroll-margin-top: 80px; }

/* ===== Categories cards — v2.4.33 (attractive + end-gap fix) ===== */
.samundri-page-cats { background: linear-gradient(180deg, #fff 0%, #faf7f0 100%); padding: 16px 0 20px; }
.samundri-page-cats .samundri-cats-rail--page {
	--cat-w: 104px;
	display: flex; justify-content: flex-start; gap: 12px;
	padding: 6px 52px 14px; scroll-padding-inline: 52px;
	scroll-snap-type: x proximity; overflow-x: auto; overflow-y: hidden;
	scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.samundri-page-cats .samundri-cats-rail--page::-webkit-scrollbar { display: none; }
/* kam categories ho to JS is-centered class se beech mein; overflow ho to start se scroll — last card kabhi kata nahi */
.samundri-page-cats .samundri-cats-rail--page.is-centered { justify-content: center; }
.samundri-cats-rail__end { display: block; flex: 0 0 var(--cat-w, 104px); height: 1px; pointer-events: none; }
.samundri-cats-rail__end[hidden] { display: none !important; }

.samundri-page-cats .samundri-cat--page {
	--tint: var(--gold-soft); --tint2: var(--gold);
	position: relative; flex: 0 0 var(--cat-w, 104px); width: var(--cat-w, 104px);
	display: flex; flex-direction: column; align-items: center; gap: 9px;
	padding: 14px 6px 12px; border-radius: 22px; overflow: hidden;
	background: linear-gradient(180deg, var(--tint) 0%, #fff 78%);
	border: 1px solid rgba(var(--gold-rgb), .45);
	box-shadow: 0 6px 16px rgba(18, 38, 63, .07), inset 0 1px 0 #fff;
	transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
	-webkit-tap-highlight-color: transparent;
}
.samundri-page-cats .samundri-cat--page:nth-child(5n+2) { --tint: #e9f6ef; --tint2: #bfe5d0; }
.samundri-page-cats .samundri-cat--page:nth-child(5n+3) { --tint: #fdebee; --tint2: #f4c3cc; }
.samundri-page-cats .samundri-cat--page:nth-child(5n+4) { --tint: #e8f0fb; --tint2: #bcd3f1; }
.samundri-page-cats .samundri-cat--page:nth-child(5n+5) { --tint: #f1ebfa; --tint2: #d3c2ee; }
.samundri-page-cats .samundri-cat--page::after {
	content: ""; position: absolute; inset-inline: 30%; inset-block-end: 0; height: 3px;
	border-radius: 3px 3px 0 0; background: linear-gradient(90deg, transparent, var(--tint2), transparent);
	transition: inset-inline .25s ease;
}
.samundri-page-cats .samundri-cat--page img,
.samundri-page-cats .samundri-cat--page .samundri-cat__placeholder {
	width: 68px; height: 68px; border-radius: 999px; object-fit: cover; flex: 0 0 auto;
	border: 3px solid transparent;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(135deg, var(--gold) 0%, var(--gold) 50%, var(--gold) 100%) border-box;
	box-shadow: 0 8px 16px rgba(18, 38, 63, .16);
	transition: transform .3s ease;
}
.samundri-page-cats .samundri-cat--page .samundri-cat__placeholder { display: grid; place-items: center; font-size: 28px; }
.samundri-page-cats .samundri-cat--page .samundri-cat__name {
	max-width: 100%; padding-inline: 2px; font-size: 13px; font-weight: 800; line-height: 1.75;
	color: var(--ink); text-align: center;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (hover: hover) {
	.samundri-page-cats .samundri-cat--page:hover {
		transform: translateY(-5px); border-color: var(--gold);
		box-shadow: 0 16px 28px rgba(18, 38, 63, .16);
	}
	.samundri-page-cats .samundri-cat--page:hover::after { inset-inline: 15%; }
	.samundri-page-cats .samundri-cat--page:hover img { transform: scale(1.07); }
}
.samundri-page-cats .samundri-cat--page:active { transform: scale(.96); }
.samundri-page-cats .samundri-cat--page:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 639px) {
	.samundri-page-cats .samundri-cats-rail--page { --cat-w: 94px; gap: 10px; padding-inline: 44px; scroll-padding-inline: 44px; }
	.samundri-page-cats .samundri-cat--page { padding-top: 12px; border-radius: 20px; }
	.samundri-page-cats .samundri-cat--page img,
	.samundri-page-cats .samundri-cat--page .samundri-cat__placeholder { width: 62px; height: 62px; }
	.samundri-page-cats .samundri-cat--page .samundri-cat__name { font-size: 12.5px; }
}
@media (min-width: 900px) {
	.samundri-page-cats .samundri-cats-rail--page { --cat-w: 118px; gap: 16px; padding-inline: 58px; scroll-padding-inline: 58px; }
	.samundri-page-cats .samundri-cat--page img,
	.samundri-page-cats .samundri-cat--page .samundri-cat__placeholder { width: 76px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
	.samundri-page-cats .samundri-cat--page, .samundri-page-cats .samundri-cat--page img { transition: none; }
}

/* =========================================================================
   BUTTON FX SYSTEM (v2.4.34) — har button par ek jaisa effect
   -------------------------------------------------------------------------
   Desktop: hover  |  Mobile/tablet: tap (JS class .is-fx lagati hai)
   Naya button: class "samundri-btn" (ya koi <button>, .button, .samundri-fx)
   lagayein — lift + glow + chamak khud aa jayegi. Rang aap ke hon, effect same.
   Rukawat: JS mein initButtonFx() ki SEL list (footer.php) — wahan class add karein.
   ========================================================================= */
:root { --fx-glow: 0 14px 28px rgba(18, 38, 63, .28); --fx-lift: -3px; }

.samundri-fx-ready {
	-webkit-tap-highlight-color: transparent; touch-action: manipulation;
	transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, filter .25s ease,
		background-color .2s ease, color .2s ease, border-color .2s ease;
}
.samundri-fx-host { position: relative; }
.samundri-fx-shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 1; }
.samundri-fx-shine::after {
	content: ""; position: absolute; inset-block: -25%; inset-inline-start: -60%; width: 40%;
	transform: skewX(-20deg); opacity: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
}

/* press (dabane par) */
:is(.samundri-btn, .samundri-whatsapp-btn, .samundri-sticky-atc__btn, .samundri-cats-btn, .samundri-card__btn,
	.button, .wp-element-button, .single_add_to_cart_button, .checkout-button, .samundri-fx,
	button[type="submit"], input[type="submit"]):active { transform: scale(.97); }

/* hover (desktop) + tap (.is-fx, mobile) — dono ek jaisa */
:is(.samundri-btn, .samundri-whatsapp-btn, .samundri-sticky-atc__btn, .samundri-cats-btn, .samundri-card__btn,
	.button, .wp-element-button, .single_add_to_cart_button, .checkout-button, .samundri-fx,
	button[type="submit"], input[type="submit"]).is-fx {
	transform: translateY(var(--fx-lift)); box-shadow: var(--fx-glow); filter: brightness(1.07);
}
.is-fx > .samundri-fx-shine::after {
	opacity: 1; inset-inline-start: 130%; transition: inset-inline-start .8s ease, opacity .2s ease;
}
@media (hover: hover) {
	:is(.samundri-btn, .samundri-whatsapp-btn, .samundri-sticky-atc__btn, .samundri-cats-btn, .samundri-card__btn,
		.button, .wp-element-button, .single_add_to_cart_button, .checkout-button, .samundri-fx,
		button[type="submit"], input[type="submit"]):hover {
		transform: translateY(var(--fx-lift)); box-shadow: var(--fx-glow); filter: brightness(1.07);
	}
	:hover > .samundri-fx-shine::after { opacity: 1; inset-inline-start: 130%; transition: inset-inline-start .8s ease, opacity .2s ease; }
}

/* نئی آمد / خاص رعایت cards — tap par bilkul hover jaisa */
.samundri-promo.is-fx {
	transform: translateY(-4px); color: #fff;
	box-shadow: 0 20px 40px rgba(11, 29, 51, .38), 0 0 0 1px rgba(var(--gold-rgb), .56);
}
.samundri-promo.is-fx::after { opacity: 1; inset-inline-start: 130%; transition: inset-inline-start .9s ease, opacity .2s ease; }
.samundri-promo.is-fx .samundri-promo__cta { filter: brightness(1.06); }
.samundri-promo.is-fx .samundri-promo__arrow { transform: translateX(-3px); }

/* category cards — tap par bilkul hover jaisa */
.samundri-page-cats .samundri-cat--page.is-fx {
	transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 16px 28px rgba(18, 38, 63, .16);
}
.samundri-page-cats .samundri-cat--page.is-fx::after { inset-inline: 15%; }
.samundri-page-cats .samundri-cat--page.is-fx img { transform: scale(1.07); }

@media (prefers-reduced-motion: reduce) {
	.samundri-fx-ready, .samundri-fx-shine::after { transition: none !important; }
	.is-fx { transform: none !important; }
}

/* ===== Product video (v2.4.35) — har screen par sahi shakal ===== */
.samundri-vid {
	position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
	border-radius: 16px; background: #0b1220; box-shadow: var(--shadow);
}
.samundri-vid--portrait { aspect-ratio: 9 / 16; width: auto; max-width: 100%; height: min(72vh, 560px); margin-inline: auto; }
@media (min-width: 1100px) { .samundri-vid--portrait { height: min(70vh, 620px); } }
.samundri-vid iframe, .samundri-vid .samundri-vid__player {
	position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}
.samundri-vid .samundri-vid__player { object-fit: contain; background: #000; }
.samundri-vid__facade { position: absolute; inset: 0; display: block; cursor: pointer; color: #fff; -webkit-tap-highlight-color: transparent; }
.samundri-vid__facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.samundri-vid__facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,0) 45%, rgba(11,18,32,.45) 100%); }
.samundri-vid__play {
	position: absolute; z-index: 2; inset-block-start: 50%; inset-inline-start: 50%;
	width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 999px;
	display: grid; place-items: center; background: var(--primary); color: #fff;
	box-shadow: 0 0 0 8px rgba(255,255,255,.28), 0 10px 26px rgba(0,0,0,.4); transition: transform .2s ease;
}
html[dir="rtl"] .samundri-vid__play { margin: -32px -32px 0 0; }
.samundri-vid__play svg { margin-inline-start: 3px; }
.samundri-vid__facade:active .samundri-vid__play { transform: scale(.92); }
@media (hover: hover) { .samundri-vid__facade:hover .samundri-vid__play { transform: scale(1.08); } }
@media (max-width: 767px) {
	.samundri-vid__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
	html[dir="rtl"] .samundri-vid__play { margin: -28px -28px 0 0; }
}

/* ===== رعایت tabs (v2.4.37) ===== */
.samundri-tabs { display: flex; gap: 10px; margin: 4px 0 16px; flex-wrap: wrap; }
.samundri-tab {
	display: inline-flex; align-items: center; padding: 8px 20px; border-radius: 999px;
	background: #fff; color: var(--ink); font-weight: 800; font-size: 14px; text-decoration: none;
	border: 1.5px solid var(--line); box-shadow: 0 2px 8px rgba(18,38,63,.06);
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.samundri-tab:hover { border-color: var(--primary); color: var(--primary); }
.samundri-tab.is-active { background: linear-gradient(135deg, #5a1428, #2a0d18); color: #fff; border-color: var(--gold); }

/* =========================================================================
   v2.4.38 — Product card: colour swatches + quick order actions
   -------------------------------------------------------------------------
   Swatch click/hover se card ki image us rang ki ho jati hai. Quick order
   button simple products ko seedha cart mein daalta hai; variable product
   "آپشن منتخب کریں" ke saath product page kholta hai.
   ========================================================================= */
.samundri-card__swatches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 3px 0 5px;
}
.samundri-swatch {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	min-width: 20px;
	padding: 0;
	border-radius: 999px;
	border: 2px solid #fff;
	line-height: 0;
	cursor: pointer;
	background: var(--swatch, #ccc);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, .18);
	transition: transform .15s ease, box-shadow .15s ease;
	-webkit-tap-highlight-color: transparent;
}
.samundri-swatch:hover,
.samundri-swatch:focus-visible {
	transform: scale(1.15);
	box-shadow: 0 0 0 2px var(--gold);
	outline: none;
}
.samundri-swatch.is-active {
	transform: scale(1.15);
	box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px #fff;
}
.samundri-card__actions {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-top: auto;
}
.samundri-card__actions .samundri-card__btn { margin-top: 0; }
.samundri-card__actions .samundri-card__details {
	margin-top: 0;
	padding: 2px 4px;
	background: transparent;
	color: var(--ink-soft);
	font-size: 12px;
}
.samundri-card__actions .samundri-card__details:hover {
	background: transparent;
	color: var(--primary);
}
@media (max-width: 639px) {
	.samundri-swatch { width: 22px; height: 22px; min-width: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.samundri-swatch,
	.samundri-swatch:hover,
	.samundri-swatch.is-active { transition: none; transform: none; }
}

/* ===== v2.5.0 — Units / measurement (kg, meter, piece) ===== */
.samundri-card__unit,
.samundri-price-unit,
.samundri-qty-unit,
.samundri-cart-unit,
.samundri-checkout-unit,
.samundri-order-unit,
.samundri-mini-unit {
	font-family: var(--font-urdu);
	font-weight: 700;
	color: var(--ink-soft);
	white-space: nowrap;
	line-height: 1.4;
}
.samundri-card__unit {
	font-size: 11px;
}
.samundri-price-unit {
	font-size: .72em;
	margin-inline-start: .35em;
}
.samundri-qty-unit {
	font-size: 13px;
	margin-inline-start: 6px;
	align-self: center;
}
.samundri-cart-unit {
	font-size: 12px;
	padding: 0 7px;
}
.samundri-checkout-unit,
.samundri-order-unit,
.samundri-mini-unit {
	font-size: 12px;
	margin-inline-start: 3px;
}
.samundri-unit-hint {
	flex: 1 0 100%;
	order: 3;
	margin: 0;
	padding: 8px 10px;
	border-radius: 10px;
	background: var(--primary-soft);
	color: var(--primary-dark);
	font-family: var(--font-urdu);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.8;
}
.samundri-single__summary .quantity {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.woocommerce-cart-form .quantity .samundri-cart-unit,
.cart .quantity .samundri-cart-unit {
	display: inline-flex;
	align-items: center;
	height: 36px;
	border-inline-start: 1px solid var(--line);
	background: #fff;
}
@media (max-width: 639px) {
	.samundri-card__unit { font-size: 10px; }
	.samundri-cart-unit { font-size: 11px; padding: 0 5px; }
	.samundri-unit-hint { font-size: 11px; padding: 7px 9px; }
}

/* === Featured brands (homepage) + All Products CTA — v2.5.6 === */
.samundri-brands-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
@media (min-width: 640px) {
	.samundri-brands-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 900px) {
	.samundri-brands-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
}
.samundri-brand-card {
	margin: 0;
}
.samundri-brand-card a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 10px;
	background: var(--surface, #fff);
	border: 1px solid var(--line, #e8e8e8);
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow .18s ease, transform .18s ease;
}
.samundri-brand-card a:hover {
	box-shadow: var(--shadow, 0 6px 20px rgba(0,0,0,.08));
	transform: translateY(-2px);
}
.samundri-brand-card__img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: 12px;
	background: #f7f7f7;
}
.samundri-brand-card__placeholder {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	background: #f7f7f7;
	border-radius: 12px;
}
.samundri-brand-card__name {
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	line-height: 1.35;
}

/* تمام مصنوعات — same promo family (shine + gold border), centered, compact */
.samundri-all-products-cta {
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: var(--maxw);
	width: 100%;
	margin: 10px auto 18px;
	padding-inline: 12px;
	box-sizing: border-box;
}
.samundri-promo--all {
	--pr-a: #0c1a2e;
	--pr-b: #163a2e;
	--pr-glow: rgba(120, 200, 255, .32);
	/* compact: not full width — sits centered */
	width: min(100%, 420px);
	min-height: 118px;
	padding: 16px 14px 14px;
	gap: 6px;
}
.samundri-promo--all .samundri-promo__title {
	font-size: 20px;
}
.samundri-promo--all .samundri-promo__icon {
	width: 46px;
	height: 46px;
}
.samundri-promo--all .samundri-promo__icon svg {
	width: 22px;
	height: 22px;
}
.samundri-promo--all .samundri-promo__cta {
	padding: 5px 14px;
	font-size: 12px;
}
.samundri-promo--all .samundri-promo__deco {
	width: 100px;
	height: 100px;
	opacity: .07;
}
@media (min-width: 640px) {
	.samundri-all-products-cta { padding-inline: 16px; }
	.samundri-promo--all {
		width: min(100%, 480px);
		min-height: 128px;
		padding: 18px 22px;
		gap: 8px;
		/* keep column layout so it stays a neat centered pill-card */
		flex-direction: column;
		justify-content: center;
	}
	.samundri-promo--all .samundri-promo__text { align-items: center; }
	.samundri-promo--all .samundri-promo__title { font-size: 24px; }
	.samundri-promo--all .samundri-promo__icon { width: 52px; height: 52px; }
	.samundri-promo--all .samundri-promo__icon svg { width: 26px; height: 26px; }
	.samundri-promo--all .samundri-promo__cta { font-size: 13px; padding: 7px 18px; }
}
@media (min-width: 900px) {
	.samundri-promo--all {
		width: min(100%, 520px);
		min-height: 112px;
		flex-direction: row;
		justify-content: space-between;
		padding: 18px 28px;
		border-radius: 24px;
	}
	.samundri-promo--all .samundri-promo__text { align-items: flex-start; flex: 1 1 auto; }
	.samundri-promo--all .samundri-promo__title { font-size: 26px; }
	.samundri-promo--all .samundri-promo__icon { width: 56px; height: 56px; }
	.samundri-promo--all .samundri-promo__icon svg { width: 28px; height: 28px; }
	.samundri-promo--all .samundri-promo__cta { font-size: 13px; padding: 8px 20px; }
}
@media (max-width: 360px) {
	.samundri-promo--all { min-height: 110px; padding-inline: 10px; }
	.samundri-promo--all .samundri-promo__title { font-size: 18px; }
}

/* ===== Logo (samundri.pk matching colors: navy + gold) ===== */
.samundri-footer__logo {
	width: 32px;
	height: 32px;
	vertical-align: middle;
	margin-inline-end: 8px;
	border-radius: 8px;
}
.samundri-drawer__brand .samundri-logo-mark {
	width: 36px;
	height: 36px;
}

/* =========================================================================
 * v2.7.0 — Advanced trilingual search, category tree, all-categories page,
 * UI polish. Sab kuch RTL logical properties ke saath.
 * ========================================================================= */

/* ---------- Header search: category-scope dropdown ---------- */
.samundri-search-cat {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	border-inline-end: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 28px 8px 10px;
	border-radius: 8px 0 0 8px;
	margin-inline-end: -1px;
	cursor: pointer;
	max-width: 42vw;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2317233b' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 8px center;
	background-size: 12px;
}
.samundri-search-cat:focus { outline: 2px solid var(--gold); outline-offset: -2px; }
.samundri-header__search form { display: flex; align-items: stretch; gap: 0; }
.samundri-header__search input[type="search"] { border-radius: 0; flex: 1 1 auto; min-width: 0; }
.samundri-header__search .samundri-search-cat + input[type="search"] { border-start-start-radius: 0; border-end-start-radius: 0; }
.samundri-header__search button { border-start-end-radius: 8px; border-end-end-radius: 8px; }
.samundri-header__search:not(:has(.samundri-search-cat)) input[type="search"] { border-radius: 8px 0 0 8px; }

/* ---------- Live search dropdown (enhanced) ---------- */
.samundri-search-results {
	position: absolute;
	inset-block-start: calc(100% + 6px);
	inset-inline: 0;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg, 14px);
	box-shadow: 0 12px 40px rgba(16, 32, 62, 0.18);
	max-height: min(70vh, 560px);
	overflow-y: auto;
	z-index: 60;
	padding: 6px;
	animation: samundri-pop 0.12s ease-out;
}
@keyframes samundri-pop {
	from { opacity: 0; transform: translateY(4px); }
	to   { opacity: 1; transform: translateY(0); }
}
.samundri-search-results .sr-scope {
	display: block;
	font-size: 11px;
	color: var(--ink-soft);
	padding: 6px 10px 2px;
	font-weight: 600;
}
.samundri-search-results a.sr-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--ink);
	transition: background 0.12s ease;
}
.samundri-search-results a.sr-item:hover,
.samundri-search-results a.sr-item:focus { background: var(--primary-soft); }
.samundri-search-results a.sr-item img {
	width: 40px;
	height: 50px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
	background: var(--surface);
}
.samundri-search-results .sr-name {
	flex: 1 1 auto;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.samundri-search-results .sr-name mark {
	background: var(--gold-soft);
	color: var(--ink);
	padding: 0 2px;
	border-radius: 3px;
	font-weight: 700;
}
.samundri-search-results .sr-price {
	flex-shrink: 0;
	color: var(--primary);
	font-weight: 800;
	font-size: 13px;
	white-space: nowrap;
}
.samundri-search-results .sr-more {
	display: block;
	text-align: center;
	padding: 10px;
	margin-block-start: 4px;
	background: var(--primary);
	color: #fff;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	transition: background 0.12s ease;
}
.samundri-search-results .sr-more:hover { background: var(--primary-dark); }

/* Loading skeleton */
.samundri-search-results .sr-skeleton {
	height: 58px;
	border-radius: 10px;
	margin-block-end: 4px;
	background: linear-gradient(90deg, var(--surface) 25%, var(--primary-soft) 50%, var(--surface) 75%);
	background-size: 200% 100%;
	animation: samundri-shimmer 1.1s infinite;
}
@keyframes samundri-shimmer {
	from { background-position: 200% 0; }
	to   { background-position: -200% 0; }
}

/* Empty + suggestions + recent */
.samundri-search-results .sr-empty {
	padding: 14px 12px;
	color: var(--ink-soft);
	font-size: 14px;
	margin: 0;
	line-height: 1.7;
}
.samundri-search-results .sr-suggest-wrap,
.samundri-search-results .sr-recent-wrap {
	padding: 8px 6px 4px;
	border-block-start: 1px dashed var(--line);
	margin-block-start: 6px;
}
.samundri-search-results .sr-suggest-title,
.samundri-search-results .sr-recent-title {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: var(--ink-soft);
	padding: 2px 8px 6px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.samundri-search-results a.sr-suggest {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
}
.samundri-search-results a.sr-suggest:hover { background: var(--primary-soft); }
.samundri-search-results a.sr-suggest img,
.samundri-search-results .sr-suggest-ph {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	object-fit: cover;
	flex-shrink: 0;
}
.samundri-search-results .sr-suggest-ph { display: inline-flex; align-items: center; justify-content: center; background: var(--surface); }
.samundri-search-results a.sr-recent {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--ink-soft);
	font-size: 13px;
	background: var(--surface);
	margin-block-end: 4px;
}
.samundri-search-results a.sr-recent:hover { background: var(--primary-soft); color: var(--ink); }
.samundri-search-results a.sr-recent svg { flex-shrink: 0; color: var(--gold); }

/* ---------- Drawer category tree ---------- */
.samundri-drawer__section--cats { padding-block: 6px; }
.samundri-drawer__cat-all {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	transition: background 0.12s ease;
}
.samundri-drawer__cat-all:hover { background: var(--primary-soft); }
.samundri-drawer__cat-all svg { flex-shrink: 0; color: var(--primary); }
.samundri-drawer__cat {
	border-block-end: 1px solid var(--line);
}
.samundri-drawer__cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
}
.samundri-drawer__cat-link {
	flex: 1 1 auto;
	padding: 10px 12px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}
.samundri-drawer__cat-link:hover { color: var(--primary); }
.samundri-drawer__cat-btn {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border: 0;
	background: transparent;
	color: var(--ink-soft);
	cursor: pointer;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.12s ease, transform 0.18s ease;
}
.samundri-drawer__cat-btn:hover { background: var(--surface); color: var(--primary); }
.samundri-drawer__cat-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.samundri-drawer__cat-children {
	list-style: none;
	margin: 0;
	padding: 0 0 8px 0;
	transition: max-height 0.2s ease;
}
.samundri-drawer__cat-children.is-collapsed { display: none; }
.samundri-drawer__cat-children li a {
	display: block;
	padding: 7px 12px 7px 30px;
	color: var(--ink-soft);
	text-decoration: none;
	font-size: 13.5px;
	border-radius: 8px;
	margin-inline: 4px;
}
.samundri-drawer__cat-children li a:hover { background: var(--surface); color: var(--ink); }

/* ---------- All Categories page ---------- */
.samundri-allcats-wrap { padding-block: 24px 40px; }
.samundri-allcats__intro {
	color: var(--ink-soft);
	margin: 0 0 18px;
	line-height: 1.8;
}
.samundri-allcats__filter {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg, 14px);
	padding: 6px 12px;
	margin-block-end: 22px;
	box-shadow: 0 2px 10px rgba(16, 32, 62, 0.04);
}
.samundri-allcats__filter svg { color: var(--ink-soft); flex-shrink: 0; }
.samundri-allcats__filter input {
	border: 0;
	outline: none;
	flex: 1 1 auto;
	font-size: 16px;
	padding: 10px 4px;
	background: transparent;
	color: var(--ink);
	font-family: inherit;
}
.samundri-allcats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}
.samundri-allcat {
	display: flex;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg, 14px);
	padding: 14px;
	text-decoration: none;
	color: var(--ink);
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.samundri-allcat:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(16, 32, 62, 0.12);
	border-color: var(--gold);
}
.samundri-allcat__media {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--surface);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.samundri-allcat__media img { width: 100%; height: 100%; object-fit: cover; }
.samundri-allcat__placeholder { font-size: 28px; }
.samundri-allcat__body { flex: 1 1 auto; min-width: 0; }
.samundri-allcat__name {
	display: block;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	margin-block-end: 2px;
	color: var(--ink);
	text-decoration: none;
}
.samundri-allcat__name:hover { color: var(--primary); }
.samundri-allcat__count {
	display: block;
	font-size: 12px;
	color: var(--ink-soft);
	margin-block-end: 6px;
}
.samundri-allcat__children {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.samundri-allcat__child {
	font-size: 11px;
	padding: 3px 8px;
	background: var(--primary-soft);
	color: var(--primary);
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
}
.samundri-allcat__child:hover { background: var(--primary); color: #fff; }
.samundri-allcat__more { font-size: 11px; color: var(--ink-soft); padding: 3px 4px; }
.samundri-allcats__empty { text-align: center; color: var(--ink-soft); padding: 30px; }

/* ---------- Card hover refinement (subtle, premium feel) ---------- */
.samundri-card {
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.samundri-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(16, 32, 62, 0.14);
}

/* ---------- Stock / sale badge polish ---------- */
.samundri-card__badge {
	font-size: 11px;
	font-weight: 800;
	padding: 4px 10px;
	border-radius: 999px;
	letter-spacing: 0.02em;
	box-shadow: 0 2px 8px rgba(16, 32, 62, 0.15);
}
.samundri-card__badge--sale { background: var(--sale); color: #fff; }
.samundri-card__badge--new { background: var(--gold); color: var(--primary-dark); }
.samundri-card__badge--out { background: var(--ink-soft); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
	.samundri-search-cat { font-size: 12px; max-width: 34vw; padding-inline: 6px 24px; }
	.samundri-search-results .sr-name { font-size: 13px; }
	.samundri-allcats { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
	.samundri-allcat { padding: 10px; }
	.samundri-allcat__media { width: 52px; height: 52px; }
	.samundri-allcat__name { font-size: 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.samundri-card,
	.samundri-allcat,
	.samundri-search-results,
	.samundri-drawer__cat-btn,
	.samundri-drawer__cat-children { transition: none !important; }
	.samundri-search-results .sr-skeleton { animation: none; }
}

/* ============================================================
 * v2.8.0 — Samundri Shop Pro: token aliases
 * Shop Pro ki CSS (--navy / --brass / ...) Doorpe ke palette se bind hoti
 * hai taake cart / auth / checkout sections theme ke saath match karein.
 * (Doorpe already --ink / --surface define karta hai — woh direct use.)
 * ============================================================ */
:root {
	--navy:        var(--primary);       /* #10203e */
	--navy-2:      var(--primary-dark);  /* #0e1b33 */
	--brass:       var(--gold);          /* #E9C776 */
	--brass-soft:  var(--gold-soft);     /* #F8E2A0 */
	--brass-light: var(--gold);
	--gold-ink:    var(--gold);
	--muted:       var(--ink-soft);      /* #5b6475 */
	--border:      var(--line);          /* gold @ .28 */
	--shadow-sm:   var(--shadow);
	--shadow-md:   var(--shadow-lg);
	--radius-sm:   var(--radius);
	--radius-md:   var(--radius-lg);
	--radius-pill: 999px;
	--ok:          #2ecc71;
}

/* ============================================================
 * v2.9.25 — Compact beautiful product cards + related grid
 * Short cards, no empty space, more products per screen.
 * ============================================================ */
.samundri-card { height: auto; }
.samundri-home-grid,
.woocommerce ul.products,
.samundri-single .related ul.products,
.samundri-single .upsells ul.products { align-items: start; }
.samundri-card__media { aspect-ratio: 4 / 3; }
.samundri-card__body { flex: 0 0 auto; padding: 8px 10px 10px; gap: 2px; }
.samundri-card__actions { margin-top: 6px; gap: 4px; }
.samundri-card__btn { padding: 8px 10px; font-size: 12.5px; border-radius: 10px; }
@media (max-width: 639px) {
	.samundri-card__media { aspect-ratio: 1 / 1; }
	.samundri-card__body { padding: 7px 8px 9px; }
	.samundri-card__title { font-size: 12.5px; }
	.samundri-card__btn { font-size: 11.5px; padding: 7px 6px; }
}
/* تفصیل دیکھیں — har jagah golden highlighted */
.samundri-card__details,
.samundri-card__actions .samundri-card__details {
	margin-top: 0;
	padding: 5px 14px;
	background: var(--gold);
	border: 1px solid var(--gold);
	border-radius: 999px;
	color: #0e1b33 !important;
	font-size: 12.5px;
	font-weight: 800;
}
.samundri-card__details:hover,
.samundri-card__actions .samundri-card__details:hover {
	background: var(--gold);
	color: #0e1b33 !important;
	filter: brightness(1.06);
}
/* Recommended / related / upsells — screen ke hisaab se multiple columns */
.samundri-single .related ul.products,
.samundri-single .upsells ul.products {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 12px !important;
}
@media (min-width: 640px) {
	.samundri-single .related ul.products,
	.samundri-single .upsells ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 1024px) {
	.samundri-single .related ul.products,
	.samundri-single .upsells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
/* v2.9.26 — Recommended cards full-width fix: WC ki purani 22% li width
   grid items ko sikor deti thi; ab har card apni column track poori leta hai. */
.samundri-single .related,
.samundri-single .upsells { width: 100%; max-width: 100%; }
.samundri-single .related ul.products li.product,
.samundri-single .upsells ul.products li.product,
.woocommerce ul.products li.product {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

/* ============================================================
 * v2.9.27 — Related/upsells real fix (thin-strip bug)
 * WooCommerce wraps the loop as <section class="related products">.
 * Old grid rules matched that SECTION itself, so its <h2> and <ul>
 * became grid columns and the cards were squeezed into thin strips.
 * Force the section back to a normal full-width block, then lay out
 * only the inner <ul>.
 * ============================================================ */
.woocommerce section.related.products,
.woocommerce section.upsells.products,
.samundri-single section.related.products,
.samundri-single section.upsells.products,
.samundri-single .related,
.samundri-single .upsells {
	display: block !important;
	grid-template-columns: none !important;
	grid-auto-flow: row !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
}
.samundri-single .related > h2,
.samundri-single .upsells > h2,
.woocommerce section.related > h2,
.woocommerce section.upsells > h2 {
	display: block;
	width: 100%;
	margin: 0 0 12px;
}
.samundri-single .related > ul.products,
.samundri-single .upsells > ul.products,
.woocommerce section.related > ul.products,
.woocommerce section.upsells > ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	float: none !important;
}
@media (min-width: 640px) {
	.samundri-single .related > ul.products,
	.samundri-single .upsells > ul.products,
	.woocommerce section.related > ul.products,
	.woocommerce section.upsells > ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 1024px) {
	.samundri-single .related > ul.products,
	.samundri-single .upsells > ul.products,
	.woocommerce section.related > ul.products,
	.woocommerce section.upsells > ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
.samundri-single .related > ul.products > li.product,
.samundri-single .upsells > ul.products > li.product,
.woocommerce section.related > ul.products > li.product,
.woocommerce section.upsells > ul.products > li.product {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

/* ============================================================
 * v2.9.28 — Main categories: big elegant heading + continuous
 * right-to-left auto-sliding marquee (no touch needed).
 * ============================================================ */
.samundri-page-cats {
	position: relative;
	padding: 22px 0 16px;
	overflow: hidden;
}
.samundri-page-cats::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 50% -10%, rgba(var(--gold-rgb), .16), transparent 55%),
		linear-gradient(180deg, #fff 0%, #faf7f0 100%);
	pointer-events: none;
}
.samundri-page-cats__inner { position: relative; z-index: 1; }

/* Heading bar + manual controls */
.samundri-page-cats__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	max-width: 1120px;
	margin: 0 auto 6px;
	padding-inline: 16px;
}
.samundri-page-cats__title {
	margin: 0;
	font-size: clamp(20px, 3.6vw, 29px);
	font-weight: 900;
	line-height: 1.45;
	color: var(--primary-dark);
	text-align: start;
}
.samundri-page-cats__title::after {
	content: "";
	display: block;
	width: 68px;
	height: 3px;
	margin: 7px 0 0;
	border-radius: 99px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.samundri-cats-controls {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex: 0 0 auto;
	padding: 4px;
	background: rgba(255, 255, 255, .94);
	border: 1px solid rgba(var(--gold-rgb), .42);
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(18, 38, 63, .08);
}
.samundri-cats-ctrl {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--primary-dark);
	cursor: pointer;
	transition: background .16s ease, color .16s ease, transform .12s ease, box-shadow .16s ease;
	-webkit-tap-highlight-color: transparent;
}
.samundri-cats-ctrl:hover {
	background: #f4efe3;
	color: #0e1b33;
}
.samundri-cats-ctrl:active { transform: scale(.93); }
.samundri-cats-ctrl:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}
.samundri-cats-ctrl svg { display: block; }
.samundri-cats-ctrl svg[hidden] { display: none !important; }
.samundri-cats-ctrl--toggle {
	width: 42px;
	height: 42px;
	color: #0e1b33;
	background: var(--gold);
	box-shadow: 0 4px 12px rgba(var(--gold-rgb), .54);
}
.samundri-cats-ctrl--toggle:hover {
	color: #0e1b33;
	background: var(--gold);
	filter: brightness(1.08);
}
.samundri-cats-ctrl--toggle.is-paused {
	color: #0e1b33;
	background: var(--gold-soft);
	box-shadow: inset 0 0 0 1px var(--gold);
}

/* Auto-sliding marquee (motion is driven by JS at a constant px/s) */
.samundri-cats-marquee {
	position: relative;
	width: 100%;
	overflow: hidden;
	direction: ltr; /* motion maths LTR; cards themselves stay RTL */
	cursor: grab;
	touch-action: pan-y;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.samundri-cats-marquee.is-grabbing {
	cursor: grabbing;
	-webkit-user-select: none;
	user-select: none;
}
.samundri-cats-track {
	--cat-w: 104px;
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-start;
	gap: 12px;
	width: max-content;
	max-width: none;
	padding: 6px 12px 16px;
	will-change: transform;
}
.samundri-cats-track .samundri-cat--page { direction: rtl; }

/* Category names — bigger and clearer (main-category feel) */
.samundri-page-cats .samundri-cats-track .samundri-cat--page {
	padding: 15px 7px 13px;
}
.samundri-page-cats .samundri-cats-track .samundri-cat__name {
	font-size: 14px;
	font-weight: 800;
	line-height: 1.65;
	color: var(--ink);
}
.samundri-page-cats .samundri-cats-track .samundri-cat--page img,
.samundri-page-cats .samundri-cats-track .samundri-cat__placeholder {
	width: 70px;
	height: 70px;
}

@media (max-width: 639px) {
	.samundri-page-cats { padding: 18px 0 12px; }
	.samundri-page-cats__bar {
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
	}
	.samundri-page-cats__title {
		width: 100%;
		text-align: center;
		font-size: 23px;
	}
	.samundri-page-cats__title::after { margin: 6px auto 0; }
	.samundri-cats-ctrl { width: 40px; height: 40px; }
	.samundri-cats-ctrl--toggle { width: 44px; height: 44px; }
	.samundri-cats-track { --cat-w: 94px; gap: 10px; padding: 4px 8px 12px; }
	.samundri-page-cats .samundri-cats-track .samundri-cat__name { font-size: 13px; }
	.samundri-page-cats .samundri-cats-track .samundri-cat--page img,
	.samundri-page-cats .samundri-cats-track .samundri-cat__placeholder { width: 62px; height: 62px; }
}
@media (min-width: 900px) {
	.samundri-cats-track { --cat-w: 118px; gap: 16px; }
	.samundri-page-cats .samundri-cats-track .samundri-cat__name { font-size: 15px; }
	.samundri-page-cats .samundri-cats-track .samundri-cat--page img,
	.samundri-page-cats .samundri-cats-track .samundri-cat__placeholder { width: 78px; height: 78px; }
}
@media (prefers-reduced-motion: reduce) {
	.samundri-cats-track { will-change: auto; }
}

/* ---------- v2.9.35: Order guide page + always-visible guide buttons ---------- */
.samundri-topbar__guide {
	display: inline-block; margin-inline-start: 10px;
	background: var(--gold); color: #0e1b33 !important;
	padding: 1px 12px; border-radius: 999px;
	font-weight: 800; text-decoration: none; white-space: nowrap; line-height: 1.7;
}
.samundri-topbar__guide:hover { filter: brightness(1.07); }

.samundri-guide { max-width: 860px; margin-inline: auto; padding: 18px 14px 44px; width: 100%; box-sizing: border-box; }
.samundri-guide__hero {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary));
	color: #fff; border-radius: 22px; padding: 26px 22px;
	border: 1px solid rgba(var(--gold-rgb), .5);
}
.samundri-guide__hero h1 { margin: 0 0 10px; font-size: clamp(24px, 5vw, 34px); font-weight: 900; line-height: 1.55; }
.samundri-guide__hero p { margin: 0; line-height: 2.05; color: rgba(255, 255, 255, .92); }
.samundri-guide__hero-note { margin-top: 12px !important; color: var(--gold) !important; font-weight: 800; font-size: 13.5px; }
.samundri-guide__cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.samundri-guide__btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 800; font-size: 14.5px; line-height: 1.7; text-decoration: none;
}
.samundri-guide__btn--gold { background: var(--gold); color: #0e1b33; border-color: var(--gold); }
.samundri-guide__btn--gold:hover { color: #0e1b33; filter: brightness(1.06); }
.samundri-guide__btn--ghost { background: var(--gold-soft); color: var(--primary-dark); border-color: rgba(var(--gold-rgb), .6); }
.samundri-guide__btn--ghost:hover { color: var(--primary-dark); filter: brightness(1.03); }
.samundri-guide__btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.samundri-guide__btn--ghost-light:hover { color: #fff; }
.samundri-guide__steps { padding-top: 22px; }
.samundri-guide__card {
	background: #fff; border: 1px solid var(--line); border-radius: 20px;
	padding: 22px; margin-top: 16px; box-shadow: 0 6px 20px rgba(18, 38, 63, .05);
}
.samundri-guide__card h2 {
	font-size: 19px; font-weight: 900; color: var(--primary-dark);
	margin: 0 0 12px; padding-inline-start: 12px;
	border-inline-start: 4px solid var(--gold); line-height: 1.6;
}
.samundri-guide__card p { line-height: 2; color: var(--ink); margin: 0 0 10px; }
.samundri-guide__card p:last-child { margin-bottom: 0; }
.samundri-guide__list { margin: 0; padding-inline-start: 20px; line-height: 2.05; color: var(--ink); font-size: 15px; }
.samundri-guide__list li { margin-bottom: 7px; }
.samundri-guide__list strong { color: var(--primary-dark); }
.samundri-guide__card a { color: var(--primary); font-weight: 700; }
.samundri-guide__card a.samundri-guide__btn { color: #0e1b33; }
.samundri-guide__faq h3 { font-size: 15.5px; font-weight: 800; color: var(--primary-dark); margin: 16px 0 4px; }
.samundri-guide__faq h3:first-child { margin-top: 0; }
.samundri-guide__faq p { margin: 0 0 10px; line-height: 2; }
.samundri-guide__final {
	margin-top: 18px; text-align: center;
	background: linear-gradient(135deg, var(--primary-dark), var(--primary));
	color: #fff; border-radius: 22px; padding: 26px 22px;
	border: 1px solid rgba(var(--gold-rgb), .5);
}
.samundri-guide__final h2 { color: #fff; font-size: 22px; font-weight: 900; margin: 0 0 8px; line-height: 1.6; }
.samundri-guide__final p { margin: 0; line-height: 2; color: rgba(255, 255, 255, .92); }
.samundri-guide__final .samundri-guide__cta-row { justify-content: center; }
@media (max-width: 560px) {
	.samundri-guide__card { padding: 17px 15px; }
	.samundri-guide__btn { padding: 9px 16px; font-size: 13.5px; }
}

/* ---------- v2.9.36: Mockup front design — navy header, golden guide hero, bare category circles ---------- */
/* Navy brand header (all pages) */
.samundri-header {
	background: linear-gradient(90deg, var(--primary-dark), var(--primary) 55%, var(--primary-dark));
	box-shadow: 0 12px 28px -18px rgba(18, 38, 63, .55);
}
.samundri-header__bar { background: transparent; }
.samundri-drawer-toggle { color: #fff; }
.samundri-logo-text { color: #fff; flex-wrap: wrap; align-items: center; line-height: 1.35; }
.samundri-logo-name { line-height: 1.35; }
.samundri-logo-tagline { flex-basis: 100%; margin-inline-start: 50px; margin-top: -2px; font-size: 10.5px; font-weight: 500; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.samundri-header__location { color: rgba(255, 255, 255, .78); border-inline-start-color: var(--gold); }
.samundri-location__city { color: var(--gold); }
.samundri-header__actions .samundri-action { color: var(--gold); }
.samundri-action__label { color: #fff; }
.samundri-account-dropdown__head strong { color: var(--primary-dark); }
.samundri-header__actions .samundri-action:hover { background: rgba(255, 255, 255, .10); }
.samundri-header__searchbar { background: transparent; padding-block: 8px 14px; }
.samundri-cats-btn { background: var(--gold); color: #0e1b33; border-color: var(--gold); }
.samundri-cats-btn:hover { background: var(--gold); color: #0e1b33; border-color: var(--gold); filter: brightness(1.07); }
.samundri-header__search form {
	background: #fff; border: 0; border-radius: 999px; padding: 4px;
	box-shadow: 0 8px 20px rgba(8, 20, 38, .28);
}
.samundri-search-cat {
	background: var(--gold-soft); border: 0; border-radius: 999px;
	border-inline-end: 1px solid rgba(var(--gold-rgb), .5);
	font-size: 12.5px; padding-inline: 10px; max-width: 118px;
}
.samundri-header__search input[type="search"] { background: transparent; border: 0; padding-inline-start: 14px; }
.samundri-header__search button {
	background: var(--primary-dark); color: #fff; border-radius: 999px;
	width: 42px; height: 42px; flex: 0 0 42px; padding: 0; margin-inline-start: 4px;
	display: grid; place-items: center;
}
.samundri-header__search button:hover { background: var(--primary-dark); color: var(--gold); filter: brightness(1.15); }
@media (min-width: 900px) {
	.samundri-header__bar { display: flex; align-items: center; gap: 18px; padding-inline: 18px; }
	.samundri-header__top { flex: 1 1 auto; min-width: 0; }
	.samundri-header__inner { height: auto; min-height: 64px; }
	.samundri-header__searchbar { flex: 2 1 440px; padding-block: 0; }
	.samundri-header__inner--search .samundri-cats-btn { display: none; }
}

/* Centered categories heading with flowers + side lines */
.samundri-page-cats__bar { justify-content: center; position: relative; }
.samundri-page-cats__title {
	text-align: center; margin-inline: auto; position: relative;
	display: inline-block; padding-inline: 6px;
}
.samundri-page-cats__title::before,
.samundri-page-cats__title::after {
	content: ""; position: absolute; top: 50%; transform: translateY(-50%);
	width: 64px; height: 2px; border-radius: 2px; margin: 0;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.samundri-page-cats__title::before { inset-inline-end: calc(100% + 16px); }
.samundri-page-cats__title::after { inset-inline-start: calc(100% + 16px); display: block; }
.samundri-cats-controls { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); }
.samundri-page-cats__flower { color: var(--gold); font-size: .72em; margin-inline: 5px; vertical-align: middle; }
@media (max-width: 640px) {
	.samundri-page-cats__title::before,
	.samundri-page-cats__title::after { display: none; }
	.samundri-cats-controls { position: static; transform: none; }
	.samundri-page-cats__bar { flex-wrap: wrap; }
}

/* Bare category circles (mockup style) */
.samundri-page-cats { background: transparent; box-shadow: none; padding-top: 8px; }
.samundri-page-cats::before { background: radial-gradient(ellipse at 50% -10%, rgba(var(--gold-rgb), .16), transparent 55%); }
.samundri-page-cats .samundri-cat--page {
	background: transparent; border: 0; box-shadow: none; border-radius: 0;
	padding: 4px 3px 10px; overflow: visible;
}
.samundri-page-cats .samundri-cat--page::after { display: none; }
.samundri-page-cats .samundri-cat--page img,
.samundri-page-cats .samundri-cat--page .samundri-cat__placeholder {
	width: 88px; height: 88px; max-width: 100%;
	background: transparent;
	border: 2px solid rgba(var(--gold-rgb), .5);
	box-shadow: 0 8px 18px rgba(18, 38, 63, .10);
}
.samundri-page-cats .samundri-cat--page .samundri-cat__name {
	font-size: 15px; font-weight: 900; color: var(--primary-dark); margin-top: 2px;
}
@media (hover: hover) {
	.samundri-page-cats .samundri-cat--page:hover { border-color: transparent; box-shadow: none; background: transparent; }
}

/* ---------- v2.9.37: Mobile header actions — account & cart separated (navy header kept) ---------- */
@media (max-width: 899px) {
	.samundri-header__inner { gap: 8px; padding-inline: 10px; }
	.samundri-header__actions { gap: 10px; flex-shrink: 0; margin-inline-start: auto; }
	.samundri-header__actions .samundri-action { min-width: 54px; padding-inline: 6px; flex-shrink: 0; }
	.samundri-action__label { white-space: nowrap; }
	.samundri-header__location { flex-shrink: 1; min-width: 0; }
	.samundri-account-menu { flex-shrink: 0; }
}
@media (max-width: 639px) {
	.samundri-header__actions { gap: 14px; }
	.samundri-header__actions .samundri-action { min-width: 46px; min-height: 46px; justify-content: center; }
	.samundri-action--account.is-logged-in { padding-inline-end: 8px; }
	img.samundri-logo-mark { width: 34px; height: 34px; }
	.samundri-header__brand img { max-width: 132px; }
}

/* ---------- v2.9.38: Website manual pill above custom-order card ---------- */
.samundri-manual-pill { text-align: center; margin: 20px 0 16px; }
@media (max-width: 639px) {
	.samundri-topbar__guide { font-size: 11.5px; padding-inline: 10px; }
}

/* ---------- v2.9.39: Professional ✿ مصنوعات ✿ heading + mobile cart/account fix ---------- */
.samundri-page-cats__title {
	font-size: clamp(27px, 4.4vw, 40px);
	font-weight: 900;
	line-height: 1.5;
	color: var(--primary-dark);
}
.samundri-page-cats__flower {
	display: inline-grid; place-items: center;
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--gold-soft);
	border: 1.5px solid rgba(var(--gold-rgb), .6);
	color: var(--gold);
	font-size: 20px; line-height: 1;
	margin-inline: 10px; vertical-align: middle;
	box-shadow: 0 5px 12px rgba(var(--gold-rgb), .28), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.samundri-page-cats__title::before,
.samundri-page-cats__title::after { width: clamp(46px, 9vw, 124px); height: 2.5px; }
.samundri-page-cats__title::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.samundri-page-cats__title::after { background: linear-gradient(90deg, var(--gold), transparent); }
@media (max-width: 640px) {
	.samundri-page-cats__title { font-size: 25px; }
	.samundri-page-cats__flower { width: 32px; height: 32px; font-size: 16px; margin-inline: 7px; }
	.samundri-page-cats__title::before,
	.samundri-page-cats__title::after { display: block; width: 30px; }
}

@media (max-width: 767px) {
	.samundri-header__location { display: none !important; }
	.samundri-header__inner { gap: 10px; padding-inline: 12px; }
	.samundri-header__actions { gap: 16px; margin-inline-start: auto; flex-shrink: 0; }
	.samundri-header__actions .samundri-action {
		min-width: 48px; min-height: 48px; padding: 6px 4px;
		justify-content: center; flex-shrink: 0;
	}
	.samundri-header__actions .samundri-action svg { width: 24px; height: 24px; stroke-width: 2.1; }
	.samundri-header__brand { flex-shrink: 1; min-width: 0; }
	.samundri-header__brand img { height: 38px; max-width: 150px; width: auto; }
}

/* ---------- v2.9.40: Very attractive manual buttons + mobile action labels ---------- */
.samundri-topbar__guide {
	display: inline-flex; align-items: center; gap: 5px;
	background: linear-gradient(135deg, var(--gold-soft), var(--gold));
	border: 1px solid rgba(var(--gold-rgb), .65);
	box-shadow: 0 3px 9px rgba(var(--gold-rgb), .45), inset 0 1px 0 rgba(255, 255, 255, .7);
	padding: 3px 14px; font-weight: 900;
}
.samundri-topbar__guide svg { flex: 0 0 auto; }
.samundri-manual-pill__btn {
	background: linear-gradient(135deg, var(--gold-soft), var(--gold));
	border: 1.5px solid rgba(var(--gold-rgb), .65);
	padding: 13px 30px; font-size: 17px; font-weight: 900;
	box-shadow: 0 14px 28px rgba(var(--gold-rgb), .45), inset 0 1px 0 rgba(255, 255, 255, .7);
	transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
.samundri-manual-pill__btn svg { flex: 0 0 auto; }
.samundri-manual-pill__btn:hover {
	color: #0e1b33; filter: brightness(1.06); transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(var(--gold-rgb), .55), inset 0 1px 0 rgba(255, 255, 255, .7);
}

@media (max-width: 767px) {
	.samundri-action__label {
		display: block !important;
		font-size: 10.5px; font-weight: 700; line-height: 1.35; margin-top: 2px;
		max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	}
	.samundri-action--account { flex-direction: column; gap: 1px; }
	.samundri-action--account.is-logged-in { padding-inline-end: 6px; }
	.samundri-account-avatar,
	.samundri-account-initial { width: 26px; height: 26px; }
	.samundri-header__actions .samundri-action { min-width: 56px; }
	.samundri-header__brand { min-width: 0; }
	.samundri-header__brand img { min-width: 0; }
}

/* ---------- v2.9.41: Simple مصنوعات heading + controls on one line (all views) ---------- */
.samundri-page-cats__flower { display: none !important; }
.samundri-page-cats__title {
	font-size: clamp(24px, 3.6vw, 34px);
	font-weight: 900;
	line-height: 1.5;
	color: var(--primary-dark);
	text-align: start;
	margin: 0;
	padding: 0;
}
.samundri-page-cats__title::before,
.samundri-page-cats__title::after { display: none !important; }
.samundri-page-cats__bar {
	justify-content: space-between;
	flex-wrap: nowrap;
	align-items: center;
	gap: 14px;
	position: static;
	padding-bottom: 12px;
	margin-bottom: 4px;
	border-bottom: 1px solid rgba(var(--gold-rgb), .35);
}
.samundri-cats-controls {
	position: static;
	transform: none;
	flex: 0 0 auto;
	background: #fff;
	border: 1px solid rgba(var(--gold-rgb), .55);
	box-shadow: 0 6px 18px rgba(18, 38, 63, .08);
}
.samundri-cats-ctrl { width: 40px; height: 40px; }
.samundri-cats-ctrl--toggle { width: 44px; height: 44px; }
@media (max-width: 640px) {
	.samundri-page-cats__title { font-size: 22px; }
	.samundri-page-cats__bar { flex-wrap: nowrap; gap: 10px; }
	.samundri-cats-ctrl { width: 36px; height: 36px; }
	.samundri-cats-ctrl--toggle { width: 40px; height: 40px; }
}

