/*==================================
  CAPITAL MABATI
===================================*/

:root{
    --primary:#791617;
    --secondary:#f1921f;
    --light:#F8F9FA;
    --dark:#222222;
    --white:#ffffff;
}

/*=========================
 RESET
=========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#ffffff;
    color:#222;
    overflow-x:hidden;
}

/*=========================
 NAVIGATION
=========================*/

.navbar{
    background:#fff !important;
    padding:15px 0;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s ease;
    z-index:1050;
}

.navbar-brand{
    font-size:32px;
    font-weight:700;
}

.navbar-toggler{
    border:none;
}

.navbar-toggler:focus{
    box-shadow:none;
}

/* Navigation */

.navbar-nav{
    gap:10px;
    align-items:center;
}

.navbar-nav .nav-item{
    position:relative;
}

.navbar-nav .nav-link{
    position:relative;
    display:inline-flex;
    align-items:center;
    color:var(--dark) !important;
    font-size:16px;
    font-weight:600;
    margin:0 8px;
    padding:10px 2px !important;
    transition:color .3s ease;
}

/* Hover */

.navbar-nav .nav-link:hover{
    color:var(--secondary) !important;
}

/* Active */

.navbar-nav .nav-link.active{
    color:var(--secondary) !important;
}

/* Underline */

.navbar-nav .nav-link::before{
    content:"";
    position:absolute;
    left:50%;
    bottom:-2px;
    width:0;
    height:2px;
    background:var(--secondary);
    border-radius:30px;
    transform:translateX(-50%);
    transition:.3s ease;
}

/* Hover Underline */

.navbar-nav .nav-link:hover::before{
    width:100%;
}

/* Active Underline */

.navbar-nav .nav-link.active::before{
    width:100%;
}

/* Dropdown */

.dropdown-menu{
    border:none;
    border-radius:12px;
    padding:8px 0;
    margin-top:8px;
    min-width:230px;
    box-shadow:0 12px 30px rgba(0,0,0,.10);
}

.dropdown-item{
    font-size:15px;
    font-weight:500;
    padding:12px 20px;
    transition:.3s ease;
}

.dropdown-item:hover{
    background:var(--primary);
    color:#fff;
}

/* Keep Bootstrap dropdown arrow aligned */

.dropdown-toggle{
    display:inline-flex !important;
    align-items:center;
}

.dropdown-toggle::after{
    margin-left:8px;
    vertical-align:middle;
}

/* Icons */

.nav-icon{
    color:var(--dark);
    font-size:22px;
    transition:.3s ease;
}

.nav-icon:hover{
    color:var(--secondary);
}
/* Icons */

.nav-icon{

    color:#222;
    font-size:20px;
    margin-left:18px;
    transition:.3s;

}

.nav-icon:hover{

    color:var(--secondary);

}

/* Desktop Hover Dropdown */
@media (min-width:992px){

.navbar .dropdown:hover>.dropdown-menu{
    display:block;
    margin-top:0;
}

}
/*=========================
 HERO
=========================*/

.hero-slider{

    margin-top:0;

}

.hero-image{

    width:100%;
    height:700px;
    object-fit:cover;

}

.carousel-item{

    position:relative;

}

.carousel-item::before{

    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
    z-index:1;

}

.carousel-caption{

    z-index:2;
    bottom:18%;
    text-align:left;

}

.carousel-caption h1{

    font-size:60px;
    font-weight:700;
    margin-bottom:20px;

}

.carousel-caption p{

    font-size:20px;
    margin-bottom:30px;
    max-width:650px;

}

.btn-warning{

    background:var(--secondary);
    border:none;
    color:#fff;

}

.btn-warning:hover{

    background:var(--primary);
    color:#fff;

}

/*=========================
 FOOTER
=========================*/

footer{

    background:#111;
    color:#fff;

}

footer h4,
footer h5{

    font-weight:600;

}

footer a{

    color:#fff;
    text-decoration:none;
    transition:.3s;

}

footer a:hover{

    color:var(--secondary);

}

footer p{

    margin-bottom:10px;

}

/*=========================
 RESPONSIVE
=========================*/

@media(max-width:991px){

.hero-image{

    height:550px;

}

.carousel-caption{

    bottom:12%;

}

.carousel-caption h1{

    font-size:42px;

}

.carousel-caption p{

    font-size:17px;

}

.navbar-nav{

    margin-top:15px;

}

.nav-icon{

    margin-left:0;
    margin-right:20px;
    margin-top:15px;

}

}

@media(max-width:768px){

.hero-image{

    height:450px;

}

.carousel-caption{

    text-align:center;
    left:10%;
    right:10%;

}

.carousel-caption h1{

    font-size:30px;

}

.carousel-caption p{

    font-size:15px;

}

.navbar-brand{

    font-size:26px;

}

}

/*==================================
 SHOP PAGE
===================================*/


.shop-banner{

background:#f8f9fa;
padding:70px 0;
border-bottom:1px solid #eee;

}


.shop-banner h1{

font-size:45px;
font-weight:700;

}


.shop-banner p{

color:#777;
font-size:17px;

}




.shop-section{

padding:60px 0;

}



/* CATEGORY */

.category-box{

background:#fff;
padding:25px;
border-radius:16px;
box-shadow:0 5px 20px rgba(0,0,0,.08);

}


.category-box h4{

font-weight:700;
margin-bottom:20px;

}



.category-list a{

display:block;
padding:13px 15px;
text-decoration:none;
color:#222;
font-weight:500;
border-radius:8px;
margin-bottom:5px;
transition:.3s;

}


.category-list a:hover{

background:#791617;
color:#fff;

}



.category-list a.active{

background:#f1921f;
color:#fff;

}




/* TOOLBAR */

.shop-toolbar{

display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:30px;
flex-wrap:wrap;
gap:15px;

}


.shop-filter{

display:flex;
gap:10px;

}


.shop-filter input{

width:220px;

}



/* PRODUCTS */


.product-card{
    border: none;
    border-radius: 1px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s ease;

    height: 450px;
    display: flex;
    flex-direction: column;
}


.product-card:hover{

transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,.15);

}



.product-link{

text-decoration:none;
color:#222;

}

.product-img{
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}


.product-body{

padding:20px;

}



.product-category{

font-size:13px;
color:#777;

}


.product-body h5{

font-weight:700;
margin-top:10px;

}



.product-price{

font-size:22px;
font-weight:700;
color:#791617;

}




.product-actions{
    padding:0 20px 20px;
}

.product-actions .btn-cart{
    display:block;
    width:90%;
    text-align:center;

    background:#f1921f;
    color:#fff;

    padding:12px 18px;

    border:none;
    border-radius:8px;

    text-decoration:none;
    font-weight:600;
    font-size:14px;

    transition:.3s ease;
}

.product-actions .btn-cart:hover{
    background:#791617;
    color:#fff;
    text-decoration:none;
}



/* MOBILE */

@media(max-width:768px){


.shop-filter{

width:100%;
flex-direction:column;

}


.shop-filter input,
.shop-filter select{

width:100%;

}


.shop-banner h1{

font-size:35px;

}


}

/* =========================================
   PRODUCT PAGE - CAPITAL MABATI
========================================= */
.product-page{
    padding:70px 0;
    background:#fff;
}

/* BACK BUTTON */
.back-shop{
    display:inline-flex;
    padding:5px 10px;
    align-items:center;
    border-radius: 10px;
    gap:8px;
    text-decoration:none;
    color:#f9f9f9;
    font-weight:400;
    font-size: 14px;
    margin-bottom:25px;
    transition:.3s;
    background-color: #f1921f;
}

.back-shop:hover{
    background-color: #791617;
    color:#fff9f9;
}

/* =========================================
   PRODUCT IMAGES
========================================= */

.main-product-image{
  
    box-shadow:
    0 8px 25px rgba(0,0,0,.10);
    
}

.main-product-image img{
    width:100%;
    height:520px;
    object-fit:cover;
    border-radius:5px;
}

.product-gallery{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:20px;
}

.product-gallery img{
    width:85px;
    height:85px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    border:2px solid #eee;
    transition:.3s;
}

.product-gallery img:hover{
    border-color:#f1921f;
    transform:translateY(-4px);
}

/* =========================================
   PRODUCT DETAILS
========================================= */


.product-badge{

    display:inline-block;

    background:#791617;

    color:white;

    padding:5px 10px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

    margin-bottom:20px;

}



.product-page h1{

    font-size:40px;

    line-height:1.2;

    font-weight:800;

    color:#222;

    margin-bottom:15px;

}



.price{

    color:#f1921f;

    font-size:32px;

    font-weight:800;

    margin:20px 0;

}



/* STOCK */


.stock{

    display:inline-block;

    background:#e8f7ed;

    color:#198754;

    padding:12px 20px;

    border-radius:10px;

    font-weight:600;

    margin-bottom:30px;

}



/* =========================================
   VARIATIONS
========================================= */


.variation-area{

    margin-bottom:30px;

}

.variation-area h6{

    font-weight:700;

    margin-bottom:12px;

    color:#333;

}

.variation-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:20px;

}

.variation-btn{

    border:1px solid #ddd;

    background:white;

    padding:10px 18px;

    border-radius:8px;

    cursor:pointer;

    font-weight:500;

    transition:.3s;

}

.variation-btn:hover,
.variation-btn.active{

    background:#791617;

    color:white;

    border-color:#791617;

}

/* Selected Variation */

.selected-variation{

    margin:25px 0;

    padding:20px;

    border:1px solid #eee;

    border-radius:10px;

    background:#fafafa;

}

.selected-variation p{

    display:flex;

    justify-content:space-between;

    margin:10px 0;

    font-size:15px;

}

.selected-variation strong{

    color:#555;

}

.selected-variation span{

    font-weight:600;

    color:#222;

}

.selected-variation h3{

    margin-top:15px;

    padding-top:15px;

    border-top:1px solid #ddd;

    color:#791617;

    font-size:28px;

    font-weight:700;

}

/* Add To Cart */

.add-cart{

    width:100%;

    background:#791617;

    color:#fff;

    border:none;

    border-radius:8px;

    padding:14px;

    font-size:17px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.add-cart:hover{

    background:#5d1112;

}


.add-cart{

    width:auto;

    min-width:220px;

    background:#f1921f;

    color:#fff;

    border:none;

    padding:12px 30px;

    border-radius:10px;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    display:inline-block;

    transition:.3s;

}
.product-stock,
.add-cart{
    display:block;
}


.product-stock{
    margin-top:25px;
    margin-bottom:20px;
}


.add-cart{
    margin-top:10px;
}

/* =========================================
   DESCRIPTION
========================================= */


.description{

    margin-top:45px;

    padding-top:30px;

    border-top:1px solid #eee;

}



.description h3{

    font-size:24px;

    font-weight:800;

    margin-bottom:20px;

}



.description p{

    color:#666;

    line-height:1.9;

    font-size:16px;

}

/* ==========================
   SMALL QUANTITY CONTROL
========================== */

.quantity-box{

    display:flex;
    align-items:center;
    gap:6px;
    margin:15px 0;

}


.quantity-box button{

    width:30px;
    height:30px;

    border:none;

    background:#f4b400;

    color:#fff;

    font-size:18px;

    font-weight:bold;

    border-radius:5px;

    cursor:pointer;

    transition:.3s;

}


.quantity-box button:hover{

    background:#d99a00;

}


.quantity-box input{

    width:45px;

    height:30px;

    text-align:center;

    border:1px solid #ddd;

    border-radius:5px;

    font-size:14px;

    font-weight:600;

}

/* =========================================
   RESPONSIVE
========================================= */


@media(max-width:992px){


.product-page{

    padding:40px 0;

}


.product-page h1{

    font-size:32px;

}


.main-product-image img{

    height:400px;

}


}



@media(max-width:576px){


.product-page h1{

    font-size:27px;

}


.main-product-image img{

    height:320px;

}


.product-gallery img{

    width:70px;

    height:70px;

}


.price{

    font-size:26px;

}


}

/* ==========================
   CART SIDEBAR
========================== */

.cart-sidebar{

    position:fixed;

    top:0;

    right:-450px;

    width:420px;

    max-width:95%;

    height:100vh;

    background:#fff;

    z-index:9999;

    transition:.35s ease;

    box-shadow:-8px 0 25px rgba(0,0,0,.15);

    overflow-y:auto;

}


.cart-sidebar.active{

    right:0;

}


/* HEADER */

.cart-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px;

    background:#791617;

    color:white;

}


.cart-header h3{

    margin:0;

    font-size:22px;

}


#closeCart{

    border:none;

    background:none;

    color:white;

    font-size:32px;

    cursor:pointer;

}



/* CONTENT */

#cartContent{

    padding:20px;

}



/* CART ITEM */

.cart-item{

    display:flex;

    gap:15px;

    padding:15px 0;

}



.cart-image{

    width:90px;

    height:90px;

    object-fit:cover;

    border-radius:8px;

    border:1px solid #ddd;

}



.cart-details{

    flex:1;

}


.cart-details h5{

    margin:0 0 5px;

    font-size:16px;

    color:#333;

}


.cart-details p{

    margin:3px 0;

    font-size:14px;

    color:#666;

}



/* QUANTITY */

.cart-quantity{

    display:flex;

    align-items:center;

    gap:10px;

    margin:10px 0;

}


.qty-btn{

    width:32px;

    height:32px;

    border:none;

    background:#f1921f;

    color:white;

    border-radius:5px;

    cursor:pointer;

    font-size:18px;

}


.qty-btn:hover{

    background:#791617;

}



/* REMOVE BUTTON */

.remove-cart{

    border:none;

    background:none;

    color:#b00000;

    padding:0;

    cursor:pointer;

    font-size:14px;

}



/* TOTAL */

.cart-total{

    border-top:2px solid #eee;

    padding-top:15px;

    margin-top:15px;

}


.cart-total h4{

    font-size:20px;

}



/* CHECKOUT */

.cart-checkout,
.btn-warning{

    background:#f1921f;

    border:none;

    color:white;

    padding:12px;

    border-radius:6px;

    font-weight:bold;

}



.cart-checkout:hover,
.btn-warning:hover{

    background:#791617;

}



/* OVERLAY */

.cart-overlay{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.5);

    z-index:9998;

    opacity:0;

    visibility:hidden;

    transition:.3s;

}


.cart-overlay.active{

    opacity:1;

    visibility:visible;

}


.cart-icon{
    position:relative;
    display:inline-block;
}


.cart-count{

    position:absolute;

    top:-10px;

    right:-12px;

    background:#f1921f;

    color:white;

    width:20px;

    height:20px;

    border-radius:50%;

    font-size:12px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:bold;

}
/* MOBILE */

@media(max-width:500px){

    .cart-sidebar{

        width:100%;

    }

}