/*
Theme Name: Souq
Theme URI: https://seifweb.com
Author: SeifWeb
Author URI: https://seifweb.com
Description: متجر إلكتروني محايد على WooCommerce يصلح نقطة بداية لأي نشاط يبيع منتجات: تصميم نظيف يقدّم المنتج أولًا، وألوان الهوية والخط والشعار ونصوص الصفحة الرئيسية وصورها وأقسامها كلها من أداة التخصيص. عربي أولًا ومصمَّم للهاتف. A neutral WooCommerce store starter for any business that sells products — product-first and re-shaped from the Customizer (brand colours, font pair, logo, home texts, images and sections). Arabic first and built for phones.
Version: 4.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: souq
Tags: e-commerce, rtl-language-support, custom-logo, custom-menu, custom-colors
*/

/* ---------- Tokens ----------
   Brand tokens (accent, dark band, fonts) are defaults only: the Customizer's values are printed right
   after this file (functions.php → soq_brand_css()). Every colour below comes from a token. */
:root {
	--accent: #1f4fd1;
	--accent-hover: #1a43b0;
	--on-accent: #ffffff;
	--on-hover: #ffffff;
	--accent-soft: #e9eefb;
	--accent-ink: #1f4fd1;
	--dark: #15171a;
	--on-dark: #ffffff;
	--dark-2: #2a2c2f;
	--dark-line: #3e4043;
	--dark-muted: #a9aaac;
	--dark-accent: #9db4ee;
	--font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
	--display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;

	--surface: #ffffff;
	--surface-2: #f5f6f7;
	--surface-3: #eceef1;
	--ink: #15171a;
	--ink-2: #3f444c;
	--muted: #5d636d;
	--line: #e4e7eb;
	--line-2: #cfd4db;
	--sale: #c42b2b;
	--on-sale: #ffffff;
	--ok: #1d7a4a;
	--danger: #b42318;
	--star: #e2a524;
	--on-image: #ffffff;
	--scrim: rgba(12, 14, 17, .82);
	--scrim-soft: rgba(12, 14, 17, 0);
	--backdrop: rgba(12, 14, 17, .5);
	--glass: rgba(255, 255, 255, .86);
	--edge: rgba(0, 0, 0, .16);
	--shadow-up: 0 -8px 24px rgba(21, 23, 26, .08);
	--shadow-sm: 0 1px 2px rgba(21, 23, 26, .06), 0 2px 8px rgba(21, 23, 26, .05);
	--shadow: 0 2px 6px rgba(21, 23, 26, .05), 0 16px 40px rgba(21, 23, 26, .09);
	--shadow-lg: 0 6px 16px rgba(21, 23, 26, .06), 0 30px 70px rgba(21, 23, 26, .14);
	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;
	--r-pill: 999px;
	--gutter: 16px;
	--header-h: 60px;
	--tabbar-h: 62px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 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.75; color: var(--ink); background: var(--surface);
	-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-ink); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; color: inherit; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 4px; }
.site-footer :focus-visible, .announce :focus-visible, .marquee :focus-visible, .toast :focus-visible, .contact-card :focus-visible { outline-color: var(--on-dark); }
.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: var(--surface); padding: 10px 16px; border-radius: var(--r-sm); }
.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; }
.eyebrow { margin: 0 0 6px; font-family: var(--display); font-size: 13.5px; font-weight: 600; color: var(--accent-ink); }

/* ---------- 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: 1px solid var(--ink); border-radius: var(--r-sm);
	font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: 0; text-align: center;
	cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
	background: var(--ink); color: var(--surface); text-decoration: none;
}
.btn .icon { width: 18px; height: 18px; }
[dir="ltr"] .btn .icon-arrow { transform: scaleX(-1); }
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--surface); }
.btn-accent, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce button.single_add_to_cart_button { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-accent:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce button.single_add_to_cart_button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-hover); }
.btn-accent:active, .card-btn:active { transform: translateY(1px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.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; border-color: var(--accent) !important; color: var(--on-accent) !important; opacity: .45; cursor: not-allowed;
}
.icon-btn { display: inline-grid; place-items: center; position: relative; width: 44px; height: 44px; border-radius: var(--r-pill); background: transparent; border: 0; cursor: pointer; color: var(--ink); transition: background-color .2s; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 36px; padding: 0 12px; margin-inline-end: 4px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 600; 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; }
.link-more { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 600; font-size: 14.5px; white-space: nowrap; color: var(--ink); }
.link-more:hover { color: var(--accent-ink); }
.link-more .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-more:hover .icon { transform: translateX(-3px); }
[dir="ltr"] .link-more .icon { transform: scaleX(-1); }
[dir="ltr"] .link-more:hover .icon { transform: scaleX(-1) translateX(-3px); }

/* ---------- Demo notice ---------- */
.demo-bar { background: var(--surface-3); color: var(--ink); 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: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.demo-bar a:hover { color: var(--accent-ink); }
.demo-bar-close { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink); cursor: pointer; }
.demo-bar-close:hover { background: var(--line); }
.demo-bar-close .icon { width: 18px; height: 18px; }
.demo-bar :focus-visible { outline-color: var(--accent-ink); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--dark); color: var(--on-dark); font-size: 13px; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 8px 24px; min-height: 38px; }
.announce-msg { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding-block: 7px; min-width: 0; text-align: center; line-height: 1.5; }
.announce-msg .icon { width: 17px; height: 17px; color: var(--dark-accent); }
.announce-msg span { min-width: 0; }
.announce .announce-links { display: none; list-style: none; margin: 0; padding: 0; align-items: center; gap: 4px 20px; }
.announce-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--dark-muted); }
.announce-links a:hover { color: var(--on-dark); }
.announce-links .icon { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.admin-bar .site-header { top: 46px; }
/* the side columns keep their buttons; a long shop name shrinks with an ellipsis instead */
.header-row { display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(0, max-content) minmax(max-content, 1fr); 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: center; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { max-height: 42px; width: auto; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-mark .mark-bg { fill: var(--accent); }
.brand-mark .mark-fg { fill: var(--on-accent); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang^="en"] .brand-name { letter-spacing: .01em; }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 2px; }
.head-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); font-weight: 600; font-size: 14.5px; color: var(--ink); white-space: nowrap; }
.head-link .icon { width: 22px; height: 22px; }
.head-link:hover { background: var(--surface-2); color: var(--ink); }
.souq-cart-count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; font-family: var(--font); box-shadow: 0 0 0 2px var(--surface); }
.souq-cart-count.is-empty { display: none; }
.header-search { border-top: 1px solid var(--line); padding-block: 12px; background: var(--surface); }
.header-find .search-form { max-width: none; }

/* The categories button, the menu and the panel (desktop) */
.header-nav { position: relative; border-top: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 22px; min-height: 52px; }
.cats-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); font-family: var(--display); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background-color .2s; }
.cats-btn:hover { background: var(--accent-hover); color: var(--on-hover); }
.cats-btn .icon { width: 19px; height: 19px; }
.cats-btn .icon-chevron { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.cats-btn[aria-expanded="true"] .icon-chevron { transform: rotate(180deg); }
.nav-list, .drawer-list { list-style: none; margin: 0; padding: 0; }
.main-nav { min-width: 0; flex: 1; }
.main-nav .nav-list { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.main-nav .nav-list > li { position: relative; }
.main-nav .nav-list > li > a { position: relative; display: block; padding: 14px 10px; font-weight: 500; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.main-nav .nav-list > li > 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: 10px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s var(--ease); }
.main-nav .nav-list > li > a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.nav-note { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.nav-note .icon { width: 18px; height: 18px; color: var(--accent-ink); }
.mega { position: absolute; inset-inline: 0; top: 100%; z-index: 5; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 0 0 var(--r-lg) var(--r-lg); animation: soq-drop .22s var(--ease); }
@keyframes soq-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .7fr) minmax(0, 1fr); gap: 36px; padding-block: 26px 30px; }
.mega-title { margin: 0 0 12px; font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--muted); }
.mega-cats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.mega-cats a { display: grid; grid-template-columns: 54px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 8px; border-radius: var(--r); color: var(--ink); transition: background-color .2s; }
.mega-cats a:hover { background: var(--surface-2); color: var(--ink); }
.mega-thumb { grid-row: 1 / span 2; display: block; width: 54px; height: 54px; border-radius: var(--r-sm); background: var(--surface-2); overflow: hidden; }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-name { align-self: end; min-width: 0; font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.4; }
.mega-count { align-self: start; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.mega-quick ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.mega-quick a { display: block; padding: 8px 0; font-weight: 500; color: var(--ink-2); }
.mega-quick a:hover { color: var(--accent-ink); }
.mega-promo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 230px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); color: var(--ink); }
.mega-promo img { grid-area: 1 / 1; width: 100%; height: 100%; max-height: 300px; object-fit: cover; transition: transform .6s var(--ease); }
.mega-promo:hover img { transform: scale(1.04); }
.mega-promo-text { grid-area: 1 / 1; align-self: end; justify-self: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 12px; padding: 12px 16px; border-radius: var(--r); background: var(--surface); color: var(--ink); max-width: calc(100% - 24px); }
.mega-promo-text strong { font-family: var(--display); font-size: 17px; line-height: 1.4; }
.mega-promo-link { font-size: 13.5px; font-weight: 600; color: var(--accent-ink); }

/* ---------- Search form ---------- */
.search-form { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; padding-inline-start: 16px; max-width: 680px; margin-inline: auto; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.search-form:focus-within { background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.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 input[type="search"]::placeholder { color: var(--muted); opacity: 1; }
.search-form .btn { min-height: 42px; padding: 0 20px; border-radius: var(--r-pill); }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: var(--backdrop); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(88vw, 380px); background: var(--surface); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s var(--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; gap: 10px; padding: 10px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow: auto; padding: 14px var(--gutter) 8px; }
.drawer-title { margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--muted); }
.drawer-cats { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
.drawer-cats li { position: relative; min-width: 0; }
.drawer-cats a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; font-weight: 600; font-size: 12.5px; line-height: 1.35; text-align: center; color: var(--ink); }
.drawer-thumb { display: block; aspect-ratio: 1 / 1; border-radius: var(--r); background: var(--surface-2); overflow: hidden; }
.drawer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drawer-list a { display: block; padding: 13px 2px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 16px; }
.drawer-list .sub-menu { list-style: none; padding-inline-start: 14px; margin: 0; }
.drawer-list .sub-menu a { font-size: 15px; font-weight: 500; color: var(--ink-2); padding-block: 11px; }
.drawer-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 14px var(--gutter); border-top: 1px solid var(--line); }
.drawer-foot > :first-child { grid-column: 1 / -1; }
.drawer-foot .btn { padding-inline: 12px; }

/* ---------- Home: hero (soft brand-coloured light, the photo and two floating cards) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--surface-2); }
.hero-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; will-change: transform; }
.glow-1 { width: 70vmax; height: 70vmax; top: -38vmax; inset-inline-end: -26vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); animation: soq-drift-a 22s ease-in-out infinite alternate; }
.glow-2 { width: 56vmax; height: 56vmax; bottom: -34vmax; inset-inline-start: -22vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 18%, transparent), transparent); animation: soq-drift-b 26s ease-in-out infinite alternate; }
.glow-3 { width: 30vmax; height: 30vmax; top: 30%; inset-inline-start: 38%; background: radial-gradient(closest-side, color-mix(in srgb, var(--surface) 90%, transparent), transparent); animation: soq-drift-c 18s ease-in-out infinite alternate; }
.hero-dots { position: absolute; inset-block: 8% 8%; inset-inline-end: 3%; width: 46%; background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1.2px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(closest-side, var(--ink), transparent); mask-image: radial-gradient(closest-side, var(--ink), transparent); opacity: .7; }
@keyframes soq-drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6%, 8%, 0) scale(1.08); } }
@keyframes soq-drift-b { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(8%, -6%, 0) scale(1.12); } }
@keyframes soq-drift-c { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-10%, -12%, 0); } }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 26px 34px; }
.hero-text { min-width: 0; animation: soq-rise .7s var(--ease) both; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 6px 14px 6px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--glass); font-size: 13.5px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: soq-pulse 2.4s ease-out infinite; }
@keyframes soq-pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
.hero-title { font-size: clamp(31px, 7.4vw, 58px); font-weight: 700; line-height: 1.22; margin: 0 0 14px; max-width: 18ch; color: var(--ink); text-wrap: balance; }
.hero-lead { color: var(--ink-2); font-size: 16px; max-width: 50ch; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.hero-actions .btn { flex: 1 1 150px; }
.hero-actions .btn-line { background: var(--glass); }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--accent-ink); }
.hero-media { position: relative; min-width: 0; animation: soq-rise .8s var(--ease) .1s both; }
.hero-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-3); box-shadow: var(--shadow-lg); }
.hero-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: var(--r); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); max-width: calc(100% - 24px); }
.float-card:hover { color: var(--ink); }
.float-deal { bottom: 12px; inset-inline-start: 12px; animation: soq-rise .8s var(--ease) .45s both, soq-bob 7s ease-in-out 1.4s infinite; }
.float-stat { top: 12px; inset-inline-end: 12px; animation: soq-rise .8s var(--ease) .6s both, soq-bob 8s ease-in-out 2s infinite reverse; }
.float-thumb { display: block; flex: none; width: 54px; height: 54px; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.float-thumb img { width: 100%; height: 100%; object-fit: cover; }
.float-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.float-icon .icon { width: 21px; height: 21px; }
.float-info { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; line-height: 1.4; }
.float-kicker { font-size: 12px; font-weight: 600; color: var(--sale); }
.float-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-sub { font-size: 12.5px; color: var(--muted); }
.float-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-weight: 700; font-size: 15px; }
.float-price del { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.float-price ins { text-decoration: none; color: var(--sale); }
@keyframes soq-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes soq-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; background: var(--dark); color: var(--on-dark); padding-block: 14px; }
.marquee-track { display: flex; width: max-content; animation: soq-marquee 42s linear infinite; }
.marquee-group { display: flex; align-items: center; }
.marquee-word { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 3.4vw, 26px); line-height: 1.4; padding-inline: 20px; }
.marquee-word.is-soft { color: var(--dark-muted); }
.marquee-sep { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--dark-accent); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes soq-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: soq-marquee-rtl; }
@keyframes soq-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding-block: 48px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head > * { min-width: 0; }
.section-head h2 { font-size: clamp(23px, 5.4vw, 34px); margin: 0; }
.can-reveal [data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.can-reveal [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(22px); }

/* Categories: a bento grid (six categories), an even grid otherwise */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); color: var(--ink); isolation: isolate; }
.tile:hover { color: var(--ink); }
.tile-img { grid-area: 1 / 1; display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.05); }
.bento.count-6 .tile-1, .bento.count-6 .tile-6, .bento.count-5 .tile-1, .bento.count-3 .tile-1 { grid-column: 1 / -1; }
.bento.count-6 .tile-1 .tile-img, .bento.count-6 .tile-6 .tile-img, .bento.count-5 .tile-1 .tile-img, .bento.count-3 .tile-1 .tile-img { aspect-ratio: 16 / 10; }
.tile-text { grid-area: 1 / 1; align-self: end; justify-self: start; display: grid; grid-template-columns: minmax(0, 1fr); margin: 10px; padding: 8px 14px; border-radius: var(--r); background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); max-width: calc(100% - 20px); line-height: 1.4; box-shadow: var(--shadow-sm); }
.tile-name { font-family: var(--display); font-weight: 700; font-size: 15px; }
.tile-count { font-size: 12.5px; color: var(--ink-2); }
.tile-go { grid-area: 1 / 1; align-self: start; justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; margin: 10px; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--ease); }
.tile-go .icon { width: 18px; height: 18px; }
[dir="ltr"] .tile-go .icon { transform: scaleX(-1); }
.tile:hover .tile-go, .tile:focus-visible .tile-go { opacity: 1; transform: none; }

/* Product tabs */
.tabs-section { padding-top: 16px; }
.section-head.is-tabs { align-items: center; }
.pick-tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.pick-tabs::-webkit-scrollbar { display: none; }
.pick-tab { position: relative; flex: none; min-height: 40px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: transparent; font-weight: 600; font-size: 14.5px; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.pick-tab:hover { color: var(--ink); }
.pick-tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-panel:focus-visible { outline-offset: 8px; }
.panel-more { text-align: center; margin: 30px 0 0; }

/* Banners */
.banners { padding-top: 8px; }
.banners-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); color: var(--on-image); isolation: isolate; }
.banner:hover { color: var(--on-image); }
.banner-img { grid-area: 1 / 1; display: block; overflow: hidden; }
.banner-img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.banner:hover .banner-img img { transform: scale(1.04); }
.banner::after { content: ""; grid-area: 1 / 1; z-index: 1; background: linear-gradient(to top, var(--scrim) 0%, var(--scrim-soft) 72%); pointer-events: none; }
.banner-text { grid-area: 1 / 1; z-index: 2; align-self: end; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 8px; padding: 22px; min-width: 0; }
.banner-kick { display: inline-block; padding: 4px 12px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 12.5px; font-weight: 600; }
.banner-title { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 5vw, 32px); line-height: 1.3; max-width: 20ch; text-shadow: 0 1px 16px var(--scrim); }
.banner-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.banner-link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.banner:hover .banner-link .icon { transform: translateX(-3px); }
[dir="ltr"] .banner-link .icon { transform: scaleX(-1); }
[dir="ltr"] .banner:hover .banner-link .icon { transform: scaleX(-1) translateX(-3px); }

/* Shop the set */
.look { background: var(--surface-2); }
.look-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
.look-media { position: relative; min-width: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-3); box-shadow: var(--shadow); }
.look-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.look-pin { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px; box-shadow: 0 0 0 6px var(--glass), var(--shadow); transition: transform .2s var(--ease); }
.look-pin:hover { transform: scale(1.12); color: var(--accent-ink); }
/* each pin's place on the photo comes from its product (left/top in percent, the same in both directions) */
.look-text { min-width: 0; }
.look-text h2 { font-size: clamp(23px, 5.4vw, 34px); margin: 0 0 8px; }
.look-lead { color: var(--ink-2); max-width: 48ch; }
.look-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.look-item { display: grid; grid-template-columns: auto 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid transparent; border-radius: var(--r); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.look-item:hover { border-color: var(--line-2); box-shadow: var(--shadow); color: var(--ink); transform: translateY(-2px); }
.look-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--surface); font-weight: 700; font-size: 13px; }
.look-thumb { display: block; width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--surface-2); overflow: hidden; }
.look-thumb img { width: 100%; height: 100%; object-fit: cover; }
.look-info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; min-width: 0; }
.look-name { font-weight: 600; font-size: 14.5px; line-height: 1.45; }
.look-price { font-weight: 700; font-size: 15px; }
.look-price del { color: var(--muted); font-weight: 500; font-size: 13px; }
.look-price ins { text-decoration: none; color: var(--sale); }
.look-go { font-size: 13px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.look-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); font-weight: 600; }
.look-total strong { font-size: 22px; }

/* Trust bar */
.trust { padding-block: 26px; border-block: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; min-width: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.trust-item:nth-child(5):last-child { grid-column: 1 / -1; }
.trust-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-ink); }
.trust-icon .icon { width: 23px; height: 23px; }
.trust-item > span:last-child { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.trust-item strong { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); }

/* Reviews */
.reviews-note { margin: 0; font-size: 13px; color: var(--muted); }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.review-card { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; transition: box-shadow .25s, transform .25s var(--ease); }
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.review-stars { display: inline-flex; gap: 2px; }
.review-star .icon { width: 17px; height: 17px; color: var(--line-2); }
.review-star.is-on .icon { color: var(--star); fill: var(--star); }
.review-card blockquote { margin: 0; }
.review-card blockquote p { margin: 0; font-size: 15.5px; line-height: 1.8; color: var(--ink); }
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--font); font-weight: 700; font-size: 1.45rem; line-height: 1; }
.review-who { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; line-height: 1.5; }
.review-who strong { font-family: var(--display); font-weight: 600; font-size: 15px; }
.review-who span { font-size: 12.5px; color: var(--muted); }

/* ---------- 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; }
.card-media { position: relative; display: block; margin-bottom: 12px; border-radius: var(--r); background: var(--surface-2); overflow: hidden; aspect-ratio: 1 / 1; isolation: isolate; }
.woocommerce ul.products li.product .card-media img, .card-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; margin: 0; border-radius: 0; transition: opacity .4s ease, transform .7s var(--ease); }
.card-media .card-img-alt { position: absolute; inset: 0; opacity: 0; }
.card-cat { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font); font-size: 15px; font-weight: 500; line-height: 1.5; padding: 0; margin: 0 0 6px; color: var(--ink); }
.woocommerce ul.products li.product a:hover .woocommerce-loop-product__title { color: var(--accent-ink); }
.woocommerce ul.products li.product .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--ink); font-weight: 700; font-size: 16px; margin: 0; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 500; font-size: 13.5px; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--sale); }
.card-badges { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; pointer-events: none; }
.woocommerce .card-badges .onsale, .woocommerce ul.products li.product .card-badges .onsale, .woocommerce span.onsale {
	position: static; margin: 0; min-width: 0; min-height: 0; padding: 2px 9px; line-height: 1.6; border-radius: var(--r-pill);
	background: var(--sale); color: var(--on-sale); font-size: 12px; font-weight: 700; font-family: var(--font); direction: ltr;
}
.badge-new, .badge-out { display: inline-block; padding: 2px 9px; border-radius: var(--r-pill); background: var(--ink); color: var(--surface); font-size: 12px; font-weight: 600; line-height: 1.6; }
.badge-out { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.card-dots { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.dot { display: inline-block; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--dot, var(--line-2)); box-shadow: inset 0 0 0 1px var(--edge); }
.dot-more { font-size: 12px; color: var(--muted); }
.card-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 14px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.25; text-align: center; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.card-btn .icon { width: 18px; height: 18px; }
.card-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.card-btn.loading { opacity: .6; pointer-events: none; }
.card-btn.added { background: var(--ok); border-color: var(--ok); color: var(--surface); }
.card-btn.loading::after, .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; }
.shop-head { display: grid; grid-template-columns: minmax(0, 1fr); margin: 14px 0 18px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.shop-head-img { order: -1; background: var(--surface-3); }
.shop-head-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.shop-head-text { padding: 16px 18px 20px; min-width: 0; }
.shop-head h1 { font-size: clamp(26px, 7vw, 42px); margin: 2px 0 6px; }
.shop-head p { color: var(--ink-2); font-size: 15px; max-width: 62ch; margin-bottom: 8px; }
.shop-head-count { display: inline-block; padding: 2px 12px; border-radius: var(--r-pill); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.breadcrumb, .woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.breadcrumb a, .woocommerce .woocommerce-breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--accent-ink); text-decoration: underline; }
.breadcrumb .sep { margin-inline: 6px; opacity: .6; }
.cat-chips { margin: 0 calc(var(--gutter) * -1) 10px; }
.cat-chips ul { list-style: none; margin: 0; padding: 4px var(--gutter) 8px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.cat-chips ul::-webkit-scrollbar { display: none; }
.cat-chips li { position: relative; flex: none; }
.cat-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 5px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: border-color .2s, background-color .2s, color .2s; }
[dir="ltr"] .cat-chip { padding: 4px 5px 4px 14px; }
.cat-chip-img { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--surface-2); flex: none; }
.cat-chip-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-chip-img.is-all .icon { width: 18px; height: 18px; color: var(--ink-2); }
.cat-chip:hover { border-color: var(--ink); color: var(--ink); }
.cat-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-block: 10px; border-block: 1px solid var(--line); }
.filter-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.filter-toggle .icon { width: 19px; height: 19px; }
.filter-toggle[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.filter-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; line-height: 1; }
.woocommerce .woocommerce-result-count, .shop-bar .woocommerce-result-count { float: none; margin: 0; font-size: 13px; color: var(--muted); flex: 1; min-width: 0; }
.woocommerce .woocommerce-ordering, .shop-bar .woocommerce-ordering { float: none; margin: 0; flex: 1 1 100%; }
.woocommerce .woocommerce-ordering select {
	appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 16px; padding-inline-end: 40px; border: 1px solid var(--line-2); border-radius: var(--r-pill);
	background-color: var(--surface); font-size: 14px; cursor: pointer; width: 100%;
	/* a chevron drawn with two gradients, in the ink token */
	background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
	background-repeat: no-repeat; background-size: 6px 6px, 6px 6px; background-position: left 14px center, left 20px center;
}
[dir="ltr"] .woocommerce .woocommerce-ordering select { background-position: right 20px center, right 14px center; }
.filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; margin-top: 12px; border-radius: var(--r); background: var(--surface-2); }
.filter-group { min-width: 0; }
.filter-title { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 14px; }
.filter-options { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; min-width: 44px; justify-content: center; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.filter-chip.is-active .dot { box-shadow: 0 0 0 2px var(--surface); }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; }
.active-label { font-weight: 600; }
.active-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink); font-weight: 500; }
.active-chip .icon { width: 14px; height: 14px; }
.active-chip:hover { background: var(--ink); color: var(--surface); }
.clear-filters { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.shop-wrap .woocommerce ul.products, .shop-wrap ul.products { margin-top: 24px !important; }
.no-results { margin-top: 8px; }
.woocommerce nav.woocommerce-pagination { margin-top: 36px; }
.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: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); padding: 0 10px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews, p.no-comments { border: 1px solid var(--line) !important; border-radius: var(--r); background: var(--surface-2) !important; color: var(--ink) !important; padding: 14px 18px !important; margin: 0 0 18px !important; list-style: none; }
.woocommerce-message { border-color: color-mix(in srgb, var(--ok) 35%, var(--surface)) !important; background: color-mix(in srgb, var(--ok) 7%, var(--surface)) !important; }
.woocommerce-error { border-color: color-mix(in srgb, var(--danger) 35%, var(--surface)) !important; background: color-mix(in srgb, var(--danger) 6%, var(--surface)) !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 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 8px; }
.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; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: var(--r-lg); overflow: hidden; }
.woocommerce div.product div.images .woocommerce-product-gallery__image, .woocommerce div.product div.images img { background: var(--surface-2); }
.woocommerce div.product div.images .flex-viewport { border-radius: var(--r-lg); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.woocommerce div.product div.images .flex-control-thumbs::before, .woocommerce div.product div.images .flex-control-thumbs::after { display: none; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; position: relative; }
.woocommerce div.product div.images .flex-control-thumbs img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-sm); opacity: .55; cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .2s; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active, .woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; outline-color: var(--ink); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); }
[dir="rtl"] .woocommerce div.product div.images .woocommerce-product-gallery__trigger { left: 12px; right: auto; }
.woocommerce div.product > span.onsale, .woocommerce div.product .images ~ span.onsale, .woocommerce-page div.product span.onsale { position: absolute; top: 12px; z-index: 3; padding: 3px 11px; font-size: 13px; }
[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: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.summary-kicker a { color: var(--accent-ink); }
.summary-kicker a:hover { text-decoration: underline; text-underline-offset: 4px; }
.woocommerce div.product .product_title { font-size: clamp(24px, 6vw, 34px); line-height: 1.3; margin-bottom: 8px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 24px; font-weight: 700; display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.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(--sale); 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: 6px; border: 0; }
.woocommerce div.product form.cart .variations tbody, .woocommerce div.product form.cart .variations tr { display: block; }
.woocommerce div.product form.cart .variations tr + tr { margin-top: 14px; }
.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; border: 0; }
.woocommerce div.product form.cart .variations label { font-family: var(--display); font-weight: 600; font-size: 14.5px; }
.woocommerce div.product form.cart .variations td.value { position: relative; margin: 8px 0 0; }
.woocommerce div.product form.cart .variations select { min-height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 0 14px; width: 100%; background: var(--surface); }
.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: 52px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-weight: 500; font-size: 14px; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.option-btn:hover { border-color: var(--ink); }
.option-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.option-btn:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.option-btn .swatch-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--dot, var(--line-2)); box-shadow: inset 0 0 0 1px var(--edge); }
.option-btn[aria-pressed="true"] .swatch-dot { box-shadow: 0 0 0 2px var(--surface); }
form.cart.needs-option .option-buttons { animation: soq-shake .4s; }
form.cart.needs-option .variations label { color: var(--danger); }
@keyframes soq-shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.woocommerce div.product form.cart .reset_variations { font-size: 13px; color: var(--muted); display: inline-block; margin-top: 8px; text-decoration: underline; }
.option-note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 4px; font-size: 13.5px; color: var(--ink-2); }
.option-note .icon { width: 19px; height: 19px; color: var(--muted); margin-top: 2px; }
.option-note span { min-width: 0; }
.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: 84px; min-height: 52px; border: 1px solid var(--line-2); border-radius: var(--r-sm); text-align: center; background: var(--surface); font-weight: 600; }
.woocommerce div.product form.cart .button { flex: 1 1 180px; min-height: 52px; font-size: 16px; }
.promise { list-style: none; padding: 14px 16px; margin: 0 0 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; border-radius: var(--r); background: var(--surface-2); }
.promise li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.promise li span { min-width: 0; }
.promise .icon { color: var(--accent-ink); width: 20px; height: 20px; margin-top: 1px; }
.product-folds { border-top: 1px solid var(--line); margin-bottom: 8px; }
.fold { border-bottom: 1px solid var(--line); }
.fold summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 15px; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.fold[open] summary .icon { transform: rotate(45deg); }
.fold-body { padding-bottom: 14px; font-size: 14.5px; color: var(--ink-2); }
.fold-body p { margin: 0 0 6px; }
.fold-body ul { margin: 0; padding-inline-start: 1.2em; }
.fold-body li { margin-bottom: 4px; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 12px; 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: 600; 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 ul, .woocommerce div.product .woocommerce-tabs .panel ol { padding-inline-start: 1.3em; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 17px; margin-top: 1em; }
.woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; margin-top: 30px; min-width: 0; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: clamp(22px, 5vw, 30px); margin-bottom: 18px; }
.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: var(--r-sm); background: var(--surface); padding: 12px 14px; min-height: 48px; font-size: 16px; }
.woocommerce form .form-row label { font-weight: 500; }

/* 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: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-up); }
.buybar-info { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); line-height: 1.35; }
.buybar-name { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-price { font-weight: 700; font-size: 16px; }
.buybar-price del { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.buybar-price ins { text-decoration: none; color: var(--sale); }
.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: var(--r); background: var(--dark); color: var(--on-dark); font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease); }
.toast.is-on { opacity: 1; transform: none; }
.toast a { color: var(--on-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.toast a:hover { color: var(--dark-accent); }
body.single-product .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

/* ---------- Pages, cart, checkout, account ---------- */
.page-wrap { padding-block: 18px 56px; }
.page-wrap.narrow, .page-wrap.is-text-page { max-width: 900px; }
.page-head { margin-bottom: 14px; }
.page-head h1 { font-size: clamp(26px, 7vw, 40px); 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.5em; }
.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(.card-btn):not(.wc-block-components-button)) { color: var(--accent-ink); 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-ink); }
.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 { color: var(--on-accent); }
.entry ul.products .card-btn.added { color: var(--surface); }
.entry figure { margin: 0 0 1.4em; max-width: 100%; overflow-x: auto; }
.entry table { width: 100%; border-collapse: collapse; background: var(--surface); }
.entry th, .entry td { padding: 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.entry thead th { background: var(--surface-2); font-family: var(--display); font-weight: 600; }
.credits-table { font-size: 14px; }
.credits-table small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.store-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 20px; border-radius: var(--r); background: var(--surface-2); font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.store-note > span, .store-note > div { min-width: 0; }
.store-note p { margin: 0 0 4px; }
.store-note ul { margin: 0; padding-inline-start: 1.2em; }
.store-note .icon { color: var(--accent-ink); 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: var(--on-accent) !important; border-radius: var(--r-sm) !important; min-height: 52px; font-family: var(--display); font-weight: 600; }
.wc-block-components-button:not(.is-link):hover { background: var(--accent-hover) !important; color: var(--on-hover) !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: var(--r-sm) !important; border-color: var(--line-2) !important; }
.wc-block-components-product-name { font-weight: 600; color: var(--ink) !important; }
.wc-block-components-product-badge { border-radius: var(--r-pill) !important; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); 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: var(--r-pill); background: var(--surface); white-space: nowrap; font-size: 14px; text-decoration: none; color: inherit; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--ink); color: var(--surface); 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: var(--r) !important; background: var(--surface); padding: 22px !important; margin: 0 0 18px !important; }
.order-next { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 22px; }
.order-next p { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); }
.order-next p span { min-width: 0; }
.order-next .icon { color: var(--accent-ink); width: 22px; height: 22px; margin-top: 2px; }
.empty-state { text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 12px; }
.empty-state .big { font-family: var(--display); font-size: clamp(72px, 22vw, 140px); font-weight: 700; color: var(--accent-ink); line-height: 1; }
.empty-state h1 { font-size: clamp(24px, 6vw, 34px); margin: 0; }
.empty-state p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.empty-state .search-form { width: 100%; }
.empty-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 100%; min-width: 0; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.post-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.post-card img, .post-cover img { margin-bottom: 10px; border-radius: var(--r); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.contact-card { padding: 22px; border-radius: var(--r-lg); background: var(--dark); color: var(--dark-muted); min-width: 0; }
.contact-card .brand { color: var(--on-dark); margin-bottom: 16px; }
.contact-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.contact-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark); }
.contact-card li > span { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; overflow-wrap: anywhere; }
.contact-card strong { font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--dark-muted); }
.contact-card .icon { color: var(--dark-accent); width: 22px; height: 22px; margin-top: 2px; }
.contact-card a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.contact-card .btn-accent { color: var(--on-accent); text-decoration: none; }
.contact-card .btn-accent:hover { color: var(--on-hover); }
.contact-card .btn-accent .icon { color: currentColor; margin-top: 0; }
.contact-card .contact-hint { margin: 14px 0 0; font-size: 13.5px; color: var(--dark-muted); }
.contact-form { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.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: var(--surface) !important; border-color: var(--line-2) !important; border-radius: var(--r-sm) !important; }
.swst-contact .swst-submit { font-family: var(--display) !important; border-radius: var(--r-sm) !important; background: var(--accent) !important; color: var(--on-accent) !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(--dark); color: var(--dark-muted); padding-top: 44px; font-size: 14px; margin-top: 56px; }
.site-footer a { color: var(--dark-muted); }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.site-footer .brand { color: var(--on-dark); justify-self: start; }
.site-footer .brand:hover { color: var(--on-dark); text-decoration: none; }
.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 16px; max-width: 400px; }
.footer-col { border-top: 1px solid var(--dark-line); 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: 600; font-size: 15px; color: var(--on-dark); }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--dark-muted); }
.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 { min-width: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--dark-accent); }
.socials { display: flex; gap: 8px; }
.socials a { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--dark-2); color: var(--on-dark); transition: background-color .2s; }
.site-footer .socials a:hover { background: var(--accent); color: var(--on-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 var(--dark-line); padding-block: 16px; font-size: 12.5px; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.pay-badge { display: inline-flex; align-items: center; gap: 6px; }
.pay-badge .icon { width: 18px; height: 18px; color: var(--dark-accent); }

/* ---------- 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: var(--glass); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a, .tabbar button { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2px; padding: 8px 0 6px; font-size: 11px; font-weight: 500; 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-ink); }
.tab-icon { position: relative; display: inline-grid; }
.tabbar .souq-cart-count { top: -6px; inset-inline-end: -10px; }

/* ---------- Phones ---------- */
@media (max-width: 599px) {
	.demo-bar { font-size: 12px; }
	.demo-bar-inner { flex-wrap: wrap; }
	.card-badges { top: 7px; inset-inline-start: 7px; }
	.woocommerce .card-badges .onsale, .badge-new, .badge-out { font-size: 11px; padding: 1px 7px; }
	.card-btn { font-size: 13px; padding-inline: 6px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
	.look-item { grid-template-columns: auto 56px minmax(0, 1fr); }
	.look-thumb { width: 56px; height: 56px; }
	.look-go { grid-column: 3; justify-self: start; }
	.float-stat .float-sub { display: none; }
	.float-card { padding: 8px 12px 8px 8px; gap: 10px; }
	.float-thumb { width: 46px; height: 46px; }
	.float-icon { width: 34px; height: 34px; }
	.float-deal { max-width: calc(100% - 24px); }
	.float-stat { max-width: 58%; }
	.section-head.is-tabs { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; }
}

/* ---------- Larger screens ---------- */
@media (min-width: 600px) {
	:root { --gutter: 24px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 18px; }
	.woocommerce .woocommerce-ordering select { width: auto; }
	.shop-bar .woocommerce-ordering { flex: 0 0 auto; }
	.bento { gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bento.count-6 .tile-1, .bento.count-6 .tile-6, .bento.count-5 .tile-1, .bento.count-3 .tile-1 { grid-column: auto; }
	.bento.count-6 .tile-1 .tile-img, .bento.count-6 .tile-6 .tile-img, .bento.count-5 .tile-1 .tile-img, .bento.count-3 .tile-1 .tile-img { aspect-ratio: 1 / 1; }
	.tile-text { margin: 14px; padding: 10px 16px; max-width: calc(100% - 28px); }
	.tile-name { font-size: 17px; }
	.banners-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.trust-item:nth-child(5):last-child { grid-column: auto; }
	.filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-chips { margin-inline: 0; }
	.cat-chips ul { padding-inline: 0; flex-wrap: wrap; overflow: visible; }
	.hero-actions .btn { flex: 0 0 auto; }
	.float-card { padding: 12px 16px 12px 12px; }
	.float-deal { bottom: 18px; inset-inline-start: 18px; max-width: 320px; }
	.float-stat { top: 18px; inset-inline-end: 18px; }
}

@media (min-width: 760px) {
	.look-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
	.contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 28px; }
	.contact-card, .contact-form { padding: 30px; }
	.shop-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; }
	.shop-head:not(.has-image) { grid-template-columns: minmax(0, 1fr); }
	.shop-head-img { order: 0; }
	.shop-head-img img { height: 100%; aspect-ratio: auto; min-height: 240px; max-height: 320px; }
	.shop-head-text { align-self: center; padding: 28px 32px; }
	.banner-img img { aspect-ratio: auto; height: 100%; min-height: 360px; }
	.banner-text { padding: 30px; }
}

@media (min-width: 960px) {
	.section { padding-block: 76px; }
	.section-head { margin-bottom: 28px; }
	.hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 56px; padding-block: 56px 64px; min-height: min(82vh, 680px); }
	.hero-frame img { aspect-ratio: 5 / 4.4; max-height: 600px; }
	.float-deal { bottom: 28px; inset-inline-start: -28px; }
	.float-stat { top: 28px; inset-inline-end: -22px; }
	.bento.count-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 260px)); gap: 16px; }
	.bento.count-6 .tile-1 { grid-column: 1; grid-row: 1 / span 2; }
	.bento.count-6 .tile-2 { grid-column: 2; grid-row: 1; }
	.bento.count-6 .tile-3 { grid-column: 2; grid-row: 2; }
	.bento.count-6 .tile-4 { grid-column: 3; grid-row: 1; }
	.bento.count-6 .tile-5 { grid-column: 3; grid-row: 2; }
	.bento.count-6 .tile-6 { grid-column: 4; grid-row: 1 / span 2; }
	.bento.count-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 250px)); gap: 16px; }
	.bento.count-5 .tile-1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
	.bento.count-6 .tile-img, .bento.count-6 .tile-1 .tile-img, .bento.count-6 .tile-6 .tile-img, .bento.count-5 .tile-img, .bento.count-5 .tile-1 .tile-img { aspect-ratio: auto; height: 100%; }
	.bento.count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bento.count-6 .tile-1 .tile-name, .bento.count-6 .tile-6 .tile-name, .bento.count-5 .tile-1 .tile-name { font-size: 20px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 22px; }
	.banners-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
	.banner-img img { min-height: 440px; max-height: 500px; }
	.banner-text { padding: 36px; gap: 10px; }
	.trust-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 22px; }
	.trust { padding-block: 32px; }
	.filters { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 20px 22px; }
	.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.35fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.25fr); 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; grid-template-columns: minmax(0, 1fr); }
	.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.announce-inner { justify-content: space-between; }
	.announce .announce-links { display: flex; }
	.reviews-grid { gap: 18px; }
}

@media (min-width: 960px) and (hover: hover) {
	.card-media.has-alt:hover .card-img-alt { opacity: 1; }
	.woocommerce ul.products li.product:hover .card-media .card-img:not(.card-img-alt) { transform: scale(1.04); }
}

/* The header becomes the desktop one (search in the header, the categories button and the menu) when it fits. */
@media (min-width: 1024px) {
	:root { --header-h: 124px; }
	body, body.single-product { padding-bottom: 0; }
	.only-mobile { display: none !important; }
	.header-find.only-desktop, .header-nav.only-desktop { display: block !important; }
	.head-link.only-desktop { display: inline-flex !important; }
	.admin-bar .site-header { top: 32px; }
	.header-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; min-height: 72px; }
	.brand { justify-self: start; }
	.header-find { width: 100%; max-width: 640px; justify-self: center; }
	.toast, body.single-product .toast { bottom: 24px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.main-nav .nav-list > li > a { padding-inline: 8px; font-size: 14.5px; }
	.main-nav .nav-list > li > a::after { inset-inline: 8px; }
	.nav-row .nav-note { display: none; }
	.mega-inner { gap: 24px; }
}

@media (min-width: 1280px) {
	:root { --gutter: 32px; }
}

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

@media (max-width: 380px) {
	.brand-name { font-size: 20px; }
	.brand-mark { width: 30px; height: 30px; }
	.brand { gap: 8px; }
	.woocommerce ul.products, .woocommerce-page ul.products { gap: 22px 10px; }
	.hero-title { font-size: 29px; }
	.float-name { font-size: 13px; }
}

/* Touch screens: every control is at least 44px (no display changes here, so nothing hidden comes back). */
@media (pointer: coarse) {
	.lang-btn { height: 44px; min-width: 44px; }
	.chip, .link-more, .filter-chip, .pick-tab, .woocommerce-account .woocommerce-MyAccount-navigation li a { min-height: 44px; }
	.demo-bar-close { width: 44px; height: 44px; }
	.active-chip { min-height: 44px; }
	.announce-links a { min-height: 44px; }
	/* links that no rule hides, so giving them a display here is safe */
	.footer-col li a, .footer-legal a, .demo-bar a, .breadcrumb a, .clear-filters, .summary-kicker a { display: inline-flex; align-items: center; min-height: 44px; }
	.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; }
	.can-reveal [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
	.marquee-track { width: auto; }
	.marquee-group { flex-wrap: wrap; justify-content: center; row-gap: 6px; white-space: normal; }
	.marquee-group + .marquee-group { display: none; }
	.tile:hover .tile-img img, .banner:hover .banner-img img, .mega-promo:hover img, .woocommerce ul.products li.product:hover .card-media .card-img:not(.card-img-alt) { transform: none; }
	.look-item:hover, .review-card:hover { transform: none; }
	.link-more:hover .icon, .banner:hover .banner-link .icon { transform: none; }
	[dir="ltr"] .link-more:hover .icon, [dir="ltr"] .banner:hover .banner-link .icon { transform: scaleX(-1); }
	.tile-go { opacity: 1; transform: none; }
}

/* English pages */
html[lang^="en"] .hero-title { max-width: 20ch; letter-spacing: -.01em; }
