/*
Theme Name: DIVAN Trading
Theme URI: https://divantrading.com
Author: DIVAN TRADING INTERNATIONAL LIMITED
Description: Trilingual (English / Arabic / Brazilian Portuguese) one-page theme for a China sourcing, trading and international shipping company. Includes services, client tabs, process, shipping modes, transparent pricing, FAQ, quote form (sent by email), WhatsApp button and Customizer settings.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: divan
Tags: one-column, custom-logo, custom-menu, rtl-language-support, translation-ready, business
*/

:root {
	--ink: #0d1b2a;
	--navy: #0f2a43;
	--navy-2: #163a5c;
	--seal: #c8402a;
	--seal-dark: #a8331f;
	--sand: #f6f1ea;
	--line: #e3dccf;
	--muted: #5b6676;
	--white: #ffffff;
	--wa: #1f9d55;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(13, 27, 42, .08);
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-ar: "Cairo", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--white);
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
html.is-ar body, html[dir="rtl"] body { font-family: var(--font-ar); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--seal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
html.is-ar h1, html.is-ar h2, html.is-ar h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { inset-inline-start: 8px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
	border: 2px solid transparent; cursor: pointer; transition: .2s ease; text-decoration: none !important;
	font-family: inherit;
}
.btn--sm { padding: 10px 18px; font-size: 14px; white-space: nowrap; }
.btn--block { width: 100%; }
.btn--primary { background: var(--seal); color: #fff; }
.btn--primary:hover { background: var(--seal-dark); transform: translateY(-1px); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { filter: brightness(1.08); }
:focus-visible { outline: 3px solid #f2a541; outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(13,27,42,.08); }
.topbar { background: var(--navy); color: #c9d5e2; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 7px; }
.topbar a { color: #fff; margin-inline-start: 18px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.brand__mark { height: 40px; width: auto; flex: none; color: #111; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font); color: #111; }
.brand__text strong { font-size: 18px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.brand__text small { font-size: 9.5px; font-weight: 500; letter-spacing: .42em; color: #333; margin-top: 3px; }
.brand--light .brand__mark, .brand--light .brand__text { color: #fff; }
.brand--light .brand__text small { color: #9fb2c6; }
.custom-logo { max-height: 52px; width: auto; }

.nav__menu .menu { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.nav__menu a { color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav__menu a:hover { color: var(--seal); text-decoration: none; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; background: var(--sand); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
	border: 0; background: transparent; border-radius: 999px; padding: 6px 11px; min-width: 38px;
	font: 700 13px var(--font); color: var(--muted); cursor: pointer;
}
.lang-switch button[lang="ar"] { font-family: var(--font-ar); font-size: 15px; line-height: 1; }
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sand), #fff); padding: 80px 0 90px; }
.hero__route { position: absolute; inset: 0; opacity: .35; pointer-events: none; }
.hero__route svg { width: 100%; height: 100%; }
.route { fill: none; stroke: var(--seal); stroke-width: 1.5; stroke-dasharray: 6 8; animation: dash 30s linear infinite; }
.route--2 { stroke: var(--navy-2); }
.route--3 { stroke: #d9b38c; }
.hub { fill: var(--seal); }
.dot { fill: var(--navy-2); }
@keyframes dash { to { stroke-dashoffset: -400; } }
@media (prefers-reduced-motion: reduce) { .route { animation: none; } html { scroll-behavior: auto; } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--seal); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; margin-bottom: 14px; }
html.is-ar .eyebrow { letter-spacing: 0; font-size: 15px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; color: var(--ink); }
.lead { font-size: 18px; color: var(--muted); max-width: 600px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero__note { font-size: 14px; color: var(--muted); }

.hero__card { background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 24px 60px rgba(13,27,42,.12); border: 1px solid var(--line); }
.hero__card-title { font-weight: 800; margin-bottom: 18px; }
.track { list-style: none; margin: 0; padding: 0; }
.track li { position: relative; padding-inline-start: 34px; padding-bottom: 20px; display: flex; flex-direction: column; }
.track li:last-child { padding-bottom: 0; }
.track li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.track li::after { content: ""; position: absolute; inset-inline-start: 8px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.track li:last-child::after { display: none; }
.track li.done::before { background: var(--navy); border-color: var(--navy); }
.track li.active::before { background: var(--seal); border-color: var(--seal); box-shadow: 0 0 0 5px rgba(200,64,42,.18); }
.track b { font-size: 15px; }
.track span { font-size: 13px; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; border-inline-start: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 4px; }
.stat:first-child { border-inline-start: 0; }
.stat strong { font-size: 34px; font-family: var(--font); color: #ffb59c; }
.stat span { color: #c9d5e2; font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--flush { padding-top: 0; }
.section--tint { background: var(--sand); }
.section--dark { background: var(--ink); color: #e8eef4; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.section--dark .section__head p:not(.eyebrow) { color: #a9b8c8; }

/* Video */
.section--video { padding-bottom: 40px; }
.video { display: grid; grid-template-columns: .9fr 1.3fr; gap: 56px; align-items: center; }
.video h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.video__copy p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--ink); box-shadow: 0 24px 60px rgba(13,27,42,.18); }
.video__frame iframe, .video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { cursor: pointer; background: center / cover no-repeat var(--ink); padding: 0; }
.video__play::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,27,42,.05), rgba(13,27,42,.45)); }
.video__btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: var(--seal); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.18); transition: .2s; }
.video__play:hover .video__btn { transform: translate(-50%, -50%) scale(1.08); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .2s; }
.card:hover { border-color: var(--seal); box-shadow: var(--shadow); transform: translateY(-3px); }
.card__icon { font-size: 28px; display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--sand); margin-bottom: 16px; }
.card h3 { font-size: 18px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Tabs */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs__list [role="tab"] {
	border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px;
	font-weight: 700; cursor: pointer; font-family: inherit; color: var(--ink); font-size: 15px;
}
.tabs__list [aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tabs__panel { background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow); max-width: 820px; }
.tabs__panel h3 { font-size: 26px; }
.tabs__panel p { color: var(--muted); font-size: 17px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding-top: 8px; }
.step__num {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: var(--seal); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 18px; font-family: var(--font);
}
.step::after { content: ""; position: absolute; top: 32px; inset-inline-start: 60px; inset-inline-end: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step:last-child::after { display: none; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; }

/* Shipping */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mode { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; background: rgba(255,255,255,.03); }
.mode__tag { display: inline-block; font-size: 12px; font-weight: 800; color: #ffb59c; border: 1px solid rgba(255,181,156,.4); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
.mode h3 { font-size: 20px; margin-bottom: 4px; }
.mode__sub { color: #ffb59c; font-size: 14px; font-weight: 600; }
.mode p { color: #b6c4d2; font-size: 15px; }
.regions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.regions__label { font-weight: 700; margin-inline-end: 6px; }
.chip { background: rgba(255,255,255,.08); border-radius: 999px; padding: 7px 14px; font-size: 14px; }

/* LCL */
.lcl { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.lcl > * { min-width: 0; }
.lcl-steps { list-style: none; counter-reset: l; padding: 0; margin: 0 0 28px; }
.lcl-steps li { counter-increment: l; position: relative; padding: 0 0 22px; padding-inline-start: 52px; font-weight: 600; font-size: 16px; }
.lcl-steps li::before { content: counter(l); position: absolute; inset-inline-start: 0; top: -4px; width: 34px; height: 34px; border-radius: 50%; background: var(--sand); border: 2px solid var(--navy); display: grid; place-items: center; font: 800 14px var(--font); color: var(--navy); }
.lcl-steps li::after { content: ""; position: absolute; inset-inline-start: 16px; top: 32px; bottom: 2px; width: 2px; background: var(--line); }
.lcl-steps li:last-child::after { display: none; }
.lcl-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lcl-facts li { background: var(--sand); border-radius: var(--radius); padding: 16px; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.lcl-facts b { color: var(--navy); font-size: 18px; font-family: var(--font); }
html.is-ar .lcl-facts b { font-family: var(--font-ar); }
.calc { background: var(--navy); color: #e8eef4; border-radius: 20px; padding: 30px; box-shadow: 0 24px 60px rgba(15,42,67,.25); }
.calc h3 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.calc__sub { color: #a9b8c8; font-size: 15px; }
.calc__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.calc__grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #c9d5e2; min-width: 0; }
.calc__wide { grid-column: span 2; }
.calc input { font: 600 16px var(--font); padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; width: 100%; min-width: 0; }
.calc input:focus { outline: none; border-color: #ffb59c; box-shadow: 0 0 0 3px rgba(255,181,156,.2); }
.calc__out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 10px; }
.calc__out div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.calc__out span { font-size: 12px; color: #a9b8c8; }
.calc__out strong { font: 800 20px var(--font); color: #fff; }
.calc__main { background: var(--seal) !important; }
.calc__main span { color: #ffe1d8 !important; }
.calc__note { min-height: 22px; font-size: 14px; font-weight: 600; color: #ffb59c; margin: 0 0 8px; }
.calc__small { font-size: 12.5px; color: #8fa2b6; }
.calc__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.calc .btn--ghost, .btn--light { color: #fff; border-color: rgba(255,255,255,.5); }
.calc .btn--ghost:hover, .btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.wechat { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wechat p { margin: 0; flex: 1 1 100%; font-size: 14px; color: #c9d5e2; }
.wechat b { color: #fff; }
.btn--wechat { background: #07c160; color: #fff; }
.btn--wechat:hover { filter: brightness(1.08); }
.wechat__ok { color: #7ee2a8; font-weight: 700; font-size: 14px; }
.modes__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Postal codes */
.postal { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 14px; align-items: end; background: #fff; padding: 22px; border-radius: 18px; box-shadow: var(--shadow); max-width: 980px; }
.postal label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; min-width: 0; }
.postal input, .postal select { font: inherit; font-weight: 500; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fcfbf8; color: var(--ink); width: 100%; min-width: 0; }
.postal input:focus, .postal select:focus { outline: none; border-color: var(--seal); box-shadow: 0 0 0 3px rgba(200,64,42,.15); }
.postal__status { margin: 16px 0 8px; font-weight: 600; color: var(--navy); min-height: 24px; }
.postal__results { background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow-x: auto; max-width: 980px; }
.postal__results table { width: 100%; border-collapse: collapse; font-size: 15px; }
.postal__results th { text-align: start; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fcfbf8; }
html.is-ar .postal__results th { letter-spacing: 0; font-size: 13px; }
.postal__results td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.postal__results tr:last-child td { border-bottom: 0; }
.btn--xs { padding: 6px 12px; font-size: 13px; border-width: 1px; white-space: nowrap; }
.postal__note { font-size: 13.5px; color: var(--muted); margin-top: 18px; max-width: 980px; }

/* Container types */
.containers { padding-bottom: 96px; background: #fff; }
.containers__banner { position: relative; background: center 62% / cover no-repeat var(--navy); color: #fff; padding: 120px 0 150px; }
.containers__banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,27,42,.92) 0%, rgba(13,27,42,.7) 55%, rgba(13,27,42,.35) 100%); }
html[dir="rtl"] .containers__banner::before { background: linear-gradient(270deg, rgba(13,27,42,.92) 0%, rgba(13,27,42,.7) 55%, rgba(13,27,42,.35) 100%); }
.containers__banner .container { position: relative; max-width: 1180px; }
.containers__banner h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); font-weight: 800; max-width: 640px; }
.containers__banner p:not(.eyebrow) { color: #d4dde7; font-size: 17px; max-width: 600px; }
.containers__banner .eyebrow { color: #ffb59c; }
.ct-grid { position: relative; margin-top: -80px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ct-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ct-card__art { background: var(--sand); border-radius: 10px; padding: 12px 10px 6px; margin-bottom: 14px; }
.ct-svg { width: 100%; height: auto; display: block; }
.ct-svg .ct-a { fill: var(--seal); }
.ct-svg .ct-b { fill: var(--navy-2); }
.ct-svg .ct-c { fill: #e9edf1; }
.ct-svg .ct-dark { fill: #2b3440; }
.ct-svg .ct-band { fill: #ffb59c; }
.ct-svg .ct-inner { fill: none; stroke: #9fb2c6; stroke-width: 2; stroke-dasharray: 4 3; }
.ct-svg .ct-fan { fill: #9fb2c6; }
.ct-svg .ct-rib line { stroke: rgba(0,0,0,.16); stroke-width: 1.4; }
.ct-svg .ct-frame { fill: none; stroke: rgba(0,0,0,.28); stroke-width: 1.4; }
.ct-svg .ct-frame-b { fill: none; stroke: var(--navy-2); stroke-width: 4; }
.ct-svg .ct-tarp { fill: none; stroke: var(--navy-2); stroke-width: 3; stroke-linecap: round; }
.ct-svg .ct-door line { stroke: rgba(0,0,0,.4); stroke-width: 1.6; }
.ct-card__head { display: flex; align-items: flex-start; gap: 8px; }
.ct-num { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 12px var(--font); margin-top: 1px; }
.ct-card h3 { font-size: 16px; margin: 0; }
.ct-code { font-size: 12px; font-weight: 800; color: var(--seal); letter-spacing: .04em; margin: 6px 0 8px; }
.ct-card p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.ct-best { margin-top: auto !important; margin-bottom: 0 !important; padding-top: 8px; border-top: 1px dashed var(--line); color: var(--ink) !important; font-size: 13.5px !important; }
.ct-sizes { margin-top: 56px; display: grid; grid-template-columns: .8fr 1.6fr; gap: 20px 40px; align-items: start; }
.ct-sizes h3 { font-size: 24px; }
.ct-sizes__intro p { color: var(--muted); }
.ct-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.ct-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ct-table th { text-align: start; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--sand); padding: 12px 14px; white-space: nowrap; }
html.is-ar .ct-table th { letter-spacing: 0; font-size: 13px; }
.ct-table td { padding: 13px 14px; border-top: 1px solid var(--line); white-space: nowrap; }
.ct-note { grid-column: 2; font-size: 13px; color: var(--muted); margin: 0; }
.ct-cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--navy); color: #c9d5e2; border-radius: 18px; padding: 24px 28px; }
.ct-cta p { margin: 0; max-width: 720px; }
.ct-cta b { color: #fff; }

/* Shipping partners */
.partners { display: grid; gap: 20px; }
.partner-group { background: #fff; border-radius: 20px; padding: 22px 22px 18px; box-shadow: var(--shadow); border-top: 4px solid var(--navy); }
.partner-group--air { border-top-color: var(--seal); }
.partner-group--express { border-top-color: #1f9d55; }
.partner-group__head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.partner-group__head svg { flex: none; width: 46px; height: 46px; padding: 9px; border-radius: 12px; background: var(--sand); fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.partner-group__head h3 { font-size: 20px; margin-bottom: 2px; }
.partner-group__head p { font-size: 14px; color: var(--muted); margin: 0; }
.partner-group__img { width: 100%; height: auto; border-radius: 12px; }
.carriers__note { font-size: 13px; color: var(--muted); margin-top: 22px; }

/* Buy from Chinese platforms */
.platforms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 40px; }
.platform { background: #fff; border-radius: 14px; padding: 16px; box-shadow: var(--shadow); border-top: 4px solid #ff6a00; display: flex; flex-direction: column; gap: 4px; }
.platform--pdd { border-top-color: #e02e24; }
.platform--xianyu { border-top-color: #ffd60a; }
.platform--alibaba { border-top-color: #ff7a00; }
.platform__cn { font-size: 13px; color: var(--muted); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.platform strong { font-size: 17px; }
.platform__desc { font-size: 13px; color: var(--muted); }
.buy { display: grid; grid-template-columns: .9fr 1.3fr; gap: 40px; align-items: start; }
.buy > * { min-width: 0; }
.buy__steps h3 { font-size: 22px; margin-bottom: 18px; }
.buy__note { font-size: 14px; background: var(--sand); border-radius: 12px; padding: 12px 14px; border-inline-start: 4px solid var(--navy); }
.buy__note--warn { border-inline-start-color: #f2a541; }
.buy__form { border: 1px solid var(--line); }
.book__step-title { font-weight: 800; display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; }
.buy-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.buy-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fcfbf8; }
.buy-item textarea { margin-bottom: 8px; }
.buy-item .field-row { gap: 8px; }
.buy-item__qty { max-width: 110px; }
.buy-item__top { display: flex; justify-content: space-between; align-items: center; min-height: 26px; margin-bottom: 6px; }
.buy-item__badge { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #e9edf1; color: var(--navy); }
.buy-item__badge.is-1688, .buy-item__badge.is-taobao, .buy-item__badge.is-alibaba, .buy-item__badge.is-yiwugo { background: #fff0e6; color: #c2410c; }
.buy-item__badge.is-pdd { background: #fde8e7; color: #b91c1c; }
.buy-item__badge.is-xianyu { background: #fff8d6; color: #8a6d00; }
.buy-item__badge.is-warn { background: #fdecea; color: #a8331f; }
.buy-item__del { margin-inline-start: auto; background: none; border: 0; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }
.buy__form .btn--ghost { margin-bottom: 20px; }

/* Guangzhou warehouse */
.wh { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.wh > * { min-width: 0; }
.wh h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.wh__intro > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.wh__rate { background: var(--navy); color: #c9d5e2; border-radius: 16px; padding: 18px 20px; margin: 22px 0; display: flex; flex-direction: column; gap: 4px; }
.wh__rate-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #ffb59c; }
html.is-ar .wh__rate-label { letter-spacing: 0; font-size: 14px; }
.wh__rate strong { font-size: 24px; color: #fff; }
.wh__rate-note { font-size: 14px; }
.wh__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.wh__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wh__list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.wh__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; font-size: 22px; }
.wh__list b { display: block; font-size: 16px; }
.wh__list span:not(.wh__icon) { display: block; font-size: 14px; color: var(--muted); }
.buy-item__qty { flex: 0 0 110px !important; }

/* China branch */
.branch { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.branch h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.branch__copy > p:not(.eyebrow):not(.branch__note) { color: var(--muted); font-size: 17px; }
.branch .checks { margin: 8px 0 28px; }
.branch__note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.offices { display: flex; flex-direction: column; align-items: stretch; }
.office { display: block; background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); color: var(--ink); border: 1px solid var(--line); }
.office h3 { font-size: 22px; margin-bottom: 8px; }
.office p { color: var(--muted); margin: 0 0 6px; font-size: 15px; }
.office__tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--sand); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.office--branch { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none !important; transition: .2s; }
.office--branch:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(15,42,67,.3); }
.office--branch h3 { color: #fff; }
.office--branch p { color: #c9d5e2; }
.office--branch .office__tag { background: var(--seal); color: #fff; }
.office__url { color: #ffb59c !important; font-weight: 700; font-size: 17px !important; }
.offices__link { align-self: center; width: 2px; height: 34px; background: repeating-linear-gradient(180deg, var(--seal) 0 6px, transparent 6px 11px); }
.modes__cta { margin: 28px 0 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; background: #fff; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { padding: 8px 0; padding-inline-start: 26px; position: relative; border-bottom: 1px dashed var(--line); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--seal); font-weight: 800; }
.plan__price { font-size: 36px; font-weight: 800; color: var(--navy); font-family: var(--font); }
.plan__price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan--featured { border: 2px solid var(--seal); box-shadow: 0 20px 50px rgba(200,64,42,.14); }
.plan__badge { position: absolute; top: -13px; inset-inline-start: 28px; background: var(--seal); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.pay-note { text-align: center; color: var(--muted); margin-top: 28px; font-size: 15px; }

/* Why */
.why { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.why h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { padding: 12px 0; padding-inline-start: 36px; position: relative; font-size: 17px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.notfor { background: #fff; border-radius: 20px; padding: 32px; border-top: 5px solid var(--seal); box-shadow: var(--shadow); }
.notfor p { color: var(--muted); }
.notfor ul { padding-inline-start: 20px; margin: 0; }
.notfor li { padding: 5px 0; }

/* Consulting / booking */
.booking > * { min-width: 0; }
.booking { display: grid; grid-template-columns: .85fr 1.25fr; gap: 56px; align-items: start; }
.booking h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.booking__intro > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.consult-list { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.consult-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.consult-list b { color: var(--seal); white-space: nowrap; font-size: 14px; }
.booking__tz { font-size: 14px !important; background: #fff; padding: 12px 16px; border-radius: 10px; }
.book { border: 1px solid var(--line); box-shadow: var(--shadow); position: sticky; top: 110px; }
.book__step { border: 0; padding: 0; margin: 0 0 22px; }
.book__step legend { font-weight: 800; font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 0; }
.book__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-family: var(--font); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.quote .pill { display: inline-flex; margin: 0; flex: 0 1 auto; cursor: pointer; position: relative; font-weight: 600; }
.quote .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; margin: 0; border: 0; pointer-events: none; }
.pill > span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; font-weight: 600; font-size: 14px; background: #fcfbf8; transition: .15s; }
.pill--sm > span { font-size: 13px; padding: 7px 13px; }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid #f2a541; outline-offset: 2px; }
.book__hint { color: var(--seal-dark); font-size: 14px; font-weight: 600; margin: -6px 0 12px; }

/* Business lessons */
.lessons { margin: 0 0 24px; background: var(--navy); color: #c9d5e2; border-radius: 18px; padding: 24px; }
.lessons h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.lessons > p:not(.lessons__tag) { font-size: 15px; margin-bottom: 14px; }
.lessons__tag { display: inline-block; background: var(--seal); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.lessons__price { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,181,156,.35); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.lessons__price strong { font: 800 32px var(--font); color: #ffb59c; white-space: nowrap; }
.lessons__price ul { list-style: none; margin: 0; padding: 0; font-size: 14px; color: #fff; }
.lessons__price li { padding: 2px 0; padding-inline-start: 20px; position: relative; }
.lessons__price li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #7ee2a8; font-weight: 800; }
.lesson-opts__price { font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 14px 0 0; }
.lesson-opts__price b { color: var(--seal); }
.lessons__list { list-style: none; margin: 0; padding: 0; }
.lessons__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.1); }
.lessons__list b { display: block; color: #fff; font-size: 15px; }
.lessons__list span { display: block; font-size: 13px; color: #a9b8c8; }
.lessons .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); flex: none; }
.lessons .btn--ghost:hover { background: #fff; color: var(--ink); }
.lesson-opts { margin-top: 14px; padding: 16px; background: var(--sand); border-radius: 12px; }
.lesson-opts__label { font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.lesson-opts .pills + .lesson-opts__label { margin-top: 14px; }
.pill--check input:checked + span::before { content: "✓ "; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--seal); font-size: 24px; line-height: 1; transition: .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.2fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(28px, 3.4vw, 42px); }
.contact__intro p:not(.eyebrow) { color: #a9b8c8; font-size: 17px; }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact__list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #c9d5e2; }
.contact__list a { color: #fff; }
.quote { background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.quote label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; margin-bottom: 16px; flex: 1; }
.quote input, .quote select, .quote textarea { min-width: 0; max-width: 100%;
	font: inherit; font-weight: 500; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fcfbf8; color: var(--ink); width: 100%;
}
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--seal); box-shadow: 0 0 0 3px rgba(200,64,42,.15); }
.field-row { display: flex; gap: 16px; }
.quote__small { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.hp { position: absolute; inset-inline-start: -9999px; }
.notice { padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.notice--ok { background: #e7f6ee; color: #146c3b; }
.notice--err { background: #fdecea; color: #a8331f; }

/* Footer */
.site-footer { background: #08131f; color: #9fb2c6; padding: 64px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__brand p { margin-top: 16px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #c9d5e2; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-block: 22px; font-size: 13px; }

.wa-float {
	position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
	background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(31,157,85,.4);
}
.wa-float:hover { transform: scale(1.06); }

/* Blog / pages */
.page-head { background: var(--sand); padding: 64px 0; margin-bottom: 56px; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); margin: 0; }
.page-head time { color: var(--muted); font-size: 14px; }
.entry { font-size: 17px; }
.entry h2 { margin-top: 1.6em; }
.entry img { border-radius: var(--radius); margin: 1.5em 0; }
.entry-cta { margin-top: 40px; padding: 28px; background: var(--sand); border-radius: var(--radius); text-align: center; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card__body { padding: 22px; }
.post-card h2 { font-size: 20px; }
.post-card h2 a { color: var(--ink); }
.post-card time { font-size: 13px; color: var(--muted); }
.pagination { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
	.burger { display: block; }
	.nav__menu { display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff; box-shadow: 0 12px 24px rgba(13,27,42,.1); padding: 12px 16px 20px; }
	.nav__menu.is-open { display: block; }
	.nav__menu .menu { flex-direction: column; gap: 0; }
	.nav__menu li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 1080px) {
	.platforms { grid-template-columns: repeat(3, 1fr); }
	.ct-grid { grid-template-columns: repeat(3, 1fr); }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.modes { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.burger { display: block; }
	.nav__menu { display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff; box-shadow: 0 12px 24px rgba(13,27,42,.1); padding: 12px 16px 20px; }
	.nav__menu.is-open { display: block; }
	.nav__menu .menu { flex-direction: column; gap: 0; }
	.nav__menu li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.nav__actions .btn { display: none; }
	.hero { padding: 48px 0 64px; }
	.hero__grid, .why, .contact, .video, .branch, .booking, .lcl, .ct-sizes, .buy, .wh { grid-template-columns: 1fr; gap: 36px; }
	.ct-sizes { gap: 16px; }
	.partner-group { padding: 16px 12px 12px; }
	.ct-note { grid-column: auto; }
	.ct-grid { grid-template-columns: repeat(2, 1fr); }
	.containers__banner { padding: 80px 0 130px; }
	.book { position: static; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-inline-start: 0; }
	.stat { border-top: 1px solid rgba(255,255,255,.12); }
	.steps { grid-template-columns: 1fr 1fr; }
	.step::after { display: none; }
	.plans { grid-template-columns: 1fr; }
	.posts { grid-template-columns: 1fr 1fr; }
	.section { padding: 68px 0; }
	.topbar__item { display: none; }
	.topbar__inner { justify-content: center; }
}
@media (max-width: 600px) {
	.cards, .modes, .steps, .posts, .footer__grid { grid-template-columns: 1fr; }
	.field-row { flex-direction: column; gap: 0; }
	.platforms { grid-template-columns: 1fr 1fr; }
	.buy-item .field-row { flex-direction: row; }
	.ct-grid { gap: 12px; }
	.ct-card { padding: 14px; }
	.postal { grid-template-columns: 1fr; padding: 18px; }
	.postal__results td, .postal__results th { padding: 10px; }
	.calc__grid { grid-template-columns: 1fr 1fr; }
	.calc__out, .lcl-facts { grid-template-columns: 1fr; }
	.calc { padding: 22px; }
	.tabs__panel { padding: 26px; }
	.quote { padding: 22px; }
	.brand__text strong { font-size: 13.5px; letter-spacing: .04em; }
	.brand { gap: 7px; }
	.brand__text small { letter-spacing: .26em; font-size: 8px; }
	.brand__mark { height: 30px; }
	.hero__ctas .btn { width: 100%; }
	.lang-switch button { padding: 6px 8px; min-width: 32px; }
}

/* ---------- 24/7 chat assistant ---------- */
.dv-chat__toggle {
	position: fixed; z-index: 61; bottom: 92px; inset-inline-end: 22px; width: 58px; height: 58px; border-radius: 50%;
	border: 0; cursor: pointer; background: var(--navy); color: #fff; display: grid; place-items: center;
	box-shadow: 0 10px 24px rgba(15,42,67,.35); transition: transform .2s;
}
.dv-chat__toggle:hover { transform: scale(1.06); }
.dv-chat:not(.is-open) .dv-chat__toggle::after { content: ""; position: absolute; top: 6px; inset-inline-end: 6px; width: 12px; height: 12px; border-radius: 50%; background: #3ddc84; border: 2px solid var(--navy); }
.dv-chat__panel {
	position: fixed; z-index: 62; bottom: 160px; inset-inline-end: 22px; width: 370px; height: min(560px, calc(100vh - 190px));
	background: #fff; border-radius: 20px; box-shadow: 0 30px 70px rgba(13,27,42,.3); display: flex; flex-direction: column; overflow: hidden;
}
.dv-chat__panel[hidden] { display: none; }
.dv-chat__head { display: flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; padding: 14px 16px; }
.dv-chat__logo { height: 28px; width: auto; color: #fff; flex: none; }
.dv-chat__head strong { display: block; font-size: 15px; }
.dv-chat__head span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #c9d5e2; }
.dv-chat__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; }
.dv-chat__close { margin-inline-start: auto; background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.dv-chat__log { flex: 1; overflow-y: auto; padding: 16px; background: #f7f5f1; display: flex; flex-direction: column; gap: 10px; }
.dv-chat__msg { max-width: 86%; }
.dv-chat__msg p { margin: 0; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; }
.dv-chat__msg--bot { align-self: flex-start; }
.dv-chat__msg--bot p { background: #fff; border: 1px solid var(--line); border-start-start-radius: 4px; }
.dv-chat__msg--user { align-self: flex-end; }
.dv-chat__msg--user p { background: var(--seal); color: #fff; border-start-end-radius: 4px; }
.dv-chat__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.dv-chat__act { font-size: 13px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--navy); border-radius: 999px; padding: 5px 11px; text-decoration: none !important; }
.dv-chat__act:hover { background: var(--navy); color: #fff; }
.dv-chat__typing { display: flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; width: 56px; }
.dv-chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: #9fb2c6; animation: dvdot 1s infinite; }
.dv-chat__typing span:nth-child(2) { animation-delay: .15s; } .dv-chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dvdot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.dv-chat__quick { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 2px; background: #fff; border-top: 1px solid var(--line); scrollbar-width: none; }
.dv-chat__chip { flex: none; border: 1px solid var(--line); background: var(--sand); border-radius: 999px; padding: 6px 12px; font: 600 13px inherit; font-family: inherit; color: var(--ink); cursor: pointer; }
.dv-chat__chip:hover { border-color: var(--navy); }
.dv-chat__form { display: flex; gap: 8px; padding: 10px 12px 12px; background: #fff; }
.dv-chat__form input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fcfbf8; }
.dv-chat__form input:focus { outline: none; border-color: var(--navy); }
.dv-chat__form button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--seal); color: #fff; cursor: pointer; display: grid; place-items: center; }
html[dir="rtl"] .dv-chat__form button svg { transform: scaleX(-1); }
@media (max-width: 600px) {
	.dv-chat__panel { inset: auto 0 0 0; width: 100%; height: 82vh; border-radius: 20px 20px 0 0; }
	.dv-chat.is-open .dv-chat__toggle { display: none; }
	.dv-chat__toggle { bottom: 88px; inset-inline-end: 16px; width: 54px; height: 54px; }
}

/* ---------- DIVAN Academy ---------- */
.ac-hero { background: linear-gradient(180deg, var(--sand), #fff); padding: 64px 0 40px; }
.ac-hero__grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: start; }
.ac-hero__grid > * { min-width: 0; }
.ac-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.ac-progress { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-top: 18px; max-width: 520px; }
.ac-progress__bar { height: 10px; background: var(--sand); border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.ac-progress__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--seal), #f2a541); border-radius: 999px; }
.ac-progress p { margin: 0; }
.ac-until { color: var(--muted); font-size: 14px; margin-top: 6px !important; }
.ac-login, .ac-pitch { background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.ac-login h3 { font-size: 20px; }
.ac-login form p { margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.ac-login label { font-weight: 700; font-size: 14px; }
.ac-login input[type=text], .ac-login input[type=password] { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fcfbf8; width: 100%; }
.ac-login .login-remember label { font-weight: 500; display: flex; gap: 8px; align-items: center; }
.ac-login input[type=submit] { background: var(--seal); color: #fff; border: 0; border-radius: 999px; padding: 13px 24px; font: 700 15px var(--font); cursor: pointer; width: 100%; }
html.is-ar .ac-login input[type=submit] { font-family: var(--font-ar); }
.ac-login input[type=submit]:hover { background: var(--seal-dark); }
.ac-login__links { font-size: 14px; margin: 4px 0 0; }
.ac-pitch { margin-top: 28px; }
.ac-pitch h3 { font-size: 22px; }
.ac-pitch .checks li { font-size: 15px; }
.ac-pitch .hero__ctas { margin: 20px 0 0; }
.ac-logout { text-align: end; }
.ac-body { padding-top: 24px; padding-bottom: 80px; }
.ac-empty { background: var(--sand); padding: 20px; border-radius: 14px; }
.ac-module { margin-bottom: 30px; }
.ac-module h2 { font-size: 22px; margin-bottom: 12px; }
.ac-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.ac-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.ac-item:first-child { border-top: 0; }
.ac-item a { font-weight: 700; color: var(--ink); }
.ac-item__icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--navy); font-size: 13px; }
.ac-item.is-done .ac-item__icon { background: #16a34a; color: #fff; }
.ac-item.is-locked { color: var(--muted); }
.ac-item__meta { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ac-badge { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #fff0e6; color: #c2410c; }
.ac-badge--lang { background: #e9edf1; color: var(--navy); }
.ac-lesson__grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.ac-lesson__grid > * { min-width: 0; }
.ac-crumb { font-size: 14px; color: var(--muted); }
.ac-lesson h1 { font-size: clamp(26px, 3vw, 38px); }
.ac-video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 16px; overflow: hidden; margin: 18px 0 24px; }
.ac-video iframe, .ac-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ac-files { background: var(--sand); border-radius: 14px; padding: 18px 20px; margin: 24px 0; }
.ac-files h3 { font-size: 17px; }
.ac-files ul { list-style: none; margin: 0; padding: 0; }
.ac-files li { padding: 6px 0; }
.ac-done { margin: 24px 0; }
.ac-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 10px; font-weight: 600; }
.ac-locked { text-align: center; background: var(--sand); border-radius: 20px; padding: 32px; }
.ac-locked__icon { font-size: 40px; margin: 0; }
.ac-locked .ac-login, .ac-locked .ac-pitch { text-align: start; max-width: 460px; margin: 20px auto 0; }
.ac-side { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.ac-side h3 { font-size: 16px; }
.ac-side__list { margin: 0; padding-inline-start: 20px; font-size: 14px; }
.ac-side__list li { padding: 5px 0; }
.ac-side__list a { color: var(--ink); }
.ac-side__list .is-current a { color: var(--seal); font-weight: 800; }
.ac-side__list .is-done a::after { content: " ✓"; color: #16a34a; font-weight: 800; }
.ac-side__list .is-locked { color: var(--muted); }
.lessons__login { margin: 14px 0 0; font-size: 14px; }
.lessons__login a { color: #ffb59c; font-weight: 700; }
@media (max-width: 900px) {
	.ac-hero__grid, .ac-lesson__grid { grid-template-columns: 1fr; gap: 28px; }
	.ac-side { position: static; }
}
@media (max-width: 600px) {
	.ac-item { flex-wrap: wrap; }
	.ac-item__meta { margin-inline-start: 42px; }
}
