/* چاککردنی گشتگیری ئایکۆنەکان */
.fa, .fas, .far, .fab, [class^="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    visibility: visible !important;
}

/* ڕێکخستنی سێرچ: بچووککردنەوە و هێنانی ئایکۆن بۆ تەنیشت نووسین */
.search-container {
    background: var(--white);
    border-radius: 10px;
    padding: 0 10px;
    height: 40px; /* قەبارەیەکی گونجاو */
    display: flex;
    align-items: center;
    margin: 5px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-box {
    display: flex;
    align-items: center;
    width: 100%;
    flex-direction: row-reverse; /* ئایکۆن و نووسین دەخاتە تەنیشت یەک */
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    padding: 5px 10px;
    background: transparent;
    text-align: right; /* بۆ زمانی کوردی */
}

.search-box i {
    color: #999;
    font-size: 14px;
    margin-right: 5px; /* مەودای نێوان ئایکۆن و دەق */
}
/* ڕێکخستنی مینیۆی خوارەوە */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 65px; /* بەرزییەکی گونجاو بۆ ئەوەی شوێنی هەردوکی ببێتەوە */
    background: var(--white);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 999;
    padding-bottom: 5px; /* بۆ ئەوەی لە لێواری مۆبایلە نوێیەکان زۆر نەکۆڵێت */
}

/* ڕێکخستنی هەر بڕگەیەک بۆ ئەوەی ئایکۆن لەسەر بێت و دەق لەژێر */
.nav-item {
    display: flex !important;
    flex-direction: column !important; /* ئەمە وادەکات نووسینەکە بچێتە خوارەوە */
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    color: #aaa;
    text-decoration: none;
    flex: 1;
}

/* ڕێکخستنی ئایکۆنەکان */
.nav-item i {
    font-size: 20px !important;
    margin-bottom: 4px !important; /* مەودای نێوان ئایکۆن و نووسین */
    display: block !important;
}

/* ڕێکخستنی نووسینەکان */
.nav-item span {
    font-size: 10px !important;
    font-family: 'NRT-Reg', sans-serif !important;
    display: block !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}

/* ڕەنگی ئەو بەشەی کە چالاکە */
.nav-item.active {
    color: var(--primary);
}
:root {
    --primary-color: #ff9900;
    --primary: var(--primary-color);
    --dark: #1a1a1a;
    --light: #fffbf5;
    --white: #ffffff;
    --grey: #f4f4f4;
    --text: #333;
    --radius: 16px;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
}

* * { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'NRT-Reg', sans-serif !important; 
    -webkit-tap-highlight-color: transparent; 
}
body { background: var(--light); color: var(--text); overflow-x: hidden; padding-bottom: 70px; }

/* حركة اسم المتجر */
.animated-store-name {
    flex-grow: 1; text-align: center; font-size: 18px; font-weight: 800;
    white-space: nowrap; overflow: hidden; position: relative; color: #222;
    animation: pulseName 2s infinite;
}
.animated-store-name span { color: #fff; }
@keyframes pulseName { 0% { transform: scale(1); } 50% { transform: scale(1.02); } 100% { transform: scale(1); } }

/* بانر التثبيت */
.install-banner { position: fixed; top: 0; left: 0; width: 100%; background: #222; color: #fff; padding: 10px 15px; z-index: 9999; display: none; align-items: center; justify-content: space-between; }
#install-btn { background: var(--primary); color: #fff; border: none; padding: 5px 15px; border-radius: 20px; cursor: pointer; }
#close-install { background: none; border: none; color: #ccc; cursor: pointer; }

/* شاشة التحميل */
#splash-screen { position: fixed; inset: 0; background: var(--primary); z-index: 9000; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s; }
.loader { width: 40px; height: 40px; border: 4px solid #fff; border-top-color: #222; border-radius: 50%; animation: spin 1s linear infinite; margin: 20px auto 0; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* الصفحات */
.page { display: none; animation: fadeIn 0.3s; min-height: 100vh; background: var(--light); }
.active-page { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* الهيدر */
.sticky-header { position: sticky; top: 0; z-index: 100; background: var(--primary); padding: 15px; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; box-shadow: var(--shadow); }
.top-nav { display: flex; align-items: center; margin-bottom: 15px; }
.nav-icons { display: flex; gap: 10px; position: absolute; left: 15px; z-index: 2; }
.icon-btn { width: 35px; height: 35px; border-radius: 50%; border: none; background: var(--white); color: var(--text); font-size: 16px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); cursor: pointer; display: flex; align-items: center; justify-content: center; }

.cart-wrapper { position: relative; }
#cart-count { position: absolute; top: -5px; right: -5px; background: red; color: white; font-size: 10px; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* البحث */
.search-container { background: var(--white); border-radius: 15px; padding: 5px 15px; display: flex; align-items: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.search-box input { width: 100%; border: none; background: transparent; padding: 10px; outline: none; color: var(--text); }

/* === السلايدر (تم التعديل: صغير، حواف دائرية، حركة سلسة) === */
.slider-container { 
    margin: 15px; 
    border-radius: 15px; 
    overflow: hidden; 
    position: relative; 
    height: 140px; /* الارتفاع الصغير المطلوب */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    direction: ltr; /* مهم جداً للحركة */
}
.slider-wrapper { 
    display: flex; 
    height: 100%; 
    width: 100%; 
    transition: transform 0.5s ease-in-out; 
}
.slider-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    flex-shrink: 0; 
}
.promo-text { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.6); color: #fff; padding: 5px 10px; border-radius: 15px; font-size: 12px; }

/* الفئات */
.section-title { padding: 10px 15px; font-weight: bold; font-size: 16px; margin-top: 10px; }
.categories-scroll { display: flex; overflow-x: auto; padding: 10px 15px; gap: 15px; scrollbar-width: none; }
.cat-box { width: 70px; height: 70px; border-radius: 18px; background: var(--white); display: flex; align-items: center; justify-content: center; border: 1px solid #eeeeee; overflow: hidden; }
.cat-box.active { border-color: var(--primary); }
.cat-img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-size: 10px; text-align: center; display: block; margin-top: 5px; font-weight: 700; }

/* المنتجات */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 0 15px; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.prod-img { width: 100%; height: 140px; object-fit: cover; }
.prod-details { padding: 10px; }

.prod-title {
    font-size: 12px; font-weight: bold; margin-bottom: 5px;
    white-space: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: unset;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    height: unset;
}

.price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; }
.price { color: var(--primary); font-weight: 700; font-size: 13px; }
.add-cart-btn { background: var(--primary); color: white; border: none; width: 24px; height: 24px; border-radius: 6px; cursor: pointer; }
.discount-badge { position: absolute; top: 10px; right: 10px; background: #e74c3c; color: white; padding: 2px 6px; border-radius: 4px; font-size: 10px; }
.wishlist-btn { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,0.8); width: 25px; height: 25px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ccc; }

/* السلة والدفع والمدخلات */
.cart-items-container { padding: 15px; padding-bottom: 140px; }
.cart-item { display: flex; background: var(--white); padding: 10px; border-radius: 12px; margin-bottom: 10px; box-shadow: var(--shadow); align-items: center; }
.cart-item img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; margin-left: 10px; }
.cart-info { flex-grow: 1; }
.delete-btn { color: #e74c3c; background: none; border: none; padding: 10px; cursor: pointer; }
.cart-footer { position: fixed; bottom: 0; width: 100%; background: var(--white); padding: 20px; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); border-top-left-radius: 20px; border-top-right-radius: 20px; z-index: 800; }
.checkout-btn { width: 100%; background: var(--primary); color: white; border: none; padding: 12px; border-radius: 12px; font-weight: bold; font-size: 16px; cursor: pointer; }
.checkout-input { width: 100%; padding: 12px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 10px; outline: none; }

/* البروفايل وخدمة العملاء */
.profile-content { padding: 20px; text-align: center; }
.profile-card { background: var(--white); padding: 20px; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.profile-img { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 10px; }
.menu-item { display: flex; align-items: center; background: var(--white); padding: 15px; border-radius: 15px; margin-bottom: 10px; cursor: pointer; box-shadow: var(--shadow); }
.menu-item .icon-box { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-left: 15px; }

/* القوائم الجانبية والسفلية */
.sidebar { position: fixed; top: 0; right: -280px; width: 280px; height: 100%; background: var(--white); z-index: 2000; transition: 0.3s; padding: 20px; box-shadow: -5px 0 15px rgba(0,0,0,0.1); }
.sidebar.active { right: 0; }
.sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; display: none; }
.sidebar-overlay.active { display: block; }
.sidebar-header { display: flex; justify-content: space-between; margin-bottom: 20px; }
.sidebar-links { list-style: none; }
.sidebar-links li { margin-bottom: 15px; }
.sidebar-links a { text-decoration: none; color: #333; display: flex; align-items: center; gap: 10px; }

.bottom-nav { position: fixed; bottom: 0; width: 100%; background: var(--white); display: flex; justify-content: space-around; padding: 12px 0; box-shadow: 0 -5px 20px rgba(0,0,0,0.05); z-index: 900; }
.nav-item { text-align: center; color: #aaa; font-size: 10px; cursor: pointer; }
.nav-item.active { color: var(--primary); }
.nav-item i { font-size: 20px; display: block; margin-bottom: 4px; }

/* تفاصيل المنتج */
.product-header { padding: 15px; display: flex; justify-content: space-between; align-items: center; background: var(--white); }
.back-btn { background: none; border: none; font-size: 18px; cursor: pointer; }
.large-image-container { height: 300px; display: flex; align-items: center; justify-content: center; background: #fff; }
.large-image-container img { max-height: 100%; max-width: 100%; }
.detail-content { padding: 20px; background: var(--white); border-top-left-radius: 30px; border-top-right-radius: 30px; margin-top: -20px; position: relative; min-height: unset; }
.detail-desc { margin-top: 20px; line-height: 1.6; color: #666; font-size: 14px; white-space: pre-line; }
.add-to-cart-full { width: 100%; background: var(--primary); color: white; border: none; padding: 15px; border-radius: 15px; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }
.detail-footer { position: fixed; bottom: 0; width: 100%; padding: 15px; background: var(--white); box-shadow: 0 -5px 10px rgba(0,0,0,0.05); }

/* شاشة تسجيل الدخول */
.login-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; }
.google-btn { background: white; border: 1px solid #ddd; padding: 10px 20px; border-radius: 25px; margin-top: 20px; font-weight: bold; }
.skip-btn { background: none; border: none; margin-top: 10px; color: #999; text-decoration: underline; }

/* Toast */
#toast-notification { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: #333; color: white; padding: 10px 20px; border-radius: 20px; font-size: 12px; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 2000; }
.show-toast { opacity: 1 !important; top: 60px !important; }
.cat-name {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    line-height: 1.3;
    margin-top: 4px;
    display: block;
    text-align: center;
    color: #555;
}


/* ================================================================
   THEME SYSTEM - 4 دیزاینی جیاواز
   ================================================================ */

/* ========== THEME 1: Classic Orange (پێش-دیاریکراو) ========== */
[data-theme="classic"], :root {
    --primary-color: #ff9900;
    --primary:       var(--primary-color);
    --primary-dark:  #e08800;
    --primary-light: #fff3e0;
    --dark:          #1a1a1a;
    --light:         #fffbf5;
    --white:         #ffffff;
    --grey:          #f4f4f4;
    --text:          #333333;
    --text-light:    #777777;
    --card-bg:       #ffffff;
    --nav-bg:        #ffffff;
    --header-bg:     var(--primary-color);
    --header-text:   #ffffff;
    --border:        #eeeeee;
    --radius:        16px;
    --shadow:        0 4px 15px rgba(0,0,0,0.08);
    --shadow-card:   0 2px 10px rgba(255,153,0,0.12);
    --splash-bg:     var(--primary-color);
    --search-bg:     rgba(255,255,255,0.25);
    --icon-btn-bg:   rgba(255,255,255,0.95);
    --icon-btn-color:var(--primary-color);
    --cat-box-bg:    #ffffff;
    --badge-radius:  8px;
    --nav-indicator: 2px solid var(--primary-color);
}

/* ========== THEME 2: Dark Night (تاریک - پرۆفێشناڵ) ========== */
[data-theme="dark"] {
    --primary:       #f59e0b;
    --primary-dark:  #d97706;
    --primary-light: #1a1200;
    --dark:          #0a0a0a;
    --light:         #111111;
    --white:         #1e1e1e;
    --grey:          #2a2a2a;
    --text:          #e8e8e8;
    --text-light:    #999999;
    --card-bg:       #1e1e1e;
    --nav-bg:        #161616;
    --header-bg:     #0d0d0d;
    --header-text:   #f59e0b;
    --border:        #2e2e2e;
    --radius:        16px;
    --shadow:        0 4px 20px rgba(0,0,0,0.5);
    --shadow-card:   0 2px 12px rgba(0,0,0,0.4);
    --splash-bg:     #0d0d0d;
    --search-bg:     rgba(255,255,255,0.07);
    --icon-btn-bg:   rgba(245,158,11,0.15);
    --icon-btn-color:#f59e0b;
    --cat-box-bg:    #2a2a2a;
    --badge-radius:  8px;
    --nav-indicator: 2px solid #f59e0b;
}

/* ========== THEME 3: Nature Green (سەوز - ئارامبەخش) ========== */
[data-theme="nature"] {
    --primary:       #16a34a;
    --primary-dark:  #15803d;
    --primary-light: #f0fdf4;
    --dark:          #14532d;
    --light:         #f0fdf4;
    --white:         #ffffff;
    --grey:          #f1f5f2;
    --text:          #1c3b28;
    --text-light:    #5a7a65;
    --card-bg:       #ffffff;
    --nav-bg:        #ffffff;
    --header-bg:     linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    --header-bg-solid: #16a34a;
    --header-text:   #ffffff;
    --border:        #dcfce7;
    --radius:        20px;
    --shadow:        0 4px 15px rgba(22,163,74,0.10);
    --shadow-card:   0 2px 12px rgba(22,163,74,0.12);
    --splash-bg:     #16a34a;
    --search-bg:     rgba(255,255,255,0.3);
    --icon-btn-bg:   rgba(255,255,255,0.95);
    --icon-btn-color:#16a34a;
    --cat-box-bg:    #f0fdf4;
    --badge-radius:  12px;
    --nav-indicator: 2px solid #16a34a;
}

/* ========== THEME 4: Royal Purple (مۆڤ - لوکس) ========== */
[data-theme="royal"] {
    --primary:       #7c3aed;
    --primary-dark:  #6d28d9;
    --primary-light: #f5f3ff;
    --dark:          #1e1b4b;
    --light:         #faf9ff;
    --white:         #ffffff;
    --grey:          #f3f2ff;
    --text:          #1e1b4b;
    --text-light:    #6b6a8a;
    --card-bg:       #ffffff;
    --nav-bg:        #ffffff;
    --header-bg:     linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    --header-bg-solid: #7c3aed;
    --header-text:   #ffffff;
    --border:        #ede9fe;
    --radius:        18px;
    --shadow:        0 4px 15px rgba(124,58,237,0.10);
    --shadow-card:   0 2px 12px rgba(124,58,237,0.12);
    --splash-bg:     #7c3aed;
    --search-bg:     rgba(255,255,255,0.25);
    --icon-btn-bg:   rgba(255,255,255,0.95);
    --icon-btn-color:#7c3aed;
    --cat-box-bg:    #f5f3ff;
    --badge-radius:  10px;
    --nav-indicator: 2px solid #7c3aed;
}

/* ================================================================
   ئەرکی هەر تێمایەک لەسەر عونسرەکان
   ================================================================ */

body {
    background: var(--light) !important;
    color: var(--text) !important;
    transition: background 0.4s ease, color 0.4s ease;
}

/* هێدەر */
.sticky-header {
    background: var(--header-bg) !important;
    background: var(--header-bg-solid, var(--header-bg)) !important;
    transition: background 0.4s ease;
}

[data-theme="nature"] .sticky-header,
[data-theme="royal"] .sticky-header {
    background: var(--header-bg-solid) !important;
}

.animated-store-name { color: #1a1a1a !important; }
.animated-store-name span { color: #ffffff !important; opacity: 1; }
.store-text { color: #ffffff !important; }

/* دوگمەکانی هێدەر */
.icon-btn {
    background: #ffffff !important;
    color: #3a3a3a !important;
    transition: all 0.3s ease;
}

[data-theme="dark"] .icon-btn {
    border: 1px solid rgba(245,158,11,0.2);
    background: rgba(245,158,11,0.15) !important;
    color: #f59e0b !important;
}

/* سێرچ */
.search-container {
    background: #ffffff !important;
    border: none !important;
    backdrop-filter: none !important;
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.search-box input {
    background: transparent !important;
    color: #333333 !important;
}
.search-box input::placeholder { color: #aaaaaa !important; }
.search-box i { color: #999999 !important; }

/* سپڵاش */
#splash-screen {
    background: var(--splash-bg) !important;
    transition: background 0.4s;
}

/* کارتی کاڵا */
.product-card {
    background: var(--card-bg) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-card) !important;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

[data-theme="dark"] .product-card {
    border-color: #2e2e2e;
}

.prod-title { color: var(--text) !important; }
.price { color: var(--primary) !important; }
.add-cart-btn {
    background: var(--primary) !important;
    border-radius: var(--badge-radius) !important;
    transition: all 0.3s ease;
}

/* بەشەکان */
.cat-box {
    background: var(--cat-box-bg) !important;
    border-color: var(--border) !important;
    border-radius: var(--radius) !important;
    transition: all 0.3s ease;
}
.cat-box.active { border-color: var(--primary) !important; box-shadow: 0 0 0 1px var(--primary); }
.cat-name { color: var(--text) !important; }

/* ===== بازنەیی - دڵنیابوون لەوەی override نەبێت ===== */
.cat-box-circle {
    border-radius: 50% !important;
    width: 68px !important;
    height: 68px !important;
    overflow: hidden !important;
    border: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--cat-box-bg, #fff) !important;
    border-color: var(--border, #eee) !important;
}
.cat-box-circle.active {
    border-color: var(--primary, #ff9900) !important;
    box-shadow: 0 0 0 1px var(--primary, #ff9900) !important;
}
.cat-box-circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}
.cat-circle-style {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    min-width: 75px !important;
    flex-shrink: 0 !important;
}
.cat-circle-style .cat-name {
    font-size: 11px !important;
    text-align: center !important;
    max-width: 72px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

/* ناڤی خوارەوە */
.bottom-nav {
    background: var(--nav-bg) !important;
    border-top: 1px solid var(--border);
    transition: all 0.4s ease;
}
.nav-item { color: #bbbbbb !important; font-weight: 400 !important; }
.nav-item.active { color: var(--primary) !important; }

/* section titles */
.section-title { color: var(--text) !important; }

/* صفحات */
.page { background: var(--light) !important; }

/* سەبەتە و checkout */
.cart-item {
    background: var(--card-bg) !important;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card) !important;
}
.cart-footer {
    background: var(--nav-bg) !important;
    border-top: 1px solid var(--border);
}
.checkout-btn {
    background: var(--primary) !important;
    border-radius: var(--radius) !important;
}
.checkout-input {
    background: var(--card-bg) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

/* هێدەری پەیجی کاڵا */
.product-header {
    background: var(--card-bg) !important;
    border-bottom: 1px solid var(--border);
}
.back-btn { color: var(--text) !important; }
.header-title { color: var(--text) !important; }

/* detail page */
.detail-content {
    background: var(--card-bg) !important;
    color: var(--text) !important;
}
.detail-desc { color: var(--text-light) !important; }
.detail-footer {
    background: var(--nav-bg) !important;
    border-top: 1px solid var(--border);
}
.add-to-cart-full {
    background: var(--primary) !important;
    border-radius: var(--radius) !important;
}
.large-image-container { background: var(--card-bg) !important; }

/* دەربارە */
.about-section {
    background: var(--card-bg) !important;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* هەموو بەشەکان */
.cat-card-full {
    background: var(--card-bg) !important;
    border-radius: var(--radius) !important;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.cat-card-full span { color: var(--text) !important; }

/* Dark theme text overrides */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: #2a2a2a !important;
    color: #e8e8e8 !important;
    border-color: #3a3a3a !important;
}
[data-theme="dark"] .checkout-input {
    background: #2a2a2a !important;
    color: #e8e8e8 !important;
}
[data-theme="dark"] .back-btn,
[data-theme="dark"] .header-title { color: #e8e8e8 !important; }
[data-theme="dark"] select option { background: #2a2a2a; color: #e8e8e8; }

/* ================================================================
   ئانیمیشنی گۆڕانی تێما
   ================================================================ */
*, *::before, *::after {
    transition: background-color 0.35s ease, border-color 0.3s ease, color 0.25s ease !important;
}
/* بەڵام ئانیمیشنەکانی پێویست ڕادەگرین */
.loader { transition: none !important; }
.slider-wrapper { transition: transform 0.5s ease-in-out !important; }
.page { transition: none !important; }
.show-toast { transition: opacity 0.3s !important; }

/* ================================================================
   ===== چاککردنی بەشی کۆدی داشکاندن (promo-container) =====
   ================================================================ */
.promo-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    border: 1.5px dashed #ff9900 !important;
    border-radius: 12px !important;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
    background: var(--card-bg, #fff) !important;
    overflow: hidden !important;
}

.promo-input {
    flex: 1 !important;
    min-width: 0 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    text-align: right !important;
    font-size: 14px !important;
    padding: 8px 4px !important;
    font-family: 'NRT-Reg', sans-serif !important;
    color: var(--text, #333) !important;
}

.promo-apply-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    background: #00b050 !important;
    color: #fff !important;
    border: none !important;
    font-size: 13px !important;
    font-family: 'NRT-Reg', sans-serif !important;
    cursor: pointer !important;
}

[data-theme="dark"] .promo-container {
    border-color: #f59e0b !important;
    background: #2a2a2a !important;
}

[data-theme="dark"] .promo-input {
    color: #e8e8e8 !important;
}

/* ============================================
   SKELETON LOADING - ژیمەری خاڵی پێش بارکردن
   ============================================ */

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 8px;
}

[data-theme="dark"] .skeleton {
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

/* Skeleton: بانەر */
.skeleton-banner {
    width: 100%;
    height: 140px;
    border-radius: 15px;
    margin: 0;
    flex-shrink: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

[data-theme="dark"] .skeleton-banner {
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

/* Skeleton: بەشەکان (categories) */
.skeleton-category-scroll {
    display: flex;
    gap: 12px;
    padding: 10px 15px;
    overflow: hidden;
}

.skeleton-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.skeleton-cat-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.skeleton-cat-text {
    width: 45px;
    height: 10px;
    border-radius: 5px;
}

/* Skeleton: کاڵاکانی ئاسۆیی (horizontal) */
.skeleton-horizontal-scroll {
    display: flex;
    gap: 12px;
    padding: 10px 15px;
    overflow: hidden;
}

.skeleton-product-card-h {
    flex-shrink: 0;
    width: 155px;
    height: 235px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    gap: 0;
}

.skeleton-product-img-h {
    width: 100%;
    height: 125px;
    border-radius: 0;
}

.skeleton-product-title-h {
    margin: 8px 8px 4px;
    height: 12px;
    border-radius: 5px;
}

.skeleton-product-title2-h {
    margin: 0 8px 4px;
    height: 12px;
    width: 70%;
    border-radius: 5px;
}

.skeleton-product-price-h {
    margin: auto 8px 8px;
    height: 14px;
    width: 55%;
    border-radius: 5px;
}

/* Skeleton: کاڵاکانی گرید (grid) */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 15px;
}

.skeleton-product-card-g {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.skeleton-product-img-g {
    width: 100%;
    height: 140px;
}

.skeleton-product-title-g {
    margin: 8px 10px 4px;
    height: 13px;
    border-radius: 5px;
}

.skeleton-product-title2-g {
    margin: 0 10px 6px;
    height: 13px;
    width: 65%;
    border-radius: 5px;
}

.skeleton-product-price-g {
    margin: 0 10px 12px;
    height: 15px;
    width: 50%;
    border-radius: 5px;
}

