/*==================================================
        PANNER CASHEWS
        STYLE SHEET
==================================================*/

/*==========================
    RESET
==========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:Arial,Helvetica,sans-serif;
    background:#f7f7f7;
    color:#222;
    overflow-x:hidden;

}

/*==========================
    VARIABLES
==========================*/

:root{

    --primary:#2E7D32;
    --primary-dark:#1B5E20;

    --secondary:#F9A825;

    --white:#ffffff;

    --bg:#f7f7f7;

    --text:#222;

    --light:#666;

    --border:#e5e5e5;

    --shadow:0 10px 25px rgba(0,0,0,.10);

    --radius:18px;

    --cart-width:360px;

}

/*==========================
    MAIN CONTENT
==========================*/

#mainContent{

    width:100%;

    min-height:100vh;

    background:var(--bg);

    transition:.35s ease;

}

/* Website Shrinks when cart opens */

#mainContent.shrink{

    width:calc(100% - var(--cart-width));

}

/*==========================
    HEADER
==========================*/

header{

    position:sticky;

    top:0;

    z-index:999;

    background:var(--primary);

    color:#fff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    box-shadow:0 4px 15px rgba(0,0,0,.08);

}

header h1{

    font-size:34px;

    font-weight:700;

    letter-spacing:.5px;

}

header nav{

    display:flex;

    align-items:center;

    gap:30px;

}

header nav a{

    color:#fff;

    text-decoration:none;

    font-size:16px;

    font-weight:bold;

    transition:.3s;

    position:relative;

}

header nav a:hover{

    color:#FFD54F;

}

header nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:#FFD54F;

    transition:.3s;

}

header nav a:hover::after{

    width:100%;

}

/*==========================
    HERO SECTION
==========================*/

.hero {
    min-height: calc(100vh - 70px);

    background-image: url("../images/home.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;

    position: relative;
}

.hero h2{

    font-size:64px;

    font-weight:700;

    margin-bottom:20px;

}

.hero p{

    font-size:24px;

    color:#f2f2f2;

    margin-bottom:35px;

}

.hero button{

    background:var(--secondary);

    color:#fff;

    border:none;

    padding:16px 42px;

    border-radius:50px;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

.hero button:hover{

    background:#F57C00;

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(0,0,0,.25);

}

/*==========================
    SECTION TITLE
==========================*/

.section-title{

    text-align:center;

    font-size:40px;

    margin:60px 0 20px;

    color:var(--text);

    font-weight:700;

}
/*==================================================
        PRODUCTS SECTION
==================================================*/
#products{
    scroll-margin-top:110px;
}

.products-section{

    width:95%;

    max-width:1400px;
    min-height: 800px;
    margin:70px auto;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}


/*==========================
    PRODUCT CARD
==========================*/

.product-card{

    background:#fff;

    border-radius:22px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    display:flex;

    align-items:center;

    overflow:hidden;

    transition:.35s;

    position:relative;

}

.product-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}


/*==========================
    BADGE
==========================*/

.product-card::before{

    content:"Premium";

    position:absolute;

    top:18px;

    left:18px;

    background:#2E7D32;

    color:#fff;

    padding:6px 14px;

    border-radius:20px;

    font-size:12px;

    font-weight:bold;

    letter-spacing:.5px;

}


/*==========================
    PRODUCT IMAGE
==========================*/

.product-image{

    width:40%;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:30px;

    background:#fafafa;

}

.product-image img{

    width:220px;

    max-width:100%;

    transition:.35s;

}

.product-card:hover .product-image img{

    transform:scale(1.08);

}


/*==========================
    PRODUCT DETAILS
==========================*/

.product-details{

    width:62%;

    padding:35px;

}

.product-details h2{

    font-size:32px;

    color:#222;

    margin-bottom:12px;

}

.description{

    color:#666;

    font-size:15px;

    line-height:1.8;

    margin-bottom:22px;

}


/*==========================
    PRICE LABEL
==========================*/

.price-label{

    font-size:18px;

    font-weight:bold;

    color:var(--primary);

    margin-bottom:18px;

}


/*==========================
    WEIGHT OPTIONS
==========================*/

.weight-options{

    display:flex;

    gap:12px;

    margin-bottom:28px;

}

.weight-btn{

    flex:1;

    background:#fff;

    border:2px solid #ddd;

    border-radius:16px;

    padding:12px;

    cursor:pointer;

    transition:.30s;

    font-weight:bold;

    font-size:16px;

    line-height:1.6;

}

.weight-btn:hover{

    background:#2E7D32;

    color:#fff;

    border-color:#2E7D32;

    transform:translateY(-2px);

}

.weight-btn.active{

    background:#2E7D32;

    color:#fff;

    border-color:#2E7D32;

}


/*==========================
    ADD TO CART BUTTON
==========================*/

.add-cart{

    width:100%;

    background:#25c45c;

    color:#fff;

    border:none;

    border-radius:40px;

    padding:16px;

    cursor:pointer;

    font-size:17px;

    font-weight:bold;

    transition:.35s;

}

.add-cart:hover{

    background:#1d9d48;

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(37,196,92,.35);

}


/*==========================
    CARD ANIMATION
==========================*/

.product-card{

    animation:fadeUp .6s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*==========================
    RESPONSIVE
==========================*/

@media(max-width:1200px){

.products-section{

    grid-template-columns:1fr;

}

}


@media(max-width:768px){

.product-card{

    flex-direction:column;

}

.product-image{

    width:100%;

    padding:25px;

}

.product-image img{

    width:180px;

}

.product-details{

    width:100%;

    padding:25px;

}

.product-details h2{

    font-size:28px;

}

.weight-options{

    flex-direction:column;

}

.add-cart{

    width:100%;

}

}
/*==================================================
        ABOUT SECTION
==================================================*/

#about{

    background:#fff;

    margin-top:60px;

    padding:80px 10%;

    text-align:center;

}

#about h2{

    font-size:40px;

    color:var(--text);

    margin-bottom:25px;

}

#about p{

    max-width:900px;

    margin:auto;

    color:var(--light);

    font-size:18px;

    line-height:1.9;

}


/*==================================================
        FOOTER
==================================================*/

footer{

    background:var(--primary);

    color:#fff;

    text-align:center;

    padding:35px 20px;

}

footer h3{

    font-size:28px;

    margin-bottom:15px;

}

footer p{

    font-size:18px;

    opacity:.95;

}


/*==================================================
        SHOPPING CART
==================================================*/

#cart{

    position:fixed;

    top:0;

    right:-360px;

    width:360px;

    height:100vh;

    background:#fff;

    box-shadow:-10px 0 35px rgba(0,0,0,.18);

    transition:.35s ease;

    z-index:9999;

    display:flex;

    flex-direction:column;

    padding:25px;

}

#cart.open{

    right:0;

}


/*==========================
      CART HEADER
==========================*/

.cart-header{

    display:grid;

    grid-template-columns:1fr auto;

    align-items:center;

    

    border-bottom:1px solid #e5e5e5;

}


.cart-header h2{

    margin:0;

    font-size:28px;

    color:#2E7D32;

}


.close{

    margin-left:auto;

    border:none;

    background:transparent;

    cursor:pointer;

    font-size:34px;

    line-height:1;

    color:#333;

}

.close:hover{

    color:#d32f2f;

    transform:rotate(90deg);

}

/*==========================
    CART ITEMS
==========================*/

#cartItems{

    list-style:none;

    flex:1;

    overflow-y:auto;

    margin-top:10px;

}

#cartItems li{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:10px;

    padding:25px 25;

    border-bottom:1px solid #ececec;

    font-size:15px;

}

#cartItems li span:first-child{

    font-weight:bold;

    color:#333;

}

#cartItems li span:last-child{

    color:var(--primary);

    font-weight:bold;

}


/*==========================
    TOTAL
==========================*/

.total{

    margin-top:20px;

    padding-top:20px;

    border-top:2px solid #eee;

    font-size:18px;

    font-weight:bold;

    display:flex;

    justify-content:space-between;

}


/*==========================
    WHATSAPP BUTTON
==========================*/

#whatsappBtn{

    width:100%;

    margin-top:25px;

    border:none;

    background:#25D366;

    color:#fff;

    padding:16px;

    font-size:18px;

    font-weight:bold;

    border-radius:50px;

    cursor:pointer;

    transition:.3s;

}

#whatsappBtn:hover{

    background:#1faa52;

    transform:translateY(-2px);

    box-shadow:0 10px 20px rgba(37,211,102,.35);

}


/*==================================================
        SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:#bdbdbd;

    border-radius:10px;

}

::-webkit-scrollbar-thumb:hover{

    background:#999;

}


/*==================================================
        UTILITY CLASSES
==================================================*/

.text-center{

    text-align:center;

}

.mt-20{

    margin-top:20px;

}

.mt-40{

    margin-top:40px;

}

.mb-20{

    margin-bottom:20px;

}

.hidden{

    display:none;

}


/*==================================================
        MOBILE
==================================================*/

@media(max-width:768px){

header{

    flex-direction:column;

    gap:15px;

    padding:20px;

}

header h1{

    font-size:28px;

}

header nav{

    flex-wrap:wrap;

    justify-content:center;

    gap:15px;

}

.hero{

    min-height:420px;

}

.hero h2{

    font-size:40px;

}

.hero p{

    font-size:18px;

}

#about{

    padding:50px 25px;

}

#about h2{

    font-size:32px;

}

#about p{

    font-size:16px;

}

#cart{

    width:100%;

    right:-100%;

}

#mainContent.shrink{

    width:100%;

}

}


/*==================================================
        DESKTOP LARGE
==================================================*/

@media(min-width:1600px){

.products-section{

    max-width:1600px;

}

.hero h2{

    font-size:72px;

}

}

/*==================================================
                SHOPPING CART
==================================================*/

#cart{

    position:fixed;
    top:0;
    right:-360px;
    width:360px;
    height:100vh;
    background:#fff;
    box-shadow:-8px 0 30px rgba(0,0,0,.15);
    transition:.35s;
    z-index:9999;
	
    display:flex;
    flex-direction:column;

}

#cart.open{

    right:0;

}


/*==========================
        HEADER
==========================*/



.close{

    all: unset;

    cursor:pointer;

    font-size:20px;

    color:red;

    display:flex;

    align-items:center;

    justify-content:right;

    width:40px;

    height:40px;

    line-height:1;

}

.close:hover{

    color:#d32f2f;

}


/*==========================
        CART BODY
==========================*/

#cartBody{

    flex:1;
    overflow-y:auto;


}


/*==========================
        EMPTY CART
==========================*/

#emptyCart{

    text-align:center;
    color:#888;
    font-size:18px;
    padding:60px 20px;

}


/*==========================
        CART ITEMS
==========================*/

#cartItems{

    list-style:none;

}


.cart-item{
    display:grid;
    grid-template-columns: 1fr 90px 90px 30px;
    align-items:center;
    column-gap:12px;
    padding:14px 0;
    border-bottom:1px solid #ececec;
}


/*==========================
        PRODUCT IMAGE
==========================*/

.cart-image{

    width:75px;
    height:75px;

    border-radius:12px;

    background:#fafafa;

    display:none;
    justify-content:center;
    align-items:center;

    overflow:hidden;

}

.cart-image img{

    width:65px;

}


/*==========================
        DETAILS
==========================*/

.cart-details{
    display:flex;
    align-items:center;
    white-space:nowrap;
    overflow:hidden;
}


.cart-details h4{
    margin:0;
    font-size:20px;
    font-weight:500;
}

.cart-weight{
    margin-left:4px;
    color:#555;
    font-size:20px;
}

.cart-price{
    text-align:center;
    font-size:20px;
    font-weight:700;
    color:#2E7D32;
}

.cart-qty{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
}

.cart-qty button:hover{

    background:#1B5E20;

}

.qty{

    min-width:20px;

    text-align:center;

    font-weight:bold;

}

.delete-item{

    width:20px;

    height:20px;

    border:none;

    border-radius:50%;

    background:#ffebeb;

    color:#d60000;

    cursor:pointer;

    font-size:15px;

    font-weight:bold;

    transition:.25s;
	
	    justify-self:center;

}

.delete-item:hover{

    background:#d60000;

    color:#fff;

}

.cart-qty button{
    width:24px;
    height:24px;
    border:none;
    border-radius:50%;
    background:#2E7D32;
    color:#fff;
    cursor:pointer;
    font-size:16px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.cart-qty span{
    width:20px;
    text-align:center;
    font-weight:bold;
    font-size:17px;
}

/*==========================
        QUANTITY
==========================*/

.qty-box{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    width:90px;
}

.qty-box button{
    width:22px;
    height:22px;
    border-radius:50%;
    border:none;
    background:#2E7D32;
    color:#fff;
    font-size:16px;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
}

.qty-box button:hover{

    background:#1B5E20;

}

.qty{
    width:18px;
    text-align:center;
    font-weight:600;
}


/*==========================
        DELETE BUTTON
==========================*/

.cart-action{
    display:flex;
    justify-content:center;
    align-items:center;
}

.delete-item{
    border:none;
    background:none;
    color:#d32f2f;
    font-size:22px;
    cursor:pointer;
    justify-self:center;
}

.delete-item:hover{
    color:#b71c1c;
}


/*==========================
        BILLING
==========================*/

.billing{



    border-top:1px solid #eee;

}

.billing h3{

    margin-bottom:10px;

    color:#2E7D32;

}

.billing label{

    display:block;

    font-size:12px;

    font-weight:bold;

    margin-top:10px;
    margin-bottom:6px;

}

.billing input,
.billing textarea{

    width:100%;

    padding:8px;

    border:1px solid #ddd;

    border-radius:10px;

    outline:none;

    font-size:12px;

}

.billing textarea{

    resize:none;

}

.terms{

    margin-top:15px;

    display:flex;

    align-items:flex-start;

    gap:10px;

}

.terms input{

    width:18px;
    height:18px;
    margin-top:8px;

}


/*==========================
        FOOTER
==========================*/

.cartFooter{

    padding:5px;

    border-top:1px solid #ddd;

    background:#fff;

}

.total{

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:15px;

    font-weight:bold;

    margin-bottom:5px;

}

#whatsappBtn{

    width:100%;

    border:none;

    padding:16px;

    border-radius:50px;

    background:#25D366;

    color:#fff;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

#whatsappBtn:hover{

    background:#1da851;

}


/*==========================
        MOBILE
==========================*/

@media(max-width:768px){

#cart{

    width:100%;
    right:-100%;

}

.cart-item{


    display:grid;

    grid-template-columns: 150px 90px 100px 30px;

    align-items:center;

    gap:10px;

    padding:12px 0;

    border-bottom:1px solid #e5e5e5;

}

.cart-name{
    font-size:20px;
    color:#333;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.cart-image img{

    width:50px;

}

}