/* =========================================================
   Mana Telugu Foods - Reference Footer
   Scoped to .mtf-modern-footer so it cannot affect the site UI.
   ========================================================= */
.mtf-modern-footer,
.mtf-modern-footer *{box-sizing:border-box}

.mtf-modern-footer{
    position:relative;
    width:100%;
    background:#eef1f4;
    color:#111;
    border-top:0;
    overflow:hidden;
    font-family:inherit;
    padding:58px 0 0;
    clear:both;
}

.mtf-modern-footer .container{
    width:100%;
    max-width:1245px;
    margin:0 auto;
    padding-left:0;
    padding-right:0;
}

.mtf-modern-footer .mtf-footer-main{
    display:grid !important;
    grid-template-columns:2.15fr 1fr 1fr 1.55fr;
    column-gap:54px;
    align-items:start;
    width:100%;
    padding:0 0 76px;
}

.mtf-modern-footer .mtf-footer-brand,
.mtf-modern-footer .mtf-footer-column,
.mtf-modern-footer .mtf-footer-newsletter{
    min-width:0;
    margin:0;
    padding:0;
}

.mtf-modern-footer .mtf-footer-logo{
    display:inline-flex !important;
    align-items:center;
    width:auto;
    margin:0 0 25px;
    padding:0;
    text-decoration:none;
    line-height:0;
}

.mtf-modern-footer .mtf-footer-logo img{
    display:block !important;
    width:150px !important;
    max-width:100%;
    height:auto !important;
    max-height:none !important;
    object-fit:contain;
    margin:0;
}

.mtf-modern-footer .mtf-footer-description{
    margin:0 0 18px !important;
    max-width:430px;
    color:#555b64 !important;
    font-size:18px !important;
    font-weight:400 !important;
    line-height:1.75 !important;
}

.mtf-modern-footer .mtf-footer-social{
    display:flex !important;
    align-items:center;
    gap:9px;
    margin:0;
}

.mtf-modern-footer .mtf-footer-social a{
    display:flex !important;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    padding:0 !important;
    margin:0 !important;
    border-radius:50%;
    background:#39b82a;
    color:#fff !important;
    text-decoration:none !important;
    font-size:16px;
    line-height:1;
    transition:transform .2s ease,background .2s ease;
}
.mtf-modern-footer .mtf-footer-social a:hover{transform:translateY(-2px);background:#2e9f22}

.mtf-modern-footer .mtf-footer-column h3,
.mtf-modern-footer .mtf-footer-newsletter h3{
    margin:0 0 31px !important;
    padding:0 !important;
    color:#111 !important;
    font-size:22px !important;
    font-weight:600 !important;
    line-height:1.2 !important;
    text-transform:none !important;
}

.mtf-modern-footer .mtf-footer-column ul{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
}

.mtf-modern-footer .mtf-footer-column li{
    list-style:none !important;
    margin:0 0 18px !important;
    padding:0 !important;
    line-height:1.25 !important;
}

.mtf-modern-footer .mtf-footer-column li:last-child{margin-bottom:0 !important}

.mtf-modern-footer .mtf-footer-column li::before,
.mtf-modern-footer .mtf-footer-column li::after{display:none !important}

.mtf-modern-footer .mtf-footer-column a{
    display:inline-block !important;
    padding:0 !important;
    margin:0 !important;
    color:#111 !important;
    font-size:17px !important;
    font-weight:400 !important;
    line-height:1.3 !important;
    text-decoration:none !important;
    background:none !important;
    border:0 !important;
}
.mtf-modern-footer .mtf-footer-column a:hover{color:#ffc222 !important}

.mtf-modern-footer .mtf-footer-newsletter p{
    margin:0 0 27px !important;
    max-width:320px;
    color:#111 !important;
    font-size:17px !important;
    font-weight:400 !important;
    line-height:1.7 !important;
}

.mtf-modern-footer .mtf-footer-subscribe{
    display:flex !important;
    width:100%;
    max-width:320px;
    height:52px;
    margin:0 !important;
    padding:0 !important;
    border:1px solid #b8bbc2;
    border-radius:28px;
    overflow:hidden;
    background:#fff;
}

.mtf-modern-footer .mtf-footer-subscribe input{
    flex:1 1 auto;
    min-width:0;
    width:auto !important;
    height:100% !important;
    margin:0 !important;
    padding:0 18px !important;
    border:0 !important;
    outline:0 !important;
    background:#fff !important;
    color:#222 !important;
    font-size:15px !important;
    box-shadow:none !important;
}
.mtf-modern-footer .mtf-footer-subscribe input::placeholder{color:#777;opacity:1}

.mtf-modern-footer .mtf-footer-subscribe button{
    flex:0 0 116px;
    width:116px !important;
    height:52px !important;
    margin:-1px -1px -1px 0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 28px 28px 0 !important;
    background:#ffc222 !important;
    color:#fff !important;
    font-size:12px !important;
    font-weight:600 !important;
    letter-spacing:.2px;
    line-height:52px !important;
    text-align:center;
    cursor:pointer;
}
.mtf-modern-footer .mtf-footer-subscribe button:hover{background:#d9410b !important}

.mtf-modern-footer .mtf-footer-bottom{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    min-height:82px;
    margin:0;
    padding:20px 0;
    border-top:1px solid #d9dbe0;
}

.mtf-modern-footer .mtf-footer-bottom p{
    margin:0 !important;
    padding:0 !important;
    color:#111 !important;
    font-size:15px !important;
    line-height:1.5 !important;
}
.mtf-modern-footer .mtf-footer-bottom p span{color:#ffc222}

.mtf-modern-footer .mtf-footer-payments{
    display:flex !important;
    align-items:center;
    gap:9px;
    flex-wrap:wrap;
    justify-content:flex-end;
}
.mtf-modern-footer .mtf-footer-payments span{
    display:flex !important;
    align-items:center;
    justify-content:center;
    min-width:52px;
    height:38px;
    padding:0 8px;
    background:#fff;
    color:#1457a6;
    border:1px solid #edf0f4;
    font-size:21px;
    line-height:1;
}
.mtf-modern-footer .mtf-footer-payments .mtf-payment-text{
    color:#333;
    font-size:10px;
    font-weight:700;
    letter-spacing:.2px;
}

/* Hide the old decorative blocks from the previous footer design. */
.mtf-modern-footer .mtf-footer-decoration{display:none !important}

@media (max-width:1199px){
    .mtf-modern-footer .container{max-width:960px}
    .mtf-modern-footer .mtf-footer-main{grid-template-columns:1.8fr 1fr 1fr 1.35fr;gap:42px}
    .mtf-modern-footer .mtf-footer-newsletter{grid-column:auto;margin-top:0}
}

@media (max-width:991px){
    .mtf-modern-footer{padding-top:48px}
    .mtf-modern-footer .container{max-width:720px;padding-left:15px;padding-right:15px}
    .mtf-modern-footer .mtf-footer-main{grid-template-columns:1fr 1fr;column-gap:45px;row-gap:42px;padding-bottom:55px}
    .mtf-modern-footer .mtf-footer-brand{grid-column:1 / -1}
    .mtf-modern-footer .mtf-footer-newsletter{grid-column:auto;margin-top:0}
    .mtf-modern-footer .mtf-footer-description{max-width:650px}
    .mtf-modern-footer .mtf-footer-bottom{align-items:flex-start;flex-direction:column}
    .mtf-modern-footer .mtf-footer-payments{justify-content:flex-start}
}

@media (max-width:575px){
    .mtf-modern-footer{padding-top:38px}
    .mtf-modern-footer .container{padding-left:20px;padding-right:20px}
    .mtf-modern-footer .mtf-footer-main{display:block !important;padding-bottom:38px}
    .mtf-modern-footer .mtf-footer-brand,
    .mtf-modern-footer .mtf-footer-column,
    .mtf-modern-footer .mtf-footer-newsletter{margin:0 0 35px;padding:0}
    .mtf-modern-footer .mtf-footer-brand{margin-bottom:42px}
    .mtf-modern-footer .mtf-footer-newsletter{margin-bottom:0}
    .mtf-modern-footer .mtf-footer-logo img{width:150px !important}
    .mtf-modern-footer .mtf-footer-description{font-size:16px !important;line-height:1.65 !important}
    .mtf-modern-footer .mtf-footer-column h3,
    .mtf-modern-footer .mtf-footer-newsletter h3{margin-bottom:20px !important;font-size:20px !important}
    .mtf-modern-footer .mtf-footer-column li{margin-bottom:13px !important}
    .mtf-modern-footer .mtf-footer-column a,
    .mtf-modern-footer .mtf-footer-newsletter p{font-size:16px !important}
    .mtf-modern-footer .mtf-footer-subscribe{max-width:100%}
    .mtf-modern-footer .mtf-footer-bottom{padding:18px 0 25px;gap:18px}
    .mtf-modern-footer .mtf-footer-bottom p{font-size:13px !important}
}

@media (max-width: 767px) {
    .mtf-modern-footer {
        margin-bottom: 0 !important;
        padding-bottom: 0px !important;
    }
}

/* MTF FSSAI compliance block */
.mtf-modern-footer .mtf-footer-fssai{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:7px;
    margin-top:20px;
}
.mtf-modern-footer .mtf-footer-fssai img{
    display:block;
    width:72px;
    height:auto;
    max-width:72px;
}
.mtf-modern-footer .mtf-footer-fssai-number{
    color:#111;
    font-size:14px;
    line-height:1.4;
    font-weight:400;
}
.mtf-modern-footer .mtf-footer-fssai-number strong{font-weight:400;}



/* Final footer consistency: same copyright spacing on home and inner pages. */
.mtf-modern-footer .mtf-footer-bottom{
    margin:0!important;
    padding:14px 0 16px!important;
    min-height:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
}
.mtf-modern-footer .mtf-footer-bottom p{margin:0!important;padding:0!important;line-height:1.5!important; text-align: center;}
@media(max-width:767px){
    .mtf-modern-footer .mtf-footer-fssai{margin-top:16px;gap:5px;}
    .mtf-modern-footer .mtf-footer-fssai img{width:64px!important;height:auto!important;max-width:64px!important;}
    .mtf-modern-footer .mtf-footer-bottom{padding:12px 16px 14px!important;}
}


/* Dynamic WordPress footer menus */
.mtf-modern-footer .mtf-footer-menu,
.mtf-modern-footer .mtf-footer-menu ul{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
}
.mtf-modern-footer .mtf-footer-menu li{
    list-style:none !important;
    margin:0 0 18px !important;
    padding:0 !important;
}
.mtf-modern-footer .mtf-footer-menu li:last-child{margin-bottom:0 !important}
.mtf-modern-footer .mtf-footer-menu a{
    display:inline-block !important;
    padding:0 !important;
    margin:0 !important;
    color:#111 !important;
    font-size:17px !important;
    font-weight:400 !important;
    line-height:1.3 !important;
    text-decoration:none !important;
    background:none !important;
    border:0 !important;
}
.mtf-modern-footer .mtf-footer-menu a:hover{color:#ffc222 !important}
.mtf-modern-footer .mtf-footer-subscribe-notice{
    max-width:320px;
    margin:10px 0 0;
    font-size:13px;
    line-height:1.4;
    color:#333;
}
.mtf-modern-footer .mtf-footer-subscribe-notice-success{color:#16803a}
.mtf-modern-footer .mtf-footer-subscribe-notice-info{color:#6d5b00}
.mtf-modern-footer .mtf-footer-subscribe-notice-error{color:#b42318}

@media(max-width:575px){
    .mtf-modern-footer .mtf-footer-menu a{font-size:16px !important}
    .mtf-modern-footer .mtf-footer-subscribe-notice{max-width:100%}
}
