/* Responsive overrides for Urban Brand website */

/* Mobile navigation */
.navbar {
  position: sticky;
  z-index: 1000;
}

.nav-toggle {
  display: flex;
}

.nav-links {
  display: none;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  padding: 24px 20px;
  background: var(--color-surface);
  position: absolute;
  top: 80px;
  left: 0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border-top: 1px solid var(--color-border);
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-links .btn-action {
  width: 100%;
  justify-content: center;
}

/* Hero and sections */
.hero, .campaign-hero {
  padding-top: 90px;
}

.hero-grid, .campaign-hero-content, .feature-grid, .calculator-grid, .testimonial-grid {
  grid-template-columns: 1fr !important;
}

@media (max-width: 900px) {
  .product-grid, .portfolio-grid, .trust-bar {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .product-gallery {
    min-height: 260px;
  }
}

.product-hero-grid,
.product-media-panel,
.product-thumbs,
.section-product-summary .grid,
.reviews-grid,
.cross-sell-grid,
.footer-grid,
.calculator-grid {
  grid-template-columns: 1fr !important;
}

.product-thumbs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.thumb-item {
  min-height: 90px;
}

.product-conversion-panel,
.spec-card,
.review-card,
.product-card,
.calculator-panel,
.calculator-summary {
  padding: 22px !important;
}

.mobile-sticky-cta {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 20px;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  z-index: 1200;
}

.mobile-sticky-cta .btn {
  flex: 1;
}

.top-bar-inner {
  flex-direction: column;
  align-items: stretch;
}

.section {
  padding: 80px 0;
}

.section-mini {
  padding: 24px 0;
}

.badge-row {
  justify-content: flex-start;
}

/* General touch improvements */
button, .btn {
  touch-action: manipulation;
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero-copy h1, .campaign-hero h1 {
    font-size: 2.4rem;
  }

  .product-card-content, .card, .panel-card, .calculator-panel, .calculator-summary {
    padding: 22px;
  }

  .category-menu {
    justify-content: center;
  }
}
