/* Breadcrumb */
.breadcrumb {
    background: #f5f5f5;
    padding: 15px 0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #f5a623;
}

/* Products Section */
.products-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Products Header */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.products-count {
    color: #666;
    font-size: 14px;
}

.products-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-sort select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: white;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.products-sort select:hover {
    border-color: #f5a623;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.product-item {
    border: 1px solid #e0e0e0;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    background: white;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-code {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-top: auto;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
}

.pagination a:hover {
    background: #f5a623;
    color: white;
    border-color: #f5a623;
}

.pagination .active {
    background: #f5a623;
    color: white;
    border-color: #f5a623;
}

.pagination .next,
.pagination .prev {
    font-weight: 600;
}

/* Product Grid (legacy) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-grid.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 40px 0;
    width: 100%;
    gap: 0;
}

.product-grid.row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

.product-card {
    border: 1px solid #e0e0e0;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    min-height: 40px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-price {
    color: #f5a623;
    font-size: 18px;
    font-weight: bold;
}

.product-price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}

.discount-badge {
    background: #f5a623;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

/* View More Button */
.view-more {
    text-align: center;
    margin-top: 40px;
}

.btn-view-more {
    padding: 12px 40px;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-view-more:hover {
    background: #f5a623;
    color: white;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .products-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
