:root {
  --footer-bg: #0f172a;
  --footer-text: #94a3b8;
  --footer-title: #f8fafc;
  --footer-border: #1e293b;
  --footer-accent: #3b82f6;
  --footer-accent-glow: rgba(59, 130, 246, 0.1);
}

.premium-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  font-family: var(--font-override, 'Outfit', sans-serif);
  border-top: 1px solid var(--footer-border);
  margin-top: 4rem;
}

/* Featured Section - Light background & Bento Grid */
.footer-featured-wrapper {
  background: var(--bg-tertiary, #f0f0f4);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
}
.footer-featured-title {
  color: var(--text-primary, #111114);
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Compact Grid Styles (Instagram Style) */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.75rem;
}
@media (max-width: 992px) {
  .compact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 576px) {
  .compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.compact-card {
  background: var(--bg-secondary, #ffffff);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.01);
  position: relative;
  container-type: inline-size;
}
.compact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.04);
}
.compact-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.compact-img-wrap img {
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.compact-card:hover .compact-img-wrap img {
  transform: scale(1.04);
}
.compact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  padding: 0.25rem;
  box-sizing: border-box;
}
.compact-card:hover .compact-overlay {
  opacity: 1;
}
.compact-overlay-btn {
  font-size: clamp(0.5rem, 7.5cqw, 0.82rem);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  padding: 0.25rem;
  transition: transform 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}
.compact-card:hover .compact-overlay-btn {
  transform: scale(1.05);
}
.footer-item-card {
  flex: 1 1 150px;
  max-width: 250px;
  background: #0f172a;
  border: 1px solid var(--footer-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.footer-item-card:hover {
  transform: translateY(-5px);
  border-color: var(--footer-accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.footer-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 90%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Main Links & Info section */
.footer-links-wrapper {
  padding: 4rem 0 3rem 0;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 2fr;
  gap: 3rem;
}
@media (max-width: 992px) {
  .footer-links-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 576px) {
  .footer-links-wrapper {
    grid-template-columns: 1fr;
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-col-title {
  color: var(--footer-title);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  min-height: 36px;
  display: flex;
  align-items: center;
}
.footer-col-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col-links a:hover {
  color: var(--footer-title);
}

/* Newsletter styling */
.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.footer-newsletter-input {
  background: #1e293b;
  border: 1px solid var(--footer-border);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  color: white;
  font-size: 0.9rem;
  flex: 1;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.footer-newsletter-input:focus {
  border-color: var(--footer-accent);
}
.footer-newsletter-btn {
  background: var(--footer-accent);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}
.footer-newsletter-btn:hover {
  background-color: #2563eb;
}

/* Bottom bar */
.footer-bottom-bar {
  border-top: 1px solid var(--footer-border);
  padding: 1.5rem 0;
  background: #0b0f19;
}
.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-payment-badges {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
