    /*
      Remove top white gap created by theme / logged-in preview / old snippets
    */
    html,
    body,
    body#cmsmasters_body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    body:before,
    body:after {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    /*
      Hide old notification bars from previous attempts/plugins
    */
    #painflameTopNotificationBar,
    #painflameNormalTopBar,
    #painflameJivaTopBar,
    #painflameTopBar,
    #painflameTopNoticeBar,
    #painflameHeaderTopBar,
    #painflameFinalNoticeBar {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    /*
      Force Painflame header into normal document flow
    */
    body > header[data-elementor-type="cmsmasters_header"],
    body > header[data-elementor-type="cmsmasters_header"].cmsmasters-header-position-absolute- {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        transform: none !important;
        z-index: 50 !important;
    }
    body > header[data-elementor-type="cmsmasters_header"] .elementor-inner,
    body > header[data-elementor-type="cmsmasters_header"] .elementor-section-wrap,
    body > header[data-elementor-type="cmsmasters_header"] .cmsmasters-block-fixed,
    body > header[data-elementor-type="cmsmasters_header"] .cmsmasters-fixed-body-top-gap-yes,
    body > header[data-elementor-type="cmsmasters_header"] .elementor-element-22ace83f {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        transform: none !important;
    }
    body > header[data-elementor-type="cmsmasters_header"] {
        width: 100% !important;
    }
    /*
      Final top notification bar
    */
    #pfTopNotice,
    #pfTopNotice * {
        box-sizing: border-box !important;
    }
    #pfTopNotice {
        display: block !important;
        width: 100% !important;
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        line-height: 30px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        overflow: hidden !important;
        background: #f6f0ed !important;
        color: #4a2f29 !important;
        font-family: "Public Sans", Arial, sans-serif !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
        position: relative !important;
        z-index: 9999 !important;
        transform: none !important;
        box-shadow: inset 0 -1px 0 rgba(74, 47, 41, 0.12) !important;
    }
 
    #pfTopNotice.pf-top-notice-fixed {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        z-index: 9999 !important;
    }
 
    body.pf-top-notice-bar-fixed {
        padding-top: 0 !important;
    }
 
    body.pf-top-notice-bar-fixed > header[data-elementor-type="cmsmasters_header"],
    body.pf-top-notice-bar-fixed .cmsmasters_header,
    body.pf-top-notice-bar-fixed header[data-elementor-type="cmsmasters_header"] {
        margin-top: 0 !important;
    }
 
    #pfTopNotice a {
        color: #4a2f29 !important;
        font-family: inherit !important;
        font-size: inherit !important;
        font-weight: 600 !important;
        text-decoration: none !important;
    }
    #pfTopNotice a:hover {
        color: #8d5b4c !important;
        text-decoration: underline !important;
    }
 
    /*
      Desktop: right side se entry + smooth scrolling
    */
    .pf-top-notice-track {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        line-height: inherit !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }
    .pf-top-notice-track span {
        position: absolute !important;
        left: 100% !important;
        top: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        height: 100% !important;
        line-height: inherit !important;
        color: inherit !important;
        font-family: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        white-space: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
        animation: pfNoticeScroll 28s linear infinite !important;
        will-change: transform !important;
    }
 
    .pf-top-notice-track span:nth-child(2) {
        animation-delay: 14s !important;
    }
    #pfTopNotice:hover .pf-top-notice-track span {
        animation-play-state: paused !important;
    }
    @keyframes pfNoticeScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100vw - 100%));
        }
    }
    @media screen and (max-width: 767px) {
        #pfTopNotice {
            height: 30px !important;
            min-height: 30px !important;
            max-height: 30px !important;
            line-height: 30px !important;
            font-size: 12px !important;
            padding: 0 12px !important;
        }
        /*
          Mobile: sentence overlap/collapse fix
          Dono duplicate sentence ke beech proper space diya gaya hai
        */
        .pf-top-notice-track {
            display: inline-flex !important;
            position: relative !important;
            align-items: center !important;
            width: max-content !important;
            min-width: max-content !important;
            height: 100% !important;
            line-height: inherit !important;
            overflow: visible !important;
            white-space: nowrap !important;
            animation: pfNoticeScrollMobile 22s linear infinite !important;
            will-change: transform !important;
        }
        .pf-top-notice-track span {
            position: static !important;
            left: auto !important;
            top: auto !important;
            display: inline-flex !important;
            align-items: center !important;
            flex: 0 0 auto !important;
            height: 100% !important;
            line-height: inherit !important;
            color: inherit !important;
            font-family: inherit !important;
            font-size: inherit !important;
            font-weight: inherit !important;
            white-space: nowrap !important;
            margin: 0 !important;
            padding: 0 100px 0 0 !important;
            animation: none !important;
            transform: none !important;
        }
 
        .pf-top-notice-track span:nth-child(2) {
            animation-delay: 0s !important;
        }
 
        #pfTopNotice:hover .pf-top-notice-track {
            animation-play-state: paused !important;
        }
 
        @keyframes pfNoticeScrollMobile {
            0% {
                transform: translateX(100vw);
            }
            100% {
                transform: translateX(calc(100vw - 50%));
            }
        }
        body.pf-top-notice-bar-fixed {
            padding-top: 34px !important;
        }
        body.pf-top-notice-bar-fixed .cmsmasters-mobile-menu-button,
        body.pf-top-notice-bar-fixed .menu-btn,
        body.pf-top-notice-bar-fixed header[data-elementor-type="cmsmasters_header"] .elementor-toggle-menu {
            z-index: 9998 !important;
        }
    }
