
/* ==========Desktop Menu=========== */

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

/* WRAPPER */
.nav-wrapper {
    position: relative;
    font-family: Arial, sans-serif;
}
.form-control{
    background: #F0DEC0 !important;
    border: 1px solid #D9C8A0 !important;
}
/* NAVBAR */
.navbar {
    display: flex;
    gap: 24px;
    background: #FBF3E4;
    padding: 5px 4px;
    align-items: center;
}

.navbar a {
    color: #c06565;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 2px 2px;
    position: relative;
}

/* underline hover (rokomari style) */
.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #f85606;
    transition: .3s;
}

.navbar a:hover::after {
    width: 100%;
}

/* MEGA MENU WRAPPER */
.mega-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #FBF3E4;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
    display: none;
    z-index: 999;
    animation: fadeSlide .25s ease;
}

/* animation */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MEGA MENU CONTENT */
.mega-menu {
    display: none;
}

.mega-menu.active {
    display: block;
}

/* GRID */
.mega-grid {
    max-width: 1200px;
    margin: auto;
    padding: 20px 30px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 35px;
}

/* COLUMN */
.mega-column h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
}

.mega-column a {
    display: block;
    font-size: 14px;
    color: #555;
    padding: 6px 0;
    text-decoration: none;
}

.mega-column a:hover {
    color: #f85606;
}

/* subtle divider */
.mega-column {
    position: relative;
}

.mega-column:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: -18px;
    width: 1px;
    height: 100%;
    background: #eee;
}

/* ======================
   RESPONSIVE (ROKOMARI STYLE)
====================== */

/* Tablet */
@media (max-width: 992px) {
    .mega-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 25px;
    }

    .mega-column:not(:last-child)::after {
        display: none;
    }
}

/* Mobile */
@media (max-width: 600px) {

    .navbar {
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .navbar a {
        width: 100%;
        padding: 12px 0;
    }

    .mega-wrapper {
        position: static;
        box-shadow: none;
        animation: none;
    }

    .mega-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .mega-column {
        border-bottom: 1px solid #eee;
        padding-bottom: 12px;
    }

    .mega-column:last-child {
        border-bottom: none;
    }
}





/* ========Mobile menu========= */
/* MOBILE HEADER */
.mobile-header {
    background: #222;
    color: #fff;
}

.mobile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
}


#mobileMenuBtn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #000;
    margin: 5px 0;
    border-radius: 2px;
}


/* MOBILE MENU */
.mobile-menu {
    display: none;
    background: #fff;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    display: block;
    padding: 12px 16px;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

/* SUB MENU */
.has-sub > a {
    font-weight: 600;
}

.sub-menu {
    display: none;
    background: #f9f9f9;
}

.sub-menu a {
    padding-left: 30px;
    font-size: 14px;
}

.bg-white{
    background-color:#FBF3E4 !important;
}
.table>:not(caption)>*>*{
    background-color:#FBF3E4 !important;
}
.fa{
    color:#E8C89A;
}
.copyright{
    color:#E8C89A;
}
/* =======Category page CSS========= */ 
.filter-box {
    border: 0.5px solid #D9C8A0;
    padding: 15px;
    border-radius: 6px;
    background: #F0DEC0;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.filter-group ul {
    list-style: none;
    padding: 0;
}

.filter-group li {
    font-size: 13px;
    margin-bottom: 6px;
}

.product-card {
    border: 1px solid #a95b5b;
    padding: 10px;
    border-radius: 6px;
    background: #9B6030;
    height: 100%;
    position: relative;
}

.product-card img {
    width: 100%;
    object-fit: contain;
}

.product-card h6 {
    font-size: 14px;
    margin-top: 10px;
}

.product-card p {
    font-size: 12px;
    color: #777;
}

.product-card .price span {
    color: #e91e63;
    font-weight: 600;
}

.product-card .price del {
    font-size: 12px;
    margin-right: 5px;
}

.discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff3d3d;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
}


.product-image-zoom {
    overflow: hidden;
    cursor: zoom-in;
}

.product-image-zoom img {
    transition: transform 0.4s ease;
}

.product-image-zoom:hover img {
    transform: scale(1.5);
}
.product-image-wrapper {
    position: sticky;
    top: 100px;          /* navbar height অনুযায়ী */
    z-index: 10;         /* menu থেকে অনেক কম */
}

.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #111;
    text-decoration: none;
    margin-right: 20px;
}

.cart-icon i {
    font-size: 24px;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #dc3545; /* Bootstrap danger red */
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    line-height: 1;
}
.cart-icon:hover i {
    transform: scale(1.08);
}

.cart-icon i {
    transition: transform 0.2s ease;
}

/* User dahsboard CSS */
  .profile-menu a {
    text-decoration: none;
    color: #333;
    padding: 12px 16px;
    display: flex;
    width: 100%;
    font-weight: 500;
}

.profile-menu li {
    transition: 0.2s;
}

.profile-menu li:hover {
    background: #f8f9fa;
}

.profile-menu i {
    width: 22px;
    text-align: center;
    font-size: 16px;
}

.profile-menu .active {
    background: #0d6efd;
    color: #fff;
}

.profile-menu .active i {
    color: #fff;
}



/* status update css */
 .badge-status {
    padding: .45em .65em;
    }

    .badge-pending { background:#fff3cd; color:#000; }
    .badge-processing { background:#cfe2ff; color:#000; }
    .badge-shipped { background:#d1e7dd; color:#000; }
    .badge-delivered { background:#198754; color:#fff; }
    .badge-cancelled { background:#f8d7da; color:#000; }

    .status-pending {
        background-color: #fff3cd; /* yellow */
    }
    .status-processing {
        background-color: #cfe2ff; /* blue */
    }
    .status-shipped {
        background-color: #d1e7dd; /* green soft */
    }
    .status-delivered {
        background-color: #198754; /* green */
        color: #fff;
    }
    .status-cancelled {
        background-color: #f8d7da; /* red */
    }



    /* order tracking csss
     */

     .order-track{
    display:flex;
    justify-content:space-between;
    position:relative;
}
.order-track::before{
    content:'';
    position:absolute;
    top:20px;
    left:0;
    right:0;
    height:4px;
    background:#e9ecef;
    z-index:0;
}
.track-step{
    text-align:center;
    position:relative;
    z-index:1;
    width:25%;
}
.track-step .circle{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#e9ecef;
    margin:0 auto 6px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
}
.track-step.active .circle{
    background:#0df29c;
    color:#fff;
}
.track-step .label{
    font-size:14px;
}
.track-step{
    text-align:center;
    position:relative;
    z-index:1;
    width:20%; /* 5 steps = 100 / 5 */
}
.py-4{
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}
.pb-4{
    padding-bottom: 0.2rem !important;
}
.mt-5{
    margin-top: 0.5rem !important;
}
.clicked{
    color: #4fcf9c !important;

}
b{
    color:black;
}
.card{
    background: #F0DEC0;
    --bs-card-border-color:#f3d0d0;
}
.list-group-item{
    background: #FBF3E4 !important;
}