/* Add custom CSS styles below */

/* ===== Footer: Click-style layout (logo column on the right) ===== */
/* --- All screen sizes --- */
.ronaq-store-footer .store-footer__inner > .container > div {
  grid-column: auto !important;
  text-align: start !important;
}
.ronaq-store-footer .store-footer__inner > .container > div *,
.ronaq-store-footer .s-social-list,
.ronaq-store-footer .s-menu-footer-list {
  justify-content: flex-start !important;
  text-align: start !important;
}
/* empty 4th column */
.ronaq-store-footer .store-footer__inner > .container > div:nth-child(4) { display: none !important; }
/* 1) Brand column: logo, register, tax, social */
.ronaq-store-footer .store-footer__inner > .container > div:nth-child(2) {
  order: 1;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
/* 2) Important links */
.ronaq-store-footer .store-footer__inner > .container > div:nth-child(1) { order: 2; }
/* 3) Contact us */
.ronaq-store-footer .store-footer__inner > .container > div:nth-child(3) { order: 3; }
.ronaq-store-footer .store-footer__inner > .container > div:nth-child(2) > a { order: 1; margin: 0 !important; }
.ronaq-store-footer .store-footer__inner > .container > div:nth-child(2) > div.flex { order: 2; }
.ronaq-store-footer .store-footer__inner > .container > div:nth-child(2) > div.block { order: 3; }
.ronaq-store-footer .store-footer__inner > .container > div:nth-child(2) salla-social { margin-bottom: 0 !important; }
.ronaq-store-footer .store-footer__inner > .container > div:nth-child(2) > div.flex {
  flex-direction: column;
  align-items: flex-start !important;
  gap: 10px !important;
}

/* --- Mobile: stacked, separated by horizontal lines --- */
@media (max-width: 767px) {
  .ronaq-store-footer .store-footer__inner > .container > div {
    padding: 1.5rem 0 !important;
    border: 0 !important;
  }
  .ronaq-store-footer .store-footer__inner > .container > div:nth-child(2),
  .ronaq-store-footer .store-footer__inner > .container > div:nth-child(1) {
    border-bottom: 1px solid #00000026 !important;
  }
}

/* --- Tablet / desktop: three equal columns --- */
@media (min-width: 768px) {
  .ronaq-store-footer .store-footer__inner > .container {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 0 !important;
    align-items: stretch;
  }
  .ronaq-store-footer .store-footer__inner > .container > div {
    padding-top: 0 !important;
    padding-bottom: 2.5rem !important;
    padding-inline: 3rem !important;
    border: 0 !important;
  }
  .ronaq-store-footer .store-footer__inner > .container > div:nth-child(2) { padding-inline-start: 0 !important; }
  .ronaq-store-footer .store-footer__inner > .container > div:nth-child(2),
  .ronaq-store-footer .store-footer__inner > .container > div:nth-child(1) {
    border-inline-end: 1px solid #00000026 !important;
  }
}

/* Commercial register as a cream card */
.ronaq-store-footer salla-trust-badges {
  background: #F9F3EE;
  border-radius: 12px;
  padding: 8px 14px;
}