
: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;
}
SECTION

*/
.categories-section {
    padding: 100px 0;
    background: var(--white);
}

.categories-section .section-header {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}
.categories-section .section-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
}
.categories-section .section-header h2 {
    margin: 0 0 16px;
    font-family: "Playfair Display", serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--dark);
}
.categories-section .section-header p {
    margin: 0 auto;
    max-width: 600px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
}

.categories-grid {
    width: min(1200px, 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    display: block;
    height: 380px;
    overflow: hidden;
    border-radius: 4px;
    text-decoration: none;
    background: var(--cream);
}

.category-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.25) 45%,
            rgba(0, 0, 0, 0.05) 100%
        );
    z-index: 1;
    transition: background 0.4s ease;
}

.category-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px;
    z-index: 2;
    color: var(--white);
}
.category-overlay h3 {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 600;
    color: var(--white);
}
.category-overlay span {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.06);
}
.category-card:hover::after {
    background:
        linear-gradient(
            to top,
            rgba(30, 48, 39, 0.85) 0%,
            rgba(30, 48, 39, 0.30) 50%,
            rgba(30, 48, 39, 0.05) 100%
        );
}
.category-card:hover .category-overlay span {
    transform: translateX(6px);
    color: var(--accent-light);
}

@media (max-width: 900px) {
    .categories-section {
        padding: 80px 0;
    }
    .categories-section .section-header h2 {
        font-size: 36px;
    }
    .categories-grid {
        gap: 18px;
    }
    .category-card {
        height: 330px;
    }
    .category-overlay {
        padding: 25px;
    }
    .category-overlay h3 {
        font-size: 26px;
    }
}

@media (max-width: 650px) {
    .categories-section {
        padding: 70px 0;
    }
    .categories-section .section-header {
        width: 90%;
        margin-bottom: 35px;
    }
    .categories-section .section-header h2 {
        font-size: 32px;
    }
    .categories-section .section-header p {
        font-size: 14px;
        line-height: 1.7;
    }
    .categories-grid {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .category-card {
        height: 300px;
    }
    .category-overlay {
        padding: 24px;
    }
    .category-overlay h3 {
        font-size: 25px;
    }
}

@media (max-width: 400px) {
    .categories-section .section-header h2 {
        font-size: 28px;
    }
    .category-card {
        height: 260px;
    }
    .category-overlay {
        padding: 20px;
    }
    .category-overlay h3 {
        font-size: 23px;
    }
    .category-overlay span {
        font-size: 12px;
    }
}


.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;
}


