/* Category showcase tiles — sage #A8B8A0 + blush #D7B4B4 */

.home-categories-area {
    --cat-sage: #A8B8A0;
    --cat-sage-dark: #7D9074;
    --cat-pink: #D7B4B4;
    --cat-pink-light: #E8D7D7;
    --cat-text: #2A2A2A;
    --cat-cream: #FAF8F4;
    --ff-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background:
        radial-gradient(ellipse 70% 55% at 0% 0%, rgba(168, 184, 160, 0.16), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(215, 180, 180, 0.18), transparent 50%),
        linear-gradient(180deg, var(--cat-cream) 0%, #F5F1EB 100%);
    padding-top: 48px;
    padding-bottom: 56px;
}

.home-categories-area.section-space {
    padding-top: 48px;
    padding-bottom: 56px;
}

.home-categories-area .section-title h2 {
    color: var(--cat-text);
}

.home-categories-area .section-title h2::after {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--cat-sage), var(--cat-pink));
}

.home-categories-area .section-title p {
    color: rgba(42, 42, 42, 0.62);
}

.home-categories-showcase {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 14px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 8px 12px 0;
}

.category-showcase-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    max-width: none;
    text-decoration: none;
    color: inherit;
}

.category-showcase-tile:hover,
.category-showcase-tile:visited {
    text-decoration: none;
    color: inherit;
}

.category-showcase-tile__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(42, 42, 42, 0.08);
    transition: transform var(--ff-transition), box-shadow var(--ff-transition), border-color var(--ff-transition);
    border: 2px solid var(--cat-pink);
}

.category-showcase-tile:nth-child(even) .category-showcase-tile__frame {
    border-color: var(--cat-sage);
}

.category-showcase-tile:hover .category-showcase-tile__frame {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(215, 180, 180, 0.32);
    border-color: var(--cat-pink);
}

.category-showcase-tile:nth-child(even):hover .category-showcase-tile__frame {
    box-shadow: 0 16px 36px rgba(168, 184, 160, 0.34);
    border-color: var(--cat-sage);
}

.category-showcase-tile__frame img,
.category-showcase-tile__placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.category-showcase-tile:hover .category-showcase-tile__frame img {
    transform: scale(1.06);
}

.category-showcase-tile__placeholder {
    background: linear-gradient(145deg, var(--cat-pink) 0%, var(--cat-pink-light) 45%, var(--cat-sage) 100%);
}

.category-showcase-tile:nth-child(even) .category-showcase-tile__placeholder {
    background: linear-gradient(145deg, var(--cat-sage) 0%, #c5d4be 45%, var(--cat-pink-light) 100%);
}

.category-showcase-tile__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 50%, rgba(42, 42, 42, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--ff-transition);
}

.category-showcase-tile:hover .category-showcase-tile__veil {
    opacity: 1;
}

.category-showcase-tile__label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    background: var(--cat-pink);
    color: var(--cat-text);
    font-family: "Heebo", "Assistant", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 14px rgba(215, 180, 180, 0.35);
    transition: background var(--ff-transition), color var(--ff-transition), transform var(--ff-transition), box-shadow var(--ff-transition);
}

.category-showcase-tile:nth-child(even) .category-showcase-tile__label {
    background: var(--cat-sage);
    color: #fff;
    box-shadow: 0 4px 14px rgba(168, 184, 160, 0.35);
}

.category-showcase-tile:hover .category-showcase-tile__label {
    background: var(--cat-sage-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(125, 144, 116, 0.35);
}

.category-showcase-tile:nth-child(even):hover .category-showcase-tile__label {
    background: var(--cat-pink);
    color: var(--cat-text);
    box-shadow: 0 8px 20px rgba(215, 180, 180, 0.4);
}

@media (max-width: 767.98px) {
    .home-categories-showcase {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 14px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .home-categories-showcase::-webkit-scrollbar {
        display: none;
    }

    .category-showcase-tile {
        flex: 0 0 38vw;
        width: auto;
        min-width: 130px;
        max-width: none;
        scroll-snap-align: start;
    }

    .category-showcase-tile__label {
        font-size: 0.82rem;
        min-height: 40px;
    }
}

@media (max-width: 575.98px) {
    .category-showcase-tile {
        flex: 0 0 42vw;
        min-width: 120px;
    }
}

/* ===== Homepage featured products — sage + blush ===== */

.home-featured-products.shop-product-grid,
.home-featured-products .shop-product-grid {
    margin-top: 0;
}

.home-featured-products .product-item {
    border: 1px solid rgba(168, 184, 160, 0.28);
    background: #fff;
}

.home-featured-products .product-item:hover {
    box-shadow: 0 14px 36px rgba(168, 184, 160, 0.22);
    border-color: rgba(215, 180, 180, 0.45);
}

.home-featured-products .product-thumb {
    border-radius: 14px 14px 0 0;
    overflow: hidden;
}

.home-featured-products .product-caption .price-box {
    justify-content: center;
}

.home-featured-products .product-caption .price-regular,
.home-featured-products .product-caption .price-sale {
    color: #7D9074 !important;
}

.home-featured-products .product-caption .price-sale {
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
}

.home-featured-products .product-caption .price-regular--sale {
    color: #7D9074 !important;
}

.home-featured-products .product-caption .price-old {
    font-size: 0.75rem !important;
    color: #aaa !important;
}

.home-featured-products .product-caption .price-from-label {
    font-size: 0.8em;
    color: #5a5a5a;
}

.home-featured-section .section-title h2::after {
    background: linear-gradient(90deg, #A8B8A0, #D7B4B4);
}

.home-featured-products .product-action-cart {
    background: #A8B8A0 !important;
    border-color: #A8B8A0 !important;
}

.home-featured-products .product-action-cart:hover {
    background: #7D9074 !important;
    border-color: #7D9074 !important;
}

.home-featured-products .product-action-wishlist:hover,
.home-featured-products .product-action-wishlist.is-active {
    border-color: #D7B4B4 !important;
    background: #E8D7D7 !important;
    color: #2A2A2A !important;
}

.home-shop-cta-row .btn-sqr {
    background: #D7B4B4;
    border-color: #D7B4B4;
    color: #2A2A2A;
}

.home-shop-cta-row .btn-sqr:hover {
    background: #A8B8A0;
    border-color: #A8B8A0;
    color: #fff;
}
