/* ---
   shop.css
   Styles for the Sensuous-Living Collections Shop Page
   --- */

/* --- 1. Hero Section --- */
.shop-hero {
    padding: 14rem 2rem 12rem;
    background-image: linear-gradient(rgba(73, 55, 91, 0.6), rgba(73, 55, 91, 0.6)), url('https://images.pexels.com/photos/3757942/pexels-photo-3757942.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center 70%;
    text-align: center;
    color: var(--color-background);
}

.shop-hero-content {
    max-width: 950px;
    margin: 0 auto;
}

.shop-hero-title {
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.shop-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-lavender);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* --- 2. Main Content & Intro --- */
.shop-main {
    padding: 6rem 2rem 0;
    background-color: var(--color-background);
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
}

.shop-intro {
    max-width: 800px;
    margin: 0 auto 5rem auto;
    text-align: center;
}

.shop-intro h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.shop-intro p {
    font-size: 1.2rem;
    color: var(--color-text-2);
    line-height: 1.8;
}

/* --- 3. Comparison Section --- */
.comparison-section {
    display: grid;
    grid-template-columns: 1fr 0.5px 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 5rem auto;
    align-items: center;
}

.comparison-divider {
    width: 0.5px;
    height: 80%;
    background-color: var(--color-background-3);
    justify-self: center;
}

.comparison-column {
    text-align: center;
}

.comparison-column h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--color-text-2);
    margin-bottom: 1.5rem;
}

.comparison-column ul {
    list-style: none;
    padding: 0;
}

.comparison-column li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.comparison-column.empowered h3 {
    color: var(--color-text);
}

.comparison-column.empowered strong {
    color: var(--color-amethyst);
    font-weight: 600;
}

/* --- 4. Product Grid --- */
.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-amethyst);
    color: var(--color-amethyst);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-amethyst);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(109, 91, 135, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(109, 91, 135, 0.12);
}

.product-image-link {
    display: block;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1.25;
}

.product-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-link img {
    transform: scale(1.05);
}

.product-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-amethyst);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.product-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    flex-grow: 1;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-2);
    margin-bottom: 1.5rem;
}

.product-card .btn-primary {
    margin-top: auto;
    background: transparent;
    border-color: var(--color-amethyst);
    color: var(--color-amethyst);
    text-shadow: none;
}

.product-card .btn-primary:hover {
    background: var(--color-amethyst);
    color: #ffffff;
}

/* --- 5. Final CTA Section --- */
.shop-cta-section {
    padding: 6rem 2rem;
    margin-top: 6rem;
    background-color: var(--color-background-2);
    text-align: center;
}

.shop-cta-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.shop-cta-section h2 {
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.shop-cta-section p {
    font-size: 1.2rem;
    color: var(--color-text-2);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* --- 6. Responsive Adjustments --- */
@media (max-width: 767px) {
    .shop-hero {
        padding: 10rem 1.5rem 8rem;
    }
    .shop-hero-title {
        font-size: 3.5rem;
    }
    .shop-hero-subtitle {
        font-size: 1.2rem;
    }
    .shop-main {
        padding: 4rem 1.5rem 0;
    }
    .comparison-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .comparison-divider {
        width: 60%;
        height: 0.5px;
        margin: 1.5rem 0;
    }
}
