@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #EF7D00;
    --primary-hover: #d67000;
    --dark-color: #212529;
    --body-bg: #f8f9fa;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--body-bg);
    color: var(--dark-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Utilities */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 125, 0, 0.3);
}

/* Product Cards */
.product-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.product-card .card-img-top {
    height: 250px;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-price {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
}

/* Categories */
.category-box {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.category-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.category-box i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.category-box:hover i {
    transform: scale(1.1);
}

/* Navbar */
header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: 0.3s;
}

.nav-link:hover {
    background-color: rgba(239, 125, 0, 0.1);
    color: var(--primary-color) !important;
}

/* Recursive Nested Dropdown CSS */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0px !important;
    left: 100% !important;
    /* Force Right */
    margin-top: -5px;
    /* Slight adjustment */
    margin-left: 0px;
    position: absolute;
}

/* Support for JS Toggle (.show) */
.dropdown-submenu>.dropdown-menu.show {
    display: block;
}

/* Mobile: Indent (Stack Vertical) */
@media (max-width: 991px) {
    .dropdown-submenu>.dropdown-menu {
        position: static !important;
        left: 0 !important;
        margin-left: 20px;
        top: auto !important;
    }
}

/* Desktop: Hover to show */
@media (min-width: 992px) {
    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}

/* Orange Hover for Dropdown Items */
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-color);
    color: white !important;
}

.dropdown-item:hover i,
.dropdown-item:focus i {
    color: white !important;
    /* Make arrow white on hover */
}