/* 100 Rose BD — Footer (UPDATED) */
:root{
  --c-red:#D32F2F; --c-pink:#F8BBD0; --c-rose:#B76E79;
  --c-white:#FFFFFF; --c-soft:#F2F2F2; --c-charcoal:#212121;
}

.hr-footer{ background:#fff; margin-top:32px; }

/* top block */
.hrf-top{
  background:#f7f9fa;
  border-radius:var(--hrf-radius,20px);
  margin:0 auto;
  max-width:1240px;
  padding:22px 16px;
}
.hrf-inner{ max-width:1208px; margin:0 auto; }

.hrf-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr) 1.3fr; /* 3 menus + brand */
  gap:28px;
  align-items:start;
}

.hrf-menu .hrf-list{ list-style:none; margin:0; padding:0; }
.hrf-menu .hrf-list li{ margin:10px 0; }
.hrf-menu .hrf-list a{
  text-decoration:none; color:#333;
  font-family:"Open Sans", Arial, sans-serif; font-size:14px;
}
.hrf-menu .hrf-list a:hover{ color:var(--c-red); }

/* brand/address/social */
.hrf-brand{ display:flex; flex-direction:column; gap:12px; }
.hrf-logo .custom-logo{ max-height:40px; width:auto; }
.hrf-logo .site-name{
  font-family:Montserrat,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight:800; color:var(--c-charcoal); text-decoration:none; font-size:20px;
}

.hrf-address{
  font-style:normal; color:#555; font-size:14px; line-height:1.6;
  font-family:"Open Sans", Arial, sans-serif;
}

.hrf-social{ display:flex; gap:10px; margin-top:2px; flex-wrap:wrap; }
.hrf-social .icon{
  width:40px; height:40px; border-radius:50%;
  background:#fff; display:flex; align-items:center; justify-content:center;
  color:#222; text-decoration:none;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
.hrf-social .icon:hover{ color:var(--c-red); }

/* bottom bar */
.hrf-bottom{ border-top:1px solid #eee; margin-top:16px; }
.hrf-bottom-inner{
  max-width:1240px; margin:0 auto; padding:12px 16px;
  display:flex; align-items:center; justify-content:center;
}
.hrf-copy{ font-family:"Open Sans", Arial, sans-serif; font-size:13px; color:#666; text-align:center; }

/* ===== Tablet ===== */
@media (max-width:900px){
  .hrf-grid{ grid-template-columns:repeat(2,1fr); gap:22px; }
  .hrf-brand{ grid-column:1 / -1; } /* brand below menus */
}

/* ===== Mobile ===== */
@media (max-width:640px){
  .hrf-top{ padding:18px 12px; border-radius:16px; }
  .hrf-menu .hrf-list a{ font-size:13.5px; }
  .hrf-social .icon{ width:36px; height:36px; }
  .hrf-bottom-inner{ padding:10px 12px; }

  /* Hide only the 3rd footer menu on mobile */
  .hrf-grid > .hrf-menu:nth-of-type(3){
    display:none !important;
  }

  /* Brand block full width & centered */
  .hrf-brand{
    grid-column:1 / -1 !important;
    display:flex !important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:10px;
    order:5; /* নিশ্চিতভাবে মেনুগুলোর পরে আসে */
  }

  /* Logo centered */
  .hrf-logo, .hrf-logo .custom-logo, .hrf-logo .site-name{
    display:block;
    margin-left:auto; margin-right:auto;
  }

  /* Address — force visible & readable */
  .hrf-address{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    margin:4px 0 6px;
    color:#444 !important;
    font-size:13.5px;
    line-height:1.6;
    max-width:28rem;
    white-space:pre-line; /* keep Customizer newlines */
  }

  /* Social centered */
  .hrf-social{ justify-content:center; gap:8px; }
}
