/* =====================================================
   SATRUPA SHOP PAGE
===================================================== */

body {
    background: #f8f6f2;
}


/* =====================================================
   HEADER
===================================================== */

.shop-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, .97);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid #eee;
}

.shop-header .logo {
    color: #3a4921 !important;
    text-decoration: none !important;

    font-size: 25px;
    font-weight: 700;

    letter-spacing: 4px;
}

.shop-header .nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.shop-header .nav-links a {
    color: #555 !important;
    text-decoration: none !important;

    font-size: 13px;
    font-weight: 500;

    transition: .25s;
}

.shop-header .nav-links a:hover,
.shop-header .nav-links a.active {
    color: #3a4921 !important;
}

.shop-header .cart-link {
    display: flex;
    align-items: center;
    gap: 7px;
}

.shop-header #cart-count {
    min-width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #3a4921;
    color: white;

    font-size: 10px;
    font-weight: 700;
}


/* =====================================================
   SHOP HERO
===================================================== */

.shop-hero {
    position: relative;

    width: min(1380px, calc(100% - 40px));

    height: 520px;

    margin: 20px auto 0;

    overflow: hidden;

    border-radius: 25px;

    background: #30391d;
}

.shop-hero-image,
.shop-hero-image img {
    width: 100%;
    height: 100%;
}

.shop-hero-image img {
    display: block;

    object-fit: cover;

    transition: transform .8s ease;
}

.shop-hero:hover .shop-hero-image img {
    transform: scale(1.02);
}

.shop-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(25, 32, 14, .82),
            rgba(25, 32, 14, .45) 45%,
            rgba(25, 32, 14, .08));
}

.shop-hero-content {
    position: absolute;

    z-index: 2;

    left: 8%;
    top: 50%;

    transform: translateY(-50%);

    max-width: 570px;

    color: white;
}

.shop-hero-content>span {
    display: block;

    margin-bottom: 15px;

    color: #e0c45a;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.shop-hero-content h1 {
    margin-bottom: 18px;

    color: white;

    font-size: clamp(40px, 5vw, 62px);

    line-height: 1.08;

    font-weight: 600;
}

.shop-hero-content p {
    max-width: 470px;

    margin-bottom: 28px;

    color: rgba(255, 255, 255, .82);

    font-size: 14px;

    line-height: 1.8;
}

.shop-hero-btn {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 22px;

    border-radius: 8px;

    background: #d4af37;

    color: #202614 !important;

    text-decoration: none !important;

    font-size: 13px;

    font-weight: 700;

    transition: .25s;
}

.shop-hero-btn:hover {
    background: #e4c75c;

    transform: translateY(-3px);
}


/* =====================================================
   SEARCH + CATEGORIES
===================================================== */

.shop-controls {
    width: min(1200px, calc(100% - 40px));

    margin: 0 auto;

    padding: 55px 0 30px;
}

.shop-search {
    position: relative;

    max-width: 700px;

    margin: 0 auto 25px;
}

.shop-search i {
    position: absolute;

    left: 20px;
    top: 50%;

    transform: translateY(-50%);

    color: #888;

    font-size: 14px;
}

.shop-search input {
    width: 100%;

    height: 54px;

    padding: 0 20px 0 48px;

    border: 1px solid #e3e0d9;

    border-radius: 30px;

    background: white;

    color: #333;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    outline: none;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .04);

    transition: .25s;
}

.shop-search input:focus {
    border-color: #3a4921;

    box-shadow:
        0 0 0 3px rgba(58, 73, 33, .08);
}

.category-list {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;
}

.category-btn {
    padding: 10px 20px;

    border: 1px solid #ddd9d0;

    border-radius: 30px;

    background: white;

    color: #555;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    font-weight: 500;

    cursor: pointer;

    transition: .25s;
}

.category-btn:hover,
.category-btn.active {
    background: #3a4921;

    border-color: #3a4921;

    color: white;
}


/* =====================================================
   PRODUCTS
===================================================== */

.products-section {
    width: min(1200px, calc(100% - 40px));

    margin: auto;

    padding: 35px 0 90px;
}

.products-heading {
    margin-bottom: 40px;

    text-align: center;
}

.products-heading>span {
    display: block;

    margin-bottom: 10px;

    color: #a17f20;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}

.products-heading h2 {
    margin-bottom: 12px;

    color: #3a4921;

    font-size: 38px;

    font-weight: 600;
}

.products-heading p {
    max-width: 650px;

    margin: auto;

    color: #777;

    font-size: 13px;

    line-height: 1.8;
}


/* IMPORTANT:
   Existing main.js still renders
   into #productsGrid */

.products-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* =====================================================
   PRODUCT CARD
===================================================== */

.products-grid .product-card {
    position: relative;

    overflow: hidden;

    padding: 14px;

    background: white;

    border: 1px solid #ebe7df;

    border-radius: 20px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .05);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.products-grid .product-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, .11);
}

.products-grid .product-card img {
    width: 100%;

    height: 390px;

    display: block;

    object-fit: cover;

    border-radius: 14px;

    background: #f4f1ea;

    transition: transform .5s ease;
}

.products-grid .product-card:hover img {
    transform: scale(1.035);
}

.products-grid .product-card h3 {
    margin: 17px 4px 6px;

    color: #292929;

    font-size: 17px;

    font-weight: 600;
}

.products-grid .product-card .price {
    margin: 0 4px 15px;

    color: #3a4921;

    font-size: 18px;

    font-weight: 700;
}


/* PRODUCT BUTTON */

.products-grid .product-card button {
    width: 100%;

    min-height: 44px;

    padding: 11px 15px;

    border: none;

    border-radius: 10px;

    background: #3a4921;

    color: white;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: .25s;
}

.products-grid .product-card button:hover {
    background: #293415;

    transform: translateY(-2px);
}


/* =====================================================
   WHY SATRUPA
===================================================== */

.shop-about {
    padding: 90px 20px;

    background: white;

    border-top: 1px solid #eee;
}

.shop-about-inner {
    width: min(850px, 100%);

    margin: auto;

    text-align: center;
}

.shop-about-inner>span {
    color: #a17f20;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}

.shop-about-inner h2 {
    margin: 15px 0 20px;

    color: #3a4921;

    font-size: 38px;

    font-weight: 600;
}

.shop-about-inner p {
    color: #777;

    font-size: 14px;

    line-height: 1.9;
}


/* =====================================================
   CTA
===================================================== */

.shop-cta {
    padding: 80px 20px;

    background:
        linear-gradient(135deg,
            #3a4921,
            #273016);

    color: white;

    text-align: center;
}

.shop-cta-inner {
    width: min(750px, 100%);

    margin: auto;
}

.shop-cta-inner>span {
    color: #d4af37;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}

.shop-cta-inner h2 {
    margin: 14px 0;

    color: white;

    font-size: 38px;

    font-weight: 600;
}

.shop-cta-inner p {
    margin-bottom: 25px;

    color: rgba(255, 255, 255, .7);

    font-size: 13px;
}

.shop-cta-inner a {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 13px 24px;

    border-radius: 30px;

    background: #d4af37;

    color: #202614 !important;

    text-decoration: none !important;

    font-size: 13px;

    font-weight: 700;

    transition: .25s;
}

.shop-cta-inner a:hover {
    background: #e4c75c;

    transform: translateY(-3px);
}


/* =====================================================
   FOOTER
===================================================== */

.premium-footer {
    margin-top: 0 !important;

    padding: 60px 30px 25px !important;

    background: #1e2412 !important;

    color: white !important;
}

.premium-footer .footer-container {
    width: min(1100px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 45px;
}

.premium-footer .footer-box {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.premium-footer .footer-box h3 {
    margin-bottom: 10px;

    color: #d4af37 !important;

    font-size: 15px;

    letter-spacing: 1px;
}

.premium-footer .footer-box p,
.premium-footer .footer-box a {
    color: rgba(255, 255, 255, .6) !important;

    font-size: 11px;

    line-height: 1.8;
}

.premium-footer .footer-box a {
    text-decoration: none !important;

    transition: .2s;
}

.premium-footer .footer-box a:hover {
    color: #d4af37 !important;
}

.premium-footer .footer-bottom {
    width: min(1100px, 100%);

    margin: 40px auto 0;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, .1);

    color: rgba(255, 255, 255, .4);

    text-align: center;

    font-size: 10px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .premium-footer .footer-container {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .shop-hero {
        width: calc(100% - 20px);

        height: 470px;

        border-radius: 18px;
    }

    .shop-hero-overlay {
        background:
            linear-gradient(180deg,
                rgba(20, 25, 10, .10),
                rgba(20, 25, 10, .88));
    }

    .shop-hero-content {
        left: 25px;
        right: 25px;

        top: auto;
        bottom: 35px;

        transform: none;
    }

    .shop-hero-content h1 {
        font-size: 38px;
    }

    .shop-hero-content p {
        font-size: 12px;
    }

    .shop-controls {
        width: calc(100% - 30px);

        padding-top: 35px;
    }

    .category-list {
        justify-content: flex-start;
    }

    .category-btn {
        padding: 9px 15px;

        font-size: 11px;
    }

    .products-section {
        width: calc(100% - 30px);

        padding-bottom: 60px;
    }

    .products-heading h2 {
        font-size: 30px;
    }

    .products-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .products-grid .product-card img {
        height: 390px;
    }

    .shop-about {
        padding: 65px 20px;
    }

    .shop-about-inner h2,
    .shop-cta-inner h2 {
        font-size: 30px;
    }

    .premium-footer .footer-container {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 450px) {

    .shop-hero {
        height: 450px;
    }

    .shop-hero-content h1 {
        font-size: 32px;
    }

    .shop-hero-btn {
        width: 100%;

        justify-content: center;
    }

    .products-grid .product-card img {
        height: 350px;
    }

}

/* =====================================================
   RESPONSIVE — FINAL SHOP UI
   ===================================================== */

/* Tablet */
@media (max-width: 1000px) {

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .premium-footer .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

}


/* Mobile */
@media (max-width: 768px) {

    /* ---------- HEADER ---------- */

    .shop-header .nav-container {
        min-height: 68px;
        padding: 0 16px;
    }

    .shop-header .logo {
        font-size: 21px;
        letter-spacing: 3px;
    }

    .shop-header .nav-links {
        position: absolute;
        left: 10px;
        right: 10px;
        top: calc(100% + 8px);

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;

        padding: 10px;

        background: #fff;
        border: 1px solid #eee;
        border-radius: 15px;

        box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
    }

    .shop-header .nav-links.mobile-open {
        display: flex;
    }

    .shop-header .nav-links a {
        display: block;
        margin: 0 !important;
        padding: 12px 14px;

        border-radius: 8px;
        font-size: 13px;
    }

    .shop-header .nav-links a:hover,
    .shop-header .nav-links a.active {
        background: #f4f5ed;
        color: #3a4921 !important;
    }

    .shop-header .nav-links a::after {
        display: none;
    }

    /* Main common mobile-menu button */
    .shop-header .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        padding: 0;

        border: none;
        border-radius: 10px;

        background: transparent;
        color: #3a4921;

        font-size: 20px;
        cursor: pointer;
    }


    /* ---------- HERO ---------- */

    .shop-hero {
        width: calc(100% - 16px);
        height: 500px;

        margin-top: 8px;
        border-radius: 18px;
    }

    .shop-hero-image img {
        object-position: center center;
        animation: none !important;
    }

    .shop-hero-overlay {
        background:
            linear-gradient(180deg,
                rgba(20, 25, 10, .05) 0%,
                rgba(20, 25, 10, .20) 38%,
                rgba(20, 25, 10, .88) 100%);
    }

    .shop-hero-content {
        left: 24px;
        right: 24px;

        top: auto;
        bottom: 30px;

        transform: none;

        max-width: none;
    }

    .shop-hero-content>span {
        margin-bottom: 10px;
        font-size: 10px;
        letter-spacing: 1.6px;
    }

    .shop-hero-content h1 {
        margin-bottom: 14px;
        font-size: 36px;
        line-height: 1.06;
    }

    .shop-hero-content p {
        max-width: 320px;
        margin-bottom: 20px;

        font-size: 12px;
        line-height: 1.6;
    }

    .shop-hero-btn {
        width: 100%;
        justify-content: center;

        padding: 14px 18px;
    }


    /* ---------- SEARCH + CATEGORIES ---------- */

    .shop-controls {
        width: calc(100% - 30px);
        padding: 35px 0 25px;
    }

    .shop-search {
        max-width: none;
        margin-bottom: 18px;
    }

    .shop-search input {
        height: 50px;
        font-size: 13px;
    }

    .category-list {
        justify-content: flex-start;

        flex-wrap: nowrap;
        overflow-x: auto;

        padding: 3px 2px 8px;

        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-list::-webkit-scrollbar {
        display: none;
    }

    .category-btn {
        flex: 0 0 auto;

        padding: 9px 15px;
        font-size: 11px;
        white-space: nowrap;
    }


    /* ---------- PRODUCTS ---------- */

    .products-section {
        width: calc(100% - 30px);
        padding: 25px 0 65px;
    }

    .products-heading {
        margin-bottom: 28px;
    }

    .products-heading>span {
        font-size: 10px;
    }

    .products-heading h2 {
        font-size: 30px;
        line-height: 1.15;
    }

    .products-heading p {
        font-size: 12px;
        line-height: 1.7;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid .product-card {
        padding: 12px;
        border-radius: 17px;
    }

    .products-grid .product-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;

        object-fit: cover;
        border-radius: 12px;
    }

    .products-grid .product-card h3 {
        margin: 14px 3px 6px;
        font-size: 16px;
    }

    .products-grid .product-card .price {
        margin: 0 3px 13px;
        font-size: 17px;
    }

    .products-grid .product-card button {
        min-height: 45px;
        font-size: 12px;
    }


    /* ---------- WHY SATRUPA ---------- */

    .shop-about {
        padding: 65px 20px;
    }

    .shop-about-inner h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .shop-about-inner p {
        font-size: 13px;
        line-height: 1.8;
    }


    /* ---------- CTA ---------- */

    .shop-cta {
        padding: 65px 20px;
    }

    .shop-cta-inner h2 {
        font-size: 30px;
        line-height: 1.2;
    }


    /* ---------- FOOTER ---------- */

    .premium-footer {
        padding: 50px 20px 22px !important;
    }

    .premium-footer .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}


/* Small mobile */
@media (max-width: 480px) {

    .shop-header .nav-container {
        min-height: 64px;
        padding: 0 14px;
    }

    .shop-header .logo {
        font-size: 20px;
        letter-spacing: 2.5px;
    }

    .shop-header .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }


    /* HERO */

    .shop-hero {
        width: calc(100% - 16px);
        height: 480px;
        border-radius: 16px;
    }

    .shop-hero-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
        transform: none !important;
        animation: none !important;
    }

    .shop-hero-content {
        left: 21px;
        right: 21px;
        bottom: 25px;
    }

    .shop-hero-content>span {
        font-size: 9px;
        letter-spacing: 1.4px;
    }

    .shop-hero-content h1 {
        font-size: 32px;
    }

    .shop-hero-content p {
        max-width: 295px;
        font-size: 11px;
        line-height: 1.55;
    }

    .shop-hero-btn {
        padding: 13px 16px;
        font-size: 12px;
    }


    /* SEARCH */

    .shop-controls {
        width: calc(100% - 24px);
        padding-top: 28px;
    }

    .shop-search input {
        height: 48px;
    }


    /* PRODUCTS */

    .products-section {
        width: calc(100% - 24px);
    }

    .products-heading h2 {
        font-size: 27px;
    }

    .products-heading p {
        font-size: 11px;
    }

    .products-grid .product-card {
        padding: 10px;
        border-radius: 15px;
    }

    .products-grid .product-card img {
        aspect-ratio: 4 / 5;
        border-radius: 11px;
    }


    /* ABOUT + CTA */

    .shop-about {
        padding: 55px 18px;
    }

    .shop-about-inner h2,
    .shop-cta-inner h2 {
        font-size: 27px;
    }

    .shop-about-inner p {
        font-size: 12px;
    }

    .shop-cta {
        padding: 55px 18px;
    }


    /* FOOTER */

    .premium-footer {
        padding: 45px 18px 20px !important;
    }

}


/* Extra-small phones */
@media (max-width: 360px) {

    .shop-hero {
        height: 455px;
    }

    .shop-hero-content h1 {
        font-size: 29px;
    }

    .products-heading h2 {
        font-size: 25px;
    }
}


/* =====================================================
   SHOP MOBILE BANNER FINAL FIX
   ===================================================== */

@media (max-width: 768px) {

    .shop-hero {
        width: calc(100% - 16px);
        height: 460px;
        margin: 8px auto 0;
        border-radius: 18px;
        overflow: hidden;
    }

    .shop-hero-image,
    .shop-hero-image img {
        width: 100%;
        height: 100%;
    }

    .shop-hero-image img {
        display: block;
        object-fit: cover;
        object-position: 65% center;
        transform: none !important;
        animation: none !important;
    }

    .shop-hero-content {
        left: 22px;
        right: 22px;
        bottom: 25px;
        top: auto;
        transform: none;
    }

    .shop-hero-content h1 {
        font-size: 32px;
        line-height: 1.08;
    }

    .shop-hero-content p {
        max-width: 300px;
        font-size: 12px;
        line-height: 1.55;
    }

    .shop-hero-btn {
        width: 100%;
        justify-content: center;
    }
}


@media (max-width: 480px) {

    .shop-hero {
        height: 440px;
        width: calc(100% - 16px);
    }

    .shop-hero-image img {
        object-position: 65% center;
    }

    .shop-hero-content {
        left: 20px;
        right: 20px;
        bottom: 22px;
    }

    .shop-hero-content h1 {
        font-size: 29px;
    }

}


/* ==========================================
   FINAL MOBILE PRODUCT VISIBILITY FIX
   ========================================== */

@media (max-width: 768px) {

    .products-grid {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        width: 100% !important;

        max-width: 100% !important;

        visibility: visible !important;

        opacity: 1 !important;

        height: auto !important;

        overflow: visible !important;
    }

    .products-grid .product-card {
        display: block !important;

        width: 100% !important;

        visibility: visible !important;

        opacity: 1 !important;

        height: auto !important;
    }

    .products-grid .product-card img {
        display: block !important;

        width: 100% !important;

        height: auto !important;

        aspect-ratio: 4 / 5;

        object-fit: cover;
    }

}


@media (max-width: 768px) {

    .shop-hero {
        height: 460px;
        overflow: hidden;
    }

    .shop-hero-image,
    .shop-hero-image img {
        width: 100%;
        height: 100%;
    }

    .shop-hero-image img {
        display: block;

        object-fit: cover;

        object-position: center center;

        transform: none !important;

        animation: none !important;
    }

}


/* ===============================
   MOBILE MENU BUTTON
   =============================== */

.mobile-menu-btn {
    display: none;
}


/* ===============================
   MOBILE
   =============================== */

@media (max-width: 768px) {

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

}




/* ===== FINAL SHOP BANNER FACE FIX ===== */

.shop-hero-image,
.shop-hero-image img {
    width: 100%;
    height: 100%;
}

.shop-hero-image img {
    display: block;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
    animation: none !important;
}