.site-footer{
    background:#FFF8F1;
    padding:64px 0 24px;
    border-top:1px solid #F0DFDA;
}

.site-footer .container{
    max-width:1500px;
    margin:0 auto;
}

.footer-grid{
    display:grid;
    grid-template-columns:320px 260px 260px 200px 280px;
    gap:32px;
    align-items:start;
    justify-content:center;
}

.footer-logo-wrap{
    margin-bottom:22px;
}

.footer-title{
    margin:0;
    font-family:'Comfortaa', cursive;
    font-size:30px;
    font-weight:850;
    color:#5B3327;
    line-height:1;
    letter-spacing:-1px;
}

.footer-title span{
    color:#E9828F;
}

.footer-subtitle{
    margin-top:8px;
    color:#8A6A62;
    font-size:14px;
    font-weight:600;
}

.footer-brand p{
    color:#7A6A63;
    line-height:1.8;
    font-size:16px;
    max-width:310px;
    margin:0 0 24px;
}

.footer-col h4{
    color:#5B3327;
    margin:0 0 18px;
    font-size:19px;
    font-weight:800;
}

.footer-col a,
.footer-col > span{
    display:block;
    margin-bottom:13px;
    color:#7A6A63;
    text-decoration:none;
    line-height:1.5;
    font-size:16px;
}

.footer-col a:hover{
    color:#DF7F87;
}

/* PAYMENT BADGES */
.footer-payments-box{
    margin-top:20px;
    padding:12px 14px;
    border-radius:22px;
    background:rgba(255,255,255,.62);
    border:1px solid rgba(241,217,213,.9);
    box-shadow:0 10px 24px rgba(121,72,61,.045);
    max-width:310px;
}

.footer-payment-badges{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.footer-payment-badges span{
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:30px;
    padding:7px 11px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(241,217,213,.95);
    color:#7A6A63;
    font-size:13px;
    font-weight:700;
    line-height:1;
}

.footer-payment-badges i{
    color:#E9828F;
    font-size:15px;
    line-height:1;
}

/* CONTACTS */
.footer-contacts .footer-contact-link{
    display:flex !important;
    align-items:center;
    gap:13px;
    margin-bottom:18px;
    color:#7A6A63;
    text-decoration:none;
    font-size:16px;
}

.footer-contacts .footer-contact-link i{
    width:22px;
    min-width:22px;
    color:#E9828F !important;
    font-size:18px;
    line-height:1;
    text-align:center;
}

.footer-contacts .footer-contact-link span{
    color:#7A6A63;
    margin:0;
    font-size:16px;
    line-height:1.5;
}

/* SOCIAL ICONS */
.footer-social{
    display:flex;
    gap:12px;
}

.footer-social-contacts{
    margin-top:10px;
}

.footer-social a{
    width:44px;
    height:44px;
    border-radius:50%;
    background:#fff;
    border:1px solid #F0DFDA;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#E9828F;
    font-size:18px;
    transition:.25s ease;
}

.footer-social a:hover{
    background:#E9828F;
    color:#fff;
    transform:translateY(-2px);
}

/* VIBER SVG */
.footer-viber-icon{
    width:24px;
    height:24px;
    display:block;
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.footer-viber-icon path{
    fill:none !important;
    stroke:currentColor !important;
}

/* FOOTER BOTTOM */
.footer-bottom{
    margin-top:48px;
    padding-top:20px;
    border-top:1px solid #F0DFDA;
    text-align:center;
    color:#A69289;
    font-size:14px;
    line-height:1.5;
}

.footer-bottom .footer-made{
    margin-left:8px;
}

.footer-bottom .footer-heart{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:0 4px;
    color:#E9828F !important;
    font-size:13px;
    line-height:1;
    vertical-align:-1px;
}

.footer-bottom .footer-heart::before{
    line-height:1;
}

.footer-bottom a{
    color:inherit !important;
    font-weight:inherit !important;
    text-decoration:none;
    transition:color .2s ease;
}

.footer-bottom a:hover{
    color:#E9828F !important;
}

/* BACK TO TOP */
.back-to-top{
    position:fixed;
    right:22px;
    bottom:22px;
    z-index:999999;

    width:52px;
    height:52px;
    border:1.5px solid #F1CBC8;
    border-radius:18px;

    background:#FFF8F2;
    color:#E9828F;

    display:flex;
    align-items:center;
    justify-content:center;

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    cursor:pointer;
    transition:all .25s ease;
    box-shadow:0 12px 28px rgba(137,89,74,.14);
}

.back-to-top svg{
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:2.4;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.back-to-top.show{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
}

.back-to-top:hover{
    background:#FFF1EF;
    border-color:#E9828F;
    color:#D96F7C;
    transform:translateY(-3px);
    box-shadow:0 16px 34px rgba(233,130,143,.20);
}

/* TABLET */
@media screen and (max-width:991px){
    .footer-grid{
        grid-template-columns:1fr 1fr;
        gap:34px;
    }
}

/* MOBILE FOOTER */
@media (max-width:768px){

    .site-footer{
        padding:42px 0 24px;
        overflow-x:hidden;
    }

    .site-footer,
    .site-footer *{
        max-width:100%;
    }

    .site-footer .container{
        width:min(100% - 24px, 1180px);
        margin:0 auto;
    }

    .footer-grid{
        display:grid;
        grid-template-columns:1fr;
        gap:18px;
    }

    .footer-col{
        background:rgba(255,255,255,.58);
        border:1px solid rgba(241,217,213,.85);
        border-radius:24px;
        padding:22px 20px;
        text-align:center;
        box-shadow:0 10px 26px rgba(121,72,61,.045);
    }

    .footer-brand{
        text-align:center;
        padding:26px 22px;
        background:linear-gradient(180deg,#fff,#fff8f1);
    }

    .footer-logo-wrap{
        display:flex;
        flex-direction:column;
        align-items:center;
        margin-bottom:12px;
    }

    .footer-title{
        margin:0;
        font-size:28px;
        line-height:1.1;
        text-align:center;
    }

    .footer-subtitle{
        margin-top:6px;
        text-align:center;
        font-size:14px;
    }

    .footer-brand p{
        max-width:310px;
        margin:14px auto 0;
        font-size:15px;
        line-height:1.65;
        text-align:center;
    }

    .footer-payments-box{
        max-width:310px;
        margin:18px auto 0;
        text-align:center;
    }

    .footer-payment-badges{
        justify-content:center;
    }

    .footer-col h4{
        margin:0 0 14px;
        font-size:17px;
        text-align:center;
    }

    .footer-col a{
        width:100%;
        display:flex;
        align-items:center;
        justify-content:center;
        min-height:38px;
        padding:6px 8px;
        text-align:center;
        line-height:1.35;
    }

    .footer-contacts{
        text-align:center;
    }

    .footer-contact-link{
        display:flex !important;
        align-items:center;
        justify-content:center;
        gap:10px;
        width:100%;
        min-height:40px;
        padding:6px 8px;
        text-align:center;
        word-break:break-word;
    }

    .footer-contact-link i{
        flex:0 0 auto;
        font-size:16px;
    }

    .footer-contact-link span{
        min-width:0;
    }

    .footer-social{
        display:flex;
        justify-content:center;
        align-items:center;
        gap:12px;
        margin-top:18px;
        width:100%;
    }

    .footer-social a{
        width:44px;
        height:44px;
        min-height:44px;
        padding:0;
        border-radius:50%;
        display:flex !important;
        align-items:center;
        justify-content:center;
        background:#fff;
        border:1px solid rgba(241,217,213,.95);
        color:#DF7F87;
        box-shadow:0 8px 18px rgba(121,72,61,.07);
    }

    .footer-social a i{
        font-size:20px;
        line-height:1;
    }

    .footer-viber-icon{
        width:23px;
        height:23px;
        display:block;
        fill:none !important;
        stroke:currentColor !important;
        stroke-width:1.9;
        stroke-linecap:round;
        stroke-linejoin:round;
    }

    .footer-viber-icon path{
        fill:none !important;
        stroke:currentColor !important;
    }

    .footer-bottom{
        margin-top:22px;
        padding-top:18px;
        text-align:center;
        font-size:13px;
        line-height:1.5;
    }

    .footer-bottom .footer-made{
        display:block;
        margin-left:0;
        margin-top:6px;
    }

    .back-to-top{
        right:16px;
        bottom:16px;
        width:44px;
        height:44px;
        border-radius:16px;
    }

    .back-to-top svg{
        width:22px;
        height:22px;
    }
}

/* FOOTER PAYMENT BADGES - desktop clean, mobile boxed */
.footer-payments-box{
  margin-top:22px;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}

.footer-payment-badges{
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:nowrap;
}

.footer-payment-badges span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:34px;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(241,203,200,.78);
  color:#7A5A50;
  font-size:13px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 8px 18px rgba(137,89,74,.045);
}

.footer-payment-badges span i{
  font-size:15px;
  line-height:1;
  color:#E9828F;
}

/* Desktop only - remove the large outlined box */
@media(min-width:901px){
  .footer-payments-box{
    max-width:none;
  }

  .footer-payment-badges{
    justify-content:flex-start;
  }
}

/* Mobile - keep the soft outlined box, but badges on one row when possible */
@media(max-width:900px){
  .footer-payments-box{
    margin:24px auto 0;
    width:100%;
    max-width:310px;
    padding:16px 14px;
    border-radius:24px;
    background:rgba(255,255,255,.58);
    border:1px solid rgba(241,203,200,.85);
  }

  .footer-payment-badges{
    justify-content:center;
    gap:7px;
    flex-wrap:wrap;
  }

  .footer-payment-badges span{
    min-height:32px;
    padding:7px 11px;
    font-size:13px;
  }
}

/* Very small phones - prevent overflow */
@media(max-width:380px){
  .footer-payments-box{
    max-width:290px;
    padding:14px 10px;
  }

  .footer-payment-badges{
    gap:6px;
  }

  .footer-payment-badges span{
    padding:7px 9px;
    font-size:12px;
  }

  .footer-payment-badges span i{
    font-size:14px;
  }
}

/* Desktop - compact payment badges */
@media(min-width:901px){
  .footer-payments-box{
    margin-top:20px;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
  }

  .footer-payment-badges{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:nowrap;
  }

  .footer-payment-badges span{
    min-height:28px;
    padding:5px 9px;
    border-radius:999px;
    background:rgba(255,255,255,.38);
    border:1px solid rgba(241,203,200,.45);
    box-shadow:none;
    color:#7A5A50;
    font-size:12px;
    font-weight:800;
    line-height:1;
  }

  .footer-payment-badges span i{
    font-size:13px;
    color:#E9828F;
  }
}

/* Mobile - payment badges on one row */
@media(max-width:900px){
  .footer-payments-box{
    max-width:340px;
    padding:14px 10px;
  }

  .footer-payment-badges{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:6px;
    flex-wrap:nowrap;
  }

  .footer-payment-badges span{
    min-height:30px;
    padding:6px 8px;
    font-size:12px;
    white-space:nowrap;
    flex:0 0 auto;
  }

  .footer-payment-badges span i{
    font-size:13px;
  }
}

/* MOBILE - move the whole brand/payment card before copyright */
@media (max-width:768px){
  .site-footer .footer-grid{
    display:grid;
    grid-template-columns:1fr;
  }

  .site-footer .footer-grid .footer-brand{
    order:99 !important;
  }
}

/* =========================================
   LAPTOP FOOTER FIX
   ========================================= */

@media (min-width:992px) and (max-width:1366px){

  .site-footer{
    padding:52px 0 24px;
  }

  .site-footer .container{
    width:calc(100% - 40px);
    max-width:100%;
    margin:0 auto;
  }

  .footer-grid{
    grid-template-columns:
      minmax(220px, 1.25fr)
      minmax(150px, .9fr)
      minmax(150px, .9fr)
      minmax(130px, .75fr)
      minmax(210px, 1.1fr);

    gap:20px;
    width:100%;
    justify-content:stretch;
  }

  .footer-title{
    font-size:26px;
  }

  .footer-subtitle{
    font-size:13px;
  }

  .footer-brand p{
    font-size:14px;
    line-height:1.65;
  }

  .footer-col h4{
    font-size:17px;
  }

  .footer-col a,
  .footer-col > span{
    font-size:14px;
  }

  .footer-contacts .footer-contact-link,
  .footer-contacts .footer-contact-link span{
    font-size:14px;
  }

  .footer-contacts .footer-contact-link{
    gap:9px;
  }

  .footer-payment-badges{
    flex-wrap:wrap;
  }
}