/* =============================================================================
   FOOTER
   ============================================================================= */

.store-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-sand);
}

.store-footer__main {
  padding-top: var(--space-10);
  padding-bottom: var(--space-8);
}

.store-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .store-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .store-footer__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-7);
  }
}

.store-footer__col-title {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: var(--space-5);
}

.store-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.store-footer__link {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-light);
  color: var(--color-gray);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.store-footer__link:hover {
  color: var(--color-gold);
}

.store-footer__link:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Newsletter form inside footer */
.store-footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.store-footer__newsletter-input {
  border-bottom-color: var(--color-gray);
  color: var(--color-charcoal);
}

.store-footer__newsletter-input:focus {
  border-bottom-color: var(--color-black);
}

.store-footer__bottom {
  border-top: 1px solid var(--color-sand);
  padding-top: var(--space-5);
  padding-bottom: max(var(--space-5), env(safe-area-inset-bottom));
}

.store-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

@media (min-width: 768px) {
  .store-footer__bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    align-items: center;
    text-align: left;
  }

  .store-footer__social {
    justify-content: flex-end;
  }
}

/* Language switcher button in footer bottom bar */
.store-footer__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  min-height: 44px;
  color: var(--color-gray);
  transition: color var(--duration-fast) var(--ease-default);
}

.store-footer__lang-btn:hover {
  color: var(--color-gray) !important;
  background-color: transparent !important;
}

.store-footer__lang-btn:focus {
  outline: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}


.store-footer__lang-btn:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.store-footer__lang-flag {
  display: block;
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.store-footer__lang-code {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Currency badge appended to footer lang button: FLAG SR | RSD */
.store-footer__lang-sep {
  font-size: 0.45rem;
  opacity: 0.35;
  margin: 0 var(--space-1);
  font-weight: 400;
  line-height: 1;
}

.store-footer__lang-currency {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.store-footer__copyright {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-gray);
  margin: 0;
}

.store-footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.store-footer__social-link {
  color: var(--color-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  transition: color var(--duration-fast) var(--ease-default);
}

.store-footer__social-link:hover {
  color: var(--color-gold);
}

.store-footer__social-link:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* =============================================================================
   USP STRIP IN FOOTER
   Reuses .store-usp-section / .store-usp-grid from homepage.css.
   Override only what differs in the footer context.
   ============================================================================= */

/* Reduce the full section-gap padding to something compact for the footer */
.store-footer .store-usp-section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

/* =============================================================================
   BRAND DESCRIPTION & TRUST LINE
   ============================================================================= */

.store-footer__brand-desc {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-gray);
  line-height: var(--leading-body);
  margin: 0;
}

.store-footer__trust-line {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-gold);
  letter-spacing: 0.06em;
  margin-top: var(--space-4);
  margin-bottom: 0;
}

/* =============================================================================
   NEWSLETTER FORM LABELS
   ============================================================================= */

.store-footer__newsletter-subtext {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-gray);
  margin-top: 0;
  margin-bottom: var(--space-4);
}

.store-footer__newsletter-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray);
  display: block;
  margin-bottom: var(--space-2);
}

/* =============================================================================
   LEGAL LINKS (BOTTOM BAR)
   ============================================================================= */

.store-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1) var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Reduce visual weight inside the bottom bar — touch area preserved via min-height */
.store-footer__legal .store-footer__link {
  font-size: var(--text-xs);
}

/* =============================================================================
   PAYMENT ICONS (BOTTOM BAR)
   ============================================================================= */

.store-footer__payment {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
}

.store-footer__payment-icon {
  height: 28px !important; /* override Astra: .woocommerce img, .woocommerce-page img { height: auto } */
  width: auto;
  max-width: 56px;
  object-fit: contain;
  opacity: 1;
  color: var(--color-black);
  box-shadow: none !important; /* override Astra: .ast-article-single img { box-shadow } */
  background: transparent !important; /* override Astra: same rule adds background */
}
