/*
Theme Name: Wafra
Theme URI: https://seifweb.com
Author: SeifWeb
Author URI: https://seifweb.com
Description: متجر هايبر ماركت أونلاين على WooCommerce: بقالة ومشروبات وسناكات ومستلزمات المنزل والتنظيف والعناية والأطفال وأجهزة صغيرة، مع بحث بالأقسام وسعر للوحدة وإضافة سريعة بالكمية وحد أدنى للطلب. عربي أولًا ومصمَّم للهاتف. An online hypermarket store for WooCommerce — departments, unit prices, quick add with quantity and a minimum order — 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: wafra
Tags: e-commerce, rtl-language-support, custom-logo, custom-menu
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #111827;
	--ink-2: #374151;
	--muted: #4b5563;
	--line: #dde5df;
	--line-2: #c9d5cd;
	--bg: #ffffff;
	--panel: #f1f5f2;
	--panel-2: #e5ede7;
	--green: #15803d;
	--green-dark: #166534;
	--deep: #14532d;
	--deep-2: #0f3f22;
	--mint: #dcfce7;
	--yellow: #facc15;
	--on-deep: #e7f3eb;
	--on-deep-muted: #b9d6c4;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 10px 28px rgba(17, 24, 39, .08);
	--font: "Tajawal", "Segoe UI", Tahoma, sans-serif;
	--display: "Cairo", "Tajawal", "Segoe UI", sans-serif;
	--gutter: 16px;
	--tabbar-h: 62px;
	--sticky-top: 120px;
}

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

/* ---------- 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: 46px; padding: 0 22px; border: 1.5px solid transparent; border-radius: var(--radius-sm);
	font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: 0; text-align: center;
	cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s;
	background: var(--green); color: #fff; text-decoration: none;
}
.btn .icon, .button .icon { width: 19px; height: 19px; }
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--green-dark); color: #fff; }
.btn-accent, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce button.single_add_to_cart_button { background: var(--green); color: #fff; }
.btn-accent:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce button.single_add_to_cart_button:hover { background: var(--green-dark); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { background: #fff; color: var(--green-dark); border-color: var(--green); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--panel); color: var(--ink); }
.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(--green) !important; color: #fff !important; opacity: .5; cursor: not-allowed;
}
.icon-btn { display: inline-grid; place-items: center; position: relative; width: 44px; height: 44px; border-radius: 12px; background: transparent; border: 0; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--panel); color: var(--ink); }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1; }
.lang-btn:hover { border-color: var(--green); color: var(--green-dark); }
.lang-btn[lang="en"] { letter-spacing: .04em; }
.lang-link .icon, .lang-foot .icon, .topbar-lang .icon { width: 17px; height: 17px; }
.lang-foot, .topbar-lang { display: inline-flex; align-items: center; gap: 6px; }
.offer-tag { display: inline-block; padding: 2px 9px; border-radius: 6px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 12.5px; line-height: 1.6; }

/* ---------- Demo notice ---------- */
.demo-bar { background: var(--deep-2); 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(--yellow); }
.demo-bar-close { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.demo-bar-close:hover { background: rgba(255, 255, 255, .14); }
.demo-bar-close .icon { width: 18px; height: 18px; }

/* ---------- Delivery bar ---------- */
.topbar { background: var(--deep); color: var(--on-deep); font-size: 13px; }
.topbar-row { display: flex; align-items: center; gap: 8px 24px; min-height: 36px; }
.topbar-note { display: inline-flex; align-items: center; gap: 7px; margin: 0; min-width: 0; line-height: 1.4; }
.topbar-note .icon { width: 16px; height: 16px; color: var(--yellow); }
.topbar .is-extra, .topbar .topbar-links { display: none; }
.topbar-links { align-items: center; gap: 18px; margin-inline-start: auto; }
.topbar-links a { color: var(--on-deep); }
.topbar-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 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 22px rgba(17, 24, 39, .07); }
.header-row {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "menu brand actions" "search search search";
	align-items: center; gap: 6px 8px; padding-block: 6px 10px;
}
.menu-btn { grid-area: menu; }
.header-row > .brand { grid-area: brand; justify-self: start; }
.header-search { grid-area: search; min-width: 0; }
.header-promise { display: none; grid-area: promise; }
.header-actions { grid-area: actions; display: flex; align-items: center; gap: 4px; justify-self: end; }
.header-actions .account-btn { display: none; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { max-height: 44px; width: auto; }
.brand-mark { width: 36px; height: 36px; flex: none; color: var(--green); }
.brand-text { display: grid; line-height: 1; min-width: 0; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1.05; white-space: nowrap; }
.brand-other { font-family: var(--display); font-weight: 700; font-size: 10.5px; letter-spacing: .28em; color: var(--green-dark); margin-top: 3px; white-space: nowrap; }
.brand-other[lang="en"] { text-transform: uppercase; }
html[lang^="en"] .brand-name { text-transform: uppercase; letter-spacing: .08em; font-size: 21px; }
html[lang^="en"] .brand-other { letter-spacing: 0; font-size: 12px; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.cart-btn:hover { color: var(--ink); }
.cart-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--panel); }
.cart-btn:hover .cart-icon { background: var(--mint); }
.cart-icon .icon { width: 23px; height: 23px; }
.wafra-cart-count { position: absolute; top: -5px; inset-inline-end: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; font-family: var(--font); box-shadow: 0 0 0 2px #fff; }
.wafra-cart-count.is-empty { display: none; }
.cart-btn .cart-sum { display: none; }
.cart-sum-label { font-size: 12px; color: var(--muted); }
.wafra-cart-total { font-family: var(--display); font-weight: 800; font-size: 15px; white-space: nowrap; }

/* Product search (the header's one has a department picker) */
.wfr-search { position: relative; display: flex; align-items: stretch; min-height: 46px; background: var(--panel); border: 1.5px solid var(--line-2); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.wfr-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(21, 128, 61, .18); background: #fff; }
.wfr-search input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 14px; outline: none; font-size: 16px; text-overflow: ellipsis; }
.wfr-search input[type="search"]::placeholder { color: #5b6472; opacity: 1; }
.wfr-search .search-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; min-width: 46px; margin: 4px; padding: 0 12px; border: 0; border-radius: 9px; background: var(--green); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; cursor: pointer; }
.wfr-search .search-submit:hover { background: var(--green-dark); }
.wfr-search .search-submit .icon { width: 20px; height: 20px; }
.wfr-search .search-submit span { display: none; }
.wfr-search .search-dept { display: none; position: relative; flex: none; border-inline-end: 1px solid var(--line-2); }
.search-dept select { appearance: none; -webkit-appearance: none; height: 100%; max-width: 190px; padding-block: 0; padding-inline: 14px 34px; border: 0; background: transparent; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; text-overflow: ellipsis; }
.search-dept .icon { position: absolute; top: 50%; inset-inline-end: 10px; width: 16px; height: 16px; margin-top: -8px; color: var(--muted); pointer-events: none; }

/* The delivery promise */
.header-promise { align-items: center; gap: 10px; margin: 0; white-space: nowrap; }
.header-promise .icon { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--mint); color: var(--green-dark); }
.header-promise span { display: grid; line-height: 1.35; font-size: 12.5px; color: var(--muted); }
.header-promise strong { font-family: var(--display); font-weight: 800; font-size: 14.5px; color: var(--ink); }

/* The navigation row (desktop) and the department panel */
.header-nav { display: none; border-top: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 18px; min-height: 52px; }
.dept-menu { position: relative; flex: none; }
.dept-toggle { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border: 0; border-radius: var(--radius-sm); background: var(--green); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; cursor: pointer; }
.dept-toggle:hover { background: var(--green-dark); }
.dept-toggle .icon { width: 19px; height: 19px; }
.dept-toggle .icon-down { width: 16px; height: 16px; transition: transform .2s; }
.dept-toggle[aria-expanded="true"] .icon-down { transform: rotate(180deg); }
.dept-panel { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; z-index: 50; width: min(1100px, calc(100vw - 2 * var(--gutter))); padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.dept-panel-inner { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
.dept-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 22px; }
.dept-col { min-width: 0; }
.dept-col-head { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--ink); }
.dept-col-head .icon { width: 22px; height: 22px; color: var(--green); }
.dept-col-links { list-style: none; margin: 6px 0 0; padding: 0; padding-inline-start: 31px; display: grid; gap: 2px; }
.dept-col-links a { display: block; padding: 3px 0; font-size: 14px; color: var(--muted); }
.dept-col-links a:hover { color: var(--green-dark); }
.dept-promo { position: relative; display: flex; align-items: flex-end; min-height: 260px; border-radius: 14px; overflow: hidden; background: var(--deep); color: #fff; }
.dept-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dept-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 63, 34, .94) 0%, rgba(15, 63, 34, .55) 55%, rgba(15, 63, 34, .05) 100%); }
.dept-promo-text { position: relative; z-index: 1; display: grid; justify-items: start; gap: 6px; padding: 18px; }
.dept-promo-title { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.35; }
.dept-promo-link { font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.dept-promo:hover { color: #fff; }
.main-nav { min-width: 0; }
.nav-list, .drawer-list, .drawer-depts { list-style: none; margin: 0; padding: 0; }
.main-nav .nav-list { display: flex; flex-wrap: wrap; gap: 2px; }
.main-nav .nav-list a { position: relative; display: block; padding: 10px 12px; font-weight: 500; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.main-nav .nav-list a:hover, .main-nav .current-menu-item > a { color: var(--green-dark); }
.main-nav .nav-list a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transition: transform .2s; }
.main-nav .nav-list a:hover::after, .main-nav .current-menu-item > a::after { transform: scaleX(1); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; margin-inline-start: auto; font-size: 14px; color: var(--muted); white-space: nowrap; }
.nav-phone .icon { width: 18px; height: 18px; color: var(--green); }
.nav-phone [dir="ltr"] { font-weight: 700; color: var(--ink); }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, .5); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(88vw, 360px); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; padding-bottom: env(safe-area-inset-bottom); }
[dir="ltr"] .drawer-panel { transform: translateX(-100%); }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow: auto; padding: 6px var(--gutter) 12px; }
.drawer-title { margin: 14px 0 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.drawer-depts a { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 15.5px; }
.drawer-depts .icon { width: 22px; height: 22px; color: var(--green); }
.drawer-list a { display: flex; align-items: center; min-height: 46px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 15.5px; }
.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: departments sidebar, slider and promo tiles ---------- */
.hero-zone { padding-block: 14px 4px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.dept-side { display: none; }
.dept-side-title { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; background: var(--deep); color: #fff; font-family: var(--display); font-weight: 800; font-size: 15px; }
.dept-side-title .icon { width: 19px; height: 19px; color: var(--yellow); }
.dept-side ul { list-style: none; margin: 0; padding: 6px 0; }
.dept-side li a { display: flex; align-items: center; gap: 11px; padding: 8px 16px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.dept-side li a span { flex: 1; min-width: 0; }
.dept-side li a .icon { width: 21px; height: 21px; color: var(--green); }
.dept-side li a .icon-chevron { width: 15px; height: 15px; color: var(--muted); }
.dept-side li a:hover { background: var(--panel); color: var(--green-dark); }

.slider { position: relative; min-width: 0; border-radius: 16px; overflow: hidden; background: var(--panel); }
.slides { display: grid; grid-template-columns: minmax(0, 1fr); }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel-2); }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-text { padding: 16px 18px 66px; min-width: 0; }
.slide-kicker { margin: 0 0 4px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--green-dark); }
.slide-title { font-weight: 800; font-size: clamp(25px, 6.6vw, 42px); line-height: 1.22; margin: 0 0 8px; color: var(--ink); }
.slide-lead { color: var(--muted); font-size: 15px; max-width: 440px; margin-bottom: 16px; }
.slider-nav { position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 2; display: flex; align-items: center; gap: 6px; }
.slider-btn, .slider-pause, .rail-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.slider-btn:hover, .slider-pause:hover, .rail-btn:hover { border-color: var(--green); color: var(--green-dark); }
.slider-btn .icon, .rail-btn .icon { width: 18px; height: 18px; }
[dir="rtl"] .slider-btn:not(.is-next) .icon-chevron, [dir="rtl"] .rail-btn:not(.is-next) .icon-chevron { transform: none; }
[dir="ltr"] .slider-btn:not(.is-next) .icon-chevron, [dir="ltr"] .rail-btn:not(.is-next) .icon-chevron { transform: scaleX(-1); }
.slider-dots { display: inline-flex; align-items: center; }
.slider-dot { position: relative; width: 22px; height: 38px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider-dot::before { content: ""; position: absolute; top: 50%; inset-inline-start: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 999px; background: #9aa9a0; transition: width .2s, background .2s; }
[dir="rtl"] .slider-dot::before { margin-inline: -4.5px; }
.slider-dot[aria-current="true"]::before { background: var(--green); }
.pause-icon { position: relative; display: block; width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.slider-pause[aria-pressed="true"] .pause-icon { width: 0; height: 0; border-inline: 0; border-block: 6px solid transparent; border-inline-start: 10px solid currentColor; }
[dir="rtl"] .slider-pause[aria-pressed="true"] .pause-icon { transform: scaleX(-1); }

.promo-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.promo-tile { position: relative; display: flex; align-items: flex-end; min-height: 160px; min-width: 0; border-radius: 14px; overflow: hidden; background: var(--deep); color: #fff; }
.promo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .5s ease; }
.promo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 63, 34, .95) 0%, rgba(15, 63, 34, .6) 52%, rgba(15, 63, 34, .08) 100%); }
.promo-tile:hover { color: #fff; }
.promo-tile:hover img { scale: 1.04; }
.promo-tile-text { position: relative; z-index: 1; display: grid; justify-items: start; gap: 4px; padding: 12px; min-width: 0; }
.promo-tile-title { font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1.35; }
.promo-tile-link { font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sections ---------- */
.section { padding-block: 28px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.section-head > * { min-width: 0; }
.section-head h2 { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 21px; margin: 0; }
.section-head h2 .icon { width: 24px; height: 24px; color: var(--green); }
.section-note { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.head-tools { display: flex; align-items: center; gap: 12px; flex: none; }
.link-more { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--green-dark); }
.link-more .icon { width: 18px; height: 18px; }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.rail-nav { display: none; gap: 6px; }
.rail-btn:disabled { opacity: .35; cursor: default; }
.eyebrow { display: inline-block; font-family: var(--display); font-size: 13.5px; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.section-more { text-align: center; margin: 22px 0 0; }

/* Departments row */
.dept-section { padding-top: 22px; }
.dept-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 8px; }
.dept-row li { min-width: 0; }
.dept-card { display: grid; justify-items: center; gap: 4px; text-align: center; color: var(--ink); }
.dept-card-img { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.dept-card-img img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease; }
.dept-card-img .icon { width: 34px; height: 34px; color: var(--green); }
.dept-card:hover .dept-card-img img { scale: 1.06; }
.dept-card-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -21px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--green); box-shadow: 0 2px 6px rgba(17, 24, 39, .08); }
.dept-card-icon .icon { width: 19px; height: 19px; }
.dept-card-name { margin-top: 2px; font-family: var(--display); font-weight: 700; font-size: 13px; line-height: 1.35; }
.dept-card-count { font-size: 12px; color: var(--muted); line-height: 1.3; }

/* Weekly offers band */
.weekly { background: var(--panel); }
.weekly + .rail-section { padding-top: 32px; }

/* ---------- Product grid and cards (WooCommerce) ---------- */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 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 {
	position: relative; display: flex; flex-direction: column; width: auto !important; min-width: 0; margin: 0 !important; padding: 10px; float: none !important; clear: none !important;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: start; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.woocommerce ul.products li.product:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--panel); }
.woocommerce ul.products li.product .card-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; margin: 0; border-radius: 0; }
.woocommerce ul.products li.product .card-media .card-img-2 { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.card-badges { position: absolute; top: 8px; inset-inline-start: 8px; 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 {
	position: static; margin: 0; min-width: 0; min-height: 0; padding: 2px 8px; line-height: 1.6; border-radius: 6px;
	background: var(--yellow); color: var(--ink); font-size: 12.5px; font-weight: 800; font-family: var(--display); direction: ltr;
}
.badge-new { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--mint); color: var(--deep); font-family: var(--display); font-size: 12px; font-weight: 700; line-height: 1.6; }
.card-cat { display: block; margin-top: 9px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em;
	font-family: var(--font); font-size: 14.5px; font-weight: 500; line-height: 1.45; padding: 0; margin: 2px 0 6px; color: var(--ink);
}
.woocommerce ul.products li.product .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 16px; margin: 0; line-height: 1.4; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 500; font-size: 13px; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--deep); }
.price-from { font-family: var(--font); font-size: 12.5px; font-weight: 500; color: var(--muted); }
.unit-price { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 1px; }
.unit-price .amount { font-weight: 500; }
.card-dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.card-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--dot, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.card-buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; min-width: 0; }
.qty-step { display: flex; align-items: center; flex: 1 1 100%; min-width: 0; height: 40px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; }
.qty-btn { display: grid; place-items: center; flex: none; width: 38px; height: 100%; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm); }
.qty-btn:hover { background: var(--panel); color: var(--green-dark); }
.qty-btn .icon { width: 18px; height: 18px; }
.qty-input { flex: 1; width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; text-align: center; font-family: var(--display); font-weight: 800; font-size: 15px; -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce ul.products li.product .card-add, .woocommerce ul.products li.product .card-options { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1 1 100%; min-height: 40px; margin: 0; padding: 0 12px; font-size: 14.5px; border-radius: var(--radius-sm); }
.woocommerce ul.products li.product .card-options { background: #fff; color: var(--green-dark); border-color: var(--green); }
.woocommerce ul.products li.product .card-options:hover { background: var(--green); color: #fff; }
.woocommerce ul.products li.product .card-add.loading { opacity: .65; pointer-events: none; }
.woocommerce ul.products li.product .card-add.added { background: var(--deep); }
.woocommerce ul.products li.product .card-add.loading::after, .woocommerce ul.products li.product .card-add.added::after { display: none !important; }
.woocommerce ul.products li.product a.added_to_cart { display: none; }
.woocommerce .star-rating { display: none; }
/* A wide card puts the quantity and the add button on one line (narrow ones stack them). */
.woocommerce ul.products li.product { container-type: inline-size; }
@container (min-width: 210px) {
	.card-buy { flex-wrap: nowrap; }
	.qty-step { flex: 1 1 auto; }
	.woocommerce ul.products li.product .card-add { flex: 0 0 auto; padding: 0 14px; }
}

/* Carousels: one row that scrolls (buttons on desktop, a swipe on phones) */
.rail-products { min-width: 0; }
.rail-products .woocommerce ul.products {
	grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 10px) / 2.2); overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1) !important; padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
}
.rail-products .woocommerce ul.products::-webkit-scrollbar { display: none; }
.rail-products .woocommerce ul.products li.product { scroll-snap-align: start; }

/* ---------- Home: marquee, banners, basket, tabs, reviews, trust, photo band ---------- */
.marquee { background: var(--deep); color: #fff; overflow: hidden; white-space: nowrap; }
.marquee-track { display: flex; width: max-content; animation: wafra-marquee 42s linear infinite; }
.marquee-group { display: flex; flex: none; align-items: center; }
.marquee-word { padding-inline: 18px; font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 56px; }
.marquee-sep .brand-mark { width: 22px; height: 22px; color: var(--yellow); --mark-ink: var(--deep); }
@keyframes wafra-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: wafra-marquee-rtl; }
@keyframes wafra-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

.banner-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.banner-card { position: relative; display: flex; align-items: flex-end; min-height: 220px; min-width: 0; border-radius: 16px; overflow: hidden; background: var(--deep); color: #fff; }
.banner-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .5s ease; }
/* A banner photo mirrored for the Arabic page (its subject away from the text) is mirrored back on English pages. */
[dir="ltr"] .banner-card.is-flip img { transform: scaleX(-1); }
.banner-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 63, 34, .94) 0%, rgba(15, 63, 34, .62) 52%, rgba(15, 63, 34, .12) 100%); }
.banner-card:hover { color: #fff; }
.banner-card:hover img { scale: 1.03; }
.banner-text { position: relative; z-index: 1; display: grid; justify-items: start; gap: 4px; padding: 20px; max-width: 460px; min-width: 0; }
.banner-kicker { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--yellow); }
.banner-title { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.3; }
.banner-link { margin-top: 6px; font-weight: 700; font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; }

.basket-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
.basket-media { min-width: 0; }
.basket-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.basket-text { min-width: 0; }
.basket-text h2 { font-weight: 800; font-size: clamp(24px, 6vw, 34px); }
.basket-lead { color: var(--ink-2); max-width: 520px; }
.basket-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.basket-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-width: 0; }
.basket-thumb { flex: none; width: 66px; }
.basket-thumb img { width: 66px; height: 66px; object-fit: cover; border-radius: var(--radius-sm); }
.basket-num { position: absolute; top: 6px; inset-inline-start: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--display); font-weight: 800; font-size: 13px; }
.basket-info { display: grid; min-width: 0; line-height: 1.45; }
.basket-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.basket-name:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.basket-price { font-family: var(--display); font-weight: 800; font-size: 15px; }
.basket-price del { color: var(--muted); font-weight: 500; font-size: 13px; }
.basket-price ins { text-decoration: none; color: var(--deep); }

.ptabs-section { padding-top: 32px; }
.ptabs-section .section-head { flex-wrap: wrap; align-items: center; }
.ptabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.ptabs::-webkit-scrollbar { display: none; }
.ptab { position: relative; flex: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink-2); font-family: var(--display); font-weight: 700; font-size: 14.5px; cursor: pointer; }
.ptab:hover { border-color: var(--green); color: var(--green-dark); }
.ptab[aria-selected="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }

.reviews { padding-top: 12px; }
.review-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.review { margin: 0; padding: 18px; border-radius: var(--radius); background: var(--panel); min-width: 0; }
.review-stars { display: inline-flex; gap: 2px; }
.review-stars .icon { width: 17px; height: 17px; fill: #eab308; stroke: #a16207; stroke-width: 1.2; }
.review blockquote { margin: 8px 0 14px; }
.review blockquote p { margin: 0; color: var(--ink-2); font-size: 15px; }
.review figcaption { display: flex; align-items: center; gap: 10px; }
.review figcaption > span:last-child { display: grid; line-height: 1.4; font-size: 13px; color: var(--muted); }
.review figcaption strong { font-size: 14.5px; color: var(--ink); }
.review-avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--mint); color: var(--deep); font-family: var(--font); font-weight: 700; font-size: 1.45rem; line-height: 1; }

.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding-block: 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.trust-item .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--mint); color: var(--green-dark); }
.trust-item span { display: grid; min-width: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.trust-item strong { font-family: var(--display); font-weight: 800; font-size: 14.5px; color: var(--ink); }

.photo-band { padding-block: 28px 0; }
.band-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.band-row li { min-width: 0; }
.band-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--panel); color: #fff; }
.band-tile img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s ease; }
.band-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 63, 34, .85) 0%, rgba(15, 63, 34, 0) 55%); }
.band-tile:hover { color: #fff; }
.band-tile:hover img { scale: 1.05; }
.band-name { position: absolute; z-index: 1; inset-inline: 10px; bottom: 8px; font-family: var(--display); font-weight: 700; font-size: 13.5px; line-height: 1.35; }

/* ---------- Shop pages ---------- */
.shop-wrap { padding-block: 12px 48px; }
.breadcrumb, .woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.breadcrumb a, .woocommerce .woocommerce-breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb .sep { margin-inline: 6px; opacity: .6; }
.shop-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 14px; padding: 16px; border-radius: 16px; background: var(--panel); }
.shop-head.has-photo { grid-template-columns: minmax(0, 1fr) 92px; }
.shop-head-text { min-width: 0; }
.shop-title { font-weight: 800; font-size: clamp(23px, 6vw, 34px); margin: 0 0 4px; }
.shop-lead { color: var(--ink-2); font-size: 14.5px; max-width: 700px; }
.shop-lead p { margin: 0; }
.shop-head-media { min-width: 0; }
.shop-head-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
.shop-main, .shop-side { min-width: 0; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-toggle { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 15px; }
.side-toggle::-webkit-details-marker { display: none; }
.side-toggle::after { content: "+"; margin-inline-start: auto; font-size: 20px; font-weight: 400; color: var(--muted); }
.side-box[open] .side-toggle::after { content: "–"; }
.side-toggle .icon { width: 19px; height: 19px; color: var(--green); }
.filter-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; font-family: var(--font); }
.side-body { padding: 0 16px 16px; }
.side-title { margin: 14px 0 8px; font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--ink); }
.side-depts ul { list-style: none; margin: 0; padding: 0; }
.side-depts a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 8px; border-radius: 8px; font-size: 14.5px; color: var(--ink-2); }
.side-depts a > span:first-of-type { flex: 1; min-width: 0; }
.side-depts .icon { width: 20px; height: 20px; color: var(--green); }
.side-depts a:hover { background: var(--panel); color: var(--green-dark); }
.side-depts a[aria-current="page"] { background: var(--mint); color: var(--deep); font-weight: 700; }
.side-count { flex: none; min-width: 26px; padding: 0 7px; border-radius: 999px; background: var(--panel); font-size: 12px; color: var(--muted); text-align: center; line-height: 22px; }
.side-sub { padding-inline-start: 30px !important; }
.side-sub a { min-height: 36px; font-size: 14px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 13.5px; color: var(--ink-2); }
.filter-chip:hover { border-color: var(--green); color: var(--green-dark); }
.filter-chip.is-active { background: var(--deep); border-color: var(--deep); color: #fff; }
.filter-clear { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.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, .2); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.chip:hover { border-color: var(--green); color: var(--green-dark); }
.chip.is-active { background: var(--deep); color: #fff; border-color: var(--deep); }
.woocommerce .woocommerce-result-count { margin: 0 0 10px; font-size: 13px; color: var(--muted); float: none; }
.woocommerce .woocommerce-ordering { float: none; margin: 0 0 14px; }
.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(--radius-sm);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round'%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; }
.woocommerce nav.woocommerce-pagination { margin-top: 28px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; flex-wrap: wrap; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: #fff; padding: 0 10px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--deep); color: #fff; border-color: var(--deep); }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews, p.no-comments { border: 1px solid var(--line) !important; border-radius: var(--radius); background: #fff !important; color: var(--ink) !important; padding: 14px 18px !important; margin: 0 0 18px !important; list-style: none; }
.woocommerce-message { border-color: #a7dcb9 !important; background: #f0faf3 !important; }
.woocommerce-error { border-color: #f1c0bb !important; background: #fff6f5 !important; }
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { float: none !important; min-height: 40px; margin-inline-start: 12px; }

/* ---------- Single product ---------- */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 4px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; min-width: 0; }
.woocommerce div.product div.images { position: relative; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: 16px; overflow: hidden; background: var(--panel); }
.woocommerce div.product div.images img { background: var(--panel); }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 68px !important; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 10px; opacity: .55; border: 1px solid var(--line); }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--green); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 12px; background: rgba(255, 255, 255, .96); border-radius: 12px; }
[dir="rtl"] .woocommerce div.product div.images .woocommerce-product-gallery__trigger { left: 12px; right: auto; }
.woocommerce div.product span.onsale { position: absolute; top: 12px; z-index: 3; margin: 0; min-width: 0; min-height: 0; padding: 3px 10px; line-height: 1.6; border-radius: 6px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-size: 14px; font-weight: 800; direction: ltr; }
[dir="rtl"] .woocommerce div.product span.onsale { right: 12px; left: auto; }
[dir="ltr"] .woocommerce div.product span.onsale { left: 12px; right: auto; }
.summary-kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: var(--mint); font-size: 13px; font-weight: 700; color: var(--deep); }
.summary-kicker:hover { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce div.product .product_title { font-weight: 800; font-size: clamp(22px, 5.4vw, 31px); margin-bottom: 6px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-family: var(--display); font-size: 25px; font-weight: 800; display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; margin-bottom: 2px; }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { color: var(--muted); font-size: 16px; font-weight: 500; opacity: 1; }
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { color: var(--deep); text-decoration: none; }
.woocommerce div.product p.price .price-from { font-size: 14px; }
.summary-unit { margin: 0 0 10px; }
.summary-unit .unit-price { font-size: 14px; }
.woocommerce div.product .woocommerce-variation-price .unit-price { font-size: 13.5px; }
.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: 12px; border: 0; }
.woocommerce div.product form.cart .variations tr { display: block; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: start; line-height: 1.5; }
.woocommerce div.product form.cart .variations label { font-weight: 700; font-size: 14.5px; }
.woocommerce div.product form.cart .variations td.value { position: relative; margin: 8px 0 4px; }
.woocommerce div.product form.cart .variations select { min-height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 0 14px; width: 100%; background: #fff; }
.woocommerce div.product form.cart .variations select.is-replaced { position: absolute !important; top: 0; inset-inline-start: 0; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.option-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.option-btn { display: inline-flex; align-items: center; gap: 8px; min-width: 56px; min-height: 44px; padding: 0 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: .15s; }
.option-btn:hover { border-color: var(--green); }
.option-btn[aria-pressed="true"] { background: var(--mint); border-color: var(--green); color: var(--deep); }
.option-btn:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.option-btn[aria-pressed="true"] .swatch-dot { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--green); }
form.cart.needs-option .option-buttons { animation: wafra-shake .4s; }
form.cart.needs-option .variations label { color: #b42318; }
@keyframes wafra-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; }
.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: 72px; min-height: 52px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); text-align: center; background: #fff; font-family: var(--display); font-weight: 800; font-size: 16px; }
.qty-wrap { display: inline-flex; align-items: stretch; height: 52px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; }
.woocommerce .qty-wrap .qty { width: 52px; min-height: 0; height: 100%; border: 0; border-radius: 0; -moz-appearance: textfield; appearance: textfield; }
.qty-wrap .qty::-webkit-outer-spin-button, .qty-wrap .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-wrap .qty-btn { width: 44px; }
.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 16px; display: grid; gap: 10px; border-radius: var(--radius); background: var(--panel); }
.promise li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; }
.promise li span { min-width: 0; }
.promise .icon { color: var(--green); width: 21px; height: 21px; margin-top: 1px; }
.details-list { margin: 0 0 16px; border-top: 1px solid var(--line); }
.detail { border-bottom: 1px solid var(--line); }
.detail summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 15px; }
.detail summary::-webkit-details-marker { display: none; }
.detail summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--muted); }
.detail[open] summary::after { content: "–"; }
.detail-body { padding-bottom: 14px; font-size: 14.5px; color: var(--ink-2); }
.detail-body ul { margin: 0; padding-inline-start: 1.2em; }
.detail-body li { margin-bottom: 4px; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 8px; min-width: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 20px; padding: 0; margin: 0 0 14px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { position: relative; border: 0; background: none; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 0; font-family: var(--display); font-weight: 700; font-size: 15.5px; 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(--green); }
.woocommerce div.product .woocommerce-tabs .panel { padding: 0; margin: 0; background: none; border: 0; max-width: 820px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs .panel ul, .woocommerce div.product .woocommerce-tabs .panel ol { padding-inline-start: 1.3em; }
.woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; margin-top: 18px; min-width: 0; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-weight: 800; font-size: 22px; margin-bottom: 14px; }
.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(--radius-sm); background: #fff; 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: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(17, 24, 39, .08); }
.buybar-info { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.buybar-name { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-price { font-family: var(--display); font-weight: 800; font-size: 16px; }
.buybar-price del { color: var(--muted); font-weight: 500; font-size: 12px; }
.buybar-price ins { text-decoration: none; color: var(--deep); }
.buybar-price .price-from { font-size: 12px; }
.buybar .btn { flex: 0 0 auto; min-height: 46px; padding: 0 18px; }
body.single-product .tabbar { display: none; }
body.single-product { padding-bottom: 80px; }

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

/* ---------- Pages, cart, checkout, account ---------- */
.page-wrap { padding-block: 16px 52px; }
.page-wrap.narrow { max-width: 820px; }
.page-head h1 { font-weight: 800; font-size: clamp(25px, 6.5vw, 36px); margin-top: 4px; }
.page-lead { color: var(--ink-2); max-width: 700px; }
.entry { font-size: 16px; min-width: 0; }
.entry > :first-child { margin-top: 0; }
.entry h2 { font-weight: 800; font-size: 21px; margin-top: 1.4em; }
.entry h3 { font-size: 18px; margin-top: 1.2em; }
.entry ul, .entry ol { padding-inline-start: 1.3em; }
.entry li { margin-bottom: .35em; }
:where(.page-wrap:not(.is-store-page)) .entry a:where(:not(.button):not(.btn):not(.wc-block-components-button)) { color: var(--green-dark); 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(--green-dark); }
.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 a.button { color: #fff; }
.entry ul.products a.button.card-options { color: var(--green-dark); }
.entry ul.products a.button.card-options:hover { color: #fff; }
.entry figure { margin: 0 0 1.4em; max-width: 100%; overflow-x: auto; }
.entry table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.entry th, .entry td { padding: 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.entry th { background: var(--panel); font-family: var(--display); font-weight: 700; }
.credits-table { font-size: 14px; }
.credits-table small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.store-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.store-note span { min-width: 0; }
.store-note .icon { color: var(--green); width: 22px; height: 22px; margin-top: 2px; }
.min-order-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 14px 16px; border: 1px solid #f2d94b; border-radius: var(--radius); background: #fefbe8; color: var(--ink); font-weight: 700; font-size: 14.5px; line-height: 1.6; }
.min-order-note .icon { width: 22px; height: 22px; color: var(--deep); }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--green) !important; color: #fff !important; border-radius: var(--radius-sm) !important; min-height: 52px; font-family: var(--display); font-weight: 700; }
.wc-block-components-button:not(.is-link):hover { background: var(--green-dark) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-components-textarea, .wc-blocks-components-select .wc-blocks-components-select__select { border-radius: var(--radius-sm) !important; border-color: var(--line-2) !important; }
.wc-block-components-product-name { font-weight: 700; color: var(--ink) !important; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; border-collapse: separate; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-top-color: var(--line); padding: 12px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; gap: 6px; overflow-x: auto; }
.woocommerce-account .woocommerce-MyAccount-navigation li { position: relative; flex: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; white-space: nowrap; font-size: 14px; text-decoration: none; color: inherit; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--deep); color: #fff; border-color: var(--deep); }
.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(--radius) !important; background: #fff; padding: 22px !important; margin: 0 0 18px !important; }
.order-next { display: grid; 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(--radius); background: var(--mint); border: 1px solid #a7dcb9; }
.order-next p span { min-width: 0; }
.order-next .icon { color: var(--green-dark); width: 22px; height: 22px; margin-top: 2px; }
.empty-state { text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; }
.empty-state > * { min-width: 0; max-width: 100%; }
.empty-state .big { font-family: var(--display); font-size: 80px; font-weight: 800; color: var(--green); line-height: 1; }
.empty-state .wfr-search { width: 100%; max-width: 560px; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.post-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.post-card { min-width: 0; }
.post-card img, .post-cover img { border-radius: var(--radius); margin-bottom: 10px; }

/* Departments page */
.dir-jump { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; margin-bottom: 4px; scrollbar-width: none; }
.dir-jump::-webkit-scrollbar { display: none; }
.dir-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.dir-card { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; scroll-margin-top: 130px; }
.dir-media { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--panel); overflow: hidden; }
.dir-media img { width: 100%; height: 100%; object-fit: cover; }
.dir-media .icon { width: 44px; height: 44px; color: var(--green); }
.dir-body { padding: 16px 18px 18px; min-width: 0; }
.dir-title { display: flex; align-items: center; gap: 10px; margin: 0 0 2px; font-weight: 800; font-size: 20px; }
.dir-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--green-dark); }
.dir-icon .icon { width: 21px; height: 21px; }
.dir-title a:hover { color: var(--green-dark); }
.dir-count { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.dir-text { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; }
.dir-subs { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dir-subs a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--panel); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.dir-subs a:hover { background: var(--mint); color: var(--deep); }
.dir-sub-count { font-size: 12px; color: var(--muted); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.contact-card { padding: 22px; border-radius: 18px; background: var(--deep); color: var(--on-deep); min-width: 0; }
.contact-card .brand { color: #fff; margin-bottom: 14px; }
.contact-card .brand-mark { color: #fff; --mark-ink: var(--deep); }
.contact-card .brand-other { color: var(--on-deep-muted); }
.contact-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.contact-card li { display: flex; gap: 12px; align-items: flex-start; }
.contact-card li > span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.contact-card strong { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--on-deep-muted); }
.contact-card .icon { color: var(--yellow); 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 .icon { color: var(--green); margin-top: 0; }
.contact-card .btn-light:hover { color: var(--ink); }
.contact-card .contact-hint { margin: 14px 0 0; font-size: 13.5px; color: var(--on-deep-muted); }
.contact-form { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.swst-contact { display: block !important; margin: 0 !important; color: var(--ink); }
.swst-contact .swst-contact-form { padding: 0 !important; border: 0 !important; background: none !important; }
.swst-contact .swst-contact-details { display: none !important; }
.swst-contact h2 { margin-top: 0 !important; font-size: 22px !important; }
.swst-contact .swst-intro { color: var(--muted) !important; }
.swst-contact input:not([type=hidden]), .swst-contact textarea { background: #fff !important; border-color: var(--line-2) !important; }
.swst-contact .swst-submit { font-family: var(--display) !important; background: var(--green) !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(--deep); color: var(--on-deep); padding-top: 36px; font-size: 14px; }
.site-footer a { color: var(--on-deep); }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .brand { color: #fff; justify-self: start; }
.site-footer .brand:hover { text-decoration: none; }
.site-footer .brand-mark { color: #fff; --mark-ink: var(--deep); }
.site-footer .brand-other { color: var(--on-deep-muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 18px; }
.footer-brand { padding-bottom: 18px; min-width: 0; }
.footer-brand p { margin: 12px 0 14px; color: var(--on-deep-muted); max-width: 400px; }
.footer-facts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.footer-facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-deep); }
.footer-facts .icon { width: 19px; height: 19px; margin-top: 2px; color: var(--yellow); }
.footer-col { border-top: 1px solid rgba(255, 255, 255, .14); min-width: 0; }
.footer-col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 4px 0; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 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-deep-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 { color: var(--on-deep-muted); 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(--yellow); }
.socials { display: flex; gap: 8px; }
.socials a { position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.socials a:hover { background: var(--green); }
.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, .14); padding-block: 16px; font-size: 13px; color: var(--on-deep-muted); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.site-footer .footer-legal a { color: var(--on-deep); }
.pay-badge { display: inline-flex; align-items: center; gap: 6px; }
.pay-badge .icon { width: 18px; height: 18px; color: var(--yellow); }

/* ---------- Phone tab bar ---------- */
.tabbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a, .tabbar button { position: relative; display: grid; 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(--deep); font-weight: 700; }
.tabbar [aria-current="page"] .icon { color: var(--green); }
.tab-icon { position: relative; display: inline-grid; }
.tabbar .wafra-cart-count { top: -6px; inset-inline-end: -11px; }

/* ---------- Phones ---------- */
@media (max-width: 599px) {
	.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: 11.5px; padding: 1px 7px; }
	.woocommerce ul.products li.product { padding: 8px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
	.card-add span { font-size: 14px; }
}

@media (max-width: 380px) {
	.brand-name { font-size: 22px; }
	.brand-mark { width: 32px; height: 32px; }
	.brand-other { font-size: 9.5px; letter-spacing: .22em; }
	html[lang^="en"] .brand-name { font-size: 18px; letter-spacing: .05em; }
	.header-actions .lang-btn { min-width: 36px; padding: 0 8px; }
	.dept-row { gap: 14px 6px; }
	.dept-card-name { font-size: 12px; }
	.qty-btn { width: 34px; }
}

/* ---------- 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: 14px; }
	.rail-products .woocommerce ul.products { grid-auto-columns: calc((100% - 2 * 14px) / 3.25); }
	.wfr-search .search-submit span { display: inline; }
	.wfr-search .search-submit { padding: 0 18px; }
	.promo-tile { min-height: 190px; }
	.promo-tile-title { font-size: 17px; }
	.slide-media { aspect-ratio: 16 / 8; }
	.woocommerce .woocommerce-ordering select { width: auto; }
	.shop-main .woocommerce-result-count { float: right !important; line-height: 44px; }
	[dir="rtl"] .shop-main .woocommerce-ordering { float: left !important; }
	[dir="ltr"] .shop-main .woocommerce-result-count { float: left !important; }
	[dir="ltr"] .shop-main .woocommerce-ordering { float: right !important; }
	.shop-main ul.products { clear: both; }
	.shop-head { padding: 20px 24px; }
	.shop-head.has-photo { grid-template-columns: minmax(0, 1fr) 180px; }
	.shop-head-img { aspect-ratio: 3 / 2; }
	.trust-row { padding-block: 24px; }
	.band-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.basket-list { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 760px) {
	.wfr-search .search-dept { display: block; }
	.dept-row { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
	.slide { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-content: stretch; min-height: 360px; }
	.slide-text { order: -1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 30px 30px 74px; }
	.slide-media { aspect-ratio: auto; height: 100%; }
	.slider-nav { inset-inline-start: 26px; bottom: 18px; }
	.banner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.banner-card { min-height: 260px; align-items: center; }
	.banner-card::after { background: linear-gradient(to left, rgba(15, 63, 34, .94) 0%, rgba(15, 63, 34, .7) 42%, rgba(15, 63, 34, .05) 82%); }
	[dir="ltr"] .banner-card::after { background: linear-gradient(to right, rgba(15, 63, 34, .94) 0%, rgba(15, 63, 34, .7) 42%, rgba(15, 63, 34, .05) 82%); }
	.banner-text { max-width: 62%; padding: 26px; }
	.review-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
	.contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 28px; }
	.contact-card, .contact-form { padding: 30px; }
	.basket-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
	.basket-media img { aspect-ratio: 1 / 1; }
	.footer-facts { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 960px) {
	.section { padding-block: 40px; }
	.dept-section { padding-top: 30px; }
	.section-head { margin-bottom: 18px; }
	.section-head h2 { font-size: 26px; }
	.section-head h2 .icon { width: 28px; height: 28px; }
	.trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 26px; }
	.woocommerce div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 12px; }
	.woocommerce div.product div.summary { position: sticky; top: calc(var(--sticky-top) + 16px); }
	.footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.3fr); gap: 40px; padding-bottom: 36px; }
	.footer-col { border: 0; }
	.footer-col summary { pointer-events: none; min-height: 0; padding: 0 0 12px; }
	.footer-col summary::after { display: none; }
	.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { display: grid; }
	.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.band-tile .band-name { font-size: 15px; inset-inline: 14px; bottom: 12px; }
}

@media (min-width: 960px) and (hover: hover) {
	.woocommerce ul.products li.product:hover .card-media.has-second .card-img-2 { opacity: 1; }
}

/* The desktop header: search in the row, the navigation row with "All departments". */
@media (min-width: 1024px) {
	:root { --sticky-top: 132px; }
	body, body.single-product { padding-bottom: 0; }
	.only-mobile { display: none !important; }
	.header-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search actions"; gap: 28px; min-height: 78px; padding-block: 10px; }
	.menu-btn { display: none; }
	.header-actions { gap: 10px; }
	.header-actions .lang-btn { display: none; }
	.header-actions .account-btn { display: inline-grid; }
	.cart-btn .cart-sum { display: grid; line-height: 1.3; }
	.header-search .wfr-search { min-height: 50px; max-width: 760px; margin-inline: auto; }
	.header-nav { display: block; }
	.topbar .is-extra { display: inline-flex; }
	.topbar .topbar-links { display: flex; }
	.brand-mark { width: 40px; height: 40px; }
	.brand-name { font-size: 27px; }
	.hero-zone { padding-top: 18px; }
	.hero-grid { grid-template-columns: 240px minmax(0, 1fr) 270px; gap: 16px; align-items: stretch; }
	.dept-side { display: block; min-width: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
	.promo-tiles { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 16px; }
	.promo-tile { min-height: 0; }
	.slide { min-height: 400px; }
	.slide-title { font-size: clamp(30px, 2.6vw, 42px); }
	.rail-nav { display: inline-flex; }
	.rail-products .woocommerce ul.products { grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; margin-inline: 0 !important; padding-inline: 0; scroll-padding-inline: 0; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.ptab-panel ul.products, .related ul.products, .upsells ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
	.shop-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 28px; }
	.shop-side { position: sticky; top: calc(var(--sticky-top) + 16px); max-height: calc(100vh - var(--sticky-top) - 32px); overflow-y: auto; scrollbar-width: thin; }
	.side-toggle { pointer-events: none; }
	.side-toggle::after { display: none; }
	.shop-main .chips { display: none; }
	.shop-head.has-photo { grid-template-columns: minmax(0, 1fr) 280px; }
	.toast, body.single-product .toast { bottom: 24px; }
	.dir-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.hero-grid { grid-template-columns: 220px minmax(0, 1fr); }
	.promo-tiles { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
	.promo-tile { min-height: 180px; }
	.dept-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.main-nav .nav-list a { padding-inline: 9px; font-size: 14.5px; }
	.nav-phone { display: none; }
}

@media (min-width: 1200px) and (max-width: 1319px) {
	.nav-phone > span:first-of-type { display: none; }
}

@media (min-width: 1200px) {
	.header-row { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "brand search promise actions"; }
	.header-promise { display: flex; }
}

@media (min-width: 601px) and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (min-width: 783px) {
	.admin-bar .site-header { top: 32px; }
}

/* Touch screens: every control is at least 44px. */
@media (pointer: coarse) {
	.lang-btn { height: 44px; min-width: 44px; }
	.chip, .filter-chip, .link-more, .ptab, .dir-subs a, .woocommerce-account .woocommerce-MyAccount-navigation li a { min-height: 44px; }
	.qty-step, .woocommerce ul.products li.product .card-add, .woocommerce ul.products li.product .card-options { height: 44px; min-height: 44px; }
	.qty-btn { width: 44px; }
	.slider-btn, .slider-pause, .rail-btn { width: 44px; height: 44px; }
	.slider-dot { height: 44px; }
	.side-depts a { min-height: 44px; }
	.demo-bar-close { width: 44px; height: 44px; }
	.footer-col li a, .footer-legal a, .demo-bar a, .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
	.footer-col ul { gap: 0; }
}

@media (pointer: coarse) and (max-width: 380px) {
	.qty-btn { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.marquee { overflow-x: auto; scrollbar-width: none; }
	.marquee::-webkit-scrollbar { display: none; }
	.marquee-group + .marquee-group { display: none; }
	.promo-tile:hover img, .banner-card:hover img, .band-tile:hover img, .dept-card:hover .dept-card-img img { scale: none; }
}

/* English pages: a little more room for the longer words. */
html[lang^="en"] .slide-title { font-size: clamp(25px, 6vw, 40px); }
html[lang^="en"] .dept-card-name { font-size: 12.5px; }
