:root {
    --primary-color: #fba50e;
    --primary-btn: linear-gradient(90deg, #fba50e, #ffbd33);
    --primary-color-hover: rgb(225, 172, 81);
    --secondary-color: #b90300;
    --accent-1: #0d0d0d;
    --accent-2: #fff;
}

.swiper {
    width: 100%;
    height: auto;
}

#logo {
    width: 50px;
    height: 50px;
    /* background-color: #b90300; */
    border-radius: 50%;
    box-shadow: 0 0px 2px rgb(154, 154, 154);
    position: relative;
    top: -2px;
}

.primary-bg {
    background: linear-gradient(90deg, #fba50e, #ffbd33);
}

.primary-bg:hover {
    background: linear-gradient(90deg, #b9770a, #c98e1a);
}

.primary-btn {
    background: linear-gradient(90deg, #fba50e, #ffbd33);
}

.primary-btn:hover {
    background: linear-gradient(90deg, #b9770a, #c98e1a);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-custom {
    background-color: var(--accent-2);
    box-shadow: 0 1px 1px rgba(154, 154, 154, 0.52);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    color: var(--accent-1) !important;
}

.mobile-nav-btn {
    font-size: 18px;
    color: #000 !important;
    background-color: #fba50e !important;
}

.header_top_row {
    display: flex !important;
    justify-content: space-between !important;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgb(234, 234, 234);
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    max-width: 280px;
    margin: 0 auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card-image-container {
    position: relative;
    overflow: hidden;
}

.card-image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-image-container img {
    transform: scale(1.05);
}

.heart-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.heart-icon:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

.heart-icon i {
    color: #6c757d;
    font-size: 16px;
}

.heart-icon.active {
    background-color: #dc3545;
}

.heart-icon.active i {
    color: #fff;
}

.card-body {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 500;
    color: #212529;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-condition {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 12px;
    font-weight: 500;
}

.product-price {
    font-size: 24px;
    font-weight: 500;
    color: #212529;
    margin: 0;
}

.shop_item_5grid_slider {
    padding-top: 20px !important;
}

.slider-controls {
    color: var(--primary-color) !important;
}

@media (max-width: 576px) {
    .product-card {
        max-width: 100%;
        margin: 0 10px;
    }

    .product-title {
        font-size: 16px;
        font-weight: 600;
        color: #212529;
        margin-bottom: 5px;
        line-height: 1;
    }
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.category-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    min-width: 140px;
}

.category-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.category-box img {
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.category-box .title {
    font-size: 1rem;
    font-weight: 500;
}

.category-box:nth-child(1) {
    grid-column: span 2;
}
.category-box:nth-child(12) {
    grid-column: span 2;
}

@media (max-width: 1400px) {
    .category-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .category-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .category-box {
        flex: 0 0 calc(50% - 10px);
        scroll-snap-align: start;
    }
}

.dashboard_sidebar_list div .-is-active:hover{
    background-color: #f5c34b !important;
}

.sidebar_list_item a:hover{
    background-color: #f0f0f0 !important;
}
