/* ============================================================
 * KaiYun Apparel — global stylesheet (responsive, RTL, all devices)
 * ============================================================ */
:root {
  --navy: #0a1a2e;
  --navy2: #142a44;
  --ink: #182430;
  --accent: #10b981;
  --accent-d: #059669;
  --accent-l: #d1fae5;
  --orange: #f97316;
  --teal: #0d9488;
  --bg: #f6f8fb;
  --card: #ffffff;
  --line: #e4e9f0;
  --muted: #5b6b7c;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(10, 26, 46, .08);
  --shadow-lg: 0 16px 48px rgba(10, 26, 46, .14);
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Inter', 'Noto Sans', 'Noto Sans Thai', 'Noto Sans SC', 'Noto Naskh Arabic', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.65; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
ul { list-style: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section.alt { background: #fff; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--navy); margin-bottom: 12px; letter-spacing: -.5px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: .95rem; cursor: pointer; border: 0; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(16, 185, 129, .35); }
.btn-primary:hover { background: var(--accent-d); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy2); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fb958; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.navbar { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; color: var(--navy); }
.logo .mark { width: 36px; height: 36px; }
.logo small { display: block; font-size: .62rem; font-weight: 600; color: var(--muted); letter-spacing: 1.6px; text-transform: uppercase; line-height: 1.1; }
nav.main { display: flex; gap: 26px; }
nav.main a { font-weight: 600; color: var(--navy2); font-size: .95rem; position: relative; padding: 6px 0; }
nav.main a:hover, nav.main a.active { color: var(--accent); }
nav.main a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--accent); }
.nav-tools { display: flex; align-items: center; gap: 12px; }
.lang-switch { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: .85rem; font-weight: 700; color: var(--navy); cursor: pointer; }
.lang-btn .caret { font-size: .6rem; color: var(--muted); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 190px; padding: 6px; display: none; max-height: 420px; overflow-y: auto; }
.lang-switch.open .lang-menu { display: block; }
.lang-menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 12px; border: 0; background: none; border-radius: 8px; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--navy2); text-align: left; }
.lang-menu button:hover { background: var(--bg); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2.6px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- primary campaign visual ---------- */
.promo-hero { position: relative; min-height: clamp(620px, 45.7vw, 848px); overflow: hidden; background: #081b2d; color: #fff; }
.promo-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.promo-hero-inner { position: relative; z-index: 1; min-height: inherit; padding-top: clamp(72px, 7vw, 120px); padding-bottom: clamp(48px, 5vw, 86px); display: flex; flex-direction: column; justify-content: space-between; }
.promo-copy { width: min(49%, 610px); }
.promo-badge { display: inline-flex; padding: 9px 18px; margin-bottom: 28px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .88rem; font-weight: 700; }
.promo-copy h1 { font-size: clamp(2rem, 3.25vw, 3.65rem); line-height: 1.18; letter-spacing: -.03em; margin-bottom: 22px; text-wrap: balance; }
.promo-copy h1 em { color: var(--accent); font-style: normal; }
.promo-copy p { color: #c8d5e5; font-size: clamp(.95rem, 1.05vw, 1.12rem); line-height: 1.8; margin-bottom: 28px; }
.hero-shipping-offer { position: absolute; top: 59%; right: 0; width: 49%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #fff; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.15vw, 18px); font-size: clamp(.9rem, 1.2vw, 1.08rem); font-weight: 900; line-height: 1.1; text-align: center; }
.shipping-tag { padding: 0 0 5px; border-bottom: 3px solid #aaff18; border-radius: 0; background: transparent; color: #aaff18; font-size: .75em; font-style: italic; letter-spacing: .02em; white-space: nowrap; }
.shipping-copy { color: #fff; font-size: 1.1em; font-style: italic; white-space: nowrap; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.shipping-price { color: #ff5a0a; font-size: clamp(2.35rem, 3.6vw, 3.9rem); font-style: italic; line-height: .9; white-space: nowrap; text-shadow: 0 0 18px rgba(255,90,10,.28); }
.shipping-result { padding: 0 0 5px; border-bottom: 3px solid var(--accent); border-radius: 0; background: transparent; color: #fff; font-size: 1.1em; font-style: italic; letter-spacing: .01em; white-space: nowrap; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.promo-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 58px; }
.promo-stat { min-height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.075); backdrop-filter: blur(5px); text-align: center; }
.promo-stat strong { color: var(--accent); font-size: 1.65rem; line-height: 1.2; }
.promo-stat span { margin-top: 8px; color: #d4dfed; font-size: .84rem; }

/* ---------- features ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .ic { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.card h3 { color: var(--navy); font-size: 1.06rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .9rem; }

/* ---------- industries ---------- */
.ind-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-weight: 700; color: var(--navy2); box-shadow: var(--shadow); }
.ind-item .em { font-size: 1.6rem; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -16px; left: 20px; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 800; border-radius: 8px; padding: 5px 11px; letter-spacing: 1px; }
.step h3 { font-size: 1rem; color: var(--navy); margin-bottom: 7px; }
.step p { font-size: .88rem; color: var(--muted); }

/* ---------- customer reviews ---------- */
.reviews-section { padding: 84px 0 92px; background: linear-gradient(180deg, #f4f7fa 0%, #f8fafc 64%, #fff 64%); border-top: 2px solid #2e6edf; }
.reviews-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; margin-bottom: 54px; }
.reviews-intro { padding-right: 48px; border-right: 1px solid #dbe2ea; }
.reviews-kicker { display: block; color: #2f6fed; font-size: .82rem; font-weight: 800; margin-bottom: 22px; }
.reviews-intro h2 { max-width: 650px; color: #07111f; font-size: clamp(2.1rem, 4vw, 4rem); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.reviews-intro p { margin-top: 26px; color: var(--navy2); }
.reviews-score { position: relative; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.reviews-score > strong { position: absolute; z-index: 0; top: -22px; color: rgba(14,27,44,.09); font-size: clamp(7rem, 14vw, 12rem); font-weight: 800; line-height: 1; }
.reviews-score > *:not(strong) { position: relative; z-index: 1; }
.review-stars { display: flex; gap: 4px; margin-top: 62px; }
.review-stars img { width: 42px; height: 42px; object-fit: contain; }
.reviews-score b { margin-top: 4px; color: #07111f; font-size: 1.2rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card { min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; padding: 44px 42px 34px; background: #fff; border: 1px solid #eef1f5; border-radius: 3px; box-shadow: 0 18px 38px rgba(15,35,58,.09); }
.review-quote { color: #101820; font-size: 1.03rem; line-height: 1.95; }
.review-person { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.review-person img { flex: 0 0 auto; width: 74px; height: 74px; border-radius: 50%; object-fit: cover; }
.review-person b { display: block; color: var(--navy); font-size: .95rem; }
.review-person span { display: block; margin-top: 5px; color: var(--muted); font-size: .82rem; }
.reviews-empty { grid-column: 1/-1; padding: 36px; text-align: center; color: var(--muted); }

/* ---------- products ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-btn { background: #fff; border: 1px solid var(--line); color: var(--navy2); border-radius: 999px; padding: 9px 20px; font-weight: 700; font-size: .86rem; cursor: pointer; transition: .15s; }
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.p-visual { height: 170px; position: relative; display: flex; align-items: center; justify-content: center; }
.p-visual .material { font-size: 1.55rem; font-weight: 800; letter-spacing: 1px; color: rgba(255,255,255,.94); text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.p-visual .tag { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); color: var(--navy); font-size: .68rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .5px; }
.p-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.p-body h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; }
.spec-row { display: flex; justify-content: space-between; font-size: .84rem; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.spec-row:last-of-type { border-bottom: 0; }
.spec-row span { color: var(--muted); }
.spec-row b { color: var(--navy); font-weight: 700; }
.p-actions { display: flex; gap: 8px; margin-top: 14px; }
.p-actions .btn { flex: 1; justify-content: center; padding: 10px 8px; font-size: .82rem; }

/* ---------- product modal ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(10, 20, 34, .62); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 18px; max-width: 640px; width: 100%; max-height: 88vh; overflow: auto; position: relative; animation: pop .22s ease; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg); font-size: 1rem; cursor: pointer; font-weight: 800; color: var(--muted); }
.modal-head { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: 2px; }
.modal-body { padding: 26px; }
.modal-body h3 { color: var(--navy); margin-bottom: 4px; font-size: 1.3rem; }
.modal-body .sku { color: var(--muted); font-size: .82rem; margin-bottom: 16px; }
.modal-body p.desc { color: var(--muted); font-size: .93rem; margin-bottom: 18px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-bottom: 20px; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--muted); font-weight: 600; width: 44%; }
.spec-table td { font-weight: 700; color: var(--navy); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.about-copy h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); color: var(--navy); margin-bottom: 16px; }
.about-copy p { color: var(--muted); margin-bottom: 15px; font-size: .96rem; }
.cert-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 18px; font-weight: 800; color: var(--navy); font-size: .85rem; box-shadow: var(--shadow); }
.factory-visual { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.factory-visual .overlay { position: absolute; left: 18px; bottom: 18px; right: 18px; background: rgba(10,26,46,.82); color: #fff; border-radius: 12px; padding: 16px 18px; font-size: .85rem; }
.factory-visual .overlay b { display: block; font-size: 1.05rem; margin-bottom: 3px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr .78fr; gap: 34px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.f-field label { display: block; font-size: .8rem; font-weight: 700; color: var(--navy2); margin-bottom: 6px; }
.f-field input, .f-field select, .f-field textarea { width: 100%; border: 1.6px solid var(--line); border-radius: 10px; padding: 11px 14px; font-size: .92rem; font-family: inherit; color: var(--ink); background: #fbfcfe; transition: border .15s; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.f-field textarea { min-height: 110px; resize: vertical; }
.form-msg { margin-top: 12px; font-size: .88rem; font-weight: 700; display: none; padding: 12px 14px; border-radius: 10px; }
.form-msg.ok { display: block; background: #e7f8f1; color: #0b7a5c; }
.form-msg.err { display: block; background: #fdecec; color: #b42318; }
.info-card { background: var(--navy); color: #fff; border-radius: 18px; padding: 30px; }
.info-card h3 { margin-bottom: 18px; font-size: 1.15rem; }
.info-line { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .9rem; align-items: flex-start; }
.info-line:last-child { border-bottom: 0; }
.info-line .em { font-size: 1.1rem; }
.info-line small { display: block; color: #9fb1c6; font-size: .72rem; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 2px; }
.ship-logos { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.ship-chip { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 6px 13px; font-size: .78rem; font-weight: 800; }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), #1d3a5f); border-radius: 22px; color: #fff; padding: 52px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,.35), transparent 70%); }
.cta-band h2 { font-size: clamp(1.35rem, 2.8vw, 1.9rem); margin-bottom: 8px; }
.cta-band p { color: #c5d2e2; }

/* ---------- footer ---------- */
footer.site { background: #08111e; color: #aebbc9; padding: 56px 0 26px; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; margin-bottom: 36px; }
footer.site h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
footer.site .logo { color: #fff; margin-bottom: 14px; }
.foot-links a { display: block; padding: 5px 0; font-size: .9rem; }
.foot-links a:hover { color: var(--accent); }
.foot-line { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; padding: 5px 0; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- whatsapp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 950; display: flex; align-items: center; gap: 0; }
.wa-btn { width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .45); transition: transform .15s; position: relative; }
.wa-btn:hover { transform: scale(1.08); }
.wa-btn svg { width: 30px; height: 30px; fill: #fff; }
.wa-btn::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37,211,102,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.wa-tip { background: #fff; color: var(--navy); font-size: .8rem; font-weight: 700; border-radius: 9px; padding: 8px 13px; margin-right: 12px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateX(8px); transition: .25s; pointer-events: none; white-space: nowrap; }
.wa-float:hover .wa-tip { opacity: 1; transform: translateX(0); }

/* ---------- smart popup ---------- */
.popup-mask { position: fixed; inset: 0; background: rgba(10,20,34,.66); z-index: 1100; display: none; align-items: center; justify-content: center; padding: 20px; }
.popup-mask.show { display: flex; }
.popup { background: #fff; border-radius: 20px; max-width: 470px; width: 100%; overflow: hidden; position: relative; animation: pop .25s ease; box-shadow: var(--shadow-lg); }
.popup-top { background: linear-gradient(135deg, var(--navy), #1d3a5f); color: #fff; padding: 30px 28px 24px; text-align: center; position: relative; }
.popup-top .em { font-size: 2.1rem; display: block; margin-bottom: 8px; }
.popup-top h3 { font-size: 1.18rem; margin-bottom: 6px; }
.popup-top p { font-size: .84rem; color: #c5d2e2; }
.popup-close { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.14); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: .95rem; }
.popup-body { padding: 24px 28px 28px; }
.popup-body input { width: 100%; border: 1.6px solid var(--line); border-radius: 10px; padding: 12px 15px; font-size: .95rem; margin-bottom: 12px; }
.popup-body input:focus { outline: none; border-color: var(--accent); }
.popup-body .btn { width: 100%; justify-content: center; }
.popup-skip { display: block; text-align: center; margin-top: 12px; font-size: .8rem; color: var(--muted); background: none; border: 0; cursor: pointer; width: 100%; }
.popup-skip:hover { color: var(--navy); }

/* ---------- to top ---------- */
.to-top { position: fixed; right: 26px; bottom: 94px; z-index: 940; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; border: 0; font-size: 1rem; cursor: pointer; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow-lg); }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- analytics / advertising consent ---------- */
.tracking-consent { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1200; max-width: 920px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 60px rgba(8,17,30,.24); }
.tracking-consent p { margin: 0; font-size: .86rem; line-height: 1.45; }
.tracking-consent a { color: var(--accent-d); text-decoration: underline; }
.tracking-consent div { display: flex; flex: 0 0 auto; gap: 8px; }
.tracking-consent button { border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.consent-deny { background: #fff; color: var(--navy); }
.consent-allow { background: var(--accent); border-color: var(--accent) !important; color: #fff; }

/* ---------- breadcrumbs + page hero ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy), #1d3a5f); color: #fff; padding: 58px 0 50px; text-align: center; }
.page-hero h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: 10px; }
.page-hero p { color: #c5d2e2; max-width: 640px; margin: 0 auto; }

/* ---------- privacy page ---------- */
.privacy-content { max-width: 760px; margin: 0 auto; }
.privacy-content h2 { color: var(--navy); font-size: 1.25rem; margin: 28px 0 10px; }
.privacy-content p { color: var(--muted); margin-bottom: 12px; font-size: .95rem; }

/* ============ RTL (Arabic) ============ */
body.rtl { text-align: right; }
body.rtl nav.main a.active::after { left: auto; right: 0; }
body.rtl .lang-menu { right: auto; left: 0; }
body.rtl .p-visual .tag { right: auto; left: 12px; }
body.rtl .modal-close { right: auto; left: 14px; }
body.rtl .spec-table th, body.rtl .spec-table td { text-align: right; }
body.rtl .step::before { left: auto; right: 20px; }
body.rtl .factory-visual .overlay { left: auto; right: 18px; }
body.rtl .wa-float { right: auto; left: 22px; }
body.rtl .wa-tip { margin-right: 0; margin-left: 12px; transform: translateX(-8px); }
body.rtl .wa-float:hover .wa-tip { transform: translateX(0); }
body.rtl .to-top { right: auto; left: 26px; }
body.rtl .cta-band::after { right: auto; left: -80px; }
body.rtl .popup-close { right: auto; left: 12px; }
body.rtl .info-line { flex-direction: row-reverse; }
body.rtl .p-actions { flex-direction: row-reverse; }
body.rtl .promo-copy { margin-left: auto; }
body.rtl .hero-shipping-offer { right: auto; left: 0; }
body.rtl .reviews-intro { padding-right: 0; padding-left: 48px; border-right: 0; border-left: 1px solid #dbe2ea; }
body.rtl .review-person { flex-direction: row-reverse; }

/* ============ responsive ============ */
@media (max-width: 1020px) {
  .promo-hero { min-height: 700px; }
  .promo-hero-art { object-position: 58% center; opacity: .64; }
  .promo-copy { width: min(62%, 610px); }
  .hero-shipping-offer { width: 46%; }
  .reviews-grid { gap: 16px; }
  .review-card { padding: 32px 26px; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  nav.main { position: fixed; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 10px 22px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none; }
  nav.main.open { display: flex; }
  nav.main a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  nav.main a:last-child { border-bottom: 0; }
  .burger { display: block; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .reviews-heading { grid-template-columns: 1fr; gap: 28px; }
  .reviews-intro, body.rtl .reviews-intro { padding: 0; border: 0; text-align: center; }
  .reviews-intro h2 { margin: 0 auto; }
  .reviews-score { min-height: 180px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 0; }
}
@media (max-width: 640px) {
  .reviews-section { padding: 58px 0 64px; background: #f5f8fb; }
  .reviews-heading { margin-bottom: 34px; }
  .reviews-intro h2 { font-size: 2.25rem; }
  .reviews-score > strong { font-size: 7.5rem; }
  .review-stars { margin-top: 48px; }
  .review-stars img { width: 32px; height: 32px; }
  .review-card { padding: 28px 24px; }
  .promo-hero { min-height: 760px; }
  .promo-hero-art { object-position: 70% center; opacity: .42; }
  .promo-hero-inner { padding-top: 48px; padding-bottom: 34px; }
  .promo-copy { width: 100%; }
  .promo-badge { margin-bottom: 20px; padding: 7px 13px; font-size: .76rem; }
  .promo-copy h1 { font-size: clamp(1.85rem, 9vw, 2.65rem); }
  .promo-copy p { max-width: 36rem; font-size: .92rem; line-height: 1.65; }
  .hero-shipping-offer, body.rtl .hero-shipping-offer { position: static; width: 100%; min-height: 0; margin-top: 34px; padding: 0; flex-wrap: wrap; gap: 10px 12px; font-size: .95rem; }
  .shipping-tag { flex-basis: 100%; width: max-content; margin: 0 auto; }
  .shipping-price { font-size: 2.35rem; }
  .promo-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 34px; }
  .promo-stat { min-height: 90px; padding: 12px 8px; }
  .promo-stat strong { font-size: 1.35rem; }
  .promo-stat span { font-size: .75rem; }
  .tracking-consent { align-items: stretch; flex-direction: column; bottom: 10px; left: 10px; right: 10px; }
  .tracking-consent div { display: grid; grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
  .grid-3, .grid-6, .grid-4, .steps { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .foot-grid { grid-template-columns: 1fr; }
  .form-card, .info-card { padding: 22px; }
  .wa-float { right: 14px; bottom: 14px; }
  body.rtl .wa-float { right: auto; left: 14px; }
  .to-top { right: 18px; bottom: 84px; }
  body.rtl .to-top { right: auto; left: 18px; }
}

/* ============================================================
 * Gallery (factory / production / videos)
 * ============================================================ */
.gallery-tabs {
  display: flex; gap: 10px; justify-content: center; margin: 22px 0 28px;
  flex-wrap: wrap;
}
.g-tab {
  padding: 10px 22px; border-radius: 999px; border: 2px solid #e5e7eb;
  background: #fff; font-weight: 600; cursor: pointer; color: #475569;
  transition: all .2s; font-size: .94rem;
}
.g-tab:hover { border-color: var(--accent); color: var(--accent); }
.g-tab.on {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.g-item {
  position: relative; aspect-ratio: 1 / 1; border-radius: 12px;
  overflow: hidden; background: #f1f5f9; cursor: pointer;
  border: 1px solid #e2e8f0;
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.g-item:hover img { transform: scale(1.06); }
.g-video {
  position: relative; width: 100%; height: 100%;
}
.g-video iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.g-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35); transition: opacity .2s;
}
.g-item:hover .g-play { opacity: 0; }
.g-play::after {
  content: '▶'; width: 64px; height: 64px; line-height: 64px; text-align: center;
  background: rgba(255,255,255,.92); color: var(--accent); border-radius: 50%;
  font-size: 22px; padding-left: 6px;
}
.g-empty {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: #94a3b8;
  background: #f8fafc; border: 2px dashed #cbd5e1; border-radius: 12px;
}
.g-empty .em { font-size: 42px; display: block; margin-bottom: 10px; }
.g-lightbox-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 9999;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.g-lightbox-mask.on { display: flex; }
.g-lightbox-mask img {
  max-width: 92%; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.g-lightbox-close {
  position: absolute; top: 20px; right: 24px; color: #fff; font-size: 32px;
  background: none; border: 0; cursor: pointer; line-height: 1;
}
body.rtl .g-lightbox-close { right: auto; left: 24px; }

@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
