:root {
    --primary: #4361ee;
	--primary-light: #5a74ff;
    --secondary: #f72585;
    --accent: #4cc9f0;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #4cc9f0;
    --border-radius: 8px;
  --bg-light: #f9faff;
  --text-dark: #2b2d42;
  --text-light: #8d99ae;	
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
     
}



/* Global Styles */
* {
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #f0f0f9;
    color: var(--dark);
}

/* ===== DESKTOP NAVBAR ===== */
.main-navbar {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
    text-decoration: none;
}

.nav-link {
    font-weight: 600;
    color: var(--dark);
    margin: 0 8px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Desktop Menu */
.desktop-menu {
    margin-left: auto;
}

.desktop-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Desktop Search Form */
.desktop-search {
    margin: 0 20px;
    width: 100%;
}

.search-container {
    width: 100%;
    position: relative;
}

.search-input {
    border-radius: 25px;
    padding: 10px 20px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
    outline: none;
}

/* ===== MOBILE LAYOUT ===== */

/* Mobile Icons */
.mobile-icons {
    margin-right: auto;
    gap: 15px;
    align-items: center;
    display: none;
}

.mobile-cart {
    position: relative;
    padding: 8px !important;
    color: var(--dark);
    text-decoration: none;
}

.cart-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  
}
.navbar a:hover {
  color: var(--primary);
}

/* Mobile Search Navbar */
.mobile-search-navbar {
    background: #f8f9fa;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    padding: 12px 0;
    display: none;
}

.mobile-search-form .input-group {
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    overflow: hidden;
    background: white;
}

.mobile-search-input {
    border: none;
    padding: 12px 15px;
    background: transparent;
    width: 100%;
}

.mobile-search-input:focus {
    box-shadow: none;
    border: none;
    background: transparent;
    outline: none;
}

.mobile-search-navbar .search-btn {
    border: none;
    border-right: 1px solid var(--light-gray);
    border-radius: 0;
    padding: 12px 20px;
    background: transparent;
    color: var(--primary);
    transition: background-color 0.3s;
}

.mobile-search-navbar .search-btn:hover {
    background: var(--light);
}

/* ===== AUTOCOMPLETE STYLES ===== */

/* Desktop Autocomplete */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
}

.autocomplete-body {
    padding: 8px 0;
}

.autocomplete-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none !important;
    color: inherit !important;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background-color: var(--light);
    text-decoration: none !important;
    color: inherit !important;
    transform: translateX(-5px);
    border-right: 3px solid var(--primary);
}

.autocomplete-item .product-name {
    font-weight: 600;
    color: var(--dark);
    flex: 1;
    font-size: 0.95rem;
}

.autocomplete-item .product-type {
    font-size: 0.8rem;
    color: var(--gray);
    background: var(--light-gray);
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 10px;
}

.product-link-arrow {
    color: var(--primary);
    font-size: 0.8rem;
    margin-right: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.autocomplete-item:hover .product-link-arrow {
    opacity: 1;
}

.autocomplete-item.no-results {
    color: var(--gray);
    text-align: center;
    cursor: default;
    padding: 20px;
}

.autocomplete-item.no-results:hover {
    background-color: transparent;
    transform: none;
    border-right: none;
}

/* Mobile Autocomplete */
.mobile-autocomplete-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 160px;
}

.mobile-autocomplete-body {
    background: white;
    width: 90%;
    max-width: 500px;
    max-height: 70vh;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    padding: 10px 0;
}

.mobile-autocomplete-item {
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none !important;
    color: inherit !important;
}

.mobile-autocomplete-item:last-child {
    border-bottom: none;
}

.mobile-autocomplete-item:hover,
.mobile-autocomplete-item:active {
    background-color: var(--light);
    text-decoration: none !important;
    color: inherit !important;
}

.mobile-autocomplete-item .product-name {
    font-weight: 600;
    color: var(--dark);
    flex: 1;
    font-size: 1rem;
}

.mobile-autocomplete-item .product-type {
    font-size: 0.8rem;
    color: var(--gray);
    background: var(--light-gray);
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 10px;
}

.mobile-autocomplete-item .product-link-arrow {
    color: var(--primary);
    font-size: 0.9rem;
    margin-right: 10px;
}

.mobile-autocomplete-item.no-results {
    color: var(--gray);
    text-align: center;
    cursor: default;
    padding: 20px;
}

.mobile-autocomplete-item.no-results:hover {
    background-color: transparent;
}

/* ===== EXISTING STYLES ===== */

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 15px 0;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

/* Page Header */
.page-header {
    background-color: white;
    padding: 20px 0;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.page-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--gray);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
background: linear-gradient(135deg, #3a0ca3, #4361ee, #4cc9f0);
    color: white;
    padding: 8px 0;
    margin-bottom: 20px;
    border-radius: 0 0 20px 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Category Section */
.category-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.category-title {
    font-weight: 700;
    margin-bottom: 10px;
}

/* Hot Products Section */
.hot-products-section {
    background-color: white;
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.product {
    margin-bottom: 10px;
}
/* Product Card */
.product-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 10px;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 200px;
   background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.view-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--light);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 10px;
}

.product-title {
    font-weight: 700;
    margin-bottom: 10px;
    height: 38px;
    overflow: hidden;
    color: var(--primary);
    text-align: center;
}

.product-brand {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-price {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.9rem;
    margin-left: 10px;
}

/* Payment Options */
.payment-options {
    background-color: var(--light-gray);
    padding: 10px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.payment-option {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.payment-option:last-child {
    margin-bottom: 0;
}

.payment-label {
    color: var(--gray);
}

.payment-value {
    font-weight: 600;
    color: var(--primary);
}

/* Buttons */
.btn-add-to-cart {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    transition: background-color 0.3s;
    width: 100%;
}

.btn-add-to-cart:hover {
    background-color: var(--secondary);
}

/* Offers Section */
.offers-section {
    background: linear-gradient(135deg, #3a0ca3, #4361ee, #4cc9f0);

    padding: 60px 0;
    margin: 40px 0;
    border-radius: 20px;
    color: white;
}

.offer-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    height: 100%;
}

.offer-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.offer-description {
    margin-bottom: 20px;
}

/* Filter Section */
.filter-section {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 30px;
    position: sticky;
    top: 20px;
}

.filter-title {
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
    color: var(--primary);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.form-check-label {
    margin-right: 8px;
    cursor: pointer;
}

.price-range-display {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-weight: 600;
}

.price-range-value {
    color: var(--primary);
}

/* Individual Filter Group Collapsible */
.filter-group-collapsible {
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.filter-group-collapsible:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.1);
}

.filter-group-header {
    background: var(--light);
    padding: 7px 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.filter-group-header:hover {
    background: #f1f3ff;
}

.filter-group-header[aria-expanded="true"] {
    background: #f1f3ff;
    border-bottom-color: var(--light-gray);
}

.filter-group-header[aria-expanded="true"] .filter-group-toggle i {
    transform: rotate(180deg);
}

.filter-group-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    margin: 0;
}

.filter-group-toggle {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.filter-group-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.filter-group-content {
    padding: 4px 12px;
    background: white;
}

/* Enhanced Form Controls */
.filter-group-content .input-group {
    margin-bottom: 0;
}

.filter-group-content .form-check {
    margin-bottom: 5px;
    padding: 5px 0;
}

.filter-group-content .form-check-input {
    margin-left: 8px;
}

.filter-group-content .form-check-label {
    cursor: pointer;
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    border-top: 1px solid var(--light-gray);
    padding-top: 15px;
}

#apply-filters {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#apply-filters:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

#reset-filters {
    border: 2px solid var(--light-gray);
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#reset-filters:hover {
    border-color: var(--gray);
    background-color: var(--light-gray);
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 40px;
}

.page-link {
    color: var(--primary);
    border: 1px solid var(--light-gray);
    margin: 0 3px;
    border-radius: var(--border-radius);
}

.page-link:hover {
    background-color: var(--light-gray);
    color: var(--primary);
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-left: 10px;
    color: white;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
}

/* jQuery UI Slider */
.ui-slider {
    background: var(--light-gray);
    border: none;
    height: 6px;
    border-radius: 3px;
}

.ui-slider-range {
    background: var(--primary);
    border-radius: 3px;
}

.ui-slider-handle {
    background: var(--primary);
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    top: -6px;
    cursor: pointer;
}

/* Payment Lists */
.list-payment,
.list-paymentB {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}

.list-payment .payment-month,
.list-paymentB .payment-month {
    font-size: 0.85rem;
    margin: 2px 0;
    padding: 4px 8px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-payment .payment-month label,
.list-paymentB .payment-month label {
    margin: 0;
    font-weight: normal;
}

.list-payment .payment-month span.value,
.list-paymentB .payment-month span.value {
    font-weight: bold;
}

/* Modal */
.modal-header {
    background: var(--primary);
    color: #FFF;
}

/* Hot Offer */
.hot-offer {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 991.98px) {
    /* Hide desktop elements on mobile */
    .desktop-search,
    .desktop-menu {
        display: none !important;
    }
    
    /* Show mobile elements */
    .mobile-icons {
        display: flex;
    }
    
    .mobile-search-navbar {
        display: block;
    }
    
    /* Mobile navbar adjustments */
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        margin-top: 10px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 8px 0;
    }
}

@media (min-width: 992px) {
    /* Hide mobile elements on desktop */
    .mobile-icons,
    .mobile-search-navbar {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .category-card,
    .product-card,
    .filter-section {
        margin-bottom: 20px;
    }
    
    .filter-section {
        position: static;
    }
    
    .filter-group-header {
        padding: 10px;
    }
    
    .filter-group-content {
        padding: 10px;
    }
    
    .filter-group-title {
        font-size: 0.9rem;
    }
    
    #apply-filters,
    #reset-filters {
        padding: 14px;
        font-size: 0.9rem;
    }
    
    .hot-products-section {
        padding: 40px 0;
        margin: 20px 0;
    }
}

/* Compact version for many filters */
.filter-group-collapsible.compact .filter-group-header {
    padding: 10px 12px;
}

.filter-group-collapsible.compact .filter-group-content {
    padding: 12px;
}

.filter-group-collapsible.compact .filter-group-title {
    font-size: 0.9rem;
}

/* Navbar Toggler Customization */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
}

/* Ensure proper display classes 
.d-none {
    display: none !important;
}
*/
.d-flex {
    display: flex !important;
}

.d-lg-none {
    display: none !important;
}

@media (max-width: 991.98px) {
    .d-lg-none {
        display: block !important;
    }
    
    .d-lg-flex {
        display: none !important;
    }
}





/* Customer Info Modal Styling */
#customerInfoModal .modal-header {
    border-bottom: 2px solid var(--primary);
}

#customerInfoModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#customerInfoModal .form-label {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

#customerInfoModal .form-control,
#customerInfoModal .form-select {
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

#customerInfoModal .form-control:focus,
#customerInfoModal .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.15);
}

#customerInfoModal .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

#customerInfoModal .delivery-options {
    background: var(--light);
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-gray);
}

#customerInfoModal .order-summary {
    font-size: 0.95rem;
}

#customerInfoModal .btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#customerInfoModal .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-success-modal {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #customerInfoModal .modal-dialog {
        margin: 10px;
    } 
    
    #customerInfoModal .delivery-options {
        text-align: center;
    }
    
    #customerInfoModal .form-check-inline {
        display: block;
        margin-bottom: 10px;
    } 
} 
.filter-section {
    
  max-height: 80vh;
  overflow-y: auto;
  z-index: 10;
} 
.close-btn-modal {
    margin-left: 0 !important;
    margin-right: auto !important;
}


 .demo-container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .demo-title {
            color: var(--primary);
            margin-bottom: 30px;
            font-weight: 700;
            text-align: center;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        
        .product-card {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }
        
        .product-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .product-info {
            padding: 15px;
        }
        
        .product-name {
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--text-dark);
        }
        
        .product-price {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        
        .cash-price {
            color: var(--success);
            font-weight: 700;
        }
        
        .installment-price {
            color: var(--secondary);
            font-weight: 700;
        }
        
        .btn-view {
            background: var(--primary);
            color: white;
            border: none;
            border-radius: var(--border-radius);
            padding: 8px 15px;
            width: 100%;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-view:hover {
            background: var(--primary-light);
        }
        
        
        
        
        
        .product-image {
            margin-bottom: 20px;
            text-align: center;
        }
        
        .product-modal-img {
            max-width: 100%;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        
        .specs-list {
            list-style: none;
            padding: 0;
            margin-bottom: 25px;
        }
        
        .specs-list li {
            padding: 10px 0;
            border-bottom: 1px dashed var(--light-gray);
            display: flex;
            justify-content: space-between;
        }
        
        .specs-list li:last-child {
            border-bottom: none;
        }
        
        .spec-label {
            font-weight: 600;
            color: var(--text-dark);
        }
        
        .spec-value {
            color: var(--text-light);
        }
        
        .pricing-card {
            background: var(--light);
            border-radius: var(--border-radius);
            padding: 20px;
            margin-bottom: 20px;
            border-right: 4px solid var(--primary);
        }
        
        .pricing-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 15px;
            text-align: center;
        }
        
        .price-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            padding: 5px 0;
        }
        
        .gift-card {
            background: #fff3cd;
            border-radius: var(--border-radius);
            padding: 15px;
            margin-bottom: 20px;
            border-right: 4px solid var(--accent);
        }
        
        .gift-title {
            font-weight: 700;
            color: #856404;
            text-align: center;
            margin-bottom: 10px;
        }
        
        .installment-plan {
            background: #e7f3ff;
            border-radius: var(--border-radius);
            padding: 20px;
            margin-bottom: 20px;
        }
        
        .plan-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary);
            text-align: center;
            margin-bottom: 15px;
        }
        
        .warning-text {
            color: var(--primary);
            font-size: 0.9rem;
            text-align: center;
            margin-top: 10px;
            font-weight: 600;
        }
        
        .payment-list {
            background: white;
            border-radius: var(--border-radius);
            padding: 15px;
            margin-top: 20px;
            max-height: 300px;
            overflow-y: auto;
        }
        
        .payment-item {
            display: flex !important;
            justify-content: space-between !important;
            padding: 8px 0 !important;
            border-bottom: 1px solid var(--light-gray) !important;
        }
        
        .payment-item:last-child {
            border-bottom: none !important;
        }
        
        
        
        .btn-primary-custom {
            background: linear-gradient(to right, var(--primary), var(--primary-light));
            border: none;
            border-radius: var(--border-radius);
            padding: 10px 20px;
            font-weight: 600;
            color: white;
        }
        
        .btn-outline-primary {
            border-color: var(--primary);
            color: var(--primary);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary);
            color: white;
        }
        
        @media (max-width: 768px) {
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            .modal-footer {
                flex-direction: column;
                gap: 10px;
            }
            
            .modal-footer .btn {
                width: 100%;
            }
        }