/* Products Page Specific Styles */
.products-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 0 40px;
    margin-top: 0;
}

.products-header h1 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.products-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.search-filter-section {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 2px solid #e9ecef;
}

.search-box-main {
    position: relative;
    max-width: 600px;
    margin: 0 auto 25px;
}

.search-box-main input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-box-main input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(201, 160, 80, 0.1);
}

.search-box-main .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 18px;
    pointer-events: none;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.filter-pill {
    padding: 8px 20px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 25px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.filter-pill:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.filter-pill.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.products-section {
    padding: 60px 0;
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.results-count {
    font-size: 16px;
    color: #666;
}

.sort-dropdown {
    padding: 8px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    background: #fff;
}

.sort-dropdown:focus {
    outline: none;
    border-color: var(--accent-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

.product-card .product-image {
    position: relative;
    padding-top: 133.33%;
    overflow: hidden;
    background: #f8f9fa;
}

.product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .add-to-cart-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(26, 26, 26, 0.9);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .add-to-cart-overlay {
    transform: translateY(0);
}

.product-card .add-to-cart-overlay button {
    width: 100%;
    padding: 10px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.product-card .add-to-cart-overlay button:hover {
    background: #b8954d;
}

.product-card .product-info {
    padding: 20px;
}

.product-card .product-category {
    font-size: 12px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-card .product-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.product-card .product-price {
    font-size: 20px;
    color: var(--accent-color);
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h3 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 10px;
}

.no-results p {
    color: #666;
    font-size: 16px;
}

.clear-search {
    margin-top: 15px;
    padding: 10px 30px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.clear-search:hover {
    background: #b8954d;
}

/* Responsive */
@media (max-width: 768px) {
    .products-header h1 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .results-info {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .filter-pills {
        gap: 8px;
    }

    .filter-pill {
        padding: 6px 15px;
        font-size: 13px;
    }

    /* Mobile: hide the header search overlay and show main page search prominently */
    .top-content .search-bar {
        display: none !important;
    }

    .search-box-main {
        display: block !important;
        margin: 12px auto 20px;
        max-width: calc(100% - 40px);
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Price and weight styling */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

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

.discounted-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 16px;
}

.product-weight {
    font-size: 13px;
    color: #666;
}
 