/*
Theme Name: Tiraz
Theme URI: https://seifweb.com
Author: SeifWeb
Author URI: https://seifweb.com
Description: متجر أزياء رجالية على WooCommerce: قمصان وتيشيرتات وبناطيل وجاكيتات وكتان صيفي وإكسسوارات بالمقاسات والألوان، مع دليل مقاسات وفلاتر وتوصيل في الإمارات. عربي أولًا ومصمَّم للهاتف. A menswear store for WooCommerce — shirts, trousers, jackets, summer linen and accessories in sizes and colours, with a size guide, filters and UAE delivery — 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: tiraz
Tags: e-commerce, rtl-language-support, custom-logo, custom-menu
*/

/* ---------- Tokens ---------- */
:root {
	--white: #ffffff;
	--stone: #ecebe7;
	--stone-2: #e2e0da;
	--ink: #141414;
	--ink-2: #3a3a3a;
	--muted: #5c5c5c;
	--line: #e3e1dc;
	--line-2: #cfccc4;
	--navy: #14213d;
	--navy-2: #1d2d52;
	--on-navy: #c9cfdc;
	--on-navy-2: #9aa3b5;
	--amber: #b7791f;
	--ok: #1f6b45;
	--danger: #a8261d;
	--shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 16px 40px rgba(20, 33, 61, .10);
	--font: "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--display: "Cairo", "Noto Sans Arabic", system-ui, "Segoe UI", sans-serif;
	--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(--white);
	-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(--navy); }
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(--navy); outline-offset: 2px; }
.site-footer :focus-visible, .announce :focus-visible, .demo-bar :focus-visible, .trust :focus-visible, .toast :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(--navy); color: #fff; padding: 10px 16px; }
.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; }
.label-latin { display: inline-block; font-family: var(--display); font-size: 11.5px; font-weight: 700; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); direction: ltr; unicode-bidi: isolate; }

/* ---------- 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 28px; border: 1px solid var(--navy); border-radius: 0;
	font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: 0; text-align: center;
	cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
	background: var(--navy); color: #fff; text-decoration: none;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--stone); border-color: var(--stone); color: var(--ink); }
.btn-block { width: 100%; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce button.single_add_to_cart_button { background: var(--navy); border-color: var(--navy); color: #fff; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce button.single_add_to_cart_button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
/* 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(--navy) !important; border-color: var(--navy) !important; color: #fff !important; opacity: .45; cursor: not-allowed;
}
.icon-btn { display: inline-grid; place-items: center; position: relative; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--stone); 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: 4px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-family: var(--display); 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: .06em; }
.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-family: var(--display); font-weight: 700; font-size: 14.5px; white-space: nowrap; color: var(--ink); border-bottom: 1px solid transparent; }
.link-more:hover { color: var(--navy); }
.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(--ink); 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: var(--on-navy); }
.demo-bar-close { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; background: none; color: #fff; cursor: pointer; }
.demo-bar-close:hover { background: rgba(255, 255, 255, .14); }
.demo-bar-close .icon { width: 18px; height: 18px; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--navy); color: #fff; font-size: 13px; }
.announce-inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: 36px; }
.announce-item { grid-area: 1 / 1; 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; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.announce-item.is-on { opacity: 1; visibility: visible; }
.announce-item .icon { width: 16px; height: 16px; color: var(--on-navy); }
.announce-item span { min-width: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 33, 61, .07); }
.admin-bar .site-header { top: 46px; }
.header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 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); }
.brand:hover { color: var(--ink); }
.brand-logo { max-height: 42px; width: auto; }
.brand-mark { width: 30px; height: 30px; flex: none; color: var(--navy); }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.05; white-space: nowrap; }
.brand-sub { font-family: var(--display); font-weight: 700; font-size: 9.5px; line-height: 1.2; margin-top: 3px; color: var(--muted); white-space: nowrap; }
html[lang^="ar"] .brand-sub { letter-spacing: .42em; text-transform: uppercase; }
html[lang^="en"] .brand-name { text-transform: uppercase; letter-spacing: .16em; font-size: 20px; }
html[lang^="en"] .brand-sub { font-size: 11px; }
.header-actions { display: flex; align-items: center; justify-self: end; }
.tiraz-cart-count { position: absolute; top: 5px; inset-inline-end: 3px; min-width: 17px; height: 17px; padding: 0 4px; background: var(--navy); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; font-family: var(--font); }
.tiraz-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; align-items: center; gap: 2px; }
.main-nav .nav-list > li { position: relative; display: flex; align-items: center; }
.main-nav .nav-list > li.has-mega { position: static; }
.main-nav .nav-list > li > a { position: relative; display: block; padding: 22px 12px; font-family: var(--display); font-weight: 700; 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: 12px; bottom: 14px; height: 2px; background: var(--navy); transform: scaleX(0); transition: transform .2s var(--ease); }
.main-nav .nav-list > li:hover > a::after, .main-nav .nav-list > li.is-open > a::after, .main-nav .current-menu-item > a::after, .main-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.mega-toggle { display: inline-grid; place-items: center; width: 24px; height: 32px; margin-inline-start: -10px; margin-inline-end: 4px; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.mega-toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.has-mega.is-open .mega-toggle .icon { transform: rotate(180deg); }

/* The "Shop" panel of the desktop menu */
.mega { position: absolute; inset-inline: 0; top: 100%; z-index: 5; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(20, 33, 61, .08); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega.is-closed .mega { opacity: 0; visibility: hidden; }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1fr); gap: 40px; padding-block: 28px 32px; }
.mega-title { margin: 0 0 12px; font-family: var(--display); font-weight: 700; 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: 6px 24px; }
.mega-cats a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 0; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mega-cats a:hover { color: var(--navy); }
.mega-thumb { display: block; width: 52px; height: 52px; background: var(--stone); overflow: hidden; }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-name { min-width: 0; }
.mega-count { font-family: var(--font); font-weight: 500; font-size: 12.5px; color: var(--muted); }
.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(--navy); text-decoration: underline; text-underline-offset: 4px; }
.mega-promo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--stone); color: var(--ink); min-height: 220px; overflow: hidden; }
.mega-promo img { grid-area: 1 / 1; width: 100%; height: 100%; max-height: 300px; object-fit: cover; }
.mega-promo-text { grid-area: 1 / 1; align-self: end; justify-self: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; margin: 14px; padding: 14px 16px; background: #fff; max-width: calc(100% - 28px); }
.mega-promo-text strong { font-family: var(--display); font-size: 18px; line-height: 1.35; }
.mega-promo-link { font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Search form ---------- */
.search-form { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line-2); padding: 4px; padding-inline-start: 14px; max-width: 680px; margin-inline: auto; }
.search-form:focus-within { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.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 20px; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(20, 33, 61, .5); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(88vw, 380px); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s 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; 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: 700; font-size: 13px; color: var(--muted); }
.drawer-cats { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
.drawer-cats li { position: relative; min-width: 0; }
.drawer-cats a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; font-family: var(--display); font-weight: 700; font-size: 12.5px; line-height: 1.35; text-align: center; color: var(--ink); }
.drawer-thumb { display: block; aspect-ratio: 1 / 1; background: var(--stone); 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: 700; font-size: 16.5px; }
.drawer-list .sub-menu { list-style: none; padding-inline-start: 14px; margin: 0; }
.drawer-list .sub-menu a { font-size: 15px; font-weight: 600; 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 slider ---------- */
.hero { background: var(--stone); overflow: hidden; }
.hero-slides { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 0 22px; }
.hero-media { order: -1; margin-inline: calc(var(--gutter) * -1); background: var(--stone-2); }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.hero-text { min-width: 0; }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink-2); }
.hero-kicker .label-latin { padding-inline-end: 12px; border-inline-end: 1px solid var(--line-2); }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 8.6vw, 64px); line-height: 1.2; margin: 0 0 12px; color: var(--ink); max-width: 15ch; }
.hero-lead { color: var(--ink-2); font-size: 15.5px; max-width: 46ch; margin-bottom: 16px; }
.hero-piece { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 18px; padding-block: 12px; border-block: 1px solid var(--line-2); color: var(--ink); }
.hero-piece:hover { color: var(--ink); }
.hero-piece-name { font-weight: 600; font-size: 15px; }
.hero-piece-price { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); }
.hero-piece-price del { font-size: 15px; font-weight: 600; color: var(--muted); opacity: 1; }
.hero-piece-price ins { text-decoration: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.hero-controls { display: flex; align-items: center; gap: 6px; padding-block: 0 20px; }
.hero-arrow, .hero-pause { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0; 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 { width: 18px; height: 18px; }
[dir="ltr"] .hero-arrow .icon { transform: scaleX(-1); }
.hero-pause { display: inline-flex; gap: 8px; margin-inline-start: auto; padding-inline: 12px; font-size: 12.5px; font-weight: 600; }
.pause-mark { width: 9px; height: 11px; border-inline: 3px solid currentColor; }
.hero-pause[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.hero-pause[aria-pressed="true"] .pause-mark { width: 0; height: 0; border-inline: 0; border-block: 6px solid transparent; border-left: 10px solid currentColor; }
.hero-dots { display: flex; align-items: center; }
.hero-dot { position: relative; width: 36px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dot::before { content: ""; position: absolute; inset-inline: 8px; top: 19px; height: 2px; background: var(--line-2); transition: background-color .2s; }
.hero-dot[aria-current="true"]::before { background: var(--navy); height: 3px; top: 18px; }

/* ---------- Sections ---------- */
.section { padding-block: 44px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head > div { min-width: 0; }
.section-head h2 { font-size: clamp(23px, 5.6vw, 36px); font-weight: 800; margin: 2px 0 0; }
.section-head.is-center { justify-content: center; text-align: center; }

/* Categories mosaic */
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; overflow: hidden; background: var(--stone); color: var(--ink); }
.tile-1, .tile-6 { grid-column: 1 / -1; }
.tile-img { grid-area: 1 / 1; display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.tile-1 .tile-img, .tile-6 .tile-img { aspect-ratio: 16 / 10; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-text { grid-area: 1 / 1; align-self: end; justify-self: start; display: grid; grid-template-columns: minmax(0, 1fr); margin: 8px; padding: 8px 12px; background: #fff; max-width: calc(100% - 16px); }
.tile-name { font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1.35; }
.tile-count { font-size: 12px; color: var(--muted); }
.tile:hover .tile-name { color: var(--navy); }

/* Product tabs */
.tabs-section { background: #fff; }
.edit-tabs { display: flex; justify-content: center; gap: 4px 22px; margin: -4px 0 24px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.edit-tabs::-webkit-scrollbar { display: none; }
.edit-tab { position: relative; flex: none; min-height: 46px; padding: 0 2px; border: 0; background: none; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--muted); cursor: pointer; }
.edit-tab::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--navy); transform: scaleX(0); transition: transform .2s var(--ease); }
.edit-tab[aria-selected="true"] { color: var(--ink); }
.edit-tab[aria-selected="true"]::after { transform: scaleX(1); }
.edit-tab:hover { color: var(--ink); }
.panel-more { text-align: center; margin: 28px 0 0; }

/* Collection banners */
.edits { padding-top: 8px; }
.edits-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.edit-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; background: var(--stone); color: var(--ink); overflow: hidden; }
.edit-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.edit-card:hover img { transform: scale(1.03); }
.edit-text { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px 18px 20px; background: #fff; border: 1px solid var(--line); border-top: 0; }
.edit-title { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 5vw, 32px); line-height: 1.25; }
.edit-lead { color: var(--ink-2); font-size: 15px; }
.edit-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 14.5px; }
.edit-link .icon { width: 18px; height: 18px; }
[dir="ltr"] .edit-link .icon { transform: scaleX(-1); }
.edit-card:hover .edit-title, .edit-card:hover .edit-link { color: var(--navy); }

/* Shop the look */
.look { background: var(--stone); }
.look-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; }
.look-media { position: relative; min-width: 0; background: var(--stone-2); }
.look-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.look-pin { position: absolute; display: grid; place-items: center; width: 34px; height: 34px; margin: -17px 0 0 -17px; background: #fff; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 14px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .35); transition: transform .2s var(--ease); }
.look-pin:hover { transform: scale(1.1); color: var(--navy); }
/* the pins sit on the photo itself (shirt, trousers, belt), so they use physical positions in both directions */
.pin-1 { top: 6%; left: 63%; }
.pin-2 { top: 50%; left: 46%; }
.pin-3 { top: 14%; left: 44%; }
.look-text { min-width: 0; }
.look-text h2 { font-size: clamp(23px, 5.6vw, 36px); font-weight: 800; margin: 4px 0 8px; }
.look-text > p { color: var(--ink-2); max-width: 46ch; }
.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; background: #fff; color: var(--ink); border: 1px solid transparent; }
.look-item:hover { border-color: var(--ink); color: var(--ink); }
.look-num { display: grid; place-items: center; width: 26px; height: 26px; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; font-size: 13px; }
.look-thumb { display: block; width: 64px; height: 80px; background: var(--stone); 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-family: var(--display); font-weight: 800; font-size: 15px; }
.look-price del { color: var(--muted); font-weight: 600; font-size: 13px; }
.look-price ins { text-decoration: none; }
.look-go { font-size: 12.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; 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-family: var(--display); font-weight: 800; font-size: 22px; }

/* Marquee */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); background: #fff; padding-block: 18px; }
.marquee-track { display: flex; width: max-content; animation: trz-marquee 40s linear infinite; }
.marquee-group { display: flex; align-items: center; }
.marquee-word { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 5vw, 44px); line-height: 1.3; padding-inline: 18px; color: var(--ink); }
@supports (-webkit-text-stroke: 1px black) {
	.marquee-word.is-outline { color: transparent; -webkit-text-stroke: 1px var(--ink); }
}
.marquee-sep { flex: none; width: 10px; height: 10px; background: var(--amber); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes trz-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: trz-marquee-rtl; }
@keyframes trz-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* Trust bar */
.trust { background: var(--navy); color: var(--on-navy); padding-block: 26px; }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.trust-item { display: flex; gap: 10px; align-items: flex-start; min-width: 0; font-size: 13px; line-height: 1.55; }
.trust-item:last-child { grid-column: 1 / -1; }
.trust-item .icon { width: 26px; height: 26px; color: #fff; margin-top: 2px; }
.trust-item span { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.trust-item strong { font-family: var(--display); font-weight: 800; font-size: 15px; color: #fff; }
.trust-item.is-lead .icon { color: var(--amber); }

/* 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: 20px; border: 1px solid var(--line); background: #fff; color: var(--ink); min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.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(--amber); fill: var(--amber); }
.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; background: var(--stone); color: var(--navy); 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: 800; font-size: 15px; }
.review-who span { font-size: 12.5px; color: var(--muted); }

/* Detail photo band */
.band { padding-block: 8px 0; }
.band-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.band-head h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; font-size: clamp(20px, 4.6vw, 28px); font-weight: 800; }
.band-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.band-grid li { position: relative; overflow: hidden; background: var(--stone); min-width: 0; }
.band-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s var(--ease); }
.band-grid li:hover img { transform: scale(1.05); }

/* ---------- Product grid (WooCommerce) ---------- */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 10px; 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: 10px; background: var(--stone); overflow: hidden; aspect-ratio: 4 / 5; }
.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 .35s ease, transform .6s var(--ease); }
.card-media .card-img-alt { position: absolute; inset: 0; opacity: 0; }
.card-cat { display: block; font-size: 12px; color: var(--muted); margin-bottom: 1px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font); font-size: 14.5px; font-weight: 500; line-height: 1.5; padding: 0; margin: 0 0 4px; color: var(--ink); }
.woocommerce ul.products li.product .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 15.5px; margin: 0; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 600; font-size: 13px; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--ink); }
.card-badges { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; 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 8px; line-height: 1.6; border-radius: 0;
	background: var(--amber); color: var(--ink); font-size: 12px; font-weight: 700; font-family: var(--display); direction: ltr;
}
.badge-new { display: inline-block; padding: 2px 8px; background: var(--navy); color: #fff; font-family: var(--display); font-size: 12px; font-weight: 700; line-height: 1.6; }
.card-dots { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.dot { display: inline-block; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--dot, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.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: 12px; padding: 0 10px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1.25; text-align: center; transition: background-color .2s, color .2s, border-color .2s; }
.card-btn .icon { width: 18px; height: 18px; }
.card-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.card-btn.loading { opacity: .6; pointer-events: none; }
.card-btn.added { background: var(--ok); border-color: var(--ok); color: #fff; }
.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-wrap.is-listing { padding-top: 0; }
.shop-head { display: grid; grid-template-columns: minmax(0, 1fr); margin-inline: calc(var(--gutter) * -1); margin-bottom: 18px; background: var(--stone); }
.shop-head-img { order: -1; background: var(--stone-2); }
.shop-head-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.shop-head-text { padding: 16px var(--gutter) 20px; min-width: 0; }
.shop-head h1 { font-size: clamp(26px, 7vw, 44px); font-weight: 800; 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; font-size: 13px; font-weight: 600; color: var(--muted); }
.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(--navy); text-decoration: underline; }
.breadcrumb .sep { margin-inline: 6px; opacity: .6; }
.cat-circles { margin: 0 calc(var(--gutter) * -1) 10px; }
.cat-circles ul { list-style: none; margin: 0; padding: 4px var(--gutter) 6px; display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.cat-circles ul::-webkit-scrollbar { display: none; }
.cat-circles li { position: relative; flex: none; }
.cat-circle { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 6px; width: 76px; text-align: center; color: var(--ink-2); }
.cat-circle-img { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; overflow: hidden; background: var(--stone); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.cat-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-circle-img.is-all .icon { width: 24px; height: 24px; color: var(--navy); }
.cat-circle-name { font-family: var(--display); font-weight: 700; font-size: 12.5px; line-height: 1.35; }
.cat-circle:hover .cat-circle-img { box-shadow: 0 0 0 2px var(--ink); }
.cat-circle.is-active { color: var(--ink); }
.cat-circle.is-active .cat-circle-img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--navy); }
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-block: 10px; border-block: 1px solid var(--line); margin-bottom: 0; }
.filter-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 14px; cursor: pointer; }
.filter-toggle .icon { width: 19px; height: 19px; }
.filter-toggle[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; background: var(--amber); color: var(--ink); 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: 0;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 14px center / 18px; font-size: 14px; cursor: pointer; width: 100%;
}
[dir="ltr"] .woocommerce .woocommerce-ordering select { background-position: right 14px center; }
.filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; margin-top: 12px; background: var(--stone); }
.filter-group { min-width: 0; }
.filter-title { margin: 0 0 8px; font-family: var(--display); font-weight: 800; 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); background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-chip.is-active .dot { box-shadow: 0 0 0 2px #fff; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; }
.active-label { font-weight: 700; }
.active-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; background: var(--stone); color: var(--ink); font-weight: 600; }
.active-chip .icon { width: 14px; height: 14px; }
.active-chip:hover { background: var(--navy); color: #fff; }
.clear-filters { font-weight: 700; 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); background: #fff; padding: 0 10px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews, p.no-comments { border: 1px solid var(--line) !important; border-radius: 0; background: var(--stone) !important; color: var(--ink) !important; padding: 14px 18px !important; margin: 0 0 18px !important; list-style: none; }
.woocommerce-message { border-color: #bcdccb !important; background: #eff7f2 !important; }
.woocommerce-error { border-color: #ecc2bd !important; background: #fbf1f0 !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: 6px; }
.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 .woocommerce-product-gallery__image { background: var(--stone); }
.woocommerce div.product div.images img { background: var(--stone); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 6px; padding-inline: var(--gutter); }
.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: 4 / 5; object-fit: cover; opacity: .55; cursor: pointer; outline: 1px solid transparent; 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; background: #fff; border-radius: 0; }
[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 10px; font-size: 13px; }
.woocommerce div.product { position: relative; }
[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: 13px; font-weight: 700; color: var(--muted); }
.summary-kicker a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.summary-kicker a:hover { color: var(--navy); }
.woocommerce div.product .product_title { font-size: clamp(24px, 6vw, 36px); font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-family: var(--display); font-size: 24px; font-weight: 800; 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: 600; 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: 15px; }
.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: 800; 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: 0; 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: 6px; }
.option-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 52px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 600; 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(--navy); border-color: var(--navy); color: #fff; }
.option-btn:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.option-btn .swatch-dot { width: 16px; height: 16px; 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: trz-shake .4s; }
form.cart.needs-option .variations label { color: var(--danger); }
@keyframes trz-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; }
.size-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 10px 0 4px; font-size: 13.5px; }
.size-guide-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.size-guide-link .icon { width: 20px; height: 20px; }
.size-fit { 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: 84px; min-height: 52px; border: 1px solid var(--line-2); border-radius: 0; text-align: center; background: #fff; font-weight: 700; }
.woocommerce div.product form.cart .button { flex: 1 1 180px; min-height: 52px; font-size: 16px; }
.alter-note { flex: 0 0 100%; display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 4px; padding: 12px 14px; background: var(--stone); font-size: 13.5px; line-height: 1.65; }
.alter-note .icon { width: 20px; height: 20px; color: var(--navy); margin-top: 2px; }
.alter-note span { min-width: 0; }
.promise { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.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(--navy); 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: 800; 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: 800; 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(--navy); }
.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: 28px; min-width: 0; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: clamp(22px, 5vw, 30px); font-weight: 800; 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: 0; background: #fff; padding: 12px 14px; min-height: 48px; font-size: 16px; }
.woocommerce form .form-row label { font-weight: 600; }

/* Size charts (page and dialog) */
.size-table { margin: 0 0 22px; min-width: 0; }
.size-table h3 { font-size: 17px; font-weight: 800; margin: 0 0 10px; }
.table-scroll { position: relative; overflow-x: auto; }
.size-table table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14px; background: #fff; }
.size-table th, .size-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.size-table thead th { background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; }
.size-table thead th .unit { font-weight: 600; font-size: 11.5px; color: var(--on-navy); }
.size-table tbody th { font-family: var(--display); font-weight: 800; background: var(--stone); }
.size-table tbody tr:hover td { background: #f7f6f3; }
.size-how ul { margin: 0; padding-inline-start: 1.2em; }
.size-how li { margin-bottom: 6px; }
.size-how h3 { font-size: 17px; font-weight: 800; }
.size-dialog { width: min(760px, calc(100% - 24px)); max-height: min(88vh, 900px); padding: 0; border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow); overflow: auto; }
.size-dialog::backdrop { background: rgba(20, 33, 61, .55); }
.size-dialog-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 20px; background: #fff; border-bottom: 1px solid var(--line); }
[dir="rtl"] .size-dialog-head { padding: 10px 20px 10px 12px; }
.size-dialog-head h2 { margin: 0; font-size: 20px; font-weight: 800; }
.size-dialog-body { padding: 16px 20px 20px; }
.size-page .size-charts { margin-top: 8px; }
.size-cta { margin-top: 24px; }

/* 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: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(20, 33, 61, .08); }
.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-family: var(--display); font-weight: 800; font-size: 16px; }
.buybar-price del { color: var(--muted); font-weight: 600; 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; background: var(--navy); 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: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.toast a:hover { color: var(--on-navy); }
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, 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; font-weight: 800; 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(--navy); 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(--navy); }
.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 { width: 100%; border-collapse: collapse; background: #fff; }
.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(--stone); font-family: var(--display); font-weight: 800; }
.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; background: var(--stone); font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.store-note span { min-width: 0; }
.store-note .icon { color: var(--navy); 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(--navy) !important; color: #fff !important; border-radius: 0 !important; min-height: 52px; font-family: var(--display); font-weight: 700; }
.wc-block-components-button:not(.is-link):hover { background: var(--ink) !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: 0 !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: 0 !important; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 0; 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); background: #fff; white-space: nowrap; font-size: 14px; text-decoration: none; color: inherit; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--navy); color: #fff; border-color: var(--navy); }
.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: 0 !important; background: #fff; 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; background: var(--stone); }
.order-next p span { min-width: 0; }
.order-next .icon { color: var(--navy); 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: 800; color: var(--navy); line-height: 1; }
.empty-state h1 { font-size: clamp(24px, 6vw, 36px); font-weight: 800; 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); background: #fff; font-size: 14px; font-weight: 600; 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; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.contact-card { padding: 22px; background: var(--navy); color: var(--on-navy); min-width: 0; }
.contact-card .brand { color: #fff; margin-bottom: 16px; }
.contact-card .brand-mark { color: #fff; }
.contact-card .brand-sub { color: var(--on-navy-2); }
.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; }
.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: 700; font-size: 13px; color: var(--on-navy-2); }
.contact-card .icon { color: #fff; width: 22px; height: 22px; margin-top: 2px; }
.contact-card a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-card .btn-light { color: var(--ink); text-decoration: none; }
.contact-card .btn-light:hover { color: var(--ink); }
.contact-card .contact-hint { margin: 14px 0 0; font-size: 13.5px; color: var(--on-navy); }
.contact-form { padding: 22px; border: 1px solid var(--line); 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; border-radius: 0 !important; }
.swst-contact .swst-submit { font-family: var(--display) !important; border-radius: 0 !important; background: var(--navy) !important; color: #fff !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(--navy); color: var(--on-navy); padding-top: 40px; font-size: 14px; margin-top: 48px; }
.site-footer a { color: #e3e7ee; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .brand { color: #fff; justify-self: start; }
.site-footer .brand:hover { text-decoration: none; }
.site-footer .brand-mark { color: #fff; }
.site-footer .brand-sub { color: var(--on-navy-2); }
.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: var(--on-navy); max-width: 400px; }
.footer-perks { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-perks li { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 13.5px; }
.footer-perks .icon { width: 18px; height: 18px; color: var(--amber); }
.footer-col { border-top: 1px solid rgba(255, 255, 255, .12); 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: 800; font-size: 15px; color: #fff; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--on-navy-2); }
.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: var(--on-navy); 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: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); }
.socials a:hover { background: var(--navy-2); }
.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, .12); padding-block: 16px; font-size: 12.5px; color: var(--on-navy); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.site-footer .footer-legal a { color: #e3e7ee; }
.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: #fff; 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: 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(--navy); }
.tab-icon { position: relative; display: inline-grid; }
.tabbar .tiraz-cart-count { top: -6px; inset-inline-end: -10px; }

/* ---------- Phones ---------- */
@media (max-width: 599px) {
	/* phones: the pause button keeps only its mark (its label stays for screen readers) */
	.hero-pause .pause-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
	.hero-pause { position: relative; padding-inline: 0; min-width: 40px; }
	.demo-bar { font-size: 12px; }
	.demo-bar-inner { flex-wrap: wrap; }
	.card-badges { top: 6px; inset-inline-start: 6px; }
	.woocommerce .card-badges .onsale, .badge-new { font-size: 11px; padding: 1px 6px; }
	.card-btn { font-size: 13px; }
	.look-item { grid-template-columns: auto 56px minmax(0, 1fr); }
	.look-thumb { width: 56px; height: 70px; }
	.look-go { grid-column: 3; justify-self: 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 16px; }
	.woocommerce .woocommerce-ordering select { width: auto; }
	.shop-bar .woocommerce-ordering { flex: 0 0 auto; }
	.mosaic { gap: 12px; }
	.tile-text { margin: 12px; padding: 10px 14px; }
	.tile-name { font-size: 17px; }
	.edits-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:last-child { grid-column: auto; }
	.filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce div.product div.images { margin-inline: 0 !important; }
	.woocommerce div.product div.images .flex-control-thumbs { padding-inline: 0; }
	.shop-head { margin-inline: 0; }
	.cat-circles { margin-inline: 0; }
	.cat-circles ul { padding-inline: 0; }
}

@media (min-width: 760px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 40px; padding-block: 40px 28px; min-height: min(78vh, 640px); }
	.hero-media { order: 0; margin-inline: 0; }
	.hero-media img { aspect-ratio: 1 / 1; max-height: 600px; }
	.hero-controls { padding-block: 0 26px; }
	.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: 260px; max-height: 340px; }
	.shop-head-text { align-self: center; padding: 28px 32px; }
	.band-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
	.section { padding-block: 72px; }
	.section-head { margin-bottom: 26px; }
	.mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 270px)); gap: 14px; }
	.tile-1 { grid-column: 1; grid-row: 1 / span 2; }
	.tile-2 { grid-column: 2; grid-row: 1; }
	.tile-3 { grid-column: 2; grid-row: 2; }
	.tile-4 { grid-column: 3; grid-row: 1; }
	.tile-5 { grid-column: 3; grid-row: 2; }
	.tile-6 { grid-column: 4; grid-row: 1 / span 2; }
	.tabs-section { padding-top: 24px; }
	.tile-img, .tile-1 .tile-img, .tile-6 .tile-img { aspect-ratio: auto; height: 100%; }
	.tile-1 .tile-name, .tile-6 .tile-name { font-size: 20px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 22px; }
	.edits-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
	.edit-card img { height: 100%; aspect-ratio: auto; min-height: 520px; max-height: 600px; }
	.edit-text { position: absolute; bottom: 24px; inset-inline-start: 24px; max-width: min(400px, calc(100% - 48px)); padding: 22px 24px; border: 0; }
	.trust-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
	.trust { padding-block: 34px; }
	.filters { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 20px 22px; }
	.woocommerce div.product { grid-template-columns: minmax(0, 1.2fr) 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 { display: flex; justify-content: center; gap: 8px 44px; }
	.announce-item { opacity: 1; visibility: visible; transition: none; }
	.cat-circles ul { justify-content: center; gap: 22px; }
	.cat-circle { width: 92px; }
	.cat-circle-img { width: 80px; height: 80px; }
}

@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.03); }
}

/* The header becomes the desktop one when the menu fits. */
@media (min-width: 1024px) {
	:root { --header-h: 72px; }
	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; }
}

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

@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 8px; margin-inline-end: 0; }
}

@media (max-width: 380px) {
	.brand-name { font-size: 21px; }
	.brand-mark { width: 26px; height: 26px; }
	.brand-sub { font-size: 8.5px; }
	html[lang^="ar"] .brand-sub { letter-spacing: .32em; }
	html[lang^="en"] .brand-name { font-size: 17px; letter-spacing: .1em; }
	.woocommerce ul.products, .woocommerce-page ul.products { gap: 24px 8px; }
	.hero-piece-price { font-size: 20px; }
}

/* 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, .woocommerce-account .woocommerce-MyAccount-navigation li a { min-height: 44px; }
	.hero-arrow, .hero-pause { min-width: 44px; height: 44px; }
	.hero-dot { height: 44px; }
	.hero-dot::before { top: 21px; }
	.hero-dot[aria-current="true"]::before { top: 20px; }
	.demo-bar-close { width: 44px; height: 44px; }
	.active-chip { min-height: 44px; }
	.mega-toggle { width: 32px; height: 44px; }
	/* links that are never hidden by any rule, 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; }
	.size-guide-link { 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; }
	.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, .edit-card:hover img, .band-grid li:hover img, .woocommerce ul.products li.product:hover .card-media .card-img:not(.card-img-alt) { transform: none; }
	.link-more:hover .icon { transform: none; }
	[dir="ltr"] .link-more:hover .icon { transform: scaleX(-1); }
}

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