: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{

    position:relative;

    text-decoration:none;

    color:#0D6B3D;

    font-weight:600;

    transition:.3s ease;

}

/* Hover */

.nav-links a:hover{

    color:#D17A4A;

}

/* 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;

}
/* SHOP HERO */

.shop-hero{

    padding:140px 8% 40px;

    text-align:center;

    background:var(--cream);

}

.shop-hero span{

    color:var(--terracotta);

    font-weight:700;

    letter-spacing:3px;

    font-size:1rem;

}

.shop-hero h1{

    color:var(--emerald);

    font-size:4.2rem;

    margin-top:15px;

    line-height:1.1;

}
/* PRODUCT CATEGORIES */

.product-filters{

    padding:20px 8% 50px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    flex-wrap:wrap;

}

.filter-btn{

    border:none;

    background:white;

    color:var(--emerald);

    padding:14px 28px;

    border-radius:50px;

    font-size:1rem;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

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

}

.filter-btn:hover{

    background:var(--terracotta);

    color:white;

    transform:translateY(-3px);

}

.filter-btn.active{

    background:var(--emerald);

    color:white;

}

.products-section{
    padding:40px 8% 100px;
}
/* ==========================
PRODUCT SKELETON
========================== */

.skeleton-card{

    background:#fff;
    border-radius:20px;
    overflow:hidden;
    padding:15px;

}

.skeleton-img{

    width:100%;
    aspect-ratio:1/1;
    border-radius:15px;

}

.skeleton-text{

    height:16px;
    border-radius:8px;
    margin-top:18px;

}

.skeleton-text.short{

    width:50%;

}

.skeleton-text.medium{

    width:70%;

}

.skeleton-btn{

    height:45px;
    border-radius:12px;
    margin-top:25px;

}

.skeleton-img,
.skeleton-text,
.skeleton-btn{

    background:linear-gradient(
        90deg,
        #ececec 25%,
        #f7f7f7 50%,
        #ececec 75%
    );

    background-size:200% 100%;

    animation:skeleton 1.2s infinite;

}

@keyframes skeleton{

    0%{
        background-position:200% 0;
    }

    100%{
        background-position:-200% 0;
    }

}

.products-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.product-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-card img{
    width:100%;
    height:550px;
    object-fit:cover;
}

.product-card h3{
    padding:25px 25px 10px;
    font-size:1.8rem;
    color:var(--emerald);
}

.product-card p{
    padding:0 25px;
    color:#666;
    line-height:1.6;
}

.price{
    display:block;
    padding:20px 25px;
    font-size:1.4rem;
    font-weight:700;
    color:var(--terracotta);
}


.product-btn{

    display:block;
    width:calc(100% - 50px);
    margin:0 25px 25px;
    padding:15px;
    text-align:center;
    background:var(--emerald);
    color:white;
    text-decoration:none;
    border-radius:10px;
    font-weight:700;
    transition:.3s;
}

.product-btn:hover{

    background:var(--terracotta);

}
.product-card{

    position:relative;

    overflow:hidden;

}

.wishlist-btn{

    position:absolute;

    top:15px;

    right:15px;

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

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

    transition:.3s;

    z-index:20;

}

.wishlist-btn{

    position:absolute;

    top:15px;

    right:15px;

    width:44px;

    height:44px;

    border:none;

    border-radius:50%;

    background:#ffffff;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

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

    transition:.25s;

    z-index:5;

}

.wishlist-btn:hover{

    transform:translateY(-2px);

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

}

.wishlist-btn i{

    font-size:18px;

    color:#6B6B6B;

    transition:.25s;

}

.wishlist-btn:hover i{

    color:#0B6B3A;

}

.wishlist-btn.saved{

    background:#EAF7EF;

}

.wishlist-btn.saved i{

    color:#0B6B3A;

}
/* ==========================
   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;

}
/* 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);
}
/* ===================================
   SHOP SKELETON
=================================== */
.product-image-wrapper{

    position:relative;

    width:100%;

    aspect-ratio:4/5;

    overflow:hidden;

    border-radius:18px;

}

.image-placeholder{

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        #ececec 25%,
        #f7f7f7 37%,
        #ececec 63%
    );

    background-size:400% 100%;

    animation:shimmer 1.5s linear infinite;

}

.product-image{

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    opacity:0;

    transition:opacity .35s ease;

}

@keyframes shimmer{

    0%{

        background-position:100% 0;

    }

    100%{

        background-position:-100% 0;

    }

}
.loading-heart{

    width:42px;
    height:42px;

    border-radius:50%;

    background:#ececec;

    border:none;

    animation:shimmer 1.5s linear infinite;

}
.loading-line{

    height:16px;

    margin-top:16px;

    border-radius:8px;

    background:#ececec;

    animation:shimmer 1.5s linear infinite;

}
.loading-line.text{

    width:50%;

}
.loading-line.price{

    width:35%;
    height:22px;

}
.loading-button{

    margin-top:20px;

    width:100%;
    height:48px;

    border-radius:10px;

    background:#ececec;

    animation:shimmer 1.5s linear infinite;

}


