/*
Theme Name: Khatwa
Theme URI: https://seifweb.com
Author: SeifWeb
Author URI: https://seifweb.com
Description: متجر أحذية وسنيكرز على WooCommerce: سنيكرز رجالي ونسائي، وأحذية جري وكاجوال، وصنادل وشباشب، ومستلزمات العناية، بمقاسات EU 36–46 وأزرار للمقاس واللون ودليل مقاسات. عربي أولًا ومصمَّم للهاتف. A sneaker and shoe store for WooCommerce — sizes and colours as buttons, a size guide, product tabs and a weekly offer — Arabic first and built for phones.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: khatwa
Tags: e-commerce, rtl-language-support, custom-logo, custom-menu
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #121212;
	--ink-2: #3a3a3a;
	--muted: #5f5f5f;
	--line: #e6e6e2;
	--line-2: #d4d4cf;
	--bg: #ffffff;
	--panel: #f3f3f1;
	--panel-2: #e9e9e5;
	--accent: #1d4ed8;
	--accent-dark: #1e40af;
	--accent-soft: #e8eefc;
	--accent-light: #a9c0ff;
	--coral: #e4572e;
	--ok: #15803d;
	--footer: #121212;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(18, 18, 18, .05), 0 12px 32px rgba(18, 18, 18, .08);
	--font: "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--display: "Changa", "Noto Sans Arabic", system-ui, "Segoe UI", sans-serif;
	--gutter: 16px;
	--header-h: 62px;
	--tabbar-h: 62px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--bg);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.site-footer :focus-visible, .demo-bar :focus-visible, .cta-demo :focus-visible, .deal :focus-visible, .toast :focus-visible, .collection-card.is-dark:focus-visible, .contact-card :focus-visible { outline-color: #fff; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; inset-inline-start: 12px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; }
.muted { color: var(--muted); }
.only-desktop { display: none !important; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, a.button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 999px;
	font-family: var(--display); font-weight: 600; font-size: 15.5px; line-height: 1.2; letter-spacing: 0; text-align: center;
	cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s;
	background: var(--ink); color: #fff; text-decoration: none;
}
.btn .icon, .button .icon { width: 18px; height: 18px; }
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--accent); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-accent, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce button.single_add_to_cart_button { background: var(--accent); color: #fff; }
.btn-accent:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce button.single_add_to_cart_button:hover { background: var(--accent-dark); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--panel); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
/* WooCommerce paints disabled buttons in its own purple: keep the brand colour. */
.woocommerce button.button.alt.disabled, .woocommerce button.button.alt:disabled, .woocommerce button.button.alt:disabled[disabled],
.woocommerce button.button.alt.disabled:hover, .woocommerce div.product form.cart .button.disabled {
	background: var(--accent) !important; color: #fff !important; opacity: .5; cursor: not-allowed;
}
.icon-btn { display: inline-grid; place-items: center; position: relative; width: 44px; height: 44px; border-radius: 999px; background: transparent; border: 0; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--panel); color: var(--ink); }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 34px; padding: 0 10px; margin-inline-end: 2px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1; }
.lang-btn:hover { border-color: var(--ink); color: var(--ink); }
.lang-btn[lang="en"] { letter-spacing: .04em; }
.lang-link .icon, .lang-foot .icon { width: 18px; height: 18px; }
.lang-foot { display: inline-flex; align-items: center; gap: 6px; }
.eyebrow { display: inline-block; font-family: var(--display); font-size: 13.5px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }

/* ---------- Demo notice and the delivery bar ---------- */
.demo-bar { background: var(--accent-dark); color: #fff; font-size: 13px; }
.demo-bar-inner { display: flex; align-items: center; gap: 6px 14px; min-height: 40px; padding-block: 4px; }
.demo-bar p { margin: 0; flex: 1; min-width: 0; line-height: 1.5; }
.demo-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.demo-bar a:hover { color: #dbe5ff; }
.demo-bar-close { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.demo-bar-close:hover { background: rgba(255, 255, 255, .14); }
.demo-bar-close .icon { width: 18px; height: 18px; }
.announce { background: var(--ink); color: #fff; font-size: 13px; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 8px 24px; min-height: 36px; padding-block: 4px; }
.announce p { margin: 0; }
.announce-main { display: flex; align-items: center; gap: 8px; min-width: 0; text-align: center; line-height: 1.45; }
.announce-main .icon { width: 17px; height: 17px; color: var(--accent-light); }
.announce .announce-side { display: none; }
.announce-side a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .5); }
.announce-side a:hover { color: #dbe5ff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(18, 18, 18, .07); }
.admin-bar .site-header { top: 46px; }
.header-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: var(--header-h); }
.header-row > .icon-btn:first-child { justify-self: start; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { max-height: 40px; width: auto; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-words { display: grid; line-height: 1; min-width: 0; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; white-space: nowrap; }
.brand-alt { font-family: var(--display); font-size: 10.5px; font-weight: 600; letter-spacing: .28em; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.brand-alt[lang="en"] { text-transform: uppercase; }
html[lang^="en"] .brand-name { text-transform: uppercase; letter-spacing: .1em; font-size: 21px; }
html[lang^="en"] .brand-alt { letter-spacing: 0; font-size: 12px; }
.header-actions { display: flex; align-items: center; justify-self: end; }
.khatwa-cart-count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; font-family: var(--font); }
.khatwa-cart-count.is-empty { display: none; }
.header-search { border-top: 1px solid var(--line); padding-block: 12px; background: #fff; }
.nav-list, .drawer-list { list-style: none; margin: 0; padding: 0; }
.main-nav .nav-list { display: flex; gap: 2px; }
.main-nav .nav-list > li { position: relative; }
.main-nav .nav-list > li.is-mega { position: static; }
.main-nav .nav-list a { display: block; padding: 10px 14px; font-family: var(--display); font-weight: 600; font-size: 15.5px; color: var(--ink-2); white-space: nowrap; }
.main-nav .nav-list > li > a { position: relative; display: flex; align-items: center; min-height: var(--header-h); padding-block: 0; }
.main-nav .nav-list a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--ink); }
.main-nav .nav-list > li > a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 14px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.main-nav .nav-list > li:hover > a::after, .main-nav .nav-list > li:focus-within > a::after, .main-nav .current-menu-item > a::after, .main-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav .menu-item-has-children > a { padding-inline-end: 28px; }
.main-nav .menu-item-has-children > a::before { content: ""; position: absolute; inset-inline-end: 12px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; inset-inline-start: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 5; }
.main-nav .sub-menu a { border-radius: 8px; padding: 9px 12px; }
.main-nav .sub-menu a:hover { background: var(--panel); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
/* The shop's wide panel */
.main-nav .mega-panel { position: absolute; top: 100%; inset-inline: 0; z-index: 5; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(18, 18, 18, .08); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.main-nav li.is-mega:hover > .mega-panel, .main-nav li.is-mega:focus-within > .mega-panel { opacity: 1; visibility: visible; transform: none; }
.main-nav li.is-mega.mega-off > .mega-panel { opacity: 0; visibility: hidden; }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px; padding-block: 28px 32px; }
.mega-col { min-width: 0; }
.mega-title { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--muted); }
.main-nav .mega-links { list-style: none; margin: 0; padding: 0; position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 18px; min-width: 0; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; }
.main-nav .mega-links a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; font-size: 15px; color: var(--ink); white-space: normal; }
.main-nav .mega-links a:hover { background: var(--panel); color: var(--ink); }
.mega-thumb { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--panel); }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-name { min-width: 0; }
.mega-more { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.main-nav .mega-more a { padding: 0; font-size: 14.5px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.main-nav a.mega-promo { position: relative; display: block; padding: 0; border-radius: var(--radius); overflow: hidden; min-height: 220px; background: var(--panel); color: #fff; white-space: normal; }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 18, 18, .82), rgba(18, 18, 18, .1) 70%); }
.mega-promo-text { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; padding: 20px; }
.mega-promo-kicker { font-size: 13px; font-weight: 700; color: #dbe5ff; }
.mega-promo-title { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.35; }
.mega-promo-link { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.main-nav a.mega-promo:hover, .main-nav a.mega-promo:focus-visible { color: #fff; }
.main-nav a.mega-promo:focus-visible { outline-color: var(--accent); }

/* ---------- Search form ---------- */
.search-form { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 5px; padding-inline-start: 16px; max-width: 680px; margin-inline: auto; }
.search-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.search-form .icon { color: var(--muted); width: 20px; height: 20px; }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 4px; outline: none; font-size: 16px; text-overflow: ellipsis; }
.search-form .btn { min-height: 42px; padding: 0 18px; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(18, 18, 18, .45); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(86vw, 360px); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; padding-bottom: env(safe-area-inset-bottom); }
[dir="ltr"] .drawer-panel { transform: translateX(-100%); }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-list { flex: 1; overflow: auto; padding: 8px var(--gutter); }
.drawer-list a { display: block; padding: 13px 2px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 17px; }
.drawer-list .sub-menu { list-style: none; padding-inline-start: 14px; margin: 0; }
.drawer-list .sub-menu a { font-family: var(--font); font-weight: 500; font-size: 15px; color: var(--ink-2); padding-block: 11px; }
.drawer-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 16px var(--gutter); border-top: 1px solid var(--line); }
.drawer-foot > :first-child { grid-column: 1 / -1; }
.drawer-foot .btn { padding-inline: 12px; }

/* ---------- Sections ---------- */
.section { padding-block: 40px; }
.section-follow { padding-top: 4px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 18px; }
.section-head > * { min-width: 0; }
.section-head h2 { font-size: 24px; margin: 0; }
.link-more { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; font-size: 14.5px; white-space: nowrap; color: var(--ink); }
.link-more .icon { width: 18px; height: 18px; }
[dir="ltr"] .link-more .icon, [dir="ltr"] .collection-link .icon, [dir="ltr"] .deal-cta .icon { transform: scaleX(-1); }

/* ---------- Home: hero slider ---------- */
.hero { background: var(--panel); overflow: hidden; }
.hero-stage { position: relative; padding-block: 18px 22px; }
.hero-slides { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; }
.hero-slide:not(:first-child) { display: none; }
.hero.is-ready .hero-slide { display: grid; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero.is-ready .hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-copy { min-width: 0; order: 2; }
.hero-title { font-size: clamp(34px, 9.6vw, 72px); font-weight: 800; line-height: 1.08; margin-bottom: 12px; }
.hero-title:focus { outline: none; }
.hero-lead { font-size: 16px; color: var(--ink-2); max-width: 520px; margin-bottom: 18px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .btn { flex: 1 1 150px; }
.hero-media { position: relative; order: 1; margin: 0; min-width: 0; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); mix-blend-mode: multiply; }
.hero-chip { position: absolute; bottom: 12px; inset-inline-start: 12px; max-width: calc(100% - 24px); padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 13.5px; line-height: 1.4; box-shadow: 0 4px 14px rgba(18, 18, 18, .1); }
.hero-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; }
.hero-arrow, .hero-pause { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; }
.hero-arrow:hover, .hero-pause:hover { border-color: var(--ink); }
.hero-arrow .icon, .hero-pause .icon { width: 20px; height: 20px; }
[dir="rtl"] .hero-arrow:not(.is-next) .icon, [dir="ltr"] .hero-arrow.is-next .icon { transform: scaleX(-1); }
.hero-pause .icon-play, .hero-pause.is-paused .icon-pause { display: none; }
.hero-pause.is-paused .icon-play { display: block; }
.hero-dots { display: flex; gap: 2px; }
.hero-dot { position: relative; width: 32px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.hero-dot::before { content: ""; position: absolute; inset-inline: 6px; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--line-2); transition: background .2s; }
.hero-dot[aria-current="true"]::before { background: var(--accent); }

/* ---------- Home: category circles ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 27%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.cat-circle { position: relative; scroll-snap-align: start; display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--ink); min-width: 0; }
.cat-img { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.cat-img .icon { width: 40px; height: 40px; color: var(--accent); }
.cat-circle:hover .cat-img img { transform: scale(1.06); }
.cat-name { font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.35; }

/* ---------- Home: collection cards ---------- */
.collection-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.collection-card { position: relative; display: block; min-height: 220px; border-radius: var(--radius); overflow: hidden; background: var(--panel); color: var(--ink); isolation: isolate; }
.collection-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.collection-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .75) 38%, rgba(255, 255, 255, 0) 68%); }
.collection-card.is-dark { color: #fff; background: #222; }
.collection-card.is-dark::after { background: linear-gradient(to top, rgba(18, 18, 18, .88) 0%, rgba(18, 18, 18, .55) 42%, rgba(18, 18, 18, 0) 72%); }
.collection-card:hover { color: var(--ink); }
.collection-card.is-dark:hover { color: #fff; }
.collection-card:hover img { transform: scale(1.04); }
.collection-text { position: absolute; inset-inline: 0; bottom: 0; display: grid; gap: 2px; padding: 18px 20px; }
.collection-kicker { font-size: 13px; font-weight: 700; color: var(--accent); }
.collection-card.is-dark .collection-kicker { color: #dbe5ff; }
.collection-title { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.25; }
.collection-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 700; font-size: 14.5px; }
.collection-link .icon { width: 18px; height: 18px; }

/* ---------- Home: product tabs ---------- */
.section-head.is-tabs { align-items: center; }
.tab-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 2px; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-btn { position: relative; flex: none; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.tab-btn:hover { border-color: var(--ink); color: var(--ink); }
.tab-btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-panel { min-width: 0; }
.tab-panel:focus-visible { outline-offset: 6px; border-radius: var(--radius); }
.tabs-more { margin: 24px 0 0; text-align: center; }

/* ---------- Home: marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; background: var(--accent); color: #fff; border-block: 1px solid var(--accent-dark); }
.marquee-track { display: flex; width: max-content; animation: khatwa-marquee 38s linear infinite; }
.marquee-group { display: flex; }
.marquee-item { position: relative; display: inline-flex; align-items: center; padding: 13px 22px; font-family: var(--display); font-weight: 700; font-size: 17px; }
.marquee-item::after { content: ""; position: absolute; inset-inline-end: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
@keyframes khatwa-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: khatwa-marquee-rtl; }
@keyframes khatwa-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Home: the week's offer ---------- */
.deal { background: var(--accent); color: #fff; padding-block: 36px; }
.deal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
.deal-copy { min-width: 0; }
.deal .eyebrow { color: #dbe5ff; }
.deal h2 { font-size: clamp(26px, 7vw, 42px); font-weight: 800; margin-bottom: 10px; }
.deal-copy > p { color: #eef2ff; max-width: 520px; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 400px; margin: 4px 0 22px; }
.cd-unit { display: grid; justify-items: center; gap: 2px; padding: 10px 4px 8px; border-radius: 12px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); min-width: 0; }
.cd-num { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-label { font-size: 12.5px; color: #eef2ff; }
.deal .btn-light { color: var(--ink); }
.deal .btn-light:hover { background: var(--accent-soft); color: var(--ink); }
.deal-card { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(10, 20, 60, .25); min-width: 0; }
.deal-card:hover { color: var(--ink); }
.deal-media { position: relative; display: block; background: var(--panel); }
.deal-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.badge-deal { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 12px; border-radius: 999px; background: var(--coral); color: var(--ink); font-weight: 700; font-size: 13px; }
.deal-info { display: grid; gap: 4px; padding: 16px 18px 18px; min-width: 0; }
.deal-name { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.35; }
.deal-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--display); font-weight: 700; font-size: 20px; }
.deal-price del { color: var(--muted); font-weight: 500; font-size: 15px; }
.deal-price ins { text-decoration: none; }
.deal-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--accent); font-weight: 700; }
.deal-cta .icon { width: 18px; height: 18px; }

/* ---------- Home: find your size ---------- */
.size-strip { background: var(--panel); border-bottom: 1px solid var(--line); padding-block: 26px; }
.size-strip-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center; }
.size-strip-text { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.size-strip-text > div { min-width: 0; }
.size-strip-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--accent); }
.size-strip-icon .icon { width: 28px; height: 28px; }
.size-strip h2 { font-size: 21px; margin-bottom: 4px; }
.size-strip p { margin: 0; color: var(--ink-2); font-size: 15px; }
.size-finder { display: grid; gap: 6px; min-width: 0; }
.size-finder label { font-weight: 700; font-size: 14px; }
.size-finder-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.size-finder input { width: 120px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 17px; font-weight: 700; text-align: center; }
.size-finder input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.size-finder output { flex: 1 1 180px; min-width: 0; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--accent-dark); }
.size-strip .btn { justify-self: start; }

/* ---------- Home: shop the look ---------- */
.look-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; }
.look-media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); min-width: 0; }
.look-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hotspot { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 16px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .45), 0 6px 18px rgba(18, 18, 18, .2); transition: transform .2s, background .2s, color .2s; }
.hotspot:hover, .hotspot:focus-visible { background: var(--accent); color: #fff; transform: scale(1.08); }
.look-text { min-width: 0; }
.look-text h2 { font-size: clamp(24px, 6.4vw, 36px); }
.look-text > p { color: var(--ink-2); max-width: 520px; }
.look-items { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.look-item { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); min-width: 0; transition: border-color .2s; }
.look-item:hover { border-color: var(--ink); color: var(--ink); }
.look-num { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; }
.look-thumb { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--panel); }
.look-thumb img { width: 100%; height: 100%; object-fit: cover; }
.look-info { display: grid; min-width: 0; line-height: 1.45; }
.look-name { font-weight: 600; font-size: 15px; }
.look-price { font-weight: 700; font-size: 14.5px; }
.look-price del { color: var(--muted); font-weight: 400; font-size: 13px; }
.look-price ins { text-decoration: none; }

/* ---------- Home: trust bar, reviews, photo band ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding-block: 20px; }
.trust-item { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.trust-item .icon { width: 28px; height: 28px; color: var(--accent); margin-top: 2px; }
.trust-item span { display: grid; min-width: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.trust-item strong { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); }
.reviews-score { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 16px; }
.reviews-score .icon { width: 20px; height: 20px; color: #b45309; fill: currentColor; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.review-card { margin: 0; padding: 20px; border-radius: var(--radius); background: var(--panel); color: var(--ink); min-width: 0; }
.stars { display: inline-flex; gap: 2px; color: #b45309; }
.stars .icon { width: 17px; height: 17px; fill: currentColor; }
.review-card blockquote { margin: 10px 0 14px; }
.review-card blockquote p { margin: 0; font-size: 15.5px; line-height: 1.75; }
.review-card figcaption { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; }
.avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font); font-weight: 700; font-size: 1.4rem; line-height: 1; }
.reviews-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.photo-band { padding-block: 8px 44px; }
.band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.band-item { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--panel); }
.band-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .45s ease, opacity .3s; }
.band-item:hover img { transform: scale(1.05); }

/* ---------- Demo CTA ---------- */
.cta-demo { background: var(--ink); color: #fff; padding-block: 40px; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; }
.cta-inner > div { min-width: 0; }
.cta-inner h2 { font-size: 24px; }
.cta-inner p { color: #d0d0d0; margin: 0; max-width: 660px; }
.cta-demo .btn-light { color: var(--ink); justify-self: start; }

/* ---------- Product grid (WooCommerce) ---------- */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; margin: 0 !important; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; clear: none !important; position: relative; display: flex; flex-direction: column; min-width: 0; text-align: start; color: var(--ink); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--ink); text-decoration: none; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--panel); margin-bottom: 10px; }
.woocommerce ul.products li.product .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 0; transition: opacity .35s ease, transform .5s ease; }
.woocommerce ul.products li.product .card-media .card-alt { opacity: 0; }
.card-badges { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 20px); pointer-events: none; }
.badge-new { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.6; }
.woocommerce .card-badges .onsale, .woocommerce ul.products li.product .card-badges .onsale {
	position: static; margin: 0; min-width: 0; min-height: 0; padding: 3px 10px; line-height: 1.6; border-radius: 999px;
	background: var(--coral); color: var(--ink); font-size: 12px; font-weight: 800; font-family: var(--font); direction: ltr;
}
.card-cat { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 1px; }
.woocommerce ul.products li.product h2.woocommerce-loop-product__title { font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1.5; padding: 0; margin: 0 0 6px; color: var(--ink); }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 6px; min-width: 0; }
.card-dots { display: inline-flex; gap: 5px; }
.card-dots .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--dot, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.card-sizes { font-size: 12.5px; color: var(--muted); direction: ltr; unicode-bidi: isolate; }
.woocommerce ul.products li.product span.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 17px; margin: 0 0 12px; }
.woocommerce ul.products li.product span.price del { color: var(--muted); font-weight: 500; font-size: 14px; opacity: 1; }
.woocommerce ul.products li.product span.price ins { text-decoration: none; color: var(--ink); }
.woocommerce ul.products li.product a.card-btn, .card-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: auto; padding: 0 12px; gap: 7px; font-size: 14px; background: #fff; color: var(--ink); border-color: var(--ink); }
.woocommerce ul.products li.product a.card-btn:hover { background: var(--ink); color: #fff; }
.woocommerce ul.products li.product a.card-btn.is-options { border-color: var(--line-2); }
.woocommerce ul.products li.product a.card-btn.is-options:hover { border-color: var(--ink); }
.card-btn .icon { width: 18px; height: 18px; }
.woocommerce ul.products li.product a.card-btn.loading { opacity: .6; pointer-events: none; }
.woocommerce ul.products li.product a.card-btn.added { background: var(--ok); border-color: var(--ok); color: #fff; }
.woocommerce ul.products li.product a.card-btn.loading::after, .woocommerce ul.products li.product a.card-btn.added::after { display: none !important; }
.woocommerce ul.products li.product a.added_to_cart { display: none; }
.woocommerce .star-rating { display: none; }

/* ---------- Shop page ---------- */
.shop-wrap { padding-block: 14px 56px; }
.breadcrumb, .woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.breadcrumb a, .woocommerce .woocommerce-breadcrumb a { color: var(--ink-2); }
.breadcrumb .sep { margin-inline: 6px; opacity: .6; }
.shop-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center; margin: 6px 0 18px; padding: 20px; border-radius: var(--radius); background: var(--panel); }
.shop-head-text { min-width: 0; }
.shop-head-title { font-size: clamp(28px, 7.6vw, 44px); font-weight: 800; margin: 0 0 6px; }
.shop-head-desc { color: var(--ink-2); font-size: 15px; max-width: 640px; }
.shop-head-desc p:last-child { margin-bottom: 0; }
.shop-head-count { margin: 10px 0 0; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.shop-head-img { margin: 0; border-radius: 14px; overflow: hidden; min-width: 0; }
.shop-head-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; margin-bottom: 4px; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.shop-filter { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.shop-filter > summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 15px; }
.shop-filter > summary::-webkit-details-marker { display: none; }
.shop-filter > summary .icon { width: 20px; height: 20px; color: var(--accent); }
.shop-filter > summary::after { content: "+"; margin-inline-start: auto; font-size: 20px; font-weight: 400; color: var(--muted); }
.shop-filter[open] > summary::after { content: "–"; }
.filter-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; }
.shop-filter-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 4px 16px 16px; }
.filter-field { display: grid; gap: 4px; min-width: 0; }
.filter-field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.filter-field select, .woocommerce .woocommerce-ordering select {
	appearance: none; -webkit-appearance: none; width: 100%; min-height: 44px; padding: 0 14px; padding-inline-end: 38px; border: 1px solid var(--line-2); border-radius: 12px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3a3a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 12px center / 18px; font-size: 14.5px; cursor: pointer;
}
[dir="ltr"] .filter-field select, [dir="ltr"] .woocommerce .woocommerce-ordering select { background-position: right 12px center; }
.filter-actions { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px 14px; min-width: 0; }
.filter-reset { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce .woocommerce-result-count { margin: 0 0 12px; font-size: 13.5px; color: var(--muted); float: none; }
.woocommerce .woocommerce-ordering { float: none; margin: 0 0 18px; }
.woocommerce nav.woocommerce-pagination { margin-top: 32px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; flex-wrap: wrap; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; padding: 0 10px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews, p.no-comments { border: 1px solid var(--line) !important; border-radius: 14px; background: var(--panel) !important; color: var(--ink) !important; padding: 14px 18px !important; margin: 0 0 18px !important; list-style: none; }
.woocommerce-message { border-color: #bfe3cf !important; background: #f1faf5 !important; }
.woocommerce-error { border-color: #f3c2bd !important; background: #fff5f4 !important; }
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { float: none !important; min-height: 40px; margin-inline-start: 12px; }

/* ---------- Single product ---------- */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 4px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; min-width: 0; }
.woocommerce div.product div.images { position: relative; margin-inline: calc(var(--gutter) * -1) !important; }
.woocommerce div.product div.images img { background: var(--panel); }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 8px; margin-top: 8px; padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
.woocommerce div.product div.images .flex-control-thumbs li { position: relative; flex: none; width: 68px !important; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 10px; opacity: .55; border: 1.5px solid transparent; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--ink); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 12px; background: rgba(255, 255, 255, .95); border-radius: 999px; }
[dir="rtl"] .woocommerce div.product div.images .woocommerce-product-gallery__trigger { left: 12px; right: auto; }
.woocommerce div.product span.onsale { position: absolute; top: 12px; z-index: 3; margin: 0; min-width: 0; min-height: 0; padding: 4px 12px; line-height: 1.6; border-radius: 999px; background: var(--coral); color: var(--ink); font-size: 13px; font-weight: 800; direction: ltr; }
[dir="rtl"] .woocommerce div.product span.onsale { right: 12px; left: auto; }
[dir="ltr"] .woocommerce div.product span.onsale { left: 12px; right: auto; }
.summary-kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.woocommerce div.product .product_title { font-size: clamp(24px, 6.4vw, 36px); font-weight: 800; margin-bottom: 6px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-family: var(--display); font-size: 24px; font-weight: 700; display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; margin-bottom: 10px; }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { color: var(--muted); font-size: 17px; font-weight: 500; opacity: 1; }
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { color: var(--ink); text-decoration: none; }
.woocommerce-product-details__short-description { color: var(--ink-2); font-size: 15.5px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 18px 0; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart.variations_form { display: block; position: relative; }
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 8px; border: 0; }
.woocommerce div.product form.cart .variations tr { display: block; margin-bottom: 10px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: start; line-height: 1.5; }
.woocommerce div.product form.cart .variations label { font-weight: 700; font-size: 14.5px; }
.woocommerce div.product form.cart .variations td.value { position: relative; margin: 8px 0 4px; }
.woocommerce div.product form.cart .variations select { min-height: 44px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; width: 100%; background: #fff; }
.woocommerce div.product form.cart .variations select.is-replaced { position: absolute !important; top: 0; inset-inline-start: 0; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.option-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.option-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 54px; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 15px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.option-buttons.is-colours .option-btn { border-radius: 999px; padding-inline: 12px 16px; }
.option-btn:hover { border-color: var(--ink); }
.option-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.option-btn:disabled { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.swatch-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--dot, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.option-btn[aria-pressed="true"] .swatch-dot { box-shadow: 0 0 0 2px #fff; }
form.cart.needs-option .option-buttons { animation: khatwa-shake .4s; }
form.cart.needs-option .variations label { color: #b42318; }
@keyframes khatwa-shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.woocommerce div.product form.cart .reset_variations { font-size: 13.5px; color: var(--muted); display: inline-block; margin-top: 4px; }
.size-help { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 2px 0 14px; }
.size-guide-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; font-size: 14.5px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.size-guide-link .icon { width: 20px; height: 20px; }
.fit-note { font-size: 13.5px; color: var(--muted); }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 10px; }
.woocommerce .quantity .qty { width: 88px; min-height: 52px; border: 1px solid var(--line-2); border-radius: 999px; text-align: center; background: #fff; font-weight: 700; }
.woocommerce div.product form.cart .button { flex: 1 1 200px; min-height: 52px; font-size: 16.5px; }
.promise { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.promise li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; }
.promise li span { min-width: 0; }
.promise .icon { color: var(--accent); width: 21px; height: 21px; margin-top: 1px; }
.pdp-info { border-top: 1px solid var(--line); margin-bottom: 16px; }
.pdp-fold { border-bottom: 1px solid var(--line); }
.pdp-fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 16px; }
.pdp-fold > summary::-webkit-details-marker { display: none; }
.pdp-fold > summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); }
.pdp-fold[open] > summary::after { content: "–"; }
.pdp-fold > :not(summary) { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); }
.pdp-fold ul { padding-inline-start: 1.2em; }
.pdp-fold li { margin-bottom: 4px; }
.pdp-fold a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.spec-list { display: grid; gap: 8px; margin: 0 0 14px; }
.spec-list > div { display: grid; grid-template-columns: minmax(0, 110px) minmax(0, 1fr); gap: 12px; }
.spec-list dt { font-weight: 700; color: var(--ink); }
.spec-list dd { margin: 0; min-width: 0; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 8px; min-width: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 20px; padding: 0; margin: 0 0 14px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { position: relative; border: 0; background: none; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 0; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; display: block; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--accent); }
.woocommerce div.product .woocommerce-tabs .panel { padding: 0; margin: 0; background: none; border: 0; max-width: 820px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs .panel ul, .woocommerce div.product .woocommerce-tabs .panel ol { padding-inline-start: 1.3em; }
.woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; margin-top: 24px; min-width: 0; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 24px; margin-bottom: 16px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1px solid var(--line-2); border-radius: 12px; background: #fff; padding: 12px 14px; min-height: 48px; font-size: 16px; }
.woocommerce form .form-row label { font-weight: 600; }

/* Size guide dialog and table */
.size-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 20px; border: 0; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(18, 18, 18, .3); overflow: auto; }
.size-dialog::backdrop { background: rgba(18, 18, 18, .55); }
.size-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.size-dialog-head h2 { margin: 0; font-size: 24px; }
.size-dialog-lead, .size-dialog-note { font-size: 14.5px; color: var(--ink-2); }
.size-dialog-note { margin: 14px 0; font-size: 13.5px; color: var(--muted); }
.size-dialog-fit { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; font-size: 14.5px; }
.size-dialog-fit .icon { width: 22px; height: 22px; }
.size-dialog-fit span { min-width: 0; }
.size-table-wrap { position: relative; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.size-table-wrap:focus-visible { outline-offset: 2px; }
.size-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14.5px; text-align: center; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.size-table thead th { background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.size-table tbody th { font-family: var(--display); font-weight: 800; background: var(--panel); }
.size-table tbody tr:last-child th, .size-table tbody tr:last-child td { border-bottom: 0; }
.size-table tbody tr:hover td { background: var(--accent-soft); }

/* Phone buy bar */
.buybar { position: fixed; inset-inline: 0; bottom: 0; z-index: 46; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(18, 18, 18, .08); }
.buybar-info { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.buybar-name { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-price { font-family: var(--display); font-weight: 700; font-size: 16px; }
.buybar-price del { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.buybar-price ins { text-decoration: none; }
.buybar .btn { flex: 0 0 auto; min-height: 46px; padding: 0 22px; }
body.single-product .tabbar { display: none; }
body.single-product { padding-bottom: 80px; }

/* Toast */
.toast { position: fixed; z-index: 70; inset-inline: 16px; bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom)); margin-inline: auto; max-width: 420px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.toast.is-on { opacity: 1; transform: none; }
.toast a { color: var(--accent-light); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
body.single-product .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

/* ---------- Pages, cart, checkout, account ---------- */
.page-wrap { padding-block: 20px 56px; }
.page-wrap.narrow { max-width: 820px; }
.page-head h1 { font-size: clamp(28px, 7.6vw, 42px); font-weight: 800; margin-top: 4px; }
.page-lead { color: var(--ink-2); max-width: 680px; }
.entry { font-size: 16px; min-width: 0; }
.entry > :first-child { margin-top: 0; }
.entry h2 { font-size: 22px; margin-top: 1.4em; }
.entry h3 { font-size: 18px; margin-top: 1.2em; }
.entry ul, .entry ol { padding-inline-start: 1.3em; }
.entry li { margin-bottom: .35em; }
:where(.page-wrap:not(.is-store-page)) .entry a:where(:not(.button):not(.btn):not(.wc-block-components-button)) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.is-store-page .entry a:where(:not(.button):not(.btn):not([class*="wc-block"])) { text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-MyAccount-content a:where(:not(.button)) { color: var(--accent); }
.entry ul.products { padding: 0; }
.entry ul.products li { margin-bottom: 0; }
.entry ul.products a { color: var(--ink); text-decoration: none !important; }
.entry ul.products .card-btn:hover, .entry ul.products .card-btn.added { color: #fff; }
.entry figure { margin: 0 0 1.4em; max-width: 100%; overflow-x: auto; }
.entry table:not(.size-table) { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; }
.entry table:not(.size-table) th, .entry table:not(.size-table) td { padding: 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.entry table:not(.size-table) th { background: var(--panel); font-family: var(--display); font-weight: 700; }
.credits-table { font-size: 14px; }
.credits-table small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.store-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.store-note span { min-width: 0; }
.store-note .icon { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--accent) !important; color: #fff !important; border-radius: 999px !important; min-height: 52px; font-family: var(--display); font-weight: 700; }
.wc-block-components-button:not(.is-link):hover { background: var(--accent-dark) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-components-textarea, .wc-blocks-components-select .wc-blocks-components-select__select { border-radius: 12px !important; border-color: var(--line-2) !important; }
.wc-block-components-product-name { font-weight: 700; color: var(--ink) !important; }
.wc-block-components-product-badge { border-radius: 999px !important; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 14px; background: #fff; border-collapse: separate; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-top-color: var(--line); padding: 12px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; gap: 6px; overflow-x: auto; }
.woocommerce-account .woocommerce-MyAccount-navigation li { position: relative; flex: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; white-space: nowrap; font-size: 14px; text-decoration: none; color: inherit; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--ink); color: #fff; border-color: var(--ink); }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; }
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { display: none; }
.woocommerce form.login, .woocommerce form.register { border: 1px solid var(--line) !important; border-radius: 16px !important; background: #fff; padding: 22px !important; margin: 0 0 18px !important; }
.order-next { margin: 0 0 24px; padding: 20px; border-radius: 16px; background: var(--accent-soft); border: 1px solid #c9d6f8; }
.order-next h2 { font-size: 20px; margin-bottom: 12px; }
.order-next ol { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.order-next li { display: flex; gap: 10px; align-items: flex-start; }
.order-next li span { min-width: 0; }
.order-next .icon { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.empty-state { text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; }
.empty-state > * { max-width: 100%; min-width: 0; }
.empty-state .big { font-family: var(--display); font-size: 84px; font-weight: 800; color: var(--accent); line-height: 1; }
.empty-state .search-form { width: 100%; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.post-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.post-card img, .post-cover img { border-radius: 14px; margin-bottom: 10px; }

/* Size guide page */
.size-page-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.size-page h2#size-chart { scroll-margin-top: calc(var(--header-h) + 20px); }
.measure-card { padding: 22px; border-radius: 18px; background: var(--panel); min-width: 0; }
.measure-card h2 { font-size: 20px; }
.measure-steps { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.measure-steps li { position: relative; padding-inline-start: 42px; font-size: 15px; color: var(--ink-2); counter-increment: step; }
.measure-steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; }
.measure-tip { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff; font-size: 14.5px; }
.measure-tip .icon { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.measure-tip span { min-width: 0; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.contact-card { padding: 22px; border-radius: 18px; background: var(--ink); color: #e6e6e6; min-width: 0; }
.contact-card .brand { color: #fff; margin-bottom: 14px; }
.contact-card .brand-alt { color: #bdbdbd; }
.contact-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.contact-card li { display: flex; gap: 12px; align-items: flex-start; }
.contact-card li > span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.contact-card strong { font-family: var(--display); font-weight: 700; font-size: 13px; color: #bdbdbd; }
.contact-card .icon { color: var(--accent-light); width: 22px; height: 22px; margin-top: 2px; }
.contact-card a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-card .btn-accent { color: #fff; text-decoration: none; }
.contact-card .contact-hint { margin: 14px 0 0; font-size: 13.5px; color: #cfcfcf; }
.contact-form { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.swst-contact { display: block !important; margin: 0 !important; color: var(--ink); }
.swst-contact .swst-contact-form { padding: 0 !important; border: 0 !important; background: none !important; }
.swst-contact .swst-contact-details { display: none !important; }
.swst-contact h2 { margin-top: 0 !important; font-size: 22px !important; }
.swst-contact .swst-intro { color: var(--muted) !important; }
.swst-contact input:not([type=hidden]), .swst-contact textarea { background: #fff !important; border-color: var(--line-2) !important; }
.swst-contact .swst-submit { font-family: var(--display) !important; }
.swst-contact .swst-trap { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #c9c9c9; padding-top: 40px; font-size: 14px; }
.site-footer a { color: #d6d6d6; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; justify-self: start; }
.site-footer .brand-alt { color: #a8a8a8; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 20px; }
.footer-brand { padding-bottom: 20px; min-width: 0; }
.footer-brand p { margin: 14px 0 14px; color: #a8a8a8; max-width: 400px; }
.footer-perks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.footer-perks li { display: flex; gap: 8px; align-items: center; color: #d6d6d6; }
.footer-perks .icon { width: 19px; height: 19px; color: var(--accent-light); }
.footer-col { border-top: 1px solid rgba(255, 255, 255, .1); min-width: 0; }
.footer-col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 4px 0; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 15.5px; color: #fff; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary::after { content: "+"; font-size: 20px; font-weight: 400; color: #a8a8a8; }
.footer-col[open] summary::after { content: "–"; }
.footer-col ul { list-style: none; margin: 0; padding: 0 0 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.footer-col li { color: #a8a8a8; min-width: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact li > a, .footer-contact li > span { min-width: 0; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-light); }
.socials { display: flex; gap: 8px; }
.socials a { position: relative; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--accent); }
.socials .icon { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 16px; font-size: 12.5px; color: #a8a8a8; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.site-footer .footer-legal a { color: #d6d6d6; }
.pay-badge { display: inline-flex; align-items: center; gap: 6px; }
.pay-badge .icon { width: 18px; height: 18px; }

/* ---------- Phone tab bar ---------- */
.tabbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a, .tabbar button { display: grid; justify-items: center; gap: 2px; padding: 8px 0 6px; font-size: 11px; font-weight: 600; color: var(--muted); background: none; border: 0; cursor: pointer; min-width: 0; }
.tabbar .icon { width: 22px; height: 22px; }
.tabbar [aria-current="page"] { color: var(--ink); }
.tabbar [aria-current="page"] .icon { color: var(--accent); }
.tab-icon { position: relative; display: inline-grid; }
.tabbar .khatwa-cart-count { top: -6px; inset-inline-end: -10px; }

/* ---------- Phones ---------- */
@media (max-width: 599px) {
	.demo-bar { font-size: 12px; }
	.demo-bar-inner { flex-wrap: wrap; }
	.announce { font-size: 12.5px; }
	.card-badges { top: 8px; inset-inline-start: 8px; max-width: calc(100% - 16px); }
	.badge-new, .woocommerce .card-badges .onsale { font-size: 11px; padding: 2px 8px; }
	.woocommerce ul.products li.product h2.woocommerce-loop-product__title { font-size: 14px; }
	.woocommerce ul.products li.product span.price { font-size: 16px; }
	.woocommerce ul.products li.product a.card-btn { font-size: 13px; padding: 0 8px; gap: 5px; }
	.woocommerce ul.products li.product a.card-btn .icon { width: 16px; height: 16px; }
	.card-sizes { font-size: 11.5px; }
	.size-finder-row { flex-direction: column; align-items: stretch; }
	.size-finder input { width: 100%; }
	.size-finder output { flex: none; }
	.hero-chip { font-size: 12.5px; padding: 5px 12px; }
}

/* ---------- Larger screens ---------- */
@media (min-width: 600px) {
	:root { --gutter: 24px; }
	.rail { grid-auto-columns: 18%; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 18px; }
	.hero-actions .btn { flex: 0 0 auto; }
	.announce .announce-side { display: flex; gap: 18px; }
	.collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.collection-card:first-child { grid-column: 1 / -1; }
	.collection-card { min-height: 260px; }
	.trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.band-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
	.shop-filter-form { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; }
	.woocommerce .woocommerce-ordering select { width: auto; }
	.shop-wrap .woocommerce-result-count { float: right !important; margin-top: 12px; }
	[dir="rtl"] .shop-wrap .woocommerce-ordering { float: left !important; }
	[dir="ltr"] .shop-wrap .woocommerce-result-count { float: left !important; }
	[dir="ltr"] .shop-wrap .woocommerce-ordering { float: right !important; }
	.shop-wrap ul.products { clear: both; }
	.shop-head.has-photo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 24px; }
	.woocommerce div.product div.images { margin-inline: 0 !important; }
	.woocommerce div.product div.images img { border-radius: 18px; }
	.woocommerce div.product div.images .flex-control-thumbs { padding-inline: 0; }
	.size-dialog { padding: 28px; }
	.look-items { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 760px) {
	.hero-stage { padding-block: 28px 26px; }
	.hero-slide { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; }
	.hero-copy { order: 0; }
	.hero-media { order: 0; }
	.hero-controls { justify-content: flex-start; margin-top: 10px; }
	.deal-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; }
	.size-strip-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 28px; }
	.look-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
	.contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 28px; }
	.contact-card, .contact-form { padding: 30px; }
	.size-page-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; }
	.measure-card { position: sticky; top: calc(var(--header-h) + 20px); }
}

@media (min-width: 960px) {
	.section { padding-block: 64px; }
	.section-follow { padding-top: 8px; }
	.section-head { margin-bottom: 24px; }
	.section-head h2 { font-size: 32px; }
	.rail { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; gap: 22px; }
	.cat-name { font-size: 16px; }
	.collection-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
	.collection-card:first-child { grid-column: auto; }
	.collection-card { min-height: 360px; }
	.collection-title { font-size: 25px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 22px; }
	.deal { padding-block: 56px; }
	.cd-num { font-size: 36px; }
	.cta-inner { grid-template-columns: minmax(0, 1fr) auto; }
	.woocommerce div.product { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 12px; }
	.woocommerce div.product div.summary { position: sticky; top: calc(var(--header-h) + 24px); }
	.footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.3fr); gap: 40px; padding-bottom: 40px; }
	.footer-col { border: 0; }
	.footer-col summary { pointer-events: none; min-height: 0; padding: 0 0 12px; }
	.footer-col summary::after { display: none; }
	.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { display: grid; }
	.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
}

/* A mouse: the card's second photo on hover, a gentle zoom without one. */
@media (min-width: 960px) and (hover: hover) {
	.woocommerce ul.products li.product:hover .card-media.has-alt .card-alt { opacity: 1; }
	.woocommerce ul.products li.product:hover .card-media.has-alt .card-img { opacity: 0; }
	.woocommerce ul.products li.product:hover .card-media:not(.has-alt) .card-img { transform: scale(1.04); }
}

/* The header becomes the desktop one when the menu fits. */
@media (min-width: 1024px) {
	:root { --header-h: 74px; }
	body, body.single-product { padding-bottom: 0; }
	.only-mobile { display: none !important; }
	.main-nav.only-desktop { display: block !important; }
	.icon-btn.only-desktop { display: inline-grid !important; }
	.admin-bar .site-header { top: 32px; }
	.header-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; }
	.brand { justify-self: start; }
	.main-nav { justify-self: center; }
	.toast, body.single-product .toast { bottom: 24px; }
	.hero-title { font-size: clamp(48px, 5vw, 76px); }
	.hero-lead { font-size: 17.5px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.main-nav .nav-list a { padding-inline: 10px; font-size: 15px; }
	.main-nav .menu-item-has-children > a { padding-inline-end: 24px; }
	.main-nav .menu-item-has-children > a::before { inset-inline-end: 9px; }
	.main-nav .nav-list > li > a::after { inset-inline: 10px; }
	.mega-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 28px; }
	.main-nav .mega-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
	.header-actions .lang-btn { min-width: 40px; padding: 0 8px; margin-inline-end: 2px; }
}

@media (max-width: 380px) {
	.brand-name { font-size: 23px; }
	.brand-mark { width: 30px; height: 30px; }
	.brand { gap: 8px; }
	.brand-alt { letter-spacing: .2em; font-size: 9.5px; }
	html[lang^="en"] .brand-name { font-size: 18px; letter-spacing: .06em; }
	.woocommerce ul.products, .woocommerce-page ul.products { gap: 22px 10px; }
	.cd-num { font-size: 26px; }
}

/* Touch screens: every control is at least 44px (only sizes here: nothing hidden elsewhere is shown again). */
@media (pointer: coarse) {
	.lang-btn { height: 44px; min-width: 44px; }
	.chip, .link-more, .tab-btn, .woocommerce-account .woocommerce-MyAccount-navigation li a { min-height: 44px; }
	.demo-bar-close { width: 44px; height: 44px; }
	.size-guide-link { min-height: 44px; }
	.footer-col li a, .footer-legal a, .demo-bar a, .breadcrumb a, .announce-side a { min-height: 44px; display: inline-flex; align-items: center; }
	.footer-col ul { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.marquee { overflow-x: auto; scrollbar-width: none; }
	.marquee-group:last-child { display: none; }
	.cat-circle:hover .cat-img img, .collection-card:hover img, .band-item:hover img, .hotspot:hover, .hotspot:focus-visible { transform: none; }
	.woocommerce ul.products li.product:hover .card-media .card-img { transform: none; }
}

/* English pages: the headline fits. */
html[lang^="en"] .hero-title { font-size: clamp(32px, 9vw, 70px); }
