/*
Theme Name: MFZ Raw Pharma
Theme URI: https://mfzraw.com
Author: ARC Solutions
Author URI: https://arcsolutions-eg.com
Description: Custom theme for MFZ & Raw Pharma — pharmaceutical raw materials supplier. Product catalogue, quote list and quote request form. Sets itself up on activation (products, categories, pages, menus).
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: mfz
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #23201B;
	--ink-2: #46413A;
	--muted: #77716A;
	--line: #E5E0D8;
	--line-2: #D9D3C9;
	--bg: #FBFAF8;
	--paper: #F4F1EC;
	--white: #FFFFFF;
	--orange: #EF621B;
	--orange-d: #CF4F12;
	--orange-t: #FDEEE4;
	--green: #2E8B57;
	--wa: #1FA855;

	--f-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--f-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
	--f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

	--r: 8px;
	--r-lg: 14px;
	--wrap: 1240px;
	--shadow: 0 1px 2px rgba(35, 32, 27, .05), 0 6px 20px -8px rgba(35, 32, 27, .12);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange-d); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); }
h3 { font-size: 1.15rem; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; color: #fff; }
.muted { color: var(--muted); }
.icon { width: 20px; height: 20px; flex: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.eyebrow {
	font-family: var(--f-mono);
	font-size: .78rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--orange-d);
	margin: 0 0 14px;
	display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); }
.eyebrow.on-dark { color: #F7A574; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 640px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 20px;
	border-radius: var(--r);
	border: 1.5px solid transparent;
	font-weight: 600; font-size: .95rem; line-height: 1.2;
	cursor: pointer; white-space: nowrap;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow, .btn:hover svg:last-child { transform: translateX(2px); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a45; color: #fff; }

.tlink {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 600; color: var(--ink);
	border-bottom: 1.5px solid var(--orange);
	padding-bottom: 2px;
}
.tlink .icon { width: 16px; height: 16px; color: var(--orange); transition: transform .2s var(--ease); }
.tlink:hover { color: var(--orange-d); }
.tlink:hover .icon { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--ink); color: #D9D4CC; font-size: .82rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-note { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar-note .icon { width: 16px; height: 16px; color: var(--orange); }
.topbar-contacts { list-style: none; display: flex; gap: 22px; }
.topbar-contacts a { display: flex; align-items: center; gap: 7px; color: #F3EFE9; }
.topbar-contacts a:hover { color: #fff; }
.topbar-contacts .icon { width: 15px; height: 15px; color: var(--orange); }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251, 250, 248, .94);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 50px; height: auto; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-word { width: 92px; height: auto; }
.brand-sub { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.brand-light .brand-sub { color: #A9A39A; }

.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	display: flex; align-items: center; gap: 6px;
	padding: 10px 14px; border-radius: 6px;
	font-weight: 500; font-size: .96rem; color: var(--ink-2);
}
.main-nav .menu > li > a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current-menu-parent > a { color: var(--ink); background: var(--paper); }
.main-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-3px); margin-left: 2px; opacity: .6;
}
.main-nav .sub-menu {
	list-style: none; position: absolute; top: 100%; left: 0; min-width: 240px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	box-shadow: var(--shadow); padding: 8px;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 6px; font-size: .93rem; color: var(--ink-2); }
.main-nav .sub-menu a:hover { background: var(--paper); color: var(--ink); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.qlist-link {
	display: flex; align-items: center; gap: 8px;
	padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--r);
	font-weight: 500; font-size: .92rem; background: #fff;
}
.qlist-link .icon { width: 18px; height: 18px; }
.qcount {
	min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
	background: var(--paper); color: var(--ink-2);
	font-family: var(--f-mono); font-size: .78rem; display: grid; place-items: center;
	transition: background .2s, color .2s;
}
.qcount.has-items { background: var(--orange); color: #fff; }
.qlist-link.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); } }
.nav-toggle .icon { pointer-events: none; }
.nav-toggle { position: relative; z-index: 2; display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--r); padding: 8px; cursor: pointer; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; z-index: 3; overflow: visible; overflow-x: clip;
	background:
		linear-gradient(90deg, var(--bg) 0%, var(--bg) 46%, transparent 72%),
		repeating-linear-gradient(118deg, transparent 0 22px, rgba(35, 32, 27, .045) 22px 23px),
		var(--paper);
	border-bottom: 1px solid var(--line);
}
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; min-height: 620px; }
.hero-copy { padding: 64px 0 72px; position: relative; z-index: 2; }
.hero h1 { max-width: 640px; margin-bottom: 20px; }
.hero h1 .hl { color: var(--orange); }
.hero .lead { margin-bottom: 28px; }

.hero-search {
	display: flex; align-items: center; gap: 10px;
	background: #fff; border: 1px solid var(--line-2); border-radius: 12px;
	padding: 6px 6px 6px 16px; max-width: 560px; margin-bottom: 18px;
	box-shadow: 0 1px 0 rgba(35,32,27,.03);
	transition: border-color .2s, box-shadow .2s;
}
.hero-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(239, 98, 27, .12); }
.hero-search .icon { color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 0; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 0; margin: 0; border-top: 1px solid var(--line-2); max-width: 600px; }
.hero-stats > div { flex: 1; padding: 18px 20px 0 0; }
.hero-stats > div + div { padding-left: 20px; border-left: 1px solid var(--line-2); }
.hero-stats dt { font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; line-height: 1.1; }
.hero-stats dd { margin: 4px 0 0; font-size: .86rem; color: var(--muted); }

.hero-media { position: relative; align-self: stretch; min-height: 560px; margin-right: calc((min(100vw, 1920px) - min(100vw, var(--wrap))) / -2 - 24px); }
.hero-media img { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none; }
.hero-card {
	position: absolute; left: 4%; bottom: 72px;
	display: flex; align-items: center; gap: 12px;
	background: #fff; border: 1px solid var(--line); border-radius: 12px;
	padding: 12px 16px; box-shadow: var(--shadow);
}
.hero-card strong { display: block; font-size: .92rem; }
.hero-card span:not(.dot) { font-size: .8rem; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(46, 139, 87, .15); }

/* Trust strip ------------------------------------------------------------ */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .icon { width: 26px; height: 26px; color: var(--orange); margin-top: 2px; }
.trust-item strong { display: block; font-family: var(--f-head); font-weight: 700; font-size: 1rem; }
.trust-item span { font-size: .87rem; color: var(--muted); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0 96px; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.shead h2 { margin: 0; max-width: 720px; }
.shead-intro { color: var(--ink-2); margin: 14px 0 0; max-width: 620px; }
.shead .tlink { flex: none; }

/* Category tiles --------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-tile {
	--c: var(--ink); --t: var(--paper);
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: 26px; min-height: 300px;
	transition: border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cat-tile:hover { color: inherit; border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.cat-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--t, var(--paper)); color: var(--c, var(--ink)); flex: none; }
.cat-ico .icon { width: 26px; height: 26px; }
.cat-count { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.cat-tile h3 { font-size: 1.35rem; margin-bottom: 8px; }
.cat-tile p { color: var(--ink-2); font-size: .94rem; }
.cat-sample { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; }
.cat-sample li { font-size: .8rem; padding: 4px 10px; border-radius: 99px; background: var(--paper); color: var(--ink-2); }
.cat-tile .tlink { margin-top: auto; align-self: flex-start; }
.cat-tile-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-tile-cta:hover { color: #fff; border-color: var(--ink); }
.cat-tile-cta .cat-ico { background: rgba(255,255,255,.08); color: var(--orange); }
.cat-tile-cta p { color: #C9C3BA; }
.cat-tile-cta .tlink { color: #fff; }

/* Category colours (used by tiles, icons, product labels) */
.cat-enzymes, [data-group="enzymes"]                   { --c: #B04C14; --t: #FCEDE3; }
.cat-vitamins, [data-group="vitamins"]                 { --c: #A86A06; --t: #FAF0DA; }
.cat-extracts-oils, [data-group="extracts-oils"]       { --c: #46703A; --t: #E8F0E2; }
.cat-food-supplements, [data-group="food-supplements"] { --c: #2D6684; --t: #E3EEF4; }
.cat-excipients, [data-group="excipients"]             { --c: #5A544C; --t: #EEECE8; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	overflow: hidden;
	transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.pcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard[hidden] { display: none; }
.pcard-media { display: block; border-bottom: 1px solid var(--line); }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); margin-bottom: 6px; flex-wrap: wrap; }
.pcard-meta a { color: var(--muted); }
.pcard-meta a:hover { color: var(--orange-d); }
.code { font-family: var(--f-mono); font-size: .76rem; padding: 2px 7px; border-radius: 4px; background: var(--paper); color: var(--ink-2); letter-spacing: .02em; }
.pcard-title { font-size: 1.06rem; margin: 0 0 6px; letter-spacing: -.01em; }
.pcard-title a:hover { color: var(--orange-d); }
.pcard-desc { font-size: .86rem; color: var(--muted); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--green); font-weight: 500; }
.stock i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.stock-lg { font-size: .92rem; margin: 18px 0; }

.qbtn {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--ink); color: #fff; border: 0; border-radius: 6px;
	padding: 7px 11px; font-size: .82rem; font-weight: 600; cursor: pointer;
	transition: background .2s var(--ease);
}
.qbtn .icon { width: 15px; height: 15px; }
.qbtn:hover { background: var(--orange); }
.qbtn-added { display: none; align-items: center; gap: 6px; }
.qbtn-add { display: inline-flex; align-items: center; gap: 6px; }
.qbtn.is-added { background: var(--orange-t); color: var(--orange-d); }
.qbtn.is-added .qbtn-add { display: none; }
.qbtn.is-added .qbtn-added { display: inline-flex; }
.qbtn-lg { padding: 14px 22px; font-size: 1rem; border-radius: var(--r); }
.qbtn-lg .icon { width: 18px; height: 18px; }

/* Drawn packshot (shown until a product photo is added) */
.pvisual.is-pack {
	background:
		radial-gradient(120% 90% at 50% 30%, #FFFFFF 0%, #F1F0EE 55%, #E4E2DE 100%);
	display: flex; align-items: center; justify-content: center;
}
.pvisual.is-pack::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(35,32,27,.04)); pointer-events: none; }
.packshot { width: auto; height: 90%; max-width: 90%; transition: transform .35s var(--ease); }
.pcard:hover .packshot { transform: translateY(-4px) scale(1.02); }
.product-media .packshot { height: 86%; }

/* Old text label placeholder (kept for compatibility) */
.pvisual { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: var(--paper); }
.pvisual.has-img img { width: 100%; height: 100%; object-fit: cover; }
.pvisual.is-label {
	background:
		repeating-linear-gradient(118deg, transparent 0 14px, rgba(255,255,255,.55) 14px 15px),
		var(--t, var(--paper));
	color: var(--c, var(--ink));
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding: 18px 16px;
}
.lbl-top {
	position: absolute; top: 12px; left: 14px; right: 14px;
	display: flex; justify-content: space-between;
	font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; opacity: .8;
}
.lbl-icon {
	width: 64px; height: 64px; border-radius: 50%;
	display: grid; place-items: center; background: #fff; margin-bottom: 4px;
	box-shadow: 0 0 0 6px rgba(255,255,255,.45);
}
.lbl-icon .icon { width: 32px; height: 32px; }
.product-media .lbl-name { margin-top: 16px; }
.lbl-name { font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; line-height: 1.2; color: var(--ink); max-width: 90%; }
.pcard .lbl-cat { display: none; }
.lbl-cat { position: absolute; bottom: 11px; left: 0; right: 0; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }

/* ==========================================================================
   Steps / split / contact card
   ========================================================================== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.steps li { padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { font-family: var(--f-mono); color: var(--orange); font-size: .9rem; display: block; margin-bottom: 18px; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--ink-2); margin: 0; }

.section-split { padding-top: 0; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; border-top: 1px solid var(--line); padding-top: 96px; }
.split-copy p { color: var(--ink-2); font-size: 1.05rem; }
.ticks { list-style: none; margin: 22px 0 28px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.ticks .icon { width: 20px; height: 20px; color: #fff; background: var(--orange); border-radius: 50%; padding: 3px; }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.person { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.person strong { display: block; font-size: 1rem; }
.person a { font-family: var(--f-mono); font-size: .95rem; color: var(--ink-2); }
.person a:hover { color: var(--orange-d); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--orange-t); color: var(--orange-d); font-family: var(--f-head); font-weight: 700; display: grid; place-items: center; flex: none; }
.contact-card-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .94rem; color: var(--ink-2); }
.contact-card-row .icon { color: var(--orange); margin-top: 2px; }
.contact-card .btn { margin-top: 20px; }

/* ==========================================================================
   Page hero, crumbs
   ========================================================================== */
.page-hero {
	background:
		repeating-linear-gradient(118deg, transparent 0 22px, rgba(35, 32, 27, .035) 22px 23px),
		var(--paper);
	border-bottom: 1px solid var(--line);
	padding: 36px 0 48px;
}
.page-hero-slim { padding: 18px 0; }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 860px; margin-top: 18px; }
.page-hero-slim .crumbs { margin: 0; }
.page-hero .lead { margin: 0; }
.page-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-hero-count { margin: 0; font-size: .95rem; color: var(--muted); white-space: nowrap; }
.page-hero-count strong { font-family: var(--f-head); font-size: 2rem; color: var(--ink); margin-right: 4px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); }
.crumbs a:hover { color: var(--orange-d); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Catalogue
   ========================================================================== */
.catalogue { padding: 0 0 96px; }
.toolbar {
	position: sticky; top: 77px; z-index: 20;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px 0; margin-bottom: 28px;
	background: rgba(251, 250, 248, .96);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2);
	font-size: .9rem; font-weight: 500; white-space: nowrap; background: #fff; color: var(--ink-2);
	transition: background .2s, color .2s, border-color .2s;
}
.tab span { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); }
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab.is-active span { color: #BDB6AC; }
.search-box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 0 12px; min-width: 260px; }
.search-box:focus-within { border-color: var(--ink); }
.search-box .icon { color: var(--muted); width: 18px; height: 18px; }
.search-box input { border: 0; outline: 0; background: transparent; padding: 10px 0; width: 100%; }

.pgroup { margin-bottom: 56px; }
.pgroup[hidden] { display: none; }
.pgroup-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pgroup-head h2 { font-size: 1.5rem; margin: 0; }
.pgroup-head .cat-ico { width: 40px; height: 40px; border-radius: 10px; }
.pgroup-head .cat-ico .icon { width: 22px; height: 22px; }
.pgroup-count { margin-left: auto; font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.empty { text-align: center; padding: 60px 20px; max-width: 560px; margin: 0 auto; }
.empty .icon { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--muted); }
.empty h2 { font-size: 1.5rem; }
.empty p { color: var(--ink-2); }

/* ==========================================================================
   Single product
   ========================================================================== */
.product { padding: 48px 0 96px; }
.product-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-media { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.product-media .pvisual { aspect-ratio: 1 / 1; }
.product-media .lbl-icon { width: 96px; height: 96px; margin-bottom: 20px; }
.product-media .lbl-icon .icon { width: 48px; height: 48px; }
.product-media .lbl-name { font-size: 1.6rem; }
.product-media .lbl-top { font-size: .8rem; top: 20px; left: 22px; right: 22px; }
.product-media .lbl-cat { font-size: .74rem; bottom: 20px; }
.product-info h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 8px 0 10px; }
.aka { color: var(--muted); margin-bottom: 14px; }
.product-desc { font-size: 1.08rem; color: var(--ink-2); }
.product-desc p:last-child { margin-bottom: 0; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; color: var(--wa); font-weight: 600; font-size: .95rem; }
.wa-link .icon { width: 20px; height: 20px; }
.wa-link:hover { color: #178a45; text-decoration: underline; }
.spec { margin: 32px 0 0; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 500; }
.assure { list-style: none; margin-top: 28px; display: grid; gap: 12px; background: var(--paper); border-radius: var(--r-lg); padding: 20px 22px; }
.assure li { display: flex; gap: 12px; align-items: center; font-size: .93rem; color: var(--ink-2); }
.assure .icon { color: var(--orange); }
.pgrid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.form-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.aside-card h2 { font-size: 1.2rem; margin-bottom: 16px; }
.aside-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.aside-phone { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; }
.aside-phone span { font-size: .82rem; color: #B9B2A8; }
.aside-phone strong { font-family: var(--f-mono); font-size: 1.1rem; font-weight: 500; }
.aside-phone:hover { color: var(--orange); }
.aside-dark .btn { margin-top: 18px; }
.mini-steps { list-style: none; counter-reset: s; display: grid; gap: 16px; }
.mini-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; }
.mini-steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--orange-t); color: var(--orange-d); font-family: var(--f-mono); font-size: .82rem; display: grid; place-items: center; }
.mini-steps strong { font-size: .95rem; }
.mini-steps span { font-size: .87rem; color: var(--muted); }

.qform { display: grid; gap: 24px; }
.fset { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 26px; margin: 0; min-width: 0; }
.fset legend { float: left; width: 100%; padding: 0; margin: 0 0 18px; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.fset legend + * { clear: both; }
.fset-n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: .8rem; display: grid; place-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.req { color: var(--orange-d); }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea, .qadd input, .qrow input, .qrow select {
	width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus, .qadd input:focus, .qrow input:focus, .qrow select:focus {
	outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(239, 98, 27, .14);
}
.field textarea { resize: vertical; }
.form-submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); }
.form-note a { color: var(--ink); text-decoration: underline; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.form-card h2 { font-size: 1.5rem; margin-bottom: 20px; }

.qtable { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 8px 0 14px; }
.qtable-head { display: grid; grid-template-columns: 1fr 230px 40px; gap: 12px; padding: 10px 14px; background: var(--paper); font-size: .78rem; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.qtable.is-empty .qtable-head { display: none; }
.qrow { display: grid; grid-template-columns: 1fr 230px 40px; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); animation: rowin .3s var(--ease); }
.qrow:first-child { border-top: 0; }
@keyframes rowin { from { opacity: 0; transform: translateY(-4px); } }
.qrow-name strong { display: block; font-size: .96rem; }
.qrow-qty { display: grid; grid-template-columns: 1fr 90px; gap: 8px; }
.qrow input, .qrow select { padding: 8px 10px; }
.qrow-del { width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.qrow-del:hover { border-color: #C93B26; color: #C93B26; }
.qrow-del .icon { width: 16px; height: 16px; }
.qtable-empty { display: none; align-items: center; gap: 14px; padding: 20px; color: var(--ink-2); font-size: .94rem; }
.qtable-empty p { margin: 0; }
.qtable-empty a { color: var(--orange-d); font-weight: 600; text-decoration: underline; }
.qtable-empty .icon { width: 28px; height: 28px; color: var(--muted); }
.qtable.is-empty .qtable-empty { display: flex; }
.qadd { display: flex; gap: 10px; margin-bottom: 20px; }
.qadd .btn { padding-inline: 16px; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); margin-bottom: 22px; font-weight: 500; }
.notice p { margin: 0; }
.notice.is-ok { background: #E8F4EC; color: #1C5E39; border: 1px solid #BFDFCB; }
.notice.is-ok .icon { color: var(--green); }
.notice.is-err { background: #FDECEA; color: #8A2318; border: 1px solid #F5C7C0; }

/* Contact page ----------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.cinfo { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cinfo-ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--orange-t); color: var(--orange-d); flex: none; }
.cinfo h2 { font-size: 1.05rem; margin-bottom: 6px; }
.cinfo p { margin: 0 0 6px; font-size: .95rem; }
.cinfo a[href^="tel"] { font-family: var(--f-mono); font-size: 1rem; }
.cinfo a:hover { color: var(--orange-d); }
.contact-info .btn-wa { justify-self: start; }
.map { line-height: 0; border-top: 1px solid var(--line); }
.map iframe { width: 100%; height: 440px; border: 0; filter: grayscale(.35) contrast(1.02); }

/* About ------------------------------------------------------------------ */
.about-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.about-text .big { font-family: var(--f-head); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.about-text p { color: var(--ink-2); font-size: 1.05rem; }
.about-facts { margin: 0; border-top: 2px solid var(--ink); }
.about-facts > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { font-family: var(--f-head); font-weight: 800; font-size: 2.2rem; letter-spacing: -.02em; line-height: 1.1; }
.about-facts dd { margin: 4px 0 0; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.value .icon { width: 30px; height: 30px; color: var(--orange); margin-bottom: 18px; }
.value p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.cat-list { border-top: 1px solid var(--line); }
.cat-row { display: grid; grid-template-columns: 48px 1fr auto 24px; gap: 20px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background .2s; }
.cat-row:hover { background: #fff; color: inherit; }
.cat-row h3 { margin: 0 0 2px; font-size: 1.2rem; }
.cat-row p { margin: 0; color: var(--muted); font-size: .93rem; }
.cat-row-arrow { color: var(--orange); transition: transform .2s var(--ease); }
.cat-row:hover .cat-row-arrow { transform: translateX(4px); }

.entry { font-size: 1.05rem; color: var(--ink-2); }
.entry h2, .entry h3 { color: var(--ink); margin-top: 1.6em; }
.entry a { color: var(--orange-d); text-decoration: underline; }
.entry ul, .entry ol { padding-left: 1.3em; margin-bottom: 1em; }
.post-list { list-style: none; display: grid; gap: 28px; }
.post-list h2 { font-size: 1.4rem; }
.notfound { text-align: left; }
.notfound .hero-search { margin: 28px 0; }

/* ==========================================================================
   Pre-footer & footer
   ========================================================================== */
.prefooter { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.prefooter::after {
	content: ""; position: absolute; inset: 0 0 0 55%;
	background: repeating-linear-gradient(118deg, transparent 0 22px, rgba(255,255,255,.05) 22px 23px);
	pointer-events: none;
}
.prefooter-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 72px; padding-bottom: 72px; position: relative; z-index: 1; }
.prefooter h2 { color: #fff; max-width: 620px; }
.prefooter p:not(.eyebrow) { color: #C9C3BA; max-width: 560px; margin: 0; }
.prefooter-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

.site-footer { background: #191713; color: #C9C3BA; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.fcol h3 { color: #fff; font-size: .82rem; font-family: var(--f-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.fcol ul { list-style: none; display: grid; gap: 10px; }
.fcol a:hover { color: var(--orange); }
.fcol-brand .brand { margin-bottom: 18px; }
.fcol-brand p { max-width: 320px; }
.tagline { font-family: var(--f-head); font-weight: 700; color: #fff; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { width: 18px; height: 18px; color: var(--orange); margin-top: 3px; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list .muted { color: #8F887E; font-size: .84rem; }
.contact-list [dir="rtl"], .cinfo [dir="rtl"] { text-align: left; }
.contact-list a[href^="tel"] { font-family: var(--f-mono); color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; font-size: .85rem; color: #8F887E; }
.footer-bottom p { margin: 0; }
.credit a { color: #fff; font-weight: 600; }
.credit a:hover { color: var(--orange); }

/* Floating WhatsApp — lifts above the footer credit when the bottom is reached */
.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 60;
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--wa); color: #fff;
	display: grid; place-items: center;
	box-shadow: 0 8px 24px -6px rgba(31, 168, 85, .55);
	transition: transform .35s var(--ease), background .2s;
}
.wa-float:hover { background: #178a45; color: #fff; }
body.at-footer .wa-float { transform: translateY(calc(-1 * var(--fb-h, 64px) - 4px)); }

/* Toast */
.toast {
	position: fixed; left: 16px; right: 16px; bottom: 26px; z-index: 70;
	width: fit-content; margin: 0 auto;
	transform: translateY(20px); opacity: 0;
	background: var(--ink); color: #fff; border-radius: 10px;
	padding: 12px 14px 12px 18px; font-size: .92rem;
	display: flex; align-items: center; gap: 16px;
	box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
	transition: opacity .25s var(--ease), transform .25s var(--ease);
	max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: none; }
.toast a { color: var(--orange); font-weight: 600; white-space: nowrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.hide-md { display: none; }
	.pgrid { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.header-in { min-height: 66px; gap: 14px; }
	.nav-toggle { display: grid; place-items: center; }
	.main-nav {
		position: fixed; top: var(--nav-top, 104px); left: 0; right: 0; bottom: 0; margin: 0;
		background: var(--bg); padding: 16px 24px 32px; overflow-y: auto;
		transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden;
		border-top: 1px solid var(--line);
	}
	body.nav-open { overflow: hidden; }
	body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
	body.nav-open .main-nav { transform: none; visibility: visible; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu > li > a { padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; background: none !important; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; background: none; }
	.main-nav .sub-menu a { padding: 10px 4px; }
	.nav-cta-mobile { display: flex; margin-top: 24px; width: 100%; }
	.qlist-label { display: none; }
	.hero { background: var(--paper); }
	.hero-in { grid-template-columns: 1fr; min-height: 0; gap: 0; }
	.hero-copy { padding: 48px 0 8px; }
	.hero-media { margin: 0 -24px 0 auto; min-height: 0; width: calc(100% + 24px); display: flex; justify-content: flex-end; }
	.hero-media img { position: static; height: auto; width: 100%; max-width: 460px; }
	.hero-card { bottom: 40px; }
	.trust-in { grid-template-columns: 1fr 1fr; }
	.trust-item:nth-child(3) { border-left: 0; }
	.trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.cat-grid { grid-template-columns: 1fr 1fr; }
	.pgrid, .pgrid-4 { grid-template-columns: repeat(2, 1fr); }
	.split, .about-intro, .product-in, .form-layout, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
	.product-media { position: static; }
	.form-aside { position: static; }
	.values { grid-template-columns: 1fr 1fr; }
	.prefooter-in { flex-direction: column; align-items: flex-start; }
	.toolbar { flex-direction: column; align-items: stretch; top: 66px; }
	.search-box { min-width: 0; }
	.section { padding: 72px 0; }
	.split { padding-top: 72px; }
}
@media (max-width: 680px) {
	.wrap { padding: 0 18px; }
	.topbar-note, .hide-sm { display: none; }
	.topbar-in { justify-content: center; }
	.topbar-contacts { gap: 18px; }
	.brand-mark { width: 42px; }
	.brand-word { width: 78px; }
	.hero-search { flex-wrap: nowrap; }
	.hero-search .btn { padding: 10px 14px; }
	.hero-stats dt { font-size: 1.25rem; }
	.hero-stats > div + div { padding-left: 14px; }
	.hero-stats > div { padding-right: 10px; }
	.trust-in { grid-template-columns: 1fr; }
	.trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
	.trust-item { padding: 18px 4px; }
	.cat-grid, .values { grid-template-columns: 1fr; }
	.cat-tile { min-height: 0; }
	.pgrid, .pgrid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.pcard-body { padding: 12px 12px 14px; }
	.pcard-desc { display: none; }
	.pcard-actions { flex-direction: column; align-items: stretch; gap: 8px; }
	.pcard-actions .qbtn { justify-content: center; }
	.lbl-name { font-size: .9rem; }
	.lbl-icon { width: 44px; height: 44px; margin-bottom: 8px; }
	.lbl-icon .icon { width: 24px; height: 24px; }
	.lbl-top { font-size: .62rem; top: 9px; left: 10px; right: 10px; }
	.lbl-cat { display: none; }
	.shead { flex-direction: column; align-items: flex-start; }
	.steps { grid-template-columns: 1fr; }
	.steps li, .steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
	.grid-2 { grid-template-columns: 1fr; }
	.fset { padding: 20px 16px; }
	.qtable-head { display: none; }
	.qrow { grid-template-columns: 1fr 36px; }
	.qrow-qty { grid-column: 1 / -1; grid-row: 2; }
	.qrow-del { grid-column: 2; grid-row: 1; }
	.qadd { flex-direction: column; }
	.spec > div { grid-template-columns: 130px 1fr; }
	.page-hero-row { flex-direction: column; align-items: flex-start; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-bottom-in { flex-direction: column; text-align: center; gap: 6px; padding-bottom: 24px; }
	.cat-row { grid-template-columns: 44px 1fr 20px; }
	.cat-row .cat-count { display: none; }
	.map iframe { height: 340px; }
	.wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
	.toast { bottom: 84px; }
	.product-actions > * { flex: 1 1 100%; }
	.section-tight { padding: 32px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Live search suggestions
   ========================================================================== */
.hero-search { position: relative; }
.suggest {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 80;
	background: #fff; border: 1px solid var(--line-2); border-radius: 12px;
	box-shadow: 0 18px 40px -16px rgba(35, 32, 27, .28);
	padding: 6px; max-height: 420px; overflow-y: auto; text-align: left;
}
.suggest[hidden] { display: none; }
.suggest-head { padding: 8px 10px 6px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.suggest-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px; border-radius: 8px; color: var(--ink); }
.suggest-item:hover, .suggest-item.is-active { background: var(--paper); color: var(--ink); }
.s-main { display: flex; flex-direction: column; min-width: 0; }
.s-name { font-weight: 600; font-size: .95rem; }
.s-name mark { background: var(--orange-t); color: var(--orange-d); border-radius: 3px; padding: 0 1px; }
.s-ar { font-size: .82rem; color: var(--muted); text-align: left; }
.s-meta { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--muted); white-space: nowrap; flex: none; }
.suggest-all, .suggest-none a { display: block; padding: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--orange-d); }
.suggest-all.is-active, .suggest-all:hover { background: var(--paper); border-radius: 8px; }
.suggest-none { padding: 10px; font-size: .92rem; color: var(--ink-2); }
.suggest-none a { padding: 8px 0 0; border: 0; }

.search-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; cursor: pointer; }
.search-toggle .icon { width: 18px; height: 18px; pointer-events: none; }
.search-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.hsearch { border-top: 1px solid var(--line); background: var(--bg); padding: 14px 0; }
.hsearch[hidden] { display: none; }
.hsearch-form { max-width: 720px; margin: 0 auto; }
.hsearch .suggest { max-height: 60vh; }
@media (max-width: 680px) {
	.s-meta .code { display: none; }
	.search-toggle { width: 38px; height: 38px; }
	.hsearch-form .btn { display: none; }
}

.mail-list { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.mail-list li { display: flex; flex-direction: column; font-size: .93rem; }
.mail-list li .muted { font-size: .8rem; }
.mail-list a { word-break: break-all; }
.mail-list li.is-main a { font-weight: 600; color: var(--ink); }
.cinfo-mails { min-width: 0; }

/* Arabic name + SEO text blocks */
.name-ar { font-size: 1.25rem; font-weight: 600; color: var(--ink-2); margin: -4px 0 12px; text-align: left; font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
.page-hero .name-ar { margin: 0 0 12px; }
.seo-block { padding: 64px 0; border-top: 1px solid var(--line); }
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.seo-block h2 { font-size: 1.35rem; }
.seo-block p { color: var(--ink-2); font-size: .97rem; }
.seo-ar, .section-ar { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
.seo-ar h2, .section-ar h2 { font-family: "Segoe UI", Tahoma, Arial, sans-serif; letter-spacing: 0; line-height: 1.4; }
.section-ar { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ar + .section-split .split { border-top: 0; }
.section-ar p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.9; }
.section-ar .eyebrow::before { order: 2; }
.section-ar .tlink .icon { transform: scaleX(-1); }
.section-ar .tlink:hover .icon { transform: scaleX(-1) translateX(3px); }
.ar-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.ar-cats { list-style: none; display: grid; gap: 10px; }
.ar-cats a { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; transition: border-color .2s; }
.ar-cats a:hover { border-color: var(--ink); color: inherit; }
.ar-cats strong { display: block; font-size: 1.05rem; }
.ar-cats small { color: var(--muted); font-size: .8rem; }
.ar-cats .cat-ico { width: 42px; height: 42px; }
@media (max-width: 980px) {
	.seo-grid, .ar-grid { grid-template-columns: 1fr; gap: 32px; }
}
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

/* ==========================================================================
   Photos
   ========================================================================== */
/* Page header photo */
.page-hero.has-media { position: relative; overflow: hidden; }
.page-hero.has-media > .wrap { position: relative; z-index: 1; }
.ph-media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.ph-media-in { position: absolute; inset: -12% 0; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.page-hero.has-media .lead, .page-hero.has-media h1 { max-width: 620px; }
.page-hero.has-media .page-hero-count { position: relative; z-index: 1; background: rgba(251,250,248,.88); padding: 8px 14px; border-radius: 10px; backdrop-filter: blur(6px); }

/* Product-name marquee */
.marquee { overflow: hidden; background: var(--ink); color: #E9E4DC; border-bottom: 1px solid #000; padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee span { font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; padding: 0 22px; }
.marquee i { width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Real stock */
.stock-sec { background: var(--ink); color: #fff; overflow: hidden; }
.stock-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.stock-sec h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); }
.stock-copy p { color: #CFC9C0; font-size: 1.05rem; }
.stock-stats { display: flex; gap: 0; margin: 28px 0 32px; border-top: 1px solid rgba(255,255,255,.14); }
.stock-stats > div { padding: 16px 28px 0 0; }
.stock-stats > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.stock-stats dt { font-family: var(--f-head); font-weight: 800; font-size: 1.8rem; color: #fff; line-height: 1.1; }
.stock-stats dd { margin: 4px 0 0; color: #A9A39A; font-size: .88rem; }
.stock-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 14px; }
.stock-tile { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #2E2A24; }
.st-a { grid-row: 1 / 3; }
.st-b { grid-column: 2; grid-row: 1 / 3; }
.st-c { grid-column: 3; grid-row: 1; }
.st-d { grid-column: 3; grid-row: 2; }
.st-img { position: absolute; inset: 0; }
.stock-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stock-tile:hover img { transform: scale(1.06); }
.stock-tile figcaption {
	position: absolute; left: 12px; bottom: 12px; z-index: 1;
	background: rgba(25, 23, 19, .72); color: #fff; backdrop-filter: blur(6px);
	font-size: .78rem; font-weight: 500; padding: 6px 10px; border-radius: 99px;
}
.stock-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35)); pointer-events: none; }

/* Quality */
.quality-in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.quality-media { position: relative; height: 560px; }
.qm-main { position: absolute; left: 0; top: 0; width: 72%; height: 100%; border-radius: 16px; overflow: hidden; }
.qm-small { position: absolute; right: 0; bottom: 40px; width: 50%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; border: 6px solid var(--bg); box-shadow: var(--shadow); }
.quality-media img { width: 100%; height: 100%; object-fit: cover; }
.qm-main img { height: 112%; margin-top: -6%; }
.qm-badge {
	position: absolute; right: 8%; top: 36px; display: flex; align-items: center; gap: 10px;
	background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow);
	animation: floaty 5s ease-in-out infinite;
}
.qm-badge .icon { width: 28px; height: 28px; color: var(--orange); }
.qm-badge span { font-size: .8rem; color: var(--muted); display: flex; flex-direction: column; }
.qm-badge strong { font-size: .95rem; color: var(--ink); }
.quality-copy p { color: var(--ink-2); font-size: 1.05rem; }

/* Photo band (About) */
.photo-band { position: relative; height: 460px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.photo-band-in { position: absolute; inset: -30% 0; }
.photo-band-in img { width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,23,19,.1) 30%, rgba(25,23,19,.85)); }
.photo-band-copy { position: relative; z-index: 1; padding-bottom: 48px; }
.photo-band-title { font-family: var(--f-head); font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; max-width: 760px; margin: 0; }

/* Pre-footer photo */
.prefooter-bg { position: absolute; inset: 0; overflow: hidden; }
.prefooter-bg > div { position: absolute; inset: -35% 0; }
.prefooter-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.prefooter-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,32,27,.95) 25%, rgba(35,32,27,.45)); }
.prefooter::after { z-index: 1; }
.prefooter-in { z-index: 2; }

@media (max-width: 980px) {
	.ph-media { width: 100%; opacity: .16; -webkit-mask-image: none; mask-image: none; }
	.stock-in, .quality-in { grid-template-columns: 1fr; gap: 40px; }
	.stock-grid { grid-template-rows: 200px 200px; }
	.quality-media { height: 440px; }
	.photo-band { height: 360px; }
}
@media (max-width: 680px) {
	.stock-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
	.st-a { grid-column: 1 / 3; grid-row: 1; }
	.st-b { grid-column: 1; grid-row: 2 / 4; }
	.st-c { grid-column: 2; grid-row: 2; }
	.st-d { grid-column: 2; grid-row: 3; }
	.quality-media { height: 360px; }
	.qm-badge { right: 0; top: 16px; }
	.stock-stats > div { padding-right: 16px; }
	.stock-stats > div + div { padding-left: 16px; }
	.marquee span { font-size: .92rem; padding: 0 16px; }
}

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(60px) scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }

/* Hero entrance */
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .27s; }
.hero-copy > *:nth-child(4) { animation-delay: .38s; }
.hero-copy > *:nth-child(5) { animation-delay: .48s; }
.hero-copy > *:nth-child(6) { animation-delay: .58s; }
.hero-media img { animation: slideIn 1.3s var(--ease) .1s both; }
.hero-card { animation: popIn .8s var(--ease) .9s both, floaty 5s ease-in-out 1.8s infinite; }
.page-hero > .wrap > * { animation: rise .8s var(--ease) both; }
.page-hero > .wrap > *:nth-child(2) { animation-delay: .08s; }
.page-hero > .wrap > *:nth-child(3) { animation-delay: .16s; }
.page-hero > .wrap > *:nth-child(4) { animation-delay: .24s; }
.ph-media { animation: fadeIn 1.4s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } }

/* Scroll reveal (only when JavaScript is running) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--rv-d, 0ms), transform .9s var(--ease) var(--rv-d, 0ms); }
.js .rv.rv-img { transform: scale(.96); }
.js .rv.in { opacity: 1; transform: none; }

/* Header shrinks on scroll */
.header-in { transition: min-height .3s var(--ease); }
.site-header { transition: box-shadow .3s var(--ease), background .3s; }
body.is-scrolled .site-header { box-shadow: 0 8px 24px -16px rgba(35,32,27,.35); }
@media (min-width: 981px) {
	body.is-scrolled .header-in { min-height: 64px; }
	body.is-scrolled .toolbar { top: 65px; }
}

/* Image hover zoom on product cards with real photos */
.pvisual.has-img img { transition: transform .9s var(--ease); }
.pcard:hover .pvisual.has-img img { transform: scale(1.05); }

/* Smooth page-to-page transition (supported browsers) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .28s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .45s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
	.js .rv { opacity: 1; transform: none; }
	.marquee-track { animation: none; }
}
.photo-band .eyebrow.on-dark { color: #FFB27F; }
