
/* =========================================
   SATTVA SHOP PAGE
   Premium Spiritual E-commerce Design
========================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');


/* =========================================
   1. GLOBAL
========================================= */

.shop-page {
    --shop-primary: #a87320;
    --shop-gold: #e4bd69;
    --shop-dark: #21150d;
    --shop-text: #302419;
    --shop-muted: #85796b;
    --shop-bg: #faf7f1;
    --shop-white: #ffffff;

    width: 100%;
    overflow: hidden;
    background: var(--shop-bg);
    color: var(--shop-text);
    font-family: "DM Sans", sans-serif;
    box-sizing: border-box;
}

.shop-page *,
.shop-page *::before,
.shop-page *::after {
    box-sizing: border-box;
}

.shop-page img {
    display: block;
    max-width: 100%;
}

.shop-page a {
    -webkit-tap-highlight-color: transparent;
}

.shop-page button {
    font-family: inherit;
}


/* =========================================
   2. HERO SECTION
========================================= */

.shop-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    min-height: 430px;
    padding: 50px 6%;

    overflow: hidden;
    color: #fff;

    background:
        radial-gradient(
            ellipse at 78% 52%,
            #6a3b18,
            #241309 58%,
            #160d08
        );
}

.shop-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            90deg,
            #1b1009 5%,
            #1b1009d9 43%,
            transparent 100%
        );
}

.shop-hero-content {
    position: relative;
    z-index: 2;
    animation: shop-rise 0.8s ease both;
}

.shop-eyebrow {
    margin: 0 0 18px;

    color: var(--shop-gold);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.shop-hero h1 {
    margin: 0 0 20px;

    font-family: "Playfair Display", serif;
    font-size: clamp(40px, 5.2vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.shop-hero h1 em {
    color: #e9c36b;
    font-style: normal;
}

.shop-hero-subtitle {
    margin: 0;

    color: #e8ddce;

    font-size: 14px;
    line-height: 1.8;
}

.shop-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;

    margin: 24px 0;

    color: #e7d7b9;
    font-size: 10px;
}

.shop-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    padding: 14px 22px;

    border-radius: 6px;

    color: #251708;
    background: linear-gradient(
        120deg,
        #f3d88b,
        #d7a843
    );

    text-decoration: none;
    font-size: 12px;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.shop-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px #0005;
}

.shop-button b {
    font-size: 16px;
}

.shop-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;

    width: 60%;
    height: 100%;

    overflow: hidden;
}

.shop-hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 43%;

    opacity: 0.92;

    -webkit-mask-image:
        linear-gradient(90deg, transparent, #000 25%);

    mask-image:
        linear-gradient(90deg, transparent, #000 25%);
}


/* =========================================
   3. CATEGORY SECTION
========================================= */

.shop-categories {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;

    padding: 24px 4%;

    background: #fffdf9;
}

.shop-categories a {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 9px;

    color: #2c2116;
    text-align: center;
    text-decoration: none;

    font-size: 11px;
    font-weight: 600;

    transition: transform 0.3s ease;
}

.shop-categories a:hover {
    transform: translateY(-5px);
}

.shop-categories img {
    width: 100px;
    height: 100px;

    border-radius: 50%;
    object-fit: cover;

    background: #f2e7d4;

    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.shop-categories a:hover img {
    box-shadow: 0 8px 20px #9b702c30;
    transform: scale(1.04);
}


/* =========================================
   4. PROMOTIONAL BANNERS
========================================= */

.shop-promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;

    padding: 22px 4%;
}

.shop-promo {
    position: relative;

    display: flex;
    align-items: center;

    height: 190px;

    overflow: hidden;
    border-radius: 9px;

    color: #fff;
    text-decoration: none;
}

.shop-promo > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.shop-promo:hover > img {
    transform: scale(1.06);
}

.shop-promo::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            #1b1426f5 0%,
            #1b1426c9 48%,
            transparent
        );
}

.shop-promo-puja::after {
    background:
        linear-gradient(
            90deg,
            #f4e3c8f5 0%,
            #f4e3c8d9 48%,
            transparent
        );
}

.shop-promo-copy {
    position: relative;
    z-index: 1;

    display: grid;
    gap: 9px;

    max-width: 75%;
    padding: 24px;
}

.shop-promo-copy small {
    color: #d9b15f;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.shop-promo-copy strong {
    font-family: "Playfair Display", serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.08;
}

.shop-promo-copy em {
    width: max-content;

    margin-top: 3px;
    padding-bottom: 5px;

    border-bottom: 1px solid currentColor;

    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.shop-promo-puja .shop-promo-copy {
    color: #2b1a0d;
}

.shop-promo-puja .shop-promo-copy small {
    color: #9a671e;
}


/* =========================================
   5. SECTION HEADINGS
========================================= */

.shop-section {
    padding: 32px 4%;
}

.shop-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 22px;
}

.shop-section-head small {
    color: var(--shop-primary);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.shop-section-head h2 {
    margin: 6px 0;

    color: #2a1e12;

    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 600;
}

.shop-section-head p {
    margin: 0;

    color: var(--shop-muted);
    font-size: 12px;
    line-height: 1.6;
}

.shop-section-head > a {
    flex-shrink: 0;

    padding-bottom: 6px;

    border-bottom: 1px solid #b88b40;

    color: #382817;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
}


/* =========================================
   6. PRODUCT GRID
========================================= */

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.shop-product {
    min-width: 0;

    overflow: hidden;

    border: 1px solid #eee6db;
    border-radius: 9px;

    background: #fff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.shop-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px #4d321414;
}

.shop-product-photo {
    position: relative;

    height: 155px;

    overflow: hidden;
    background: #f4ede2;
}

.shop-product-photo > img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.shop-product:hover .shop-product-photo > img {
    transform: scale(1.06);
}

.shop-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;

    padding: 5px 8px;

    border-radius: 3px;

    color: #fff;
    background: #23754c;

    font-size: 8px;
    font-weight: 600;
}

.shop-wish {
    position: absolute;
    top: 8px;
    right: 8px;

    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    color: #493628;
    background: #ffffffed;

    font-size: 19px;
    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.shop-wish:hover {
    transform: scale(1.1);
}

.shop-wish.shop-liked {
    color: #bd493d;
}

.shop-product-info {
    padding: 11px;
}

.shop-product-info h3 {
    margin: 0 0 5px;

    color: #302419;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.shop-product-info p {
    margin: 0;

    color: #8b8177;
    font-size: 9px;
}

.shop-stars {
    margin: 8px 0;

    color: #d89d23;
    font-size: 11px;
    letter-spacing: 1px;
}

.shop-stars small {
    color: #8d8378;
    font-size: 9px;
    letter-spacing: 0;
}

.shop-product-info > strong {
    display: block;

    margin-bottom: 10px;

    color: #2d2116;
    font-size: 14px;
}

.shop-product-info del {
    margin-left: 4px;

    color: #a49c92;
    font-size: 10px;
    font-weight: 400;
}

.shop-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 10px;

    border: 0;
    border-radius: 5px;

    color: #fff;
    background: #b47a1c;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;

    transition: background 0.25s ease;
}

.shop-cart:hover {
    background: #8d5b13;
}

.shop-cart span {
    font-size: 15px;
}


/* =========================================
   7. IMAGE BANNERS
========================================= */

.shop-banner-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;

    padding: 10px 4% 24px;
}

.shop-image-banner {
    position: relative;

    display: block;

    height: 175px;

    overflow: hidden;
    border-radius: 9px;

    color: #fff;
    text-decoration: none;
}

.shop-image-banner > img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.shop-image-banner:hover > img {
    transform: scale(1.05);
}

.shop-image-banner::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            #21112bd9,
            #21112b80 55%,
            transparent
        );
}

.shop-image-banner:nth-child(2)::after {
    background:
        linear-gradient(
            90deg,
            #271507ed,
            #27150772 58%,
            transparent
        );
}

.shop-image-banner > span {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 1;

    display: grid;
    gap: 8px;
}

.shop-image-banner small {
    color: #e9c36b;
    font-size: 9px;
    letter-spacing: 0.15em;
}

.shop-image-banner b {
    font-family: "Playfair Display", serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.1;
}

.shop-image-banner em {
    margin-top: 3px;

    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}


/* =========================================
   8. OCCASION SECTION
========================================= */

.shop-occasion-section {
    padding-top: 25px;
}

.shop-occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.shop-occasion-grid a {
    overflow: hidden;

    border: 1px solid #eee5d9;
    border-radius: 8px;

    background: #fff;

    color: #302416;
    text-align: center;
    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.shop-occasion-grid a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px #4d321414;
}

.shop-occasion-grid img {
    width: 100%;
    margin-bottom: 12px;

    object-fit: cover;
}

.shop-occasion-grid b {
    display: block;

    padding: 0 5px 12px;

    font-size: 11px;
}


/* =========================================
   9. SPIRITUAL BOOKS
========================================= */

.shop-books {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    min-height: 155px;

    margin: 15px 4% 40px;
    padding: 25px 3%;

    overflow: hidden;
    border-radius: 10px;

    background:
        linear-gradient(
            100deg,
            #f1e3ce,
            #fff7eb
        );
}

.shop-books small {
    color: #9a671e;
}

.shop-books h2 {
    margin: 8px 0;

    color: #302115;

    font-family: "Playfair Display", serif;
    font-size: 29px;
    font-weight: 600;
}

.shop-books p {
    color: #716354;
    font-size: 11px;
    line-height: 1.6;
}

.shop-books a {
    display: inline-block;

    padding-bottom: 5px;

    border-bottom: 1px solid #b58a42;

    color: #342313;
    text-decoration: none;

    font-size: 11px;
    font-weight: 700;
}

.shop-book-art img {
    width: 260px;
    border-radius: 6px;

    object-fit: cover;
    object-position: center 70%;
}


/* =========================================
   10. CART NOTIFICATION
========================================= */

.shop-notice {
    position: fixed;
    bottom: 20px;
    left: 50%;
    z-index: 999;

    padding: 12px 20px;

    border-radius: 30px;

    color: #fff;
    background: #25180e;

    font-size: 12px;

    opacity: 0;
    pointer-events: none;

    transform: translate(-50%, 15px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.shop-notice.shop-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}


/* =========================================
   11. ANIMATIONS
========================================= */

@keyframes shop-rise {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-reveal {
    opacity: 0;
    transform: translateY(20px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.shop-reveal.shop-revealed {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   12. TABLET RESPONSIVE
========================================= */

@media (max-width: 1050px) {

    .shop-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shop-categories {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .shop-product-photo {
        height: 180px;
    }

}


/* =========================================
   13. MOBILE RESPONSIVE
========================================= */

@media (max-width: 650px) {

    /* HERO */

    .shop-hero {
        display: block;

        min-height: 590px;

        padding: 42px 22px;
    }

    .shop-hero::before {
        background:
            linear-gradient(
                180deg,
                #1b1009 0%,
                #1b1009e8 43%,
                #1b100966
            );
    }

    .shop-hero h1 {
        font-size: 44px;
    }

    .shop-hero-subtitle {
        font-size: 12px;
    }

    .shop-benefits {
        gap: 9px;
        font-size: 9px;
    }

    .shop-hero-image {
        top: auto;
        bottom: 0;

        width: 100%;
        height: 58%;
    }

    .shop-hero-image img {
        object-position: 65% center;

        -webkit-mask-image:
            linear-gradient(180deg, transparent, #000 28%);

        mask-image:
            linear-gradient(180deg, transparent, #000 28%);
    }


    /* CATEGORIES */

    .shop-categories {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px 5px;

        padding: 20px 10px;
    }

    .shop-categories img {
        width: 58px;
        height: 58px;
    }

    .shop-categories a {
        font-size: 10px;
    }


    /* BANNERS */

    .shop-promo-grid,
    .shop-banner-pair {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .shop-promo {
        height: 175px;
    }

    .shop-promo-copy strong {
        font-size: 24px;
    }


    /* PRODUCT SECTION */

    .shop-section {
        padding: 26px 14px;
    }

    .shop-section-head h2 {
        font-size: 27px;
    }

    .shop-section-head p {
        max-width: 230px;
        line-height: 1.5;
    }

    .shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .shop-product-photo {
        height: 150px;
    }

    .shop-product-info {
        padding: 10px;
    }


    /* IMAGE BANNERS */

    .shop-image-banner {
        height: 155px;
    }


    /* OCCASIONS */

    .shop-occasion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .shop-occasion-grid img {
        height: 105px;
    }


    /* BOOKS */

    .shop-books {
        display: block;

        margin: 8px 14px 25px;
        padding: 20px;
    }

    .shop-books h2 {
        font-size: 25px;
    }

    .shop-book-art img {
        width: 100%;
        /*height: 140px;*/

        margin-top: 18px;
    }

}


/* =========================================
   14. SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .shop-hero h1 {
        font-size: 37px;
    }

    .shop-product-photo {
        height: 125px;
    }

    .shop-product-info h3 {
        font-size: 10px;
    }

    .shop-section-head h2 {
        font-size: 24px;
    }

}


/* =========================================
   15. ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .shop-page *,
    .shop-page *::before,
    .shop-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

}
