.tab-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.tab-buttons.subcategory-tabs {
    flex-wrap: wrap;
    max-width: 100%;
}

.tab-buttons button {
    background: #fff;
    border: 1px solid #ccc;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    max-width: 200px;
    border-radius: 4px;
    cursor: pointer;
}

.tab-buttons.subcategory-tabs button {
    max-width: 100%;
    padding: 7px 12px;
    flex: 1 1 calc(33.333% - 30px);
    border-radius: 100px;
}

.tab-buttons button:hover,
.tab-buttons button.active {
    border-color: rgb(0 0 0 / .6);
}

.tab-buttons.subcategory-tabs button:hover,
.tab-buttons.subcategory-tabs button.active {
    background: #B10113;
    color: #fff;
    border-color: #B10113;
}

.tab-buttons button img {
    width: 60px;
    height: auto;
    margin-bottom: 8px;
    display: block;
}

.subcategory-title {
    margin-bottom: 30px;
    text-align: center;
    font-family: "Times New Roman", Sans-serif;
    font-size: 24px;
    font-weight: 600;
}

.sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    z-index: 9999;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-cart-content {
    max-width: 1140px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
}

.sticky-view-cart-btn {
    background-color: #B10113;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.sticky-view-cart-btn:hover {
    background-color: #B10113;
    opacity: 0.8;
}

.product-list .top-category-title {
    margin: 25px 0;
    background-color: #f0f0f0;
    padding: 12px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.products-search-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.products-search-wrapper .search-container {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    width: 100%;
    overflow: hidden;
}

.products-search-wrapper input[type="text"] {
    flex: 1;
    border: none;
    padding: 12px 16px;
    outline: none;
    background: transparent;
}

.products-search-wrapper input[type="text"]::placeholder {
    color: #999;
}

.products-search-wrapper .search-button {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease;
}

.products-search-wrapper .search-button:hover {
    color: #666;
}

.products-search-wrapper .search-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.product-list svg {
    margin: 0 auto;
    width: 100%;
}

.product-list svg path,
.product-list svg rect {
    fill: #B10113;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-card {
    display: flex;
    justify-content: space-between;
    border: 1px solid #ccc;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
}

.product-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 50%;
}

.product-image {
    width: 25%;
}

.product-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-title {
    margin: 0 0 10px;
    font-size: 1.1em;
}

.product-title a {
    text-decoration: none;
    color: #333;
}

.product-description p {
    margin: 0;
}

.product-sku {
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #666;
}

.product-right {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
}

.on-sale-badge {
    background-color: #c62828;
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
}

.product-price {
    font-size: 1.3em;
    font-weight: bold;
}

.product-price ins {
    text-decoration: none;
}

.add-to-cart-wrapper {
    display: flex;
    gap: 15px;
}

.add-to-cart-wrapper .quantity {
    margin: 0;
    float: none;
}

.add-to-cart-wrapper .quantity .qty {
    border: 1px solid #e1e1e1;
}

.add-to-cart-wrapper .quantity .minus {
    padding-right: 6px;
    padding-left: 6px;
    border-right: none;
}

.add-to-cart-wrapper .quantity .plus {
    padding-right: 6px;
    padding-left: 6px;
    border-left: none;
}

.add-to-cart-wrapper .button {
    background: #B10113;
    color: #fff;
    border-radius: 50px;
}

.add-to-cart-wrapper .button:hover,
.add-to-cart-wrapper .button:focus,
.add-to-cart-wrapper .button:active {
    background: #000000;
    color: #fff;
    border-color: #000;
}

.out-of-stock {
    color: #999;
    font-style: italic;
}

@media (max-width: 768px) {
    .tab-buttons {
        flex-wrap: wrap;
    }

    .tab-buttons.subcategory-tabs button {
        flex: auto;
    }

    .product-card {
        flex-direction: column;
        gap: 10px;
    }

    .product-right {
        align-items: flex-start;
    }
}
