/* Footer modern red-white gradient theme (loaded last) */
.footer {
  position: relative;
  overflow: hidden;
background: linear-gradient(180deg, #7f1d1d 0%, #6b0f0f 70%, #7f1d1d 100%);
  color: #1f2937;
  border-top: 3px solid #7f1d1d;
}

/* subtle horizontal highlights */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,0.15), transparent 60%),
    repeating-linear-gradient(to right, rgba(255,255,255,0.06) 0 2px, transparent 2px 10px);
  pointer-events: none;
}

.footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* Card-like sections with alternating corner radii */
.footer .footer-section {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #fca5a5; /* light red */
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  color: #111111; /* black text inside cards */
}
.footer .footer-section:nth-child(1) { border-radius: 24px 12px 24px 8px; }
.footer .footer-section:nth-child(2) { border-radius: 8px 24px 12px 24px; }
.footer .footer-section:nth-child(3) { border-radius: 24px; }
.footer .footer-section:nth-child(4) { border-radius: 12px 8px 24px 24px; }

.footer .footer-section h3,
.footer .footer-section h4 {
  margin-top: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #fde2e2; /* very light red */
  font-weight: 800;
  color: #b91c1c; /* deep red headings */
}

.footer .footer-section ul { margin: 0; padding-left: 16px; }
.footer .footer-section ul li { margin: 6px 0; }
.footer .footer-section a { color: #111111; text-decoration: none; }
.footer .footer-section a:hover { color: #b91c1c; text-decoration: underline; }

/* Small cards inside footer (payment, shipping, trust) */
.footer .footer-payment,
.footer .footer-shipping,
.footer .footer-trust {
  margin-top: 20px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #fca5a5;
  border-radius: 16px;
  color: #111111; /* black text */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Quality badges in brand box */
.footer .quality-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer .quality-badges .badge {
  background: #ffffff;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  border-radius: 20px 8px 20px 8px; /* more horizontal pill-like */
  padding: 8px 12px;
}
.footer .quality-badges .badge i { color: #dc2626; }

.footer-bottom { border-top: 1px solid #fde2e2; margin-top: 20px; padding-top: 16px; }
.footer-bottom-content { text-align: center; color: #6b7280; }

/* Force dark text in all footer small blocks */
.footer .footer-section p,
.footer .footer-section li,
.footer .footer-shipping p,
.footer .footer-shipping span,
.footer .footer-trust p,
.footer .footer-trust span,
.footer .footer-payment .payment-item span,
.footer .footer-payment p,
.footer .shipping-partners .shipping-item span {
  color: #111111 !important;
}
/* Icon color accents */
.footer .shipping-partners .shipping-item i,
.footer .footer-trust .trust-item i,
.footer .footer-payment .payment-item i { color: #b91c1c; }

@media (max-width: 768px) {
  .footer .footer-content { grid-template-columns: 1fr; gap: 16px; }
}

