/* ─────────────────────────────────────────────
   gallery.css – Lush Crafts Shop All page
   Updated for cleaner category display
   ───────────────────────────────────────────── */

:root {
    --purple-deep: #6B5B8E;
    --purple-mid: #A88FBF;
    --purple-light: #C9B8D9;
    --green-soft: #8FAA70;
    --pink-soft: #D4A5C4;
    --cream: #FAF7F2;
    --text-dark: #2E2640;
    --text-muted: #6B6080;
    --white-soft: rgba(255, 255, 255, 0.9);
}

/* ── HERO ──────────────────────────────────── */
.shop-hero {
    position: relative;
    background:
        radial-gradient(ellipse at 10% 60%, rgba(201,184,217,0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 40%, rgba(143,170,112,0.2) 0%, transparent 50%),
        var(--cream);
    padding: 5rem 2rem 4rem;
    text-align: center;
}

.shop-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.shop-hero-bg svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.shop-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 auto;
}

.shop-hero-badge {
    display: inline-block;
    background: rgba(168,143,191,0.18);
    border: 1px solid var(--purple-light);
    color: var(--purple-deep);
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    margin-bottom: 1.4rem;
}

.shop-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.shop-hero-title em {
    font-style: italic;
    color: var(--purple-deep);
}

.shop-hero-sub {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── CATEGORIES SECTION ────────────────────── */
.shop-categories {
    background: var(--cream);
    padding: 4rem 2rem 6rem;
}

.shop-container {
    max-width: 1250px;
    margin: 0 auto;
}

/* ── GRID ──────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* ── CARD ──────────────────────────────────── */
.category-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.35s ease;
}

.category-card:hover {
    transform: translateY(-6px);
}

.category-visual {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 28px;
}

/* ── IMAGE AREA ────────────────────────────── */
.category-img-wrap {
    position: relative;
    height: 430px;
    overflow: hidden;
    background: #f7f3eb;
    border: none;
    border-radius: 28px;
}

/* remove green text on image */
.category-name-overlay {
    display: none;
}

/* image */
.category-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.category-card:hover .category-img {
    transform: scale(1.03);
}

/* placeholder */
.category-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f3eb;
}

.category-img-placeholder svg {
    width: 90px;
    height: 90px;
    opacity: 0.4;
}

/* bottom floating box */
.category-info {
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 4;
    background: var(--white-soft);
    text-align: center;
    padding: 1rem 1rem 0.9rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.category-name {
    margin: 0;
    font-family: 'Jost', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1d3557;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-align: center;
}

.category-product-count {
    display: block;
    margin-top: 0.25rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── EMPTY STATE ───────────────────────────── */
.shop-empty {
    text-align: center;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.shop-empty-icon {
    opacity: 0.5;
}

.shop-empty-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0;
}

.shop-empty-sub {
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .category-img-wrap {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .shop-hero {
        padding: 4rem 1.2rem 3rem;
    }

    .shop-categories {
        padding: 3rem 1rem 4rem;
    }

    .category-img-wrap {
        height: 320px;
    }

    .category-info {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 0.85rem 0.8rem;
    }

    .category-name {
        font-size: 0.9rem;
    }

    .category-product-count {
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-img-wrap {
        height: 360px;
    }
}