:root{

    --emerald:#0B5D3B;

    --terracotta:#C96A4A;

    --cream:#FAF6EF;

    --gold:#D4A24C;

    --text:#2D2D2D;

}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:Arial, Helvetica, sans-serif;

    background:var(--cream);

    color:var(--text);

    overflow-x:hidden;

}
nav{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    background:white;

    box-shadow:
    0 2px 15px rgba(0,0,0,.08);

}

.nav-container{

    max-width:1400px;

    margin:auto;

    padding:18px 6%;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo img{

    width:140px;

    display:block;

}

.nav-links{

    list-style:none;

    display:flex;

    gap:40px;

}

.nav-links a{

    text-decoration:none;

    color:var(--emerald);

    font-weight:600;

    transition:.3s;

}

.nav-links a:hover{

    color:var(--terracotta);

}
/* Active link */

.nav-links a.active{

    color:#D17A4A;

}

/* Underline animation */

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:#D17A4A;

    transition:.3s ease;

}

.nav-links a:hover::after,
.nav-links a.active::after{

    width:100%;

}
.nav-actions{
    display:flex;
    align-items:center;
    gap:30px;
}

.account-icon,
.cart-icon{
    display:flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    color:#006838;
    font-weight:600;
    position:relative;
    transition:.3s;
}

.account-icon:hover,
.cart-icon:hover{
    color:#d87c4a;
}

.account-icon i,
.cart-icon i{
    font-size:20px;
}

.cart-count{
    position:absolute;
    top:-8px;
    left:12px;

    width:20px;
    height:20px;

    background:#d87c4a;
    color:#fff;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:11px;
    font-weight:700;
}
.dropdown{
    position:relative;
}

.dropdown-menu{

    position:absolute;

    top:100%;
    left:0;

    min-width:220px;

    background:white;

    list-style:none;

    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

    padding:10px 0;

    opacity:0;

    visibility:hidden;

    transform:translateY(10px);

    transition:.3s ease;

}

.dropdown:hover .dropdown-menu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.dropdown-menu li{
    width:100%;
}

.dropdown-menu a{

    display:block;

    padding:14px 20px;

    text-decoration:none;

    color:var(--emerald);

}

.dropdown-menu a:hover{

    background:var(--cream);

    color:var(--terracotta);

}

.menu-toggle{
    display:none;
    font-size:2rem;
    color:var(--emerald);
    cursor:pointer;
}
.account-dropdown{

    position:relative;

}

.account-icon{

    display:flex;
    align-items:center;
    gap:8px;

    text-decoration:none;

    color:var(--emerald);

    font-weight:600;

    transition:.3s;

}

.account-icon:hover{

    color:var(--terracotta);

}

.dropdown-arrow{

    font-size:12px;

    margin-left:2px;

}

.account-menu{

    position:absolute;

    top:calc(100% + 12px);

    right:0;

    width:240px;

    background:#fff;

    border-radius:14px;

    box-shadow:0 15px 35px rgba(0,0,0,.12);

    overflow:hidden;

    opacity:0;

    visibility:hidden;

    transform:translateY(10px);

    transition:.25s ease;

    z-index:9999;

}

.account-dropdown:hover .account-menu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.account-menu a{

    display:flex;

    align-items:center;

    gap:12px;

    padding:15px 20px;

    text-decoration:none;

    color:#333;

    transition:.25s;

}

.account-menu a:hover{

    background:var(--cream);

    color:var(--emerald);

}

.account-menu hr{

    border:none;

    border-top:1px solid #eee;

}

.logout-link{

    color:#D17A4A !important;

}

.logout-link:hover{

    background:#fff3f3;

    color:#c62828;

}
.product-page{

    padding:120px 8% 80px;

}

.product-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.product-image img{
    display: block;
    border-radius:24px;

}
/* ===========================
   PRODUCT IMAGE STYLES
=========================== */

/* Root & Revive */
.root-revive-image{
    width:100%;
    height:600px;
    object-fit:cover;
}

/* Hydration Mist */
.hydration-mist-image{
    width:100%;
    height:750px;
    object-fit:cover;
}

/* Intensive Hair Butter */
.hair-butter-image{
    width:100%;
    height:600px;
    object-fit:cover;
}

/* Pure Avocado Oil */
.pure-avocado-oil-image{
    width:100%;
    height:800px;
    object-fit:cover;
}

/* Lavender Oil */
.lavender-oil-image{
    width:100%;
    height:650px;
    object-fit:cover;
}

/* Rosemary Avocado Oil */
.rosemary-avocado-oil-image{
    width:100%;
    height:800px;
    object-fit:cover;
}

/* Avochai */
.avochai-image{
    width:100%;
    height:600px;
    object-fit:cover;
}

.product-tag{

    color:#C96A4A;

    font-weight:700;

    letter-spacing:2px;

}

.product-details h1{

    font-size:4rem;

    color:#0B5D3B;

    margin:15px 0;

}

.subtitle{

    font-size:1.3rem;

    color:#666;

}

.price{

    font-size:2rem;

    font-weight:700;

    color:#C96A4A;

    margin:25px 0;

}
.total-price{
    margin: 20px 0;
}

.total-price span{
    display:block;
    font-size: 2rem;
    font-weight: 700;
    color: #0b6b3a;
    margin-top: 5px;
}

.product-intro{

    line-height:1.8;

    margin-bottom:35px;

}

.size-section{

    margin-bottom:30px;

}

.sizes{

    display:flex;

    gap:15px;

    margin-top:15px;

}

.size-btn{

    padding:12px 25px;

    border:none;

    border-radius:50px;

    cursor:pointer;

    background:#eee;

}

.size-btn.active{

    background:#0B5D3B;

    color:white;

}

.quantity-section{

    margin-bottom:35px;

}

.quantity-box{

    display:flex;

    align-items:center;

    gap:25px;

    margin-top:15px;

}

.quantity-box button{

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:#0B5D3B;

    color:white;

    cursor:pointer;

}
.options-row{
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin: 30px 0;
}

.size-section,
.quantity-section{
    margin: 0;
}

.size-section h4,
.quantity-section h4{
    margin-bottom: 15px;
}

.add-cart-btn{

    display:inline-block;

    padding:15px 35px;

    text-decoration:none;

    border-radius:10px;

    font-weight:700;

    margin-right:15px;

}

.add-cart-btn{

    background:#0B5D3B;

    color:white;

}

.whatsapp-btn{

    background:#1faa59;

    color:white;

    text-decoration:none;

    padding:14px 24px;

    border-radius:8px;

    font-weight:700;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    transition:.3s;

}

.whatsapp-btn:hover{

    background:#1ebe5d;

}
.product-content{

    max-width:1100px;

     margin:20px auto 60px;

    padding:0 8%;
    /* background:white; */

}

.content-block{

    margin-bottom:40px;

}

.content-block h2{

    color:var(--emerald);

    font-size:2rem;

    margin-bottom:12px;

}

.content-block p{

    line-height:1.8;
    margin-bottom:10px;

    color:#555;

}

.content-block ul{

    padding-left:20px;

}

.content-block li{

    margin-bottom:8px;

    line-height:1.7;

    color:#555;

}

.product-review-preview{

    max-width:1100px;

    margin:20px auto 60px;

    padding:0 8%;

}

.product-review-preview h2{

    color:var(--emerald);
    
    font-size:2.2rem;

    margin-bottom:12px;

}

.review-preview-card{

    background:#FAF7F2;
border: 1px solid #ECE4D8;
box-shadow: 0 8px 30px rgba(0,0,0,.05);;

    border-radius:20px;

    padding:40px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    gap:40px;

}

.review-score h1{

    font-size:4rem;

    color:var(--emerald);

}

.review-score p{

    color:#666;

    margin-top:10px;

}

.review-action{

    text-align:right;

}

.review-action p{

    margin-bottom:20px;

    color:#555;

    line-height:1.7;

}

.view-reviews-btn{

    display:inline-block;

    background:var(--emerald);

    color:white;

    text-decoration:none;

    padding:15px 30px;

    border-radius:10px;

    font-weight:bold;

    transition:.3s;

}

.view-reviews-btn:hover{

    background:var(--terracotta);

}
.reviews-section{
     max-width:1100px;
     margin:20px auto 60px;
     padding:0 8%;
}

.reviews-section h2{
    color:#0B5D3B;
    font-size:2rem;
    margin-bottom:40px;
}
.reviews-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
}

.reviews-header a{
    color:#d67a50;
    text-decoration:none;
    font-weight:700;
}

.reviews-header a:hover{
    color:#0b6b43;
}
.reviews-wrapper{

    display:grid;
    grid-template-columns:320px 1fr;
    gap:50px;

}

.reviews-summary{

    width:320px;

    height:fit-content;

    position:sticky;
    top:120px;

}

.average-score{

    text-align:center;
    margin-bottom:35px;

}

.average-score h1{

    font-size:4rem;
    color:#0B5D3B;

}


.overall-rating{

    width:260px;

    background:white;

    border-radius:18px;

    padding:30px;

    box-shadow:0 8px 20px rgba(0,0,0,.05);

    text-align:center;

}

.overall-rating h3{

    font-size:65px;

    color:#0b6b43;

    margin-bottom:8px;

}

.stars{

    font-size:30px;

    color:#F4B400;

    margin-bottom:12px;

}

.overall-rating p{

    color:#777;

    margin-top:10px;

}

.rating-breakdown{

    flex:1;

    background:white;

    padding:30px;

    border-radius:18px;

    box-shadow:0 8px 20px rgba(0,0,0,.05);

}

.rating-bars{

    margin-top:30px;

}

.bar-row{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:18px;

}

.bar{

    flex:1;

    height:12px;

    background:#ececec;

    border-radius:20px;

}

.fill{

    height:100%;

    width:0%;

    border-radius:20px;

    background:linear-gradient(
        90deg,
        #0b6b43,
        #17a45d
    );

}

/* RIGHT SIDE */
.reviews-grid{

    display:flex;
    gap:25px;

    margin-top:40px;

    overflow:hidden;

}

.review-card{

    flex:1;

    min-width:320px;

    background:#fff;

    border-radius:18px;

    padding:25px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.reviews-footer{

    text-align:center;

    margin-top:35px;

}

.see-all-btn{

    display:inline-block;

    background:#0B5D3B;

    color:white;

    padding:14px 30px;

    border-radius:8px;

    text-decoration:none;

    font-weight:700;

}

.see-all-btn:hover{

    background:#C96A4A;

}

.reviews-list{

    display:flex;
    flex-direction:column;
    gap:25px;

}


.review-top{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;

}

.review-stars{

    color:#F4B400;

    font-size:18px;

    margin-bottom:15px;

}

.verified{

    color:#0B8A4A;
    font-weight:600;

}

.review-card h3{

    color:#0B5D3B;
    margin-bottom:12px;
     margin:10px 0;

    font-size:1.8rem;

}

.review-card p{

    line-height:1.8;
    color:#555;

}
.review-title{

    color:#0b6b43;

    font-size:24px;

    margin:12px 0 20px;

    line-height:1.7;

}

.review-comment{

    color:#555;

    line-height:1.8;

    margin-bottom:25px;

    font-size:17px;

}

.review-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-top:1px solid #eee;

    padding-top:18px;

}

.review-footer strong{

    color:#222;

    font-size:18px;

}

.review-footer span{

    color:#777;

    font-size:15px;

}

.verified{

    color:#0b6b43;

    font-weight:700;

    font-size:15px;

}

.related-products{

    padding:80px 8%;

    background:var(--cream);
     border-top:1px solid rgba(0,0,0,.08);
    text-align:center;

}

.related-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:50px;

}

.related-card{

    background:var(--cream);

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}
.related-products h2{

    color: var(--emerald);
    font-size:2.5rem;

}

.related-card img{

    width:100%;

    height:350px;

    object-fit:cover;

    display:block;

}

.related-card h3{

    color:var(--emerald);

    padding:20px 20px 10px;

    font-size:1.5rem;

}

.related-card p{

    padding:0 20px;

    color:#666;

}

.related-card span{

    display:block;

    padding:15px 20px;

    color:var(--terracotta);

    font-weight:700;

    font-size:1.2rem;

}

.related-card a{

    display:block;

    margin:0 20px 20px;

    text-align:center;

    text-decoration:none;

    background:var(--emerald);

    color:white;

    padding:14px;

    border-radius:10px;

    font-weight:700;

    transition:.3s;

}

.related-card a:hover{

    background:var(--terracotta);

}

/* ==========================
   TOP SUCCESS NOTIFICATION
========================== */

.toast{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    background:#0f9d58;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:16px 20px;

    font-size:17px;

    font-weight:600;

    transform:translateY(-100%);

    transition:transform .35s ease;

    z-index:99999;

}

.toast.show{

    transform:translateY(0);

}

#close-toast{

    position:absolute;

    right:20px;

    background:none;

    border:none;

    color:white;

    font-size:28px;

    cursor:pointer;

}
.product-title-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

}

.product-title-row h1{

    margin:0;

    flex:1;

}

.product-wishlist-btn{

    background:none;

    border:none;

    font-size:28px;

    cursor:pointer;

    color:#bbb;

    transition:.3s;

    padding:0;

}

.product-wishlist-btn:hover{

    color:#0A6B3B;

    transform:scale(1.1);

}

.product-wishlist-btn.saved{

    color:#0A6B3B;

}
/* ==========================
   PRODUCT SKELETON
========================== */

.product-skeleton{

    max-width:1200px;

    margin:60px auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    padding:0 30px;

}

.skeleton-image{

    width:100%;

    height:600px;

    border-radius:20px;

    background:#ececec;

    animation:pulse 1.4s infinite;

}

.skeleton-details{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.skeleton-line{

    height:18px;

    border-radius:8px;

    background:#ececec;

    animation:pulse 1.4s infinite;

}

.skeleton-line.small{

    width:120px;

}

.skeleton-line.title{

    width:80%;

    height:42px;

}

.skeleton-line.medium{

    width:60%;

}

.skeleton-line.price{

    width:180px;

    height:34px;

}

.skeleton-line.large{

    width:100%;

    height:16px;

}

.skeleton-buttons{

    display:flex;

    gap:20px;

    margin-top:30px;

}

.skeleton-btn{

    width:180px;

    height:55px;

    border-radius:10px;

    background:#ececec;

    animation:pulse 1.4s infinite;

}

@keyframes pulse{

    0%{

        opacity:1;

    }

    50%{

        opacity:.45;

    }

    100%{

        opacity:1;

    }

}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

    .product-skeleton{

        grid-template-columns:1fr;

        gap:30px;

        padding:20px;

    }

    .skeleton-image{

        height:350px;

    }

}
/* FOOTER */

.footer{

    background:var(--emerald);

    color:white;

}

.footer-container{

    max-width:1400px;

    margin:auto;

    padding:80px 8%;

    display:grid;

    grid-template-columns:
    2fr 1fr 1fr 1fr;

    gap:50px;

}

.footer-brand img{

    width:140px;

    background:white;

    padding:10px;

    border-radius:12px;

    margin-bottom:20px;

}

.footer-brand p{

    line-height:1.9;

    color:rgba(255,255,255,.85);

}

.footer h4{

    margin-bottom:20px;

    color:var(--gold);

    font-size:1.2rem;

}

.footer-links ul{

    list-style:none;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-links a,
.footer-social a{

    text-decoration:none;

    color:white;

    transition:.3s;

}

.footer-links a:hover,
.footer-social a:hover{

    color:var(--gold);

}

.footer-contact p{

    margin-bottom:12px;

}

.footer-social{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.footer-bottom{

    text-align:center;

    padding:25px;

    border-top:
    1px solid rgba(255,255,255,.15);

}

.footer-bottom p{

    color:rgba(255,255,255,.8);

}
.footer-social h4{
    color:#d6a84f;
    font-size:1.2rem;
    margin-bottom:18px;
}
.social-icons{
    display:flex;
    gap:28px;
    align-items:center;
}

.social-icons a{
    color:#fff;
    font-size:28px;
    text-decoration:none;
    transition:0.3s ease;
}

.social-icons a:hover{
    color:#d6a84f;
    transform:translateY(-3px);
}


