:root {
    --primary: #1e3027;
    --primary-light: #31483c;
    --accent: #b58b55;
    --accent-light: #d1ad7a;
    --dark: #1d1d1b;
    --text: #343434;
    --muted: #777777;
    --cream: #f7f4ee;
    --light: #faf9f6;
    --white: #ffffff;
    --border: #e8e5df;
    --shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);
    --transition:
        all 0.3s ease;
}
.shop-section {
    padding: 90px 0 110px;
    background: var(--light);
}
.shop-container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.shop-hero {
    min-height: 430px;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(
            rgba(30, 48, 39, 0.72),
            rgba(30, 48, 39, 0.72)
        ),
        url("../images/shop-hero.jpg");
    background-size: cover;
    background-position: center;
}
.shop-hero-content {
    width: min(1200px, 90%);
    margin: 0 auto;
    color: var(--white);
}
.shop-hero .section-label {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}
.shop-hero h1 {
    margin: 0 0 20px;
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 600;
    color: var(--white);
}
.shop-hero p {
    max-width: 580px;
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.shop-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 35px;
}
.shop-results h2 {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--dark);
}
.shop-results p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sort-container label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.sort-container select,
.category-filter select,
.price-filter select {
    min-width: 190px;
    padding: 13px 42px 13px 15px;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--white);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50%;
    background-size:
        5px 5px,
        5px 5px;
    background-repeat: no-repeat;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}
.sort-container select:focus,
.category-filter select:focus,
.price-filter select:focus {
    border-color: var(--accent);
    box-shadow:
        0 0 0 3px rgba(181, 139, 85, 0.12);
}

.shop-controls {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 25px;
    margin-bottom: 28px;
    background: var(--white);
    border: 1px solid var(--border);
}
.shop-controls label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.search-input {
    display: flex;
    width: 100%;
    border: 1px solid var(--border);
    background: var(--white);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}
.search-input:focus-within {
    border-color: var(--accent);
    box-shadow:
        0 0 0 3px rgba(181, 139, 85, 0.12);
}
.search-input input {
    width: 100%;
    padding: 14px 15px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
}
.search-input input::placeholder {
    color: #aaa;
}
.search-input button {
    width: 52px;
    border: none;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
    transition:
        background 0.3s ease;
}
.search-input button:hover {
    background: var(--primary-light);
}

.category-filter select,
.price-filter select {
    width: 100%;
    min-width: 0;
    background-color: var(--white);
}

.shop-categories {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}
.category-pill {
    padding: 11px 20px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}
.category-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.category-pill.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

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

.shop-product-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}
.shop-product-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.08);
}

.shop-product-card .product-image {
    position: relative;
    height: 330px;
    overflow: hidden;
    background: var(--cream);
}
.shop-product-card .product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.6s ease;
}
.shop-product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 7px 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--dark);
    font-size: 21px;
    cursor: pointer;
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.08);
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}
.wishlist-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
}
.wishlist-btn.active {
    background: var(--accent);
    color: var(--white);
}

.shop-product-card .product-info {
    padding: 24px;
}
.product-category {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.shop-product-card .product-info h3 {
    margin: 0 0 10px;
    font-family: "Playfair Display", serif;
    font-size: 23px;
    font-weight: 600;
    color: var(--dark);
}
.product-description {
    min-height: 50px;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.product-bottom strong {
    white-space: nowrap;
    color: var(--dark);
    font-size: 16px;
    font-weight: 700;
}

.add-cart-btn {
    padding: 11px 15px;
    border: 1px solid var(--primary);
    background: var(--primary);
    color: var(--white);
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
        text-align: end;
}
.add-cart-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}
.add-cart-btn:active {
    transform: translateY(0);
}

.no-products {
    padding: 80px 25px;
    margin-top: 20px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
}
.no-products-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--cream);
    font-size: 25px;
}
.no-products h3 {
    margin: 0 0 10px;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    color: var(--dark);
}
.no-products p {
    max-width: 500px;
    margin: 0 auto 25px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.newsletter-section {
    padding: 80px 0;
    background: var(--primary);
}
.newsletter-container {
    width: min(1100px, 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}
.newsletter-content .section-label {
    display: block;
    margin-bottom: 12px;
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}
.newsletter-content h2 {
    margin: 0 0 15px;
    font-family: "Playfair Display", serif;
    font-size: 38px;
    line-height: 1.2;
    color: var(--white);
}
.newsletter-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    width: 100%;
}
.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-right: none;
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
}
.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}
.newsletter-form button {
    padding: 16px 25px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--white);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.3s ease;
}
.newsletter-form button:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

.site-footer {
    background: #18251f;
    color: var(--white);
}
.footer-container {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 70px 0 50px;
    display: grid;
    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.2fr;
    gap: 50px;
}
.footer-brand .logo {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--white);
}
.footer-brand p {
    max-width: 280px;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.8;
}
.footer-column h4 {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--white);
}
.footer-column a {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    text-decoration: none;
    transition:
        color 0.3s ease;
}
.footer-column a:hover {
    color: var(--accent-light);
}
.footer-column p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.6;
}
.footer-bottom {
    padding: 22px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}
/
@media (max-width: 1000px) {
    .shop-product-grid {
        grid-template-columns:
            repeat(2, 1fr);
        gap: 24px;
    }
    .shop-controls {
        grid-template-columns:
            1fr 1fr;
    }
    .shop-search {
        grid-column: 1 / -1;
    }
    .newsletter-container {
        gap: 40px;
    }
    .footer-container {
        grid-template-columns:
            repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .shop-hero {
        min-height: 360px;
    }
    .shop-hero h1 {
        font-size: 43px;
    }
    .shop-hero p {
        font-size: 15px;
    }
    .shop-section {
        padding: 65px 0 80px;
    }
    .shop-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .shop-results h2 {
        font-size: 31px;
    }
    .sort-container {
        width: 100%;
        justify-content: space-between;
    }
    .sort-container select {
        flex: 1;
        min-width: 0;
    }
    .shop-controls {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .shop-search {
        grid-column: auto;
    }
    .shop-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .shop-product-card .product-image {
        height: 350px;
    }
    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .newsletter-content h2 {
        font-size: 32px;
    }
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    .newsletter-form input {
        border-right: 1px solid rgba(255, 255, 255, 0.25);
    }
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .shop-container,
    .shop-hero-content {
        width: 92%;
    }
    .shop-hero {
        min-height: 330px;
    }
    .shop-hero h1 {
        font-size: 36px;
    }
    .shop-hero p {
        font-size: 14px;
    }
    .shop-results h2 {
        font-size: 28px;
    }
    .shop-categories {
        gap: 7px;
    }
    .category-pill {
        padding: 9px 14px;
        font-size: 12px;
    }
    .shop-product-card .product-image {
        height: 300px;
    }
    .shop-product-card .product-info {
        padding: 20px;
    }
    .shop-product-card .product-info h3 {
        font-size: 21px;
    }
    .product-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
    .add-cart-btn {
        width: 100%;
    }
    .newsletter-content h2 {
        font-size: 28px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

.shop-page button:focus-visible,
.shop-page input:focus-visible,
.shop-page select:focus-visible,
.shop-page a:focus-visible {
    outline: 3px solid var(--accent-light);
    outline-offset: 3px;
}

