/* Shared footer for the redesigned home and catalog pages. */
.mebeles-footer { background:#1e1b18; color:#d8d3ce; font-family:Inter,Arial,sans-serif; font-size:clamp(13px,.96vw,21px); line-height:1.4; }
.mebeles-footer * { box-sizing:border-box; }
.mebeles-footer a { color:inherit; text-decoration:none; }
.mebeles-footer a:hover { color:#ff8b39; }
.mebeles-footer a:focus-visible { outline:2px solid #ff7a16; outline-offset:5px; border-radius:3px; }
.mebeles-footer p,.mebeles-footer h2 { margin:0; }
.mebeles-footer img { display:block; max-width:100%; }
.mf-container { width:89.5%; max-width:1944px; margin-inline:auto; }
.mf-main { background:#201c18 url('/assets/optimized/footer/footer-background-1920-f5d6dafc5d.webp') no-repeat right center / cover; }
.mf-grid { translate:10px 0; display:grid; grid-template-columns:1.55fr 1.05fr 1.1fr 1fr 1.75fr; gap:clamp(18px,1.6vw,35px); padding:clamp(30px,2.25vw,50px) 8.5% clamp(40px,3.5vw,80px) 0; }
.mf-brand { min-width:0; padding-top:4px; }
.mf-logo { display:block; width:clamp(190px,15vw,330px); max-width:100%; }
.mf-logo img { width:100%; height:auto; }
.mf-tagline { margin-top:18px !important; font-size:clamp(13px,.98vw,22px); font-weight:650; letter-spacing:-.03em; }
.mf-description { margin-top:clamp(23px,1.9vw,41px) !important; font-size:clamp(13px,.88vw,19px); line-height:1.42; letter-spacing:-.02em; }
.mf-column { min-width:0; translate:20px 0; }
.mebeles-footer .mf-title { font-size:clamp(16px,1.16vw,25px); font-weight:750; line-height:1.2; letter-spacing:-.04em; white-space:nowrap; }
.mf-title::after { content:""; display:block; width:clamp(32px,2.4vw,53px); height:4px; margin-top:12px; background:#ff6a00; }
.mf-column ul { list-style:none; display:grid; gap:7px; padding:0; margin:16px 0 0; }
.mf-column li { margin:0; padding:0; }
.mf-column a { display:inline-block; padding-block:1px; letter-spacing:-.025em; }
.mf-contacts { border-left:1px solid #837b74; padding-left:clamp(22px,2vw,44px); min-width:0; }
.mf-contact-row { display:flex; align-items:flex-start; gap:clamp(13px,1.2vw,26px); }
.mf-contact-row>img { width:clamp(30px,2.7vw,58px); height:auto; flex-shrink:0; }
.mf-phone-row { align-items:center; }
.mf-phones { display:grid; gap:1px; font-size:clamp(16px,1.17vw,26px); font-weight:750; line-height:1.35; white-space:nowrap; letter-spacing:-.025em; }
.mf-address { margin-top:21px; }
.mf-hours { margin-top:20px; }
.mf-address,.mf-hours { font-size:clamp(13px,1vw,22px); line-height:1.32; letter-spacing:-.025em; }
.mf-appointment { position:relative; display:inline-flex; text-align:center; align-items:center; justify-content:center; width:fit-content; min-width:max-content; max-width:100%; transform:translateX(30px); gap:8px; margin-top:clamp(22px,1.9vw,42px); min-height:44px; padding:10px 37px; border-radius:10px; background:linear-gradient(180deg,#ff8100,#fa5000); font-size:14px; font-weight:750; white-space:nowrap; letter-spacing:-.035em; transition:background .2s,box-shadow .2s; }
.mebeles-footer .mf-appointment:hover { color:white; background:linear-gradient(180deg,#ff9223,#ed4700); box-shadow:0 5px 22px #ff67002b; }
.mf-appointment img { position:absolute; right:10px; width:18px; height:auto; }
.mf-bottom { border-top:1px solid #625950; background:linear-gradient(105deg,#1c1916,#231e19); color:#aaa39c; }
.mf-bottom-grid { display:grid; grid-template-columns:1.65fr 1.55fr 1.55fr 1fr auto; align-items:center; gap:clamp(20px,2.8vw,60px); padding-block:16px; font-size:clamp(12px,.92vw,20px); }
.mf-copyright { line-height:1.45; letter-spacing:-.025em; }
.mebeles-footer .mf-legal { border-left:1px solid #c5bfb9; padding:3px 0 3px clamp(20px,3.5vw,76px); text-decoration:underline; text-underline-offset:4px; white-space:nowrap; }
.mf-back-top { display:flex; align-items:center; gap:16px; white-space:nowrap; }
.mf-back-top img { width:clamp(40px,2.8vw,62px); height:auto; }
@media (max-width:1650px) {
  .mf-grid { padding-right:5%; gap:20px; grid-template-columns:1.55fr 1.05fr 1.1fr 1fr 1.75fr; }
  .mf-contacts { padding-left:22px; }
  .mf-contact-row { gap:13px; }
  .mf-appointment { padding-inline:36px; gap:8px; }
  .mf-bottom-grid { gap:24px; }
  .mebeles-footer .mf-legal { padding-left:24px; }
}
@media (max-width:1350px) {
  .mf-grid { padding-right:0; gap:18px; grid-template-columns:1.5fr 1.05fr 1.1fr 1fr 1.75fr; }
  .mf-main { background-image:linear-gradient(90deg,transparent 50%,#1e1b18b8 100%),url('/assets/optimized/footer/footer-background-1920-f5d6dafc5d.webp'); }
  .mf-container { width:92%; }
  .mf-phones { font-size:16px; }
  .mf-appointment { font-size:14px; }
  .mf-contact-row { gap:9px; }
  .mf-contact-row>img { width:28px; }
  .mf-contacts { padding-left:18px; }
  .mf-title::after { margin-top:10px; height:3px; }
  .mf-bottom-grid { grid-template-columns:1.45fr 1.3fr 1.3fr .75fr auto; gap:18px; }
  .mebeles-footer .mf-legal { padding-left:18px; white-space:normal; }
  .mf-back-top { gap:10px; }
}
@media (max-width:1100px) {
  .mf-grid { grid-template-columns:1.45fr 1fr 1fr; gap:34px 30px; padding-block:35px; }
  .mf-brand { grid-column:1; grid-row:1 / 3; }
  .mf-company { grid-column:2 / -1; }
  .mf-company ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mf-contacts { grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr; gap:20px 30px; border-left:0; border-top:1px solid #645a50; padding:24px 0 0; }
  .mf-contacts .mf-address,.mf-contacts .mf-hours,.mf-contacts .mf-appointment { margin-top:0; }
  .mf-contacts .mf-appointment { align-self:end; max-width:330px; }
  .mf-phones { font-size:17px; }
  .mf-main { background-size:auto 100%; background-image:linear-gradient(90deg,#1e1b18cc,#1e1b18e6),url('/assets/optimized/footer/footer-background-1920-f5d6dafc5d.webp'); }
  .mf-bottom-grid { grid-template-columns:1fr 1fr 1fr; gap:16px 22px; padding-block:14px; }
  .mf-copyright { grid-column:1 / 3; }
  .mf-back-top { grid-column:3; grid-row:1; justify-self:end; }
  .mebeles-footer .mf-legal { border:0; padding:0; }
}
@media (max-width:700px) {
  .mf-main { background-image:linear-gradient(90deg,#1e1b18f2,#1e1b18ce),url('/assets/optimized/footer/footer-background-1920-f5d6dafc5d.webp'); background-size:auto,auto 500px; background-position:center,right bottom; }
  .mf-container { width:calc(100% - 40px); }
  .mf-grid { grid-template-columns:1fr 1fr; gap:30px 22px; padding-block:32px; }
  .mf-brand { grid-column:1 / -1; grid-row:auto; }
  .mf-logo { width:220px; }
  .mf-tagline { font-size:15px; margin-top:15px !important; }
  .mf-description { max-width:440px; font-size:13px; margin-top:18px !important; }
  .mebeles-footer .mf-title { font-size:17px; white-space:normal; }
  .mf-column ul { gap:8px; font-size:13px; margin-top:13px; }
  .mf-column { margin-right:20px; }
  .mf-company { grid-column:1 / -1; }
  .mf-contacts { grid-column:1 / -1; display:flex; flex-direction:column; gap:20px; padding-top:25px; border-top:1px solid #645a50; }
  .mf-contacts .mf-appointment { align-self:flex-start; max-width:100%; }
  .mf-contact-row { gap:16px; }
  .mf-contact-row>img { width:36px; }
  .mf-phones { font-size:20px; }
  .mf-address,.mf-hours { font-size:15px; }
  .mf-appointment { max-width:100%; min-height:44px; font-size:14px; margin-top:25px; }
  .mf-bottom-grid { grid-template-columns:1fr auto; gap:14px 21px; padding-block:14px; font-size:12px; }
  .mf-copyright { grid-column:1 / -1; }
  .mebeles-footer .mf-legal { grid-column:1 / -1; width:fit-content; }
  .mf-back-top { grid-column:2; grid-row:4; align-self:center; flex-direction:column; gap:6px; }
  .mf-back-top img { width:42px; }
  .mf-bottom-grid .mf-legal:nth-of-type(3) { grid-column:1; }
}
@media (max-width:359px) {
  .mf-container { width:calc(100% - 32px); }
  .mf-grid { gap:27px 16px; }
  .mebeles-footer .mf-title { font-size:16px; }
  .mf-column ul { font-size:13px; }
  .mf-phones { font-size:19px; }
}
@media (prefers-reduced-motion:reduce) { .mf-appointment { transition:none; } }
