/* ═══════════════════════════════════════
   سوار المعصم الإسقاطي — Dark Edition
   ═══════════════════════════════════════ */

:root {
    --bg:       #050912;
    --surface:  rgba(255,255,255,.052);
    --accent:   #B76E79;
    --accent-l: #D4959E;
    --blue:     #5EA8F0;
    --text:     #EDF2F7;
    --muted:    rgba(237,242,247,.42);
    --border:   rgba(183,110,121,.13);
    --r:        18px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { min-height: 100%; }
body {
    font-family: 'Cairo', 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100dvh;
    direction: rtl;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
}

/* Scan-line texture */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(255,255,255,.011) 0px,
        rgba(255,255,255,.011) 1px,
        transparent 1px,
        transparent 5px
    );
}

/* ── UTILITIES ── */
.accent-rose-gold { color: var(--accent-l); }
.required { color: #F87171; }

/* ── PROJECTION BEAM ── */
.projection-beam {
    position: fixed; bottom: -10vh; left: 50%;
    transform: translateX(-50%);
    width: 180vw; height: 100vh;
    background: radial-gradient(ellipse at bottom, rgba(183,110,121,.07) 0%, transparent 62%);
    pointer-events: none; z-index: 0;
}
.projection-beam::after {
    content: '';
    position: fixed; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(183,110,121,.45), var(--blue), rgba(183,110,121,.45), transparent);
    animation: scanLine 10s linear infinite;
    opacity: 0.3; z-index: 1;
}
@keyframes scanLine {
    0%   { transform: translateY(-2px); opacity: 0; }
    4%   { opacity: 0.3; }
    96%  { opacity: 0.3; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* ── LANGUAGE BUTTON ── */
.lang-btn {
    position: fixed; top: 16px; left: 14px; z-index: 1000;
    background: rgba(183,110,121,.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(183,110,121,.2);
    color: var(--accent-l);
    width: 38px; height: 38px; border-radius: 50%;
    font-weight: 700; font-size: 12px; cursor: pointer;
    transition: background .2s;
}
.lang-btn:active { transform: scale(0.9); }

/* ── SPLASH SCREEN ── */
.app-splash-screen {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .65s ease, transform .65s ease;
}
.app-splash-screen.fade-out {
    opacity: 0; pointer-events: none; transform: scale(1.04);
}
.splash-content {
    display: flex; flex-direction: column; align-items: center; text-align: center;
}

/* Logo ring + fill */
.splash-logo-ring {
    position: relative; margin-bottom: 20px;
}
.splash-logo-ring::before,
.splash-logo-ring::after {
    content: '';
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(183,110,121,.28);
    animation: sRingPulse 2.4s cubic-bezier(.2,.8,.3,1) infinite;
}
.splash-logo-ring::before { inset: -14px; }
.splash-logo-ring::after  { inset: -28px; animation-delay: .8s; }
@keyframes sRingPulse {
    0%   { opacity: 1; transform: scale(.7); }
    100% { opacity: 0; transform: scale(1.55); }
}
.splash-logo-wrap {
    width: 100px; height: 100px;
    border-radius: 50%; overflow: hidden;
    border: 2px solid rgba(183,110,121,.5);
    box-shadow: 0 0 28px rgba(183,110,121,.32), 0 0 60px rgba(183,110,121,.1);
    animation: splashGlow 2s ease-in-out infinite alternate;
}
@keyframes splashGlow {
    0%   { box-shadow: 0 0 22px rgba(183,110,121,.28), 0 0 50px rgba(183,110,121,.08); }
    100% { box-shadow: 0 0 38px rgba(183,110,121,.52), 0 0 80px rgba(183,110,121,.18); }
}
.splash-logo {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
    transform: scale(1.12); /* trim any padding in the asset */
}

.splash-title {
    font-size: 1.3rem; font-weight: 800; color: var(--text);
    margin-bottom: 4px;
}
.splash-subtitle {
    font-size: .58rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--accent-l); margin-bottom: 20px;
}
.splash-loader {
    width: 44px; height: 2px;
    background: rgba(183,110,121,.12); border-radius: 2px;
    overflow: hidden; position: relative;
}
.splash-loader::after {
    content: '';
    position: absolute; top: 0; left: 0; bottom: 0; width: 50%;
    background: linear-gradient(90deg, var(--accent), var(--blue));
    box-shadow: 0 0 8px var(--accent);
    animation: loaderSlide 1.5s ease-in-out infinite;
}
@keyframes loaderSlide { 0% { left: -60%; } 100% { left: 110%; } }

/* ── SYNC SCREEN ── */
.sync-screen {
    position: fixed; inset: 0; z-index: 2000;
    background: var(--bg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    transition: opacity .8s ease;
}
.wristband-emitter {
    position: relative; width: 96px; height: 96px; margin-bottom: 34px;
}
.emitter-core {
    position: absolute; inset: 30px;
    background: var(--accent); border-radius: 50%;
    box-shadow: 0 0 22px var(--accent), 0 0 44px rgba(183,110,121,.28);
    animation: corePulse 1.1s infinite alternate;
}
@keyframes corePulse {
    0%   { transform: scale(.78); opacity: .7; }
    100% { transform: scale(1.22); opacity: 1; box-shadow: 0 0 32px var(--accent), 0 0 64px rgba(183,110,121,.32); }
}
.emitter-ring {
    position: absolute; inset: 0;
    border: 1.5px solid rgba(183,110,121,.45);
    border-radius: 50%;
    animation: ringExpand 2.2s infinite cubic-bezier(.1,.8,.3,1);
}
.emitter-ring.delay { animation-delay: 1.1s; }
@keyframes ringExpand {
    0%   { transform: scale(.5); opacity: 1; }
    100% { transform: scale(2.3); opacity: 0; }
}
.sync-screen h2 {
    font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 16px;
}
.sync-progress {
    width: 200px; height: 3px;
    background: rgba(183,110,121,.12); border-radius: 2px;
    overflow: hidden; margin-bottom: 10px;
}
.sync-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--blue));
    box-shadow: 0 0 8px rgba(183,110,121,.5);
    transition: width .1s linear;
}
.sync-status { font-size: .78rem; color: var(--muted); }

/* ── PROJECTED APP ── */
.projected-app {
    position: relative; z-index: 2;
    padding-bottom: 110px;
    animation: appAppear .75s cubic-bezier(.2,.8,.2,1);
}
@keyframes appAppear {
    from { opacity: 0; transform: translateY(28px); filter: blur(5px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* ── HEADER ── */
.hologram-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(5,9,18,.92);
    backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
    border-bottom: 1px solid rgba(183,110,121,.09);
    padding: 12px 16px 0;
}
.hdr-top {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 11px;
}
.brand-logo-wrap {
    width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
    border: 1.5px solid rgba(183,110,121,.38);
    box-shadow: 0 0 10px rgba(183,110,121,.14);
    flex-shrink: 0;
}
.brand-logo {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    display: block; transform: scale(1.1);
}
.brand-text-wrap { flex: 1; min-width: 0; }
.brand-text-wrap h1 {
    font-size: .92rem; font-weight: 800;
    color: var(--text); line-height: 1.2;
}
.brand-text-wrap p {
    font-size: .5rem; color: var(--muted);
    letter-spacing: 2px; text-transform: uppercase;
}

/* ── CONTROL RING (categories + search) ── */
.control-ring-container { padding: 0; }

.categories-wheel {
    display: flex; overflow-x: auto; gap: 8px;
    padding: 0 16px 12px;
    scrollbar-width: none;
}
.categories-wheel::-webkit-scrollbar { display: none; }

.cat-btn {
    flex: 0 0 auto;
    padding: 7px 18px; border-radius: 50px;
    background: transparent;
    border: 1px solid rgba(183,110,121,.15);
    color: var(--muted);
    font-family: 'Cairo', sans-serif;
    font-size: .78rem; font-weight: 600;
    cursor: pointer; white-space: nowrap;
    transition: all .26s ease;
}
.cat-btn.active {
    background: var(--accent); color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(183,110,121,.32), 0 0 0 3px rgba(183,110,121,.1);
    animation: catGlow 2.5s ease-in-out infinite alternate;
}
@keyframes catGlow {
    0%   { box-shadow: 0 4px 14px rgba(183,110,121,.28); }
    100% { box-shadow: 0 4px 22px rgba(183,110,121,.5), 0 0 0 4px rgba(183,110,121,.13); }
}

/* Search */
.search-orb {
    position: relative; margin: 0 16px 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(183,110,121,.12); border-radius: 50px;
    transition: border-color .24s, box-shadow .24s;
}
.search-orb:focus-within {
    border-color: rgba(183,110,121,.3);
    box-shadow: 0 0 0 2px rgba(183,110,121,.09), 0 4px 16px rgba(183,110,121,.09);
}
.search-orb i {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    color: rgba(183,110,121,.45); font-size: .82rem;
}
[dir="ltr"] .search-orb i { right: auto; left: 14px; }
.search-orb input {
    width: 100%; border: none; background: transparent;
    padding: 10px 40px 10px 16px;
    font-size: .82rem; color: var(--text);
    outline: none; font-family: inherit;
}
[dir="ltr"] .search-orb input { padding: 10px 16px 10px 40px; }
.search-orb input::placeholder { color: var(--muted); }

/* ── CATALOG ── */
.holo-catalog {
    display: grid; grid-template-columns: repeat(2,1fr);
    gap: 11px; padding: 0 14px;
}

/* ── HOLO CARD ── */
.holo-card {
    background: var(--surface);
    border: 1px solid rgba(183,110,121,.09);
    border-radius: var(--r); overflow: hidden;
    cursor: pointer; position: relative;
    text-align: center; padding-bottom: 11px;

    opacity: 0;
    transform: perspective(900px) rotateY(-14deg) translateY(20px) scale(.97);
    animation: holoProject .52s cubic-bezier(.16,1,.3,1) forwards;

    transition: border-color .3s, box-shadow .3s, transform .28s cubic-bezier(.175,.885,.32,1.275);
    will-change: transform; transform-style: preserve-3d;
}
.holo-card:nth-child(1) { animation-delay: 40ms; }
.holo-card:nth-child(2) { animation-delay: 90ms; }
.holo-card:nth-child(3) { animation-delay: 140ms; }
.holo-card:nth-child(4) { animation-delay: 190ms; }
.holo-card:nth-child(5) { animation-delay: 240ms; }
.holo-card:nth-child(6) { animation-delay: 290ms; }
.holo-card:nth-child(7) { animation-delay: 340ms; }
.holo-card:nth-child(8) { animation-delay: 390ms; }

@keyframes holoProject {
    to { opacity: 1; transform: perspective(900px) rotateY(0deg) translateY(0) scale(1); }
}

/* Shimmer on hover */
.holo-card::after {
    content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none;
    background: linear-gradient(120deg, transparent 28%, rgba(183,110,121,.07) 50%, rgba(94,168,240,.05) 65%, transparent 80%);
    opacity: 0; transition: opacity .3s;
}
.holo-card:hover { border-color: rgba(183,110,121,.3); box-shadow: 0 8px 26px rgba(183,110,121,.14), 0 0 0 1px rgba(183,110,121,.07); }
.holo-card:hover::after { opacity: 1; animation: shimmerPass 2s linear infinite; }
.holo-card:active { transform: scale(.96); }
@keyframes shimmerPass { 0%{background-position:-200% 0} 100%{background-position:200% 0} }

/* Scan line on hover */
.holo-card::before {
    content: ''; position: absolute; left: 0; right: 0; top: -2px;
    height: 2px; z-index: 10; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(183,110,121,.6), var(--blue), rgba(183,110,121,.6), transparent);
    opacity: 0;
}
.holo-card:hover::before {
    opacity: 1;
    animation: cardScan 1.5s linear infinite;
}
@keyframes cardScan {
    0%   { top: -2px; opacity: 0; }
    5%   { opacity: 1; }
    95%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Card image */
.holo-card-img-wrap {
    position: relative; width: 100%; aspect-ratio: 1;
    overflow: hidden; border-radius: calc(var(--r) - 2px) calc(var(--r) - 2px) 0 0;
}
.holo-card-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .55s ease;
}
.holo-card:hover .holo-card-img { transform: scale(1.07); }
.holo-card-img-wrap::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 45%;
    background: linear-gradient(transparent, rgba(5,9,18,.58));
    pointer-events: none; z-index: 1;
}

/* Card text */
.holo-card-title {
    display: block; font-size: .8rem; font-weight: 700;
    color: var(--text); line-height: 1.3;
    padding: 8px 8px 3px;
}
.holo-card-price {
    color: var(--accent-l); font-weight: 800; font-size: .75rem;
    font-variant-numeric: tabular-nums;
}

/* Badge */
.holo-badge {
    position: absolute; top: 7px; right: 7px; z-index: 6;
    background: rgba(183,110,121,.88);
    backdrop-filter: blur(4px);
    color: #fff; font-size: .48rem; font-weight: 700;
    padding: 2px 7px; border-radius: 8px;
}
[dir="ltr"] .holo-badge { right: auto; left: 7px; }

/* ── FOOTER INFO ── */
.holo-footer-info {
    display: flex; justify-content: center; gap: 10px;
    margin: 26px 14px 0; flex-wrap: wrap;
}
.info-pill {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border); border-radius: 50px;
    padding: 7px 13px;
    font-size: .72rem; color: var(--muted);
    cursor: pointer; display: flex; align-items: center; gap: 6px;
    transition: background .2s;
}
.info-pill:hover { background: rgba(183,110,121,.07); }
.info-pill i { color: var(--blue); }

/* ── OPTIONS MODAL ── */
.holo-modal-overlay {
    position: fixed; inset: 0; z-index: 3000;
    background: rgba(5,9,18,.58);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: none; align-items: center; justify-content: center;
    padding: 16px;
    opacity: 0; transition: opacity .3s ease;
}
.holo-modal-overlay.active { opacity: 1; }

.holo-modal-content {
    background: rgba(9,14,28,.97);
    backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    width: 100%; max-width: 360px;
    border-radius: 24px; padding: 0;
    border: 1px solid rgba(183,110,121,.18);
    box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(183,110,121,.09), inset 0 1px 0 rgba(255,255,255,.05);
    transform: scale(.86) translateY(12px); opacity: 0;
    transition: transform .38s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
    max-height: 80vh; display: flex; flex-direction: column; overflow: hidden;
}
.holo-modal-overlay.active .holo-modal-content { transform: scale(1) translateY(0); opacity: 1; }

.modal-glow {
    display: block; width: 100%; height: 2px; flex-shrink: 0;
    background: linear-gradient(90deg, transparent, var(--accent), var(--blue), var(--accent), transparent);
    border-radius: 24px 24px 0 0;
}

/* Close button */
.holo-close-btn {
    position: absolute; top: 11px; left: 11px; z-index: 10;
    background: rgba(183,110,121,.09);
    border: 1px solid rgba(183,110,121,.14);
    width: 30px; height: 30px; border-radius: 50%;
    color: var(--muted); font-size: .88rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s;
}
.holo-close-btn:hover { background: rgba(183,110,121,.2); color: var(--text); }
[dir="ltr"] .holo-close-btn { left: auto; right: 11px; }

/* Product preview */
.holo-product-preview {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(183,110,121,.08);
    flex-shrink: 0;
}
.holo-product-preview img {
    width: 68px; height: 68px; border-radius: 12px; object-fit: cover;
    border: 1px solid rgba(183,110,121,.14);
    box-shadow: 0 4px 16px rgba(0,0,0,.35);
    flex-shrink: 0;
}
.holo-product-preview .preview-text { flex: 1; min-width: 0; }
.holo-product-preview h3 {
    font-size: 1rem; font-weight: 800; color: var(--text); line-height: 1.3; margin-bottom: 3px;
}
.holo-product-preview p {
    color: var(--muted); font-size: .7rem; line-height: 1.4;
    overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* Controls scroll area */
.holo-controls {
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    flex: 1 1 auto; min-height: 0; padding: 12px 16px;
}
.holo-group { margin-bottom: 14px; }
.holo-group-title { display: block; font-weight: 700; font-size: .8rem; color: var(--text); margin-bottom: 10px; }
.holo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.holo-chip { position: relative; cursor: pointer; }
.holo-chip input { display: none; }
.chip-lbl {
    display: inline-block; padding: 8px 15px; border-radius: 50px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(183,110,121,.12);
    font-family: 'Cairo', sans-serif; font-size: .8rem; color: var(--muted); font-weight: 600;
    transition: all .22s cubic-bezier(.34,1.56,.64,1);
}
.holo-chip input:checked + .chip-lbl {
    background: var(--accent); color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(183,110,121,.36);
    transform: translateY(-1px);
}

/* Modal footer */
.holo-modal-footer {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(7,11,22,.96);
    padding: 12px 16px;
    border-top: 1px solid rgba(183,110,121,.08);
    border-radius: 0 0 24px 24px; flex-shrink: 0;
}
.holo-price-wrap { display: flex; flex-direction: column; }
.holo-price-wrap span:first-child { font-size: .7rem; color: var(--muted); }
.price-val { font-size: 1.28rem; font-weight: 800; color: var(--accent-l); }

.holo-add-btn {
    background: linear-gradient(135deg, var(--accent), #D4959E);
    color: #fff; border: none;
    padding: 11px 22px; border-radius: 50px;
    font-family: 'Cairo', sans-serif; font-weight: 700; font-size: .88rem;
    cursor: pointer;
    display: flex; align-items: center; gap: 7px;
    box-shadow: 0 6px 20px rgba(183,110,121,.38);
    transition: transform .2s;
}
.holo-add-btn:active { transform: scale(.94); }

/* ── QUANTITY CONTROL ── */
.holo-qty-row {
    display: flex; align-items: center; justify-content: center;
    gap: 14px; margin-bottom: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(183,110,121,.1); border-radius: 50px;
    padding: 5px 18px; width: fit-content;
    margin-left: auto; margin-right: auto;
}
.qty-btn {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--accent); color: #fff; border: none;
    font-size: 1rem; font-weight: 700; cursor: pointer; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: transform .14s;
}
.qty-btn:active { transform: scale(.82); }
.qty-btn.minus { background: rgba(183,110,121,.14); color: var(--accent-l); border: 1px solid rgba(183,110,121,.2); }
.qty-val { font-size: 1.05rem; font-weight: 800; color: var(--text); min-width: 22px; text-align: center; }

/* ── BASKET ORB ── */
.basket-orb {
    position: fixed; bottom: 26px; right: 22px;
    width: 58px; height: 58px; z-index: 2500; cursor: pointer; display: none;
    animation: orbFloat 3s ease-in-out infinite;
}
[dir="ltr"] .basket-orb { right: auto; left: 22px; }
@keyframes orbFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
.orb-core {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--accent), #D4959E);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.35rem;
    box-shadow: 0 8px 22px rgba(183,110,121,.48); z-index: 2;
    transition: transform .28s, box-shadow .28s;
}
.basket-orb:active .orb-core { transform: scale(.88); box-shadow: 0 4px 12px rgba(183,110,121,.3); }
.basket-count {
    position: absolute; top: -2px; right: -2px;
    background: var(--blue); color: #fff;
    font-size: .62rem; font-weight: 800;
    width: 19px; height: 19px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg);
}
.orb-ring {
    position: absolute; inset: -10px;
    border: 1.5px solid rgba(183,110,121,.26);
    border-radius: 50%;
    animation: orbRipple 2.2s infinite;
}
@keyframes orbRipple { 0%{transform:scale(.8);opacity:1} 100%{transform:scale(1.6);opacity:0} }

/* ── CART DRAWER ── */
.holo-cart-overlay {
    position: fixed; inset: 0; z-index: 4000;
    background: rgba(5,9,18,.68);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    display: none; flex-direction: column; justify-content: flex-end;
    opacity: 0; transition: opacity .35s ease;
}
.holo-cart-overlay.active { opacity: 1; }

.holo-cart-content {
    background: #080D1C;
    border: 1px solid rgba(183,110,121,.1); border-bottom: none;
    border-radius: 28px 28px 0 0;
    height: 88vh; display: flex; flex-direction: column;
    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.holo-cart-overlay.active .holo-cart-content { transform: translateY(0); }

.cart-header {
    padding: 18px 16px;
    border-bottom: 1px solid rgba(183,110,121,.08);
    display: flex; justify-content: space-between; align-items: center;
}
.cart-header h2 {
    font-size: 1.15rem; font-weight: 800;
    display: flex; align-items: center; gap: 8px; color: var(--accent-l);
}

.cart-body { flex: 1; overflow-y: auto; padding: 16px; }

.cart-item {
    display: flex; align-items: center; gap: 11px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(183,110,121,.08);
    padding: 11px; border-radius: 15px; margin-bottom: 11px;
    transition: all .28s ease;
}
.cart-item.removing {
    opacity: 0; transform: translateX(28px);
    max-height: 0; margin-bottom: 0; padding: 0; overflow: hidden;
}
.cart-item-img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 700; font-size: .88rem; color: var(--text); margin-bottom: 3px; }
.cart-item-meta { font-size: .7rem; color: var(--muted); line-height: 1.4; }
.cart-item-price { font-weight: 800; color: var(--accent-l); margin-top: 3px; display: block; font-size: .82rem; }
.cart-item-remove {
    background: rgba(183,110,121,.09); color: var(--accent-l);
    border: 1px solid rgba(183,110,121,.15);
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.cart-item-remove:hover { background: rgba(183,110,121,.2); }

/* Order form */
.cart-form {
    margin-top: 16px; padding-top: 16px;
    border-top: 1px solid rgba(183,110,121,.07);
}
.cart-form h3 { font-size: .95rem; margin-bottom: 13px; color: var(--text); }
.holo-input-group { margin-bottom: 12px; }
.holo-input-group label {
    display: block; font-size: .78rem; font-weight: 600;
    margin-bottom: 5px; color: var(--muted);
}
.holo-input-group input,
.holo-input-group select,
.holo-input-group textarea {
    width: 100%; padding: 10px 13px;
    border: 1px solid rgba(183,110,121,.14); border-radius: 11px;
    background: rgba(255,255,255,.04); color: var(--text);
    font-size: .84rem; font-family: inherit; outline: none;
    transition: border-color .24s, box-shadow .24s, background .24s;
}
.holo-input-group input:focus,
.holo-input-group select:focus,
.holo-input-group textarea:focus {
    border-color: rgba(183,110,121,.35);
    box-shadow: 0 0 0 2px rgba(183,110,121,.09);
    background: rgba(255,255,255,.07);
}
.holo-input-group select option { background: #0D1526; }

.cart-footer {
    padding: 14px 16px 18px;
    border-top: 1px solid rgba(183,110,121,.07);
    background: #080D1C;
}
.cart-total {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 13px; font-size: 1.1rem; font-weight: 800; color: var(--text);
}
.cart-price-val { color: var(--accent-l); }

.holo-submit-btn {
    width: 100%; padding: 13px;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: #fff; border: none; border-radius: 50px;
    font-family: 'Cairo', sans-serif; font-size: .95rem; font-weight: 700;
    cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 9px;
    box-shadow: 0 6px 20px rgba(34,197,94,.26);
    transition: transform .2s;
}
.holo-submit-btn:not(:disabled) { animation: submitGlow 2.5s ease-in-out infinite; }
@keyframes submitGlow {
    0%,100%{ box-shadow: 0 6px 18px rgba(34,197,94,.24); }
    50%    { box-shadow: 0 6px 28px rgba(34,197,94,.44); }
}
.holo-submit-btn:active:not(:disabled) { transform: scale(.97); }
.holo-submit-btn:disabled {
    background: rgba(255,255,255,.07); color: var(--muted);
    box-shadow: none; cursor: not-allowed;
}

/* ── TOAST ── */
.holo-toast {
    position: fixed; top: 16px; left: 50%;
    transform: translateX(-50%) translateY(-80px);
    background: rgba(9,14,28,.96);
    backdrop-filter: blur(20px);
    color: var(--text); padding: 10px 22px; border-radius: 50px;
    font-weight: 600; font-size: .82rem;
    border: 1px solid rgba(183,110,121,.18);
    box-shadow: 0 8px 28px rgba(0,0,0,.3), 0 0 0 1px rgba(183,110,121,.07);
    z-index: 5000; white-space: nowrap;
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275);
}
.holo-toast.show {
    transform: translateX(-50%) translateY(0);
    animation: toastIn .42s cubic-bezier(.34,1.56,.64,1);
}
@keyframes toastIn {
    from { transform: translateX(-50%) translateY(-70px); }
    to   { transform: translateX(-50%) translateY(0); }
}

/* ── PARTICLES ── */
.holo-particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.h-particle {
    position: absolute; border-radius: 50%;
    background: var(--accent); opacity: 0;
    animation: particleFloat var(--pd,12s) var(--pdl,0s) ease-in-out infinite;
}
@keyframes particleFloat {
    0%   { opacity: 0; transform: translateY(0) scale(1); }
    15%  { opacity: .5; }
    85%  { opacity: .1; }
    100% { opacity: 0; transform: translateY(-115px) scale(.3); }
}

/* ── BURST DOTS ── */
.burst-dot {
    position: fixed; width: 5px; height: 5px;
    border-radius: 50%; background: var(--accent);
    pointer-events: none; z-index: 9999;
    animation: burstOut .52s ease-out forwards;
}
@keyframes burstOut {
    0%   { transform: scale(0) translate(var(--bx,0),var(--by,0)); opacity: 1; }
    100% { transform: scale(1) translate(calc(var(--bx,0)*3.2),calc(var(--by,0)*3.2)); opacity: 0; }
}

/* ── DESKTOP FRAME ── */
@media (min-width: 481px) {
    html {
        background: radial-gradient(ellipse at 50% 28%, #141028, #080C16);
        display: flex; align-items: center; justify-content: center; min-height: 100vh;
    }
    body {
        max-width: 420px; min-height: 90vh; max-height: 920px;
        border-radius: 40px; overflow: hidden;
        box-shadow: 0 40px 100px rgba(0,0,0,.72), 0 0 0 1px rgba(183,110,121,.07);
    }
    .holo-modal-overlay,
    .holo-cart-overlay {
        max-width: 420px !important;
        left: 50% !important;
    }
    .holo-modal-overlay         { transform: translateX(-50%) !important; }
    .holo-modal-overlay.active  { transform: translateX(-50%) !important; }
    .holo-cart-overlay          { transform: translateX(-50%) !important; }
    .holo-toast { max-width: 360px; }
}

/* ── MOBILE COMPACT ── */
@media (max-width: 640px) {
    .holo-catalog { gap: 9px; padding: 0 12px; }
    .holo-card { border-radius: 14px; }
    .holo-card-title { font-size: .74rem; }
    .holo-card-price { font-size: .7rem; }
    .holo-badge { font-size: .44rem; }
    .chip-lbl { font-size: .76rem; padding: 7px 12px; }
}
