/* =====================================================
                    RESET
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#FDFBF7;
    color:#4A3B32;
    font-family:'Inter',sans-serif;
    overflow-x:hidden;
}

img{
    display:block;
    width:100%;
}

button,
input{
    font:inherit;
}

button{
    border:none;
    cursor:pointer;
}

a{
    color:inherit;
    text-decoration:none;
}


/* =====================================================
                    VARIABLES
===================================================== */

:root{

    --cream:#FDFBF7;
    --beige:#F6F2EC;
    --sand:#ECE4DC;

    --dark:#4A3B32;
    --taupe:#8C7A6B;

    --white:#FFFFFF;

    --border:rgba(74,59,50,.10);

    --shadow-sm:
        0 8px 25px rgba(74,59,50,.07);

    --shadow-md:
        0 18px 45px rgba(74,59,50,.10);

    --shadow-lg:
        0 25px 70px rgba(74,59,50,.13);

}


/* =====================================================
                    PAGE CONTAINER
===================================================== */

.page-container{
    width:min(1180px, calc(100% - 48px));
    margin:0 auto;
}


/* =====================================================
                    PROGRESS BAR
===================================================== */

.progress-bar{

    position:fixed;

    top:0;
    left:0;

    width:0;
    height:2px;

    background:#4A3B32;

    z-index:3000;

    transition:width .1s linear;

}


/* =====================================================
                    FLOATING NAVBAR
===================================================== */

:root{
    --kaaru-ivory: #FDFBF7;
    --kaaru-brown: #4A3B32;
    --kaaru-taupe: #8C7A6B;
    --kaaru-line: rgba(74, 59, 50, 0.10);
}

body{
    padding-top: 132px;
}

.site-header{
    position: fixed;
    z-index: 1000;
    top: 20px;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.kaaru-navbar{
    width: min(1500px, calc(100% - 40px));
    min-height: 90px;
    margin: auto;
    padding: 14px 20px 14px 38px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;

    background: rgba(253, 251, 247, 0.90);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(74, 59, 50, 0.10);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    pointer-events: auto;
}

.navbar-logo{
    display: inline-flex;
    align-items: center;
    justify-self: start;
}

.navbar-logo img{
    display: block;
    width: auto;
    height: 49px;
    max-width: 185px;
    object-fit: contain;
    object-position: left center;
}

.navbar-links{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 3vw, 52px);
}

.nav-link{
    position: relative;
    color: var(--kaaru-brown);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav-link::after{
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 1px;
    content: "";
    background: var(--kaaru-taupe);
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active{
    color: var(--kaaru-taupe);
}

.nav-link:hover::after,
.nav-link.active::after{
    width: 18px;
}

.navbar-actions{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.nav-icon-button,
.menu-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    color: var(--kaaru-brown);
    background: rgba(255, 255, 255, 0.62);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.nav-icon-button:hover,
.menu-toggle:hover{
    color: var(--kaaru-ivory);
    background: var(--kaaru-brown);
    transform: translateY(-2px);
}

.nav-icon-button svg{
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.cart-button{
    position: relative;
}

.cart-badge{
    position: absolute;
    top: -7px;
    right: -3px;

    display: grid;
    place-items: center;
    min-width: 23px;
    height: 23px;
    padding: 0 5px;

    color: var(--kaaru-ivory);
    background: var(--kaaru-brown);
    border: 2px solid var(--kaaru-ivory);
    border-radius: 50%;

    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.menu-toggle{
    display: none;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span{
    width: 19px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* =====================================================
                    MOBILE DRAWER
===================================================== */

.drawer-overlay{
    position: fixed;
    z-index: 1100;
    inset: 0;

    visibility: hidden;
    background: rgba(45, 34, 29, 0.28);
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer{
    position: fixed;
    z-index: 1200;
    top: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    width: min(86vw, 370px);
    height: 100dvh;
    padding: 28px;

    color: var(--kaaru-brown);
    background: var(--kaaru-ivory);
    box-shadow: -14px 0 35px rgba(74, 59, 50, 0.14);

    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.2, .8, .2, 1);
}

.drawer-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--kaaru-line);
}

.drawer-logo{
    width: auto;
    height: 37px;
    max-width: 145px;
    object-fit: contain;
    object-position: left center;
}

.drawer-close{
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--kaaru-brown);
    background: transparent;
    border: 1px solid var(--kaaru-line);
    border-radius: 50%;
    cursor: pointer;
}

.drawer-close span{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 1.5px;
    background: currentColor;
}

.drawer-close span:first-child{
    transform: translate(-50%, -50%) rotate(45deg);
}

.drawer-close span:last-child{
    transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer-links{
    display: flex;
    flex-direction: column;
    padding: 28px 0;
}

.drawer-links a{
    padding: 16px 0;
    color: var(--kaaru-brown);
    border-bottom: 1px solid var(--kaaru-line);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.drawer-links a:hover,
.drawer-links a.active{
    color: var(--kaaru-taupe);
    padding-left: 8px;
}

.drawer-bottom{
    display: grid;
    gap: 14px;
    margin-top: auto;
}

.drawer-bottom a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--kaaru-brown);
    font-size: 14px;
    text-decoration: none;
}

.drawer-bottom span{
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    color: var(--kaaru-ivory);
    background: var(--kaaru-brown);
    border-radius: 50%;
    font-size: 10px;
}

body.menu-open{
    overflow: hidden;
}

body.menu-open .drawer-overlay{
    visibility: visible;
    opacity: 1;
}

body.menu-open .mobile-drawer{
    transform: translateX(0);
}

/* =====================================================
                    RESPONSIVE
===================================================== */

@media (max-width: 850px){

    body{
        padding-top: 106px;
    }

    .site-header{
        top: 14px;
    }

    .kaaru-navbar{
        width: min(100% - 28px, 700px);
        min-height: 76px;
        padding: 10px 12px 10px 24px;
        grid-template-columns: 1fr auto;
    }

    .navbar-logo img{
        height: 40px;
        max-width: 150px;
    }

    .navbar-links{
        display: none;
    }

    .menu-toggle{
        display: inline-flex;
    }

    .nav-icon-button{
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 480px){

    .navbar-actions{
        gap: 8px;
    }

    .navbar-logo img{
        height: 34px;
        max-width: 125px;
    }

    .nav-icon-button{
        width: 43px;
        height: 43px;
    }

    .nav-icon-button svg{
        width: 20px;
        height: 20px;
    }

    .menu-toggle{
        width: 43px;
        height: 43px;
    }
}
/* =====================================================
                ACTIVE NAVIGATION
===================================================== */

.nav-link{
    position:relative;
}

.nav-link.active{
    color:#8C7A6B;
}


/* Elegant underline */

.nav-link.active::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:-8px;

    width:18px;

    height:1px;

    background:#8C7A6B;

    transform:translateX(-50%);

    transition:width .3s ease;

}

/* =====================================================
                    BREADCRUMB
===================================================== */

.breadcrumb-section{

    padding-top:145px;

}


.breadcrumb{

    display:flex;

    align-items:center;

    gap:12px;

    color:#8C7A6B;

    font-size:12px;

}


.breadcrumb i{

    font-size:8px;

    opacity:.6;

}


.breadcrumb a{

    transition:color .3s ease;

}


.breadcrumb a:hover{

    color:#4A3B32;

}


/* =====================================================
                    FABRIC SECTION
===================================================== */

.fabric-section{

    padding:
        35px
        0
        120px;

}


.fabric-layout{

    display:grid;

    grid-template-columns:
        minmax(0,1.05fr)
        minmax(0,.95fr);

    align-items:center;

    gap:85px;

}


/* =====================================================
                    FABRIC GALLERY
===================================================== */

.fabric-gallery-wrapper{

    display:grid;

    grid-template-columns:72px minmax(0,1fr);

    gap:18px;

}


.fabric-thumbnails{

    display:flex;

    flex-direction:column;

    gap:12px;

}


.fabric-thumb{

    width:72px;
    height:88px;

    padding:0;

    overflow:hidden;

    border-radius:14px;

    background:#ECE4DC;

    border:1px solid transparent;

    opacity:.6;

    transition:
        opacity .3s ease,
        border-color .3s ease,
        transform .3s ease;

}


.fabric-thumb:hover{

    opacity:1;

    transform:translateY(-2px);

}


.fabric-thumb.active{

    opacity:1;

    border-color:#4A3B32;

}


.fabric-thumb img{

    width:100%;
    height:100%;

    object-fit:cover;

}


.fabric-main-image{

    position:relative;

    overflow:hidden;

    aspect-ratio:4 / 5;

    border-radius:32px;

    background:#ECE4DC;

    box-shadow:var(--shadow-md);

}


.fabric-main-image img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:
        opacity .35s ease,
        transform 1s ease;

}


.fabric-main-image:hover img{

    transform:scale(1.025);

}


.image-caption{

    position:absolute;

    left:20px;
    right:20px;
    bottom:20px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:13px 16px;

    border-radius:14px;

    background:
        rgba(253,251,247,.82);

    backdrop-filter:blur(12px);

    -webkit-backdrop-filter:blur(12px);

    color:#4A3B32;

    font-size:8px;

    font-weight:600;

    letter-spacing:2px;

}


/* =====================================================
                    FABRIC CONTENT
===================================================== */

.fabric-content{

    max-width:510px;

}


.section-label{

    display:block;

    margin-bottom:18px;

    color:#8C7A6B;

    font-size:10px;

    font-weight:600;

    letter-spacing:4px;

}


.fabric-title{

    margin-bottom:25px;

    font-family:'Playfair Display',serif;

    font-size:
        clamp(42px,4vw,62px);

    font-weight:500;

    line-height:1.08;

    letter-spacing:-1.5px;

}


.fabric-title em{

    color:#8C7A6B;

    font-weight:500;

}


.fabric-description{

    margin-bottom:18px;

    color:#6F625A;

    font-size:14px;

    line-height:2;

}


.fabric-description strong{

    color:#4A3B32;

    font-weight:600;

}


/* =====================================================
                    QUALITY DETAILS
===================================================== */

.quality-details{

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    margin-top:40px;

    padding-top:25px;

    border-top:1px solid var(--border);

}


.quality-detail{

    display:flex;

    flex-direction:column;

    gap:7px;

    padding-right:15px;

}


.quality-detail:not(:last-child){

    border-right:1px solid var(--border);

}


.quality-detail + .quality-detail{

    padding-left:15px;

}


.quality-detail span{

    color:#8C7A6B;

    font-size:8px;

    font-weight:600;

    letter-spacing:2px;

}


.quality-detail strong{

    color:#4A3B32;

    font-size:12px;

    font-weight:500;

    line-height:1.5;

}


/* =====================================================
                    FEATURES SECTION
===================================================== */

.features-section{

    padding:
        120px
        0;

    background:#F6F2EC;

}


.section-heading{

    max-width:650px;

    margin-bottom:55px;

}


.section-heading h2{

    margin-bottom:20px;

    font-family:'Playfair Display',serif;

    font-size:
        clamp(38px,4vw,55px);

    font-weight:500;

    line-height:1.1;

}


.section-heading h2 em{

    color:#8C7A6B;

}


.section-heading p{

    max-width:520px;

    color:#756960;

    font-size:14px;

    line-height:1.9;

}


.features-grid{

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:20px;

}


.fabric-feature-card{

    position:relative;

    min-height:330px;

    padding:34px;

    background:#FFFFFF;

    border:1px solid rgba(74,59,50,.06);

    border-radius:26px;

    box-shadow:
        0 8px 30px rgba(74,59,50,.04);

    overflow:hidden;

    transition:
        transform .5s cubic-bezier(.16,1,.3,1),
        box-shadow .5s ease;

}


.fabric-feature-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 20px 45px rgba(74,59,50,.10);

}


.feature-number{

    position:absolute;

    top:25px;
    right:28px;

    color:#C9BEB5;

    font-family:'Playfair Display',serif;

    font-size:30px;

}


.feature-icon{

    width:52px;
    height:52px;

    margin-bottom:35px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#F6F2EC;

    color:#8C7A6B;

    font-size:16px;

}


.fabric-feature-card h3{

    max-width:220px;

    margin-bottom:18px;

    font-family:'Playfair Display',serif;

    font-size:25px;

    font-weight:500;

    line-height:1.25;

}


.fabric-feature-card p{

    color:#756960;

    font-size:13px;

    line-height:1.9;

}


/* =====================================================
                    PHILOSOPHY
===================================================== */

.fabric-philosophy{

    padding:120px 0;

}


.philosophy-card{

    position:relative;

    min-height:430px;

    padding:65px;

    display:flex;

    align-items:center;

    overflow:hidden;

    border-radius:34px;

    background:#4A3B32;

    color:#FDFBF7;

}


.philosophy-content{

    position:relative;

    z-index:2;

    max-width:650px;

}


.philosophy-content .section-label{

    color:#C9BEB5;

}


.philosophy-card h2{

    margin-bottom:25px;

    font-family:'Playfair Display',serif;

    font-size:
        clamp(40px,5vw,65px);

    font-weight:500;

    line-height:1.05;

}


.philosophy-card h2 em{

    color:#D5C7BC;

}


.philosophy-card p{

    max-width:570px;

    color:#E6DDD6;

    font-size:14px;

    line-height:2;

}


.philosophy-mark{

    position:absolute;

    right:-45px;
    bottom:-70px;

    color:rgba(255,255,255,.055);

    font-family:'Playfair Display',serif;

    font-size:180px;

    line-height:1;

    pointer-events:none;

}





/* =====================================================
                    FOOTER
===================================================== */

.footer{

    padding:
        80px
        0
        30px;

    background:#F6F2EC;

    border-top:1px solid var(--border);

}


.footer-grid{

    display:grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap:50px;

    padding-bottom:65px;

}


.footer-logo{

    display:inline-flex;

    flex-direction:column;

    font-family:'Playfair Display',serif;

    font-size:32px;

}


.footer-logo span{

    margin-top:5px;

    color:#8C7A6B;

    font-family:'Inter',sans-serif;

    font-size:8px;

    letter-spacing:4px;

}


.footer-brand p{

    max-width:250px;

    margin-top:20px;

    color:#756960;

    font-size:12px;

    line-height:1.8;

}


.social-links{

    display:flex;

    gap:10px;

    margin-top:25px;

}


.social-links a{

    width:36px;
    height:36px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#FFFFFF;

    font-size:13px;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;

}


.social-links a:hover{

    background:#4A3B32;

    color:#FFFFFF;

    transform:translateY(-2px);

}


.footer-column{

    display:flex;

    flex-direction:column;

    gap:13px;

}


.footer-column h4{

    margin-bottom:8px;

    color:#8C7A6B;

    font-size:9px;

    font-weight:600;

    letter-spacing:3px;

}


.footer-column a,
.footer-column span{

    color:#5E5048;

    font-size:12px;

    transition:
        color .3s ease;

}


.footer-column a:hover{

    color:#8C7A6B;

}


.footer-bottom{

    padding-top:25px;

    border-top:1px solid var(--border);

}


.footer-bottom p{

    color:#9A8C82;

    font-size:10px;

}








/* =====================================================
                    SCROLL REVEAL
===================================================== */

.reveal{

    opacity:0;

    transform:
        translateY(38px);

    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.16,1,.3,1);

}


.reveal.active{

    opacity:1;

    transform:
        translateY(0);

}


.delay-1{

    transition-delay:.15s;

}


.delay-2{

    transition-delay:.3s;

}


.delay-3{

    transition-delay:.45s;

}


/* =====================================================
                    PAGE LOAD
===================================================== */

body{

    animation:
        pageFade .7s ease both;

}


@keyframes pageFade{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}


/* =====================================================
                    TABLET
===================================================== */

@media(max-width:1000px){

    .desktop-nav{

        gap:20px;

    }


    .navbar-container{

        padding:0 22px;

    }


    .fabric-layout{

        gap:50px;

    }


    .fabric-title{

        font-size:46px;

    }


    .features-grid{

        gap:14px;

    }


    .fabric-feature-card{

        padding:26px;

    }


    .newsletter-card{

        padding:40px;

    }

}


/* =====================================================
                    MOBILE
===================================================== */

@media(max-width:768px){

    .page-container{

        width:min(
            100% - 32px,
            600px
        );

    }


    /* NAVBAR */

    .site-header{

        top:12px;

        width:calc(100% - 24px);

    }


    .navbar-container{

        min-height:68px;

        padding:0 15px 0 20px;

        border-radius:30px;

    }


    .brand-main{

        font-size:26px;

    }


    .brand-sub{

        margin-top:5px;

        font-size:7px;

        letter-spacing:3px;

    }


    .desktop-nav{

        display:none;

    }


    .nav-actions{

        gap:7px;

    }


    #searchBtn{

        display:none;

    }


    .hamburger{

        display:flex;

    }


    .icon-btn{

        width:40px;
        height:40px;

    }


    /* BREADCRUMB */

    .breadcrumb-section{

        padding-top:110px;

    }


    /* FABRIC */

    .fabric-section{

        padding-top:25px;

        padding-bottom:80px;

    }


    .fabric-layout{

        grid-template-columns:1fr;

        gap:50px;

    }


    .fabric-gallery-wrapper{

        display:flex;

        flex-direction:column;

        gap:14px;

    }


    .fabric-main-image{

        order:1;

        aspect-ratio:4 / 5;

        border-radius:25px;

    }


    .fabric-thumbnails{

        order:2;

        flex-direction:row;

        overflow-x:auto;

        padding-bottom:3px;

        scrollbar-width:none;

    }


    .fabric-thumbnails::-webkit-scrollbar{

        display:none;

    }


    .fabric-thumb{

        flex:0 0 70px;

        width:70px;

        height:82px;

    }


    .image-caption{

        left:12px;
        right:12px;
        bottom:12px;

        padding:11px 13px;

    }


    .fabric-content{

        max-width:none;

    }


    .fabric-title{

        font-size:
            clamp(38px,11vw,52px);

        letter-spacing:-1px;

    }


    .fabric-description{

        font-size:13px;

        line-height:1.9;

    }


    .quality-details{

        margin-top:30px;

        grid-template-columns:1fr;

        gap:17px;

    }


    .quality-detail{

        padding:0 !important;

    }


    .quality-detail:not(:last-child){

        padding-bottom:17px !important;

        border-right:none;

        border-bottom:1px solid var(--border);

    }


    .quality-detail + .quality-detail{

        padding-left:0 !important;

    }


    /* FEATURES */

    .features-section{

        padding:80px 0;

    }


    .section-heading{

        margin-bottom:35px;

    }


    .section-heading h2{

        font-size:42px;

    }


    .features-grid{

        grid-template-columns:1fr;

        gap:14px;

    }


    .fabric-feature-card{

        min-height:auto;

        padding:28px;

    }


    .fabric-feature-card h3{

        font-size:24px;

    }


    /* PHILOSOPHY */

    .fabric-philosophy{

        padding:80px 0;

    }


    .philosophy-card{

        min-height:420px;

        padding:38px 28px;

        border-radius:25px;

    }


    .philosophy-card h2{

        font-size:43px;

    }


    .philosophy-mark{

        font-size:100px;

        right:-25px;

        bottom:-25px;

    }


    /* NEWSLETTER */

    .newsletter-section{

        padding-bottom:80px;

    }


    .newsletter-card{

        padding:32px 25px;

        flex-direction:column;

        align-items:flex-start;

        gap:30px;

        border-radius:25px;

    }


    .newsletter-card h2{

        font-size:36px;

    }


    .newsletter-form{

        width:100%;

        min-width:0;

    }


    /* FOOTER */

    .footer{

        padding-top:65px;

    }


    .footer-grid{

        grid-template-columns:
            1fr 1fr;

        gap:40px 25px;

    }


    .footer-brand{

        grid-column:1 / -1;

    }


}


/* =====================================================
                    SMALL MOBILE
===================================================== */

@media(max-width:420px){

    .navbar-container{

        padding-left:16px;

    }


    .brand-main{

        font-size:24px;

    }


    .cart-btn{

        display:flex;

    }


    .fabric-title{

        font-size:38px;

    }


    .fabric-main-image{

        border-radius:22px;

    }


    .footer-grid{

        grid-template-columns:1fr;

    }


    .footer-brand{

        grid-column:auto;

    }

}

/* =====================================================
                    FOOTER
===================================================== */

.footer{

    background:#ceccc9;

    color:#4A3B32;

    padding:90px 0 35px;

}


/* =====================================================
                FOOTER CONTAINER
===================================================== */

.footer-container{

    width:min(1200px,92%);

    margin:auto;

}


/* =====================================================
                    FOOTER GRID
===================================================== */

.footer-grid{

    display:grid;

    grid-template-columns:
    2fr 1fr 1fr 1fr;

    gap:60px;

}


/* =====================================================
                    BRAND
===================================================== */

.footer-brand h2{

    font-family:'Playfair Display',serif;

    font-size:52px;

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:20px;

    color:#4A3B32;

}


/* =====================================================
                BRAND DESCRIPTION
===================================================== */

.footer-brand p{

    max-width:330px;

    color:#4A3B32;

    font-size:15px;

    line-height:1.8;

}


/* =====================================================
                    COLUMN
===================================================== */

.footer-column{

    display:flex;

    flex-direction:column;

    gap:14px;

}


/* =====================================================
                COLUMN HEADING
===================================================== */

.footer-column h3{

    font-family:'Playfair Display',serif;

    font-size:22px;

    color:#4A3B32;

    margin-bottom:15px;

}


/* =====================================================
                    LINKS
===================================================== */

.footer-column a{

    color:#4A3B32;

    text-decoration:none;

    font-size:15px;

    transition:.3s ease;

}


.footer-column a:hover{

    color:#4A3B32;

    transform:translateX(5px);

}


/* =====================================================
                    DIVIDER
===================================================== */

.footer-divider{

    width:100%;

    height:1px;

    background:#4A3B32;

    margin:60px 0 25px;

}


/* =====================================================
                    COPYRIGHT
===================================================== */

.footer-bottom{

    text-align:center;

}


.footer-bottom p{

    color:#4A3B32;

    font-size:14px;

}


/* =====================================================
                FOOTER BRAND ADJUSTMENT
===================================================== */

.footer-brand{

    padding-left:40px;

}


/* =====================================================
                    BRAND LOGO
===================================================== */

/*
    Jika menggunakan logo gambar,
    h2 sudah tidak digunakan.
*/

.footer-brand img{

    display:block;

    width:auto;

    height:32px;

    object-fit:contain;

    object-position:left;

    margin-bottom:20px;

}


/* =====================================================
                    RESPONSIVE
===================================================== */

@media(max-width:768px){

    .footer{

        padding:70px 0 30px;

    }


    .footer-grid{

        grid-template-columns:1fr 1fr;

        gap:40px 30px;

    }


    .footer-brand{

        padding-left:0;

        grid-column:1 / -1;

    }


    .footer-brand p{

        max-width:400px;

    }

}


@media(max-width:480px){

    .footer-grid{

        grid-template-columns:1fr;

        gap:35px;

    }


    .footer-brand{

        grid-column:auto;

    }


    .footer-brand img{

        height:28px;

    }

}
/* ==================================================
                CART DRAWER
==================================================*/

.cart-drawer{

    position:fixed;

    top:0;

    right:-100%;

    width:460px;

    max-width:100%;

    height:100vh;

    background:#fff;

    display:flex;

    flex-direction:column;

    transition:.45s cubic-bezier(.22,.61,.36,1);

    box-shadow:-15px 0 50px rgba(0,0,0,.08);

    z-index:1999;

}

.cart-drawer.active{

    right:0;

}



/* ==================================================
                CART HEADER
==================================================*/

.cart-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:28px 30px;

    border-bottom:1px solid var(--border);

    background:#fff;

}

.cart-header h2{

    font-size:30px;

    margin-bottom:6px;

}

.cart-header p{

    font-size:14px;

    color:var(--secondary);

}



/* ==================================================
                CLOSE BUTTON
==================================================*/

.cart-close{

    width:48px;

    height:48px;

    border-radius:50%;

    background:var(--soft);

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.3s;

}

.cart-close:hover{

    background:var(--primary);

    color:#fff;

}



/* ==================================================
                CART ITEMS
==================================================*/

.cart-items{

    flex:1;

    overflow-y:auto;

    padding:28px;

}



/* ==================================================
            CUSTOM SCROLLBAR
==================================================*/

.cart-items::-webkit-scrollbar{

    width:7px;

}

.cart-items::-webkit-scrollbar-track{

    background:transparent;

}

.cart-items::-webkit-scrollbar-thumb{

    background:#d6ccc2;

    border-radius:999px;

}

.cart-items::-webkit-scrollbar-thumb:hover{

    background:#bbaea2;

}



/* ==================================================
                CART FOOTER
==================================================*/

.cart-footer{

    border-top:1px solid var(--border);

    background:#fff;

    padding:28px;

}

.subtotal{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:24px;

}

.subtotal span{

    color:var(--secondary);

}

.subtotal strong{

    font-size:24px;

    color:var(--primary);

}

.cart-footer .btn-primary,

.cart-footer .btn-secondary{

    width:100%;

}

.cart-footer .btn-secondary{

    margin-bottom:14px;

}
/* ==================================================
                CART ITEM
==================================================*/

.cart-item{

    display:flex;

    gap:18px;

    background:#fff;

    border:1px solid var(--border);

    border-radius:24px;

    padding:18px;

    margin-bottom:18px;

    transition:.35s;

}

.cart-item:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 40px rgba(0,0,0,.06);

}



/* ==================================================
                IMAGE
==================================================*/

.cart-item-image{

    width:95px;

    height:120px;

    border-radius:18px;

    overflow:hidden;

    flex-shrink:0;

}

.cart-item-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}



/* ==================================================
                CONTENT
==================================================*/

.cart-item-content{

    flex:1;

    display:flex;

    flex-direction:column;

}

.cart-item-content h4{

    font-size:18px;

    margin-bottom:8px;

}

.cart-item-content p{

    font-size:14px;

    margin-bottom:6px;

}

.cart-price{

    font-size:18px;

    font-weight:700;

    color:var(--primary);

    margin-top:6px;

}



/* ==================================================
            QUANTITY
==================================================*/

.cart-qty{

    display:flex;

    align-items:center;

    gap:12px;

    margin-top:18px;

}

.cart-qty button{

    width:34px;

    height:34px;

    border-radius:50%;

    background:var(--soft);

    transition:.3s;

}

.cart-qty button:hover{

    background:var(--primary);

    color:#fff;

}

.cart-qty span{

    min-width:22px;

    text-align:center;

    font-weight:600;

}



/* ==================================================
            REMOVE BUTTON
==================================================*/

.remove-item{

    margin-top:14px;

    color:#b14a4a;

    font-size:14px;

    cursor:pointer;

    transition:.3s;

}

.remove-item:hover{

    color:#7d2323;

}



/* ==================================================
            EMPTY CART
==================================================*/

.empty-cart{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    height:100%;

    padding:60px 20px;

}

.empty-cart i{

    font-size:64px;

    color:#d4c6bb;

    margin-bottom:24px;

}

.empty-cart h3{

    margin-bottom:12px;

}

.empty-cart p{

    max-width:260px;

}