/* Shared site footer — index + legal pages */
:root {
  --footer-max: 1160px;
  --footer-rust-deep: #962e00;
  --footer-ink-2: #3d2010;
  --footer-rust-pale: #fdf0e8;
  --footer-rust-tint2: #f8d1b8;
  --footer-rust-light: #f07840;
  --footer-orange-light: #ff7a35;
}

.ui-icon {
  width: 1em;
  height: 1em;
  display: block;
  flex-shrink: 0;
}
.ui-icon--fill { fill: currentColor; }
.ui-icon--stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-store-icon {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
  flex-shrink: 0;
}
.social-link .ui-icon { width: 16px; height: 16px; }
.social-link .brand-store-icon { width: 16px; height: 16px; }

.footer {
  background: linear-gradient(168deg, var(--footer-rust-deep) 0%, #7a2800 48%, var(--footer-ink-2) 100%);
  color: rgba(253, 240, 232, 0.88);
  padding: 36px 20px 16px;
  border-top: 1px solid rgba(252, 86, 3, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 122, 53, 0.12);
}
.footer-grid {
  max-width: var(--footer-max);
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 22px 20px;
  align-items: start;
}
.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.footer-brand-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 0;
  line-height: 0;
  flex-shrink: 0;
}
.footer-brand-logo img {
  width: 72px;
  height: 72px;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.footer-brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.94rem;
  color: #fff;
  margin-bottom: 0;
  font-weight: 700;
  line-height: 1.25;
}
.footer-brand-desc {
  font-size: 0.78rem;
  line-height: 1.45;
  max-width: 280px;
  color: rgba(253, 240, 232, 0.76);
  margin: 0 0 10px;
}
.footer-brand-desc-telugu {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(253, 240, 232, 0.92);
  margin-bottom: 4px;
  line-height: 1.35;
}
.footer-secure-pay {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: none;
}
.footer-secure-pay-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 209, 184, 0.72);
  line-height: 1;
}
.footer-subhead {
  color: var(--footer-rust-pale);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 18px 0 8px;
  font-family: 'Poppins', sans-serif;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.social-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(252, 86, 3, 0.14);
  border: 1px solid rgba(255, 122, 53, 0.32);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}
.social-link:hover {
  background: rgba(252, 86, 3, 0.28);
  border-color: var(--footer-orange-light);
  text-decoration: none;
}
.footer-instagram-qr {
  display: block;
  width: 88px;
  height: 88px;
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  line-height: 0;
}
.footer-instagram-qr:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  text-decoration: none;
}
.footer-instagram-qr img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 8%;
  transform: scale(1.15);
  transform-origin: center 12%;
}
.footer-secure-pay-label .ui-icon {
  width: 12px;
  height: 12px;
  color: var(--footer-rust-light);
  flex-shrink: 0;
}
.footer-razorpay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 3px 10px 4px;
  background: var(--footer-rust-pale);
  border-radius: 7px;
  border: 1px solid var(--footer-rust-tint2);
  box-shadow: 0 3px 10px rgba(100, 30, 5, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 0;
  text-decoration: none;
}
.footer-razorpay-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(100, 30, 5, 0.24);
  text-decoration: none;
}
.footer-razorpay-logo {
  height: 26px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
}
.footer-col h4 {
  color: var(--footer-rust-pale);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
}
.footer-col a {
  font-size: 0.8rem;
  color: rgba(253, 240, 232, 0.82);
  line-height: 1.35;
  transition: color 0.2s;
  text-decoration: none;
  font-weight: 500;
}
.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-meta {
  display: block;
  font-size: 0.78rem;
  color: rgba(253, 240, 232, 0.62);
  line-height: 1.35;
  font-weight: 400;
}
.footer-bottom {
  max-width: var(--footer-max);
  margin: 0 auto;
  padding-top: 12px;
  border-top: 1px solid rgba(252, 86, 3, 0.2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 16px;
  font-size: 0.72rem;
  color: rgba(248, 209, 184, 0.68);
  font-family: 'Poppins', sans-serif;
}
.footer-bottom p {
  margin: 0;
  line-height: 1.35;
}
.footer-visitor {
  flex-basis: 100%;
  width: 100%;
  text-align: center;
  margin-top: 6px;
  font-size: 0.72rem;
  color: rgba(248, 209, 184, 0.68);
}
.footer-visitor strong {
  color: rgba(253, 240, 232, 0.9);
  font-weight: 600;
}

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
