.shop-page {
    min-height: 70vh;
    background: #faf7f3;
}

.shop-hero {
    padding: 55px 20px;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            #eee0d3,
            #faf6f1
        );
}

.shop-hero h1 {
    margin: 8px 0 15px;
    color: #3e2f27;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.shop-hero p {
    max-width: 700px;
    margin: 0 auto 25px;
    color: #6d594d;
    line-height: 1.7;
}

.shop-content {
    padding-top: 38px;
    padding-bottom: 75px;
}

.shop-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 17px;
    padding: 24px;
    border: 1px solid #e2d6cc;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(62, 47, 39, 0.08);
}

.shop-filters label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #49372d;
    font-size: 0.9rem;
    font-weight: 700;
}

.shop-filters input,
.shop-filters select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d8c9bd;
    border-radius: 11px;
    padding: 10px 12px;
    color: #3e2f27;
    background: #fffaf6;
    font: inherit;
}

.shop-filter-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.shop-results-header {
    margin: 34px 0 20px;
}

.shop-results-header h2 {
    margin: 0;
    color: #45342b;
    font-size: 1.3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    overflow: hidden;
    border: 1px solid #e2d7ce;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(62, 47, 39, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(62, 47, 39, 0.14);
}

.product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    overflow: hidden;
    background: #f2e9e1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-image-placeholder {
    font-size: 4rem;
}

.product-offer-badge,
.product-stock-badge {
    position: absolute;
    top: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
}

.product-offer-badge {
    left: 14px;
    background: #8c5139;
}

.product-stock-badge {
    right: 14px;
    background: #4c4039;
}

.product-card-content {
    padding: 22px;
}

.product-category {
    display: inline-block;
    margin-bottom: 8px;
    color: #7b5b47;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-card h2 {
    margin: 0 0 10px;
    font-size: 1.28rem;
}

.product-card h2 a {
    color: #3e2f27;
    text-decoration: none;
}

.product-card h2 a:hover {
    text-decoration: underline;
}

.product-description {
    min-height: 68px;
    margin: 0 0 17px;
    color: #69584e;
    line-height: 1.55;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 19px;
}

.product-price strong {
    color: #4c392e;
    font-size: 1.45rem;
}

.old-price {
    color: #998a81;
    text-decoration: line-through;
}

.form-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

@media (max-width: 950px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .shop-filters,
    .form-grid-two {
        grid-template-columns: 1fr;
    }

    .shop-filter-actions {
        flex-direction: column;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 240px;
    }

    .product-description {
        min-height: auto;
    }
}