﻿body {
    background: #fbf4ef;
    color: #244026;
}

.shop-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 55px 22px 80px;
}

.shop-hero {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 46px;
}

.shop-eyebrow {
    display: inline-flex;
    padding: 8px 18px;
    border-radius: 999px;
    background: #ffe8e4;
    color: #9b5e58;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-bottom: 18px;
}

.shop-title {
    font-size: 52px;
    line-height: 1.05;
    font-weight: 500;
    margin: 0 0 16px;
    color: #244026;
}

.shop-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: #6c665f;
    font-size: 17px;
    line-height: 1.7;
}

.shop-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 30px;
    align-items: start;
}

.shop-layout main {
    width: 100%;
}

.filter-box {
    background: #fffaf7;
    border: 1px solid #f0e4dc;
    border-radius: 22px;
    padding: 24px 20px;
    position: sticky;
    top: 20px;
    box-shadow: 0 14px 35px rgba(51, 77, 46, .06);
}

.filter-box h4 {
    font-size: 13px;
    letter-spacing: 1.5px;
    margin: 4px 0 16px;
    color: #244026;
}

.filter-box label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: #5c6158;
    font-size: 15px;
    cursor: pointer;
}

.filter-box input {
    accent-color: #334f35;
}

.filter-line {
    border-top: 1px solid #eaded7;
    margin: 24px 0;
}

.btn-clear-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #334f35;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.tip-box {
    background: #ffe8e4;
    color: #7b5d56;
    padding: 18px;
    border-radius: 18px;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.55;
}

.tip-box strong {
    display: block;
    color: #244026;
    margin-bottom: 6px;
}

.shop-top-bar {
    margin-bottom: 26px;
}

.shop-sort-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px;
    background: #fffaf7;
    border: 1px solid #f0e4dc;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(51, 77, 46, .05);
}

.shop-sort-tabs a {
    text-decoration: none;
    color: #52604f;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 999px;
    transition: .25s;
}

.shop-sort-tabs a:hover,
.shop-sort-tabs a.active {
    background: #334f35;
    color: #fff;
}

.product-grid-shop {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.shop-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(52, 42, 34, .08);
    transition: .28s ease;
}

.shop-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 52px rgba(52, 42, 34, .13);
}

.shop-card-img {
    position: relative;
    height: 304px;
    overflow: hidden;
    background: #e9eee4;
}

.shop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .35s ease;
}

.shop-card:hover .shop-card-img img {
    transform: scale(1.035);
}

.product-badge {
    position: absolute;
    z-index: 2;
    left: 14px;
    top: 16px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #ffe5e2;
    color: #a65f58;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}

.shop-card-body {
    position: relative;
    padding: 28px 26px 26px;
    min-height: 158px;
}

.shop-card-body h3 {
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 5px;
    min-height: 48px;
    font-weight: 500;
    color: #244026;
}

.shop-card-body p {
    font-size: 13px;
    font-style: italic;
    color: #6d7667;
    min-height: 22px;
    margin: 0 0 26px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.shop-price {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: .2px;
    color: #244026;
    white-space: nowrap;
}

.btn-quick {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    background: #334f35;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(51, 79, 53, .25);
    transition: .25s;
}

.btn-quick:hover {
    background: #203925;
    color: #fff;
    transform: translateY(-7px) scale(1.04);
}

.empty-box {
    padding: 34px;
    border-radius: 22px;
    background: #fff;
    color: #6c665f;
    text-align: center;
}

.shop-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
}

.shop-pagination a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #334f35;
    text-decoration: none;
    font-weight: 700;
}

.shop-pagination a.active,
.shop-pagination a:hover {
    background: #334f35;
    color: #fff;
}

@media (max-width: 1050px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .filter-box {
        position: static;
    }

    .product-grid-shop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .shop-page {
        padding: 35px 14px 60px;
    }

    .shop-title {
        font-size: 36px;
    }

    .product-grid-shop {
        grid-template-columns: 1fr;
    }

    .shop-card-img {
        height: 300px;
    }

    .shop-sort-tabs {
        border-radius: 22px;
    }
}
.shop-add-form {
    margin-top: 15px;
}

.shop-add-btn {
    width: 100%;
    height: 48px;
    background: #fff;
    border: 1px solid #111;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
}

    .shop-add-btn:hover {
        background: #111;
        color: #fff;
    }