/*  Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    .header-text {
        display: flex;
        justify-content: center;
        margin-bottom: 8px;
    }
    .toggle {
        margin-top: 15px;
    }
    .logo-text {
        justify-content: center;
    }
    .logo-text img {
        max-width: 80px;
    }
    .header-mid {
        padding: 5px 15px;
    }
    .featured-product .featured-product-head {
        padding: 20px 0;
        margin-bottom: 0;
    }
    .featured-product .featured-product-head .col-left h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    .featured-product .nav-pills {
        padding-top: 0;
        flex-wrap: wrap;
    }
    .featured-product .nav-pills li {
        width: 100%;
    }
    .featured-product .nav-pills .nav-link {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 15px 10px;
    }
    .card-product .card-caption {
        padding: 5px;
    }
    .card-product .card-caption h2 a {
        font-size: 13px;
    }
    .card-product .card-caption .card-price span {
        width: 100%;
    }
    .card-product .card-caption .card-price .price {
        font-size: 13px;
    }
    .card-product .card-caption .card-price .discount {
        font-size: 12px;
    }
    .card-product:hover .card-overlay .btn-card {
        width: 35px;
        height: 35px;
    }
    .social {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .policy-box {
        margin-bottom: 15px;
    }
    .list-category li h2 {
        margin-top: 15px;
        padding: 0 0 15px;
    }
    .register h2 {
        margin-top: 15px;
        padding: 0 0 15px;
    }
    .main-footer {
        padding: 15px 0;
    }
    .copy-right-text {
        text-align: center;
        font-size: 14px;
        width: 100%;
    }
    .copy-right-list {
        text-align: center;
        margin-top: 10px;
        justify-content: space-evenly;
        width: 100%;
    }
    .copy-right-list li a {
        font-size: 14px;
    }
    .sidebar {
        position: fixed;
        left: -350px;
        top: 0;
        width: 350px;
        height: 100%;
        background-color: #fff;
        z-index: 999999;
        transition: all .5;
        opacity: 0;
        visibility: hidden;
    }
    .sidebar.open {
        left: 0;
        opacity: 1;
        visibility: visible;
    }
    .sidebar .sidebar-head {
        padding: 10px 15px;
        background: #222;
        display: flex;
        justify-content: space-between;
        justify-items: center;
        color: #fff;
        font-size: 18px;
    }
    .sidebar .sidebar-head span:nth-child() {
        font-weight: bold;
    }
    .s-navigate {
        list-style: none;
        margin: 20px 0;
        padding: 0 20px;
    }
    .s-navigate li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        color: #222;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid #eee;
        transition: all .3s;
    }
    .s-navigate li a:hover {
        color: var(--color-hover);
    }
    .s-navigate li a span {
        font-size: 12px;
        display: block;
        color: #fff;
        padding: 3px 8px;
    }
    .s-navigate li span.bagde-sale {
        background-color: var(--color-sale);
    }
    .s-navigate li span.bagde-new {
        background-color: var(--color-new);
    }
    .s-form-search {
        width: 100%;
        padding: 0 15px;
        margin-top: 15px;
    }
    .s-form-search form {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: 1px solid #222;
    }
    .s-form-search form input {
        width: 320px;
        font-size: 13px;
        padding: 12px;
        border: none;
    }
    .s-form-search form input:focus {
        outline: none;
    }
    .s-form-search form button {
        background-color: #222;
        color: #fff;
        font-size: 24px;
        width: 48px;
        height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .s-form-search form button:focus {
        outline: none;
    }
    .breabcrum {
        padding: 20px 0;
    }
    .price-box span {
        width: 100%;
    }
    .add-cart button {
        width: 100%;
    }
    .add-cart button i {
        font-size: 16px;
    }
    .contact-box {
        margin-bottom: 15px;
    }
    .news-box .news-item .news-image {
        width: 100%;
    }
    .news-box .news-item .news-content {
        width: 100%;
        padding: 10px 0;
    }
    .cart-box {
        flex-wrap: wrap-reverse;
    }
    .shoping-cart {
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid #ccc;
    }
    .card-product .card-image {
        max-height: 150px;
    }
    .dropdown-menu-mb {
        display: none;
    }
}