/* Main Light Footer – osnovni izgled. Boje, fontovi i razmaci dolaze iz postavki footera. */
#mlf-footer{position:relative;z-index:2;width:100%;line-height:1.5}
#mlf-footer *,#mlf-footer *::before,#mlf-footer *::after{box-sizing:border-box}
#mlf-footer a{text-decoration:none;box-shadow:none}
#mlf-footer img{max-width:100%;height:auto;vertical-align:middle;border:0}
#mlf-footer svg{display:block;width:1em;height:1em;flex-shrink:0}
#mlf-footer ul{list-style:none;margin:0;padding:0}
#mlf-footer li{margin:0;padding:0}
#mlf-footer li::before{content:none}
#mlf-footer button{font:inherit;line-height:1;margin:0;border-radius:0;box-shadow:none;text-transform:none;letter-spacing:normal;min-height:0}
#mlf-footer .mlf-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#mlf-footer .mlf-note{font-size:12px;color:#b32d2e}

/* Red i stupci */
#mlf-footer .mlf-row{position:relative;width:100%;--mlf-valign:center}
#mlf-footer .mlf-inner{display:flex;margin-left:auto;margin-right:auto;width:100%}
#mlf-footer .mlf-col{position:static;display:flex;min-height:1px}
#mlf-footer .mlf-wrap{display:flex;flex-wrap:wrap;align-content:var(--mlf-valign);align-items:var(--mlf-valign);width:100%;position:static}
#mlf-footer .mlf-item{width:100%;position:static;text-align:var(--mlf-align,left);--mlf-jc:flex-start}
#mlf-footer :where(.mlf-item:not(:last-child)){margin-bottom:20px}

/* Ljepljivi red */
#mlf-footer .mlf-row.is-stuck{position:fixed;top:var(--mlf-offset,0);left:0;right:0;width:100%;animation:mlf-in .2s ease}
@keyframes mlf-in{from{transform:translateY(-6px)}to{transform:none}}

/* Logo */
#mlf-footer .mlf-logo-link{display:inline-block;line-height:0}
#mlf-footer .mlf-t-logo img{display:inline-block}
#mlf-footer .mlf-site-name{font-size:1.4em;font-weight:700;line-height:1.2}

/* Ikona */
#mlf-footer .mlf-ico{display:inline-flex;font-size:50px;line-height:1;color:inherit;transition:color .2s}

/* Popis s ikonama */
#mlf-footer .mlf-il{display:flex;flex-direction:column;gap:5px;align-items:var(--mlf-jc)}
#mlf-footer .mlf-il.mlf-il-inline{flex-direction:row;flex-wrap:wrap;justify-content:var(--mlf-jc);align-items:center}
#mlf-footer .mlf-il li,#mlf-footer .mlf-il a{display:inline-flex;align-items:center;color:inherit}
#mlf-footer .mlf-il-icon{display:inline-flex;justify-content:center;width:1.25em;font-size:14px}
#mlf-footer .mlf-il-icon+.mlf-il-text{padding-left:5px}
#mlf-footer .mlf-il-text{transition:color .2s}

/* Društvene mreže */
#mlf-footer .mlf-socs{display:inline-flex;flex-wrap:wrap;gap:5px;vertical-align:middle}
#mlf-footer .mlf-soc{display:inline-flex;align-items:center;justify-content:center;font-size:25px;--mlf-soc-pad:.5em;width:calc(1em + 2 * var(--mlf-soc-pad));height:calc(1em + 2 * var(--mlf-soc-pad));color:#fff;border-radius:10%;transition:transform .2s,opacity .2s}
#mlf-footer .mlf-socs[data-hover="shrink"] .mlf-soc:hover{transform:scale(.9)}
#mlf-footer .mlf-socs[data-hover="grow"] .mlf-soc:hover{transform:scale(1.1)}
#mlf-footer .mlf-socs[data-hover="fade"] .mlf-soc:hover{opacity:.75}

/* Tekst */
#mlf-footer .mlf-text{margin:0;padding:0;color:inherit}
#mlf-footer .mlf-text a{text-decoration:none}

/* Gumb */
#mlf-footer .mlf-btn{display:inline-flex;align-items:center;gap:.5em;font-size:15px;line-height:1;padding:12px 24px;border-radius:3px;background:#69727d;color:#fff;transition:background-color .2s,color .2s}

/* Izbornik – vodoravno */
#mlf-footer .mlf-menu{display:flex;justify-content:var(--mlf-jc);position:relative}
#mlf-footer .mlf-panel{display:block;width:100%}
#mlf-footer .mlf-menu-list{display:flex;flex-wrap:wrap;align-items:center}
#mlf-footer .mlf-menu-list li{position:relative}
#mlf-footer .mlf-menu-list a{display:flex;align-items:center;position:relative;line-height:20px;padding:13px 20px;color:#33373d;white-space:nowrap;transition:color .2s,background-color .2s}
#mlf-footer .mlf-menu-list > li > a::after,#mlf-footer .mlf-menu-list > li > a::before{content:"";position:absolute;left:0;right:0;height:var(--mlf-pointer-w,3px);background:var(--mlf-pointer,currentColor);opacity:0;transition:opacity .2s;pointer-events:none;display:none}
#mlf-footer .mlf-menu[data-pointer="underline"] .mlf-menu-list > li > a::after,#mlf-footer .mlf-menu[data-pointer="both"] .mlf-menu-list > li > a::after{display:block;bottom:0}
#mlf-footer .mlf-menu[data-pointer="overline"] .mlf-menu-list > li > a::before,#mlf-footer .mlf-menu[data-pointer="both"] .mlf-menu-list > li > a::before{display:block;top:0}
#mlf-footer .mlf-menu-list > li > a:hover::after,#mlf-footer .mlf-menu-list > li > a:hover::before,#mlf-footer .mlf-menu-list > li > a:focus-visible::after,#mlf-footer .mlf-menu-list > li.current-menu-item > a::after,#mlf-footer .mlf-menu-list > li.current-menu-item > a::before,#mlf-footer .mlf-menu-list > li.current-menu-ancestor > a::after,#mlf-footer .mlf-menu-list > li.current-menu-ancestor > a::before{opacity:1}
#mlf-footer .mlf-menu[data-pointer="background"] .mlf-menu-list > li > a:hover,#mlf-footer .mlf-menu[data-pointer="background"] .mlf-menu-list > li.current-menu-item > a{background-color:var(--mlf-pointer)}

/* Podizbornici */
#mlf-footer .mlf-menu-list .sub-menu{position:absolute;top:100%;left:0;min-width:220px;z-index:1000;background:#fff;opacity:0;pointer-events:none;transform:translateY(6px);transition:opacity .2s,transform .2s;box-shadow:0 4px 18px rgba(0,0,0,.08)}
#mlf-footer .mlf-menu-list .sub-menu .sub-menu{top:0;left:100%;margin-top:0!important}
/* Nevidljivi most između stavke i podizbornika, da se ne zatvori dok miš putuje. */
#mlf-footer .mlf-menu-list > li > .sub-menu::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:calc(var(--mlf-dd-top,0px) + 20px)}
#mlf-footer .mlf-menu-list li:hover > .sub-menu,#mlf-footer .mlf-menu-list li:focus-within > .sub-menu,#mlf-footer .mlf-menu-list li.is-open > .sub-menu{opacity:1;pointer-events:auto;transform:none}
#mlf-footer .mlf-menu-list .sub-menu a{padding:10px 20px;white-space:normal}
#mlf-footer .mlf-sub-toggle{display:none;align-items:center;justify-content:center;background:none;border:0;padding:0 .5em;color:inherit;cursor:pointer;font-size:12px}
#mlf-footer .mlf-menu[data-indicator="1"] .mlf-sub-toggle{display:inline-flex}
#mlf-footer .mlf-menu-list li.menu-item-has-children{display:flex;align-items:center;flex-wrap:wrap}
#mlf-footer .mlf-menu-list li.menu-item-has-children > .sub-menu{flex-basis:100%}
#mlf-footer .mlf-menu-list li.menu-item-has-children > a{flex:1 1 auto}
#mlf-footer .mlf-menu-list li.is-open > .mlf-sub-toggle svg{transform:rotate(180deg)}

/* Hamburger */
#mlf-footer .mlf-toggle{display:none;align-items:center;justify-content:center;padding:.25em;border:0;background:transparent;color:#33373d;cursor:pointer;font-size:22px}
#mlf-footer .mlf-toggle .mlf-i-close,#mlf-footer .mlf-menu.is-open .mlf-toggle .mlf-i-open{display:none}
#mlf-footer .mlf-menu.is-open .mlf-toggle .mlf-i-close{display:block}

/* Košarica */
#mlf-footer .mlf-cart-btn{display:inline-flex;align-items:center;gap:.4em;font-size:15px;line-height:1;padding:12px 24px;color:#69727d;border:1px solid #69727d;transition:background-color .2s,color .2s}
#mlf-footer .mlf-cart-icon{position:relative;display:inline-flex;font-size:15px}
#mlf-footer .mlf-cart-count{position:absolute;top:-.7em;right:-.7em;min-width:1.6em;height:1.6em;padding:0 .3em;border-radius:1em;background:#d9534f;color:#fff;font-size:10px;font-weight:400;line-height:1.6em;text-align:center;font-family:inherit}
#mlf-footer .mlf-cart-count.mlf-hide-empty[data-count="0"]{display:none}
#mlf-footer .mlf-cart-total .amount{color:inherit}

/* Tražilica */
#mlf-footer .mlf-search{display:inline-flex;align-items:center;position:relative;max-width:100%}
#mlf-footer .mlf-search-field{width:100%;min-width:0;padding:.55em 2.4em .55em .8em;border:1px solid #d5d8dc;border-radius:3px;background:#fff;font-size:14px;line-height:1.3;margin:0;height:auto}
#mlf-footer .mlf-search-btn{position:absolute;right:.4em;top:50%;transform:translateY(-50%);display:inline-flex;padding:.3em;border:0;background:none;cursor:pointer;font-size:16px}

/* Bočna košarica */
.mlf-cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:99998}
.mlf-cart-panel{position:fixed;top:0;right:0;bottom:0;width:380px;max-width:90vw;background:#fff;color:#33373d;z-index:99999;box-shadow:-4px 0 24px rgba(0,0,0,.15);display:flex;flex-direction:column;transform:translateX(100%);transition:transform .25s ease;overflow-y:auto;padding:20px;font-size:14px}
.mlf-cart-panel.is-open{transform:none}
.mlf-cart-panel[hidden],.mlf-cart-overlay[hidden]{display:none}
.mlf-cart-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;font-weight:600;font-size:16px}
.mlf-cart-close{display:inline-flex;background:none;border:0;padding:6px;cursor:pointer;font-size:20px;color:inherit}
.mlf-cart-close svg{width:1em;height:1em}
.mlf-cart-panel ul.cart_list{list-style:none;margin:0;padding:0}
.mlf-cart-panel ul.cart_list li{position:relative;display:block;padding:12px 24px 12px 0;border-bottom:1px solid #eee;overflow:hidden}
.mlf-cart-panel ul.cart_list li img{float:left;width:60px;height:auto;margin-right:12px}
.mlf-cart-panel ul.cart_list li a.remove{position:absolute;right:0;top:12px;text-decoration:none;font-size:18px;line-height:1}
.mlf-cart-panel .woocommerce-mini-cart__total{display:flex;justify-content:space-between;padding:15px 0;margin:0;border-bottom:1px solid #eee}
.mlf-cart-panel .woocommerce-mini-cart__buttons{display:flex;gap:10px;margin:15px 0 0}
.mlf-cart-panel .woocommerce-mini-cart__buttons .button{flex:1;text-align:center;padding:12px;margin:0}
.mlf-cart-panel .woocommerce-mini-cart__empty-message{padding:20px 0;text-align:center}
body.mlf-cart-open{overflow:hidden}

/* Footer: okomiti izbornik, crta, karta */
#mlf-footer .mlf-vertical .mlf-menu-list{flex-direction:column;align-items:flex-start}
#mlf-footer .mlf-vertical .mlf-menu-list .sub-menu{position:static;opacity:1;pointer-events:auto;transform:none;box-shadow:none;background:transparent;padding-left:1em;min-width:0}
#mlf-footer .mlf-vertical .mlf-menu-list .sub-menu::before{display:none}
#mlf-footer .mlf-vertical .mlf-sub-toggle{display:none!important}
#mlf-footer .mlf-divider{display:flex;justify-content:var(--mlf-jc,center);padding:15px 0}
#mlf-footer .mlf-divider span{display:block;width:100%;border-top:1px solid #d5d8dc}
#mlf-footer .mlf-map iframe{display:block;width:100%;height:300px;border:0}
#mlf-footer .mlf-html{position:static}
