/* ============================================================
   Molla Footer Variant
   ============================================================ */

/* ── Newsletter strip ── */
.molla-footer-newsletter {
  background: var(--molla-dark, #222);
  border-top: 1px solid #333;
  padding: 40px 0;
}
.molla-fn-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.molla-fn-text { flex: 0 0 auto; max-width: 420px; }
.molla-fn-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.molla-fn-desc  { font-size: 13px; color: #999; margin: 0; }

.molla-fn-form  { flex: 1; min-width: 260px; max-width: 480px; }
.molla-fn-group .molla-fn-input {
  background: #333; border: 1px solid #444; border-right: none;
  color: #fff; height: 46px; font-size: 13px; border-radius: 0;
}
.molla-fn-group .molla-fn-input::placeholder { color: #777; }
.molla-fn-group .molla-fn-input:focus { background: #3a3a3a; border-color: #555; box-shadow: none; color: #fff; }
.molla-fn-group .molla-fn-btn {
  height: 46px; padding: 0 24px; background: var(--molla-accent, #c96);
  border: none; color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; border-radius: 0;
  transition: background .2s; white-space: nowrap;
}
.molla-fn-group .molla-fn-btn:hover { background: #b58851; color: #fff; }

/* ── Main footer body ── */
.molla-footer {
  background: #1d1d1b;
  color: #999;
  font-size: 13px;
}
.molla-footer-main { padding: 56px 0 40px; }

.molla-footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

/* About col */
.molla-footer-logo {
  display: inline-block; margin-bottom: 16px;
  font-size: 20px; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: 1px;
}
.molla-footer-about { color: #777; line-height: 1.8; margin-bottom: 20px; font-size: 13px; }

/* Social icons */
.molla-footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.molla-footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid #333; color: #777; font-size: 15px;
  text-decoration: none; transition: border-color .2s, color .2s, background .2s;
}
.molla-footer-social a:hover { border-color: var(--molla-accent, #c96); color: var(--molla-accent, #c96); }

/* Column titles */
.molla-footer-col-title {
  font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid #333;
  cursor: default;
}

/* Links */
.molla-footer-links { list-style: none; padding: 0; margin: 0; }
.molla-footer-links li { margin-bottom: 10px; }
.molla-footer-links a {
  color: #777; text-decoration: none; font-size: 13px;
  transition: color .2s; display: inline-flex; align-items: center; gap: 6px;
}
.molla-footer-links a::before {
  content: ''; display: inline-block;
  width: 6px; height: 1px; background: #555;
  transition: width .2s, background .2s;
}
.molla-footer-links a:hover { color: var(--molla-accent, #c96); }
.molla-footer-links a:hover::before { width: 10px; background: var(--molla-accent, #c96); }

/* Contact items */
.molla-footer-contact {
  display: flex; align-items: center; gap: 10px;
  color: #777; font-size: 13px; margin-bottom: 8px;
}
.molla-footer-contact i { color: var(--molla-accent, #c96); font-size: 14px; flex-shrink: 0; }
.molla-footer-contact a { color: #777; text-decoration: none; transition: color .2s; }
.molla-footer-contact a:hover { color: #fff; }

/* ── Bottom bar ── */
.molla-footer-bottom {
  border-top: 1px solid #2e2e2c;
  padding: 20px 0;
}
.molla-footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.molla-footer-copy { color: #555; font-size: 12px; }
.molla-footer-copy a { color: #555; text-decoration: none; }
.molla-footer-copy a:hover { color: var(--molla-accent, #c96); }
.molla-footer-payment { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.molla-footer-payment img { height: 26px; width: auto; opacity: .6; filter: grayscale(1); transition: opacity .2s; }
.molla-footer-payment img:hover { opacity: 1; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .molla-fn-inner { flex-direction: column; align-items: flex-start; }
  .molla-fn-form  { width: 100%; max-width: 100%; }
  .molla-footer-cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

@media (max-width: 767px) {
  .molla-footer-cols { grid-template-columns: 1fr; gap: 0; }
  .molla-footer-col { border-bottom: 1px solid #2e2e2c; padding-bottom: 0; }
  .molla-footer-col--about { padding-bottom: 24px; border-bottom: 1px solid #2e2e2c; }
  .molla-footer-col-title {
    cursor: pointer; margin-bottom: 0; display: flex;
    justify-content: space-between; align-items: center;
    padding: 16px 0; border-bottom: 1px solid #2e2e2c;
  }
  .molla-footer-col-title::after {
    content: '\002B'; font-size: 16px; color: #555; font-weight: 400;
    transition: transform .2s;
  }
  .molla-footer-col-title.open::after { content: '\2212'; }
  .molla-footer-links,
  .molla-footer-links + div { display: none; padding: 12px 0; }
  .molla-footer-col--about .molla-footer-links { display: block; }
  .molla-footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
}
