/* Compact footer shared across every Kurex subpage. */
.footer.home-footer {
  position: relative;
  z-index: 2;
  margin-top: 72px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #121212;
}

.home-footer-payments {
  min-height: 68px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  color: #858585;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1;
}

.home-footer-payments strong {
  color: #a8a8a8;
  font-weight: 800;
}

.home-footer-paypal {
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.06em;
}

.home-footer-divider {
  width: 1px;
  height: 20px;
  background: #555;
}

.home-footer-main {
  width: min(1280px, calc(100% - 32px));
  min-height: 84px;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #8f8f8f;
  font-size: 0.86rem;
}

.home-footer-copy,
.home-footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.home-footer-name {
  color: #e7e7e7;
  font-weight: 700;
}

.home-footer-legal a {
  color: #b5b5b5;
  transition: color 160ms ease;
}

.home-footer-legal a:hover {
  color: #fff;
}

@media (max-width: 680px) {
  .footer.home-footer { margin-top: 48px; }

  .home-footer-payments {
    gap: 14px;
    font-size: 0.82rem;
  }

  .home-footer-paypal { font-size: 1.05rem; }

  .home-footer-main,
  .home-footer-copy,
  .home-footer-legal {
    justify-content: center;
    text-align: center;
  }

  .home-footer-main {
    flex-direction: column;
    gap: 14px;
  }
}

/* Shared compact cart control for subpage navigation. */
.nav-cta .cart-link {
  width: auto;
  min-width: 64px;
  height: 42px;
  min-height: 42px;
  padding: 0 9px 0 11px;
  gap: 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  color: #ededed;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.nav-cta .cart-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

.nav-cta .cart-link .cart-badge {
  width: 22px;
  min-width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #dedede;
  color: #111;
  box-shadow: none;
  font-family: 'Kanit', 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
}

.nav-cta .cart-link:hover,
.nav-cta .cart-link.active {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.065);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.nav-cta .cart-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .nav-cta .cart-link {
    min-width: 58px;
    height: 40px;
    min-height: 40px;
    padding: 0 8px 0 10px;
    gap: 7px !important;
  }

  .nav-cta .cart-link .cart-badge {
    width: 20px;
    min-width: 20px;
    height: 20px;
    font-size: 0.66rem;
  }
}
