/* ================================================================
   Footer + the delivery band above it (footer-content.php, and the
   editable `footer_html` setting that usually replaces it, which
   uses the same class names). Loaded by footer-v2.php after the
   page stylesheets, so these rules restyle the existing markup.
   ================================================================ */

/* ── Delivery band: a card with the pitch and the call on the left,
   the cities on the right; stacked on phones. ─────────────────── */
.delivery-banner {
  margin: 0; padding: 56px 0 0;
  background: #0B1410; border: 0; color: #fff; text-align: left;
}
.delivery-banner > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "top cities" "cta cities";
  align-items: start; column-gap: 56px; row-gap: 26px;
  padding-top: 40px; padding-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, .07); border-radius: 22px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(52, 210, 122, .16), transparent 60%),
    linear-gradient(135deg, #133524 0%, #0D2318 100%);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8);
}
.delivery-banner-top { grid-area: top; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 18px; margin: 0; text-align: left; }
.delivery-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background-color: rgba(52, 210, 122, .14);
  background-size: 28px 28px;
  box-shadow: inset 0 0 0 1px rgba(52, 210, 122, .28);
}
.delivery-banner-top strong { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.delivery-banner-top p { margin: 10px 0 0; max-width: 44ch; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .72); }

.delivery-cities {
  grid-area: cities;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  margin: 0;
}
.delivery-cities::before {
  content: "Delivering today to";
  grid-column: 1 / -1; margin-bottom: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7EE8A8;
}
.city-pill {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 11px 12px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04);
  font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none;
  color: rgba(255, 255, 255, .88) !important; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.city-pill::before {
  content: ""; flex: 0 0 auto; width: 14px; height: 14px; background: #34D27A;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7.5 7.5 0 0 0-7.5 7.5C4.5 15.1 12 22 12 22s7.5-6.9 7.5-12.5A7.5 7.5 0 0 0 12 2zm0 10.3a2.8 2.8 0 1 1 0-5.6 2.8 2.8 0 0 1 0 5.6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7.5 7.5 0 0 0-7.5 7.5C4.5 15.1 12 22 12 22s7.5-6.9 7.5-12.5A7.5 7.5 0 0 0 12 2zm0 10.3a2.8 2.8 0 1 1 0-5.6 2.8 2.8 0 0 1 0 5.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.city-pill:hover { background: rgba(52, 210, 122, .12); border-color: rgba(52, 210, 122, .45); color: #fff !important; }

.delivery-cta { grid-area: cta; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 14px 20px; }
.delivery-call-btn {
  gap: 10px; height: 52px; padding: 0 26px; border-radius: 12px;
  background: #34D27A; color: #06200F;
  font-size: 15.5px; font-weight: 800; letter-spacing: .01em; text-transform: none;
  box-shadow: 0 12px 26px -12px rgba(52, 210, 122, .7);
}
.delivery-call-btn:hover { background: #4BE08C; color: #06200F; transform: translateY(-1px); }
.delivery-hours {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, .72);
}
.delivery-hours::before {
  content: ""; width: 16px; height: 16px; background: #7EE8A8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5.2l3.2 2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5.2l3.2 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: #0B1410; color: #C9D1CC; padding: 56px 0 0; }
.site-footer .footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; padding-bottom: 48px; }
.footer-brand-col .footer-brand {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
  font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: #fff;
}
.footer-brand-col .footer-brand .logo-img { width: 48px !important; height: 48px !important; border-radius: 12px; flex: 0 0 auto; }
.footer-brand-accent { color: #34D27A; }
.footer-tagline { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: #fff; }
.footer-desc { margin: 0 0 22px; max-width: 40ch; font-size: 14.5px; line-height: 1.65; color: #98A39D; }
.footer-socials { gap: 10px; }
.social-link {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); color: #C9D1CC;
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background: #34D27A; border-color: #34D27A; color: #06200F; }

.site-footer .footer-col h4 {
  margin: 0 0 16px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7EE8A8;
}
.site-footer .footer-col a,
.site-footer .footer-contact-link { gap: 10px; padding: 6px 0; font-size: 15px; color: #C9D1CC; }
.site-footer .footer-col a:hover { color: #fff; }
.site-footer .footer-contact-link svg { color: #34D27A; opacity: 1; }
.site-footer .footer-col h4[style] { margin-top: 26px !important; }

.footer-payments { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.payment-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #E6ECE8;
  font-size: 13px; font-weight: 600;
}
.payment-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.payment-cod, .payment-etransfer { background: rgba(255, 255, 255, .04); color: #E6ECE8; }
.payment-cod::before { background: #34D27A; }
.payment-etransfer::before { background: #FFC21A; }

.site-footer .footer-bottom { padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: #7D8781; gap: 16px; }
.site-footer .footer-bottom > span a { color: #98A39D; text-decoration: none; }
.site-footer .footer-bottom > span a:hover { color: #fff; }
.footer-bottom-links a { color: #98A39D; font-size: 13.5px; }
.footer-bottom-links a:hover { color: #fff; }

/* ── Tablets ── */
@media (max-width: 1024px) {
  .site-footer .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 32px; }
}
@media (max-width: 900px) {
  .delivery-banner > .container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "top" "cities" "cta";
    padding-top: 32px; padding-bottom: 32px; row-gap: 24px;
  }
}
/* ── Phones ── */
@media (max-width: 768px) {
  .delivery-banner { padding-top: 40px; }
  .delivery-banner > .container { width: auto; margin-left: 16px; margin-right: 16px; padding-left: 20px; padding-right: 20px; border-radius: 18px; }
  .delivery-banner-top { flex-direction: row; align-items: flex-start; gap: 14px; }
  .delivery-icon { width: 44px; height: 44px; border-radius: 12px; background-size: 24px 24px; }
  .delivery-banner-top strong { font-size: 22px; }
  .delivery-banner-top p { font-size: 15px; }
  .delivery-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .city-pill { padding: 10px 11px; font-size: 14px; }
  .delivery-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .delivery-call-btn { justify-content: center; width: 100%; }
  .delivery-hours { justify-content: center; }

  .site-footer { padding-top: 44px; }
  .site-footer .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 32px; }
  .site-footer .footer-col a, .site-footer .footer-contact-link { font-size: 15px; padding: 7px 0; }
  .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .site-footer .footer-bottom-links { justify-content: flex-start; }
}
@media (max-width: 380px) {
  .delivery-banner > .container { margin-left: 12px; margin-right: 12px; padding-left: 16px; padding-right: 16px; }
  .delivery-banner-top { flex-direction: column; }
  .delivery-banner-top strong { font-size: 20px; }
  .city-pill { font-size: 13px; padding: 9px 10px; gap: 6px; }
  .footer-brand-col .footer-brand { font-size: 24px; }
}

/* The card sits inside the page with its own margins and inner padding. */
.delivery-banner > .container {
  box-sizing: border-box; width: auto;
  max-width: min(1320px, calc(100% - 48px)); margin-left: auto; margin-right: auto;
  padding: 44px 48px;
}
.footer-brand-name { white-space: nowrap; }
/* Contact lines: icon on the first line, long text (the hours note) wrapping beside it. */
.site-footer .footer-contact-link { align-items: flex-start; line-height: 1.55; }
.site-footer .footer-contact-link svg { margin-top: 4px; }
@media (max-width: 900px) {
  .delivery-banner > .container { padding: 32px 28px; }
}
@media (max-width: 768px) {
  .delivery-banner > .container { max-width: none; margin-left: 16px; margin-right: 16px; padding: 28px 20px; }
}
@media (max-width: 380px) {
  .delivery-banner > .container { margin-left: 12px; margin-right: 12px; padding: 24px 16px; }
}
/* Even line breaks: no lone word on the title's last line. */
.delivery-banner-top strong, .delivery-banner-top p { text-wrap: balance; }
