@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Playfair+Display:wght@400;700&display=swap');
:root{
    --white: #f5f0f0;
    --off-white: #e9e9e9;
    --onyx: #101010;
    --rich-mahogany: #260101;
    --dark-garnet: #591202;
    --rust-brown: #A62F03;
    --autumn-leaf:#F26716;
}

body{
    background-color: var(--white);
    color: var(--onyx);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.header-color{
    position: sticky;
    top: 0;
    z-index: 1;
    height: 110px;
    background-color: var(--onyx);
    margin-top: -100px;
}

/* Shop Page Styles */
.shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px 32px 16px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.filter-sidebar {
    position: sticky;
    z-index: 0;
}

.filter-inner {
    position: sticky;
    margin-top: 110px !important;
    z-index: 900;
    background: var(--white);
    padding: 18px;
    border-radius: 8px;
    border: 1px solid rgba(16,16,16,0.06);
    box-shadow: 0 6px 18px rgba(16,16,16,0.04);
    /* allow internal scroll when content exceeds viewport */
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.filter-inner h3{
    font-size: 20px;
}

.filter-section {
    margin-bottom: 16px;
}

.filter-section h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: var(--rich-mahogany);
}

.filter-section input[type="search"],
.filter-section input[type="number"]{
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.filter-section label { color: #333; font-size: 14px; }

.filter-apply {
    display: inline-block;
    padding: 10px 16px;
    background: var(--autumn-leaf);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.shop-title {
    text-align: center;
    font-size: 48px;
    color: var(--rich-mahogany);
    font-family: 'Playfair Display', serif;
    margin-bottom: 40px;
    font-weight: 700;
}
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Page layout to match About / Contact UI */
.shop-main{
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 16px 40px;
}
.shop-title{
    font-size: 40px;
    color: var(--rich-mahogany);
    text-align: center;
    margin: 6px 0 22px;
    font-family: 'Playfair Display', serif;
}
@media (max-width: 1100px) {
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 800px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .shop-container {
        display: block;
        padding: 24px 12px;
    }
    .filter-inner { position: static; top: auto; margin-bottom: 18px; }
}
.shop-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 6px 28px rgba(16,16,16,0.08);
    padding: 22px 18px 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    border: 0.5px solid var(--rich-mahogany);
}
.shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(16,16,16,0.12);
}
.shop-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(16,16,16,0.06);
}
.shop-product-title {
    font-size: 20px;
    color: var(--rich-mahogany);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}
.shop-desc {
    font-size: 15px;
    color: var(--onyx);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 12px;
    text-align: center;
}
.shop-price {
    font-size: 18px;
    color: var(--autumn-leaf);
    font-weight: 800;
    margin-bottom: 14px;
}
.shop-btn {
    padding: 10px 20px;
    background: var(--rich-mahogany);
    color: var(--white);
    border: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(16,16,16,0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.4px;
    margin-top: auto;
}
.shop-btn:hover {
    background: var(--rust-brown);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(240,156,15,0.18);
    transform: scale(1.06);
}

/* Small screens: single column cards */
@media (max-width: 900px) {
    .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .shop-img { height: 180px; }
}
@media (max-width: 560px) {
    .shop-grid { grid-template-columns: 1fr; }
    .shop-main { padding: 16px; }
}