/* ============================================================
   VEMINS — Algeria Air-Cargo Stock Zone (landing page)
   Theme: deep navy + cyan, warm gold for the air-cargo channel
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #041a3c;
    --bg-alt: #062040;
    --card: #0a3460;
    --line: rgba(0, 229, 255, 0.12);
    --line-soft: rgba(255, 255, 255, 0.09);
    --cyan: #00e5ff;
    --teal: #00ffd1;
    --gold: #ffc76b;
    --gold-soft: #ffd79b;
    --gold-line: rgba(255, 199, 107, 0.28);
    --txt: #ffffff;
    --txt-2: #a8c5d4;
    --txt-3: #7493a3;
    --wa: #25d366;
    --wrap: 1160px;
    --r: 16px;
    --font-h: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-b: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    background: var(--bg);
    color: var(--txt);
    font-family: var(--font-b);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(4, 26, 60, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.bar-in {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.bar-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 800; font-size: 15px; letter-spacing: 0.3px; color: #fff; }
.bar-logo img { height: 34px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.bar-nav { display: flex; gap: 20px; margin-left: auto; }
.bar-nav a { color: var(--txt-2); font-size: 13.5px; font-weight: 600; }
.bar-nav a:hover { color: var(--cyan); }
.bar-cta {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 16px; border-radius: 10px;
    background: var(--wa); color: #04231a; font-weight: 800; font-size: 13px;
    white-space: nowrap;
}
.bar-cta:hover { filter: brightness(1.06); }

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 60px 0 66px;
    background:
        radial-gradient(900px 420px at 8% -10%, rgba(255, 199, 107, 0.1), transparent 70%),
        radial-gradient(800px 420px at 96% 10%, rgba(0, 229, 255, 0.1), transparent 72%),
        var(--bg);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: 44px; align-items: center; }

.pill {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 15px 7px 12px;
    border: 1px solid var(--gold-line);
    background: rgba(255, 199, 107, 0.1);
    border-radius: 999px;
    color: var(--gold-soft);
    font-size: 12px; font-weight: 800; letter-spacing: 0.9px; text-transform: uppercase;
}
.pill svg { stroke: var(--gold); }

h1 {
    font-family: var(--font-h);
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.12;
    letter-spacing: -1px;
    font-weight: 800;
    margin: 18px 0 16px;
}
h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--gold-soft) 0%, #ffab3d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lead { font-size: 16.5px; color: var(--txt-2); max-width: 60ch; }

.pts { list-style: none; margin: 22px 0 0; display: grid; gap: 10px; }
.pts li { display: flex; gap: 10px; font-size: 14.5px; color: var(--txt); align-items: flex-start; }
.pts svg { flex-shrink: 0; margin-top: 3px; stroke: var(--teal); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 24px; border-radius: 12px;
    font-size: 14.5px; font-weight: 800; white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-wa { background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; box-shadow: 0 8px 26px rgba(37, 211, 102, 0.3); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(37, 211, 102, 0.42); }
.btn-gold { border: 1px solid var(--gold-line); background: rgba(255, 199, 107, 0.08); color: var(--gold-soft); }
.btn-gold:hover { border-color: rgba(255, 199, 107, 0.6); background: rgba(255, 199, 107, 0.15); transform: translateY(-2px); }

.micro { margin-top: 16px; font-size: 11.8px; line-height: 1.6; color: var(--txt-3); max-width: 62ch; }

.hero-card { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--gold-line); box-shadow: 0 26px 70px rgba(2, 12, 28, 0.55); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 12; }
.hero-card-bar {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 16px 18px;
    background: linear-gradient(180deg, rgba(4, 26, 60, 0) 0%, rgba(4, 26, 60, 0.94) 62%);
    display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
}
.hero-card-t { font-family: var(--font-h); font-size: 16px; font-weight: 800; line-height: 1.25; }
.hero-card-s { font-size: 11.5px; color: var(--txt-2); margin-top: 2px; }
.hero-badge {
    font-family: var(--font-h); font-size: 19px; font-weight: 800; color: var(--gold-soft);
    padding: 6px 12px; border-radius: 10px; background: rgba(255, 199, 107, 0.14);
    border: 1px solid var(--gold-line); white-space: nowrap;
}

/* ===== SECTIONS ===== */
section { padding: 66px 0; }
.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sec-tag {
    display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px;
    text-transform: uppercase; color: var(--cyan); margin-bottom: 10px;
}
h2 { font-family: var(--font-h); font-size: clamp(23px, 2.6vw, 32px); line-height: 1.24; letter-spacing: -0.4px; font-weight: 800; }
.sec-desc { margin-top: 12px; color: var(--txt-2); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step {
    border: 1px solid var(--line-soft); border-radius: var(--r);
    background: linear-gradient(180deg, rgba(10, 52, 96, 0.6), rgba(6, 32, 64, 0.6));
    padding: 22px 20px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.step:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.step-n {
    width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
    font-size: 13px; font-weight: 800; color: #041a3c;
    background: linear-gradient(135deg, var(--gold-soft), #ffab3d);
    margin-bottom: 13px;
}
.step h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 7px; }
.step p { font-size: 13.4px; color: var(--txt-2); }

/* Calculator */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.calc-card {
    border: 1px solid var(--gold-line); border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 199, 107, 0.07), rgba(6, 32, 64, 0.8));
    padding: 24px;
}
.calc-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--txt-3); margin-bottom: 9px; }
.calc-input {
    width: 100%; padding: 13px 15px; border-radius: 12px;
    border: 1px solid rgba(0, 229, 255, 0.25); background: rgba(4, 26, 60, 0.75);
    color: #fff; font-size: 17px; font-weight: 700; font-family: var(--font-h);
}
.calc-input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14); }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.calc-cell { border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px; text-align: center; background: rgba(255, 255, 255, 0.025); }
.calc-v { display: block; font-family: var(--font-h); font-size: 24px; font-weight: 800; color: var(--gold-soft); line-height: 1.1; }
.calc-l { display: block; font-size: 10.8px; color: var(--txt-3); margin-top: 5px; letter-spacing: 0.4px; }
.calc-bar { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); margin-top: 16px; overflow: hidden; }
.calc-bar > i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--gold)); transition: width 0.35s ease; }
.calc-note { font-size: 11.6px; color: var(--txt-3); margin-top: 12px; line-height: 1.55; }

/* Stock cards */
/* Dedicated Algeria stock list — published separately from the catalogue */
.stock-soon {
    display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
    margin-bottom: 22px; padding: 20px 22px;
    border: 1px dashed rgba(255, 199, 107, 0.4); border-radius: var(--r);
    background: linear-gradient(135deg, rgba(255, 199, 107, 0.07), rgba(255, 199, 107, 0.02));
}
.stock-soon-body { flex: 1 1 420px; min-width: 0; }
.stock-soon-tag {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    border: 1px solid var(--gold-line); background: rgba(255, 199, 107, 0.1);
    color: var(--gold-soft); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.stock-soon h3 { margin: 9px 0 6px; font-family: var(--font-h); font-size: 17px; font-weight: 700; }
.stock-soon p { font-size: 13.5px; color: var(--txt-2); max-width: 68ch; }
.stock-soon-btn {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 18px; border-radius: 999px; background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff; font-size: 13.5px; font-weight: 800; text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stock-soon-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4); }
.stock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stock-card {
    border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden;
    background: rgba(255, 255, 255, 0.025); display: flex; flex-direction: column;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.stock-card:hover { border-color: rgba(0, 229, 255, 0.38); transform: translateY(-3px); }
.stock-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: #071f3a; }
.stock-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stock-body { padding: 15px 16px 17px; flex: 1; display: flex; flex-direction: column; }
.stock-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.stock-card p { font-size: 13px; color: var(--txt-2); flex: 1; }
.stock-more { margin-top: 11px; font-size: 12.5px; font-weight: 800; color: var(--gold-soft); }

/* Three premium stock zones */
.zone-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.zone-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: 20px 20px 18px;
    border: 1px solid var(--line-soft); border-radius: var(--r);
    background: linear-gradient(170deg, rgba(255, 199, 107, 0.06), rgba(255, 255, 255, 0.02));
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.zone-card::before {
    content: ''; position: absolute; inset: 0 0 auto; height: 2px;
    background: linear-gradient(90deg, #ffc76b, rgba(255, 199, 107, 0));
    border-radius: var(--r) var(--r) 0 0;
}
.zone-card:hover { border-color: rgba(255, 199, 107, 0.42); transform: translateY(-3px); }
.zone-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.zone-num {
    font-family: var(--font-h); font-size: 22px; font-weight: 800;
    letter-spacing: 0.04em; color: rgba(255, 199, 107, 0.85);
}
.zone-ico {
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 12px; border: 1px solid var(--gold-line);
    background: rgba(255, 199, 107, 0.09); color: var(--gold-soft);
}
.zone-ico svg { width: 21px; height: 21px; }
.zone-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 7px; }
.zone-lead { font-size: 13px; color: var(--txt-2); margin-bottom: 12px; }
.zone-sub { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.zone-sub li { position: relative; padding-inline-start: 18px; font-size: 13.5px; color: var(--txt); }
.zone-sub li::before {
    content: ''; position: absolute; inset-inline-start: 0; top: 0.55em;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold); box-shadow: 0 0 8px rgba(255, 199, 107, 0.6);
}
.zone-foot {
    margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-soft);
    font-size: 11.8px; line-height: 1.5; color: var(--txt-3);
}
.zone-cat-link { margin-top: 22px; text-align: center; }
.zone-cat-link a { font-size: 13.5px; font-weight: 800; color: var(--gold-soft); text-decoration: none; }
.zone-cat-link a:hover { text-decoration: underline; }

/* Comparison table */
.cmp-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line-soft); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 14px; }
table.cmp th, table.cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.07); vertical-align: top; }
table.cmp thead th { background: rgba(0, 229, 255, 0.06); font-size: 12.5px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--txt-2); }
table.cmp thead th:nth-child(2) { color: var(--gold-soft); }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp td:first-child { font-weight: 700; color: var(--txt); width: 30%; }
table.cmp td:nth-child(2) { color: var(--gold-soft); }

.cmp-hint { display: none; margin-top: 10px; font-size: 11.8px; color: var(--txt-3); text-align: center; }
@media (max-width: 700px) {
    .cmp-hint { display: block; }
    table.cmp { min-width: 560px; font-size: 13.2px; }
    table.cmp th, table.cmp td { padding: 12px 13px; }
    table.cmp td:first-child { width: 34%; }
}

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
details.faq {
    border: 1px solid var(--line-soft); border-radius: 14px;
    background: rgba(255, 255, 255, 0.025); padding: 16px 18px;
    transition: border-color 0.25s ease;
}
details.faq[open] { border-color: rgba(0, 229, 255, 0.3); background: rgba(0, 229, 255, 0.04); }
details.faq summary { cursor: pointer; font-weight: 700; font-size: 14.8px; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--gold); font-size: 18px; line-height: 1; }
details.faq[open] summary::after { content: '−'; }
details.faq p { margin-top: 11px; font-size: 13.8px; color: var(--txt-2); line-height: 1.62; }

/* Language summary blocks */
.lang-block { background: #051c39; border-top: 1px solid var(--line); }
.lang-in { max-width: 860px; margin: 0 auto; }
.lang-block h2 { font-size: 22px; margin-bottom: 14px; }
.lang-block p { color: var(--txt-2); font-size: 14.5px; margin-bottom: 10px; }
.lang-block ul { margin: 0 0 12px 18px; color: var(--txt-2); font-size: 14.5px; }
.lang-block li { margin-bottom: 6px; }
.lang-block[dir='rtl'] { text-align: right; }
.lang-block[dir='rtl'] ul { margin: 0 18px 12px 0; }
.en-block { border-top: 1px solid var(--line); }

/* Contact */
.contact-box {
    border: 1px solid var(--gold-line); border-radius: 22px;
    background: linear-gradient(150deg, rgba(255, 199, 107, 0.08), rgba(0, 229, 255, 0.05));
    padding: 34px 32px; text-align: center;
}
.contact-box h2 { margin-bottom: 10px; }
.contact-box p { color: var(--txt-2); max-width: 62ch; margin: 0 auto; font-size: 14.8px; }
.contact-rows { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.contact-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 17px; border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04);
    color: #fff; font-size: 13.5px; font-weight: 700;
}
.contact-chip:hover { border-color: var(--cyan); color: var(--cyan); }

/* Footer */
footer { padding: 34px 0 42px; border-top: 1px solid var(--line); background: #03152f; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--txt-3); }
.foot-in a { color: var(--txt-2); }
.foot-in a:hover { color: var(--cyan); }

/* WhatsApp float */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 60;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--wa); color: #fff; display: grid; place-items: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
}

/* Responsive */
@media (max-width: 980px) {
    .hero-grid, .calc-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bar-nav { display: none; }
    .hero { padding: 40px 0 48px; }
    section { padding: 52px 0; }
}
@media (max-width: 620px) {
    .steps, .stock-grid { grid-template-columns: minmax(0, 1fr); }
    .zone-grid { grid-template-columns: minmax(0, 1fr); }
    .stock-soon { padding: 18px 16px; gap: 14px; }
    .stock-soon-body { flex-basis: 100%; }
    .stock-soon-btn { width: 100%; justify-content: center; }
    .calc-out { gap: 7px; }
    .calc-cell { padding: 10px 6px; }
    .calc-v { font-size: 19px; }
    .calc-l { font-size: 9.5px; letter-spacing: 0.2px; }
    .btn { width: 100%; }
    .hero-card-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
    .contact-box { padding: 26px 20px; }
    h1 { font-size: 27px; }
    .pill { font-size: 10.8px; letter-spacing: 0.5px; padding: 6px 12px 6px 10px; }
}

/* v4 — Back to Home button on the Algeria standalone tab page */
.back-home-fab {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 59;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--gold-line);
    background: linear-gradient(135deg, rgba(4, 26, 60, 0.95), rgba(6, 32, 64, 0.92));
    color: var(--gold-soft);
    font: 700 13px/1 var(--font-b);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.back-home-fab svg { width: 16px; height: 16px; flex: 0 0 auto; }
.back-home-fab:hover,
.back-home-fab:focus-visible {
    transform: translateY(-2px);
    border-color: var(--gold);
    color: #fff6e2;
}
@media (max-width: 620px) {
    .back-home-fab { left: 16px; bottom: 16px; padding: 9px 13px; font-size: 12.5px; gap: 7px; }
    .back-home-fab svg { width: 15px; height: 15px; }
}

/* ============================================================
   v5 — tri-language switcher + READY GOODS ON SALE shop
   ============================================================ */
[hidden] { display: none !important; }

.alg-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border-radius: 11px;
    border: 1px solid var(--gold-line);
    background: rgba(3, 18, 40, 0.7);
}
.alg-lang-switch button {
    min-width: 36px;
    padding: 6px 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--txt-3);
    font: 800 11.5px/1 var(--font-b);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.alg-lang-switch button:hover { color: var(--gold-soft); }
.alg-lang-switch button.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #062040;
    box-shadow: 0 3px 10px rgba(255, 199, 107, 0.28);
}

.sale-section { padding: 64px 0 72px; background: linear-gradient(180deg, #041a3c 0%, #062347 100%); }
.sale-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 20px;
}
.sale-tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 17px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(10, 52, 96, 0.55);
    color: var(--txt-2);
    font: 700 13.5px/1 var(--font-b);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.sale-tab svg { width: 19px; height: 19px; }
.sale-tab:hover { color: var(--gold-soft); border-color: var(--gold-line); transform: translateY(-1px); }
.sale-tab.active {
    color: #062040;
    border-color: transparent;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    box-shadow: 0 6px 18px rgba(255, 199, 107, 0.24);
}

.sale-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.sale-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    background: var(--card);
    color: var(--txt);
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.sale-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-line);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.sale-card-img {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #061b38;
}
.sale-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sale-card-body { display: flex; flex-direction: column; gap: 8px; padding: 15px 16px 17px; }
.sale-card-tag {
    align-self: flex-start;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
    font: 800 10.5px/1 var(--font-b);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.sale-card-body strong { font: 800 15px/1.35 var(--font-h); color: #fff; }
.sale-card-cta { margin-top: auto; color: var(--gold-soft); font: 700 12.5px/1.4 var(--font-b); }
.sale-card-note { padding: 22px 20px; justify-content: flex-start; gap: 12px; }
.sale-note-ico {
    width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: 12px; background: rgba(255, 199, 107, 0.1); color: var(--gold-soft);
}
.sale-note-ico svg { width: 24px; height: 24px; }
.sale-card-note strong { font: 800 17px/1.3 var(--font-h); color: #fff; }
.sale-card-note p { color: var(--txt-2); font-size: 13px; line-height: 1.6; }
.sale-grid-note { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.sale-foot { margin-top: 24px; }

/* ===== v6 — premium category tiles (5 hot categories) ===== */
.sale-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sale-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 258px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    background: #061b38;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.sale-cat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(4, 20, 46, 0) 22%, rgba(4, 20, 46, 0.55) 58%, rgba(3, 16, 38, 0.94) 100%);
}
.sale-cat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 1px solid transparent;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -2px 6px rgba(0, 0, 0, 0.35);
    transition: border-color 0.24s ease;
    pointer-events: none;
}
.sale-cat-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}
.sale-cat-card:hover::after { border-color: rgba(255, 218, 156, 0.55); }
.sale-cat-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.sale-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.sale-cat-card:hover .sale-cat-media img { transform: scale(1.06); }
.sale-cat-body {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 18px 18px 20px;
}
.sale-cat-tag {
    align-self: flex-start;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.14);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--cyan);
    font: 800 10.5px/1 var(--font-b);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.sale-cat-body strong {
    font: 800 16px/1.35 var(--font-h);
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.sale-cat-cta {
    color: var(--gold-soft);
    font: 700 13px/1.4 var(--font-b);
}
html[dir="rtl"] .sale-cat-body { direction: rtl; text-align: right; align-items: flex-start; }
html[dir="rtl"] .sale-cat-tag { align-self: flex-end; }

html[dir="rtl"] .bar-in,
html[dir="rtl"] .sale-tabs,
html[dir="rtl"] .sale-card-body { direction: rtl; text-align: right; }
html[dir="rtl"] .bar-nav { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .cmp { direction: rtl; }
html[dir="rtl"] .sale-card-tag { align-self: flex-end; }

@media (max-width: 980px) {
    .sale-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sale-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .alg-lang-switch { order: 3; }
}
@media (max-width: 620px) {
    .sale-grid, .sale-grid-note, .sale-cat-grid { grid-template-columns: minmax(0, 1fr); max-width: none; }
    .sale-cat-card { min-height: 230px; }
    .sale-tab { flex: 1 1 100%; justify-content: center; }
    .bar-nav { display: none; }
}

/* ============================================================
   v7 — clickable poster in hero + floating announcement
   ============================================================ */
.hero-poster { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-poster-frame {
    position: relative;
    display: block;
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--gold-line);
    box-shadow: 0 26px 70px rgba(2, 12, 28, 0.6), 0 0 0 1px rgba(0, 229, 255, 0.08) inset;
    cursor: zoom-in;
    line-height: 0;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.hero-poster-frame:hover { transform: translateY(-4px); box-shadow: 0 34px 80px rgba(2, 12, 28, 0.7); }
.hero-poster-frame:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hero-poster-frame img { width: 100%; height: auto; display: block; }
.poster-hit { position: absolute; z-index: 2; display: block; cursor: pointer; }
.poster-hit-nabil { left: 16.8%; width: 27.4%; top: 93.1%; height: 5.3%; }
.poster-hit-billy  { left: 63.9%; width: 28%; top: 93.1%; height: 5.3%; }
.poster-hit:hover { background: rgba(37, 211, 102, 0.18); border-radius: 6px; }
.poster-zoom-hint {
    position: absolute; z-index: 3; top: 12px; right: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 11px; border-radius: 999px;
    background: rgba(4, 26, 60, 0.72); border: 1px solid var(--gold-line);
    color: var(--gold-soft); font: 700 11.5px/1 var(--font-b);
    backdrop-filter: blur(6px); line-height: 1;
}
.poster-zoom-hint svg { width: 14px; height: 14px; }
.hero-poster-note { font-size: 12px; color: var(--txt-3); text-align: center; max-width: 420px; line-height: 1.55; }
.hero-poster-note strong { color: var(--wa); }

/* lightbox */
.poster-lightbox {
    position: fixed; inset: 0; z-index: 10000;
    display: grid; place-items: center; padding: 24px;
}
.poster-lightbox[hidden] { display: none; }
.poster-lightbox-back { position: absolute; inset: 0; background: rgba(2, 10, 24, 0.9); backdrop-filter: blur(6px); }
.poster-lightbox-inner {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    max-height: 100%;
}
.poster-lightbox-inner img {
    max-height: calc(100vh - 150px); max-width: min(92vw, 640px);
    width: auto; height: auto; object-fit: contain;
    border-radius: 14px; border: 1px solid var(--gold-line);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.poster-lightbox-close {
    position: absolute; top: -14px; right: -14px; z-index: 2;
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--gold-line); background: #062347; color: #fff;
    font-size: 26px; line-height: 1; cursor: pointer;
}
.poster-lightbox-close:hover { background: var(--card); border-color: var(--gold); }
.poster-lightbox-wa { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.poster-lightbox-wa a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 999px;
    background: linear-gradient(135deg, #25d366, #128c7e); color: #fff;
    font: 700 13px/1 var(--font-b); text-decoration: none;
}
.poster-lightbox-wa a svg { width: 17px; height: 17px; }

/* floating poster announcement */
.alg-float {
    position: fixed; left: 0; top: 18vh; z-index: 9000;
    width: 168px; padding: 10px;
    border-radius: 16px; border: 1px solid var(--gold-line);
    background: linear-gradient(160deg, #0a3460 0%, #041a3c 100%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
    will-change: transform;
}
.alg-float.is-paused { transition: none; }
.alg-float-close {
    position: absolute; top: -8px; right: -8px; z-index: 3;
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--gold-line); background: #062347; color: #fff;
    font-size: 19px; line-height: 1; cursor: pointer;
}
.alg-float-poster {
    display: block; width: 100%; padding: 0; border: 0; background: none;
    border-radius: 10px; overflow: hidden; cursor: zoom-in; line-height: 0;
}
.alg-float-poster img { width: 100%; height: auto; display: block; }
.alg-float-info { display: flex; flex-direction: column; gap: 5px; padding: 9px 3px 8px; }
.alg-float-tag {
    align-self: flex-start; padding: 3px 8px; border-radius: 999px;
    background: rgba(0, 229, 255, 0.12); color: var(--cyan);
    font: 800 9.5px/1 var(--font-b); letter-spacing: 0.4px; text-transform: uppercase;
}
.alg-float-info strong { font: 800 12.5px/1.25 var(--font-h); color: #fff; }
.alg-float-sub { font-size: 10px; color: var(--txt-3); line-height: 1.4; }
.alg-float-wa { display: grid; gap: 6px; }
.alg-float-wa a {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 10px; border-radius: 9px;
    background: linear-gradient(135deg, #25d366, #128c7e); color: #fff;
    font: 800 12px/1 var(--font-b); text-decoration: none;
}
.alg-float-wa a svg { width: 15px; height: 15px; }
.alg-float-wa a:hover { filter: brightness(1.1); }

html[dir="rtl"] .hero-poster-note { text-align: right; }
html[dir="rtl"] .poster-zoom-hint { right: auto; left: 12px; }
html[dir="rtl"] .alg-float { direction: rtl; }

@media (max-width: 980px) {
    .hero-poster-frame { max-width: 360px; }
}
@media (max-width: 620px) {
    .alg-float { width: 138px; padding: 8px; }
    .alg-float-info strong { font-size: 11.5px; }
    .alg-float-sub { display: none; }
    .hero-poster-frame { max-width: 100%; }
}

/* v8 — 48h fastest delivery highlight */
.hero-fast {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 18px; padding: 11px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 199, 107, 0.16), rgba(255, 171, 61, 0.06));
    border: 1px solid var(--gold-line);
    box-shadow: 0 0 0 1px rgba(255, 199, 107, 0.06) inset, 0 10px 30px rgba(255, 171, 61, 0.08);
    color: var(--gold-soft);
    font: 800 clamp(14px, 1.5vw, 17px)/1.2 var(--font-h);
    letter-spacing: 0.1px;
}
.hero-fast svg {
    flex: none; color: #ffab3d;
    filter: drop-shadow(0 0 8px rgba(255, 171, 61, 0.55));
    animation: fastPulse 2.2s ease-in-out infinite;
}
@keyframes fastPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .hero-fast svg { animation: none; } }
html[dir="rtl"] .hero-fast { font-family: var(--font-h); }
