/* ==========================================================================
   Culinox Steel — main stylesheet
   Uses logical properties throughout so the layout mirrors for Arabic (RTL).
   ========================================================================== */

:root {
	--ink: #0b0c0f;
	--ink-2: #121418;
	--ink-3: #1a1d23;
	--ink-4: #252931;
	--line: rgba(255, 255, 255, .09);
	--line-2: rgba(255, 255, 255, .16);
	--text: #eef0f3;
	--muted: #9aa1ab;
	--steel: #cfd4da;
	--steel-2: #8b939d;
	--red: #d6112c;
	--red-2: #a10c21;
	--red-glow: rgba(214, 17, 44, .45);
	--gold: #cfa954;
	--paper: #f4f5f7;
	--wa: #25d366;
	--radius: 18px;
	--radius-sm: 10px;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-display: "Archivo", system-ui, sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, monospace;
	color-scheme: dark;
}

html[dir="rtl"] {
	--f-body: "Cairo", system-ui, sans-serif;
	--f-display: "Cairo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-anchor: none; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.3; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 800; font-stretch: 85%; }
.h3, h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--red); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.hp { position: absolute !important; inset-inline-start: -9999px; opacity: 0; }

.kicker {
	display: inline-flex; align-items: center; gap: .6em;
	font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--red); margin-bottom: 1.1em;
}
html[dir="rtl"] .kicker { font-family: var(--f-body); letter-spacing: 0; font-size: .95rem; font-weight: 700; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.kicker .dot { display: none; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .95em 1.5em; border-radius: 999px; border: 1px solid transparent;
	font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap;
	transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { background: linear-gradient(180deg, #e8203b, var(--red-2)); color: #fff; box-shadow: 0 10px 30px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-red:hover { box-shadow: 0 16px 40px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: rgba(255,255,255,.06); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { border-color: var(--line-2); background: transparent; }
.btn-line:hover { border-color: var(--red); color: #fff; background: rgba(214,17,44,.1); }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-sm { padding: .65em 1.1em; font-size: .86rem; }
.btn-block { width: 100%; }
html[dir="rtl"] .ic-arrow { transform: scaleX(-1); }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }

/* ---------- Header ---------- */
.site-head {
	position: fixed; inset-inline: 0; top: 0; z-index: 50;
	transition: background .3s, border-color .3s, backdrop-filter .3s;
	border-bottom: 1px solid transparent;
}
.site-head.scrolled { background: rgba(11,12,15,.78); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.site-head .brand { flex: none; display: flex; align-items: center; line-height: 0; }
.site-head .brand img.cx-logo, .site-head .brand img {
	height: var(--logo-h, 46px) !important; width: auto !important;
	max-width: none !important; max-height: none !important; min-width: 0 !important;
	object-fit: contain; margin: 0 !important; padding: 0 !important; border: 0 !important;
}
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: .5em .9em; border-radius: 999px; font-size: .92rem; color: #cfd3d9; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
	border: 1px solid var(--line-2); font-size: .82rem; font-weight: 700; font-family: var(--f-mono);
}
.lang-switch span { opacity: .45; transition: opacity .2s; }
.lang-switch span:last-child { font-family: "Cairo", sans-serif; font-size: .95rem; line-height: 1; }
.lang-switch span.on { opacity: 1; color: #fff; }
.lang-switch i { width: 1px; height: 14px; background: var(--line-2); }
/* Header controls: reset anything WordPress or plugins apply to generic buttons/links */
.site-head .head-actions > * {
	position: relative !important; float: none !important; inset: auto !important; margin: 0 !important;
	transform: none; box-sizing: border-box !important; flex: none; text-transform: none !important;
	letter-spacing: normal; min-height: 0 !important; line-height: 1 !important; text-decoration: none !important;
}
.site-head .quote-btn {
	-webkit-appearance: none !important; appearance: none !important;
	display: inline-flex !important; align-items: center; gap: 10px;
	height: 44px !important; width: auto !important; padding: 0 16px 0 12px !important;
	border-radius: 999px !important; border: 1px solid var(--line-2) !important;
	background: rgba(255,255,255,.04) !important; color: #e9ecef !important;
	box-shadow: none !important; font: 600 .88rem/1 var(--f-body) !important; cursor: pointer;
	transition: border-color .25s, background .25s, color .25s;
}
.site-head .quote-btn:hover { border-color: var(--red) !important; background: rgba(214,17,44,.12) !important; color: #fff !important; }
.site-head .quote-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.quote-ic { position: relative; display: grid; place-items: center; width: 22px; height: 22px; }
.quote-ic .ic { width: 20px; height: 20px; }
.quote-btn b {
	position: absolute; top: -9px; inset-inline-end: -10px; min-width: 18px; height: 18px; padding: 0 5px;
	display: grid; place-items: center; border-radius: 99px; background: var(--red); color: #fff;
	font: 700 .66rem/1 var(--f-mono); box-shadow: 0 0 0 2px var(--ink), 0 4px 10px -2px var(--red-glow);
	transform: scale(0); transition: transform .3s var(--ease);
}
.quote-btn.has b { transform: scale(1); }
.quote-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
.quote-label { white-space: nowrap; }
.site-head .lang-switch { height: 44px; padding: 0 14px !important; background: transparent !important; color: #e9ecef !important; }
.site-head .menu-btn { -webkit-appearance: none !important; appearance: none !important; width: 44px !important; height: 44px !important; padding: 0 !important; border-radius: 50% !important; border: 1px solid var(--line-2) !important; background: transparent !important; color: #e9ecef !important; box-shadow: none !important; }
.site-head .btn-red { height: 44px; }
.site-head .menu-btn { display: none !important; } .menu-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; place-items: center; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: radial-gradient(120% 80% at 70% 40%, #1b1e25 0%, var(--ink) 60%); }
.hero-canvas { position: absolute; inset: 0; z-index: -2; }
.hero-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(11,12,15,.92) 0%, rgba(11,12,15,.65) 34%, rgba(11,12,15,0) 62%),
		linear-gradient(0deg, var(--ink) 0%, rgba(11,12,15,0) 26%); }
html[dir="rtl"] .hero-shade { background:
		linear-gradient(270deg, rgba(11,12,15,.92) 0%, rgba(11,12,15,.65) 34%, rgba(11,12,15,0) 62%),
		linear-gradient(0deg, var(--ink) 0%, rgba(11,12,15,0) 26%); }
.hero-inner { padding-block: 140px 120px; pointer-events: none; }
.hero-inner > * { pointer-events: auto; }
.hero-title { font-size: clamp(2.7rem, 7.4vw, 6.6rem); font-weight: 900; font-stretch: 78%; text-transform: uppercase; max-width: 11ch; margin-bottom: .35em; }
html[dir="rtl"] .hero-title { text-transform: none; font-size: clamp(2.5rem, 6.4vw, 5.6rem); max-width: 12ch; }
.hero-title span { display: block; }
.steel-text {
	background: linear-gradient(100deg, #8c939c 0%, #f5f7f9 22%, #a3aab3 40%, #ffffff 55%, #7d848d 75%, #d9dde2 100%);
	background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
	animation: sheen 6s linear infinite;
}
@keyframes sheen { to { background-position: -220% 0; } }
.hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: #c4c9d0; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hud { position: absolute; inset-inline: var(--gutter); bottom: 28px; display: flex; justify-content: space-between; align-items: end; gap: 20px; pointer-events: none; font-family: var(--f-mono); font-size: .72rem; color: #8d949e; letter-spacing: .06em; }
html[dir="rtl"] .hud { font-family: var(--f-body); letter-spacing: 0; }
.hud-live { display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hud-coords { display: flex; gap: 18px; font-family: var(--f-mono); }
.hud-coords b { color: #e6e9ed; font-weight: 600; display: inline-block; min-width: 6ch; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #8d949e; }
.scroll-cue span { width: 1px; height: 38px; background: linear-gradient(var(--red), transparent); animation: drip 1.8s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--red); overflow: hidden; transform: rotate(-1.2deg) scale(1.03); margin-block: -10px 0; position: relative; z-index: 2; box-shadow: 0 20px 60px -20px var(--red-glow); }
.marquee-track { display: flex; gap: 28px; width: max-content; padding-block: 16px; animation: marquee 32s linear infinite; font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.5rem); text-transform: uppercase; font-stretch: 85%; white-space: nowrap; }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; text-transform: none; }
.marquee-track i { font-style: normal; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Section headers ---------- */
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 820px; }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }

/* ---------- Process ---------- */
.process { background:
	linear-gradient(var(--ink) 0, transparent 30%),
	repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.03) 79px 80px),
	repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,255,255,.03) 79px 80px); }
.proc-line { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proc-beam { position: absolute; top: 38px; inset-inline: 0; height: 2px; background: var(--line); z-index: 0; }
.proc-beam i { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p, 0%); background: linear-gradient(90deg, transparent, var(--red) 40%, #ffb3be); box-shadow: 0 0 16px var(--red); transition: width .2s linear; }
html[dir="rtl"] .proc-beam i { background: linear-gradient(270deg, transparent, var(--red) 40%, #ffb3be); }
.proc-step { position: relative; z-index: 1; padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.proc-step:hover { border-color: rgba(214,17,44,.5); transform: translateY(-4px); }
.proc-step::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 120px at var(--mx, 50%) 0%, rgba(214,17,44,.16), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.proc-step:hover::after { opacity: 1; }
.proc-num { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); margin-bottom: 16px; }
.proc-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(214,17,44,.12); color: #ff4a62; margin-bottom: 18px; border: 1px solid rgba(214,17,44,.3); }
.proc-ic .ic { width: 26px; height: 26px; }
.proc-step h3 { font-size: 1.3rem; }
.proc-step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-tile {
	position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 360px; border-radius: var(--radius); overflow: hidden;
	background: radial-gradient(100% 70% at 50% 30%, #ffffff 0%, #e6e9ed 70%, #cfd4da 100%); color: var(--ink);
	transform-style: preserve-3d; transition: box-shadow .4s, transform .4s var(--ease);
}
.cat-tile:hover { box-shadow: 0 30px 60px -30px rgba(214,17,44,.6); }
.cat-tile img { width: 72%; max-height: 230px; object-fit: contain; margin: 30px auto 0; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.cat-tile:hover img { transform: scale(1.06) translateZ(30px); }
.cat-no { position: absolute; top: 18px; inset-inline-start: 20px; font-family: var(--f-mono); font-size: .8rem; color: var(--red); font-weight: 600; }
.cat-info { display: grid; gap: 4px; padding: 18px 22px 22px; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.9) 30%); }
.cat-info b { font-size: 1.3rem; font-family: var(--f-display); font-weight: 800; }
.cat-info small { color: #5d646e; font-size: .88rem; line-height: 1.45; }
.cat-info em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--red); margin-top: 6px; }

/* ---------- Product cards ---------- */
.card {
	position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
	background: var(--ink-2); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
	transform-style: preserve-3d;
}
.card:hover { border-color: rgba(214,17,44,.45); box-shadow: 0 30px 60px -35px rgba(214,17,44,.55); }
.card-img { position: relative; display: block; aspect-ratio: 1 / .86; background: radial-gradient(90% 80% at 50% 40%, #fff, #e7eaee); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-sku { position: absolute; top: 12px; inset-inline-start: 12px; font-family: var(--f-mono); font-size: .7rem; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff; }
.card-scan { position: absolute; inset-inline: 0; top: 0; height: 2px; background: var(--red); box-shadow: 0 0 14px 2px var(--red); opacity: 0; }
.card:hover .card-scan { animation: scan 1.1s var(--ease); }
@keyframes scan { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.card-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red); font-weight: 700; }
html[dir="rtl"] .card-cat { letter-spacing: 0; font-size: .82rem; }
.card h3 { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.card-sub { color: var(--muted); font-size: .88rem; margin: 0; }
.card-dims { display: flex; gap: 10px; align-items: center; margin: 8px 0 14px; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); border: 1px dashed var(--line-2); }
.card-dims .ic { color: var(--red); }
.card-dims span { display: grid; line-height: 1.3; }
.card-dims small { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
html[dir="rtl"] .card-dims small { text-transform: none; letter-spacing: 0; font-size: .74rem; }
.card-dims b { font-size: .86rem; font-weight: 600; font-family: var(--f-mono); }
html[dir="rtl"] .card-dims b { font-family: var(--f-body); }
.card-add { margin-top: auto; align-self: flex-start; }
.card-add.added { background: var(--red); border-color: var(--red); }

/* ---------- Featured strip ---------- */
.featured { padding-block: 0 clamp(60px, 8vw, 110px); }
.feat-track { display: flex; gap: 16px; overflow-x: auto; padding: 8px var(--gutter) 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--red) transparent; cursor: grab; }
.feat-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.feat-track.dragging * { pointer-events: none; }
.feat-track .card { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; }

/* ---------- Configurator ---------- */
.cfg { background: linear-gradient(180deg, var(--ink) 0%, #101318 100%); border-top: 1px solid var(--line); }
.cfg-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cfg-form { display: grid; gap: 18px; margin-top: 28px; }
.range { display: grid; gap: 8px; }
.range > span { display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; }
.range b { font-family: var(--f-mono); color: #fff; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--red) var(--fill, 50%), var(--ink-4) var(--fill, 50%)); outline-offset: 6px; }
html[dir="rtl"] input[type="range"] { background: linear-gradient(270deg, var(--red) var(--fill, 50%), var(--ink-4) var(--fill, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #b8bec6 60%, #7e858f); border: 2px solid var(--red); cursor: grab; box-shadow: 0 0 0 6px rgba(214,17,44,.15); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #dfe3e8; border: 2px solid var(--red); cursor: grab; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; cursor: pointer; transition: all .2s; }
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--steel-2); transition: all .2s; }
.chip input:checked + span { background: rgba(214,17,44,.14); border-color: var(--red); color: #fff; }
.chip input:checked + span::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 8px var(--red); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.finish { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-weight: 600; font-size: .95rem; }
.swatch { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 400; font-size: .88rem; color: var(--muted); }
.swatch input { position: absolute; opacity: 0; }
.swatch i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--line-2); transition: all .2s; }
.sw-brushed i { background: repeating-linear-gradient(90deg, #aeb4bb 0 2px, #c9ced4 2px 4px); }
.sw-mirror i { background: linear-gradient(135deg, #fff, #8d949c 45%, #f2f4f6 55%, #6f767e); }
.sw-gold i { background: linear-gradient(135deg, #f6dc94, #b88a2e 50%, #f3d27e); }
.swatch input:checked + i { border-color: var(--red); box-shadow: 0 0 0 3px rgba(214,17,44,.3); }
.swatch input:checked ~ span { color: #fff; }
.cfg-stage { position: relative; aspect-ratio: 1.15 / 1; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(70% 70% at 50% 45%, #232831, #0e1014); }
.cfg-canvas { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.cfg-canvas:active { cursor: grabbing; }
.cfg-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.blueprint { position: absolute; inset: 0; pointer-events: none; background:
	repeating-linear-gradient(90deg, transparent 0 39px, rgba(120,170,255,.05) 39px 40px),
	repeating-linear-gradient(0deg, transparent 0 39px, rgba(120,170,255,.05) 39px 40px); mix-blend-mode: screen; }
.cfg-dims { position: absolute; top: 18px; inset-inline-start: 18px; font-family: var(--f-mono); font-size: .9rem; padding: 8px 12px; border-radius: 10px; background: rgba(0,0,0,.45); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.cfg-hint { position: absolute; bottom: 16px; inset-inline-end: 18px; font-size: .78rem; color: var(--muted); }

/* ---------- Engraving ---------- */
.engrave { background: #0e1014; overflow: hidden; }
.eng-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.eng-plate { position: relative; border-radius: 20px; padding: 10px; background: linear-gradient(145deg, #3a3f47, #15181d); box-shadow: 0 40px 80px -40px #000, inset 0 1px 0 rgba(255,255,255,.12); }
.eng-plate canvas { width: 100%; height: auto; display: block; border-radius: 12px; }
.eng-form { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.eng-form input { flex: 1 1 220px; min-width: 0; padding: .95em 1.2em; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); }
.eng-form input:focus { outline: none; border-color: var(--red); }

/* ---------- About / stats / locations ---------- */
.about { background: radial-gradient(60% 50% at 85% 10%, rgba(214,17,44,.12), transparent 70%), var(--ink); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: end; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-block: clamp(40px, 6vw, 72px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 30px 26px; background: var(--ink-2); display: grid; gap: 6px; }
.stat b { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; font-stretch: 80%; line-height: 1; background: linear-gradient(180deg, #fff, #8b939d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .92rem; }
.loc-title { font-size: 1.4rem; margin-bottom: 18px; }
.locs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.loc { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2); }
.loc .ic { color: var(--red); width: 22px; height: 22px; margin-bottom: 12px; }
.loc b { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.loc p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--ink), #15080b); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list a, .contact-list .as-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: border-color .2s, background .2s; }
.contact-list a:hover { border-color: var(--red); background: rgba(214,17,44,.08); }
.contact-list .ic { width: 22px; height: 22px; color: var(--red); }
.contact-list span { display: grid; line-height: 1.35; }
.contact-list small { color: var(--muted); font-size: .78rem; }
.quote-form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 34px); border-radius: 24px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); align-self: start; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: grid; gap: 6px; font-size: .86rem; color: var(--muted); }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: .85em 1em; border-radius: 12px; border: 1px solid var(--line-2); background: var(--ink); color: var(--text); font-size: .98rem; transition: border-color .2s; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--red); }
.quote-form textarea { resize: vertical; }
.form-note { padding: 12px 14px; border-radius: 12px; margin: 0; }
.form-note.ok { background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.4); }
.form-note.err { background: rgba(214,17,44,.12); border: 1px solid rgba(214,17,44,.4); }

/* ---------- Footer ---------- */
.site-foot { position: relative; background: #08090b; border-top: 1px solid var(--line); padding-top: 70px; font-size: .92rem; }
.foot-cut { position: absolute; top: -1px; inset-inline: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 50px; }
.foot-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.foot-tag { color: #fff; font-weight: 700; }
.site-foot h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
html[dir="rtl"] .site-foot h4 { letter-spacing: 0; font-size: .95rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #c7ccd2; }
.site-foot ul a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 10px; align-items: center; }
.foot-contact .ic { color: var(--red); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

/* ---------- Floating WhatsApp, drawer, toast ---------- */
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); animation: fade .3s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--ink-2); border-inline-start: 1px solid var(--line-2); animation: slide .4s var(--ease); }
html[dir="rtl"] .drawer-panel { animation-name: slide-rtl; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }
@keyframes slide-rtl { from { transform: translateX(-100%); } }
.drawer-panel > header { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-panel h3 { margin: 0; display: flex; gap: 10px; align-items: center; }
.drawer-panel h3 .ic { color: var(--red); }
.quote-list { list-style: none; margin: 0; padding: 14px 22px; flex: 1; overflow-y: auto; display: grid; gap: 10px; align-content: start; }
.quote-list .empty-q { color: var(--muted); padding: 30px 0; text-align: center; }
.q-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.q-item img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.q-item .q-thumb { width: 64px; height: 64px; border-radius: 10px; background: repeating-linear-gradient(90deg, #aeb4bb 0 2px, #c9ced4 2px 4px); display: grid; place-items: center; color: var(--ink); }
.q-item b { display: block; font-size: .9rem; line-height: 1.3; }
.q-item small { color: var(--muted); font-size: .78rem; }
.q-ctrl { display: grid; justify-items: end; gap: 6px; }
.q-qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
.q-qty button { width: 28px; height: 28px; background: none; border: 0; cursor: pointer; color: #fff; }
.q-qty span { min-width: 20px; text-align: center; font-family: var(--f-mono); font-size: .85rem; }
.q-rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .78rem; }
.drawer-panel > footer { display: grid; gap: 10px; padding: 18px 22px 24px; border-top: 1px solid var(--line); }
.toast { position: fixed; bottom: 96px; left: 50%; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; opacity: 0; pointer-events: none; transition: all .35s var(--ease); z-index: 90; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Catalog page ---------- */
.page-hero { position: relative; padding: 160px 0 70px; overflow: hidden; background: radial-gradient(80% 100% at 80% 0%, rgba(214,17,44,.2), transparent 60%), var(--ink); border-bottom: 1px solid var(--line); }
.page-hero-sm { padding-bottom: 40px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; font-stretch: 80%; }
.page-hero-grid { position: absolute; inset: 0; opacity: .6; background:
	repeating-linear-gradient(90deg, transparent 0 59px, rgba(255,255,255,.04) 59px 60px),
	repeating-linear-gradient(0deg, transparent 0 59px, rgba(255,255,255,.04) 59px 60px);
	mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.page-hero .wrap { position: relative; }
.catalog { padding-top: 40px; }
.cat-bar { position: sticky; top: 76px; z-index: 20; display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 0; margin-bottom: 26px; background: rgba(11,12,15,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 600px; min-width: 0; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: .88rem; transition: all .2s; }
.filter small { opacity: .55; font-family: var(--f-mono); margin-inline-start: 4px; }
.filter:hover { border-color: #fff; }
.filter.on { background: var(--red); border-color: var(--red); color: #fff; }
.filter.on small { opacity: .85; }
.search { position: relative; flex: 0 1 280px; }
.search .ic { position: absolute; top: 50%; inset-inline-start: 14px; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; padding: .7em 1em; padding-inline-start: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--ink-2); }
.search input:focus { outline: none; border-color: var(--red); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.grid .card.hide { display: none; }
.grid .card.pop { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.empty, .note { color: var(--muted); text-align: center; margin-top: 30px; display: flex; gap: 8px; justify-content: center; align-items: center; }
.note .ic { color: var(--red); }

/* ---------- Single product ---------- */
.product { padding: 130px 0 70px; background: radial-gradient(60% 60% at 30% 40%, rgba(214,17,44,.12), transparent 70%); }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); margin-bottom: 30px; }
.crumbs a:hover { color: #fff; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.product-media { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: radial-gradient(80% 80% at 50% 40%, #fff, #dfe3e8); cursor: zoom-in; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: transform .3s ease-out; }
.product-media.zoom img { transform: scale(1.8); }
.product-ring { position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(214,17,44,.35); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.product-info h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 900; font-stretch: 82%; }
.product-sub { font-size: 1.15rem; color: var(--muted); }
.specs { display: grid; gap: 1px; margin: 26px 0; border-radius: 16px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; background: var(--ink-2); }
.specs dt { color: var(--muted); font-size: .9rem; }
.specs dd { margin: 0; font-weight: 700; text-align: end; }
.product-desc { color: #c7ccd2; }
.product-info .note { justify-content: flex-start; text-align: start; margin: 0 0 24px; }
.product-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.related { padding-top: 40px; }
.related .wrap { margin-bottom: 16px; }

/* ---------- 404 / generic ---------- */
.nf { min-height: 80vh; display: grid; align-items: center; text-align: center; }
.nf-code { font-size: clamp(6rem, 20vw, 14rem); font-weight: 900; font-stretch: 70%; line-height: .9; margin: 0; background: linear-gradient(180deg, #fff, #444b54); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose { max-width: 760px; }
.prose a { color: #ff5b72; text-decoration: underline; }
.post-item { padding-block: 20px; border-bottom: 1px solid var(--line); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; }
	.marquee-track, .steel-text, .product-ring, .wa-float::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.nav { position: fixed; top: 76px; inset-inline: 0; flex-direction: column; gap: 0; padding: 12px var(--gutter) 24px; background: rgba(11,12,15,.97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .4s var(--ease); margin: 0; }
	.nav.open { transform: none; }
	.nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
	.site-head .menu-btn { display: grid !important; place-items: center; }
	.site-head .brand img.cx-logo, .site-head .brand img { height: min(var(--logo-h, 46px), 40px) !important; }
	.head-actions { margin-inline-start: auto; }
	.cfg-grid, .eng-grid, .about-grid, .contact-grid, .product-grid { grid-template-columns: 1fr; }
	.eng-plate { order: 2; }
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	.foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.hide-sm { display: none !important; }
	.quote-label { display: none; }
	.site-head .quote-btn { width: 44px !important; padding: 0 !important; justify-content: center; }
	.head-actions { gap: 8px; }
	.site-head .lang-switch { padding: 0 10px !important; }
	.proc-line { grid-template-columns: 1fr; }
	.proc-beam { top: 0; bottom: 0; inset-inline-start: 38px; inset-inline-end: auto; width: 2px; height: auto; }
	.proc-beam i { width: 100%; height: var(--p, 0%); inset-inline: 0; bottom: auto; background: linear-gradient(180deg, transparent, var(--red) 40%, #ffb3be); }
	.cat-grid, .locs { grid-template-columns: 1fr; }
	.cat-tile { min-height: 300px; }
	.stats { grid-template-columns: 1fr 1fr; }
	.f-row { grid-template-columns: 1fr; }
	.foot-grid { grid-template-columns: 1fr; }
	.hud-coords { display: none; }
	.hero-inner { padding-block: 120px 110px; }
	.hero-shade, html[dir="rtl"] .hero-shade { background: linear-gradient(0deg, var(--ink) 0%, rgba(11,12,15,.75) 45%, rgba(11,12,15,.35) 100%); }
	.scroll-cue { display: none; }
	.grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.card-body { padding: 12px; }
	.card h3 { font-size: .95rem; }
	.card-dims { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px; }
	.card-add span { display: none; }
	.cat-bar { top: 76px; }
	.search { flex-basis: 100%; }
	.wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
}

/* ---------- Protection against global button/image styles from WordPress or plugins ---------- */
:is(.btn, .filter, .icon-btn, .link-btn, .q-qty button, .q-rm, .card-add, .drawer-panel button) {
	position: relative !important; inset: auto !important; float: none !important;
	margin: 0 !important; text-transform: none !important; min-height: 0 !important;
	-webkit-appearance: none !important; appearance: none !important; box-sizing: border-box !important;
	letter-spacing: normal;
}
:is(.btn, .filter, .link-btn, .card-add) { width: auto !important; height: auto !important; line-height: 1.2 !important; }
.btn-block { width: 100% !important; }
.drawer-panel > footer .btn { width: 100% !important; }
.icon-btn { width: 40px !important; height: 40px !important; padding: 0 !important; display: grid !important; place-items: center; background: transparent !important; color: #fff !important; }
.q-qty button { width: 28px !important; height: 28px !important; padding: 0 !important; display: grid !important; place-items: center; background: none !important; border: 0 !important; color: #fff !important; border-radius: 50% !important; }
.q-rm, .link-btn { background: none !important; border: 0 !important; padding: 4px !important; color: var(--muted) !important; width: auto !important; height: auto !important; }
.chip input, .swatch input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; }
.card-img img, .product-media img { max-width: none !important; }
.q-item img { width: 64px !important; height: 64px !important; max-width: none !important; }

/* ---------- Configurator: typed sizes, actions, share panel ---------- */
.range { display: grid; gap: 8px; }
.range-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.num-wrap { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); transition: border-color .2s; }
.num-wrap:focus-within { border-color: var(--red); }
.num-wrap em { font-style: normal; font-family: var(--f-mono); font-size: .82rem; color: var(--muted); }
.num { width: 4.6ch; padding: 4px 6px !important; border: 0 !important; background: transparent !important; color: #fff !important; font: 600 1rem var(--f-mono) !important; text-align: end; -moz-appearance: textfield; outline: none; box-shadow: none !important; margin: 0 !important; height: auto !important; }
.num::-webkit-outer-spin-button, .num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.range-scale { display: flex; justify-content: space-between; font: .7rem var(--f-mono); color: #5f6670; margin-top: -2px; }
.range-scale i { font-style: normal; }
html[dir="rtl"] .range-scale { flex-direction: row-reverse; }
.cfg-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.cfg-share-fab { position: absolute !important; top: 16px !important; inset-inline-end: 16px !important; left: auto; width: 44px !important; height: 44px !important; padding: 0 !important; margin: 0 !important; border-radius: 50% !important; display: grid !important; place-items: center; background: rgba(0,0,0,.5) !important; border: 1px solid var(--line-2) !important; color: #fff !important; cursor: pointer; backdrop-filter: blur(6px); transition: border-color .2s, background .2s; }
html[dir="ltr"] .cfg-share-fab { right: 16px !important; } html[dir="rtl"] .cfg-share-fab { left: 16px !important; right: auto !important; }
.cfg-share-fab:hover { border-color: var(--red) !important; background: rgba(214,17,44,.25) !important; }
.share-modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; }
.share-modal[hidden] { display: none; }
.share-modal .drawer-bg { position: absolute; inset: 0; }
.share-panel { position: relative; width: min(920px, 100%); max-height: calc(100svh - 32px); overflow: auto; border-radius: 24px; background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px #000; animation: pop .35s var(--ease); }
.share-panel > header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--ink-2); z-index: 1; }
.share-panel h3 { margin: 0; display: flex; gap: 10px; align-items: center; }
.share-panel h3 .ic { color: var(--red); }
.share-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; padding: 22px; }
.share-preview { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #0e1014; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.share-preview img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain; display: block; }
.share-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--red); }
.share-loading[hidden] { display: none; }
.share-loading .ic { width: 40px; height: 40px; animation: spin 1.2s linear infinite; }
.share-opts { display: grid; gap: 14px; align-content: start; }
.share-label { margin: 0; font-weight: 700; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
html[dir="rtl"] .share-label { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--ink); border: 1px solid var(--line); }
.seg input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; }
.seg span { display: block; text-align: center; padding: 10px 8px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--muted); transition: all .2s; }
.seg input:checked + span { background: var(--red); color: #fff; box-shadow: 0 8px 20px -10px var(--red-glow); }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.share-other { display: grid; gap: 10px; }
.share-other[hidden] { display: none; }
.share-other label { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); }
.share-other input { width: 100%; padding: .75em 1em; border-radius: 12px; border: 1px solid var(--line-2); background: var(--ink); color: var(--text); }
.share-other input:focus { outline: none; border-color: var(--red); }
.share-main { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-main .btn { width: 100% !important; padding: 1em !important; }
.btn-mail { background: #fff; color: var(--ink); }
.share-more { display: flex; flex-wrap: wrap; gap: 8px; }
.share-more .btn[hidden] { display: none !important; }
.share-note { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) {
	.share-body { grid-template-columns: 1fr; padding: 16px; }
	.share-preview { aspect-ratio: auto; max-height: 46vh; }
	.cfg-actions { grid-template-columns: 1fr; }
}
