/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #cc0000;
  --red-dark: #a00000;
  --red-light: #e60000;
  --dark: #1a1a1a;
  --dark-2: #333333;
  --gray: #666666;
  --gray-light: #999999;
  --border: #d8d8d8;
  --bg-light: #f5f5f5;
  --bg-lighter: #fafafa;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark-2);
  background: var(--white);
}

/* Bloqueia scroll horizontal sem quebrar position:fixed */
body > *:not(.sidebar-overlay):not(.sidebar-menu) {
  max-width: 100vw;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TOP HEADER ROW (White bar with logo, SAC, frete) ===== */
.top-header {
  background: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.top-header-center {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sac-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--dark-2);
}

.sac-link strong {
  color: var(--red);
}

.track-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--dark-2);
  transition: color var(--transition);
}

.track-link:hover {
  color: var(--red);
}

.frete-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.frete-badge svg {
  flex-shrink: 0;
}

.frete-badge strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.frete-badge a {
  font-size: 12px;
  color: #0066cc;
  text-decoration: none;
}

.frete-badge a:hover {
  text-decoration: underline;
}

/* ===== NAV BAR (Red PRODUTOS + Dark PROMOÇÕES + Search + Cart) ===== */
.nav-bar {
  background: var(--dark-2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-bar-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 44px;
}

.nav-produtos {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: background var(--transition);
}

.nav-produtos:hover {
  background: var(--red-dark);
}

.nav-produtos svg {
  flex-shrink: 0;
}

.nav-promo-link {
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: background var(--transition);
}

.nav-promo-link:hover {
  background: #444;
}

.nav-search {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 2px 0 0;
}

.nav-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.nav-search-input {
  flex: 1;
  height: 100%;
  border: none;
  padding: 0 16px;
  font-size: 14px;
  color: var(--dark-2);
  background: #e8e8e8;
  outline: none;
  font-family: inherit;
}

.nav-search-input::placeholder {
  color: var(--gray);
}

.nav-search-input:focus {
  background: #fff;
}

.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 100%;
  background: #e8e8e8;
  border: none;
  border-left: 1px solid #ccc;
  cursor: pointer;
  color: var(--dark-2);
  transition: all var(--transition);
}

.nav-search-btn:hover {
  color: var(--red);
}

.nav-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  background: var(--dark-2);
  color: var(--white);
  border: none;
  border-left: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: background var(--transition);
}

.nav-cart:hover {
  background: #444;
}

.nav-cart svg {
  flex-shrink: 0;
}

.nav-cart-count {
  font-size: 14px;
  font-weight: 700;
}

.nav-cart-arrow {
  font-size: 11px;
  margin-left: 2px;
}

/* Legacy support - hide old elements if still in DOM */
.utility-bar { display: none; }
.main-header { display: none; }
.header-actions { display: none; }
.search-overlay { display: none; }
.mobile-toggle { display: none; }

/* ===== HERO CAROUSEL ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100vw; /* largura fixa = viewport, sem ambiguidade */
  max-width: 100vw;
  display: block;
  line-height: 0;
  overflow: hidden; /* garante que imagem nao vaze para o lado */
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== BANNER IMAGE ===== */
.carousel-slide .banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: fill;
}

/* Mobile ≤780px: imagem ocupa altura natural, sem qualquer recorte */
@media (max-width: 780px) {
  .hero-carousel .carousel-track,
  .carousel-slide {
    height: auto !important;
    min-height: unset !important;
  }

  .carousel-slide .banner-img {
    width: 100% !important;
    height: auto !important;
    object-fit: fill !important;
  }

  /* Dots ancorados ao final real da imagem */
  .carousel-dots {
    bottom: 10px;
    gap: 7px;
  }
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
  .carousel-dot.active {
    width: 22px;
  }

  /* Setas menores */
  .carousel-arrow {
    width: 36px;
    height: 36px;
  }
  .carousel-arrow svg {
    width: 20px;
    height: 20px;
  }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
}

/* Arrow Controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 10;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-50%) scale(1.08);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  transition: all var(--transition);
  cursor: pointer;
}

.carousel-dot:hover {
  background: rgba(255,255,255,0.7);
}

.carousel-dot.active {
  background: var(--red);
  border-color: var(--white);
  width: 32px;
  border-radius: 6px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--bg-light);
}

.btn-add-cart {
  width: 100%;
  padding: 10px 20px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  transition: all var(--transition);
}

.btn-add-cart:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-header .section-title {
  margin-bottom: 0;
  text-align: left;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  transition: opacity var(--transition);
}

.section-link:hover { opacity: 0.8; }

/* ===== CATEGORIES ===== */
.categories {
  padding: 64px 0;
  background: var(--bg-lighter);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.category-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.category-icon {
  margin-bottom: 14px;
}

.category-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.category-card p {
  font-size: 12px;
  color: var(--gray-light);
}

/* ===== PRODUCTS ===== */
.featured-products {
  padding: 64px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-badge.sale {
  background: #e65100;
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  z-index: 2;
  transition: all var(--transition);
}

.wishlist-btn:hover {
  color: var(--red);
  box-shadow: var(--shadow-md);
}

.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg-lighter);
  min-height: 200px;
  transition: background var(--transition);
}

.product-card:hover .product-image {
  background: var(--bg-light);
}

.product-info {
  padding: 16px;
}

.product-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-light);
  font-weight: 600;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  margin: 6px 0;
  line-height: 1.3;
}

.product-name a { color: var(--dark); }
.product-name a:hover { color: var(--red); }

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  width: 14px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.star::before {
  content: '\2605';
  font-size: 14px;
  color: #ddd;
}

.star.filled::before { color: #f5a623; }

.star.half::before {
  color: #f5a623;
  background: linear-gradient(90deg, #f5a623 50%, #ddd 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rating-count {
  font-size: 12px;
  color: var(--gray-light);
}

.product-pricing {
  margin-bottom: 12px;
}

.price-old {
  display: block;
  font-size: 13px;
  color: var(--gray-light);
  text-decoration: line-through;
}

.price-current {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
}

.price-installments {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
  padding: 0 0 64px;
}

.promo-content {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 56px;
  color: var(--white);
}

.promo-text {
  max-width: 500px;
}

.promo-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.promo-text h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.promo-text p {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 64px 0;
  background: var(--bg-lighter);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: rgba(204, 0, 0, 0.06);
  border-radius: 50%;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== CONTENT SECTION ===== */
.content-section {
  padding: 80px 0;
}

.content-split {
  display: flex;
  align-items: center;
  gap: 60px;
}

.content-text {
  flex: 1;
}

.content-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 12px;
}

.content-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.content-text p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.content-visual {
  flex: 1;
}

.content-img-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  padding: 64px 0;
  background: var(--dark);
  color: var(--white);
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.newsletter p {
  font-size: 15px;
  opacity: 0.7;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.newsletter-input {
  flex: 1;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-input:focus {
  border-color: var(--red);
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  opacity: 0.6;
  text-align: left;
  cursor: pointer;
}

.newsletter-consent input {
  margin-top: 2px;
  accent-color: var(--red);
}

/* ===== FOOTER ===== */
.main-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--red);
  color: var(--white);
}

.footer-copy {
  font-size: 12px;
  opacity: 0.5;
}

/* ===== SIDEBAR MENU ===== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  height: 100%;
  background: var(--white);
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.sidebar-menu.active {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: opacity var(--transition);
}

.sidebar-close:hover {
  opacity: 0.7;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-item {
  position: relative;
  border-bottom: 1px solid var(--border);
}

.sidebar-item > a {
  display: block;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-2);
  transition: all var(--transition);
  padding-right: 48px;
}

.sidebar-item > a:hover {
  color: var(--red);
  background: rgba(204, 0, 0, 0.03);
}

.sidebar-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--gray-light);
  pointer-events: none;
  transition: transform var(--transition), color var(--transition);
}

.sidebar-item.has-sub .sidebar-arrow {
  pointer-events: auto;
  cursor: pointer;
}

.sidebar-item.has-sub.open > .sidebar-arrow {
  transform: translateY(-50%) rotate(90deg);
  color: var(--red);
}

.sidebar-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--bg-light);
}

.sidebar-item.has-sub.open > .sidebar-sub {
  max-height: 500px;
}

.sidebar-sub li a {
  display: block;
  padding: 12px 24px 12px 40px;
  font-size: 13px;
  color: var(--gray);
  transition: all var(--transition);
  border-top: 1px solid var(--border);
}

.sidebar-sub li a:hover {
  color: var(--red);
  background: rgba(204, 0, 0, 0.04);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .promo-content {
    padding: 36px 40px;
  }
}

@media (max-width: 768px) {
  .top-header {
    padding: 10px 0;
  }

  .top-header-center {
    display: none;
  }

  .frete-badge strong {
    font-size: 12px;
  }

  .frete-badge a {
    font-size: 11px;
  }

  .nav-bar-inner {
    height: 40px;
  }

  .nav-produtos {
    padding: 0 14px;
    font-size: 11px;
  }

  .nav-promo-link {
    padding: 0 14px;
    font-size: 11px;
  }

  .nav-search-input {
    font-size: 13px;
    padding: 0 10px;
  }

  .sidebar-menu {
    width: 85vw;
    max-width: 340px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    min-height: 460px;
    padding: 40px 0;
    gap: 24px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image svg {
    width: 200px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .content-split {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .promo-content {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .sidebar-menu {
    width: 85vw;
    max-width: 340px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .slider-controls {
    bottom: 16px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .section-header {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .price-value {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-card {
    padding: 20px 10px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .promo-text h2 {
    font-size: 22px;
  }
}

/* ===== GLOBAL OVERFLOW LOCK ===== */
.top-header,
.top-header-inner,
.nav-bar,
.nav-bar-inner,
.main-footer,
.footer-grid,
.sidebar-menu {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .nav-search {
    flex: 1;
    min-width: 0;
  }
  .nav-search-input {
    width: 100%;
    min-width: 0;
  }
}
