/* Monte Shop — footer (measured from live) */
.monte-footer{padding:40px 0 24px;margin:0;background:none;color:var(--monte-text,#000)}
.monte-footer a{color:inherit;text-decoration:none}
.monte-footer-box{max-width:var(--monte-container,1220px);margin:0 auto;padding:44px 38px 26px;background:var(--monte-footer-bg,#9aa07e);border:1px solid var(--monte-border,#536b00);border-radius:28px;box-shadow:0 18px 44px rgba(16,40,22,.06)}
.monte-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px;margin-bottom:34px}
.monte-footer-brand{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding-bottom:30px;margin-bottom:6px}
.monte-footer-logo{display:block;width:56px;font-size:19px;font-weight:800;line-height:36.1px}
.monte-footer-logo img{display:inline-block;width:56px;height:56px;object-fit:contain}
.monte-footer-desc{width:100%;margin:0;font-size:14.5px;line-height:30.45px;text-align:justify;opacity:.82}
.monte-footer-socials{display:block;align-self:flex-end}
.monte-social-row{display:flex;gap:10px}
.monte-social-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid transparent;border-radius:50%;background:#f1f1f8;color:#38383d;transition:transform .2s,background .2s}
.monte-social-btn:hover{transform:translateY(-2px);background:#fff}
.monte-social-btn svg{display:block;width:18px;height:18px;max-width:100%}
.monte-footer-col h3{margin:0 0 16px;padding:0 0 12px;font-size:14.5px;font-weight:700;line-height:27.55px}
.monte-footer-col ul{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none}
.monte-footer-col li a{font-size:14px;line-height:26.6px;opacity:.82}
.monte-footer-col li a:hover{opacity:1}
.monte-footer-contact ul{gap:12px}
.monte-footer-contact li{display:flex;align-items:center;justify-content:flex-end;gap:10px;direction:ltr;font-size:14px;line-height:26.6px;opacity:.82}
.monte-footer-contact li.is-rtl{direction:rtl}
.monte-footer-contact li svg{flex:0 0 16px;display:block;width:16px;height:16px;color:var(--monte-accent-2,#4b5320)}
.monte-enamad{display:flex;align-items:center;justify-content:flex-start;gap:8px}
.monte-enamad__item{display:grid;grid-template-columns:72px;align-items:center;width:72px;height:72px}
.monte-enamad__item img{display:block;max-width:100%;width:auto;height:72px}
.monte-footer-bottom{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:6px -38px -26px;padding:20px 38px;background:var(--monte-footer-bg,#9aa07e);border-top:1px solid var(--monte-border,#536b00);border-radius:0 0 27px 27px;color:#2c302d;font-size:13px;line-height:24.7px;text-align:center}
.monte-footer-socials{margin-inline-start:auto}
@media (max-width:900px){
  .monte-footer-box{margin:0;padding:30px 20px 20px;border-radius:22px}
  .monte-footer-grid{grid-template-columns:1fr 1fr}
  .monte-footer-bottom{margin:6px -20px -20px;padding:20px;border-radius:0 0 21px 21px}
  .monte-footer-socials{margin-inline-start:0}
}
@media (max-width:600px){
  .monte-footer-grid{gap:24px 16px}
  .monte-footer-brand{flex-direction:row;flex-wrap:wrap;align-items:center;gap:18px 34px}
  .monte-footer-socials{width:calc(100% - 34px)}
  .monte-footer-col ul{gap:2px}
  .monte-footer-col li a{display:flex;align-items:center;min-height:44px}
  .monte-footer-contact li{min-height:44px}
  .monte-social-btn{width:44px;height:44px}
  .monte-enamad{flex-wrap:wrap}
}
/* Zarinpal trust frame */
.monte-enamad__frame{width:72px;height:72px;border:0;display:block}

/* Categories bottom sheet (mobile) */
.monte-cs{position:fixed;inset:0;z-index:950;display:none;align-items:flex-end;background:rgba(9,14,22,.45);animation:monteCsFade .2s both}
.monte-cs.is-open{display:flex}
.monte-cs__sheet{width:100%;max-height:calc(100vh - 152px);max-height:calc(100dvh - 152px);display:flex;flex-direction:column;background:var(--monte-surface,#fff);border-radius:20px 20px 0 0;padding-bottom:70px;animation:monteCsUp .28s cubic-bezier(.22,.9,.3,1) both}
.monte-cs__head{display:flex;align-items:center;justify-content:space-between;padding:15px 18px 12px;border-bottom:1px solid var(--monte-border,#e6ebe7)}
.monte-cs__head strong{font-size:14px;font-weight:700;line-height:26.6px}
.monte-cs__close{width:30px;height:30px;border:0;border-radius:9px;background:var(--monte-soft,#eef2ef);color:var(--monte-text,#38383d);font-size:13px;cursor:pointer;padding:0}
.monte-cs__body{overflow-y:auto;padding:14px 16px 18px;-webkit-overflow-scrolling:touch}
.monte-cs__row{display:flex;align-items:center;gap:10px;padding:15px 12px;border-bottom:1px solid var(--monte-border,#e6ebe7);font-size:14.5px;font-weight:600;line-height:1.9;color:inherit;text-decoration:none}
.monte-cs__row img{width:30px;height:30px;border-radius:9px;object-fit:cover;flex:none}
@keyframes monteCsFade{from{opacity:0}to{opacity:1}}
@keyframes monteCsUp{from{transform:translateY(100%)}to{transform:none}}
@media(min-width:783px){.monte-cs{display:none!important}}

/* Dark mode: footer, bottom nav, sheet */
html[data-monte-theme=dark] .monte-cs__sheet{background:#161b22}
html[data-monte-theme=dark] .monte-cs__head,html[data-monte-theme=dark] .monte-cs__row{border-color:rgba(255,255,255,.09)}
html[data-monte-theme=dark] .monte-cs__close{background:rgba(255,255,255,.08);color:#e8ecef}
html[data-monte-theme=dark] .monte-footer-box{background:#161b22;color:#d7dce1}
html[data-monte-theme=dark] .monte-footer a{color:#d7dce1}
html[data-monte-theme=dark] .monte-bn{background:rgba(18,22,28,.88);border-top-color:rgba(255,255,255,.09)}
html[data-monte-theme=dark] .monte-bn__item{color:#aab2ba}
html[data-monte-theme=dark] .monte-bn__item.is-active{color:#c9d39a}
/* live: inner pages get 40px above the footer; the home page and the shop archive do not */
body.home .monte-footer,body.woocommerce-shop .monte-footer,body.post-type-archive-product .monte-footer,body.tax-product_cat .monte-footer,body.tax-product_tag .monte-footer{padding-top:0}

.monte-enamad__item.is-zp{display:grid;place-items:center;width:72px;height:72px}
.monte-enamad__item.is-zp a{display:grid;place-items:center;width:100%;height:100%}
.monte-enamad__item.is-zp img{display:block;width:auto;height:72px;max-width:100%;object-fit:contain}

/* contact list alignment: phone/email at the left with the icon on its left; hours at the right */
.monte-footer-contact li.is-ltr{justify-content:flex-start;direction:ltr}
.monte-footer-contact li.is-ltr svg{order:-1}
.monte-footer-contact li.is-hours{justify-content:flex-start}

/* contact list: every icon at the left edge, every text at the right edge */
.monte-footer-contact li,.monte-footer-contact li.is-ltr,.monte-footer-contact li.is-rtl,.monte-footer-contact li.is-hours{direction:rtl;justify-content:space-between;text-align:right}
.monte-footer-contact li svg,.monte-footer-contact li.is-ltr svg{order:0}

/* contact list: icon at the right edge, text right after it */
.monte-footer-contact li,.monte-footer-contact li.is-ltr,.monte-footer-contact li.is-rtl,.monte-footer-contact li.is-hours{direction:rtl;justify-content:flex-start;text-align:right}
.monte-footer-contact li svg,.monte-footer-contact li.is-ltr svg{order:-1}
