.category-header {

    background-color: #F9F9F9;
    margin-top: 85px;
    padding: 2rem 0;
}

.category-title {

    color: #333333;
    font-size: 2.5rem;
    font-weight: 600;
}

.category-toolbar {

    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.grid-view .product-item {

    display: block;
}

.grid-view .card-product {

    background: transparent;
    border: none;
    text-align: center;
    transition: transform 0.3s ease;
}

.grid-view .card-img-top {

    overflow: hidden;
    position: relative;
}

.grid-view .card-img-top img {

    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

.grid-view .card-img-top:hover img {

    transform: scale(1.05);
}

.grid-view .product-title {
    min-height: 70px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.grid-view .price {

    color: #007BFF;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.grid-view .product-description {

    display: none;
}

.grid-view .product-actions {

    margin-top: 1rem;
    text-align: center;
}

.list-view .product-item {

    align-items: center;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 1.5rem;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.list-view .card-product {

    align-items: center;
    background: #FFFFFF;
    border: none;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.list-view .card-img-top {

    height: auto;
    margin-right: 1rem;
    width: 150px;
}

.list-view .card-img-top img {

    border-radius: 4px;
    object-fit: cover;
}

.list-view .card-body {

    flex-grow: 1;
}

.list-view .product-title {

    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.list-view .price {

    align-items: center;
    display: flex;
    font-size: 1.1rem;
    gap: 0.5rem;
}

.list-view .price del {

    color: #999999;
    font-size: 0.9rem;
}

.list-view .price ins {

    color: #00254A;
    font-weight: bold;
}

.list-view .product-description {

    color: #666666;
    display: block;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.list-view .product-actions {

    margin-top: 1rem;
    text-align: left;
}

.toolbar-info {

    color: #666666;
    font-size: 1rem;
}

.toolbar-actions {

    align-items: center;
    display: flex;
}

.toolbar-views button {

    background: none;
    border: none;
    color: #555555;
    cursor: pointer;
    font-size: 1.5rem;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

.toolbar-views button.active {

    color: #00254A;
}

.toolbar-sorting .form-select {

    border: 1px solid #DDDDDD;
    border-radius: 4px;
    font-size: 0.9rem;
    width: 150px;
}

.btn-filters {

    background-color: #00254A;
    border: none;
    border-radius: 4px;
    color: #FFFFFF;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.btn-filters:hover {

    background-color: #0056B3;
}

/* Products Section */
.category-products .product-card {

    border: 1px solid #DDDDDD;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.category-products .product-card:hover {

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-image {

    position: relative;
}

.product-image img {

    display: block;
    height: auto;
    width: 100%;
}

.product-flash {

    border-radius: 4px;
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    left: 10px;
    padding: 0.25rem 0.5rem;
    position: absolute;
    top: 10px;
}

.badge-product-flash.on-sale {

    background-color: #FF4747;
}

.badge-product-flash.on-new {

    background-color: #FFC107;
}

.product-info {

    padding: 1rem;
    text-align: center;
}

.price {

    color: #333333;
    font-size: 1.2rem;
}

.price del {

    color: #999999;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.price ins {

    color: #00254A;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
}

/* Product Title */
.product-title {

    color: #333333;
    font-size: 1rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.product-title a {

    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {

    color: #00254A;
}

.pagination-nav .pagination {

    display: flex;
    justify-content: center;
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.pagination-nav .page-item {

    margin: 0 0.2rem;
}

.pagination-nav .page-link {

    border: 1px solid #DDDDDD;
    border-radius: 4px;
    color: #555555;
    display: inline-block;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-nav .page-link:hover {

    background-color: #00254A;
    color: #FFFFFF;
}

.pagination-nav .page-item.active .page-link {

    background-color: #00254A;
    border-color: #00254A;
    color: #FFFFFF;
}

.offcanvas {

    background-color: #FFFFFF;
    padding: 1rem;
}

.offcanvas-title {

    color: #333333;
    font-size: 1.25rem;
    font-weight: bold;
}

.filter-title {

    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.filter-list {

    list-style: none;
    padding: 0;
}

.filter-list li {

    margin-bottom: 0.5rem;
}

.filter-list a {

    color: #555555;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.filter-list a:hover {

    color: #00254A;
}

@keyframes fadeIn {

    from {

        opacity: 0;
        transform: translateY(20px);
    }

    to {

        opacity: 1;
        transform: translateY(0);
    }
}

.product-item {

    animation: fadeIn 0.5s ease-in-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.product-item {

    animation-delay: calc(var(--index) * 0.1s);
}

.product-item.visible {

    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease-in-out;
}

@media(max-width: 1200px) {
    .grid-view .product-title {
        min-height: 80px;
    }
}

.category-toolbar {
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.menu-checkbox {
    display: none;
}

.menu-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: none;
    padding: 10px 16px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 1000;
}

.menu-icon:hover {
    background: #f2e6d9 !important;
    transform: scale(1.05);
}

.menu-text-cat {
    font-size: 1rem;
}

.menu-mobile {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: white;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
    padding-top: 60px;
    transition: left 0.4s ease;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-checkbox:checked ~ .menu-mobile {
    left: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1099;
}

.menu-checkbox:checked ~ .menu-overlay {
    visibility: visible;
    opacity: 1;
}

.menu-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1A1A1A;
    margin-bottom: 15px;
    text-align: center;
}

.btn-view-grid, .btn-view-list {
    background: white;
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.btn-view-grid:hover, .btn-view-list:hover {
    background: #f4e1d2;
}

.btn-view-grid.active, .btn-view-list.active {
    background: #e8d4c0;
    border: 1px solid #c5a58a;
}

.menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #333;
    transition: color 0.3s ease;
}

.menu-close:hover {
    color: #6c4f3d;
}

.category-link {
    display: block;
    font-size: 1rem;
    padding: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: background 0.3s ease;
}

.category-link:hover {
    background: #e8d4c0;
}

.category-toolbar .toolbar-info .text-success {
    color: #6c4f3d !important;
}

.list-view .product-info-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.grid-view .product-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.list-view .img-product {
    width: 100% !important;
}

.grid-view .img-product {
    width: 75% !important;
}

.category-title {
    font-size: 2.2rem;

    @media (max-width: 576px) {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}
