/* جولدن هاوس — Golden House E-Commerce Store */

:root {
    --brand: #D4AF37;
    --brand-dark: #9A7B0A;
    --brand-light: rgba(212, 175, 55, 0.12);
    --brand-soft: rgba(212, 175, 55, 0.08);
    --silver: #B8B8B8;
    --silver-soft: rgba(184, 184, 184, 0.12);
    --surface: #1E1E24;
    --surface-2: #121216;
    --surface-3: #282830;
    --text: #F5F5F7;
    --text-secondary: #C8C8CC;
    --text-muted: #888890;
    --border: rgba(212, 175, 55, 0.18);
    --line: rgba(212, 175, 55, 0.2);
    --line-strong: rgba(212, 175, 55, 0.35);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.55);
    --radius: 12px;
    --radius-lg: 16px;
    --header-h: 56px;
    --font: 'Cairo', sans-serif;
    --container: 1280px;
    --store-header-gradient: linear-gradient(135deg, #1a1a1e 0%, #0f0f12 55%, #1a1810 100%);
    --store-header-border: #D4AF37;
    --store-gold-gradient: linear-gradient(135deg, #E8C547, #D4AF37, #9A7B0A);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body.store-page {
    font-family: var(--font);
    background: var(--surface-2);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.store-bg {
    position: fixed; inset: 0; z-index: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.store-container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
    position: relative; z-index: 1;
}

.store-topbar {
    background: transparent;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.store-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 4vw, 48px);
    padding: 7px 0;
    flex-wrap: wrap;
}

.store-topbar i { margin-left: 6px; color: #ffffff; }
.store-topbar strong { font-weight: 900; color: #ffffff; }

.store-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--store-header-gradient);
    border-bottom: 2px solid var(--store-header-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(212, 175, 55, 0.12);
    color: #ffffff;
    padding-top: env(safe-area-inset-top, 0px);
}

.store-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 8px 0;
    min-height: var(--header-h);
}

.store-promo-band {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #1a1810 0%, #121216 100%);
    color: var(--brand);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.store-promo-band-inner {
    padding: 8px 0;
    text-align: center;
}

.store-promo-line {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.5;
}

.store-promo-line i { margin-left: 6px; color: var(--silver); }
.store-promo-line strong { font-weight: 900; color: #F0D060; }

.store-promo-desktop { display: block; }
.store-promo-mobile { display: none; }

.store-hero-wrap {
    background: linear-gradient(180deg, #1a1810 0%, var(--surface-2) 100%);
    padding: 14px 0 6px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.store-header-top {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px 16px;
    padding: 10px 0;
    min-height: var(--header-h);
}

.store-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.store-header-icon-btn,
.store-header-search-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: 0.2s;
    padding: 0;
    font-family: inherit;
}

.store-header-icon-btn:hover,
.store-header-search-btn:hover,
.store-header-search-btn.active {
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.28);
}

.store-search-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.28s ease;
    padding: 0;
    border-top: 0 solid rgba(255, 255, 255, 0.16);
}

.store-search-panel.open {
    max-height: 88px;
    opacity: 1;
    padding: 0 0 12px;
    border-top-width: 1px;
}

.store-search-panel .store-search {
    margin-top: 10px;
}

.store-search {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    padding: 0 12px 0 16px;
    transition: 0.2s;
}

.store-search-close {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.store-search-close:hover {
    background: var(--brand-light);
    color: var(--brand);
}

.store-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: inherit; flex-shrink: 0;
    min-width: 0;
}

.store-logo img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(212, 175, 55, 0.35); }
.store-logo strong { display: block; font-size: 1.05rem; font-weight: 900; color: var(--brand); line-height: 1.2; }
.store-logo span { font-size: 0.68rem; color: var(--silver); font-weight: 700; }

.store-search:focus-within {
    border-color: #ffffff; background: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
}

.store-search input {
    flex: 1; border: none; background: none; outline: none;
    font-family: inherit; font-size: 0.9rem; padding: 12px 0;
}

.store-header-wa-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(255,255,255,0.16); color: #ffffff;
    border: 1px solid rgba(255,255,255,0.28);
    text-decoration: none; font-size: 1.25rem; flex-shrink: 0;
    transition: 0.2s;
}

.store-header-wa-link:hover { background: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.45); color: #fff; }

.store-desktop-only { display: inline-flex; }

.store-subnav-wrap.store-desktop-only {
    display: block;
}

/* شريط القائمة الفرعية */
.store-subnav-wrap {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.store-subnav {
    display: flex; align-items: center; justify-content: flex-start;
    gap: 6px; padding: 6px 0 8px;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: wrap;
}

.store-subnav::-webkit-scrollbar { display: none; }

.store-subnav a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 16px; border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem; font-weight: 900;
    white-space: nowrap; flex-shrink: 0;
    transition: 0.2s;
}

.store-subnav a i { font-size: 0.82rem; color: #ffffff; transition: 0.2s; }

.store-subnav a:hover,
.store-subnav a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.store-subnav a:hover i,
.store-subnav a.active i { color: #ffffff; }

.store-subnav-login {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    margin-inline-start: auto;
}

.store-subnav-login i { color: #ffffff !important; }

.store-subnav-login:hover {
    background: rgba(255, 255, 255, 0.24) !important;
    border-color: rgba(255, 255, 255, 0.45);
}

.store-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 10px; font-family: inherit;
    font-size: 0.88rem; font-weight: 700; text-decoration: none; border: none; cursor: pointer;
    transition: 0.25s;
}

.store-btn-primary { background: var(--store-gold-gradient); color: #121216; box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35); font-weight: 800; }
.store-btn-primary:hover { background: linear-gradient(135deg, #F0D060, #D4AF37, #8B6914); }
.store-btn-outline { background: transparent; color: var(--text); border: 1.5px solid rgba(212, 175, 55, 0.4); }
.store-btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.store-btn-wa { background: #25D366; color: #fff; }
.store-btn-sm { padding: 8px 14px; font-size: 0.8rem; }

.store-main { position: relative; z-index: 1; padding-bottom: 48px; }
.store-hero-section { padding-top: 0; margin-bottom: 0; }

.store-slider {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); background: #111;
    direction: ltr;
    height: clamp(360px, 32vw, 440px);
    isolation: isolate;
}

.store-slide-content { direction: rtl; text-align: right; }

.store-slider-track {
    display: flex; height: 100%; width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-slide {
    flex: 0 0 100%; width: 100%; height: 100%; min-height: 0;
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    position: relative; overflow: hidden;
}

.store-slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
}

.store-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}

.store-slide-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; justify-content: center;
    height: 100%; align-self: stretch;
    padding: clamp(20px, 4vw, 40px);
    padding-bottom: clamp(52px, 6vw, 60px);
    color: #fff; min-height: 0; overflow: hidden;
}

.store-slide-badge {
    display: inline-block; width: fit-content;
    background: var(--store-gold-gradient); color: #121216;
    font-size: 0.72rem; font-weight: 800;
    padding: 5px 12px; border-radius: 6px; margin-bottom: 14px;
}

.store-slide-content h2 {
    font-size: clamp(1.15rem, 2.8vw, 2rem); font-weight: 900;
    line-height: 1.3; margin-bottom: 8px; max-width: 480px;
}

.store-slide-content p {
    font-size: clamp(0.78rem, 1.6vw, 0.95rem);
    color: rgba(255,255,255,0.85); margin-bottom: 12px; max-width: 420px;
    line-height: 1.5;
}

.store-slide-price { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 900; margin-bottom: 12px; }
.store-slide-price small { display: block; font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.7); margin-top: 3px; }

.store-slide-content .store-btn { align-self: flex-start; flex-shrink: 0; margin-bottom: 24px; }

.store-slide-visual {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center; padding: 24px;
}

.store-slide-visual img {
    max-width: 85%; max-height: 80%; object-fit: contain;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.5));
}

.store-slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.95); cursor: pointer; z-index: 10;
    box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
}

.store-slider-arrow:hover { background: var(--brand); color: #121216; }
.store-slider-prev { right: 16px; }
.store-slider-next { left: 16px; }

.store-slider-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 8px; z-index: 12;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
}

.store-slider-dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6); background: transparent; cursor: pointer; padding: 0;
}

.store-slider-dot.active { background: #fff; border-color: #fff; width: 28px; border-radius: 5px; }

.store-trust {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    margin-top: 0; background: var(--surface);
    border-radius: var(--radius); padding: 16px 20px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}

.store-trust-item { display: flex; align-items: center; gap: 12px; }
.store-trust-item i {
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--brand-soft); color: var(--brand);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}

.store-trust-item strong { display: block; font-size: 0.82rem; font-weight: 800; }
.store-trust-item span { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }

.store-section { margin-top: 32px; }
.store-section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px; gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--line);
}

.store-section-head h2 { font-size: 1.25rem; font-weight: 900; color: var(--text); }
.store-section-head h2 i { color: var(--brand); }
.store-section-head a { color: var(--brand); text-decoration: none; font-size: 0.85rem; font-weight: 700; }
.store-section-sub { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.store-cat-grid,
.store-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 5px;
    max-width: 100%;
}

#categories.store-section {
    margin-top: 18px;
    margin-bottom: 6px;
}

.store-cat-scroll {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.store-cat-item {
    width: auto;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.store-cat-all {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: auto;
    min-width: 0;
    text-decoration: none;
    color: var(--brand);
    font-weight: 800;
    font-size: 0.56rem;
    text-align: center;
}

.store-cat-all-icon {
    width: 100%;
    aspect-ratio: 1;
    max-height: 38px;
    border-radius: 8px;
    border: 2px dashed rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: 0.2s;
}

.store-cat-all:hover .store-cat-all-icon {
    border-color: var(--brand);
    background: var(--brand-light);
    box-shadow: 0 4px 14px var(--brand-soft);
}

.store-cat-thumb {
    width: 100%;
    aspect-ratio: 1;
    max-height: 38px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto 2px;
    transition: 0.25s;
}

.store-cat-item:hover .store-cat-thumb { border-color: var(--brand); box-shadow: 0 4px 16px var(--brand-soft); }
.store-cat-thumb img { width: 72%; height: 72%; object-fit: contain; }
.store-cat-thumb i { font-size: 0.9rem; color: var(--brand); }
.store-cat-item strong {
    display: block;
    font-size: 0.56rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.store-cat-item span { font-size: 0.52rem; color: var(--text-muted); font-weight: 600; }
.store-cat-item-compact span { display: none; }

.store-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.store-banner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 28px; border-radius: var(--radius-lg);
    text-decoration: none; min-height: 130px; transition: 0.3s;
}

.store-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.store-banner-gold { background: linear-gradient(135deg, #9A7B0A, #D4AF37); color: #121216; }
.store-banner-red { background: linear-gradient(135deg, #9A7B0A, #D4AF37); color: #121216; }
.store-banner-dark { background: linear-gradient(135deg, #1a1a1e, #282830); border: 1px solid rgba(184, 184, 184, 0.2); color: #F5F5F7; }
.store-banner-tag { display: inline-block; background: rgba(255,255,255,0.2); padding: 3px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 800; margin-bottom: 8px; }
.store-banner-text h3 { font-size: 1.15rem; font-weight: 900; margin-bottom: 4px; }
.store-banner-text p { font-size: 0.82rem; opacity: 0.9; }
.store-banner-icon { font-size: 3rem; opacity: 0.25; }

.store-carousel { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.store-carousel::-webkit-scrollbar { display: none; }

.store-carousel-nav { display: flex; gap: 8px; }
.store-carousel-nav button {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
}
.store-carousel-nav button:hover { background: var(--brand); color: #121216; border-color: var(--brand); }

.store-product-card {
    flex: 0 0 auto; width: 220px;
    background: var(--surface); border-radius: var(--radius);
    border: 1px solid var(--line); overflow: hidden;
    transition: 0.3s; color: inherit;
    display: flex; flex-direction: column;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
    position: relative;
}

.store-product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--store-gold-gradient);
    z-index: 1;
}

.store-product-link { text-decoration: none; color: inherit; display: block; flex: 1; }

.store-products-grid .store-product-card { width: auto; }

.store-product-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.15);
    transform: translateY(-4px);
}

.store-add-cart-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; border: none; border-top: 2px solid var(--line);
    background: var(--brand-light); color: var(--brand);
    font-family: inherit; font-size: 0.78rem; font-weight: 800;
    padding: 10px 12px; cursor: pointer; transition: 0.2s;
}

.store-add-cart-btn:hover { background: var(--store-gold-gradient); color: #121216; }
.store-add-cart-btn-lg { width: auto; border: 1.5px solid var(--brand); border-radius: 10px; padding: 12px 18px; }

.store-header-cart {
    position: relative; width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.16);
    color: #ffffff; cursor: pointer; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.05rem; transition: 0.2s;
}

.store-header-cart:hover {
    border-color: rgba(255,255,255,0.45);
    color: #ffffff;
    background: rgba(255,255,255,0.28);
}

.store-cart-count {
    position: absolute; top: -6px; left: -6px; min-width: 18px; height: 18px;
    border-radius: 999px; background: var(--store-gold-gradient); color: #121216;
    font-size: 0.65rem; font-weight: 800; align-items: center; justify-content: center; padding: 0 4px;
}

.store-cart-btn.store-cart-pulse { animation: storeCartPulse 0.45s ease; }
@keyframes storeCartPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }

.store-cart-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 400;
    opacity: 0; pointer-events: none; transition: 0.25s;
}

body.store-cart-open .store-cart-overlay { opacity: 1; pointer-events: auto; }

.store-cart-drawer {
    position: fixed; top: 0; bottom: 0; left: 0; width: min(100%, 380px);
    background: var(--surface); color: var(--text); z-index: 401; transform: translateX(-105%);
    transition: 0.3s ease; display: flex; flex-direction: column;
    box-shadow: 8px 0 32px rgba(0,0,0,0.45);
}

.store-cart-drawer.open { transform: translateX(0); }

.store-cart-head, .store-cart-foot {
    padding: 16px 18px; border-bottom: 2px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}

.store-cart-head {
    background: var(--store-gold-gradient);
    border-bottom: 3px solid var(--brand-dark);
    color: #ffffff;
}

.store-cart-head h3 {
    font-size: 1rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.store-cart-head h3 i { color: #ffffff; }

.store-cart-close {
    width: 36px; height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    cursor: pointer;
}

.store-cart-close:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.45);
}

.store-cart-body { flex: 1; overflow-y: auto; padding: 12px 14px; }

.store-cart-empty { text-align: center; padding: 40px 16px; color: var(--text-muted); }
.store-cart-empty i { font-size: 2rem; color: var(--brand); margin-bottom: 10px; }

.store-cart-item {
    padding: 12px 0; border-bottom: 1px solid var(--border);
    display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start;
}

.store-cart-item-info strong { display: block; font-size: 0.82rem; margin-bottom: 4px; }
.store-cart-item-info span { font-size: 0.72rem; color: var(--text-muted); }

.store-cart-item-actions { display: flex; align-items: center; gap: 6px; }
.store-cart-qty-btn, .store-cart-remove {
    width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border);
    background: var(--surface-3); color: var(--text); cursor: pointer; font-size: 0.72rem;
}

.store-cart-remove { color: var(--brand); }
.store-cart-qty { min-width: 18px; text-align: center; font-weight: 800; font-size: 0.82rem; }
.store-cart-item-line { grid-column: 1 / -1; font-weight: 900; color: var(--brand); font-size: 0.88rem; }

.store-cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 800; }
.store-cart-checkout, .store-btn-wa-full { width: 100%; justify-content: center; }

.store-cart-foot { border-bottom: none; border-top: 2px solid var(--line); flex-direction: column; align-items: stretch; }

.store-checkout-modal {
    position: fixed; inset: 0; z-index: 402; display: flex; align-items: center; justify-content: center;
    padding: 20px; opacity: 0; pointer-events: none; transition: 0.25s;
    background: rgba(0, 0, 0, 0.45);
}

body.store-checkout-open .store-cart-overlay {
    opacity: 0 !important;
    pointer-events: none !important;
}

.store-checkout-modal.open { opacity: 1; pointer-events: auto; }

.store-checkout-card {
    width: min(100%, 420px); background: var(--surface); color: var(--text); border-radius: var(--radius-lg);
    padding: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}

.store-checkout-head {
    display: flex; justify-content: space-between; align-items: center;
    margin: -20px -20px 14px;
    padding: 16px 18px;
    background: var(--store-gold-gradient);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    color: #ffffff;
}

.store-checkout-head h3 {
    font-size: 1rem;
    font-weight: 900;
    color: #ffffff;
}

.store-checkout-head button {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
}
.store-checkout-note { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }
.store-checkout-card label { display: block; margin-bottom: 10px; font-size: 0.82rem; font-weight: 700; }
.store-checkout-input {
    width: 100%; margin-top: 6px; border: 1.5px solid var(--border); border-radius: 10px;
    padding: 10px 12px; font-family: inherit; font-size: 0.88rem;
    background: var(--surface-3); color: var(--text);
}

.store-product-img {
    position: relative; height: 200px; background: var(--surface-3);
    display: flex; align-items: center; justify-content: center;
    padding: 16px; border-bottom: 1px solid var(--border);
}

.store-product-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: 0.3s; }
.store-product-card:hover .store-product-img img { transform: scale(1.06); }

.store-product-badge {
    position: absolute; top: 10px; right: 10px;
    background: var(--store-gold-gradient); color: #121216;
    font-size: 0.65rem; font-weight: 800; padding: 4px 8px; border-radius: 6px;
}

.store-product-badge.inst { background: #059669; top: auto; bottom: 10px; }

.store-product-body { padding: 14px; }
.store-product-brand { font-size: 0.68rem; font-weight: 800; color: var(--brand); text-transform: uppercase; }
.store-product-name {
    font-size: 0.82rem; font-weight: 700; line-height: 1.45; margin: 6px 0 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em;
}

.store-product-price { font-size: 1.05rem; font-weight: 900; }
.store-product-installment { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; margin-top: 2px; }

.store-product-rating { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 0.72rem; color: #F59E0B; }
.store-product-rating span { color: var(--text-muted); }

.store-products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}

.store-products-section {
    background: var(--surface); border-radius: var(--radius-lg);
    padding: 24px; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}

.store-filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    align-items: center;
}

.store-filter-tabs::-webkit-scrollbar { display: none; }

.store-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 5px;
    margin-bottom: 12px;
}

.store-filter-grid .store-filter-tab,
.store-filter-grid .store-filter-all-link {
    width: 100%;
    justify-content: center;
    padding: 6px 2px;
    font-size: 0.56rem;
    border-radius: 8px;
    min-height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-filter-tab {
    flex-shrink: 0;
    padding: 8px 16px; border-radius: 50px;
    border: 1.5px solid var(--border); background: var(--surface-2);
    color: var(--text-secondary); font-family: inherit;
    font-size: 0.82rem; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
}

.store-filter-tab:hover, .store-filter-tab.active {
    background: var(--store-gold-gradient); border-color: var(--brand); color: #121216;
}

.store-filter-all-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    border: 2px dashed rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.06);
    color: var(--brand);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.store-filter-all-link:hover {
    background: var(--brand-light);
    border-color: var(--brand);
}

.store-categories-page-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.store-contact-card {
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--surface); border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow);
}

.store-contact-info { padding: clamp(24px, 4vw, 40px); }
.store-contact-info h2 { font-size: 1.35rem; font-weight: 900; margin-bottom: 8px; }
.store-contact-info > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

.store-contact-list { list-style: none; margin-bottom: 24px; }
.store-contact-list li {
    display: flex; align-items: flex-start; gap: 12px; padding: 10px 0;
    font-size: 0.88rem; border-bottom: 1px solid var(--border);
}
.store-contact-list i { color: var(--brand); width: 18px; margin-top: 3px; }
.store-contact-list a { color: var(--brand); font-weight: 700; text-decoration: none; }
.store-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.store-contact-map { position: relative; min-height: 280px; background: var(--surface-2); }
.store-contact-map-bg { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0.15; }
.store-contact-map-overlay {
    position: relative; z-index: 1; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 24px; text-align: center;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent);
}
.store-contact-logo { width: 80px; height: 80px; object-fit: cover; margin-bottom: 12px; border-radius: 10px; border: 2px solid rgba(212, 175, 55, 0.35); }
.store-contact-map-overlay strong { font-size: 1.1rem; font-weight: 900; color: var(--brand); }
.store-contact-map-overlay span { font-size: 0.82rem; color: var(--text-muted); }

.store-footer { background: #0a0a0c; color: var(--silver); padding: 32px 0; margin-top: 16px; position: relative; z-index: 1; border-top: 2px solid rgba(212, 175, 55, 0.3); }
.store-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.store-footer-brand { display: flex; align-items: center; gap: 12px; }
.store-footer-brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(212, 175, 55, 0.3); }
.store-footer-brand strong { display: block; color: var(--brand); }
.store-footer-links { display: flex; gap: 20px; }
.store-footer-links a { color: var(--silver); text-decoration: none; font-size: 0.82rem; font-weight: 600; }
.store-footer-links a:hover { color: var(--brand); }
.store-footer-copy { width: 100%; text-align: center; font-size: 0.78rem; padding-top: 16px; border-top: 1px solid rgba(212, 175, 55, 0.12); line-height: 1.6; }
.store-footer-copy a { color: var(--brand); font-weight: 800; text-decoration: none; }
.store-footer-copy a:hover { text-decoration: underline; }

.store-float-wa {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    left: calc(20px + env(safe-area-inset-left, 0px));
    z-index: 280;
    width: 52px; height: 52px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; box-shadow: 0 6px 24px rgba(37,211,102,0.45); text-decoration: none;
}

/* القائمة السفلية — موبايل (مثل صفحة الموظفين) */
:root { --store-bottom-nav-height: 62px; }

.store-bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 300;
    display: none;
    align-items: stretch;
    justify-content: space-around;
    gap: 0;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--store-header-gradient);
    border-top: 3px solid var(--store-header-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.store-bottom-nav-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    transition: color 0.2s, background 0.2s;
}

.store-bottom-nav-item i {
    font-size: 1.05rem;
    color: #ffffff;
}

.store-bottom-nav-item span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    color: #ffffff;
    font-weight: 900;
}

.store-bottom-nav-item.active,
.store-bottom-nav-item.store-bottom-nav-login.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.store-bottom-nav-item.active i,
.store-bottom-nav-item.store-bottom-nav-login.active i {
    color: #ffffff;
}

body.store-page.has-store-bottom-nav .store-bottom-nav { display: flex; }

body.store-page.has-store-bottom-nav .store-main {
    padding-bottom: calc(48px + var(--store-bottom-nav-height) + env(safe-area-inset-bottom, 0px));
}

body.store-page.has-store-bottom-nav .store-footer {
    padding-bottom: calc(24px + var(--store-bottom-nav-height) + env(safe-area-inset-bottom, 0px));
}

body.store-page.has-store-bottom-nav .store-float-wa {
    bottom: calc(var(--store-bottom-nav-height) + 14px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 1024px) {
    body.store-page.has-store-bottom-nav .store-bottom-nav { display: flex; }

    .store-promo-desktop { display: none; }
    .store-promo-mobile { display: none; }

    .store-promo-band-inner {
        position: relative;
        min-height: 34px;
        overflow: hidden;
    }

    .store-promo-mobile {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        white-space: nowrap;
        opacity: 0;
        animation: storePromoCycle 12s infinite;
        padding: 0 8px;
    }

    .store-promo-a { animation-delay: 0s; }
    .store-promo-b { animation-delay: 4s; }
    .store-promo-c { animation-delay: 8s; }
}

@keyframes storePromoCycle {
    0%, 6% { opacity: 0; transform: translateY(8px); }
    10%, 30% { opacity: 1; transform: translateY(0); }
    34%, 100% { opacity: 0; transform: translateY(-8px); }
}

@media (min-width: 1025px) {
    .store-bottom-nav { display: none !important; }
}

.store-empty { grid-column: 1 / -1; text-align: center; padding: 48px; color: var(--text-muted); }

/* Product detail */
.store-page .gh-page-content { max-width: var(--container); margin: 0 auto; padding: 24px 16px 48px; }
.store-page .gh-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 24px; }
.store-page .gh-breadcrumb a { color: var(--brand); text-decoration: none; font-weight: 700; }

.store-page .gh-product-detail {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
    background: var(--surface); border-radius: var(--radius-lg); padding: 28px;
    border: 1px solid var(--border); box-shadow: var(--shadow); margin-bottom: 24px;
}

.store-page .gh-gallery-main {
    aspect-ratio: 1; background: var(--surface-3); border-radius: var(--radius);
    border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 24px;
}

.store-page .gh-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }

.store-page .gh-gallery-svg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-page .gh-gallery-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.store-page .gh-gallery-badges .gh-badge { margin-left: 0; }

.store-page .gh-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.store-page .gh-gallery-thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.store-page .gh-gallery-thumb.is-active {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.store-page .gh-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-page .gh-detail-title {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.store-page .gh-detail-price-box { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.store-page .gh-detail-price-box.gh-detail-price-installment { grid-template-columns: 1fr; }
.store-page .gh-detail-cash, .store-page .gh-detail-inst { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.store-page .gh-detail-inst-primary strong { font-size: 1.75rem; font-weight: 900; color: var(--brand); }
.store-page .gh-detail-inst-note { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--text-muted); font-weight: 600; line-height: 1.5; }
.store-page .gh-detail-label { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 6px; }
.store-page .gh-detail-cash strong { font-size: 1.5rem; font-weight: 900; color: var(--brand); }
.store-page .gh-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }

.store-page .gh-detail-actions .gh-btn,
.store-page .gh-detail-actions .store-add-cart-btn-lg {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    justify-content: center;
    text-align: center;
}

.store-page .gh-detail-actions .gh-detail-action-primary {
    flex: 1 1 100%;
}

.store-page .gh-product-finance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-bottom: 16px;
    padding: 10px 12px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.store-page .gh-product-finance-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

.store-page .gh-product-finance-label i { color: var(--brand); font-size: 0.82rem; }

.store-page .gh-product-finance-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.store-page .gh-product-finance-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px 4px 6px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.store-page .gh-product-finance-pill img {
    width: 22px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.store-page .gh-product-finance-pill i {
    font-size: 0.72rem;
    color: var(--partner-accent, var(--brand));
}

@media (max-width: 640px) {
    .store-page .gh-product-finance {
        flex-direction: column;
        align-items: flex-start;
    }
    .store-page .gh-product-finance-strip {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        scrollbar-width: none;
    }
    .store-page .gh-product-finance-strip::-webkit-scrollbar { display: none; }
}

.store-page .gh-specs-grid { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.store-page .gh-spec-row { display: grid; grid-template-columns: 140px 1fr; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.store-page .gh-spec-row:nth-child(even) { background: var(--surface-2); }
.store-page .gh-spec-label { color: var(--text-muted); font-weight: 600; }
.store-page .gh-spec-value { font-weight: 700; }

.store-page .gh-install-table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.store-page .gh-install-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.store-page .gh-install-table th { background: var(--brand-soft); color: var(--brand); padding: 12px 16px; text-align: right; font-weight: 800; }
.store-page .gh-install-table td { padding: 10px 16px; border-top: 1px solid var(--border); }

.store-page .gh-section { background: var(--surface); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); margin-bottom: 24px; }
.store-page .gh-section-title { font-size: 1.1rem; font-weight: 900; margin-bottom: 8px; }
.store-page .gh-section-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; }

.store-page .gh-btn-primary, .store-page .store-btn-primary {
    background: var(--store-gold-gradient); color: #121216; padding: 12px 22px; border-radius: 10px;
    font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; font-family: inherit;
}

.store-page .gh-btn-outline {
    background: transparent; border: 1.5px solid rgba(212, 175, 55, 0.4); padding: 12px 22px; border-radius: 10px;
    font-weight: 700; text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: 8px;
}

.store-page .gh-btn-whatsapp {
    background: #25D366; color: #fff; padding: 12px 22px; border-radius: 10px;
    font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}

.store-page .gh-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; background: var(--surface-2); border: 1px solid var(--border); margin-left: 6px; }
.store-page .gh-badge-cat { color: var(--brand); }
.store-page .gh-badge-stock { color: #059669; }
.store-page .gh-products-grid-sm { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.store-page .gh-empty { text-align: center; padding: 80px 24px; color: var(--text-muted); }
.store-page .gh-empty-lg h2 { margin: 12px 0; }

/* شريط إجراءات المنتج — موبايل */
.gh-product-mobile-bar {
    display: none;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 295;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

body.store-page[data-gh-page="product"].has-store-bottom-nav .gh-page-content {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

.gh-mobile-bar-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.gh-mobile-bar-cart {
    background: var(--store-gold-gradient);
    color: #121216;
    border: 1.5px solid var(--brand);
}

.gh-mobile-bar-wa {
    background: #25D366;
    color: #fff;
}

@media (max-width: 768px) {
    .store-cart-drawer {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    body.store-page { padding-bottom: env(safe-area-inset-bottom, 0px); }

    .store-container { width: min(100% - 20px, var(--container)); }

    .store-topbar { font-size: 0.72rem; }

    .store-header-top {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto;
        gap: 8px 10px;
        padding: 10px 0 8px;
        min-height: auto;
    }

    .store-logo {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .store-header-actions {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .store-logo img { width: 36px; height: 36px; }
    .store-logo strong { font-size: 0.92rem; }
    .store-logo span { font-size: 0.62rem; }

    .store-desktop-only { display: none !important; }

    .store-search-panel.open {
        max-height: 72px;
    }

    .store-search {
        border-radius: 12px;
        padding: 0 10px 0 14px;
        background: var(--surface-3);
        box-shadow: var(--shadow-sm);
        border-color: var(--border);
    }

    .store-search input {
        font-size: 0.84rem;
        padding: 11px 0;
        color: var(--text);
    }

    .store-search i { color: var(--text-muted); font-size: 0.9rem; }

    .store-hero-wrap { padding: 10px 0 4px; }
    .store-hero-section { padding-top: 0; margin-bottom: 0; }

    .store-slider {
        height: clamp(340px, 88vw, 400px);
        border-radius: var(--radius);
    }

    .store-slide {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .store-slide-visual { display: none; }

    .store-slide-content {
        justify-content: flex-end;
        padding: 20px 16px 16px;
    }

    .store-slide-content .store-btn {
        margin-bottom: 34px;
        padding: 10px 18px;
        font-size: 0.82rem;
    }

    .store-slide-content h2 {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }

    .store-slide-content p {
        font-size: 0.74rem;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .store-slide-price {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .store-slide-price small { font-size: 0.68rem; }

    .store-slide-badge {
        font-size: 0.62rem;
        padding: 4px 9px;
        margin-bottom: 8px;
    }

    .store-slider-arrow {
        width: 34px; height: 34px;
        font-size: 0.85rem;
    }

    .store-slider-prev { right: 8px; }
    .store-slider-next { left: 8px; }

    .store-slider-dots { bottom: 8px; padding: 5px 10px; }

    .store-trust {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 0;
        padding: 12px;
        border-radius: var(--radius);
    }

    .store-trust-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        padding: 8px 4px;
    }

    .store-trust-item i {
        width: 38px; height: 38px;
        font-size: 0.95rem;
    }

    .store-trust-item strong { font-size: 0.74rem; }
    .store-trust-item span { font-size: 0.65rem; }

    .store-section { margin-top: 22px; }
    .store-section-head h2 { font-size: 1.05rem; }

    .store-cat-grid,
    .store-filter-grid,
    .store-cat-scroll,
    .store-categories-page-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
    }

    .store-cat-thumb,
    .store-cat-all-icon {
        max-height: 34px;
        border-radius: 7px;
    }

    .store-cat-item strong { font-size: 0.52rem; }
    .store-cat-item span { font-size: 0.48rem; }
    .store-cat-all { font-size: 0.52rem; }

    .store-filter-grid .store-filter-tab,
    .store-filter-grid .store-filter-all-link {
        padding: 5px 2px;
        font-size: 0.52rem;
        min-height: 28px;
    }

    .store-cat-item { width: auto; }
    .store-cat-thumb { width: 100%; height: auto; border-radius: 8px; }
    .store-cat-item strong { font-size: 0.62rem; }

    .store-banner {
        min-height: 110px;
        padding: 18px 20px;
        border-radius: var(--radius);
    }

    .store-banner-text h3 { font-size: 1rem; }
    .store-banner-text p { font-size: 0.76rem; }

    .store-carousel .store-product-card { width: 168px; }

    .store-product-img { height: 150px; padding: 12px; }
    .store-product-body { padding: 10px; }
    .store-product-name { font-size: 0.76rem; min-height: 2.2em; }
    .store-product-price { font-size: 0.92rem; }
    .store-product-installment { font-size: 0.66rem; }
    .store-product-rating { font-size: 0.65rem; margin-top: 6px; }

    .store-products-section {
        padding: 16px 12px;
        border-radius: var(--radius);
    }

    .store-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .store-filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        margin-bottom: 14px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .store-filter-tabs::-webkit-scrollbar { display: none; }

    .store-filter-tab {
        flex-shrink: 0;
        padding: 7px 14px;
        font-size: 0.78rem;
    }

    .store-contact-info { padding: 20px 18px; }
    .store-contact-info h2 { font-size: 1.15rem; }
    .store-contact-list li { font-size: 0.82rem; }
    .store-contact-actions { flex-direction: column; }
    .store-contact-actions .store-btn { width: 100%; justify-content: center; }

    .store-footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
    .store-footer-links { flex-wrap: wrap; justify-content: center; gap: 12px 18px; }

    .store-banners { grid-template-columns: 1fr; }
    .store-contact-card { grid-template-columns: 1fr; }

    /* ── صفحة المنتج — موبايل ── */
    body.store-page[data-gh-page="product"] {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    body.store-page[data-gh-page="product"] .store-float-wa,
    body.store-page[data-gh-page="product"] .store-float-call {
        display: none !important;
    }

    body.store-page[data-gh-page="product"] .store-bottom-nav {
        display: none !important;
    }

    body.store-page[data-gh-page="product"] .rn-topbar,
    body.store-page[data-gh-page="product"] .rn-cat-nav-wrap {
        display: none;
    }

    body.store-page[data-gh-page="product"] .store-header {
        position: sticky;
        top: 0;
        z-index: 200;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    body.store-page[data-gh-page="product"] .store-header .store-container {
        width: 100%;
        max-width: 100%;
        padding-inline: 12px;
        box-sizing: border-box;
    }

    body.store-page[data-gh-page="product"] .rn-header-main {
        padding: 8px 0;
        min-width: 0;
    }

    body.store-page[data-gh-page="product"] .store-main {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body.store-page[data-gh-page="product"] .gh-page-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        padding: 8px 12px calc(64px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
        overflow-x: hidden;
    }

    body.store-page[data-gh-page="product"] .gh-breadcrumb {
        font-size: 0.72rem;
        gap: 6px;
        margin-bottom: 10px;
        line-height: 1.4;
        max-width: 100%;
    }

    body.store-page[data-gh-page="product"] .gh-breadcrumb-product,
    body.store-page[data-gh-page="product"] .gh-breadcrumb-product-sep {
        display: none;
    }

    body.store-page[data-gh-page="product"] .gh-product-detail {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        margin-bottom: 12px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.store-page[data-gh-page="product"] .gh-product-gallery,
    body.store-page[data-gh-page="product"] .gh-product-info {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.store-page[data-gh-page="product"] .gh-gallery-main {
        aspect-ratio: unset;
        max-height: none;
        height: auto;
        width: 100%;
        max-width: 100%;
        padding: 8px;
        border-radius: var(--radius);
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        box-sizing: border-box;
        background: #fff;
    }

    body.store-page[data-gh-page="product"] .gh-gallery-main img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: contain;
    }

    body.store-page[data-gh-page="product"] .gh-gallery-thumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        margin-top: 8px;
        max-width: 100%;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.store-page[data-gh-page="product"] .gh-gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    body.store-page[data-gh-page="product"] .gh-gallery-thumb {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
    }

    body.store-page[data-gh-page="product"] .gh-gallery-badges {
        margin-top: 8px;
        flex-wrap: wrap;
    }

    body.store-page[data-gh-page="product"] .gh-gallery-badges .gh-badge {
        font-size: 0.68rem;
        padding: 5px 10px;
    }

    body.store-page[data-gh-page="product"] .gh-detail-title {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 10px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.store-page[data-gh-page="product"] .gh-detail-price-box {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 10px;
        max-width: 100%;
    }

    body.store-page[data-gh-page="product"] .gh-detail-cash,
    body.store-page[data-gh-page="product"] .gh-detail-inst {
        padding: 10px 12px;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.store-page[data-gh-page="product"] .gh-detail-inst-primary strong {
        font-size: 1.3rem;
        overflow-wrap: anywhere;
    }

    body.store-page[data-gh-page="product"] .gh-detail-inst-note {
        font-size: 0.72rem;
        overflow-wrap: anywhere;
    }

    body.store-page[data-gh-page="product"] .gh-detail-actions .gh-detail-action-primary {
        display: none;
    }

    body.store-page[data-gh-page="product"] .gh-detail-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 12px;
        max-width: 100%;
    }

    body.store-page[data-gh-page="product"] .gh-detail-actions .gh-btn {
        width: 100%;
        min-width: 0;
        padding: 11px 8px;
        font-size: 0.78rem;
        justify-content: center;
        box-sizing: border-box;
    }

    body.store-page[data-gh-page="product"] .gh-product-finance {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 0;
        padding: 8px 10px;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    body.store-page[data-gh-page="product"] .gh-product-finance-strip {
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 5px;
    }

    body.store-page[data-gh-page="product"] .gh-product-finance-pill {
        font-size: 0.62rem;
        padding: 3px 7px 3px 5px;
    }

    body.store-page[data-gh-page="product"] .gh-section {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 12px;
        margin: 0 0 12px;
        border-radius: var(--radius);
        overflow: hidden;
    }

    body.store-page[data-gh-page="product"] .gh-section-title {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    body.store-page[data-gh-page="product"] .gh-section-desc {
        font-size: 0.76rem;
        margin-bottom: 10px;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    body.store-page[data-gh-page="product"] .gh-specs-grid {
        width: 100%;
        max-width: 100%;
    }

    body.store-page[data-gh-page="product"] .gh-spec-row {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 9px 10px;
        font-size: 0.78rem;
    }

    body.store-page[data-gh-page="product"] .gh-spec-label {
        font-size: 0.7rem;
    }

    body.store-page[data-gh-page="product"] .gh-spec-value {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.store-page[data-gh-page="product"] .gh-install-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
    }

    body.store-page[data-gh-page="product"] .gh-install-table {
        font-size: 0.76rem;
        width: 100%;
    }

    body.store-page[data-gh-page="product"] .gh-install-table th,
    body.store-page[data-gh-page="product"] .gh-install-table td {
        padding: 8px 10px;
    }

    body.store-page[data-gh-page="product"] .gh-products-grid-sm {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.store-page[data-gh-page="product"].has-store-bottom-nav .store-main {
        padding-bottom: 0;
    }

    body.store-page[data-gh-page="product"].has-store-bottom-nav .store-footer {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    body.store-page[data-gh-page="product"] .gh-product-mobile-bar.store-mobile-only {
        display: flex;
    }
}

@media (max-width: 380px) {
    .store-bottom-nav-item { font-size: 0.58rem; }
    .store-bottom-nav-item i { font-size: 0.95rem; }
}

/* ── Professional Store Enhancements ── */

.store-section-divider {
    height: 1px;
    max-width: var(--container);
    margin: 8px auto 24px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
}

.store-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 16px 0 4px;
}

.store-hero-call { display: none; }

.store-brands-wrap {
    padding: 18px 0 8px;
    position: relative;
    z-index: 1;
}

.store-brands-label {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.store-brands-label i { color: var(--brand); margin-left: 6px; }

.store-brands-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
}

.store-brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 800;
    transition: 0.2s;
}

.store-brand-chip:hover {
    border-color: var(--brand);
    color: var(--brand);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.12);
}

.store-brand-chip i { color: var(--brand); font-size: 0.75rem; }

.store-trust-stats .store-trust-item strong {
    font-size: 1.35rem;
    color: var(--brand);
}

.store-cat-grid-lg .store-cat-thumb,
.store-cat-grid-lg .store-cat-all-icon {
    max-height: 64px;
    border-radius: 12px;
}

.store-cat-grid-lg .store-cat-item strong { font-size: 0.72rem; }
.store-cat-grid-lg .store-cat-all { font-size: 0.72rem; }

.store-cat-grid-lg {
    gap: 10px;
}

.store-load-more-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 0 4px;
}

.store-load-more-wrap .store-btn { min-width: 200px; }

.store-skeleton-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    animation: storeSkeletonPulse 1.4s ease-in-out infinite;
}

.store-skeleton-img {
    height: 200px;
    background: linear-gradient(90deg, var(--surface-3) 25%, rgba(212,175,55,0.08) 50%, var(--surface-3) 75%);
    background-size: 200% 100%;
    animation: storeSkeletonShimmer 1.4s infinite;
}

.store-skeleton-body { padding: 14px; }
.store-skeleton-line {
    height: 10px;
    border-radius: 6px;
    background: var(--surface-3);
    margin-bottom: 8px;
}

.store-skeleton-line.short { width: 40%; }
.store-skeleton-line.mid { width: 70%; }

@keyframes storeSkeletonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes storeSkeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.store-calc-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.store-calc-info {
    padding: clamp(24px, 4vw, 36px);
    background: linear-gradient(135deg, rgba(212,175,55,0.08), transparent);
    border-left: 1px solid var(--border);
}

.store-calc-info h2 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.store-calc-info h2 i { color: var(--brand); margin-left: 8px; }

.store-calc-info > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; line-height: 1.6; }

.store-calc-features { list-style: none; }
.store-calc-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.store-calc-features i { color: var(--brand); }

.store-calc-form {
    padding: clamp(24px, 4vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.store-calc-form label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.store-calc-result {
    background: var(--surface-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.store-calc-result span { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; }
.store-calc-result strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--brand); }
.store-calc-result small { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; }

.store-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.store-review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: 0.25s;
}

.store-review-card:hover {
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateY(-3px);
}

.store-review-stars { color: #F59E0B; font-size: 0.85rem; margin-bottom: 10px; }
.store-review-text { font-size: 0.88rem; line-height: 1.65; color: var(--text-secondary); margin-bottom: 14px; min-height: 4.5em; }
.store-review-author { display: flex; align-items: center; gap: 10px; }
.store-review-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--store-gold-gradient);
    color: #121216;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 0.85rem;
}
.store-review-author strong { display: block; font-size: 0.82rem; }
.store-review-author span { font-size: 0.72rem; color: var(--text-muted); }

.store-faq-list { display: flex; flex-direction: column; gap: 10px; }

.store-faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.2s;
}

.store-faq-item.open { border-color: rgba(212, 175, 55, 0.4); }

.store-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    text-align: right;
}

.store-faq-q i { color: var(--brand); transition: transform 0.25s; flex-shrink: 0; }
.store-faq-item.open .store-faq-q i { transform: rotate(180deg); }

.store-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.store-faq-item.open .store-faq-a {
    max-height: 200px;
    padding: 0 18px 16px;
}

.store-contact-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: none;
    display: block;
}

.store-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 24px;
}

.store-footer-col h4 {
    color: var(--brand);
    font-size: 0.92rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.store-footer-about {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--silver);
    margin-top: 12px;
    max-width: 320px;
}

.store-footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-footer-links-col a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: 0.2s;
}

.store-footer-links-col a:hover { color: var(--brand); }

.store-footer-contact { list-style: none; }
.store-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.82rem;
    color: var(--silver);
}

.store-footer-contact i { color: var(--brand); width: 16px; margin-top: 2px; }
.store-footer-contact a { color: var(--silver); text-decoration: none; }
.store-footer-contact a:hover { color: var(--brand); }

.store-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    flex-wrap: wrap;
}

.store-footer-staff {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    opacity: 0.7;
    transition: 0.2s;
}

.store-footer-staff:hover { opacity: 1; color: var(--brand); }

.store-float-call {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    left: calc(82px + env(safe-area-inset-left, 0px));
    z-index: 280;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--store-gold-gradient);
    color: #121216;
    display: none;
    align-items: center; justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
    text-decoration: none;
}

.store-mobile-only { display: none; }

.gh-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.gh-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .store-hero-call { display: inline-flex; }
    .store-mobile-only { display: flex; }
    .store-float-call { display: flex; }

    body.store-page.has-store-bottom-nav .store-float-call {
        bottom: calc(var(--store-bottom-nav-height) + 14px + env(safe-area-inset-bottom, 0px));
    }

    body.store-page.has-store-bottom-nav .store-float-wa {
        left: calc(20px + env(safe-area-inset-left, 0px));
    }

    .store-calc-card { grid-template-columns: 1fr; }
    .store-calc-info { border-left: none; border-bottom: 1px solid var(--border); }
    .store-reviews-grid { grid-template-columns: 1fr; }
    .store-footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .store-footer-about { max-width: none; margin-inline: auto; }
    .store-footer-links-col { align-items: center; }
    .store-footer-contact li { justify-content: center; }
    .store-footer-bottom { flex-direction: column; text-align: center; }
    .store-hero-cta .store-btn { flex: 1 1 auto; min-width: 140px; }

    .store-cat-grid-lg .store-cat-thumb,
    .store-cat-grid-lg .store-cat-all-icon { max-height: 52px; }
}

@media (min-width: 769px) {
    .store-cat-grid-lg {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
