:root{
    --primary:#0e3d34;
    --primary-dark:#082b25;
    --primary-light:#145247;
    --accent:#d6a85f;
    --accent-soft:#f6ead7;
    --bg:#f7f8f7;
    --white:#ffffff;
    --text:#1f2d29;
    --muted:#71807a;
    --border:#e4ebe7;
    --danger:#d9534f;
    --shadow:0 15px 40px rgba(14,61,52,.10);
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:var(--bg);
    color:var(--text);
}

a{
    text-decoration:none;
    color:inherit;
}

button,input{
    font:inherit;
}

button{
    cursor:pointer;
}

/* HEADER */

header{
    height:78px;
    background:var(--white);
    border-bottom:1px solid var(--border);
    position:sticky;
    top:0;
    z-index:1000;
}

nav{
    width:min(1400px,94%);
    height:78px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:22px;
}

.brand-logo-circle{
    width:52px;
    height:52px;
    border-radius:50%;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--primary);
    border:2px solid var(--accent);
    flex-shrink:0;
}

.brand-logo-circle img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:20px;
    list-style:none;
    flex:1;
}

.nav-links a{
    position:relative;
    padding:29px 0;
    color:#3d4b46;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:20px;
    width:0;
    height:2px;
    background:var(--accent);
    transition:.3s;
}

.nav-links a:hover,
.nav-links a.active{
    color:var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after{
    width:100%;
}

.header-search{
    height:42px;
    min-width:220px;
    display:flex;
    align-items:center;
    padding-left:13px;
    border:1px solid var(--border);
    border-radius:4px;
    background:#fafcfb;
}

.header-search i{
    color:var(--muted);
    font-size:13px;
}

.header-search input{
    flex:1;
    width:100%;
    border:none;
    outline:none;
    background:transparent;
    padding:0 10px;
    font-size:12px;
}

.header-search button{
    width:42px;
    height:100%;
    border:none;
    border-radius:0 4px 4px 0;
    background:var(--primary);
    color:#fff;
}

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

.icon-btn{
    width:42px;
    height:42px;
    border:none;
    background:transparent;
    border-radius:4px;
    display:grid;
    place-items:center;
    color:var(--primary);
    font-size:18px;
    position:relative;
    transition:.3s;
}

.icon-btn:hover{
    background:var(--accent-soft);
}

.cart-count{
    position:absolute;
    top:2px;
    right:1px;
    width:17px;
    height:17px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:var(--accent);
    color:var(--primary);
    font-size:9px;
    font-weight:bold;
}

.menu-btn{
    display:none;
}

/* HERO */

.arrival-hero{
    padding:78px 0 88px;
    text-align:center;
    color:#fff;
    background:
        radial-gradient(circle at 15% 20%,rgba(214,168,95,.20),transparent 30%),
        linear-gradient(135deg,var(--primary-dark),var(--primary));
}

.hero-label{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 17px;
    border-radius:4px;
    background:rgba(214,168,95,.10);
    border:1px solid rgba(214,168,95,.35);
    color:var(--accent);
    font-size:11px;
    font-weight:bold;
    letter-spacing:1px;
}

.arrival-hero h1{
    font-size:52px;
    margin:18px 0 12px;
}

.arrival-hero h1 span{
    color:var(--accent);
}

.arrival-hero p{
    max-width:620px;
    margin:auto;
    color:rgba(255,255,255,.72);
    font-size:14px;
    line-height:1.8;
}

/* MAIN */

.container{
    width:min(1250px,92%);
    margin:auto;
}

.section{
    padding:75px 0;
}

.section-head{
    text-align:center;
    margin-bottom:38px;
}

.eyebrow{
    color:var(--accent);
    font-size:11px;
    font-weight:bold;
    text-transform:uppercase;
    letter-spacing:1.5px;
}

.section-head h2{
    color:var(--primary);
    font-size:36px;
    margin-top:10px;
}

.section-head p{
    color:var(--muted);
    margin-top:10px;
    font-size:14px;
}

/* FILTER AREA */

.arrival-toolbar{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:20px;
    background:#fff;
    border:1px solid var(--border);
    padding:22px;
    border-radius:4px;
    margin-bottom:35px;
}

.arrival-info{
    display:flex;
    align-items:center;
    gap:15px;
}

.arrival-icon{
    width:54px;
    height:54px;
    border-radius:4px;
    display:grid;
    place-items:center;
    background:var(--accent-soft);
    color:var(--primary);
    font-size:21px;
}

.arrival-info h3{
    color:var(--primary);
    font-size:18px;
}

.arrival-info p{
    color:var(--muted);
    font-size:12px;
    margin-top:5px;
}

.filter-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.filter-btn{
    border:1px solid var(--border);
    background:#fff;
    color:var(--muted);
    padding:10px 15px;
    border-radius:4px;
    font-size:11px;
    font-weight:bold;
    transition:.3s;
}

.filter-btn:hover,
.filter-btn.active{
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
}

/* PRODUCTS */

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

.product-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:4px;
    overflow:hidden;
    transition:.35s;
}

.product-card:hover{
    transform:translateY(-7px);
    box-shadow:var(--shadow);
}

.product-image{
    height:245px;
    position:relative;
    overflow:hidden;
    background:#eef2ef;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.product-card:hover .product-image img{
    transform:scale(1.07);
}

.product-badge{
    position:absolute;
    top:12px;
    left:12px;
    background:var(--accent);
    color:var(--primary);
    padding:7px 10px;
    border-radius:4px;
    font-size:9px;
    font-weight:bold;
    z-index:2;
}

.wishlist-btn{
    position:absolute;
    top:12px;
    right:12px;
    width:38px;
    height:38px;
    border:none;
    border-radius:4px;
    background:#fff;
    color:var(--primary);
    box-shadow:0 5px 15px rgba(0,0,0,.10);
    font-size:16px;
}

.wishlist-btn.active{
    color:var(--danger);
}

.product-info{
    padding:17px;
}

.product-category{
    color:var(--accent);
    font-size:10px;
    font-weight:bold;
    text-transform:uppercase;
    letter-spacing:1px;
}

.product-info h3{
    margin-top:7px;
    color:var(--primary);
    font-size:15px;
}

.rating{
    display:flex;
    align-items:center;
    gap:3px;
    color:var(--accent);
    margin-top:9px;
    font-size:11px;
}

.rating span{
    color:var(--muted);
    margin-left:4px;
    font-size:10px;
}

.price-row{
    margin-top:14px;
}

.price{
    color:var(--primary);
    font-size:18px;
    font-weight:bold;
}

.old-price{
    margin-left:5px;
    color:#9ca7a2;
    font-size:10px;
    text-decoration:line-through;
}

.product-actions{
    display:flex;
    gap:8px;
    margin-top:16px;
}

.add-cart{
    flex:1;
    border:none;
    border-radius:4px;
    padding:11px;
    background:var(--primary);
    color:#fff;
    font-size:11px;
    font-weight:bold;
    transition:.3s;
}

.add-cart:hover{
    background:var(--accent);
    color:var(--primary);
}

.quick-view{
    width:42px;
    border:1px solid var(--border);
    border-radius:4px;
    background:#fff;
    color:var(--primary);
    font-size:15px;
}

/* LOAD */

.load-area{
    text-align:center;
    margin-top:40px;
}

.load-btn{
    padding:13px 28px;
    border:1px solid var(--primary);
    border-radius:4px;
    background:transparent;
    color:var(--primary);
    font-size:12px;
    font-weight:bold;
    transition:.3s;
}

.load-btn:hover{
    background:var(--primary);
    color:#fff;
}

/* MODAL */

.modal{
    position:fixed;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(8,43,37,.70);
    z-index:5000;
}

.modal.show{
    display:flex;
}

.modal-box{
    width:min(800px,100%);
    display:grid;
    grid-template-columns:1fr 1fr;
    background:#fff;
    border-radius:4px;
    overflow:hidden;
    position:relative;
}

.modal-image{
    min-height:350px;
}

.modal-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.modal-content{
    padding:40px 30px;
}

.modal-category{
    color:var(--accent);
    font-size:10px;
    font-weight:bold;
    text-transform:uppercase;
}

.modal-content h2{
    color:var(--primary);
    margin-top:10px;
    font-size:27px;
}

.modal-content p{
    margin-top:15px;
    color:var(--muted);
    font-size:13px;
    line-height:1.8;
}

.modal-price{
    display:block;
    margin-top:20px;
    color:var(--primary);
    font-size:25px;
    font-weight:bold;
}

.modal-cart-btn{
    width:100%;
    margin-top:25px;
    padding:14px;
    border:none;
    border-radius:4px;
    background:var(--primary);
    color:#fff;
    font-weight:bold;
}

.close-modal{
    position:absolute;
    top:12px;
    right:12px;
    width:38px;
    height:38px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:var(--primary);
    z-index:5;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

/* NEWSLETTER */

.newsletter{
    padding:75px 20px;
    text-align:center;
    background:linear-gradient(135deg,var(--primary),var(--primary-light));
    color:#fff;
}

.newsletter i{
    font-size:38px;
    color:var(--accent);
}

.newsletter h2{
    margin-top:15px;
    font-size:31px;
}

.newsletter p{
    max-width:560px;
    margin:10px auto 25px;
    color:rgba(255,255,255,.7);
    font-size:13px;
}

.newsletter-form{
    max-width:520px;
    margin:auto;
    display:flex;
    padding:5px;
    background:#fff;
    border-radius:4px;
}

.newsletter-form input{
    flex:1;
    border:none;
    outline:none;
    padding:12px 15px;
    font-size:12px;
}

.newsletter-form button{
    border:none;
    border-radius:4px;
    padding:0 22px;
    background:var(--accent);
    color:var(--primary);
    font-size:11px;
    font-weight:bold;
}

/* FOOTER */

footer{
    background:var(--primary-dark);
    color:#fff;
}

.footer{
    width:min(1200px,90%);
    margin:auto;
    padding:65px 0 40px;
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:45px;
}

.footer-logo-circle{
    width:58px;
    height:58px;
    display:block;
    border:2px solid var(--accent);
    border-radius:50%;
    overflow:hidden;
}

.footer-logo-circle img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.footer-brand p{
    max-width:290px;
    margin-top:17px;
    color:rgba(255,255,255,.58);
    font-size:13px;
    line-height:1.8;
}

.footer h3{
    color:var(--accent);
    margin-bottom:18px;
    font-size:15px;
}

.footer a{
    display:block;
    margin:10px 0;
    color:rgba(255,255,255,.58);
    font-size:13px;
    transition:.3s;
}

.footer a:hover{
    padding-left:5px;
    color:var(--accent);
}

.socials{
    display:flex;
    gap:8px;
    margin-top:18px;
}

.socials a{
    width:38px;
    height:38px;
    margin:0;
    border:1px solid rgba(255,255,255,.12);
    border-radius:4px;
    display:grid;
    place-items:center;
}

.socials a:hover{
    padding-left:0;
    background:var(--accent);
    color:var(--primary);
}

.footer-bottom{
    padding:20px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.10);
    color:rgba(255,255,255,.5);
    font-size:12px;
}

/* TOAST */

.toast{
    position:fixed;
    top:95px;
    right:20px;
    z-index:6000;
    display:flex;
    align-items:center;
    gap:10px;
    padding:15px 20px;
    background:#fff;
    border-left:4px solid var(--accent);
    border-radius:4px;
    box-shadow:var(--shadow);
    font-size:13px;
    transform:translateX(130%);
    transition:.35s;
}

.toast.show{
    transform:translateX(0);
}

/* RESPONSIVE */

@media(max-width:1100px){

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

    .header-search{
        min-width:170px;
    }
}

@media(max-width:950px){

    .menu-btn{
        display:grid;
    }

    .nav-links{
        position:fixed;
        top:78px;
        left:-100%;
        width:80%;
        height:calc(100vh - 78px);
        padding:25px;
        flex-direction:column;
        align-items:flex-start;
        background:#fff;
        box-shadow:10px 0 30px rgba(0,0,0,.08);
        transition:.35s;
    }

    .nav-links.show{
        left:0;
    }

    .nav-links a{
        padding:10px 0;
    }

    .nav-links a::after{
        bottom:4px;
    }

    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .arrival-toolbar{
        grid-template-columns:1fr;
    }

    .footer{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:650px){

    header,nav{
        height:70px;
    }

    .header-search{
        display:none;
    }

    .nav-links{
        top:70px;
        height:calc(100vh - 70px);
    }

    .arrival-hero h1{
        font-size:39px;
    }

    .section{
        padding:60px 0;
    }

    .products-grid{
        grid-template-columns:1fr;
    }

    .product-image{
        height:300px;
    }

    .arrival-toolbar{
        padding:18px;
    }

    .filter-buttons{
        width:100%;
    }

    .filter-btn{
        flex:1;
    }

    .modal-box{
        grid-template-columns:1fr;
        max-height:90vh;
        overflow:auto;
    }

    .modal-image{
        min-height:250px;
    }

    .modal-content{
        padding:25px;
    }

    .footer{
        grid-template-columns:1fr;
        gap:30px;
    }

    .newsletter-form{
        flex-direction:column;
        background:transparent;
        padding:0;
        gap:10px;
    }

    .newsletter-form input,
    .newsletter-form button{
        width:100%;
        min-height:48px;
        border-radius:4px;
    }
}
