    /* ====================swith button=========================================================================== */

    @media(max-width:1199px) {
        .ml-desktop-switch {
            width: 260px;
        }

        .ml-desktop-switch .ml-auth-tab {
            font-size: 13px;
            gap: 5px;
        }
    }

    /* 991 */
    @media(max-width:991px) {
        .ml-desktop-switch {
            display: none !important;
        }

        .ml-mobile-switch {
            display: flex !important;
            width: 100%;
            max-width: 300px;
            margin: 24px auto 0;
        }
    }

    /* 575 */
    @media(max-width:575px) {
        .ml-mobile-switch {
            max-width: 260px;
            padding: 4px;
        }

        .ml-mobile-switch .ml-auth-switch-bg {
            top: 4px;
            left: 4px;
            width: calc(50% - 4px);
            height: 38px;
        }

        .ml-mobile-switch.admin-active .ml-auth-switch-bg {
            left: calc(50%);
        }

        .ml-mobile-switch .ml-auth-tab {
            height: 38px;
            font-size: 12px;
            gap: 5px;
        }

        .ml-mobile-switch .ml-auth-tab i {
            font-size: 13px;
        }
    }

    /* ========================= */
    /*HEADER/FOOTER MEDIA QUERIES */
    /* ========================= */
    @media(max-width:991px) {
        .ml-new-menu-btn {
            display: flex;
        }

        .ml-new-call-btn {
            display: none;
        }

        .ml-new-nav {
            position: absolute;
            top: 95px;
            left: 15px;
            right: 15px;

            display: none;
            flex-direction: column;
            align-items: stretch;
            gap: 8px;

            padding: 18px;
            border-radius: 26px;
            background: rgba(255, 255, 255, .98);
            border: 1px solid rgba(49, 160, 80, .12);
            box-shadow: 0 24px 70px rgba(31, 45, 34, .16);
        }

        .ml-new-nav.show {
            display: flex !important;
        }

        .ml-new-nav a {
            padding: 15px 18px;
            border-radius: 16px;
            text-align: center;
        }

        .ml-new-nav a::after {
            display: none;
        }

        .ml-new-nav a.active {
            color: #fff;
            background: linear-gradient(135deg, #31a050, #a6ce39);
        }
    }


    /* footer---------------------------------------- */

    @media(max-width:991px) {
        .ml-footer-top {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media(max-width:767px) {
        .ml-premium-footer {
            padding: 65px 0 24px;
        }

        .ml-footer-top {
            grid-template-columns: 1fr;
            gap: 34px;
        }

        .ml-footer-brand h2 {
            font-size: 44px;
        }

        .ml-footer-bottom {
            padding-top: 80px;
        }

        .ml-scroll-top {
            left: 50%;
            right: auto;

            transform: translateX(-50%);
        }

        .ml-scroll-top:hover {
            transform: translateX(-50%) translateY(-6px);
        }

        .ml-scroll-top {
            display: none;
            position: fixed;
            right: 20px;
            bottom: 65px;
            z-index: 9999;
        }
    }

    @media (max-width:575px) {

        .ml-premium-footer .container {
            text-align: center;
        }

        .ml-footer-top {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
            justify-items: center;
        }

        .ml-footer-brand,
        .ml-footer-links,
        .ml-footer-contact,
        .ml-footer-newsletter {
            width: 100%;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .ml-premium-footer .ml-new-logo {
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .ml-premium-footer .ml-new-logo img {
            margin: 0 auto;
        }

        .ml-footer-social {
            justify-content: center;
        }

        .ml-footer-links a {
            width: 100%;
            text-align: center;
        }

        .ml-footer-contact div {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            text-align: center;
            margin-bottom: 20px;
        }

        .ml-footer-contact i {
            margin: 0;
        }

        .ml-footer-newsletter form {
            width: 100%;
            max-width: 320px;
            margin: 20px auto;
        }

        .ml-footer-bottom {
            text-align: center;
        }
    }

    /* =========================================================================================================================
         ABOUT PAGE 
   ===================*/


    @media(max-width: 991px) {
        .ml-story-editorial-wrap {
            grid-template-columns: 1fr;
            padding: 45px;
            gap: 45px;
        }

        .ml-story-editorial-visual {
            min-height: 460px;
        }

        .ml-story-editorial-image {
            inset: 0;
        }

        .stat-two {
            left: 20px;
        }

        .ml-approach-premium-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .ml-conditions-lux-wrap {
            grid-template-columns: 1fr;
        }

        .ml-conditions-lux-left {
            min-height: auto;
        }

        .ml-mv-premium-wrap {
            grid-template-columns: 1fr;
        }

        .ml-mv-premium-card {
            min-height: auto;
        }
    }

    @media(max-width: 767px) {
        .ml-story-editorial-section {
            padding: 70px 0;
        }

        .ml-story-editorial-wrap {
            padding: 28px;
            border-radius: 30px;
        }

        .ml-story-editorial-content h2 {
            font-size: 32px;
        }

        .ml-story-editorial-content p {
            font-size: 15px;
        }

        .ml-story-editorial-visual {
            min-height: 360px;
        }

        .ml-story-stat-card {
            position: static;
            margin-top: 14px;
        }

        .ml-approach-premium-section {
            padding: 70px 0;
        }

        .ml-approach-premium-head {
            margin-bottom: 40px;
        }

        .ml-approach-premium-grid {
            grid-template-columns: 1fr;
            gap: 18px;
        }

        .ml-approach-premium-card {
            min-height: auto;
            padding: 32px 24px;
            border-radius: 26px;
        }

        .ml-approach-icon {
            width: 74px;
            height: 74px;
            font-size: 32px;
            border-radius: 22px;
        }

        .ml-conditions-lux-section {
            padding: 70px 0;
        }

        .ml-conditions-lux-left {
            padding: 32px;
            border-radius: 30px;
        }

        .ml-conditions-lux-image {
            height: 240px;
            border-radius: 24px;
        }

        .ml-conditions-lux-grid {
            grid-template-columns: 1fr;
        }

        .ml-conditions-lux-card {
            padding: 26px;
            border-radius: 26px;
        }

        .ml-conditions-lux-icon {
            min-width: 58px;
            height: 58px;
            font-size: 24px;
        }

        .ml-mv-premium-section {
            padding: 70px 0;
        }

        .ml-mv-premium-head {
            margin-bottom: 40px;
        }

        .ml-mv-premium-card {
            padding: 32px;
            border-radius: 30px;
        }

        .ml-mv-icon {
            width: 72px;
            height: 72px;
            font-size: 30px;
            border-radius: 24px;
        }

        .ml-mv-premium-card h3 {
            font-size: 24px;
        }

        .ml-mv-premium-card p {
            font-size: 15px;
        }
    }

    @media (max-width: 575px) {

        .ml-story-stat-card.stat-one,
        .ml-story-stat-card.stat-two {
            display: none !important;
        }
    }

    /* ===========================
       pharmacy
    ========================= */
    @media (max-width: 991px) {
        .ml-pharmacy-hero {
            min-height: auto;
            padding: 90px 0;
        }

        .ml-pharmacy-hero-content {
            text-align: center;
            margin: 0 auto;
        }

        .ml-pharmacy-hero-actions {
            justify-content: center;
        }

        .ml-pharmacy-hero-points {
            justify-content: center;
        }

        .ml-pharmacy-hero-visual {
            min-height: auto;
            margin-top: 50px;
        }

        .ml-pharmacy-hero-image-card {
            width: 100%;
            transform: rotate(0);
        }

        .ml-pharmacy-hero-image-card img {
            height: 430px;
        }

        .ml-pharmacy-hero-info-card {
            left: 30px;
            bottom: 100px;
        }

        .ml-pharmacy-showcase {
            padding: 80px 0;
        }

        .ml-pharmacy-showcase-content {
            padding-left: 0;
        }

        .ml-pharmacy-showcase-image,
        .ml-pharmacy-showcase-image img {
            height: 430px;
            min-height: 430px;
        }
    }

    @media (max-width: 767px) {
        .ml-pharmacy-hero {
            min-height: auto;
            padding: 42px 0 0;
        }

        .ml-pharmacy-hero .row {
            gap: 0 !important;
        }

        .ml-pharmacy-hero-content {
            text-align: left;
            max-width: 100%;
        }

        .ml-pharmacy-hero-content>span {
            font-size: 11px;
            padding: 7px 13px;
            margin-bottom: 14px;
        }

        .ml-pharmacy-hero-content h1 {
            font-size: 34px;
            line-height: 1.08;
            margin-bottom: 14px;
            max-width: 330px;
        }

        .ml-pharmacy-hero-content p {
            font-size: 15px;
            line-height: 1.55;
            margin-bottom: 24px;
            max-width: 340px;
        }

        .ml-pharmacy-hero-actions {
            gap: 12px;
        }

        .ml-pharmacy-hero-btn,
        .ml-pharmacy-hero-link {
            min-height: 50px;
            width: 100%;
            font-size: 15px;
        }

        .ml-pharmacy-hero-points {
            display: none;
        }

        .ml-pharmacy-hero-visual {
            display: none;
        }

        .ml-pharmacy-showcase {
            padding: 60px 0;
        }

        .ml-pharmacy-showcase-image,
        .ml-pharmacy-showcase-image img {
            height: 330px;
            min-height: 330px;
            border-radius: 24px;
        }

        .ml-pharmacy-showcase-badge {
            left: 16px;
            bottom: 16px;
            padding: 11px 15px;
            font-size: 13px;
        }

        .ml-pharmacy-showcase-points {
            grid-template-columns: 1fr;
        }

        .ml-pharmacy-showcase-content h2 {
            font-size: 38px;
        }
    }

    @media (max-width:575px) {

        .ml-pharmacy-hero {
            text-align: center;
        }

        .ml-pharmacy-hero .row {
            justify-content: center;
            text-align: center;
        }

        .ml-pharmacy-hero-content {
            max-width: 100%;
            text-align: center !important;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .ml-pharmacy-hero-content h1 {
            max-width: 100%;
            margin: 0 auto 16px;
        }

        .ml-pharmacy-hero-content p {
            max-width: 100%;
            margin: 0 auto 24px;
        }

        .ml-pharmacy-hero-actions {
            width: 100%;
            justify-content: center;
            align-items: center;
        }

        .ml-pharmacy-hero-btn,
        .ml-pharmacy-hero-link {
            max-width: 320px;
            justify-content: center;
        }

        .ml-pharmacy-showcase-content {
            text-align: center;
        }

        .ml-pharmacy-showcase-content h2 {
            font-size: 32px;
            margin: 0 auto 20px;
        }

        .ml-pharmacy-showcase-content p {
            margin: 0 auto 20px;
        }

        .ml-pharmacy-showcase-points {
            text-align: center;
        }
    }

    @media (max-width: 991px) {
        .ml-product-journey-wrap::before {
            left: 22px;
        }

        .ml-product-journey-card,
        .ml-product-journey-card.reverse {
            grid-template-columns: 1fr;
            gap: 28px;
            padding-left: 45px;
        }

        .ml-product-journey-card.reverse .ml-product-journey-img,
        .ml-product-journey-card.reverse .ml-product-journey-content {
            order: unset;
        }

        .ml-product-journey-img,
        .ml-product-journey-card.reverse .ml-product-journey-img {
            transform: rotate(0);
        }
    }

    @media (max-width: 767px) {
        .ml-product-journey {
            padding: 65px 0;
        }

        .ml-product-journey-head {
            margin-bottom: 45px;
        }

        .ml-product-journey-wrap {
            gap: 50px;
        }

        .ml-product-journey-card {
            padding-left: 30px;
        }

        .ml-product-journey-img img {
            height: 280px;
        }

        .ml-product-journey-content {
            padding: 28px 22px;
            border-radius: 24px;
        }
    }

    /* ========================= */
    /* MEDILEAF PRESCRIPTION FLOW */
    /* ========================= */

    .ml-prescription-flow {
        position: relative;
        background: #fff;
        padding: 110px 0 130px;
        overflow: hidden;
    }

    .ml-prescription-flow::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 42%;
        background: linear-gradient(135deg, #073d22, #0c4d2b);
        border-radius: 80px 80px 0 0;
    }

    .ml-prescription-flow::after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        right: -150px;
        bottom: 70px;
        border-radius: 50%;
        background: rgba(166, 206, 57, 0.14);
        filter: blur(10px);
    }

    .ml-prescription-flow-head {
        position: relative;
        z-index: 2;
        max-width: 760px;
        margin: 0 auto 70px;
        text-align: center;
    }

    .ml-prescription-flow-head span {
        display: inline-block;
        color: #31a050;
        font-size: 14px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.7px;
        margin-bottom: 12px;
    }

    .ml-prescription-flow-head h2 {
        font-size: clamp(36px, 5vw, 64px);
        line-height: 1.08;
        font-weight: 800;
        color: #073d22;
        margin-bottom: 18px;
    }

    .ml-prescription-flow-head p {
        font-size: 17px;
        line-height: 1.8;
        color: #4b5563;
        margin: 0;
    }

    .ml-prescription-flow-wrap {
        position: relative;
        z-index: 3;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 34px;
    }

    .ml-prescription-flow-wrap::before {
        content: "";
        position: absolute;
        top: 58px;
        left: 16%;
        right: 16%;
        height: 3px;
        background: linear-gradient(90deg, transparent, #a6ce39, transparent);
        z-index: -1;
    }

    .ml-prescription-flow-card {
        position: relative;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(49, 160, 80, 0.16);
        border-radius: 34px;
        padding: 46px 34px 38px;
        min-height: 430px;
        text-align: center;
        box-shadow: 0 22px 60px rgba(31, 45, 34, 0.12);
        transition: 0.35s ease;
        overflow: hidden;
    }

    .ml-prescription-flow-card::after {
        content: "";
        position: absolute;
        width: 140px;
        height: 140px;
        right: -55px;
        top: -55px;
        border-radius: 50%;
        background: rgba(49, 160, 80, 0.08);
    }

    .ml-prescription-flow-card:hover,
    .ml-prescription-flow-card.active {
        transform: translateY(-12px);
    }

    .ml-prescription-flow-card.active {
        background: linear-gradient(180deg, #ffffff, #f5fbf2);
        border-color: rgba(166, 206, 57, 0.45);
    }

    .ml-prescription-flow-number {
        position: absolute;
        left: 26px;
        top: 26px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #a6ce39;
        color: #fff;
        font-size: 16px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ml-prescription-flow-icon {
        width: 92px;
        height: 92px;
        margin: 28px auto 28px;
        border-radius: 30px;
        background: rgba(49, 160, 80, 0.12);
        color: #31a050;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 42px;
        box-shadow: inset 0 0 0 1px rgba(49, 160, 80, 0.12);
    }

    .ml-prescription-flow-card h3 {
        font-size: 25px;
        line-height: 1.28;
        font-weight: 800;
        color: #073d22;
        margin-bottom: 18px;
    }

    .ml-prescription-flow-card p {
        font-size: 16px;
        line-height: 1.75;
        color: #4b5563;
        margin-bottom: 28px;
    }

    .ml-prescription-flow-card a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        padding: 0 30px;
        border-radius: 50px;
        background: #a6ce39;
        color: #fff;
        text-decoration: none;
        font-weight: 800;
        transition: 0.3s ease;
    }

    .ml-prescription-flow-card a:hover {
        background: #31a050;
        color: #fff;
        transform: translateY(-3px);
    }

    /* RESPONSIVE */
    @media (max-width: 991px) {
        .ml-prescription-flow {
            padding: 85px 0 100px;
        }

        .ml-prescription-flow::before {
            height: 70%;
            border-radius: 50px 50px 0 0;
        }

        .ml-prescription-flow-wrap {
            grid-template-columns: 1fr;
            max-width: 620px;
            margin: 0 auto;
        }

        .ml-prescription-flow-wrap::before {
            display: none;
        }

        .ml-prescription-flow-card {
            min-height: auto;
        }
    }

    @media (max-width: 767px) {
        .ml-prescription-flow {
            padding: 65px 0 80px;
        }

        .ml-prescription-flow-head {
            margin-bottom: 45px;
        }

        .ml-prescription-flow-card {
            padding: 42px 24px 32px;
            border-radius: 26px;
        }

        .ml-prescription-flow-icon {
            width: 78px;
            height: 78px;
            font-size: 34px;
            border-radius: 24px;
        }

        .ml-prescription-flow-card h3 {
            font-size: 22px;
        }
    }

    /* --------------------------------------phrmcy-------------------------------------------- */

    .ml-pharmacy-cta {
        position: relative;
        padding: 110px 0;
        background:
            radial-gradient(circle at 15% 20%, rgba(166, 206, 57, 0.16), transparent 32%),
            radial-gradient(circle at 85% 70%, rgba(49, 160, 80, 0.14), transparent 34%),
            #f8fbf7;
        overflow: hidden;
    }

    .ml-pharmacy-cta-card {
        position: relative;
        overflow: hidden;
        padding: 74px;
        border-radius: 42px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
        border: 1px solid rgba(49, 160, 80, 0.14);
        box-shadow:
            0 30px 90px rgba(20, 61, 36, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(22px);
    }

    .ml-pharmacy-cta-card::before {
        content: "";
        position: absolute;
        inset: 14px;
        border-radius: 34px;
        border: 1px solid rgba(49, 160, 80, 0.08);
        pointer-events: none;
    }

    .ml-pharmacy-cta-card::after {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        right: -180px;
        top: -220px;
        border-radius: 50%;
        background: rgba(166, 206, 57, 0.22);
        filter: blur(90px);
    }

    .ml-pharmacy-botanical {
        position: absolute;
        z-index: 1;
        color: #31a050;
        opacity: 0.08;
        pointer-events: none;
    }

    .ml-pharmacy-botanical svg {
        width: 230px;
        height: auto;
    }

    .ml-pharmacy-botanical.left {
        left: 32px;
        bottom: -34px;
        transform: rotate(-18deg);
    }

    .ml-pharmacy-botanical.right {
        right: 42px;
        top: -22px;
        transform: rotate(155deg);
    }

    .ml-pharmacy-cta-content,
    .ml-pharmacy-cta-actions {
        position: relative;
        z-index: 3;
    }

    .ml-pharmacy-cta-content span {
        display: inline-flex;
        align-items: center;
        padding: 9px 16px;
        border-radius: 50px;
        background: rgba(49, 160, 80, 0.10);
        color: #31a050;
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 18px;
    }

    .ml-pharmacy-cta-content h2 {
        max-width: 780px;
        font-size: clamp(40px, 5vw, 72px);
        line-height: 1.05;
        font-weight: 800;
        color: #12351f;
        margin-bottom: 22px;
    }

    .ml-pharmacy-cta-content p {
        max-width: 700px;
        font-size: 18px;
        line-height: 1.8;
        color: #4b5563;
        margin-bottom: 30px;
    }

    .ml-pharmacy-trust-row {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .ml-pharmacy-trust-row div {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 0 16px;
        border-radius: 50px;
        background: #fff;
        border: 1px solid rgba(49, 160, 80, 0.12);
        color: #243326;
        font-weight: 700;
        font-size: 14px;
        box-shadow: 0 10px 24px rgba(31, 45, 34, 0.06);
    }

    .ml-pharmacy-trust-row i {
        color: #31a050;
    }

    .ml-pharmacy-cta-actions {
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: flex-end;
    }

    .ml-pharmacy-main-btn,
    .ml-pharmacy-call-btn {
        width: 230px;
        min-height: 58px;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-weight: 800;
        transition: 0.3s ease;
    }

    .ml-pharmacy-main-btn {
        background: linear-gradient(135deg, #31a050, #a6ce39);
        color: #fff;
        box-shadow: 0 14px 30px rgba(49, 160, 80, 0.28);
    }

    .ml-pharmacy-main-btn:hover {
        transform: translateY(-3px);
        color: #fff;
    }

    .ml-pharmacy-call-btn {
        background: #fff;
        color: #31a050;
        border: 1px solid rgba(49, 160, 80, 0.22);
    }

    .ml-pharmacy-call-btn:hover {
        background: #31a050;
        color: #fff;
    }

    @media (max-width: 991px) {
        .ml-pharmacy-cta {
            padding: 80px 0;
        }

        .ml-pharmacy-cta-card {
            padding: 54px;
            text-align: center;
        }

        .ml-pharmacy-trust-row {
            justify-content: center;
        }

        .ml-pharmacy-cta-actions {
            align-items: center;
            margin-top: 28px;
        }
    }

    @media (max-width: 767px) {
        .ml-pharmacy-cta {
            padding: 60px 0;
        }

        .ml-pharmacy-cta-card {
            padding: 36px 24px;
            border-radius: 28px;
        }

        .ml-pharmacy-cta-card::before {
            inset: 8px;
            border-radius: 22px;
        }

        .ml-pharmacy-botanical svg {
            width: 150px;
        }

        .ml-pharmacy-cta-content h2 {
            font-size: 38px;
        }

        .ml-pharmacy-cta-content p {
            font-size: 16px;
        }

        .ml-pharmacy-main-btn,
        .ml-pharmacy-call-btn {
            width: 100%;
        }

        .ml-pharmacy-trust-row div {
            width: 100%;
            justify-content: center;
        }
    }


    @media(max-width:991px) {

        .medileaf-about-hero {
            min-height: 80vh;
        }

        .medileaf-about-hero-content {
            padding: 0 40px;
        }

        .medileaf-about-hero-btn {
            padding: 14px 60px;
        }
    }

    /* -----------store-------------------------- */
    @media (max-width: 991px) {
        .ml-shop-v2-filterbar {
            flex-direction: column;
            align-items: flex-start;
        }

        .ml-shop-v2-tools,
        .ml-shop-v2-search,
        .ml-shop-v2-search input,
        .ml-shop-v2-sort,
        .ml-shop-v2-sort select {
            width: 100%;
        }

        .ml-shop-v2-sort {
            justify-content: space-between;
        }

        /* ------checkout-section-------- */
        .ml-checkout-v2-summary {
            position: static;
        }

    }

    @media (max-width: 767px) {
        .ml-shop-v2-hero {
            padding: 95px 0 80px;
        }

        .ml-shop-v2-section {
            padding: 60px 0 80px;
        }

        .ml-shop-v2-filterbar {
            padding: 24px 20px;
            border-radius: 22px;
        }

        .ml-shop-v2-sort {
            flex-direction: column;
            align-items: flex-start;
        }

        .ml-shop-v2-img img {
            height: 210px;
        }

        .ml-shop-v2-pagination button {
            width: 48px;
            height: 48px;
            font-size: 16px;
        }

        /* ------checkout-section-------- */
        .ml-checkout-v2 {
            padding: 60px 0;
        }

        .ml-checkout-v2-card,
        .ml-checkout-v2-summary {
            padding: 24px;
            border-radius: 22px;
        }

        .ml-payment-v2-option {
            grid-template-columns: auto 1fr;
        }

        .ml-payment-v2-option>span {
            grid-column: 1 / -1;
            width: fit-content;
        }

        .ml-order-v2-item {
            grid-template-columns: 58px 1fr;
        }

        .ml-order-v2-item strong {
            grid-column: 2;
        }

        .ml-order-v2-item img {
            width: 58px;
            height: 58px;
        }

    }

    /* =========================FAQ================================== */

    @media(max-width:991px) {
        .ml-terms-hero {
            padding: 150px 0 90px;
        }
    }

    @media(max-width:768px) {
        .ml-terms-hero {
            padding: 130px 0 70px;
        }

        .ml-terms-hero p {
            font-size: 16px;
        }

        .medileaf-about-hero {
            min-height: 75vh;
        }

        .medileaf-about-hero-content {
            padding: 0 20px;
        }

        .medileaf-about-hero-content h1 {
            font-size: 40px;
        }

        .medileaf-about-hero-btn {
            padding: 14px 40px;
        }

        .medileaf-terms-hero {
            min-height: 65vh;
        }

        .medileaf-terms-hero-content {
            padding: 0 6%;
        }

        .medileaf-terms-hero-btn {
            padding: 14px 45px;
        }

        .medileaf-terms-section {
            padding: 60px 0;
        }

        .medileaf-terms-wrapper {
            padding: 32px 22px;
            border-radius: 18px;
        }
    }

    /* 480 */

    @media(max-width:480px) {

        .medileaf-about-hero-content h1 {
            font-size: 32px;
        }

        .medileaf-about-hero-content p {
            font-size: 15px;
        }

        .medileaf-about-hero-btn {
            width: 100%;
            text-align: center;
        }
    }


    /* ========================= */
    /* MEDILEAF PRODUCT VIEW PAGE */
    /* ========================= */

    @media (max-width: 991px) {
        .ml-product-gallery {
            position: static;
        }

        .ml-product-main-image {
            min-height: 430px;
        }

        .ml-product-info {
            padding: 34px;
        }
    }

    @media (max-width: 767px) {
        .ml-product-description-box {
            padding: 30px 25px;
            border-radius: 24px;
        }

        .ml-product-description-box h2 {
            font-size: 32px;
        }

        .ml-product-description-box h3 {
            font-size: 22px;
        }

        .ml-product-description-box p,
        .ml-product-description-box li {
            font-size: 15px;
        }

        .ml-product-view {
            padding: 60px 0 35px;
        }

        .ml-product-main-image {
            min-height: 300px;
            padding: 24px;
            border-radius: 26px;
        }

        .ml-product-main-image img {
            max-height: 240px;
        }

        .ml-product-thumbs {
            gap: 10px;
            margin-top: 12px;
            overflow-x: auto;
        }

        .ml-product-thumbs button {
            width: 82px;
            height: 82px;
            min-width: 82px;
            border-radius: 10px;
        }

        .ml-product-info {
            padding: 26px;
            border-radius: 26px;
        }

        .ml-product-info h1 {
            font-size: 34px;
        }


        .ml-product-purchase-box {
            grid-template-columns: 1fr;
        }

        .ml-product-qty {
            width: 100%;
            justify-content: space-between;
        }

        .ml-product-qty input {
            flex: 1;
        }

        .ml-product-detail-card {
            padding: 28px;
            border-radius: 24px;
        }

        .ml-product-detail-icon {
            width: 64px;
            height: 64px;
            font-size: 28px;
            margin-bottom: 20px;
        }

        .ml-product-detail-card h3 {
            font-size: 22px;
        }

        .ml-product-detail-card p {
            font-size: 15px;
        }

        .ml-product-description-box {
            padding: 26px;
            border-radius: 24px;
        }

        .ml-related-products {
            padding: 60px 0;
        }

        .ml-related-img img {
            height: 190px;
        }

        .ml-related-body h3 {
            min-height: auto;
        }
    }

    @media(max-width:575px) {
        .ml-product-color-select {
            margin-left: 0;
            width: 100%;
        }
    }


    /* -------------clinic---------------------------------- */
    @media(max-width:991px) {

        .ml-clinic-modern-tabs,
        .ml-clinic-process-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .ml-clinic-process-grid::before {
            display: none;
        }
    }

    @media(max-width:767px) {
        .ml-clinic-modern-section {
            padding: 65px 0;
        }

        .ml-clinic-modern-tabs,
        .ml-clinic-process-grid {
            grid-template-columns: 1fr;
        }

        .ml-clinic-modern-process {
            margin-top: 60px;
            padding: 46px 20px;
            border-radius: 30px;
        }

        .ml-clinic-modern-tabs a {
            min-height: 58px;
        }
    }

    @media(max-width: 991px) {
        .ml-services-bento-grid {
            grid-template-columns: 1fr 1fr;
        }

        .ml-services-bento-image {
            grid-column: span 2;
            min-height: 430px;
        }

        .ml-card-wide {
            grid-column: span 2;
        }
    }

    @media(max-width: 767px) {
        .ml-services-bento-section {
            padding: 70px 0;
        }

        .ml-services-bento-head {
            margin-bottom: 40px;
        }

        .ml-services-bento-grid {
            grid-template-columns: 1fr;
            gap: 18px;
        }

        .ml-services-bento-image {
            grid-column: auto;
            min-height: 320px;
            border-radius: 26px;
        }

        .ml-card-wide {
            grid-column: auto;
        }

        .ml-services-bento-card {
            padding: 28px;
            border-radius: 26px;
        }

        .ml-services-bento-card h3 {
            font-size: 24px;
        }

        .ml-services-image-badge {
            left: 18px;
            bottom: 18px;
            padding: 12px 16px;
        }
    }

    /* ================Hero-Home========================== */
    @media(max-width: 991px) {
        .ml-glass-hero-content h1 {
            font-size: clamp(56px, 9vw, 84px);
        }

        .ml-commitment-card {
            padding: 48px 34px;
        }

        .ml-commitment-features {
            grid-template-columns: repeat(2, 1fr);
        }

        .ml-patient-care-layout {
            grid-template-columns: 1fr;
        }

        .ml-patient-care-left {
            position: relative;
            top: auto;
            min-height: auto;
        }

        .ml-telehealth-card {
            grid-template-columns: 1fr;
            padding: 44px;
        }

        .ml-telehealth-action {
            align-items: flex-start;
        }

        .ml-gallery-premium-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .ml-gallery-premium-item.large,
        .ml-gallery-premium-item.wide {
            grid-column: span 2;
        }
    }

    @media(max-width: 767px) {
        .ml-glass-hero {
            min-height: 70vh;
            padding: 80px 0;
        }

        .ml-glass-hero-badge {
            font-size: 11px;
            padding: 10px 16px;
            margin-bottom: 22px;
        }

        .ml-glass-hero-content h1 {
            font-size: 46px;
            letter-spacing: -1.5px;
            line-height: 1.12;
        }

        .ml-glass-hero-content p {
            font-size: 16px;
            line-height: 1.65;
        }

        .ml-glass-hero-buttons {
            flex-direction: column;
        }

        .ml-glass-btn {
            width: 100%;
        }

        .ml-commitment-section {
            padding: 70px 0;
        }

        .ml-commitment-card {
            padding: 38px 24px;
            border-radius: 28px;
        }

        .ml-commitment-card h2 {
            font-size: 32px;
        }

        .ml-commitment-card p {
            font-size: 15px;
        }

        .ml-commitment-buttons {
            flex-direction: column;
            width: 100%;
        }

        .ml-commitment-btn-primary,
        .ml-commitment-btn-secondary {
            width: 100%;
        }

        .ml-commitment-features {
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .ml-patient-care-section {
            padding: 70px 0;
        }

        .ml-patient-care-head {
            margin-bottom: 40px;
        }

        .ml-patient-care-left {
            padding: 34px;
            border-radius: 30px;
        }

        .ml-patient-care-item {
            grid-template-columns: 1fr;
        }

        .ml-patient-care-timeline::before {
            display: none;
        }

        .ml-patient-care-number {
            width: 54px;
            height: 54px;
            font-size: 15px;
            display: none;
        }

        .ml-patient-care-card {
            flex-direction: column;
            padding: 28px;
            border-radius: 26px;
        }

        .ml-patient-care-icon {
            width: 72px;
            height: 72px;
            min-width: 72px;
            font-size: 30px;
        }

        .ml-patient-care-content h3 {
            font-size: 22px;
        }

        .ml-patient-care-content p {
            font-size: 15px;
        }

        .ml-telehealth-cta {
            padding: 40px 0;
        }

        .ml-telehealth-card {
            padding: 30px 22px;
            border-radius: 30px;
        }

        .ml-telehealth-content h2 {
            font-size: 32px;
        }

        .ml-telehealth-content p {
            font-size: 15px;
        }

        .ml-telehealth-contact {
            flex-direction: column;
        }

        .ml-telehealth-contact div,
        .ml-telehealth-btn {
            width: 100%;
        }

        .ml-telehealth-qr-box,
        .ml-telehealth-buttons {
            max-width: 100%;
        }

        .ml-faq-simple-section {
            padding: 70px 0;
        }

        .ml-faq-simple-head {
            margin-bottom: 36px;
        }

        .ml-faq-simple-question {
            padding: 20px;
            font-size: 16px;
        }

        .ml-faq-simple-answer p {
            padding: 0 20px 22px;
            font-size: 15px;
        }

        .ml-gallery-premium-section {
            padding: 70px 0;
        }

        .ml-gallery-premium-grid {
            grid-template-columns: 1fr;
            grid-auto-rows: 260px;
            gap: 16px;
        }

        .ml-gallery-premium-item.large,
        .ml-gallery-premium-item.wide,
        .ml-gallery-premium-item.tall {
            grid-column: auto;
            grid-row: auto;
        }

        .ml-gallery-premium-item {
            border-radius: 24px;
        }
    }


    /* ------------------------------contact------------------------------------------------------------_ */
    @media(max-width: 991px) {
        .medileaf-contact-info-section {
            padding: 75px 0;
        }

        .medileaf-contact-info-card {
            min-height: 220px;
            padding: 30px 24px;
        }

        .medileaf-contact-info-title {
            font-size: 20px;
        }

        .medileaf-contact-info-text,
        .medileaf-contact-info-text a {
            font-size: 15px;
        }

        /* CONTACT FORM */

        .medileaf-contact-main-section {
            padding: 80px 0;
        }

        .medileaf-contact-form-wrap {
            padding: 35px;
        }

        .medileaf-contact-form-title {
            font-size: 42px;
        }

        .medileaf-contact-side-wrap {
            margin-top: 20px;
        }

        .medileaf-contact-side-card {
            padding: 28px;
        }

        .medileaf-contact-side-title {
            font-size: 22px;
        }

        .medileaf-contact-submit-btn {
            min-width: 220px;
        }

        .medileaf-contact-location-section {
            padding: 80px 0;
        }

        .medileaf-location-layout {
            grid-template-columns: 1fr;
        }

        .medileaf-location-card {
            padding: 34px;
        }

        .medileaf-contact-map-wrap iframe {
            min-height: 360px;
        }
    }

    @media(max-width:767px) {

        .medileaf-contact-info-section {
            padding: 65px 0;
        }

        .medileaf-contact-info-card {
            min-height: auto;
            padding: 28px 22px;
            border-radius: 24px;
            text-align: center;
        }

        .medileaf-contact-info-icon {
            margin: 0 auto 20px;
        }

        .medileaf-contact-main-section {
            padding: 70px 0;
        }

        .medileaf-contact-form-wrap {
            padding: 28px 22px;
            border-radius: 26px;
        }

        .medileaf-contact-submit-btn,
        .medileaf-contact-side-btn {
            width: 100%;
        }

        .medileaf-contact-location-section {
            padding: 65px 0;
        }

        .medileaf-location-head {
            margin-bottom: 35px;
        }

        .medileaf-location-head h2 {
            font-size: 34px;
            line-height: 1.15;
        }

        .medileaf-location-head p {
            font-size: 15px;
        }

        .medileaf-location-card {
            padding: 28px 22px;
            border-radius: 26px;
        }

        .medileaf-location-card h3 {
            font-size: 24px;
        }

        .medileaf-location-card p,
        .medileaf-location-mini {
            font-size: 15px;
        }

        .medileaf-location-btn {
            width: 100%;
        }

        .medileaf-contact-map-wrap {
            padding: 6px;
            border-radius: 24px;
        }

        .medileaf-contact-map-wrap iframe {
            min-height: 300px;
            border-radius: 18px;
        }
    }

    @media(max-width: 575px) {
        .medileaf-contact-info-section {
            padding: 50px 0;
        }

        .medileaf-contact-info-card {
            padding: 22px 18px;
            border-radius: 20px;
        }

        .medileaf-contact-info-icon {
            width: 56px;
            height: 56px;
            font-size: 22px;
            margin-bottom: 16px;
        }

        .medileaf-contact-info-title {
            font-size: 18px;
            margin-bottom: 8px;
        }

        .medileaf-contact-info-text,
        .medileaf-contact-info-text a {
            font-size: 14px;
            line-height: 1.6;
        }

        .medileaf-contact-main-section {
            padding: 50px 0;
        }

        .medileaf-contact-form-wrap {
            padding: 20px 16px;
            border-radius: 20px;
        }

        .medileaf-contact-form-title {
            font-size: 28px;
            line-height: 1.15;
        }

        .medileaf-contact-form-subtitle {
            font-size: 14px;
        }

        .medileaf-form-control {
            height: 52px;
            font-size: 14px;
        }

        .medileaf-form-textarea {
            height: 120px;
        }

        .medileaf-contact-submit-btn,
        .medileaf-contact-side-btn {
            width: 100%;
            min-width: 100%;
            height: 52px;
        }

        .medileaf-contact-side-card {
            padding: 22px 18px;
            border-radius: 20px;
        }

        .medileaf-contact-side-title {
            font-size: 18px;
        }

        .medileaf-contact-side-text,
        .medileaf-contact-side-list li {
            font-size: 14px;
        }

        .medileaf-contact-location-section {
            padding: 55px 0;
        }

        .medileaf-location-head h2 {
            font-size: 30px;
        }

        .medileaf-location-icon {
            width: 58px;
            height: 58px;
            font-size: 24px;
        }

        .medileaf-contact-map-wrap iframe {
            min-height: 260px;
        }

    }

    /* =====================================prescription====================================== */

    @media (max-width: 991px) {
        .prescription-info-card h2 {
            font-size: 34px;
        }

        .prescription-form-card,
        .prescription-info-card {
            padding: 30px;
        }
    }

    @media (max-width: 767px) {

        .feature-item {
            gap: 14px;
            margin-bottom: 22px;
        }

        .feature-icon {
            min-width: 48px;
            width: 48px;
            height: 48px;
            font-size: 19px;
        }

        .feature-item h4 {
            font-size: 16px;
        }

        .feature-item p {
            font-size: 13.5px;
        }

        .prescription-tabs {
            flex-direction: column;
        }

        .tab-btn:first-child {
            border-right: none;
            border-bottom: 1px solid #ececec;
        }

    }

    @media (max-width: 575px) {
        .prescription-page {
            padding: 45px 0;
        }

        .form-heading {
            align-items: flex-start;
            gap: 15px;
        }

        .form-icon {
            width: 58px;
            height: 58px;
            font-size: 25px;
        }

        .form-heading h2 {
            font-size: 24px;
        }

        .option-box {
            gap: 20px;
            flex-wrap: wrap;
        }

        .prescription-info-card h1 {
            font-size: 38px;
        }

        .feature-item {
            align-items: flex-start;
        }

        .choose-file-btn {
            width: 100%;
            padding: 14px 20px;
        }

        .prescription-tabs {
            flex-direction: column;
        }

        .tab-btn:first-child {
            border-right: none;
            border-bottom: 1px solid #e5e7eb;
        }
    }

    /* =============================LOGIN=============================================== */


    /* ======================================
Large Laptop (1400px)
====================================== */
    @media (max-width:1400px) {

        .ml-login-container {
            max-width: 1100px;
        }

        .ml-login-left {
            padding: 40px;
        }

        .ml-login-right {
            padding: 35px;
        }

    }


    /* ======================================
Laptop (1200px)
====================================== */
    @media (max-width:1199px) {

        .ml-login-container {
            grid-template-columns: 420px 1fr;
        }

        .ml-login-left {
            padding: 35px;
        }

        .ml-login-card {
            padding: 35px;
        }

        .ml-login-content h1 {
            font-size: 28px;
        }

        .ml-login-products img {
            max-width: 300px;
        }

    }


    /* ======================================
Tablet Landscape
====================================== */
    @media (max-width:991px) {

        .ml-login-page {
            padding: 40px 20px;
        }

        .ml-login-container {
            grid-template-columns: 1fr;
            max-width: 700px;
        }

        .ml-login-left {
            text-align: center;
            padding: 45px 35px;
        }

        .ml-login-content p {
            max-width: 100%;
        }

        .ml-login-feature {
            justify-content: center;
            text-align: left;
        }

        .ml-login-products {
            margin-top: 25px;
        }

        .ml-login-products img {
            max-width: 260px;
        }

        .ml-login-right {
            padding: 30px;
        }

    }


    /* ======================================
Tablet Portrait
====================================== */
    @media (max-width:767px) {

        .ml-login-page {
            padding: 20px 15px;
        }

        .ml-login-container {
            border-radius: 22px;
        }

        .ml-login-left {
            padding: 30px 25px;
        }

        .ml-login-logo img {
            width: 150px;
        }

        .ml-login-content {
            margin-top: 20px;
        }

        .ml-login-content h1 {
            font-size: 26px;
        }

        .ml-login-content p {
            font-size: 15px;
            line-height: 1.7;
        }

        .ml-login-feature {
            gap: 15px;
            margin-bottom: 18px;
        }

        .ml-login-feature .icon {
            width: 45px;
            height: 45px;
            font-size: 22px;
        }

        .ml-login-feature h4 {
            font-size: 17px;
        }

        .ml-login-feature p {
            font-size: 14px;
        }

        .ml-login-products img {
            max-width: 220px;
        }

        .ml-login-right {
            padding: 20px;
        }

        .ml-login-card {
            padding: 28px 22px;
            border-radius: 20px;
        }

        .ml-user-icon .circle {
            width: 60px;
            height: 60px;
            font-size: 34px;
        }

        .ml-login-card h2 {
            font-size: 24px;
        }

        .ml-login-card>p {
            font-size: 15px;
            margin-bottom: 25px;
        }

        .ml-input {
            height: 50px;
        }

        .ml-login-options {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

    }


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

        .ml-login-page {
            padding: 15px;
        }

        .ml-login-container {
            border-radius: 18px;
        }

        .ml-login-left {
            padding: 25px 18px;
        }

        .ml-login-logo img {
            width: 140px;
        }

        .ml-login-content h1 {
            font-size: 24px;
        }

        .ml-login-content p {
            font-size: 14px;
        }

        .ml-login-feature {
            gap: 12px;
        }

        .ml-login-feature .icon {
            width: 42px;
            height: 42px;
            font-size: 20px;
        }

        .ml-login-feature h4 {
            font-size: 16px;
        }

        .ml-login-feature p {
            font-size: 13px;
            line-height: 1.6;
        }

        .ml-login-products img {
            max-width: 180px;
        }

        .ml-login-right {
            padding: 15px;
        }

        .ml-login-card {
            padding: 22px 18px;
        }

        .ml-user-icon .circle {
            width: 55px;
            height: 55px;
            font-size: 30px;
        }

        .ml-login-card h2 {
            font-size: 22px;
        }

        .ml-form-group {
            margin-bottom: 18px;
        }

        .ml-form-group label {
            font-size: 14px;
        }

        .ml-input {
            height: 48px;
            padding: 0 15px;
        }

        .ml-input input {
            font-size: 14px;
        }

        .ml-login-btn {
            height: 48px;
            font-size: 15px;
        }

        .ml-secure-access {
            gap: 8px;
        }

        .ml-secure-text {
            font-size: 13px;
        }

        .ml-login-footer {
            font-size: 13px;
        }

    }


    /* ======================================
Extra Small Mobile
====================================== */
    @media (max-width:380px) {

        .ml-login-content h1 {
            font-size: 22px;
        }

        .ml-login-card {
            padding: 18px 15px;
        }

        .ml-login-card h2 {
            font-size: 20px;
        }

        .ml-login-card>p {
            font-size: 14px;
        }

        .ml-input {
            height: 46px;
        }

        .ml-login-btn {
            height: 46px;
            font-size: 14px;
        }

    }

    .ml-auth-tab {
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }