/*======================================
    GOOGLE FONT
======================================*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@400;500;600&family=Heebo:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&family=Marcellus&display=swap');


/*======================================
    RESET
======================================*/
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    scrollbar-width:thin;
    scrollbar-color:#8c7652 #0b0b0b;
}

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#0b0b0b;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg, #b29a70, #6f5b3d);
    border:2px solid #0b0b0b;
    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(180deg, #c4ad82, #806a48);
}

body{
    font-family:var(--font-body);
    background:#ffffff;
    color:#111111;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

img{
    max-width:100%;
    display:block;
}

video{
    display:block;
    width:100%;
}

a{
    color:inherit;
    text-decoration:none;
}

button { cursor:pointer; }

button,
input,
select,
textarea{
    font-family:var(--font-body);
    outline:none;
    border:none;
    background:none;
}

input[type="text"],
input[type="email"],
textarea {
    transition: .3s;
}

input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
    background:#F7F7F7 !important;
}

ul{
    list-style:none;
}


/*======================================
    GLOBAL
======================================*/
.rtl{
    direction:rtl;
}

:root{
    --font-body:"Manrope", "Heebo", sans-serif;
    --font-heading:"Marcellus", "Frank Ruhl Libre", serif;

    --color-black:#111111;
    --color-white:#ffffff;
    --color-gray:#777777;
    --color-border:#ececec;

    --container:1450px;

    --transition:.35s ease;
}

::selection{
    background:#111;
    color:#fff;
}

.container{
    width:92%;
    max-width:var(--container);
    margin:auto;
}

section{
    position:relative;
}

.fullHeight{
    min-height:100vh;
}

.none {
    display:none;
}


/*======================================
    TYPOGRAPHY
======================================*/

h1,
h2,
h3,
h4,
h5,
h6{
    font-family:var(--font-heading);
    font-weight:400;
    letter-spacing:.02em;
}

p{
    color:var(--color-gray);
}


/*======================================
    BUTTON
======================================*/

.primaryBtn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    height:52px;
    padding:0 42px;

    border:1px solid #111;

    font-size:13px;
    letter-spacing:2px;
    text-transform:uppercase;

    transition:var(--transition);
}

.primaryBtn:hover{
    background:#111;
    color:#fff;
}


/*======================================
    SCROLLBAR
======================================*/

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#bdbdbd;
}

::-webkit-scrollbar-thumb:hover{
    background:#8a8a8a;
}



/*======================================
    OTHER PRE-MADE COMPONENTS
======================================*/

.alert {
    text-align: center;
    font-weight: bold;
    padding:5px 0;
}

.alert.err { color:#B51D00; }

.alert.ok { color:#00B530; }

.quantity{
    display:flex;
}

.quantity button{
    width:45px;
    height:45px;
    border:none;
    background:#fff;
    cursor:pointer;
    transition:.2s;
}

.quantity button:hover{
    background:#111;
    color:#fff;
}

.quantity input{
    width:60px;
    border:none;
    text-align:center;
    outline:none;
}


/*======================================
         CART SLIDER (GLOBAL)
======================================*/


.cartOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    backdrop-filter:blur(4px);
    opacity:0;
    visibility:hidden;
    transition:.35s ease;
    z-index:9998;
}

.cartOverlay.active{
    opacity:1;
    visibility:visible;
}

.cartDrawer{
    position:fixed;
    top:0;
    right:-460px;
    width:430px;
    max-width:100%;
    height:100vh;
    background:#fff;
    display:flex;
    flex-direction:column;
    transition:right .4s cubic-bezier(.22,.61,.36,1);
    box-shadow:-25px 0 60px rgba(0,0,0,.12);
    z-index:9999;
}

.cartDrawer.active{
    right:0;
}

.cartDrawerHeader{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:26px 28px;
    border-bottom:1px solid #ececec;
    flex-shrink:0;
}

.cartDrawerHeader h3{
    margin:0;
    font-size:18px;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
}

.cartDrawerHeader button{
    width:42px;
    height:42px;
    border:1px solid #ddd;
    background:#fff;
    border-radius:50%;
    cursor:pointer;
    font-size:22px;
    transition:.25s;
}

.cartDrawerHeader button:hover{
    background:#111;
    color:#fff;
    border-color:#111;
}

.cartDrawerContent{
    flex:1;
    overflow-y:auto;
    padding:25px;
}

.cartDrawerContent::-webkit-scrollbar{
    width:6px;
}

.cartDrawerContent::-webkit-scrollbar-thumb{
    background:#d5d5d5;
    border-radius:20px;
}

.cartDrawerFooter{
    padding:25px;
    border-top:1px solid #ececec;
    background:#fff;
    flex-shrink:0;
}

.cartDrawerTotal{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.cartDrawerTotal span{
    font-size:13px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#777;
}

.cartDrawerTotal strong{
    font-size:24px;
    font-weight:700;
}

.drawerCartBtn,
.drawerCheckoutBtn{
    display:block;
    width:100%;
    text-align:center;
    text-decoration:none;
    padding:15px;
    border-radius:8px;
    font-weight:600;
    transition:.25s;
    cursor:pointer;
}

.drawerCheckoutBtn{
    background:#111;
    color:#fff;
    margin-top:12px;
}

.drawerCheckoutBtn:hover{
    background:#000;
}

.drawerCartBtn{
    border:1px solid #111;
    color:#111;
}

.drawerCartBtn:hover{
    background:#111;
    color:#fff;
}

.drawerItem{
    display:flex;
    gap:18px;
    padding:22px;
    border-radius:12px;
    margin-bottom:14px;
    transition:.25s ease;
}

.drawerItem:nth-child(odd){
    background:#ffffff;
}

.drawerItem:nth-child(even){
    background:#f8f8f8;
}

.drawerItem:hover{
    background:#f1f1f1;
}

.drawerImage{
    width:120px;
    flex-shrink:0;
}

.drawerImage img{
    width:100%;
    display:block;
    border:1px solid #ececec;
}

.drawerInfo{
    flex:1;
    display:flex;
    flex-direction:column;
}

.drawerInfo h4{
    margin:0 0 16px;
    font-size:20px;
    font-weight:500;
    line-height:1.3;
}

.drawerMeta{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.drawerMetaRow{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
}

.drawerMetaRow span{
    color:#777;
}

.drawerMetaRow strong{
    color:#111;
    font-weight:500;
}

.drawerBottom{
    margin-top:auto;
    padding-top:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.drawerQty{
    font-size:14px;
    color:#777;
}

.drawerPrice{
    font-size:22px;
    font-weight:700;
    color:#111;
}

body.drawerOpen{
    overflow:hidden;
}

@media(max-width:600px){
    .cartDrawer{
        width:100%;
        right:-100%;
    }
}
