 .formulations-section{
            background: #E4D4BF;
            padding-top: 80px;
            padding-bottom: 70px;
        }
        .fm-container {
            max-width: 1760px;
            padding-inline: 20px;
            margin: 0 auto;
        }

        .fm-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .fm-title {
            font-size: 42px;
            color:#000000;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .fm-browse-by {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 30px;
        }

        .fm-browse-label, .fm-categories {
            font-size: 30px;
            color:#000000;
            font-weight: 700;
        }

        .fm-browse-label{
                margin-bottom: -8px;
        }
        .fm-tabs-container {
            display: flex;
            justify-content: space-between;
            gap: 50px;
            text-align: center;
        }

        .fm-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
            margin-bottom: 40px;
            width: 100%;
            justify-content: space-around;
        }

        .fm-tab {
            padding: 12px 0px;
            cursor: pointer;
            transition: all .3s ease;
            font-size: 18px;
            line-height: 26px;
            font-weight: 600;
            color: #000000;
            position: relative;
            overflow: hidden;
            font-family: 'Montserrat', sans-serif !important;
        }

        .fm-tab:hover::before {
            left: 100%;
        }

        .fm-tab.fm-active {
            color: #DD1B21;
            border-bottom: 1px solid #DD1B21;
        }

        .fm-products-section {
            position: relative;
        }

        .fm-products-container {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            padding: 20px 0;
        }

        .fm-products-slider {
            display: flex;
            transition: transform .4s cubic-bezier(.25, .46, .45, .94);
            gap: 20px;
        }

        .fm-product-card {
            flex: 0 0 calc(25% - 18px);
            background: #fff;
            border-radius: 20px;
            /* padding: 25px; */
            position: relative;
            overflow: hidden;
        }

        .fm-product-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #3498db, #2980b9);
            transform: scaleX(0);
            transition: transform .3s ease;
        }

        .fm-product-card:hover {
            border-color: #3498db;
        }

        .fm-product-image {
            width: 100%;
        }
        .fm-product-info{
            padding: 20px 16px;
        }
        .fm-product-name {
            font-size: 24px;
            font-weight: 600;
            color: #000000;
            margin-bottom: 0px;
            padding-bottom: 5px;
        }

        .fm-product-description {
            color: #000000;
            margin-bottom: 20px;
            font-size: 16px;
            font-weight: 400;
            min-height: 76px;
        }

        .fm-quick-view-btn,
        .fm-request-sample-btn {
            width: 100%;
            padding: 10px;
            border: none !important;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            /* transition: all .3s ease; */
            margin-bottom: 10px;
            display: flex;
            justify-content: center;
            gap: 10px;
        }
        .fm-product-info-cta{
            position: relative;
        }

        .fm-quick-view-btn {
            background-color: #585858 !important;
            color: #fff;
            max-width: 190px;
            position: absolute;
            top: 50%;
            left: 25%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 600;
        }

        .fm-quick-view-btn:hover, .fm-quick-view-btn:focus {
            background-color: #000 !important;
            border-color: #000 !important;
            outline: none ;
            border: none !important;
                }

        .fm-request-sample-btn {
            background-color:transparent !important;
            color:#DD1B21 !important;
            border: 2px solid #DD1B21 !important;
        }

        .fm-request-sample-btn:hover {
            background: #e74c3c;
            color: #fff !important;
            border: 2px solid #DD1B21 !important;
            outline: none;
        }
        .fm-request-sample-btn:hover svg path{
            fill: #fff;
            outline:none;
            border: none !important;
            color: #fff !important;
        }
        .fm-request-sample-btn:focus{
            outline:none;
            border: none !important;
            color: #fff !important;
        }

        .fm-arrow {
            transition: all .3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            background-color: unset !important;
            border: none !important;
        }

        .fm-arrow:hover {
            background-color: unset !important;
            border:unset !important;
        }

        .fm-arrow:focus,
        .fm-arrow:active {
            outline: none !important;
            border: none !important;
            box-shadow: none !important;
        }
        

        .fm-pagination-dots {
            display: none;
        }

        .fm-tab-content {
            display: none;
        }

        .fm-tab-content.fm-active {
            display: block;
        }

        .fm-pagination-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }
        .product-listing-template-lp .prd-testimonial-sec{
            padding-top: 100px;
        }
        @media (min-width: 1200px) and (max-width: 1680px) {
        
        .fm-product-description {
            /* font-size: 15px; */
            min-height: 91px;
        }
        }
         @media (min-width: 1200px) and (max-width: 1400px) {
        
        .fm-product-description {
            font-size: 13px;
            min-height: 80px;
        }
        .fm-product-card .fm-product-info{
            padding: 0px 16px !important;
        }


        .fm-quick-view-btn, .fm-request-sample-btn {
            font-size: 14px !important;
        }
        .fm-browse-by, .fm-tabs{
            margin: 0px !important;
        }
        
        .fm-header{
            margin-bottom: 20px !important;
        }
        .formulations-section {
            padding-top: 40px;
            padding-bottom: 40px;
        }


        .fm-quick-view-btn {
                top: 45%;
            left: 20%;
        }
        }

        @media (max-width:1024px) {
            .fm-product-card {
                flex: 0 0 calc(33% - 10px);
            }
            .fm-tab {
            font-size: 14px;
            }
             .banner-text-detail h1, .banner-text-detail h2{
                font-size: 30px !important;
                line-height: 40px !important;
            
             }
             .fm-quick-view-btn{
                left: 5%;
             }
             .fm-tabs-container {
                        gap: 20px;
            }
              .fm-browse-label, .fm-categories {
                font-size: 20px;
            }
             .fm-tabs{
                gap: 0px;
                margin-bottom: 0px;
            }
            .fm-tab {
                font-size: 12px;
                line-height: 18px;
            }
             .fm-product-description{
                    font-size: 12px !important;
                }
        }
       @media (min-width: 768px) and (max-width: 900px) {
           .fm-quick-view-btn{
                left: 7% !important;
             }
            .fm-tabs-container {
                        gap: 20px;
            }
            .fm-browse-label, .fm-categories {
                font-size: 20px;
            }
            
            .fm-tabs{
                gap: 0px;
                margin-bottom: 0px;
            }
            .fm-tab {
                font-size: 12px;
                line-height: 18px;
            }

                .fm-product-description{
                    font-size: 12px !important;
                }
        }
         @media (min-width: 900px) and (max-width: 1030px) {
            .fm-quick-view-btn{
                            left: 16%;
                        }
         }

        @media (max-width:600px) {

        .product-listing-template-lp .prd-testimonial-sec{
            padding-top: 0;
        }
            .fm-product-card {
                flex: 0 0 100%;
            }

            .fm-tabs {
                flex-direction: column;
                align-items: center;
            }

            .fm-tab {
                width: 250px;
                text-align: center;
            }
        }

        /* Mobile  */
        /* Tabs: keep desktop intact, make mobile scrollable pills */
       /* ===== Mobile-only enhancements (<=599px) ===== */
        @media (max-width: 599px) {
            
        .formulations-section {
            padding-top: 40px;
            padding-bottom: 40px;
            background: #fff;
        }
        .fm-title {
            font-size: 24px;
        }
        .fm-browse-by{
            flex-direction: row;
            justify-content: center;
            gap: 3px;
            margin-bottom: 10px !important;
        }
        .fm-browse-label, .fm-categories {
            font-size: 24px;    }

        .fm-tabs-container { display: flex; flex-direction: column; gap: 0px; }
       
        .fm-tabs::-webkit-scrollbar { display: none; }
        .fm-tab {
            scroll-snap-align: start;
            white-space: nowrap;
            padding: 10px 14px;
            border-radius: 9999px;
            border: 1px solid #E5E5E5;
            font-size: 14px;
            line-height: 20px;
        }
        .fm-tab.fm-active {
            color: #DD1B21;
            border-color: #DD1B21;
        }

        .fm-products-container { padding: 10px 0; overflow: hidden; }
        .fm-products-slider { gap: 14px; }

        .fm-product-card { border-radius: 16px; }
        .fm-product-image { width: 100%; height: auto; display: block; }

        .fm-product-info { padding: 16px; }
        .fm-product-name { font-size: 18px; line-height: 24px; }
        .fm-product-description { font-size: 14px; line-height: 20px; min-height: 0; margin-bottom: 14px; }

        .fm-product-info-cta { position: relative; }
        .fm-quick-view-btn {
            position: absolute;
            top: 84%; left: 50%;
            transform: translate(-50%, -50%);
            max-width: 220px; width: 72%;
            padding: 12px 10px; border-radius: 8px;
        }

        .fm-request-sample-btn {
            display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
            width: 100%; padding: 12px 14px; border-radius: 10px;
        }

        /* arrows float over edges; JS hides if single page */
        .fm-arrow { display: none;}
        .fm-prev { left: 6px; }
        .fm-next { right: 6px; }

        /* (Optional) dots styling if you add #dots-<category> containers */
        .fm-pagination-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
        .fm-dot { width: 8px; height: 8px; border-radius: 50%; background: #DADADA; }
        .fm-dot.fm-active { background: #DD1B21; }
        }
        

         @media (max-width:600px) {
            .fm-products-slider {
                width: 100% !important;
                display: block !important;
                transform: none !important;
                flex-direction: unset !important;
                gap: 0 !important;
            }
            
            .fm-product-card {
                flex: none !important;
                width: 100% !important;
                margin-bottom: 20px !important;
                min-width: auto !important;
                display: block !important;
                float: none !important;
                border: 1px solid #E5E5E5 !important;
            }

            /* Mobile Tab Slider Styles */
            .mob-tab-slider {
                position: relative;
                margin-bottom: 20px;
                padding: 0px;
                overflow: visible;
            }

            .mob-tab-slider .tab-slider-wrapper {
                position: relative;
                width: 100%;
            }

            .mob-tab-slider .tab-slider-wrapper .slick-list {
                width: 100%;
                overflow: hidden;
            }

            .mob-tab-slider .tab-slider-wrapper .slick-track {
                display: flex;
                align-items: center;
                width: 100% !important;
            }

            .mob-tab-slider .fm-tab {
                flex: 0 0 100% !important;
                white-space: normal !important;
                text-align: center !important;
                min-width: 100%;
                margin: 0 !important;
                width: 100% !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                font-size: 16px !important;
                line-height: 18px !important;
                font-weight: 700 !important;
                color: #fff !important;
                transition: all 0.3s ease !important;
                min-height: 40px !important;
                box-sizing: border-box !important;
                border-radius: inherit !important;
                background: #DD1B21 !important;
            }
            .mob-tab-slider .tab-slider-wrapper .fm-tab.fm-active br{
                /* display: none !important; */
            }


.fm-browse-label {
    margin-bottom: 0px !important;
}
            .mob-tab-slider .tab-slider-wrapper .fm-tab.fm-active {
                background:#DD1B21 !important;
                color: white !important;
            }

            .mob-tab-slider .tab-slider-wrapper .fm-tab.fm-active * {
                color: white !important;
            }

            .mob-tab-slider .slick-slide .fm-tab.fm-active {
                background: #DD1B21 !important;
                color: white !important;
                border-color: #DD1B21 !important;
                border-bottom: none !important;
            }

            .mob-tab-slider .fm-tab br {
                display: inline !important;
            }

            .mob-tab-slider .fm-tab br:after {
                content: " " !important;
            }

            /* Mobile Slick arrow styles */
            .mob-tab-slider .tab-slider-wrapper .mob-slick-prev,
            .mob-tab-slider .tab-slider-wrapper .mob-slick-next {
                /* background: #DD1B21 !important;
                border-radius: 50% !important; */
                /* width: 45px !important;
                height: 45px !important; */
                z-index: 10 !important;
                border: none !important;
                outline: none !important;
                background-color: unset !important;
                position: absolute !important;
                top: 57% !important;
                transform: translateY(-50%) !important;
            }

            .mob-tab-slider .tab-slider-wrapper .mob-slick-prev {
                left: -1px !important;
                background: transparent !important;
                background-color: transparent !important;
                padding: 0;
                border-top: 1px solid #DD1B21 !important;
            }

            .mob-tab-slider .tab-slider-wrapper .mob-slick-next {
                right: -1px !important;
                background: transparent !important;
                background-color: transparent !important;
                padding: 0;
                border-top: 1px solid #DD1B21 !important;
            }

            .mob-tab-slider .tab-slider-wrapper .mob-slick-prev:before,
            .mob-tab-slider .tab-slider-wrapper .mob-slick-next:before {
                content: '' !important;
                display: none !important;
                background: transparent !important;
                background-color: transparent !important;
            }

            .mob-tab-slider .tab-slider-wrapper .mob-slick-prev:hover,
            .mob-tab-slider .tab-slider-wrapper .mob-slick-next:hover {
                /* background: #b8161c !important;
                transform: translateY(-50%) scale(1.05) !important; */
                background: transparent !important;
                background-color: transparent !important;
            }
            .banner-text-detail h2,.banner-text-detail h1{
                font-size: 36px !important;
                line-height: 42px !important;
                text-align: center !important;
            }
            .banner-text-detail h2 br,.banner-text-detail h1 br{
                display: none !important;
            }
            .banner-text-detail,.banner-text-detail {
                left: 0 !important;
            }
            .banner-text-detail a {
                justify-content: center;
                display: flex;
                align-items: center;
                max-width: 234px;
                margin: auto;
                font-size: 16px !important;
            }

        }

        /* Mobile popup css */

        .product-expands-popup-content{
            padding: 0px 20px 20px 20px;
            display: none;
            position: relative;
        }
        .close-expands{
            position: absolute;
            right: 8px;
            top: 8px;
        }
        .product-expands-popup-content h2 {
                margin: 0;
                font-size: 20px;
                font-weight: 700;
                color: #000;
                padding-top: 20px;
            }
            .product-expands-subtitle {
                font-size: 16px;
                margin-bottom:0px;
                color: #000;
            }
            .product-expands-popup-content h3 {
                margin-top: 15px;
                font-size: 18px;
                color: #000;
                font-weight: 600;
                text-decoration: underline;
                margin: 0;
                padding-top: 10px;
                padding-bottom: 5px;
            }
            .product-expands-popup-content ul {
                margin:0px;
                padding-left: 0px;
            }
            .product-expands-popup-content ul li img{
                width: 20px;
                height: 20px;
            }
            .product-expands-popup-content ul li {
                font-size: 16px;
                list-style: none;
                color: #000;
                display: flex;
                gap: 7px;
            }
            .product-expands-sample-btn {
                background: #DD1B21 !important;
                color: #fff !important;
                border: none !important;
                padding: 12px 20px;
                outline: none;
                border-radius: 8px;
                font-size: 16px;
                cursor: pointer !important;
                transition: 0.3s ease;
                display: flex;
                gap: 10px;
                margin-top: 30px;
                width: 100%;
                justify-content: center;
            }
            .product-expands-sample-btn:hover,
            .product-expands-sample-btn:focus {
                border: none !important;
                outline: none !important;
            }
            

/* mobile 
    */

    /* Popup form css  */

    /* Card */



  .cf7-hidden {
    display: none;
  }
 .lp-form-submit p:first-child {
    display: none;
}
.lp-form-submit{
    display: flex;
    justify-content: center;
}
.btn-form-submit br{
  display: none;
}
.btn-form-submit{
    background-color: #DD1B21 !important;
    display: flex;
    gap: 10px;
    outline: none !important;
    border: none !important;
}
.btn-form-submit:focus, .btn-form-submit:hover{
    outline: none !important;
    border: none !important;
}
.wpcf7-form-control-wrap span:first-child{
    display: none;
}
.wpcf7 form.invalid .wpcf7-response-output{
    display: none;
}

.meridian-medical-form .wpcf7-not-valid-tip {
    position: absolute;
    font-size: 12px;
}
 .wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

  .meridian-medical-form {
    background: #fff;
    border-radius: 16px;
    padding: 10px 20px 40px 20px;
    max-width: 700px;
    margin: 0 auto;
  }

  /* Title */
  .meridian-form-title {
    font-size: 30px;
    line-height: 44px;
    font-weight: 700;
    color:#101828;
    text-align: center;
    margin: 0 0 28px;
  }

  /* Grid row for first/last name */
  .meridian-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0px;
  }

  /* Labels + small captions */
  .meridian-form-label {
    display: block;
    margin-bottom: 0px;
  }
  .meridian-form-label br{
    display: none;
  }
  .meridian-form-caption {
    display: block;
    font-size: 18px;
    color: #0C0C0E;
    padding-top: 5px;
    font-weight: 400;
  }

  /* Inputs & selects */
  .meridian-form-input,
  .meridian-form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px !important;
    background: #fff;
    font-size: 14px;
    color: #374151;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .meridian-form-input::placeholder {
    color: #9ca3af;
  }

  /* Focus */
  .meridian-form-input:focus,
  .meridian-form-select:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
  }

  /* Select arrow */
  .meridian-form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3e%3cpath d='M6 8l4 4 4-4' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
  }

  /* Submit button (centered like screenshot) */
  .meridian-form-submit {
    display: block;
    margin: 24px auto 0;
    padding: 14px 32px;
    border: 0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  }
  .meridian-form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
  }
  .meridian-form-submit:active {
    transform: translateY(0);
  }
  .meridian-form-submit::before {
    content: "📋";
    margin-right: 8px;
  }

  /* Validation hints (optional) */
  .meridian-form-input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
  }
  .meridian-form-input:valid:not(:placeholder-shown) {
    border-color: #10b981;
  }
.meridian-medical-form .wpcf7-response-output {
    display: none;
}

@media (min-width: 1200px) and (max-width: 1500px){

.page-template-product-listing .prd-banner-slide .banner-text-detail h1, .banner-text-detail h2 {
    font-size: 40px !important;
    line-height: 48px !important;
    padding-right: 295px;
    margin-bottom: 55px;
}

.page-template-product-listing .prd-banner-slide .banner-text-detail a{
    font-size: 16px !important;
}
}
  /* Responsive */
  @media (max-width: 640px) {
    .meridian-medical-form {
      padding: 0px;
      margin: 0px;
    }
    .meridian-form-row {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .meridian-form-title {
      font-size: 18px;
      line-height: 25px;
      padding-top: 20px;
    }
       .sg-popup-builder-content {
        height: auto !important;
        overflow-y: auto !important;
        max-height: 90vh !important;
    }
     .wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}
  }
        


