/* ========================================
   SMARTDEALRADAR - COMPLETE CSS
   ======================================== */

:root {
    --primary: #8B5CF6;
    --primary-dark: #6D28D9;
    --primary-light: #A78BFA;
    --white: #ffffff;
    --dark: #1a1a2e;
    --gray: #6b7280;
}

* {
    font-family: 'Poppins', sans-serif;
}

body {
    background: #FAF5FF;
    color: var(--dark);
}

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(135deg, #A78BFA, #7C3AED);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* --- LOGO --- */
.header-logo {
    flex-shrink: 0;
}
.header-logo a {
    display: block;
}
.header-logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* --- SEARCH BAR --- */
.header-search {
    flex: 1;
    max-width: 480px;
    margin: 0 15px;
}
.header-search form {
    display: flex;
    position: relative;
    width: 100%;
}
.header-search input {
    width: 100%;
    padding: 10px 45px 10px 20px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
}
.header-search input::placeholder {
    color: rgba(255,255,255,0.7);
}
.header-search input:focus {
    background: rgba(255,255,255,0.25);
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
}
.header-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    padding: 8px 15px;
    cursor: pointer;
}
.header-search button:hover {
    color: #fff;
}

/* --- BUTTONS --- */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-business {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-business:hover {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
    text-decoration: none;
}

.btn-login {
    background: #fff;
    border: 2px solid #fff;
    color: var(--primary-dark);
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.btn-login:hover {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    text-decoration: none;
}

/* --- MOBILE TOGGLE --- */
.mobile-toggle {
    display: none;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 1.3rem;
    cursor: pointer;
}

/* ===== CATEGORY BAR ===== */
.category-bar {
    background: rgba(139, 92, 246, 0.08);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding: 10px 0;
}
.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
    justify-content: center;
}
.category-links a {
    color: #5B21B6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}
.category-links a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ===== MOBILE MENU ===== */
#mobileMenu {
    padding: 15px 0 10px;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 12px;
}
.mobile-search {
    margin-bottom: 12px;
}
.mobile-search form {
    display: flex;
    position: relative;
}
.mobile-search input {
    width: 100%;
    padding: 10px 45px 10px 18px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    outline: none;
}
.mobile-search input::placeholder {
    color: rgba(255,255,255,0.6);
}
.mobile-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
}
.mobile-buttons {
    display: flex;
    gap: 10px;
}
.btn-business-mobile,
.btn-login-mobile {
    flex: 1;
    padding: 10px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}
.btn-business-mobile {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-business-mobile:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}
.btn-login-mobile {
    background: #fff;
    color: var(--primary-dark);
}
.btn-login-mobile:hover {
    background: rgba(255,255,255,0.9);
    color: var(--primary-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .header-search {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .header-search {
        display: none;
    }
    .header-buttons {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .header-logo img {
        height: 45px;
    }
}

@media (min-width: 769px) {
    #mobileMenu {
        display: none !important;
    }
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    background: #fff;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(139, 92, 246, 0.15);
}
.product-card img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}
.product-card .card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-card .product-title {
    font-size: 1rem;
    font-weight: 600;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .product-title a {
    color: #1a1a2e;
    text-decoration: none;
}
.product-card .product-title a:hover {
    color: var(--primary);
}
.product-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.product-card .discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.product-card .btn-shop {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: auto;
}
.product-card .btn-shop:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

/* ===== BANNER SLIDER ===== */
.banner-slider .carousel-item img {
    height: 420px;
    object-fit: cover;
    border-radius: 25px;
}
@media (max-width: 768px) {
    .banner-slider .carousel-item img {
        height: 200px;
    }
}

/* ===== SECTION TITLE ===== */
.section-title {
    position: relative;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 30px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    border-radius: 2px;
}
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== FOOTER ===== */
.footer-custom {
    background: #1a1a2e;
    color: #ddd;
    padding: 50px 0 30px;
}
.footer-custom a {
    color: #aaa;
    text-decoration: none;
}
.footer-custom a:hover {
    color: var(--primary-light);
}
.footer-custom .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    margin-right: 8px;
    transition: all 0.3s;
}
.footer-custom .social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 25px;
}
@media (max-width: 768px) {
    .product-detail-image img {
        height: 250px;
    }
}

.btn-shop-now {
    padding: 15px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    color: #fff;
    transition: all 0.3s;
}
.btn-shop-now:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    color: #fff;
}

.nav-tabs-custom .nav-link {
    border: none;
    color: #666;
    font-weight: 600;
    padding: 12px 25px;
    border-bottom: 3px solid transparent;
}
.nav-tabs-custom .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}

/* ===== BLOGS ===== */
.blog-card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.blog-card:hover {
    transform: translateY(-5px);
}
.blog-card img {
    height: 200px;
    object-fit: cover;
}

/* ===== REVIEWS ===== */
.review-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}
.review-item:last-child {
    border-bottom: none;
}
.custom-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #8B5CF6;
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
/* Product image zoom */
.product-detail-image {
    overflow: hidden;
    position: relative;
}
.product-detail-image.zoomed .product-zoom-image {
    transform: scale(1.8) !important;
    cursor: zoom-out;
}
.product-detail-image .product-zoom-image {
    transition: transform 0.4s ease;
    cursor: zoom-in;
}
/* Brand hover */
.hover-effect:hover {
    background: #8B5CF6 !important;
    color: #fff !important;
    border-color: #8B5CF6 !important;
}
/* Review filter active */
.filter-star.active {
    background: #8B5CF6;
    color: #fff;
    border-color: #8B5CF6;
}
/* Badge on image - positioned top-left */
.product-badge-on-image {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    transition: opacity 0.3s ease;
}
.product-badge-on-image .badge {
    font-size: 1.1rem !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Remove border-left from buttons */
.btn-outline-primary, .btn-shop-now {
    border-left: none !important;
}

/* YouTube video container */
.ratio-16x9 {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
/* Reviews Toolbar */
.reviews-toolbar {
    background: #f8f4ff;
    padding: 12px 20px;
    border-radius: 50px;
}

/* Review Items */
.review-item {
    transition: all 0.3s ease;
}
.review-item:hover {
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.1) !important;
}

/* Reply Section */
.replies-section {
    border-left: 3px solid #8B5CF6;
}
.reply-item {
    background: #f8f4ff !important;
    border-radius: 12px;
}

/* Dropdown active states */
.dropdown-item.active {
    background: #8B5CF6 !important;
    color: #fff !important;
}
.dropdown-item.active i {
    color: #fff !important;
}

/* Write Review Button */
.btn-primary-custom {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    border: none;
    color: #fff;
    transition: all 0.3s;
}
.btn-primary-custom:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    color: #fff;
}
/* Contact Page Styles */
.contact-info-item {
    transition: all 0.3s ease;
}
.contact-info-item:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(139,92,246,0.3) !important;
}
.icon-circle {
    transition: all 0.3s ease;
}

/* Form focus */
.form-control:focus {
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 0 4px rgba(139,92,246,0.15) !important;
}

/* Social icons hover */
.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139,92,246,0.4);
}
/* =========================================================
   HOMEPAGE - PROFESSIONAL SECTION STYLES
   ========================================================= */

/* ----- Section Headers ----- */
.section-header {
    position: relative;
}
.section-title {
    font-weight: 700;
    color: #5B21B6;
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
}
.section-title i {
    font-size: 1.6rem;
}

/* ----- Border Cards for Sections ----- */
.border-card {
    background: #fff;
    border: 2px solid #f0e6ff;
    border-radius: 24px;
    padding: 30px 25px;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.06);
    transition: all 0.3s ease;
}
.border-card:hover {
    box-shadow: 0 12px 45px rgba(139, 92, 246, 0.1);
}

/* ----- Hot Deals Badge ----- */
.badge-deals {
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: #fff;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
}

/* ----- Blog Cards ----- */
.blog-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f0e6ff;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.1);
}
.blog-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
.blog-card .card-body {
    padding: 20px;
}
.blog-card .card-title {
    color: #1a1a2e;
    font-size: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 52px;
}

/* =========================================================
   BRANDS SLIDER
   ========================================================= */
.brands-slider-wrapper {
    overflow: hidden;
    position: relative;
}
.brands-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    animation: scrollBrands 30s linear infinite;
    width: max-content;
}
.brands-slider:hover {
    animation-play-state: paused;
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-item {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: #faf5ff;
    border-radius: 16px;
    border: 1px solid #f0e6ff;
    transition: all 0.3s ease;
    min-height: 80px;
}
.brand-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.12);
    border-color: #8B5CF6;
}
.brand-item img {
    max-height: 50px;
    max-width: 100px;
    object-fit: contain;
}
.brand-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #8B5CF6;
}
.brand-placeholder i {
    font-size: 1.8rem;
}
.brand-placeholder span {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
}

/* ----- Responsive ----- */
@media (max-width: 1200px) {
    .brand-item {
        flex: 0 0 100px;
        min-height: 70px;
        padding: 12px 8px;
    }
    .brand-item img {
        max-height: 40px;
        max-width: 80px;
    }
}
@media (max-width: 992px) {
    .section-title {
        font-size: 1.5rem;
    }
    .border-card {
        padding: 20px 15px;
    }
    .blog-card img {
        height: 160px;
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 1.3rem;
    }
    .border-card {
        padding: 15px 12px;
        border-radius: 16px;
    }
    .brand-item {
        flex: 0 0 80px;
        min-height: 60px;
        padding: 10px 6px;
    }
    .brand-item img {
        max-height: 32px;
        max-width: 60px;
    }
    .brand-placeholder i {
        font-size: 1.4rem;
    }
    .brand-placeholder span {
        font-size: 0.6rem;
    }
    .blog-card img {
        height: 140px;
    }
}
@media (max-width: 576px) {
    .section-title {
        font-size: 1.1rem;
    }
    .section-title i {
        font-size: 1.1rem;
    }
    .border-card {
        padding: 12px 8px;
        border-radius: 12px;
    }
    .brand-item {
        flex: 0 0 70px;
        min-height: 50px;
        padding: 8px 4px;
    }
    .brand-item img {
        max-height: 28px;
        max-width: 50px;
    }
    .brand-placeholder i {
        font-size: 1.2rem;
    }
    .brand-placeholder span {
        font-size: 0.5rem;
    }
}
/* =========================================================
   HOMEPAGE - COMPARISON BOXES
   ========================================================= */
.comparison-box {
    transition: all 0.3s ease;
}
.comparison-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}
.comparison-box i {
    transition: all 0.3s ease;
}
.comparison-box:hover i {
    transform: scale(1.1);
}

/* =========================================================
   BRANDS GRID
   ========================================================= */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}
.brands-grid .brand-item {
    padding: 12px 8px;
    background: #faf5ff;
    border-radius: 12px;
    border: 1px solid #f0e6ff;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brands-grid .brand-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.12);
    border-color: #8B5CF6;
}
.brands-grid .brand-item img {
    max-height: 40px;
    max-width: 80px;
    object-fit: contain;
}
.brands-grid .brand-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #8B5CF6;
}
.brands-grid .brand-placeholder i {
    font-size: 1.6rem;
}
.brands-grid .brand-placeholder span {
    font-size: 0.65rem;
    font-weight: 600;
    color: #1a1a2e;
}

/* =========================================================
   HOMEPAGE - SECTION TITLES FULL WIDTH
   ========================================================= */
.section-title {
    font-weight: 700;
    color: #5B21B6;
    font-size: 2.2rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
}
@media (max-width: 576px) {
    .section-title {
        font-size: 1.2rem;
    }
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 8px;
    }
    .brands-grid .brand-item {
        padding: 8px 4px;
        min-height: 55px;
    }
    .brands-grid .brand-item img {
        max-height: 30px;
        max-width: 60px;
    }
}/* ===== BRANDS GRID (Bigger Logos) ===== */
.brands-grid .brand-item {
    padding: 18px 12px;   /* more padding */
    min-height: 90px;      /* taller */
}
.brands-grid .brand-item img {
    max-height: 60px;      /* bigger logos */
    max-width: 120px;
    object-fit: contain;
}
.brands-grid .brand-placeholder i {
    font-size: 2.2rem;
}
.brands-grid .brand-placeholder span {
    font-size: 0.75rem;
}

/* ===== PRODUCT CARDS – Bigger Text & Button Area ===== */
.product-card .product-title {
    font-size: 1.05rem;
    min-height: 70px;      /* increased from 50px */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .card-body {
    padding: 20px 15px 15px;
    display: flex;
    flex-direction: column;
}
.product-card .card-body .btn-shop {
    margin-top: auto;
    padding: 10px 20px;
    font-size: 0.95rem;
}
.product-card .price {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.product-card .btn-shop {
    margin-top: 12px;
    padding: 10px 20px;
}
/* ===== BRANDS GRID – Logo Full Box Size ===== */
.brands-grid .brand-item {
    padding: 15px 12px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf5ff;
    border-radius: 16px;
    border: 1px solid #f0e6ff;
    transition: all 0.3s ease;
}
.brands-grid .brand-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.12);
    border-color: #8B5CF6;
}
.brands-grid .brand-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.brands-grid .brand-item img {
    width: 100%;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    padding: 4px;
}
.brands-grid .brand-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #8B5CF6;
}
.brands-grid .brand-placeholder i {
    font-size: 2.5rem;
}
.brands-grid .brand-placeholder span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
}

/* ===== PRODUCT CARDS – Bigger Text & Button Area ===== */
.product-card .product-title {
    font-size: 1.05rem;
    min-height: 70px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .card-body {
    padding: 20px 15px 15px;
    display: flex;
    flex-direction: column;
}
.product-card .card-body .btn-shop {
    margin-top: auto;
    padding: 10px 20px;
    font-size: 0.95rem;
}
.product-card .price {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.product-card .btn-shop {
    margin-top: 12px;
    padding: 10px 20px;
}
/* =========================================================
   HEADER & FOOTER LINES FIX
   ========================================================= */

/* Header – Line below navbar */
.navbar-custom {
    border-bottom: 2px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

/* Category Menu – Line above and below */
.category-menu {
    border-top: 2px solid rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    background: rgba(139, 92, 246, 0.04);
}

/* Footer – Line above */
.footer-custom {
    border-top: 3px solid rgba(139, 92, 246, 0.15);
    padding-top: 30px;
}

/* =========================================================
   LOGIN DROPDOWN Z-INDEX FIX (Above Menu Bar)
   ========================================================= */

/* Navbar main container */
.navbar-custom {
    position: relative;
    z-index: 1060 !important; /* Higher than menu bar */
}

/* Dropdown menu inside navbar */
.navbar-custom .dropdown-menu {
    z-index: 1070 !important; /* Above everything */
    position: absolute !important;
}

/* Category menu bar (below navbar) */
.category-menu {
    position: relative;
    z-index: 1040 !important; /* Lower than navbar */
}

/* For mobile view – ensure dropdown stays on top */
@media (max-width: 768px) {
    .navbar-custom .dropdown-menu {
        position: static !important;
        z-index: 1050 !important;
    }
}
.footer-custom {
    border-top: 3px solid rgba(139, 92, 246, 0.15);
    padding-top: 30px;
}