:root {
    --navy: #07162c;
    --navy-2: #0c2344;
    --navy-3: #14325c;
    --paper: #f4f7fb;
    --white: #ffffff;
    --line: rgba(7, 22, 44, 0.1);
    --muted: #5b6b80;
    --accent: #c9a56a;
    --danger: #9a3b2a;
    --ok: #1f6b4a;
    --shadow: 0 18px 50px rgba(7, 22, 44, 0.12);
    --radius: 18px;
    --max: 1200px;
    --sans: "IBM Plex Sans Arabic", "Montserrat", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[lang="en"] { --sans: "Montserrat", "IBM Plex Sans Arabic", sans-serif; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--navy);
    font-family: var(--sans);
    line-height: 1.7;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.skip {
    position: absolute;
    inset-inline-start: 12px;
    top: -40px;
    background: var(--navy);
    color: #fff;
    padding: 8px 12px;
    z-index: 200;
}
.skip:focus { top: 12px; }

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

/* Intro */
.intro {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
    transition: opacity .5s ease, visibility .5s ease;
}
.intro.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 38%, rgba(20, 50, 92, .85), transparent 46%),
        linear-gradient(160deg, #050d18, #0c2344);
}
.intro-inner {
    position: relative;
    text-align: center;
    padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
    max-width: min(560px, 92vw);
}
html[lang="ar"] .intro-eye,
html[lang="ar"] .filter-label,
html[lang="ar"] .brand small {
    letter-spacing: 0;
}
.intro-logo {
    display: block;
    width: min(220px, 58vw);
    height: auto;
    margin: 0 auto 8px;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
    filter: none;
}
.thumb img, .photo {
    transform: translateZ(0);
    backface-visibility: hidden;
}
.intro-eye {
    margin: 0 0 12px;
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.15rem, 3.2vw, 1.75rem);
    letter-spacing: 0.12em;
    line-height: 1.45;
    text-shadow: 0 8px 22px rgba(0, 0, 0, .4);
}
.intro h2 {
    margin: 0;
    font-size: clamp(1.55rem, 4vw, 2.5rem);
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}
.intro p { color: #d5deea; margin: 10px 0 22px; line-height: 1.55; }
.intro p.intro-eye { color: #fff; margin: 0 0 12px; }
.intro button {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 1rem;
    min-height: 44px;
}
body.intro-lock { overflow: hidden; }

/* Header — field-specific */
.utility {
    background: #07162c;
    color: #e8eef6;
    font-size: .78rem;
    letter-spacing: 0;
}
.utility-in {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 6px 0;
}
.utility a { color: #fff; }
.phones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.phones span { color: var(--accent); margin-inline-end: 6px; }
.official-id {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: #e8eef6;
    white-space: nowrap;
}
.official-id b {
    color: #fff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.utility-tools { display: flex; align-items: center; gap: 12px; }
.utility .ghost {
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(7, 22, 44, 0.06);
}
.top-in {
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr) auto;
    grid-template-areas:
        "brand search tools"
        "nav nav nav";
    align-items: center;
    gap: 10px 16px;
    padding: 10px 0 8px;
    min-height: 80px;
}
.top-in .brand { grid-area: brand; }
.top-in .rn-search { grid-area: search; }
.top-tools {
    grid-area: tools;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}
.top-tools a {
    color: var(--navy-2);
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
}
.top-in .nav { grid-area: nav; justify-content: center; padding: 4px 0 2px; }
.rn-search {
    position: relative;
    width: min(520px, 100%);
    justify-self: center;
    display: flex;
    align-items: stretch;
    background: #f4f7fb;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: visible;
}
.rn-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 10px 16px;
    font: inherit;
    color: var(--navy);
}
.rn-search input:focus { outline: none; }
.rn-search button {
    border: 0;
    background: var(--navy);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
    margin: 3px;
    cursor: pointer;
}
.rn-suggest {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(7, 22, 44, .14);
    padding: 8px;
    z-index: 80;
}
.rn-suggest-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--navy);
    font-weight: 700;
}
.rn-suggest-row small { color: var(--muted); font-weight: 600; }
.rn-suggest-row:hover { background: #f4f7fb; }
.rn-suggest-empty { margin: 0; padding: 12px; color: var(--muted); }
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
}
.brand img {
    width: 58px;
    height: auto;
    object-fit: contain;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.brand b { display: block; font-size: 1.15rem; letter-spacing: 0; }
html[lang="en"] .brand b { letter-spacing: .08em; text-transform: uppercase; }
.brand small { display: block; color: var(--muted); font-weight: 600; font-size: .72rem; letter-spacing: .18em; }
.brand-ids {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 5px;
    font-style: normal;
    font-size: .72rem;
    font-weight: 600;
    color: var(--navy-2);
    letter-spacing: 0;
    line-height: 1.45;
}
.brand-ids .official-id { color: var(--navy-2); }
.brand-ids .official-id b { color: var(--navy); }

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.nav a {
    color: var(--navy-2);
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    position: relative;
    line-height: 1.4;
}
html[lang="en"] .nav a {
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.nav a:hover, .nav a.is-on { color: var(--navy); }
.nav a.is-on::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -8px;
    height: 2px;
    background: var(--accent);
}
.nav-cta {
    background: var(--navy) !important;
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(7,22,44,.2);
}
.nav-admin {
    border: 1.5px solid var(--navy) !important;
    color: var(--navy) !important;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff !important;
}
.nav-admin:hover { background: var(--navy) !important; color: #fff !important; }
.nav-admin.is-on::after { display: none; }
.icon-btn {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    cursor: pointer;
}
.menu-btn { display: none; }

.depts {
    position: relative;
    z-index: 40;
    background: #07162c;
    color: #d7e2f0;
    border-bottom: 1px solid rgba(201,165,106,.22);
}
.depts-in {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    padding: 8px 0;
    overflow: visible;
}
.world {
    position: static;
    flex: 1 1 0;
    min-width: 0;
}
.world .dept-tile { width: 100%; }
.world-panel {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    transform: translateX(-50%);
    width: min(1100px, calc(100vw - 24px));
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px 24px;
    background: #fff;
    color: var(--navy);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 22px 50px rgba(7, 22, 44, .2);
    padding: 22px 24px 18px;
    z-index: 70;
}
.world-panel::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 100%;
    height: 12px;
}
.world:hover .world-panel,
.world:focus-within .world-panel { display: grid; }
.world-col { display: flex; flex-direction: column; gap: 6px; }
.world-col b {
    color: var(--accent);
    font-size: .78rem;
    letter-spacing: .04em;
    margin-bottom: 4px;
}
.world-col a {
    color: var(--navy);
    font-weight: 700;
    font-size: .92rem;
    padding: 4px 0;
}
.world-col a:hover { color: var(--accent); }
.world-foot {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}
.world-foot a {
    color: #fff;
    background: var(--navy);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
}
.world-foot a:last-child {
    background: #fff;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}
.depts-in::-webkit-scrollbar { display: none; }
.dept-tile.is-lead {
    background: rgba(228,199,138,.12);
    border-color: rgba(228,199,138,.4);
}
.dept-tile {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 58px;
    padding: 7px 4px 6px;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
}
.dept-tile svg {
    width: 18px;
    height: 18px;
    stroke: #e4c78a;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.dept-tile b {
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dept-tile:hover, .dept-tile.is-on {
    background: rgba(228,199,138,.16);
    border-color: rgba(228,199,138,.45);
}
.cat { position: relative; }
.cat-ico {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(7,22,44,.72);
}
.cat-ico svg {
    width: 26px;
    height: 26px;
    stroke: #e4c78a;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.cat .thumb { aspect-ratio: 4 / 3; height: auto; }
.thumb.zoom, .zoom { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }
.zoom-layer {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(5,13,24,.88);
    display: grid;
    place-items: center;
    padding: 40px;
}
.zoom-layer[hidden] { display: none; }
.zoom-layer img { max-width: min(1100px, 92vw); max-height: 82vh; object-fit: contain; border-radius: 16px; }
.zoom-layer p { color: #fff; margin: 12px 0 0; }
.zoom-x {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    background: #fff;
    border: 0;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Hero — 30s still-to-still slider */
.hero {
    position: relative;
    min-height: 86vh;
    display: grid;
    align-items: end;
    padding: 0 0 36px;
    overflow: hidden;
    color: #fff;
    background: #07162c;
}
.hero-slides {
    position: absolute;
    inset: 0;
    background: #07162c;
}
.hero-slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    opacity: 0;
    animation: heroStill 30s linear infinite;
    animation-delay: calc(var(--hero-i, 0) * 2s);
    /* يمنع تشويش طبقات الهيرو على بعض الأجهزة */
    backface-visibility: hidden;
}
.hero-slides img.is-lead {
    opacity: 1;
    animation-name: heroStillLead;
}
@keyframes heroStill {
    0% { opacity: 0; }
    1.4% { opacity: 1; }
    5.4% { opacity: 1; }
    6.7% { opacity: 0; }
    100% { opacity: 0; }
}
@keyframes heroStillLead {
    0%, 5.4% { opacity: 1; }
    6.7%, 98.6% { opacity: 0; }
    100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slides img { animation: none !important; opacity: 0; }
    .hero-slides img.is-lead { opacity: 1; }
}
.hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5,13,24,.28) 0%, rgba(5,13,24,.12) 38%, rgba(5,13,24,.8) 100%),
        linear-gradient(270deg, rgba(5,13,24,.64) 0%, rgba(5,13,24,.2) 46%, transparent 72%);
}
html[lang="en"] .hero-veil {
    background:
        linear-gradient(180deg, rgba(5,13,24,.28) 0%, rgba(5,13,24,.12) 38%, rgba(5,13,24,.8) 100%),
        linear-gradient(90deg, rgba(5,13,24,.64) 0%, rgba(5,13,24,.2) 46%, transparent 72%);
}
.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 36rem);
    gap: 0;
    align-items: end;
    padding-top: 20vh;
}
.hero .kicker, .hero .lead, .hero .note { color: #d7e2f0; }
.hero h1 { color: #fff; }
.kicker {
    color: var(--navy-3);
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: .74rem;
    font-weight: 700;
    margin: 0 0 10px;
}
.hero h1 {
    font-size: clamp(2rem, 4.6vw, 3.5rem);
    line-height: 1.25;
    margin: 0 0 14px;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 700;
}
.btn-dark { background: var(--navy); color: #fff; }
.btn-line { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.note { color: var(--muted); font-size: .88rem; }

.hero .btn-line { color: #fff; border-color: rgba(228, 199, 138, .75); }
.hero .btn-dark { background: #c9a56a; color: #07162c; }
.hero .stats { position: relative; z-index: 2; }
.hero .stats .stat {
    background: linear-gradient(180deg, rgba(12, 35, 68, .58), rgba(7, 22, 44, .78));
    color: #e8eef6;
    border: 1px solid rgba(201, 165, 106, .42);
    backdrop-filter: blur(16px);
    box-shadow: 0 14px 36px rgba(5, 13, 24, .28);
    border-radius: 18px;
    padding: 16px 18px 14px;
}
.hero .stats .stat b {
    color: #e4c78a;
    font-size: 1.2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 32px;
}
.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}
.stat b { display: block; font-size: 1.35rem; }

.section { padding: 68px 0; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 8px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.grid-3, .grid-4, .cards { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards { grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0 48px;
}
.gallery-grid .thumb { aspect-ratio: 4 / 3; height: auto; }
.grid-7 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 26px; }
.collections-stage { margin-top: 28px; text-align: start; }
.collections-leaders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.cat-lead {
    border-color: rgba(201, 165, 106, .38);
    box-shadow: 0 18px 40px rgba(7, 22, 44, .08);
}
.cat-lead .thumb { aspect-ratio: 16 / 10; height: auto; }
.cat-lead h3 { font-size: 1.42rem; }
.cat-lead .card-body { padding: 18px 20px 16px; }
.collections-suite {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}
.collections-suite .thumb { aspect-ratio: 4 / 3; height: auto; }
.collections-suite h3 { font-size: 1rem; }
.cards-lead { grid-template-columns: 1fr 1fr; }
.cards-lead .thumb { aspect-ratio: 4 / 3; height: auto; }
.page-head-lead h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

.card, .cat, .why, .branch-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 0 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.product-card .actions, .card > .actions { padding: 0 16px 2px; margin-top: auto; }
.card-body { padding: 14px 16px 8px; flex: 1; }
.card-desc, .product-card .photo-details {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat { min-height: 150px; transition: transform .18s ease, box-shadow .18s ease; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tag {
    display: inline-block;
    color: var(--navy);
    background: #eef3f8;
    font-style: normal;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.5;
    padding: 4px 10px;
    border-radius: 999px;
    margin: 0 0 10px;
}
.card h3, .cat h3, .why h3, .branch-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    line-height: 1.45;
    font-weight: 700;
}
.card p, .cat p, .why p, .branch-card p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.7;
    font-size: .95rem;
}
.price { display: block; color: var(--navy); margin: 0 0 10px; font-size: 1.02rem; line-height: 1.5; }
.price-vat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 10px;
    color: var(--navy);
    line-height: 1.45;
}
.price-vat .price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}
.price-vat .price-line b {
    font-size: 1.02rem;
    font-weight: 700;
}
.price-vat .price-line small {
    color: var(--muted);
    font-size: .82rem;
}
.price-vat .price-inc b {
    font-size: 1.08rem;
}
.rn-price-totals {
    display: grid;
    gap: 6px;
    margin: 8px 0;
}
.rn-price-totals p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
}
.rn-price-totals .rn-price-grand {
    border-top: 1px solid rgba(7, 22, 44, .12);
    padding-top: 8px;
    margin-top: 4px;
    font-size: 1.05rem;
}
.admin-price-vat {
    display: inline-block;
    line-height: 1.45;
    font-size: .9rem;
}

.thumb {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 0;
    margin-bottom: 0;
    overflow: hidden;
    background: #0c2344;
    flex-shrink: 0;
}
.thumb img, .photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.thumb[data-tone="1"] { background: linear-gradient(145deg, #0c2344, #6b7c93); }
.thumb[data-tone="2"] { background: linear-gradient(160deg, #14325c, #c9a56a); }
.thumb[data-tone="3"] { background: linear-gradient(145deg, #07162c, #d7dee8); }
.thumb[data-tone="4"] { background: linear-gradient(145deg, #1b3a63, #9eb0c8); }
.thumb[data-tone="5"] { background: linear-gradient(145deg, #0c2344, #e8eef6); }
.thumb[data-tone="6"] { background: linear-gradient(145deg, #14325c, #f4f7fb); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 22px 0; }
.door-filters { margin: 4px 0 10px; }
.door-filters .filters { margin: 8px 0 16px; }
.filter-label { margin: 0; font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.door-meta { margin: 0 0 8px; font-size: .86rem; font-weight: 700; color: var(--navy); }
.photo-details { color: var(--muted); font-size: .92rem; line-height: 1.75; margin: 8px 0 0; }
.product-details { margin: 18px 0; padding: 18px 20px; background: #f4f7fb; border-radius: 18px; }
.product-details h2 { margin: 0 0 8px; font-size: 1rem; }
.product-details p { margin: 0; line-height: 1.8; }
.door-group { margin: 8px 0 42px; text-align: start; }
.door-group-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.door-group-head h2 { margin: 4px 0 0; font-size: 1.45rem; }
.cards-doors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-doors .thumb,
.rn-goods.is-door .thumb { aspect-ratio: 3 / 4; height: auto; }
.cards-doors .photo-details { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.admin-box {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 6px 16px 16px;
    margin: 16px 0;
    background: #fbfdff;
}
.admin-box legend {
    padding: 0 8px;
    font-weight: 700;
    color: var(--navy);
}
.admin-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 24px;
    margin: 8px 0 12px;
}
.admin-filter { max-width: 280px; margin: 18px 0 8px; }
.perm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; margin: 8px 0 20px; }
.perm-grid .check-row { margin: 6px 0; }
.muted { color: var(--muted); font-size: .82rem; }
.chip {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 7px 14px;
    cursor: pointer;
    font-weight: 600;
}
.chip.is-on { background: var(--navy); color: #fff; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}
.about-visual {
    min-height: 340px;
    border-radius: 28px;
    overflow: hidden;
    background: #0c2344;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; min-height: 340px; }

form.panel, .panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
}
label { display: block; font-size: .88rem; font-weight: 600; margin: 12px 0 6px; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fbfdff;
    border-radius: 10px;
    padding: 11px 12px;
}
textarea { min-height: 110px; resize: vertical; }
.rn-privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 8px 0 48px;
}
.rn-privacy-grid h2 { margin: 0 0 8px; font-size: 1.05rem; }
.rn-secure-lock {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #07162c;
    color: #fff;
}
.rn-secure-lock b { color: #e4c78a; display: block; margin-bottom: 4px; }
.rn-secure-lock p { margin: 0; color: #d5deea; font-size: .9rem; }
@media (max-width: 800px) {
    .rn-privacy-grid { grid-template-columns: 1fr; }
    .gov-grid { grid-template-columns: 1fr; }
}
.form-msg { min-height: 1.4em; margin-top: 10px; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--danger); }
.contact-box p { margin: 6px 0; color: var(--muted); }
.contact-box strong { color: var(--navy); display: block; }

footer.site-footer,
footer {
    position: relative;
    background: #08111d;
    color: #c5ceda;
    padding: 0 0 22px;
    overflow: hidden;
}
footer::before {
    content: "";
    display: block;
    height: 1px;
    background: #c9a56a;
}
footer a { color: #fff; }
.foot-mast {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 34px 0 26px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.foot-mast .foot-slogan {
    margin: 0;
    color: #e8eef6;
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.7;
    max-width: 34rem;
}
.foot-branches {
    color: #e4c78a !important;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 1px solid rgba(228,199,138,.45);
    padding-bottom: 2px;
}
.foot-branches:hover { color: #fff !important; border-bottom-color: #fff; }
.foot {
    display: grid;
    grid-template-columns: .9fr .95fr 1.15fr;
    gap: 40px 48px;
    padding: 32px 0 24px;
    align-items: start;
}
.foot-brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.foot-brand img,
.foot-mast img {
    width: 52px;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    background: none;
    box-shadow: none;
}
.foot-mast strong,
.foot-brand strong {
    display: block;
    color: #fff;
    font-size: 1.16rem;
}
.foot-domain {
    color: #d4c09a;
    font-size: .84rem;
}
.foot-ksa {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}
.foot-ksa p {
    margin: 0;
    color: #d7deea;
    font-size: .88rem;
    line-height: 1.5;
}
.ksa-flag {
    flex: 0 0 auto;
    width: 42px;
    height: 28px;
    display: block;
}
.ksa-flag svg { width: 100%; height: 100%; display: block; }
.foot-label {
    margin: 0 0 12px;
    color: #e4c78a;
    font-size: .92rem;
    font-weight: 700;
}
.foot-nav {
    display: grid;
    gap: 0;
}
.foot-nav a {
    display: block;
    margin: 0;
    padding: 6px 0;
    color: #d5dee9;
}
.foot-nav a:hover { color: #e4c78a; }
.foot-col p,
.foot-col > a {
    display: block;
    margin: 7px 0;
    color: #cdd6e4;
}
.foot-col a:hover { color: #e4c78a; }
.foot-quiet { color: #9aa8ba; margin: 0 0 10px; font-size: .9rem; }
.foot-contact { display: grid; gap: 8px; }
.foot-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 0;
    margin: 0 !important;
    border: 0;
    background: none;
}
.foot-contact-row span { color: #9aa8ba; font-size: .82rem; }
.foot-contact-row b { color: #fff; font-weight: 600; letter-spacing: .02em; }
.foot-hours {
    margin: 4px 0 0 !important;
    color: #b7c3d3;
    font-size: .88rem;
}
.foot-contact-link {
    color: #e4c78a !important;
    font-weight: 600;
    font-size: .9rem;
}
.foot-pay-note {
    margin: 16px 0 0 !important;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #9aa8ba !important;
    font-size: .8rem;
    line-height: 1.55;
}
.social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.social-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 10px 6px 6px;
    margin: 0;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.03);
    color: #fff !important;
    text-decoration: none;
}
.social-chip:hover {
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.07);
    color: #fff !important;
}
.social-chip-mark {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
}
.social-chip-mark svg {
    width: 18px;
    height: 18px;
    display: block;
}
.social-chip-name {
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.2;
}
.social-chip--instagram .social-chip-mark {
    background: radial-gradient(circle at 30% 110%, #fccc63 0%, #fbad50 20%, #e95950 45%, #d62976 70%, #4c68d7 100%);
}
.social-chip--tiktok .social-chip-mark { background: #111; color: #fff; }
.social-chip--twitter .social-chip-mark { background: #0a0a0a; }
.social-chip--facebook .social-chip-mark { background: #1877f2; }
.social-chip--whatsapp .social-chip-mark { background: #25d366; }
.social-chip--youtube .social-chip-mark { background: #ff0000; }
.social-chip--snapchat .social-chip-mark { background: #fffc00; color: #111; }
.social-chip--linkedin .social-chip-mark { background: #0a66c2; }
.foot-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #8e9aab;
    font-size: .8rem;
}
.foot-bar .foot-legal {
    color: #8e9aab;
    font-size: .8rem;
    margin: 0;
}
.foot-bar .foot-legal b { color: #cdd6e4; font-weight: 600; }
.foot-bar-links {
    display: flex;
    gap: 14px;
}
.foot-bar a { color: #d4c09a; }

.launch-board {
    margin: 18px 0 24px;
}
.launch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}
.launch-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    transition: border-color .2s ease;
}
.launch-row:hover { border-color: rgba(201,165,106,.55); }
.launch-row b { display: block; color: var(--navy); }
.launch-row small { display: block; color: var(--muted); margin-top: 2px; font-size: .82rem; }
.launch-mark {
    flex: 0 0 auto;
    min-width: 52px;
    text-align: center;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 4px 8px;
    border-radius: 4px;
}
.launch-row.is-ok .launch-mark {
    background: rgba(31,107,74,.12);
    color: var(--ok);
}
.launch-row.is-todo .launch-mark {
    background: rgba(201,165,106,.18);
    color: #8a6a3a;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: .8rem;
    color: var(--muted);
    justify-content: inherit;
}
.crumbs a { color: var(--navy); font-weight: 700; }
.crumbs i { font-style: normal; opacity: .35; }
.page-kicker {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
}
.page-head {
    padding: 32px 0 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.page-head h1 { margin: 0 0 10px; }
.page-meta {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 700;
}
.catalog-page { padding-bottom: 48px; }
.product-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.product-copy h1 { margin: 0 0 10px; }
.product-cta-note { color: var(--muted); }
.product-art {
    min-height: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #0c2344;
}
.product-art .zoom img {
    width: 100%;
    height: auto;
    max-height: min(72vh, 820px);
    min-height: 0;
    object-fit: contain;
    object-position: center;
    background: #0c2344;
}
.look-box { margin-top: 12px; }
.look-kicker {
    margin: 0 0 8px;
    font-size: .76rem;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 700;
}
.look-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}
.look-btn {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 0 0 8px;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
}
.look-btn.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(201, 165, 106, .35); }
.look-btn img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #eef3f8;
}
.look-btn span { display: block; font-size: .7rem; padding: 6px 4px 0; color: var(--navy); }
.rn-goods { padding-bottom: 16px; }
.rn-goods-media { position: relative; }
.rn-goods .thumb { aspect-ratio: 4 / 3; height: auto; }
.rn-goods.is-door .thumb { aspect-ratio: 3 / 4; }
.rn-cart-ico {
    position: absolute;
    inset-inline-end: 10px;
    bottom: 10px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #07162c;
    box-shadow: 0 10px 22px rgba(7, 22, 44, .2);
    cursor: pointer;
    display: grid;
    place-items: center;
    text-decoration: none;
    z-index: 2;
}
.rn-cart-ico svg { width: 18px; height: 18px; display: block; }
.rn-cart-ico:hover,
.rn-cart-ico.is-in {
    background: #c9a56a;
    color: #07162c;
}
.rn-cart-ico.is-solid {
    position: static;
    background: #c9a56a;
    box-shadow: none;
}
.rn-cart-ico.is-line {
    position: relative;
    inset: auto;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1px solid rgba(228, 199, 138, .55);
    box-shadow: none;
}
.rn-cart-ico.is-line i {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #c9a56a;
    color: #07162c;
    font-size: .62rem;
    font-style: normal;
    display: grid;
    place-items: center;
    padding: 0 4px;
}

/* Admin */
.admin-body {
    background:
        radial-gradient(circle at 12% 0%, rgba(201,165,106,.16), transparent 32%),
        #e8eef6;
}
.quote-desk label[hidden] { display: none !important; }
.admin-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.admin-stage { min-width: 0; display: flex; flex-direction: column; }
.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    background: rgba(255,255,255,.86);
    border-bottom: 1px solid var(--line);
}
.admin-top strong { display: block; }
.admin-top span { color: var(--muted); font-size: .86rem; }
.admin-top-actions { display: flex; gap: 8px; }
.pass-wrap {
    position: relative;
    display: block;
}
.pass-wrap input { padding-inline-end: 48px; }
.pass-eye {
    position: absolute;
    inset-inline-end: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    color: var(--navy);
    opacity: .7;
}
.pass-eye.is-on { opacity: 1; color: var(--gold, #c9a56a); }
.command-board { margin: 28px 0; }
.command-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.command-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: inherit;
    min-height: 108px;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.command-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 165, 106, .55);
    box-shadow: var(--shadow);
}
.command-card strong { font-size: 1rem; }
.command-card span { color: var(--muted); font-size: .86rem; line-height: 1.55; }
.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(160deg, rgba(7,22,44,.88), rgba(12,35,68,.72)),
        url("../images/hero-doors-hall.png") center / cover;
}
.login-card { width: min(440px, calc(100% - 24px)); }
.login-card .kicker { color: var(--accent); margin: 0 0 6px; letter-spacing: .14em; }
.dropzone {
    position: relative;
    display: grid;
    place-items: center;
    gap: 6px;
    min-height: 168px;
    margin: 14px 0 16px;
    border: 1.5px dashed rgba(201, 165, 106, .55);
    border-radius: 18px;
    background: #fbf6ec;
    text-align: center;
    cursor: pointer;
}
.dropzone input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.dropzone strong { color: var(--navy); }
.dropzone span { color: var(--muted); font-size: .88rem; }
.upload-panel { padding: 22px; }
.admin-hero {
    border-radius: 22px;
    min-height: 180px;
    padding: 28px;
    color: #fff;
    background:
        linear-gradient(100deg, rgba(5,13,24,.78), rgba(5,13,24,.35)),
        url("../images/hero-showroom.png") center / cover;
    margin-bottom: 22px;
}
.admin-hero h1 { margin: 0 0 8px; color: #fff; }
.admin-hero p { color: #d7e2f0; max-width: 56ch; }
.admin-official {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 14px;
    color: #f3deae;
    font-size: .86rem;
}
.admin-official b { color: #fff; letter-spacing: .03em; }
.gov-board {
    margin: 8px 0 22px;
}
.gov-board h2 { margin: 0 0 14px; font-size: 1.15rem; }
.gov-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.gov-grid article {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.gov-grid b { display: block; color: var(--navy); margin-bottom: 4px; }
.gov-grid span { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.net-map {
    margin-top: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}
.net-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.net-head h2 { margin: 0 0 6px; font-size: 1.2rem; }
.net-head p { margin: 0; color: var(--muted); max-width: 62ch; }
.net-live {
    flex-shrink: 0;
    font-style: normal;
    font-size: .78rem;
    font-weight: 700;
    color: #1f6b4a;
    background: #e8f6ee;
    border-radius: 999px;
    padding: 6px 12px;
}
.net-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.net-node {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
}
.net-node.is-hq { border-color: rgba(201, 165, 106, .45); background: #fbf6ec; }
.net-node.is-wide { grid-column: 1 / -1; }
.net-node h3 { margin: 0 0 10px; font-size: .95rem; }
.net-node ul { margin: 0; padding: 0; list-style: none; }
.net-node li { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.net-node li:last-child { border-bottom: 0; }
.net-node small { color: var(--muted); }
.net-branches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}
.why, .admin-dept, .kpi .card { padding: 16px; }
.branch-stage {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 8px 0 48px;
}
.branch-art {
    padding: 0 20px 18px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(7,22,44,.04), transparent 42%),
        #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(7, 22, 44, .05);
}
.branch-cover {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    min-height: 92px;
    margin: 0 -20px 14px;
    padding: 16px 20px 14px;
    background:
        linear-gradient(180deg, transparent, rgba(7, 22, 44, .55)),
        #07162c;
    background-size: cover;
    background-position: center;
}
.branch-cover.has-photo {
    min-height: 148px;
    background-image: linear-gradient(180deg, transparent 20%, rgba(7, 22, 44, .62)), var(--branch-cover, none);
}
.branch-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.branch-pin {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #e4c78a;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(228, 199, 138, .45);
}
.rn-voice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 8px 14px;
    border: 1px solid rgba(201, 165, 106, .45);
    border-radius: 999px;
    background: #07162c;
    color: #e4c78a;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}
.rn-voice:hover { background: #12233d; }
.branch-hotline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin: 16px 0 12px;
}
.hot-line, .hot-wa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 700;
}
.hot-line {
    background: #07162c;
    color: #fff;
}
.hot-line.is-cs { background: #0c2344; }
.hot-line span { color: #e4c78a; font-size: .74rem; }
.hot-line b { font-size: .92rem; }
.hot-wa {
    background: #25d366;
    color: #fff;
    justify-content: center;
    min-width: 88px;
}
.connect-dock {
    position: fixed;
    inset-inline-end: 18px;
    bottom: 18px;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.connect-fab {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(7, 22, 44, .22);
}
.connect-fab svg { width: 22px; height: 22px; fill: currentColor; }
.connect-fab.is-call { background: #07162c; }
.connect-fab.is-wa { background: #25d366; }
.dash-fabs .connect-fab {
    width: auto;
    height: auto;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
}
.dash-connect {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px 22px;
    margin: 18px 0;
}
.dash-fabs { display: flex; gap: 10px; margin: 12px 0; }
.connect-sheet {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: end center;
}
.connect-sheet[hidden] { display: none; }
.connect-veil {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(7, 22, 44, .46);
}
.connect-panel {
    position: relative;
    width: min(460px, calc(100% - 24px));
    margin-bottom: 24px;
    background: #fff;
    border-radius: 22px 22px 16px 16px;
    padding: 20px 20px 16px;
    box-shadow: var(--shadow);
}
.connect-list { display: grid; gap: 8px; margin-top: 12px; }
.connect-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f4f7fb;
    border: 1px solid var(--line);
}
.connect-row b { display: block; }
.connect-row small { color: var(--muted); font-weight: 700; }
.connect-row.is-sales { border-color: rgba(201,165,106,.4); }
.connect-row.is-cs { background: #eef6ff; }
.why .thumb { border-radius: 14px; margin-bottom: 12px; }
.admin-dept img { height: 110px; width: 100%; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }
.admin-thumb { width: 56px; height: 40px; object-fit: cover; border-radius: 8px; background: #e8eef6; }
.media-video { width: 100%; height: 220px; object-fit: cover; background: #07162c; border-radius: 14px; display: block; }
.admin-main .form-msg { margin-bottom: 14px; }
.side {
    background: var(--navy);
    color: #d7e2f0;
    padding: 20px 14px 32px;
}
.side .brand { color: #fff; margin-bottom: 18px; }
.side .brand img { width: 52px; height: 52px; }
.side-group {
    margin: 16px 0 8px;
    padding: 0 12px;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
}
.side a, .side button.link {
    display: block;
    width: 100%;
    text-align: start;
    background: transparent;
    border: 0;
    color: #e8eef6;
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
}
.side a.is-on { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { padding: 28px; }
.admin-main h1 { margin-top: 0; }
.kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi .card h3 { font-size: 1.8rem; margin: 0; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; margin-top: 16px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; font-size: .92rem; }
.login-card { width: min(440px, calc(100% - 32px)); margin: 8vh auto; padding: 28px 26px 24px; }
.login-card img { width: 92px; height: 92px; object-fit: contain; border-radius: 18px; margin: 0 auto 14px; display: block; background: #fff; }
.login-card h1 { text-align: center; }
.login-card > p { text-align: center; }
.check-row { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.check-row input { width: auto; }

@media (max-width: 1040px) {
    .depts-in {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        padding: 10px 0;
        overflow: visible;
    }
    .world { flex: none; min-width: 0; }
    .dept-tile {
        min-height: 64px;
        padding: 8px 6px;
        gap: 6px;
    }
    .dept-tile b {
        font-size: .68rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .dept-tile svg { width: 20px; height: 20px; }
    .split, .product-hero, .grid-3, .cards, .kpi, .command-grid, .foot, .branch-stage, .launch-grid { grid-template-columns: 1fr 1fr; }
    .cards.cards-doors { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid .thumb { aspect-ratio: 4 / 3; height: auto; }
    .collections-suite { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rn-color-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .menu-btn { display: inline-flex; }
    .top { position: relative; }
    .top-in {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand tools"
            "search search";
        gap: 10px;
    }
    .rn-search { width: 100%; justify-self: stretch; }
    .top-tools .nav-cta, .top-tools .nav-admin { display: none; }
    .world-panel { display: none !important; }
    .nav {
        display: none;
        position: absolute;
        inset-inline: 12px;
        top: calc(100% + 8px);
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        z-index: 60;
        box-shadow: var(--shadow);
        max-height: min(70vh, 480px);
        overflow: auto;
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px 10px; font-size: .95rem; }
    .stats { grid-template-columns: 1fr; }
    .admin-shell { grid-template-columns: 1fr; }
    .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .cat-ico { width: 36px; height: 36px; top: 10px; inset-inline-start: 10px; }
    .cat-ico svg { width: 20px; height: 20px; }
    .card-body, .cat .card-body { padding-top: 8px; }
    .hero-slides img {
        object-fit: cover;
        object-position: center center;
        /* على الموبايل: صورة واحدة واضحة بدل تحريك 15 طبقة يسبب بكسلة */
        animation: none !important;
        opacity: 0 !important;
        transform: none !important;
        filter: none !important;
    }
    .hero-slides img.is-lead {
        opacity: 1 !important;
    }
    .thumb img, .gallery-grid img, .cat .thumb img, .about-visual img, .product-hero img {
        image-rendering: auto;
        -ms-interpolation-mode: bicubic;
        transform: none;
    }
    .cat:hover, .card:hover {
        transform: none;
    }
}

@media (max-width: 640px) {
    .depts-in {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px 0 12px;
    }
    .gallery-grid { grid-template-columns: 1fr; }
    .collections-leaders { grid-template-columns: 1fr; }
    .collections-suite { grid-template-columns: 1fr 1fr; }
    .cat-lead .thumb { aspect-ratio: 16 / 10; height: auto; }
    .cards-lead, .cards.cards-doors, .command-grid, .cards, .grid-3, .split, .product-hero { grid-template-columns: 1fr; }
    .cards-lead .thumb { aspect-ratio: 4 / 3; height: auto; }
    .dept-tile { min-width: 0; min-height: 70px; padding: 10px 8px; }
    .dept-tile b { font-size: .72rem; }
    .grid-4, .grid-7 { grid-template-columns: 1fr; }
    .branch-stage { grid-template-columns: 1fr; }
    .wrap { width: min(var(--max), calc(100% - 20px)); }
    .brand img { width: 42px; height: auto; }
    .brand b { font-size: .95rem; line-height: 1.2; }
    .brand small { font-size: .62rem; }
    .phones {
        font-size: .72rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }
    .phones a, .official-id {
        display: block;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
        line-height: 1.35;
    }
    .utility-in {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 8px 0;
    }
    .utility-tools {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 12px;
        align-items: center;
    }
    .official-id { font-size: .7rem; white-space: normal; }
    .brand-ids { font-size: .66rem; gap: 2px 10px; }
    .top-in { min-height: auto; padding: 8px 0 10px; }
    .rn-search input { font-size: 16px; } /* يمنع زوم iOS */
    .hero {
        min-height: min(88vh, 720px);
        padding-bottom: 28px;
    }
    .hero-grid {
        padding-top: 12vh;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }
    .hero h1 {
        font-size: clamp(1.35rem, 6.2vw, 1.85rem);
        line-height: 1.35;
        max-width: 18ch;
    }
    .hero .lead {
        font-size: .95rem;
        max-width: 34ch;
        line-height: 1.55;
    }
    .hero .actions { gap: 10px; margin-top: 18px; }
    .hero .btn { min-height: 44px; padding: 10px 16px; font-size: .9rem; }
    .look-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
    .card h3, .cat h3 { font-size: .98rem; line-height: 1.35; }
    .cat .tag, .card .tag { max-width: calc(100% - 48px); }
    .actions { flex-wrap: wrap; }
    .foot { grid-template-columns: 1fr; }
    .foot-mast { grid-template-columns: 1fr; padding-top: 26px; gap: 14px; }
    .social-row { grid-template-columns: 1fr 1fr; }
    .foot-bar { flex-direction: column; align-items: flex-start; }
    .launch-grid { grid-template-columns: 1fr; }
    .admin-main { padding: 16px; }
    .net-grid { grid-template-columns: 1fr; }
    .net-head { flex-direction: column; }
    .rn-color-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .connect-dock {
        inset-inline-end: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
    }
    .connect-fab {
        width: 50px;
        height: 50px;
    }
    .thumb img, .hero-slides img, .gallery-grid img, .cat .thumb img {
        image-rendering: auto;
        -ms-interpolation-mode: bicubic;
    }
    .intro-logo { width: min(180px, 52vw); }
    .intro h2 { font-size: 1.55rem; }
    .intro-eye { font-size: 1.05rem; letter-spacing: .08em; }
    .intro p { font-size: .92rem; padding: 0 4px; }
}

@media (max-width: 380px) {
    .depts-in { grid-template-columns: 1fr 1fr; gap: 6px; }
    .dept-tile { min-height: 64px; padding: 8px 6px; }
    .dept-tile b { font-size: .66rem; }
    .hero h1 { font-size: 1.28rem; }
    .collections-suite { grid-template-columns: 1fr; }
}

/* Color catalog — Riwaq Nebras */
.rn-color-page { margin: 28px 0 48px; }
.rn-color-cover {
    background: linear-gradient(180deg, #0c2344 0%, #07162c 70%, #0a1d36 100%);
    color: #e9f2ff;
    border-radius: 22px;
    padding: 42px 22px 32px;
    text-align: center;
    border: 1px solid rgba(201, 165, 106, .35);
    box-shadow: 0 18px 40px rgba(7, 22, 44, .22);
}
.rn-color-cover-logo {
    width: 86px;
    height: 86px;
    margin: 0 auto 14px;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(201, 165, 106, .45);
    display: grid;
    place-items: center;
}
.rn-color-cover-logo img { width: 78%; height: 78%; object-fit: contain; }
.rn-color-brand {
    letter-spacing: .16em;
    font-size: .72rem;
    color: #e4c78a;
    margin: 0;
}
.rn-color-cover-title {
    color: #fff;
    margin: 10px 0 6px;
    font-size: 2rem;
    font-weight: 500;
}
.rn-color-cover-title em { font-style: italic; color: #e4c78a; font-weight: 600; }
.rn-color-cover-sub { color: #d7e2f0; margin: 0 0 14px; }
.rn-color-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 16px; }
.rn-color-pills span {
    border: 1px solid rgba(201, 165, 106, .45);
    color: #e4c78a;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .74rem;
    letter-spacing: .06em;
}
.rn-color-sales { color: #fff; font-weight: 700; margin: 0 0 16px; }
.rn-color-open-btn, .rn-color-back-btn {
    border: 1px solid rgba(201, 165, 106, .5);
    background: rgba(201, 165, 106, .16);
    color: #fff;
    border-radius: 12px;
    padding: 11px 16px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.rn-color-open-btn:hover, .rn-color-back-btn:hover { background: rgba(201, 165, 106, .28); }
.rn-color-deck-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 16px;
}
.rn-color-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 12px;
}
.rn-color-tile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px 8px 10px;
    cursor: pointer;
    font: inherit;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rn-color-tile:hover { border-color: var(--accent); transform: translateY(-1px); }
.rn-color-page .is-hidden { display: none !important; }
.rn-color-cover.is-enter, .rn-color-deck.is-enter { animation: rnColorFadeIn .24s ease both; }
.rn-color-cover.is-exit, .rn-color-deck.is-exit { animation: rnColorFadeOut .16s ease both; }
@keyframes rnColorFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes rnColorFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-6px); }
}
.rn-color-swatch {
    display: block;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
}
.rn-color-swatch img { width: 100%; height: 100%; object-fit: cover; }
.rn-color-code, .rn-color-dialog .rn-color-code { display: block; text-align: center; font-weight: 800; margin-top: 4px; }
.rn-color-ar { display: block; text-align: center; font-weight: 700; }
.rn-color-en { display: block; text-align: center; color: var(--muted); font-size: .78rem; }
.rn-color-foot { text-align: center; color: var(--muted); margin-top: 22px; }
.rn-color-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
}
.rn-color-overlay.is-hidden, .rn-color-overlay[hidden] { display: none !important; }
.rn-color-veil { position: absolute; inset: 0; background: rgba(7, 22, 44, .72); }
.rn-color-dialog {
    position: relative;
    width: min(520px, 100%);
    background: #fff;
    border-radius: 18px;
    padding: 18px 16px 14px;
    text-align: center;
    border: 1px solid rgba(201, 165, 106, .35);
    box-shadow: 0 24px 54px rgba(7, 22, 44, .32);
}
.rn-color-x {
    position: absolute;
    inset-inline-end: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 1.2rem;
}
.rn-color-big { max-width: 360px; margin: 8px auto; border-radius: 16px; overflow: hidden; }
.rn-color-big img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; display: block; background: #f4f1ea; }
.rn-color-desc { color: var(--muted); font-size: .9rem; }
.rn-color-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0; }
.rn-color-nav-btn {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 10px;
    padding: 8px 12px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.admin-hex { display: inline-block; width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line); vertical-align: middle; }

/* Door studio — صمّم بابك */
.rn-studio-teaser {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, .95fr);
    min-height: 440px;
    color: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(201, 165, 106, .35);
    box-shadow: 0 22px 50px rgba(7, 22, 44, .18);
}
.rn-studio-teaser > .rn-photo-bg,
.rn-shop-hero.is-stage > .rn-photo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.rn-studio-teaser > .rn-photo-veil,
.rn-shop-hero.is-stage > .rn-photo-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(270deg, rgba(7, 22, 44, .18) 0%, rgba(7, 22, 44, .62) 42%, rgba(7, 22, 44, .88) 100%);
}
html[dir="ltr"] .rn-studio-teaser > .rn-photo-veil,
html[dir="ltr"] .rn-shop-hero.is-stage > .rn-photo-veil {
    background:
        linear-gradient(90deg, rgba(7, 22, 44, .18) 0%, rgba(7, 22, 44, .62) 42%, rgba(7, 22, 44, .88) 100%);
}
.rn-studio-teaser-copy,
.rn-photo-copy {
    position: relative;
    z-index: 1;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: start;
    max-width: 36rem;
}
.rn-studio-teaser .kicker,
.rn-shop-hero.is-stage .kicker,
.rn-shop-hero.is-stage .page-kicker {
    color: #e4c78a;
}
.rn-studio-teaser p,
.rn-shop-hero.is-stage .rn-photo-copy p { color: #e8eef6; }
.rn-studio-teaser h2,
.rn-shop-hero.is-stage h1,
.rn-shop-hero.is-stage h2 {
    color: #fff;
    margin: 8px 0 10px;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}
.rn-studio-teaser .btn-dark,
.rn-shop-hero.is-stage .btn-dark {
    background: #c9a56a;
    color: #07162c;
}
.rn-studio-teaser .btn-line,
.rn-shop-hero.is-stage .btn-line {
    color: #fff;
    border-color: rgba(228, 199, 138, .75);
}
.rn-studio-teaser-shot {
    position: relative;
    z-index: 1;
    margin: 0;
    min-height: 440px;
}
.rn-studio-teaser-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #07162c;
}
.rn-studio {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 0;
    min-height: min(78vh, 860px);
    margin: 24px 0 48px;
    border: 1px solid rgba(201, 165, 106, .28);
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}
.rn-studio-panel {
    background: #fff;
    padding: 22px 18px 24px;
    border-inline-end: 1px solid var(--line);
    max-height: min(86vh, 900px);
    overflow-y: auto;
}
.rn-studio-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.rn-studio-kicker { letter-spacing: .16em; color: var(--accent); font-size: .7rem; margin: 0; }
.rn-studio-panel h1 { margin: 4px 0 0; font-size: 1.45rem; }
.rn-studio-reset {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-weight: 700;
}
.rn-studio-intro { color: var(--muted); font-size: .9rem; }
.rn-studio-group { margin: 18px 0; }
.rn-studio-group h2 { margin: 0 0 8px; font-size: .95rem; }
.rn-studio-group h2 small { display: block; color: var(--muted); font-weight: 600; font-size: .72rem; }
.rn-studio-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.rn-studio-opt {
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
}
.rn-studio-opt.is-on, .rn-studio-swatch.is-on {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(201, 165, 106, .25);
}
.rn-studio-rolls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    max-height: 280px;
    overflow: auto;
}
.rn-studio-swatch {
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 6px;
    cursor: pointer;
    font: inherit;
    text-align: center;
}
.rn-studio-chip {
    display: block;
    aspect-ratio: 1;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
}
.rn-studio-swatch b { display: block; font-size: .68rem; margin-top: 4px; }
.rn-studio-swatch small { display: block; color: var(--muted); font-size: .58rem; line-height: 1.2; }
.rn-studio-more { margin: 10px 0 16px; }
.rn-studio-more summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.rn-studio-summary { margin: 0 0 14px; }
.rn-studio-summary div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.rn-studio-summary dt { color: var(--muted); }
.rn-studio-summary dd { margin: 0; font-weight: 700; }
.rn-studio-quote { width: 100%; }
.rn-studio-preview {
    background:
        radial-gradient(circle at 50% 18%, rgba(228, 199, 138, .14), transparent 36%),
        linear-gradient(180deg, #12233d, #07162c);
    display: flex;
    flex-direction: column;
    min-height: 520px;
}
.rn-studio-stage {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 28px 16px 8px;
    cursor: ew-resize;
    overflow: hidden;
}
.rn-studio-room {
    transform: translateZ(0) rotateY(var(--studio-yaw, 0deg));
    transition: transform .12s ease;
}
.rn-studio-room.is-left { transform: translateZ(0) rotateY(var(--studio-yaw, 0deg)) scaleX(-1); }
.rn-studio-frame {
    margin: 0;
    width: fit-content;
    max-width: 100%;
}
.rn-studio-shot {
    position: relative;
    isolation: isolate;
    width: min(380px, 86vw);
    height: min(62vh, 620px);
    border-radius: 16px;
    overflow: hidden;
    background: #0a1628;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .42);
    border: 1px solid rgba(228, 199, 138, .22);
}
.rn-studio-shot.is-wide {
    width: min(500px, 90vw);
}
.rn-studio-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    transform: translateZ(0);
}
.rn-studio-color-line { color: #e4c78a; text-align: center; font-weight: 800; margin: 0; }
.rn-studio-hint { color: #9fb0c6; text-align: center; font-size: .82rem; margin: 4px 0 18px; }
@media (max-width: 1040px) {
    .rn-studio { grid-template-columns: 1fr; }
    .rn-studio-panel { max-height: none; border-inline-end: 0; border-bottom: 1px solid var(--line); }
    .rn-studio-rolls { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .rn-studio-rolls { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Partners marquee + factory origin */
.rn-partners { margin: 10px 0 8px; }
.rn-origin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch;
    margin-bottom: 16px;
}
.rn-origin-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(201, 165, 106, .28);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(7, 22, 44, .08);
    min-height: 100%;
}
.rn-origin-shot {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #07162c;
}
.rn-origin-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.rn-origin-body {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px 18px;
    background: #fff;
    text-align: start;
}
.rn-origin-mark {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex: 0 0 auto;
}
.rn-origin-card.is-factory .rn-origin-mark {
    width: 96px;
    height: auto;
}
.rn-origin-card b { display: block; color: var(--navy); font-size: 1.05rem; }
.rn-origin-card small { color: #8a7048; font-weight: 600; }
.rn-origin-line {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 22px;
    font-weight: 600;
}
.rn-partners-stage { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.rn-partners-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rn-partners-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    animation: rnPartnersScroll 32s linear infinite;
}
.rn-partners-row2 .rn-partners-track { animation-duration: 38s; }
.rn-partners-track.is-reverse { animation-direction: reverse; }
html[dir="rtl"] .rn-partners-track { animation-direction: reverse; }
html[dir="rtl"] .rn-partners-track.is-reverse { animation-direction: normal; }
.rn-partners-marquee:hover .rn-partners-track { animation-play-state: paused; }
.rn-partner-logo {
    flex: 0 0 auto;
    min-width: 150px;
    padding: 16px 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(7, 22, 44, .08);
}
.rn-partner-logo img { height: 64px; width: auto; max-width: 180px; object-fit: contain; margin: 0 auto; }
@keyframes rnPartnersScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .rn-partners-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
    .rn-origin { grid-template-columns: 1fr; }
}

/* Shop */
.nav-cart { position: relative; font-weight: 700; }
.nav-cart span {
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    margin-inline-start: 4px;
    border-radius: 999px;
    background: var(--accent);
    color: #07162c;
    font-size: .68rem;
}
.rn-shop-ask { color: var(--muted); font-size: .88rem; }
.rn-shop-hero {
    position: relative;
    background: linear-gradient(180deg, #0c2344, #07162c);
    color: #fff;
    border-radius: 22px;
    padding: 0;
    margin: 18px 0 22px;
    border: 1px solid rgba(201, 165, 106, .32);
    overflow: hidden;
    min-height: 220px;
}
.rn-shop-hero:not(.is-stage) { padding: 28px 24px; }
.rn-shop-hero.is-stage { min-height: 240px; }
.rn-shop-hero h1, .rn-shop-hero h2 { color: #fff; margin: 6px 0 8px; }
.rn-shop-hero p { color: #d7e2f0; }
.rn-shop-hero.is-stage .rn-shop-steps { width: 100%; max-width: 42rem; }
.rn-shop-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}
.rn-shop-steps li {
    background: rgba(7, 22, 44, .42);
    border: 1px solid rgba(201, 165, 106, .28);
    border-radius: 14px;
    padding: 12px;
    color: #e8eef6;
    backdrop-filter: blur(8px);
}
.rn-shop-steps b {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-inline-end: 6px;
    border-radius: 50%;
    background: #c9a56a;
    color: #07162c;
}
.rn-shop-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 16px; }
.rn-shop-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
}
.rn-shop-bar label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy);
}
.rn-shop-bar select {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-weight: 700;
    padding: 8px 14px;
}
.rn-shop-layout {
    display: block;
    margin-bottom: 48px;
}
.rn-shop-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 26px;
}
.rn-shop-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    font-weight: 700;
}
.rn-shop-cat.is-on { background: #07162c; color: #fff; border-color: #07162c; }
.rn-shop-cat small { color: inherit; opacity: .65; }
.rn-shop-pays { margin: 0 0 8px; padding-inline-start: 18px; }
.rn-shop-dept { margin-bottom: 28px; }
.rn-shop-dept header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.rn-shop-dept header a { color: var(--accent); font-weight: 700; }
.rn-shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rn-shop-cart, .rn-shop-check { margin-bottom: 48px; }
.rn-shop-check { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 18px; }
.rn-shop-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 36px; }
.rn-shop-qty { width: 72px; }
.rn-pay-list { border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 16px 0; }
.rn-pay-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 8px 0;
    cursor: pointer;
    background: #fff;
}
.rn-pay-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(201, 165, 106, .25); }
.rn-pay-card b { display: block; }
.rn-pay-how { margin-top: 8px; font-size: .9rem; color: var(--navy); }
.rn-pay-how p { margin: 4px 0; }
.rn-shop-bank { margin-top: 8px; font-weight: 700; }
.rn-shop-thanks-pay { margin: 0 0 22px; }
.quote-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.quote-kpis.crm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote-kpis article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.quote-kpis b { display: block; font-size: 1.15rem; }
.quote-kpis span { color: var(--muted); font-size: .85rem; }
.quote-items-editor input { min-height: 36px; font-size: .9rem; padding: 6px 8px; }
.quote-register td { vertical-align: top; }
.quote-actions { white-space: nowrap; }
.quote-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(7, 22, 44, .55);
    display: none;
    flex-direction: column;
}
.quote-overlay.is-open, .quote-overlay:not([hidden]) { display: flex; }
.quote-overlay[hidden] { display: none !important; }
.quote-overlay-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #07162c;
    color: #fff;
}
.quote-overlay iframe {
    flex: 1;
    width: 100%;
    border: 0;
    background: #c5d0de;
}
@media (max-width: 900px) {
    .quote-kpis { grid-template-columns: 1fr; }
}
.crm-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
.crm-toolbar input[type="search"] { flex: 1 1 220px; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.crm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.crm-tab { display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); background: #fff; font-size: .9rem; }
.crm-tab.is-on { background: #07162c; color: #fff; border-color: #07162c; }
.crm-aging { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 0 0 18px; color: var(--muted); font-size: .88rem; }
.crm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.crm-note { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; }
.crm-note small { display: block; color: var(--muted); margin: 4px 0 8px; }
.crm-overdue { color: var(--danger); }
.icon-btn.is-on { background: #07162c; color: #fff; }
@media (max-width: 900px) {
    .crm-split { grid-template-columns: 1fr; }
}
.seo-page { background: #f6f3ee; min-height: 100vh; }
.seo-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 22px; background: #07162c; color: #fff; }
.seo-head .brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; text-decoration: none; }
.seo-head img { width: 44px; height: 44px; object-fit: contain; }
.seo-nav { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.seo-nav a { color: #f3e6c8; text-decoration: none; font-weight: 700; font-size: .92rem; }
.seo-main { padding: 36px 0 64px; }
.seo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; padding: 0; list-style: none; margin: 22px 0; }
.seo-list a { display: block; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); font-weight: 700; text-decoration: none; }
.seo-landing { padding: 28px 0 48px; }
@media (max-width: 900px) {
    .rn-shop-layout, .rn-shop-check { grid-template-columns: 1fr; }
    .rn-shop-steps { grid-template-columns: 1fr; }
    .rn-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rn-goods .thumb, .cards-doors .rn-goods .thumb { height: auto; }
    .rn-studio-teaser {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .rn-studio-teaser-shot { min-height: 260px; order: -1; }
    .rn-studio-teaser-copy, .rn-photo-copy { padding: 24px 20px 28px; max-width: none; }
}
