body {
    margin: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        Roboto,
        Helvetica Neue,
        Helvetica,
        Tahoma,
        Arial,
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;
}

body {
    visibility: hidden;
}
    
body.loaded {
    visibility: visible;
}

.top-bar {
    background: #f85606;
    padding: 6px 0;
    font-size: 12px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

.top-bar a:hover {
    text-decoration: none;
    opacity: 0.8;
    color: #eeecd9;
}

.main-header {
    background: #F5F5F5;
    padding: 1px 0;
}

.logo {
    height: 40px;
}

.search-box {
    display: flex;
    background: #f85606;
    border-radius: 0px;
    overflow: hidden;
    border: 1px solid #f85606;
}

.search-box input {
    border: none;
    padding: 5px 11px;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.search-box button {
    background: #ffe1d2;
    border: none;
    padding: 0 16px;
    cursor: pointer;
}

.search-box i {
    color: #f85606;
    font-size: 18px;
}

.cart-icon {
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.daraz-footer {
    /* background: #f5f5f5; */
    background: #ffffff !important;
    padding: 40px 0 20px;
    font-size: 13px;
    color: #333;
}

.daraz-footer h6 {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.daraz-footer ul {
    list-style: none;
    padding: 0;
}

.daraz-footer ul li {
    margin-bottom: 6px;
}

.daraz-footer ul li a {
    color: #555;
    text-decoration: none;
}

.daraz-footer ul li a:hover {
    color: #f85606;
}

.app-box {
    display: flex;
    justify-content: end;
    gap: 10px;
    align-items: center;
}

.app-box p {
    margin: 0;
    font-size: 12px;
}

.app-buttons img {
    height: 40px;
    margin-left: 8px;
    margin-top: 10px;
}

.payment-img {
    max-width: 100%;
    margin-top: 8px;
}

.verify-img {
    height: 45px;
    margin-top: 8px;
}

.social-icons i {
    font-size: 18px;
    margin-left: 10px;
    cursor: pointer;
}

.social-icons i:hover {
    color: #f85606;
}

hr {
    margin: 25px 0;
}

copyright {
    font-size: 12px;
    margin-top: 8px;
}

/* Banner */

.carousel {
    /* border-radius: 10px; */
    overflow: hidden;
}

.carousel-inner img {
    /* height: 420px; */
    object-fit: cover;
}

.carousel-indicators {
    bottom: 15px;
}

.carousel-indicators li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
}

.carousel-indicators .active {
    background-color: #ffffff;
}
.carousel-control-prev,
.carousel-control-next {
    width: 45px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    filter: brightness(0) invert(1);
}

.download-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 991px) {
    .carousel-inner img,
    .download-box {
        height: auto;
    }
}

/* Flash Sale */

.btn-flash-sale {
    background-color: transparent;
    border: 1px solid #f57224;
    border-radius: 2px;
    color: #f57224;
    font-size: 14px;
    font-weight: 500;
    height: 35px;
    line-height: 35px;
    margin-right: 11px;
    margin-top: 13px;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none !important;
}

.btn-flash-sale:hover {
    cursor: pointer !important;
    text-decoration: none !important;
    color: #f57224 !important;
}

.product-card {
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    height: 100%;
    transition: 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-img {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-title {
    font-size: 13px;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    margin-bottom: 6px;
}

.price {
    color: #f57224;
    font-weight: 600;
    font-size: 15px;
}

.old-price {
    font-size: 12px;
    color: #999;
}

.old-price span {
    text-decoration: line-through;
}

.old-price small {
    color: #333;
    margin-left: 4px;
}

.category-box {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 5px;
    text-align: center;
    text-decoration: none;
    color: #333;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    height: 150px;
    transition: 0.3s;
}

.category-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 8px;
}

.category-item span {
    font-size: 13px;
    line-height: 1.3;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-item:hover {
    box-shadow: inset 0 0 0 1px #224079;
    color: #224079;
}

@media (min-width: 992px) {
    .category-item:nth-child(6n) {
        border-right: none;
    }
}

/* Just For you */

.jfy-card {
    background: #fff;
    padding: 10px;
    height: 100%;
    transition: 0.3s;
}

.jfy-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.jfy-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.jfy-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.jfy-title {
    font-size: 13px;
    line-height: 1.4;
    /* height: 38px; */
    overflow: hidden;
    margin-bottom: 6px;
}

.jfy-price {
    color: #f57224;
    font-weight: 600;
    font-size: 15px;
}

.jfy-old {
    font-size: 12px;
    color: #999;
}

.jfy-old span {
    text-decoration: line-through;
    margin-right: 4px;
}

.jfy-rating {
    font-size: 12px;
    color: #faca51;
}

.jfy-rating small {
    color: #777;
}

.load-more-btn {
    border: 1px solid #f85606;
    color: #f85606;
    cursor: pointer;
    display: block;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    width: 250px;
}

/* Product */



.img-box {
    background: #fff;
    padding: 15px;
    text-align: center;
}

.main-img {
    width: 100%;
    object-fit: contain;
}

.thumb-row img {
    width: 70px;
    height: 70px;
    border: 1px solid #eee;
    cursor: pointer;
}

.thumb-nav {
    border: none;
    background: #fff;
    font-size: 20px;
}

.icon-row span {
    margin-right: 10px;
    font-size: 18px;
}

.title {
    font-size: 16px;
    font-weight: 600;
    padding-top: 12px;
}

.rating-row {
    color: #faca51;
    font-size: 13px;
    margin-bottom: 6px;
}

.brand {
    font-size: 13px;
    margin-bottom: 10px;
}

.brand a {
    color: #1a9cff;
    text-decoration: none;
}

.price-area {
    margin-bottom: 15px;
}

.price {
    color: #f57224;
    font-size: 22px;
    font-weight: 600;
}

.old {
    text-decoration: line-through;
    color: #999;
    margin-left: 8px;
}

.off {
    color: #f57224;
    margin-left: 8px;
    font-size: 13px;
}

.option {
    margin-bottom: 15px;
}

.color {
    border: 1px solid #f57224;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
}

.qty {
    display: flex;
    border: 1px solid #ddd;
}

.qty button {
    width: 32px;
    border: none;
    background: #f5f5f5;
}

.qty input {
    width: 40px;
    border: none;
    text-align: center;
}

.action-btns {
    display: flex;
    gap: 10px;
}

.buy {
    background: #2abbe8;
    color: #fff;
    flex: 1;
}

.cart {
    background: #f57224;
    color: #fff;
    flex: 1;
}

.side-card {
    background: #fafafa;
    padding: 12px;
    font-size: 13px;
}

.side-card h6 {
    font-size: 13px;
    font-weight: 600;
}

.qr {
    width: 100%;
}

.seller-stats {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.store-link {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #1a9cff;
    text-decoration: none;
}

.btn-buy {
    padding: 0;
    width: 225px;
    text-align: center;
    margin-right: 10px;
    background: #2abbe8;
    color: #fff;
    border: 1px solid #2abbe8;
}
.btn-cart {
    padding: 0;
    width: 225px;
    text-align: center;
    margin-right: 10px;
    background: #f57224;
    color: #fff;
    border: 1px solid #f57224;
}

.product-details-section {
    background: #ffffff;
    padding-top: 4px;
}

/* Product Details */
.page-bg {
    background: #f1f3f6;
    min-height: 100vh;
}

.product-page-card {
    background: #ffffff;
    max-width: 85% !important;
    padding: 20px 25px;
}

.product-page-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-content {
    font-size: 13px;
    color: #333;
}

.product-list {
    padding-left: 18px;
    margin-bottom: 12px;
}

.product-list li {
    margin-bottom: 4px;
    line-height: 1.5;
}

.view-more-btn {
    font-size: 12px;
    padding: 6px 18px;
    border-radius: 2px;
}

/* Category Page */
.filter-sidebar {
    background: #fff;
    padding: 15px;
}

.filter-title {
    font-weight: 600;
    margin: 15px 0 6px;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 6px;
    cursor: pointer;
    font-size: 14px;
}

.filter-list li.active {
    color: #f57224;
}

.price-filter {
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-filter input {
    width: 55px;
    padding: 4px;
    font-size: 12px;
}

.price-filter button {
    background: #f57224;
    border: none;
    color: #fff;
    padding: 4px 8px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sort-select {
    font-size: 13px;
    width: 160px;
}

.product-grid {
    padding: 15px;
}

.product-img {
    height: 150px;
    margin-bottom: 8px;
}

.price {
    color: #f57224;
    font-weight: 600;
    font-size: 15px;
}

.old-price {
    font-size: 12px;
    color: #999;
}

.old-price span {
    color: #f57224;
}

.rating {
    color: #faca51;
    font-size: 12px;
}

.rating span {
    color: #777;
}

.sold {
    font-size: 12px;
    color: #777;
}

.pagination-wrapper {
    margin: 25px 0;
    display: flex;
    justify-content: center;
}

.pagination .page-link {
    color: #f57224;
}

.pagination .active .page-link {
    background: #f57224;
    border-color: #f57224;
    color: #fff;
}

.form-select {
    width: 60% !important;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
}

.form-select:focus {
    border-color: none !important;
    box-shadow: none !important;
}

.category-wrapper {
    position: relative;
    display: inline-block;
}

.category-btn {
    background: #fff;
    color: #390ca0;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
}

.mega-menu {
    position: absolute;
    top: 45px;
    left: 0;
    width: 850px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    display: none;
    z-index: 999;
}

.menu-col {
    width: 33.33%;
    list-style: none;
    padding: 12px 0;
    margin: 0;
    border-right: 1px solid #eee;
}

.menu-col:last-child {
    border-right: none;
}

.menu-col li {
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
}

.menu-col li:hover,
.menu-col li.active {
    background: #f9f9f9;
    color: #ff5a00;
    font-weight: 600;
}

.level-2,
.level-3 {
    display: none;
}

.highlight {
    color: #ff5a00;
    font-weight: 600;
}

@media (max-width: 767px) {
    #carouselExampleIndicators {
        padding: 10px;
        border-radius: 16px;
        overflow: hidden;
        background: #fff;
    }

    #carouselExampleIndicators .carousel-inner {
        border-radius: 16px;
        overflow: hidden;
    }

    #carouselExampleIndicators .carousel-item img {
        border-radius: 16px;
    }
}

#mobileSidebar {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #9b572ff0;
    padding: 20px;
    z-index: 9999;
    transition: right 0.3s ease;
}

#mobileSidebar button#closeSidebar {
    background: none;
    border: none;
    font-size: 30px;
    color: #fff;
    float: right;
    cursor: pointer;
}

#mobileSidebar ul {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

#mobileSidebar ul li {
    margin: 20px 0;
}

#mobileSidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

#mobileSidebar.active {
    right: 0;
}

@media (max-width: 991px) {
    .top-bar .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .main-header .search-box {
        display: none;
    }
}

.jfy-a {
    text-decoration: none;
    color: black;
}
.jfy-a:hover {
    color: #f85606;
}

.form-select {
    font-size: 13px !important;
}

.logout-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    text-decoration: none;
}

.logout-btn:hover {
    color: #e3e5e7;
}
