/* Custom Styling for Bazar-e-Mustafa Luxury GCC */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Noto+Naskh+Arabic:wght@400;600;700&family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --primary-green: #064e3b;
    --primary-gold: #d97706;
}

body {
    font-family: 'Outfit', 'Cairo', sans-serif;
    scroll-behavior: smooth;
}

/* RTL Specific Styles */
[dir="rtl"] {
    text-align: right;
}

[dir="ltr"] {
    text-align: left;
}

/* Category Navigation Scrollbar Hiding */
.no-scrollbar {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.no-scrollbar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Global scrollbar customization (vertical page only) */
::-webkit-scrollbar {
    width: 6px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Category Buttons Styling */
.category-btn {
    position: relative;
    padding: 6px 14px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 13px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    items-center: center;
    gap: 6px;
}

.category-btn:hover {
    color: #fbbf24;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-1px);
}

.category-btn.active {
    color: #022c22 !important;
    background: #fbbf24 !important;
    border-color: #fbbf24 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.35);
}

/* Product Card Animations */
.product-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(6, 78, 59, 0.12), 0 8px 10px -6px rgba(6, 78, 59, 0.08);
}

/* Line clamp helpers */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
