/* ==========================================================
   SERIFESE.COM
   Premium E-Commerce Theme
========================================================== */

/* ===========================
   GOOGLE FONT
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

/* ===========================
   ROOT
=========================== */

:root{

    --primary:#C9868E;
    --primary-dark:#B56F79;

    --background:#FFFDFB;

    --white:#ffffff;

    --text:#2D2D2D;

    --text-light:#666;

    --border:#ececec;

    --shadow:0 10px 30px rgba(0,0,0,.05);

    --radius:14px;

}

/* ===========================
   RESET
=========================== */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--background);

    color:var(--text);

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:100%;

    max-width:1400px;

    margin:auto;

    padding:0 20px;

}

/* ==========================================================
   TOP BAR
========================================================== */

.top-bar{
    background:#faf7f5;
    border-bottom:1px solid var(--border);
    font-size:14px;
}

.top-bar .container{
    height:42px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.top-bar span,
.top-bar a{
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--text-light);
    font-weight:500;
}

.top-bar a{
    transition:.3s;
}

.top-bar a:hover{
    color:var(--primary);
}

.top-bar i{
    color:var(--primary);
}


/* ==========================================================
   HEADER
========================================================== */

.header{

    background:#fff;

    position:sticky;

    top:0;

    z-index:999;

    box-shadow:0 2px 18px rgba(0,0,0,.04);

}

.header .container{

    display:grid;

    grid-template-columns:260px 1fr 280px;

    align-items:center;

    gap:40px;

    height:110px;

}

.logo{

    display:flex;

    align-items:center;

}

.logo-img{

    width:220px;

    transition:.35s;

}

.logo-img:hover{

    transform:scale(1.03);

}


/* ==========================================================
   SEARCH
========================================================== */

.search-box{

    display:flex;

    width:100%;

    height:56px;

    border:1px solid #ececec;

    border-radius:16px;

    overflow:hidden;

    background:#fff;

}

.search-box input{

    flex:1;

    border:none;

    outline:none;

    padding:0 24px;

    font-size:15px;

    color:#333;

}

.search-box input::placeholder{

    color:#999;

}

.search-box button{

    width:72px;

    border:none;

    background:var(--primary);

    color:#fff;

    cursor:pointer;

    transition:.35s;

    font-size:22px;

}

.search-box button:hover{

    background:var(--primary-dark);

}


/* ==========================================================
   HEADER ICONS
========================================================== */

.header-icons{

    display:flex;

    justify-content:flex-end;

    gap:32px;

}

.header-icons a{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:8px;

    position:relative;

    transition:.30s;

}

.header-icons a:hover{

    color:var(--primary);

}

.header-icons i{

    font-size:28px;

}

.header-icons span{

    font-size:14px;

    font-weight:500;

}

.cart small{

    position:absolute;

    top:-8px;

    right:-10px;

    width:22px;

    height:22px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:11px;

    font-weight:600;

}


/* ==========================================================
   NAVBAR
========================================================== */

.navbar{

    background:#fff;

    border-top:1px solid var(--border);

    border-bottom:1px solid var(--border);

}

.navbar .container{

    height:65px;

}

.navbar ul{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:42px;

    height:100%;

}

.navbar a{

    font-size:15px;

    font-weight:600;

    color:#333;

    letter-spacing:.3px;

    position:relative;

    transition:.30s;

}

.navbar a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.35s;

}

.navbar a:hover::after,
.navbar .active::after{

    width:100%;

}

.navbar a:hover{

    color:var(--primary);

}