@media screen and (min-width: 992px) {

    /* scroll css */
    .main-left-col main.wrapper {
        max-height: calc(100vh - 74px);
        overflow-y: auto;
    }

    .main-right-col {
        max-height: 100vh;
        overflow-y: auto;
        border-radius: 0 0 10px 10px;
        -webkit-border-radius: 0 0 10px 10px;
        -moz-border-radius: 0 0 10px 10px;
        -ms-border-radius: 0 0 10px 10px;
        -o-border-radius: 0 0 10px 10px;
    }

    /* list-view css */
    .list-view .product-card-inner {
        text-align: right;
    }

    .list-view .product-card-inner,
    .list-view .product-card-inner .product-content {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .list-view .product-card-inner .product-content {
        gap: 10px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 0 15px 0 0;
    }

    .list-view .product-card .product-content .product-content-top .rating {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
    }

    .list-view .product-card-inner .product-card-image .img-wrapper {
        height: 100%;
    }

    .list-view .product-card-inner .product-content-top {
        height: auto;
    }

    .list-view .product-card .pro-btn-wrapper,
    .list-view .product-card .product-content-bottom .price {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: end;
    }

    /* modal css */
    #quickview-modal .modal-inner .modal-close {
        height: 25px;
        width: 25px;
    }

    /* ==================== Typography - شاشات كبيرة ==================== */
    :root {
        --h1: normal 700 48px/1.2 var(--first-font);
        --h2: normal 700 36px/1.2 var(--first-font);
        --h3: normal 700 28px/1.2 var(--first-font);
        --h4: normal 600 24px/1.2 var(--first-font);
        --h5: normal 600 20px/1.2 var(--first-font);
        --h6: normal 600 16px/1.2 var(--first-font);
    }
}

@media screen and (max-width: 1399px) {

    /* header css */
    .site-header .navigationbar-row .form-input {
        max-width: 120px;
        width: 100%;
    }

    .site-header .navigationbar-row p {
        font-size: 12px;
    }

    /* order-modal-css */
    #orderview-modal .order-view-body .order-view-header .section-title,
    .modal .order-view-body .order-view-details .order-view-left {
        max-width: calc(100% - 360px);
    }

    /* ==================== Typography - 1200-1399px ==================== */
    :root {
        --h1: normal 700 42px/1.2 var(--first-font);
        --h2: normal 700 34px/1.2 var(--first-font);
        --h3: normal 700 28px/1.2 var(--first-font);
        --h4: normal 600 22px/1.2 var(--first-font);
        --h5: normal 600 19px/1.2 var(--first-font);
        --h6: normal 600 15px/1.2 var(--first-font);
    }
}

@media screen and (max-width: 1199px) {
    :root {
        --h1: normal 700 40px/1.2 var(--first-font);
        --h2: normal 700 34px/1.2 var(--first-font);
        --h3: normal 700 28px/1.2 var(--first-font);
        --h4: normal 600 22px/1.2 var(--first-font);
        --h5: normal 600 18px/1.2 var(--first-font);
        --h6: normal 600 16px/1.2 var(--first-font);
    }

    /* header css */
    .site-header .navigationbar-row .navigation-right .btn {
        padding: 8px;
    }

    .site-header .navigationbar-row .user-drp:has(.menu-dropdown)>a {
        padding: 8px 8px 8px 22px;
    }

    .site-header .user-drp:has(.menu-dropdown)>a::before {
        left: 10px;
    }

    .site-header .navigationbar-row .navigation-right .user-drp .btn span:first-of-type {
        display: none;
    }


    .site-header .navigationbar-row .search-bar .search-drp-btn {
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
    }

    .site-header .navigationbar-row .header-search-form {
        position: absolute;
        left: 0;
        top: 100%;
        padding: 15px;
        margin: 18px 0 0;
        -webkit-box-shadow: 0 4px 24px 0 rgba(62, 57, 107, 0.18);
        box-shadow: 0 4px 24px 0 rgba(62, 57, 107, 0.18);
        background-color: var(--white);
        min-width: 250px;
        opacity: 0;
        visibility: hidden;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
        transition: all ease-in-out 0.5s;
        -webkit-transition: all ease-in-out 0.5s;
        -moz-transition: all ease-in-out 0.5s;
        -ms-transition: all ease-in-out 0.5s;
        -o-transition: all ease-in-out 0.5s;
        transform: translateY(-20px);
        -webkit-transform: translateY(-20px);
        -moz-transform: translateY(-20px);
        -ms-transform: translateY(-20px);
        -o-transform: translateY(-20px);
    }

    .site-header .navigationbar-row .header-search-form.active {
        opacity: 1;
        visibility: visible;
        transform: translate(0);
        -webkit-transform: translate(0);
        -moz-transform: translate(0);
        -ms-transform: translate(0);
        -o-transform: translate(0);
    }

    .site-header .navigationbar-row .header-search-form .form-input {
        max-width: 100%;
    }

    /* main-left-col css */
    .breadcrumb .breadcrumb-item {
        font-size: 14px;
    }

    .main-left-col ul.category-tab {
        gap: 10px 15px;
    }

    .main-left-col ul.category-tab li {
        font-size: 16px;
    }

    /* list-view css */
    .list-view .product-card-inner .product-card-image {
        max-width: 170px;
    }

    /* orderview-modal-css */
    .order-view-footer .footer-info ul li {
        font-size: 14px;
    }
}

@media screen and (max-width: 991px) {
    :root {
        --h1: normal 700 36px/1.2 var(--first-font);
        --h2: normal 700 30px/1.2 var(--first-font);
        --h3: normal 700 26px/1.2 var(--first-font);
        --h4: normal 600 20px/1.2 var(--first-font);
        --h5: normal 600 18px/1.2 var(--first-font);
        --h6: normal 600 14px/1.2 var(--first-font);
    }

    .main-left-col main.wrapper {
        padding: 1px 15px 0;
    }

    /* main-left-col css */
    .main-left-col {
        margin: 0 0 30px;
    }

    .site-header .main-navigationbar .logo-col,
    .site-header .main-navigationbar .navigationbar-row {
        padding: 15px;
    }

    /* custom-fields css */
    .checkout-fields .checkout-btn {
        width: auto;
    }

    /* list-view css */
    .list-view .product-card-inner .product-card-image {
        max-width: 100%;
    }

    .list-view .product-card-inner .product-content-top ul {
        margin: 0 0 15px;
    }

    .list-view .product-card .pro-btn-wrapper {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .order-list-wrapper .order-list-topbar ul {
        gap: 25px;
    }

    /* order-modal-css */
    .order-view-footer .footer-info:nth-child(2) {
        border-left: 0;
    }

    .order-view-footer .footer-info:not(:last-of-type) {
        border-bottom: 1px solid var(--border-color);
    }

    #orderview-modal .order-view-body .order-view-header .section-title,
    .modal .order-view-body .order-view-details .order-view-left {
        max-width: calc(100% - 330px);
    }

    #orderview-modal .order-view-header,
    #orderview-modal .order-view-details {
        gap: 15px;
    }

    .modal .order-view-body .sub-header .print-btn {
        padding: 5px 10px;
        font-size: 16px;
    }

    .modal .order-view-body .sub-header .print-btn svg {
        width: 18px;
        height: 18px;
    }

    .site-footer .footer-inner {
        padding: 10px 15px;
    }
    /* 30.01 */
    .main-right-col{
        border-right: 0;
    }
    .main-left-col .tab-header{
        margin: 0 0 20px;
    }
    /* 30.01 */


    .navigation-right .cart-toggle {
        width: 34px;
        height: 34px;
    }

    .main-right-col {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: auto;
        height: 100vh;
        overflow-y: auto;
        max-width: 100vw;
        width: 90vw;
        z-index: 1050;
        background: #ffffff;
        box-shadow: -2px 0 16px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 1;
        visibility: visible;
        border-left: none;
        border-bottom: none;
        border-radius: 0;
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
    }
    .main-right-col.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    body.cart-overlay-active {
        overflow: hidden;
    }
    .cart-overlay {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1049;
        opacity: 1;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .cart-sidebar-close {
        display: flex;
        position: absolute;
        top: 15px;
        left: 12px;
        z-index: 1100;
        background: #ffffff00;
        border: 0px solid #ddd;
        border-radius: 25%;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
       
        cursor: pointer;
        transition: background 0.2s;
    }
    .cart-sidebar-close:hover,
    .cart-sidebar-close:focus {
        background: #f5f5f5;
    }
    .cart-sidebar-close svg {
        width: 25px;
        height: 25px;
        display: block;
    }

}

@media screen and (max-width: 767px) {
    :root {
        --h1: normal 700 32px/1.2 var(--first-font);
        --h2: normal 700 28px/1.2 var(--first-font);
        --h3: normal 700 24px/1.2 var(--first-font);
        --h4: normal 600 18px/1.2 var(--first-font);
        --h5: normal 600 16px/1.2 var(--first-font);
        --h6: normal 600 14px/1.2 var(--first-font);
    }

    /* header css */
    .site-header .main-navigationbar .navigationbar-row {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: end;
    }

    .site-header .main-navigationbar .navigationbar-row .navigation-left {
        display: none;
    }

    /* main-left-col css */
    .main-left-col ul.category-tab {
        margin: 0 0 20px;
    }

    /* product-card css */
    .product-card .pro-btn-wrapper .pro-btn {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }

    .product-card .pro-btn-wrapper a,
    .product-card .pro-btn-wrapper button {
        height: 30px;
        width: 30px;
    }

    .product-card .pro-btn-wrapper .pro-btn svg {
        width: 18px;
        height: 18px;
    }

   
    .main-left-col ul.category-tab {
        margin: 0 0 12px;
        gap: 6px 10px;
    }

    .main-left-col ul.category-tab li {
        font-size: 13px;
        padding: 6px 12px;
        border-width: 1.5px;
    }
    /* modal css */
    .modal-wrapper .modal-inner,
    #quickview-modal .modal-inner .modal-body {
        padding: 4px 1px 2px;
    }

    .qv-right-content {
        padding: 10px  15px 0 15px;
    }

    .qv-right-content .id-wrp span {
        font-size: 14px;
        display: none;
    }

    #quickview-modal .modal-footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    #quickview-modal .modal-footer .qv-block {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 10px 15px;
    }

    #quickview-modal .modal-footer .qv-block:not(:last-of-type) {
        border-bottom: 1px solid var(--border-color);
        display: none;
    }

    #quickview-modal .modal-footer .stock-block {
        max-width: 100%;
        display: none;
    }

    /* order-complete page css */
    .order-complete-wrap .order-bottom-content>p {
        font-size: 16px;
    }

    /* orderview-page-css */
    .order-list tr th,
    .order-list tr td,
    .order-view tr th,
    .order-view tr td {
        font-size: 14px;
    }

    #orderview-modal .order-view-body .order-view-header .section-title,
    .modal .order-view-body .order-view-details .order-view-left {
        max-width: 100%;
    }

    .modal .order-view-body .order-subtotal ul li {
        font-size: 14px;
    }

    .modal .order-view-body .order-view-details .order-view-right,
    .modal .order-view-body .sub-header {
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
    }

    .order-list,
    .order-view {
        border: 0;
    }

    .order-list-wrapper .order-list-topbar ul a {
        font-size: 16px;
    }
    /* reset password css start */
    .reset-password-page .login-form-inner{
        padding: 20px 15px;
    }
    .reset-password-page .login-page {
        padding: 40px 0;
    }
    /* reset password css end */

    .site-header .navigationbar-row .navigation-right {
        gap: 10px;
    }
    .site-header .main-navigationbar .navigationbar-row {
        padding-right: 0;
    }
    .site-header .main-navigationbar .logo-col a {
        max-width: 120px;
    }
}

@media screen and (max-width: 575px) {
    :root {
        --h1: normal 700 28px/1.2 var(--first-font);
        --h2: normal 700 24px/1.2 var(--first-font);
        --h3: normal 700 20px/1.2 var(--first-font);
        --h4: normal 600 16px/1.2 var(--first-font);
        --h5: normal 600 14px/1.2 var(--first-font);
    }

    /* header css */
    .site-header .navigationbar-row .header-search-form {
        left: -50px;
    }

    /* footer css */
    .site-footer .footer-inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .site-footer .footer-inner p {
        font-size: 14px;
    }

    .site-footer .social-icons li a svg {
        height: 16px;
        width: 16px;
    }

    /* modal css */
    #variant-modal .variant-image {
        padding-top: 80%;
    }

    #variant-modal .variant-right {
        padding: 20px 0 0;
    }

    #checkout-modal .login-btn-wrp {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    /* order-complete page css */
    .order-complete-wrap .order-bottom-content .copy-link {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    /* order-page-css */
    .order-list-wrapper .order-list-topbar {
        margin: 20px 0;
        align-items: start;
        -ms-flex-align: start;
        -webkit-box-align: start;
        flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        gap: 15px;
    }

    #cart-modal .modal-body {
        flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        gap: 15px;
    }

    #cart-modal .modal-wrapper .modal-inner {
        padding: 30px 15px 15px;
    }

    #cart-modal .modal-inner .modal-close {
        top: 10px;
        left: 10px;
    }

    #cart-modal .cart-modal-info h3 {
        margin-bottom: 15px;
    }
    /* 3.02 */
    .page-header.order-page-sec .page-header-title {
        max-width: 200px;
        width: 100%;
    }
    .page-header.order-page-sec .page-header-title img{
        height: auto !important;
    }
    /* 3.02 */
}

@media screen and (max-width: 375px) {
    :root {
        --h1: normal 700 24px/1.1 var(--first-font);
        --h2: normal 700 20px/1.1 var(--first-font);
        --h3: normal 700 18px/1.1 var(--first-font);
    }

    .modal .order-view-body .sub-header {
        flex-direction: column;
        flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        align-items: start;
        -ms-flex-align: start;
        -webkit-box-align: start;
    }
}