﻿.shop-product-card {
    height: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .shop-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

.shop-product-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4f1eb;
}

    .shop-product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 20px;
        transition: transform 0.3s ease;
    }

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

.shop-product-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.shop-product-info h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

    .shop-product-info h3 a {
        color: Black;
        text-decoration: none;
    }

.shop-product-info p {
    color: black;
    margin-bottom: 20px;
}

.shop-product-bottom {
    margin-top: 20px;
}

.shop-product-price {
    display: block;
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: black;
}

.shop-product-actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 576px) {
    .shop-product-actions {
        flex-direction: column;
    }

        .shop-product-actions .btn {
            width: 100%;
        }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-bottom: 12px !important;
       
    }
        .shop-toolbar + section,
        .shop-toolbar + div {
            margin-top: 0 !important;
            padding-top: 0 !important;
        }

    .shop-search {
        width: 100%;
        flex: none;
    }

    .shop-search form {
        width: 100%;
    }

    .shop-search input {
        flex: 1 1 0;
        min-width: 0;
        font-size: 16px;
    }

    .shop-search button {
        flex-shrink: 0;
    }

    .shop-sort {
        width: 100%;
        flex-wrap: wrap;
    }
}

    .shop-product-actions .btn {
        flex: 1;
    }

.shop-hero {
    background: rgba(0, 0, 0, 0.04);
}

.shop-hero-content {
    max-width: 700px;
    margin: auto;
}

.shop-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.shop-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 10px 0;
}

.shop-hero p {
    font-size: 1.15rem;
    color: white;
}

.shop-categories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.shop-categories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.shop-category {
    white-space: nowrap;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

    .shop-category:hover,
    .shop-category.active {
        background: #222;
        color: white;
        border-color: #222;
    }

/* Search and sort toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    margin-bottom: 16px;
}

.shop-search {
    flex: 1 1 400px;
    min-width: 0;
}

    .shop-search form {
        display: flex;
        gap: 8px;
        width: 100%;
    }

    .shop-search input {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        padding: 12px;
        font-size: 16px;
    }

    .shop-search button {
        flex-shrink: 0;
        padding: 10px 16px;
    }

.shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

    .shop-sort label {
        white-space: nowrap;
        font-weight: 600;
    }

/* Product heading */
.shop-results-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-top: 0;
    margin-bottom: 20px;
}

    .shop-results-header h2 {
        margin: 0;
    }

    .shop-results-header span {
        color: white;
    }

/* Main shop content */
.shop-content {
    padding-top: 24px;
    padding-bottom: 40px;
}

/* Mobile layout */
@media (max-width: 576px) {
    .shop-content {
        padding-top: 16px;
        padding-bottom: 24px;
    }

    .shop-categories {
        margin-bottom: 16px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-bottom: 12px;
    }

    .shop-search {
        width: 100%;
        flex: none;
    }

        .shop-search form {
            width: 100%;
        }

        .shop-search input {
            flex: 1 1 0;
            min-width: 0;
            font-size: 16px;
        }

    .shop-sort {
        width: 100%;
        flex-wrap: wrap;
    }

    .shop-product-actions {
        flex-direction: column;
    }

        .shop-product-actions .btn {
            width: 100%;
        }
}

.shop-product-actions .btn {
    flex: 1;
}
    .shop-search button {
    flex-shrink: 0;
    padding: 10px 16px;
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

    .shop-sort label {
        white-space: nowrap;
        font-weight: 600;
    }

.shop-results-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

    .shop-results-header h2 {
        margin: 0;
    }

    .shop-results-header span {
        color: white;
    }



/* =========================================
   ROAST SELECTION
========================================= */

.roast-selection {
    padding: 1rem;
    background: #fffaf6;
    border: 1px solid #e8d8cd;
    border-radius: 8px;
}

    .roast-selection label {
        color: #301406;
    }

    .roast-selection select {
        border-color: #d9c3b4;
        min-height: 46px;
    }

        .roast-selection select:focus {
            border-color: #a05a2c;
            box-shadow: 0 0 0 .2rem rgba(160, 90, 44, .15);
        }
