/* Primary Color Override */
:root {
    --primary: #ED4001;
    --primary-hover: #D63800;
    --primary-rgba-70: rgba(237, 64, 1, 0.7);
}

html .bg-primary {
    background-color: #ED4001 !important;
}

html .text-primary,
html .text-color-primary {
    color: #ED4001 !important;
}

html .btn-primary {
    background-color: #ED4001;
    border-color: #ED4001;
}

html .btn-primary:hover,
html .btn-primary:focus {
    background-color: #D63800;
    border-color: #D63800;
}

html .btn-outline-primary {
    color: #ED4001;
    border-color: #ED4001;
}

html .btn-outline-primary:hover {
    background-color: #ED4001;
    border-color: #ED4001;
}

html .page-item.active .page-link {
    background-color: #ED4001;
    border-color: #ED4001;
}

html .page-link {
    color: #ED4001;
}

html a.text-color-hover-primary:hover {
    color: #ED4001 !important;
}

/* Product Card Styling */
.products .product {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 18px;
    transition: all 0.3s ease;
    height: 100%;
}

.products .product:hover {
    border-color: #e0e0e0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.products .product .product-thumb-info {
    border-radius: 6px;
    overflow: hidden;
}

.products .product .product-thumb-info-image img {
    transition: transform 0.4s ease;
}

.products .product:hover .product-thumb-info-image img {
    transform: scale(1.05);
}

/* Product grid wider cards */
.products .col-xl-3 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (min-width: 992px) {
    .products .col-xl-3 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (min-width: 1400px) {
    .products .col-xl-3 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}


/* Category Cards */
.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

.category-card:hover img {
    transform: scale(1.08);
}


/* Section Headers */
.section-header {
    position: relative;
}

.section-header-line {
    width: 50px;
    height: 3px;
    background-color: #ED4001;
    margin-top: 8px;
    border-radius: 2px;
}


/* Sticky header logo fix */
#header.sticky-active .header-logo img {
    max-height: 45px !important;
}

#header .header-body {
    min-height: auto;
}


/* Mobile: move icons before hamburger menu */
@media (max-width: 991px) {
    .header-row.justify-content-between {
        flex-wrap: nowrap;
    }

    .header-nav-bar .header-btn-collapse-nav {
        order: 10;
    }

    .header-extra-info {
        display: none !important;
    }

    .header-logo img {
        max-height: 40px !important;
    }

    /* Reduce icon spacing on mobile */
    .d-flex.align-items-center a[title],
    .d-flex.align-items-center .dropdown {
        margin-right: 0.5rem !important;
    }

    /* Hide username on mobile */
    .d-flex.align-items-center .dropdown .d-none.d-lg-inline {
        display: none !important;
    }
}
