/* =========================================================
   GATRAD KRUPA
   HOME PAGE — PREMIUM CSS
   ========================================================= */


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 650px;

    max-width: 1500px;

    margin: auto;

    padding: 80px 7%;

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    align-items: center;

    overflow: hidden;

    position: relative;

    background:
        radial-gradient(
            circle at 80% 50%,
            #e8e4d4 0,
            transparent 35%
        );

}


.hero::before {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    right: -180px;

    top: -180px;

    border-radius: 50%;

    background:
        rgba(83, 100, 66, .06);

    animation:
        heroOrb 8s ease-in-out infinite;

}


.hero-content {

    position: relative;

    z-index: 2;

    animation:
        heroText .9s ease both;

}


@keyframes heroText {

    from {

        opacity: 0;

        transform:
            translateY(30px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


.hero h1 {

    font-size:
        clamp(45px, 5vw, 75px);

    line-height: 1.02;

    color:
        var(--green-dark);

    margin-bottom: 25px;

}


.hero-description {

    max-width: 430px;

    color:
        var(--muted);

    font-size: 17px;

    margin-bottom: 32px;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


.hero-features {

    display: flex;

    gap: 35px;

    margin-top: 45px;

}


.hero-features div {

    display: flex;

    flex-direction: column;

}


.hero-features strong {

    font-size: 12px;

    color:
        var(--green);

}


.hero-features span {

    font-size: 11px;

    color:
        var(--muted);

}


/* =========================================================
   HERO PRODUCTS
========================================================= */

.hero-products {

    height: 520px;

    position: relative;

}


.hero-product {

    position: absolute;

    animation:
        productFloat 5s ease-in-out infinite;

}


.hero-product img {

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 30px rgba(0,0,0,.18)
        );

    transition:
        filter .4s ease,
        transform .4s ease;

}


.hero-product:hover img {

    filter:
        drop-shadow(
            0 30px 40px rgba(0,0,0,.24)
        );

}


.hero-kesuda {

    width: 55%;

    left: 0;

    top: 20%;

    z-index: 3;

}


.hero-neem {

    width: 52%;

    right: 0;

    top: 5%;

    z-index: 2;

    animation-delay: .8s;

}


.hero-turmeric {

    width: 52%;

    right: 8%;

    bottom: 3%;

    z-index: 4;

    animation-delay: 1.4s;

}


@keyframes productFloat {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(0);

    }

    50% {

        transform:
            translateY(-13px)
            rotate(1deg);

    }

}


@keyframes heroOrb {

    0%,
    100% {

        transform:
            translate(0, 0)
            scale(1);

    }

    50% {

        transform:
            translate(-30px, 30px)
            scale(1.08);

    }

}



/* =========================================================
   HEADER ENHANCEMENTS
========================================================= */


/* LOGO */

.brand-logo {

    width: 46px;

    height: 46px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border-radius: 50%;

    background: #fff;

    border:
        1px solid rgba(83,100,66,.12);

    box-shadow:
        0 6px 18px rgba(40,45,30,.08);

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}


.brand-logo img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


.brand:hover .brand-logo {

    transform:
        rotate(-4deg)
        scale(1.06);

    box-shadow:
        0 10px 25px rgba(40,45,30,.14);

}


/* =========================================================
   MY ORDERS BUTTON
========================================================= */

.orders-button {

    min-height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding:
        0 13px;

    border:
        1px solid rgba(83,100,66,.18);

    border-radius: 9px;

    background:
        rgba(255,255,255,.7);

    color:
        var(--green-dark);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .7px;

    white-space: nowrap;

    position: relative;

    overflow: hidden;

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;

}


.orders-button::before {

    content: "";

    position: absolute;

    inset: 0;

    transform:
        translateX(-105%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(83,100,66,.08),
            transparent
        );

    transition:
        transform .55s ease;

}


.orders-button:hover {

    color:
        var(--green);

    background:
        #f1f4ec;

    border-color:
        rgba(83,100,66,.3);

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px rgba(40,45,30,.09);

}


.orders-button:hover::before {

    transform:
        translateX(105%);

}


.orders-icon {

    font-size: 14px;

    transition:
        transform .3s ease;

}


.orders-button:hover .orders-icon {

    transform:
        translateY(-2px)
        rotate(-5deg);

}



/* =========================================================
   CART BUTTON POLISH
========================================================= */

.cart-button {

    position: relative;

    transition:
        transform .25s ease;

}


.cart-button:hover {

    transform:
        translateY(-2px);

}


.cart-count {

    transition:
        transform .25s ease;

}


.cart-button:hover .cart-count {

    transform:
        scale(1.12);

}



/* =========================================================
   DONATE WIDGET
========================================================= */

.donate-widget {

    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 5000;

    width: 125px;

    padding: 10px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 7px;

    background:
        rgba(255,255,255,.94);

    border:
        1px solid rgba(83,100,66,.18);

    border-radius: 16px;

    box-shadow:
        0 15px 45px rgba(30,38,25,.15);

    backdrop-filter:
        blur(15px);

    animation:
        donateIn .8s .7s
        cubic-bezier(.2,.8,.2,1)
        both;

}


.donate-label {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    color:
        var(--green-dark);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .8px;

}


.donate-heart {

    color:
        var(--green);

    font-size: 15px;

    animation:
        donatePulse 2s ease-in-out infinite;

}


.donate-qr-link {

    width: 92px;

    height: 92px;

    padding: 5px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff;

    border:
        1px solid #e5e7df;

    border-radius: 10px;

    overflow: hidden;

    cursor: pointer;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.donate-qr-link img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

}


.donate-qr-link:hover {

    transform:
        scale(1.045);

    box-shadow:
        0 8px 20px rgba(40,45,30,.14);

}


.donate-hint {

    color:
        var(--muted);

    font-size: 8px;

    text-align: center;

    letter-spacing: .3px;

}


@keyframes donateIn {

    from {

        opacity: 0;

        transform:
            translateY(30px)
            scale(.92);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


@keyframes donatePulse {

    0%,
    100% {

        transform:
            scale(1);

    }

    50% {

        transform:
            scale(1.18);

    }

}



/* =========================================================
   COLLECTION
========================================================= */

.collection {

    padding:
        100px 5%;

    background:
        #fbfaf5;

}


.section-heading {

    text-align: center;

    max-width: 700px;

    margin:
        0 auto 55px;

}


.section-heading p:last-child {

    color:
        var(--muted);

    margin-top: 15px;

}


.product-grid {

    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;

}


.product-card {

    background: white;

    border:
        1px solid #e9e4d9;

    border-radius:
        var(--radius);

    overflow: hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}


.product-card:hover {

    transform:
        translateY(-9px);

    box-shadow:
        0 25px 55px
        rgba(40,45,30,.12);

}


.product-image {

    height: 330px;

    position: relative;

    background: #f8f8f5;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}


.product-image::after {

    content: "";

    position: absolute;

    width: 160px;

    height: 160px;

    border-radius: 50%;

    background:
        rgba(83,100,66,.045);

    transition:
        transform .5s ease;

}


.product-card:hover
.product-image::after {

    transform:
        scale(1.35);

}


.product-image img {

    width: 92%;

    height: 92%;

    object-fit: contain;

    position: relative;

    z-index: 1;

    transition:
        transform .45s ease;

}


.product-card:hover
.product-image img {

    transform:
        scale(1.06);

}


.product-badge {

    position: absolute;

    top: 16px;

    left: 16px;

    background:
        var(--green);

    color: white;

    font-size: 9px;

    padding: 6px 10px;

    border-radius: 4px;

    font-weight: 700;

    z-index: 2;

}


.product-info {

    padding: 24px;

}


.product-category {

    color:
        var(--muted);

    font-size: 9px;

    letter-spacing: 1.4px;

    font-weight: 700;

}


.product-info h3 {

    font-family:
        "Playfair Display",
        serif;

    font-size: 25px;

    margin-top: 8px;

}


.product-info p {

    font-size: 10px;

    color:
        var(--muted);

    letter-spacing: 1px;

}


.product-bottom {

    margin-top: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

}


.product-bottom strong {

    font-size: 20px;

    color:
        var(--green-dark);

}


.add-cart {

    border:
        1px solid var(--green);

    background:
        transparent;

    color:
        var(--green);

    padding:
        10px 14px;

    border-radius: 5px;

    font-size: 10px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;

}


.add-cart:hover {

    background:
        var(--green);

    color:
        white;

    transform:
        translateY(-2px);

    box-shadow:
        0 7px 18px rgba(83,100,66,.18);

}


.add-cart:active {

    transform:
        translateY(0)
        scale(.97);

}


.collection-button {

    text-align: center;

    margin-top: 40px;

}



/* =========================================================
   VALUES
========================================================= */

.values {

    max-width: 1250px;

    margin: 55px auto;

    padding: 28px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    background:
        #f0ecdf;

    border-radius: 18px;

}


.value-item {

    display: flex;

    gap: 15px;

    align-items: center;

    padding:
        0 20px;

    border-right:
        1px solid #d7d0bf;

    transition:
        transform .3s ease;

}


.value-item:hover {

    transform:
        translateY(-3px);

}


.value-item:last-child {

    border-right: 0;

}


.value-item > span {

    font-size: 26px;

}


.value-item strong {

    display: block;

    font-size: 10px;

    letter-spacing: 1px;

}


.value-item small {

    display: block;

    color:
        var(--muted);

    font-size: 10px;

    margin-top: 3px;

}



/* =========================================================
   STORY
========================================================= */

.story {

    max-width: 1250px;

    margin:
        100px auto;

    padding:
        0 20px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;

}


.story-content p:not(.eyebrow) {

    color:
        var(--muted);

    margin:
        20px 0;

    max-width: 520px;

}


.story-image {

    height: 500px;

    overflow: hidden;

    border-radius:
        80px 15px 15px 15px;

}


.story-image img {

    height: 100%;

    object-fit: cover;

    transition:
        transform .7s ease;

}


.story-image:hover img {

    transform:
        scale(1.045);

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .hero {

        grid-template-columns: 1fr;

        padding-top: 60px;

    }


    .hero-products {

        height: 420px;

        margin-top: 20px;

    }


    .product-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .values {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 25px;

    }


    .value-item:nth-child(2) {

        border-right: 0;

    }


    .value-item {

        border-right: 0;

    }


    .story {

        grid-template-columns: 1fr;

    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .hero {

        padding:
            50px 20px 30px;

    }


    .hero h1 {

        font-size: 43px;

    }


    .hero-description {

        font-size: 15px;

    }


    .hero-products {

        height: 330px;

    }


    .hero-kesuda {

        width: 63%;

    }


    .hero-neem {

        width: 60%;

    }


    .hero-turmeric {

        width: 61%;

    }


    .hero-features {

        gap: 18px;

        margin-top: 30px;

    }


    .collection {

        padding:
            70px 15px;

    }


    .product-grid {

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 8px;

    width: 100%;

}


.product-card {

    min-width: 0;

    border-radius: 10px;

}


.product-image {

    height: 125px;

}


.product-badge {

    top: 6px;

    left: 6px;

    font-size: 6px;

    padding: 4px 5px;

}


.product-info {

    padding: 10px 8px;

}


.product-category {

    font-size: 6px;

    letter-spacing: .6px;

}


.product-info h3 {

    font-size: 13px;

    margin-top: 4px;

    line-height: 1.3;

}


.product-info p {

    font-size: 6px;

    letter-spacing: .5px;

}


.product-bottom {

    margin-top: 9px;

    gap: 4px;

}


.product-bottom strong {

    font-size: 12px;

}


.add-cart {

    padding: 6px 5px;

    font-size: 6px;

    border-radius: 4px;

}


    .values {

        margin:
            20px 15px;

        grid-template-columns: 1fr;

        padding: 20px;

    }


    .value-item {

        padding:
            12px 0;

        border-bottom:
            1px solid #d7d0bf;

    }


    .value-item:last-child {

        border-bottom: 0;

    }


    .story {

        margin:
            70px auto;

        gap: 35px;

    }


    .story-image {

        height: 350px;

    }


    /* MOBILE HEADER */

    .orders-button {

        min-height: 38px;

        padding:
            0 9px;

        gap: 4px;

        font-size: 8px;

    }


    .orders-icon {

        font-size: 12px;

    }


    .brand-logo {

        width: 40px;

        height: 40px;

    }


    /* MOBILE DONATE */

    .donate-widget {

        right: 12px;

        bottom: 12px;

        width: 88px;

        padding: 7px;

        border-radius: 12px;

    }


    .donate-label {

        font-size: 9px;

    }


    .donate-heart {

        font-size: 12px;

    }


    .donate-qr-link {

        width: 68px;

        height: 68px;

        padding: 4px;

    }


    .donate-hint {

        font-size: 7px;

    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .orders-button {

        padding:
            0 7px;

    }


    .orders-text {

        display: none;

    }


    .orders-icon {

        font-size: 15px;

    }


    .donate-widget {

        width: 76px;

    }


    .donate-qr-link {

        width: 58px;

        height: 58px;

    }


    .donate-hint {

        display: none;

    }

}



/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;

    }

}

.auth-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-auth-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    border-radius: 50%;
    transition: .2s ease;
}

.header-auth-icon:hover {
    transform: translateY(-2px);
    background: #f2f4ef;
}