@import url("https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap");

@font-face {
    font-family: AjwaSans;
    src: local("Noto Kufi Arabic"), local("Segoe UI"), local("Noto Sans Arabic"), local("Tahoma");
}

:root {
    --brand: #063f2d;
    --gold: #bd8b35;
    --paper: #fbf6ec;
    --ink: #14281f;
    --muted: #6f716a;
    --line: rgba(78, 56, 23, .16);
    --white: #fffdf8;
    --shadow: 0 24px 70px -44px rgba(31, 26, 14, .55);
    --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Noto Kufi Arabic", AjwaSans, "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 10%, rgba(189, 139, 53, .13), transparent 28rem),
        linear-gradient(180deg, #fffaf0 0%, var(--paper) 36%, #f4ead8 100%);
}
html[data-lang="en"] body,
html[data-lang="fr"] body,
html[data-lang="id"] body {
    font-family: "Outfit", "Segoe UI", Arial, sans-serif;
}
html[data-lang="en"] .service-strip,
html[data-lang="fr"] .service-strip,
html[data-lang="id"] .service-strip {
    font-family: "Outfit", "Segoe UI", Arial, sans-serif;
    font-size: clamp(12px, .94vw, 15px);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(189, 139, 53, .36);
    outline-offset: 3px;
}
.skip-link {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 60;
    padding: 10px 14px;
    border-radius: 12px;
    color: #fff8df;
    background: var(--brand);
    box-shadow: 0 12px 30px -20px rgba(6,63,45,.8);
    transform: translateY(-140%);
    transition: transform .22s var(--ease);
}
.skip-link:focus { transform: translateY(0); }
body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 30;
    opacity: .35;
    background-image: linear-gradient(rgba(20, 40, 31, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 40, 31, .035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: middle; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
}
.service-strip {
    min-height: 58px;
    margin: 16px clamp(16px, 3vw, 46px) 18px;
    padding: 8px clamp(18px, 3.2vw, 42px);
    display: grid;
    grid-template-columns: minmax(190px, .9fr) minmax(220px, 1.15fr) minmax(190px, .9fr);
    align-items: center;
    gap: clamp(12px, 2.4vw, 34px);
    color: #f4e8bd;
    background:
        linear-gradient(90deg, rgba(255,255,255,.055), transparent 22%, transparent 78%, rgba(255,255,255,.04)),
        linear-gradient(180deg, #12241c 0%, #1b3026 100%);
    border: 1px solid rgba(9, 30, 22, .84);
    border-radius: 18px 6px 18px 6px;
    box-shadow:
        0 20px 46px -36px rgba(6, 35, 25, .72),
        inset 0 1px 0 rgba(255,255,255,.11),
        inset 0 -1px 0 rgba(0,0,0,.22);
    font-family: "Noto Kufi Arabic", AjwaSans, Tahoma, Arial, sans-serif;
    font-size: clamp(12px, 1.02vw, 16px);
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 1px 0 rgba(0,0,0,.28);
    position: relative;
    isolation: isolate;
    direction: rtl;
}
.service-strip > span {
    direction: rtl;
    display: inline-flex;
    align-items: center;
    min-width: 0;
}
.service-strip:before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    z-index: -1;
    background:
        radial-gradient(circle at 8% 50%, rgba(189,139,53,.18), transparent 12rem),
        linear-gradient(135deg, transparent 0 48%, rgba(244,232,189,.055) 48% 49%, transparent 49% 100%);
    background-size: auto, 32px 32px;
    opacity: .92;
}
.service-strip > span:first-child {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}
.service-strip > span:last-child {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}
.top-visitor-counter {
    position: static;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: auto;
    min-width: min(280px, 100%);
    min-height: 42px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 0;
    padding: 8px 18px;
    border: 1px solid rgba(244,232,189,.16);
    border-radius: 999px;
    color: #f7eec7;
    background:
        linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.015)),
        rgba(5, 30, 22, .58);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.09),
        0 14px 26px -24px rgba(0,0,0,.72);
    white-space: nowrap;
    text-align: center;
    z-index: 2;
}
.top-visitor-counter b {
    min-width: 0;
    color: #fff8d2;
    font-size: clamp(17px, 1.4vw, 22px);
    line-height: 1;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}
.top-visitor-counter small {
    color: #e9d998;
    font-size: clamp(11px, .86vw, 13px);
    font-weight: 800;
    text-shadow: none;
}
.top-visitor-counter i {
    display: none;
    padding: 0;
    border: 0;
    color: rgba(255,244,216,.78);
    font-style: normal;
    font-size: 12px;
}
.nav-shell {
    min-height: 78px;
    padding: 14px clamp(18px, 4vw, 52px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 252, 246, .86);
}
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}
.logo-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}
.brand-mark img, .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: scale(1.14);
    filter: drop-shadow(0 12px 14px rgba(6,63,45,.18));
}
.footer-logo { background: transparent; }
.site-footer .brand-mark img {
    filter:
        brightness(0) saturate(100%) invert(94%) sepia(30%) saturate(516%) hue-rotate(348deg) brightness(103%) contrast(94%)
        drop-shadow(0 12px 16px rgba(0,0,0,.28));
}
.logo strong, .logo b { display: block; font-size: 18px; }
.logo small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.brand-lockup strong { display: block; font-size: 18px; letter-spacing: 0; }
.brand-lockup small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.nav-links { justify-self: center; display: flex; gap: clamp(14px, 2.5vw, 34px); font-size: 15px; color: #31483f; }
.nav-links a { position: relative; padding: 8px 0; transition: color .28s var(--ease); }
.nav-links a:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 1px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .32s var(--ease);
}
.nav-links a:hover { color: var(--brand); }
.nav-links a:hover:after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-switch {
    height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px 5px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--brand);
    background: rgba(255,255,255,.62);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.language-switch span {
    font-size: 12px;
    font-weight: 900;
    color: #8b6428;
}
.language-switch select {
    min-width: 112px;
    border: 0;
    outline: 0;
    color: var(--brand);
    background: transparent;
    font-weight: 900;
    cursor: pointer;
}
html[dir="ltr"] .nav-links a:after { right: auto; left: 0; }
html[dir="ltr"] .hero-copy { justify-self: start; }
html[dir="ltr"] .product-kicker,
html[dir="ltr"] .best-item p,
html[dir="ltr"] .order-item p,
html[dir="ltr"] label small { line-height: 1.65; }
.icon-button {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.55);
    color: var(--brand);
    transition: transform .28s var(--ease), background .28s var(--ease);
}
.icon-button:hover { transform: translateY(-2px); background: #fffaf0; }
.icon-button:active, .button:active { transform: translateY(1px) scale(.985); }
.icon-button span {
    position: absolute;
    top: -7px;
    left: -7px;
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff9e9;
    background: var(--gold);
    font-size: 11px;
    font-weight: 800;
}

.hero-section {
    min-height: min(760px, calc(100dvh - 112px));
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    gap: clamp(28px, 6vw, 92px);
    align-items: center;
    padding: clamp(42px, 7vw, 86px) clamp(18px, 6vw, 80px) 56px;
    overflow: hidden;
}
.hero-copy { max-width: 650px; justify-self: end; }
.overline {
    margin: 0 0 14px;
    color: #8b6428;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
h1, h2, h3 { margin: 0; letter-spacing: 0; }
h1, h2, h3, p, label, .button, .btn { text-wrap: pretty; }
h1 {
    max-width: 11ch;
    color: var(--brand);
    font-size: clamp(38px, 5.15vw, 72px);
    line-height: 1.26;
    font-weight: 900;
    letter-spacing: 0;
    text-wrap: balance;
}
.hero-text {
    max-width: 58ch;
    margin: 24px 0 0;
    color: #3f4f48;
    font-size: clamp(17px, 1.8vw, 22px);
    line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    font-weight: 800;
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease);
    position: relative;
    overflow: hidden;
}
.button:disabled,
.submit-button:disabled,
select:disabled {
    cursor: not-allowed;
    opacity: .62;
}
.btn {
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    font-weight: 800;
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease);
    position: relative;
    overflow: hidden;
}
.button:before,
.btn:before {
    content: "";
    position: absolute;
    inset: -120% auto -120% -45%;
    width: 34%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
    transform: translateX(-120%) rotate(16deg);
    transition: transform .65s var(--ease);
}
.button:hover:before,
.btn:hover:before { transform: translateX(430%) rotate(16deg); }
.btn.primary {
    color: #fff8df;
    background: linear-gradient(135deg, #0b4e39, var(--brand));
    box-shadow: 0 18px 34px -22px rgba(6, 63, 45, .8), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn.ghost {
    color: var(--brand);
    background: rgba(255,255,255,.72);
    border: 1px solid var(--line);
}
.btn.danger {
    color: #fff8ef;
    background: #8a2f20;
}
.btn.full { width: 100%; }
.btn:hover { transform: translateY(-2px); }
.button-primary {
    color: #fff8df;
    background: linear-gradient(135deg, #0b4e39, var(--brand));
    box-shadow: 0 18px 34px -22px rgba(6, 63, 45, .8), inset 0 1px 0 rgba(255,255,255,.14);
}
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 46px -26px rgba(6, 63, 45, .95); }
.button-soft {
    color: var(--brand);
    background: rgba(255,255,255,.72);
    border: 1px solid var(--line);
}
.button-compact {
    min-height: 38px;
    padding: 9px 16px;
    color: #fff8df;
    background: var(--brand);
    border-radius: 12px;
    font-size: 14px;
}
.trust-row {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 12px;
}
.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #355146;
    background: rgba(255,255,255,.54);
}
.trust-row svg { color: var(--gold); }
.hero-visual {
    position: relative;
    min-height: 520px;
}
.product-stage {
    position: absolute;
    inset: 0 0 0 70px;
    margin: 0;
    border-radius: 36px 6px 36px 6px;
    overflow: hidden;
    background: #eadfce;
    box-shadow: var(--shadow);
    transform: rotate(-1.5deg);
}
.motion-ready .product-stage {
    animation: hero-float 7s var(--ease) infinite alternate;
    will-change: transform;
}
.product-stage:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,250,239,.9), rgba(255,250,239,.14) 52%, rgba(6,63,45,.72));
    z-index: 1;
}
.product-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 56% 52%;
    transform: scale(1.02);
    filter: saturate(.94) contrast(1.02);
}
.product-stage figcaption {
    position: absolute;
    right: 26px;
    bottom: 26px;
    z-index: 2;
    width: min(260px, calc(100% - 52px));
    padding: 18px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 20px;
    color: #fff8df;
    background: rgba(6, 45, 34, .72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.13);
}
.product-stage figcaption span, .product-stage figcaption strong { display: block; }
.product-stage figcaption strong { margin-top: 8px; font-size: 26px; color: #e5bd6f; }
.vertical-badge {
    position: absolute;
    top: 44px;
    left: 0;
    width: 134px;
    min-height: 310px;
    display: grid;
    place-items: center;
    padding: 22px 14px;
    text-align: center;
    border-radius: 28px 4px 28px 4px;
    color: #edcf8b;
    background: linear-gradient(180deg, #062e22, #0a4634);
    box-shadow: var(--shadow);
}
.vertical-badge span { writing-mode: vertical-rl; font-size: 38px; font-weight: 900; }
.vertical-badge small { color: #f2dfb0; line-height: 1.7; }

.quick-gallery,
.section-shell,
.category-tabs,
.product-grid,
.best-section,
.branches-section,
.order-section,
.adsense,
.admin-shortcuts {
    width: min(1220px, calc(100% - 40px));
    margin-inline: auto;
}
.quick-gallery {
    margin-top: -28px;
    display: grid;
    grid-template-columns: 1.25fr .85fr 1fr .9fr;
    gap: 12px;
    position: relative;
    z-index: 2;
}
.quick-gallery button {
    min-height: 102px;
    border: 1px solid rgba(189,139,53,.35);
    border-radius: 22px;
    overflow: hidden;
    color: var(--brand);
    background:
        linear-gradient(90deg, rgba(255,252,246,.98) 0 40%, rgba(255,252,246,.66) 56%, rgba(255,252,246,.12) 100%),
        url("../img/products/generated-hero-ajwa.png") right center / auto 128% no-repeat;
    text-align: left;
    padding: 18px 18px 18px 28px;
    box-shadow: var(--shadow);
    transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease), filter .32s var(--ease);
}
.quick-gallery button:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(189,139,53,.55);
    filter: saturate(1.02);
}
.quick-gallery span {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-weight: 900;
    color: var(--brand);
    text-shadow: 0 1px 0 rgba(255, 250, 239, .88), 0 10px 24px rgba(6, 63, 45, .14);
    box-shadow: none;
}

.visitor-counter {
    width: min(1220px, calc(100% - 40px));
    margin: 18px auto 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(150px, .28fr);
    align-items: center;
    gap: clamp(18px, 3.4vw, 44px);
    padding: clamp(22px, 3.4vw, 34px);
    border: 1px solid rgba(189,139,53,.32);
    border-radius: 30px 8px 30px 8px;
    background:
        linear-gradient(135deg, rgba(255,253,247,.94), rgba(255,246,226,.74)),
        radial-gradient(circle at 92% 12%, rgba(189,139,53,.22), transparent 15rem);
    box-shadow: 0 26px 70px -50px rgba(31,26,14,.62), inset 0 1px 0 rgba(255,255,255,.75);
    position: relative;
    overflow: hidden;
}
.visitor-counter:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image: linear-gradient(135deg, transparent 0 46%, rgba(6,63,45,.18) 46% 47%, transparent 47% 100%);
    background-size: 42px 42px;
}
.visitor-counter > * { position: relative; z-index: 1; }
.visitor-counter h2 {
    color: var(--brand);
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.15;
}
.visitor-counter p:not(.overline) {
    margin: 12px 0 0;
    max-width: 58ch;
    color: #59655f;
    line-height: 1.85;
}
.visitor-number {
    min-width: clamp(190px, 22vw, 290px);
    padding: 18px 22px;
    text-align: center;
    border-radius: 24px 6px 24px 6px;
    color: #fff8df;
    background: linear-gradient(135deg, #0b4e39, var(--brand));
    box-shadow: 0 22px 48px -30px rgba(6,63,45,.9), inset 0 1px 0 rgba(255,255,255,.16);
}
.visitor-number span {
    display: block;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1;
    font-weight: 900;
    color: #f0c778;
}
.visitor-number small,
.visitor-today small {
    display: block;
    margin-top: 8px;
    font-weight: 800;
}
.visitor-today {
    min-height: 126px;
    display: grid;
    place-items: center;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(189,139,53,.28);
    border-radius: 22px;
    color: var(--brand);
    background: rgba(255,255,255,.58);
}
.visitor-today b {
    display: block;
    color: #98651e;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1;
}

.section-shell { padding: 74px 0 24px; }
.split-intro {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 42px;
    align-items: end;
}
.split-intro h2, .quality-copy h2, .section-heading h2, .drive-panel h2, .form-heading h2 {
    color: var(--brand);
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.14;
}
.split-intro p:last-child, .quality-copy p, .drive-panel p {
    color: #58675f;
    line-height: 1.9;
    font-size: 17px;
}
.category-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    padding: 8px;
    border: 1px solid rgba(6,63,45,.14);
    border-radius: 22px;
    background: rgba(6,63,45,.93);
    box-shadow: var(--shadow);
}
.category-tabs button {
    min-height: 56px;
    border: 0;
    border-radius: 16px;
    color: #f5e8c9;
    background: transparent;
    font-weight: 800;
    transition: background .28s var(--ease), color .28s var(--ease);
}
.category-tabs button.active {
    color: var(--brand);
    background: #fff9ec;
}

.product-grid {
    padding: 26px 0 60px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}
.product-card {
    min-height: 100%;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows: minmax(230px, auto) 1fr;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 26px 8px 26px 8px;
    background: rgba(255, 252, 246, .84);
    box-shadow: var(--shadow);
    animation: rise .62s var(--ease) both;
    animation-delay: calc(var(--i) * 80ms);
    transition: transform .36s var(--ease), box-shadow .36s var(--ease), border-color .36s var(--ease), background .36s var(--ease);
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(189,139,53,.42);
    background: rgba(255, 252, 246, .94);
    box-shadow: 0 30px 72px -54px rgba(31, 26, 14, .72);
}
.product-card[hidden] { display: none; }
.pack-art, .mini-art {
    margin: 0;
    overflow: hidden;
    border-radius: 24px 6px 24px 6px;
    background: #efe3cf;
    border: 8px solid rgba(255,255,255,.64);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 18px 38px -30px rgba(0,0,0,.7);
}
.pack-art {
    min-height: 230px;
    height: 100%;
    aspect-ratio: 4 / 3;
    order: 1;
}
.pack-art img, .mini-art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s var(--ease), filter .5s var(--ease);
}
.product-card:hover .pack-art img, .best-item:hover .mini-art img { transform: scale(1.045); filter: saturate(1.04) contrast(1.04); }
.product-card:nth-child(3n + 1) .pack-art img { object-position: 58% 54%; }
.product-card:nth-child(3n + 2) .pack-art img { object-position: 50% 48%; }
.product-card:nth-child(3n + 3) .pack-art img { object-position: 48% 48%; }
.product-body {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    order: 2;
    position: relative;
    z-index: 1;
    padding: 20px 8px 8px;
}
.product-kicker { margin: 0 0 12px; color: #9a7030; font-weight: 900; font-size: 15px; }
.product-card h3, .best-item h3, .branch-grid h3 { color: var(--brand); font-size: clamp(22px, 2vw, 30px); line-height: 1.28; }
.product-card p { color: #657169; line-height: 1.8; max-width: 34ch; }
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
}
.price-row strong, .best-item strong { color: #98651e; font-size: 24px; white-space: nowrap; }

.quality-panel {
    width: min(1280px, calc(100% - 24px));
    margin: 0 auto 66px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    min-height: 430px;
    overflow: hidden;
    border-radius: 42px 10px 42px 10px;
    color: #f7ead0;
    background: linear-gradient(135deg, #052b20, var(--brand));
    box-shadow: var(--shadow);
}
.quality-image {
    min-height: 360px;
    background:
        linear-gradient(90deg, rgba(6, 45, 34, .08), rgba(6, 45, 34, .78)),
        url("../img/products/generated-hero-ajwa.png") center / cover;
}
.quality-copy { padding: clamp(30px, 5vw, 70px); align-self: center; }
.quality-copy h2 { color: #e1b760; }
.quality-copy p { color: #f3e3c2; }
.metric-strip {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,.16);
}
.metric-strip span { padding: 18px 12px 0 0; border-left: 1px solid rgba(255,255,255,.16); }
.metric-strip span:last-child { border-left: 0; }
.metric-strip b { display: block; color: #e5bd6f; font-size: 34px; }
.metric-strip small { color: #f4e5c7; }

.best-section, .branches-section { padding: 4px 0 56px; }
.section-heading { margin-bottom: 24px; }
.best-list {
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--line);
}
.best-item {
    min-height: 108px;
    display: grid;
    grid-template-columns: 112px 1fr auto auto;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.mini-art { width: 112px; height: 78px; border-width: 4px; flex: none; }
.mini-art img { object-position: 54% 50%; }
.best-item p { color: #657169; margin: 7px 0 0; }

.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}
.branch-grid article,
.branch-grid a {
    min-height: 180px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 28px 8px 28px 8px;
    background:
        linear-gradient(135deg, rgba(255,252,246,.92), rgba(255,252,246,.66)),
        var(--branch-image, url("../img/products/generated-hero-ajwa.png")) center / cover;
    box-shadow: var(--shadow);
    color: inherit;
    text-decoration: none;
}
.branch-card {
    display: block;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.branch-card[href]:hover {
    transform: translateY(-2px);
    border-color: rgba(189,139,53,.7);
    box-shadow: 0 24px 44px rgba(6,63,45,.14);
}
.branch-photo {
    position: relative;
    overflow: hidden;
    color: #fff5d9;
    background:
        linear-gradient(180deg, rgba(5,43,32,.2), rgba(5,43,32,.82)),
        var(--branch-image, url("../img/products/generated-branch-uhud.png")) center / cover !important;
}
.branch-photo h3, .branch-photo p, .branch-photo svg { position: relative; z-index: 1; color: #fff5d9; }
.branch-photo:before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: inherit;
    pointer-events: none;
}
.branch-grid svg { color: var(--gold); font-size: 30px; }
.branch-grid p { color: #5c665f; line-height: 1.75; }
.contact-card { background: rgba(255,252,246,.9) !important; }
.contact-card p { margin: 6px 0; direction: ltr; text-align: right; }
.contact-phone-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}
.contact-phone {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(189,139,53,.28);
    border-radius: 18px 6px 18px 6px;
    background: rgba(255,248,232,.7);
}
.contact-phone b {
    color: var(--brand);
    font-family: Consolas, "Courier New", monospace;
    font-size: 16px;
    text-align: right;
}
.contact-phone div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.contact-phone a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px 4px 14px 4px;
    color: #fff8e8;
    background: var(--brand);
    font-weight: 900;
    text-decoration: none;
    border: 1px solid rgba(6,63,45,.2);
}
.contact-phone a:last-child {
    color: var(--brand);
    background: #fff8e8;
    border-color: rgba(189,139,53,.5);
}
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.social-links a,
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(189,139,53,.34);
    border-radius: 14px 4px 14px 4px;
    color: var(--brand);
    background: rgba(255,248,232,.82);
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.social-links a:hover,
.footer-social a:hover {
    transform: translateY(-1px);
    border-color: rgba(189,139,53,.78);
    background: #fff8e8;
}
.social-links.compact { margin-top: 10px; justify-content: flex-end; }

.order-section {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 20px;
    padding: 0 0 34px;
}
.order-form, .drive-panel {
    border: 1px solid var(--line);
    border-radius: 34px 8px 34px 8px;
    background: rgba(255,252,246,.9);
    box-shadow: var(--shadow);
}
.order-form { padding: clamp(22px, 4vw, 38px); }
.form-heading { margin-bottom: 22px; }
.notice {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(106, 145, 95, .42);
    color: #24482f;
    background: #edf7e8;
}
.notice.error {
    color: #7a2d1f;
    background: #fff0e8;
    border-color: rgba(122,45,31,.3);
}
.form-live-error[hidden] { display: none; }
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
label { display: grid; gap: 8px; color: #2a4238; font-weight: 800; }
label small { color: #77776f; font-weight: 400; line-height: 1.5; }
.span-2 { grid-column: span 2; }
.order-items {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.42);
}
.order-items-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: baseline;
    padding: 2px 2px 8px;
}
.order-items-head strong { color: var(--brand); font-size: 18px; }
.order-items-head small { color: #77776f; line-height: 1.6; }
.order-item {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(67,55,32,.14);
    border-radius: 18px;
    background: rgba(255,255,255,.55);
    transition: border-color .24s var(--ease), background .24s var(--ease), transform .24s var(--ease);
}
.order-item.selected {
    border-color: rgba(189,139,53,.55);
    background: rgba(255,248,232,.92);
}
.order-item img {
    width: 76px;
    height: 62px;
    display: block;
    object-fit: cover;
    border-radius: 14px 5px 14px 5px;
}
.order-item h3 {
    margin: 0;
    color: var(--brand);
    font-size: 17px;
}
.order-item p {
    margin: 4px 0;
    color: #6b716b;
    font-size: 13px;
}
.order-item strong {
    color: #98651e;
    font-size: 15px;
}
.variant-list { display: grid; gap: 8px; }
.variant-row {
    display: grid;
    grid-template-columns: minmax(64px, 1fr) auto minmax(138px, .8fr);
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,248,232,.62);
}
.variant-row span { color: var(--brand); font-weight: 900; }
.variant-row b { color: #9a681e; }
.quantity-stepper {
    display: grid;
    grid-template-columns: 38px 62px 38px;
    gap: 6px;
    align-items: center;
}
.quantity-stepper input {
    min-height: 38px;
    padding: 8px 4px;
    text-align: center;
}
.qty-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--brand);
    background: #fffaf0;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    transition: transform .2s var(--ease), background .2s var(--ease);
}
.qty-btn:hover { background: #f6e8cd; }
.qty-btn:active { transform: translateY(1px) scale(.97); }
.qty-btn.pulse-once { animation: qty-pulse .32s var(--ease); }
input, select, textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(67, 55, 32, .2);
    border-radius: 14px;
    outline: none;
    padding: 11px 14px;
    color: var(--ink);
    background: rgba(255,255,255,.72);
    transition: border-color .24s var(--ease), box-shadow .24s var(--ease), transform .24s var(--ease);
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
    border-color: rgba(189,139,53,.72);
    box-shadow: 0 0 0 4px rgba(189,139,53,.14);
}
.submit-button { width: 100%; margin-top: 20px; min-height: 54px; font-size: 17px; }
.drive-panel {
    padding: 30px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.process-line {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}
.process-line span {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.58);
    font-weight: 800;
}
.process-line i {
    width: 1px;
    height: 18px;
    margin: auto;
    background: var(--gold);
}

.adsense {
    min-height: 72px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    border: 1px dashed rgba(151,101,30,.42);
    border-radius: 22px;
    color: #766b58;
    background: rgba(255,252,246,.68);
}
.admin-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding-bottom: 36px;
}
.admin-shortcuts a {
    min-height: 76px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,252,246,.86);
    color: var(--brand);
    font-weight: 800;
}

.site-footer {
    padding: 36px clamp(18px, 6vw, 80px) 20px;
    display: grid;
    grid-template-columns: 1fr 1fr .75fr;
    gap: 36px;
    color: #f6e7c6;
    background: linear-gradient(135deg, #052b20, #073d2d);
}
.site-footer p { max-width: 44ch; color: #e7d2a8; line-height: 1.8; }
.footer-social { display: grid; gap: 12px; align-content: center; }
.footer-social b { color: #f6e7c6; }
.footer-social div { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter { display: grid; gap: 12px; align-content: center; }
.newsletter label { color: #f6e7c6; }
.newsletter div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter button {
    border: 1px solid rgba(229,189,111,.7);
    border-radius: 14px;
    color: #f6e7c6;
    background: transparent;
    padding: 0 18px;
}
.site-footer small { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); text-align: center; color: #d8bf8b; }

.install-page, .admin-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #052b20, #f7eddc);
}
.installer, .admin-shell { width: min(1180px, calc(100% - 32px)); margin: auto; padding: 36px 0; }
.installer { min-height: 100vh; display: grid; place-items: center; }
.installer-card, .admin-card {
    max-width: 760px;
    margin: auto;
    padding: 32px;
    text-align: center;
    background: rgba(255, 251, 242, .9);
    border: 1px solid #d9c6a4;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.admin-header, .admin-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding: 16px;
    background: rgba(255,250,240,.9);
    border: 1px solid #d9c6a4;
    border-radius: 22px;
}
.admin-tabs { justify-content: center; flex-wrap: wrap; }
.admin-tabs a { padding: 10px 18px; border-radius: 12px; background: #fff7e7; border: 1px solid #d9c6a4; }
.admin-tabs a.active {
    color: #fff8df;
    background: var(--brand);
    border-color: rgba(6,63,45,.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 28px -24px rgba(6,63,45,.8);
}
.admin-card { max-width: none; text-align: right; }
.login-card { max-width: 460px; }
.settings-card label, .product-edit label { display: grid; gap: 8px; font-weight: 700; color: #295141; }
.settings-card > label { margin-bottom: 14px; }
.settings-panel {
    margin: 20px 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px 6px 22px 6px;
    background: rgba(255,248,232,.58);
}
.settings-panel h2 { margin-top: 0; color: var(--brand); }
.settings-panel .form-grid { margin: 14px 0; }
.product-edit { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: center; margin-bottom: 12px; }
.admin-help {
    margin: -6px 0 22px;
    color: #657169;
    line-height: 1.8;
}
.product-manager-card h2 {
    margin: 28px 0 14px;
    color: var(--brand);
}
.product-edit-full {
    grid-template-columns: 150px repeat(4, minmax(130px, 1fr));
    align-items: start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.45);
}
.admin-product-preview {
    margin: 0;
    width: 132px;
    height: 112px;
    overflow: hidden;
    border-radius: 18px 6px 18px 6px;
    border: 4px solid rgba(255,255,255,.72);
    background: #efe3cf;
}
.admin-product-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.branch-preview img { object-position: center; }
.wide-field { grid-column: span 2; }
.variant-edit {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,248,232,.58);
}
.variant-edit > div {
    display: grid;
    grid-template-columns: 1fr 110px auto;
    gap: 8px;
    align-items: center;
}
.mini-check {
    min-height: auto !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px !important;
}
.mini-check input { width: auto; min-height: auto; }
.product-edit-full textarea { min-height: 88px; }
.check-row {
    min-height: 48px;
    display: flex !important;
    align-items: center;
    gap: 8px !important;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.55);
}
.check-row input { width: auto; min-height: auto; }
.check-row.danger { color: #8a2f20; border-color: rgba(138,47,32,.24); }
.table-wrap { overflow-x: auto; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { border: 1px solid #e1d3ba; padding: 10px; white-space: nowrap; }
th { background: var(--brand); color: #fff5d8; }
.orders-page {
    padding: clamp(22px, 3.2vw, 40px);
    background:
        linear-gradient(135deg, rgba(255,251,242,.94), rgba(255,248,232,.86)),
        radial-gradient(circle at 12% 16%, rgba(189,139,53,.14), transparent 17rem);
}
.orders-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(78, 56, 23, .14);
}
.orders-hero small,
.admin-order-block > small,
.admin-order-products > small,
.admin-order-notes small,
.orders-side-panel small {
    display: block;
    color: #8b7141;
    font-size: 12px;
    font-weight: 900;
}
.orders-hero h1 {
    max-width: none;
    margin: 4px 0 8px;
    color: var(--brand);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.18;
}
.orders-hero p {
    max-width: 68ch;
    margin: 0;
    color: #59655f;
    line-height: 1.9;
}
.orders-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 12px 0 18px;
}
.orders-toolbar .active-filter {
    color: #fff8df;
    background: var(--brand);
    border-color: rgba(6,63,45,.34);
    box-shadow: 0 16px 34px -26px rgba(6,63,45,.9);
}
.orders-toolbar-note {
    margin-inline-start: auto;
    padding: 10px 12px;
    border-radius: 14px 4px 14px 4px;
    color: #556259;
    background: rgba(255,255,255,.58);
    border: 1px solid rgba(78, 56, 23, .12);
    font-size: 13px;
    font-weight: 800;
}
.order-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 10px;
    margin: 16px 0 18px;
}
.order-stats span {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 18px 6px 18px 6px;
    color: var(--brand);
    background: linear-gradient(135deg, rgba(255,248,232,.9), rgba(255,255,255,.68));
    border: 1px solid rgba(189,139,53,.28);
}
.order-stats b {
    font-size: 30px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.order-stats small {
    color: #77776f;
    font-weight: 800;
}
.orders-workbench {
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.orders-side-panel {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 10px;
}
.orders-side-panel span {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(78, 56, 23, .14);
    border-radius: 18px 6px 18px 6px;
    background: rgba(255,255,255,.66);
    box-shadow: 0 18px 34px -32px rgba(31, 26, 14, .55);
}
.orders-side-panel b {
    color: var(--brand);
    font-size: 20px;
    font-variant-numeric: tabular-nums;
}
.orders-list {
    display: grid;
    gap: 14px;
    min-width: 0;
}
.mono-date {
    direction: ltr;
    unicode-bidi: plaintext;
    font-family: Consolas, "Courier New", monospace;
    font-variant-numeric: tabular-nums;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    padding: 7px 10px;
    border-radius: 999px;
    font-weight: 800;
}
.status-pill.delivered { color: #225231; background: #e5f5e8; }
.status-pill.pending { color: #7a4e13; background: #fff1d2; }
.admin-order-card {
    --order-accent: var(--gold);
    display: grid;
    gap: 16px;
    padding: clamp(16px, 2vw, 22px);
    border: 1px solid rgba(78, 56, 23, .14);
    border-inline-start: 5px solid var(--order-accent);
    border-radius: 24px 8px 24px 8px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 24px 56px -46px rgba(31, 26, 14, .62);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.admin-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 68px -48px rgba(31, 26, 14, .7);
}
.admin-order-card.is-delivered { --order-accent: #2f7751; }
.admin-order-card.is-pending { --order-accent: var(--gold); }
.admin-order-card-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(225,211,186,.72);
}
.admin-order-card-head h2 {
    margin: 5px 0;
    color: var(--brand);
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.35;
}
.admin-order-card-head p {
    margin: 0;
    color: #657169;
}
.order-id {
    display: inline-flex;
    max-width: 100%;
    direction: ltr;
    unicode-bidi: plaintext;
    color: #7c6a46;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}
.admin-order-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr .9fr;
    gap: 12px;
}
.admin-order-block,
.admin-order-products,
.admin-order-notes {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(78, 56, 23, .12);
    border-radius: 18px 6px 18px 6px;
    background: rgba(255,250,240,.68);
}
.admin-order-block strong,
.order-total {
    display: block;
    color: var(--brand);
    font-size: 18px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.admin-order-block p,
.admin-order-notes p {
    margin: 4px 0 0;
    color: #4f5f56;
    line-height: 1.8;
    white-space: normal;
}
.phone-actions {
    display: grid;
    gap: 5px;
}
.phone-actions b {
    direction: ltr;
    text-align: right;
    font-family: Consolas, "Courier New", monospace;
}
.phone-actions small, .block-muted {
    display: block;
    color: #77776f;
}
.phone-actions a {
    display: inline-flex;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 10px;
    color: var(--brand);
    background: #fff7e7;
    border: 1px solid var(--line);
    font-weight: 800;
}
.mini-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.order-type-lines {
    display: grid;
    gap: 4px;
    white-space: normal;
    min-width: 0;
}
.order-type-lines span {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(225,211,186,.65);
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.order-type-lines span:last-child { border-bottom: 0; }
.admin-order-actions,
.order-actions {
    display: grid;
    grid-template-columns: minmax(210px, 1.3fr) repeat(4, minmax(132px, 1fr));
    gap: 8px;
    align-items: stretch;
}
.admin-order-actions form,
.order-actions form { margin: 0; }
.admin-order-actions .btn,
.order-actions .btn {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
}
.assign-order-form {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) auto;
    gap: 8px;
}
.assign-order-form select,
.order-actions select {
    min-height: 42px;
}
.btn.whatsapp {
    color: #fff;
    background: #1f9d55;
    border-color: #1f9d55;
    text-decoration: none;
}
.confirm-inline {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(138,47,32,.24);
    border-radius: 14px;
    background: #fff4ec;
    white-space: normal;
}
.confirm-inline p {
    margin: 0;
    color: #7a2d1f;
    font-weight: 800;
}
.confirm-inline div {
    display: grid;
    gap: 6px;
}
.empty-state {
    margin-top: 18px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px dashed rgba(189,139,53,.46);
    border-radius: 24px 8px 24px 8px;
    color: #395246;
    background:
        linear-gradient(135deg, rgba(255,252,246,.92), rgba(255,247,229,.72)),
        radial-gradient(circle at 94% 16%, rgba(189,139,53,.18), transparent 13rem);
}
.empty-state strong {
    display: block;
    color: var(--brand);
    font-size: clamp(20px, 2vw, 28px);
}
.empty-state p {
    max-width: 58ch;
    margin: 8px 0 0;
    color: #657169;
    line-height: 1.8;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.motion-ready .motion-reveal {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(3px);
    transition:
        opacity .72s var(--ease),
        transform .72s var(--ease),
        filter .72s var(--ease);
    transition-delay: calc(var(--reveal-index) * 45ms);
}
.motion-ready .motion-reveal.in-view {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@keyframes hero-float {
    from { transform: rotate(-1.5deg) translate3d(0, 0, 0) scale(1); }
    to { transform: rotate(-.65deg) translate3d(0, -10px, 0) scale(1.012); }
}

@keyframes qty-pulse {
    0% { transform: scale(1); }
    42% { transform: scale(.92); }
    100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
    .motion-ready .motion-reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

@media (max-width: 1020px) {
    .nav-shell { grid-template-columns: 1fr auto; }
    .nav-links { grid-column: 1 / -1; justify-self: stretch; justify-content: center; flex-wrap: wrap; }
    .hero-section, .split-intro, .quality-panel, .order-section, .site-footer { grid-template-columns: 1fr; }
    .hero-copy { justify-self: stretch; }
    h1 { max-width: 12ch; }
    .hero-visual { min-height: 440px; }
    .product-stage { inset: 0 0 0 44px; }
    .quick-gallery, .product-grid, .branch-grid, .admin-shortcuts { grid-template-columns: 1fr 1fr; }
    .visitor-counter { grid-template-columns: 1fr 1fr; }
    .visitor-counter > div:first-child { grid-column: 1 / -1; }
    .product-card, .product-card:nth-child(3n + 1) { grid-column: auto; grid-row: auto; min-height: 100%; grid-template-columns: none; grid-template-rows: minmax(220px, auto) 1fr; }
    .product-card:nth-child(3n + 1) .pack-art { min-height: 220px; }
    .pack-art { min-height: 240px; order: 1; }
    .product-body { order: 2; }
    .best-item { grid-template-columns: 90px 1fr auto; }
    .best-item .button { grid-column: 2 / -1; justify-self: start; }
    .orders-workbench { grid-template-columns: 1fr; }
    .orders-side-panel {
        position: static;
        grid-template-columns: repeat(3, 1fr);
    }
    .admin-order-grid { grid-template-columns: 1fr 1fr; }
    .admin-order-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .assign-order-form { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    body { overflow-x: hidden; }
    .site-header { position: static; }
    .nav-shell { grid-template-columns: 1fr; gap: 14px; }
    .brand-lockup, .logo { min-width: 0; }
    .brand-lockup span:last-child, .logo span:last-child { min-width: 0; }
    .brand-lockup strong, .logo strong, .logo b { font-size: 16px; }
    .brand-lockup small, .logo small { white-space: normal; }
    .nav-actions { justify-self: stretch; justify-content: center; flex-wrap: wrap; }
    .language-switch { flex: 1 1 180px; justify-content: center; max-width: 260px; }
    .service-strip { grid-template-columns: 1fr; justify-items: center; gap: 6px; min-height: auto; margin-bottom: 0; padding-block: 10px 18px; text-align: center; }
    .service-strip > span:first-child,
    .service-strip > span:last-child,
    .service-strip .top-visitor-counter {
        grid-column: 1;
        justify-self: center;
    }
    .top-visitor-counter {
        position: static;
        order: -1;
        width: auto;
        min-width: min(230px, 100%);
        min-height: 44px;
        padding: 8px 16px;
        flex-direction: row;
    }
    .hero-section { padding-top: 34px; }
    h1 { max-width: none; font-size: clamp(34px, 10vw, 52px); }
    .hero-visual { min-height: 360px; }
    .product-stage { inset: 0; border-radius: 28px 8px 28px 8px; }
    .vertical-badge { display: none; }
    .trust-row, .quick-gallery, .category-tabs, .product-grid, .branch-grid, .form-grid, .admin-shortcuts, .visitor-counter { grid-template-columns: 1fr; }
    .order-stats { grid-template-columns: 1fr 1fr; }
    .visitor-number { min-width: 0; width: 100%; }
    .visitor-today { min-height: 110px; }
    .quick-gallery button {
        background:
            linear-gradient(90deg, rgba(255,252,246,.98) 0 48%, rgba(255,252,246,.58) 70%, rgba(255,252,246,.18) 100%),
            url("../img/products/generated-hero-ajwa.png") right center / auto 122% no-repeat;
    }
    .span-2 { grid-column: auto; }
    .best-item { grid-template-columns: 1fr; text-align: right; }
    .mini-art { width: 130px; }
    .contact-phone div { grid-template-columns: 1fr; }
    .social-links.compact { justify-content: stretch; }
    .social-links.compact a { flex: 1 1 110px; }
    .newsletter div { grid-template-columns: 1fr; }
    .product-edit { grid-template-columns: 1fr; }
    .product-edit-full { grid-template-columns: 1fr; }
    .wide-field { grid-column: auto; }
    .admin-shell { width: min(100% - 20px, 1180px); padding: 18px 0; }
    .admin-card { padding: 20px; }
    .orders-hero {
        display: grid;
        align-items: start;
    }
    .orders-hero .btn { width: 100%; }
    .orders-toolbar .btn { flex: 1 1 140px; }
    .orders-toolbar-note {
        width: 100%;
        margin-inline-start: 0;
        text-align: center;
    }
    .orders-side-panel { grid-template-columns: 1fr; }
    .admin-order-card-head {
        display: grid;
        justify-items: start;
    }
    .admin-order-grid,
    .admin-order-actions,
    .assign-order-form { grid-template-columns: 1fr; }
    .admin-order-actions .btn { min-height: 44px; }
    .order-items-head, .order-item { grid-template-columns: 1fr; }
    .order-items-head { align-items: start; }
    .order-item img { width: 100%; height: 150px; }
    .variant-row { grid-template-columns: 1fr; }
    .quantity-stepper { grid-template-columns: 42px 1fr 42px; }
    .variant-edit > div { grid-template-columns: 1fr; }
}
