/* ================================================
   PV8 - Peças para Ar Condicionado Automotivo
   style.css
   ================================================ */

:root {
  --navy:        #1B3A5C;
  --navy-dark:   #112540;
  --navy-light:  #2B5F9E;
  --orange:      #F07820;
  --orange-dark: #D4661A;
  --white:       #FFFFFF;
  --bg-light:    #F4F7FB;
  --bg-card:     #FFFFFF;
  --text-dark:   #1A2535;
  --text-medium: #5A6474;
  --text-light:  #8A94A2;
  --border:      #E2E8F0;
  --shadow-sm:   0 1px 4px rgba(27,58,92,0.08);
  --shadow:      0 2px 12px rgba(27,58,92,0.12);
  --shadow-lg:   0 8px 28px rgba(27,58,92,0.18);
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

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

/* ── HEADER ── */
.header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
}

.header-search {
  padding: 0 0 14px;
}

.search-form {
  display: flex;
  align-items: center;
  background: #f4f7fb;
  border: 2px solid #e0e7ef;
  border-radius: 8px;
  padding: 0 14px;
  gap: 10px;
  transition: border-color 0.2s;
}

.search-form:focus-within {
  border-color: var(--blue);
}

.search-form svg {
  color: #8a9ab0;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-size: 0.97rem;
  color: var(--text);
  outline: none;
}

.search-input::placeholder { color: #a0adb8; }
.search-input::-webkit-search-cancel-button { cursor: pointer; }

.search-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.search-btn:hover { background: var(--orange); }

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

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: #ffffff;
  background: var(--navy);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: var(--navy-dark);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background: #1eba57;
  transform: translateY(-1px);
}

.btn-whatsapp svg { width: 18px; height: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── CARROSSEL ── */
.carousel-section {
  width: 100%;
  line-height: 0;
}

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

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f7fb;
}

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

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27, 58, 92, 0.65);
  border: 2px solid rgba(255,255,255,0.30);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(27, 58, 92, 0.92);
  border-color: rgba(255,255,255,0.60);
}

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

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

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(255,255,255,0.75);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.carousel-dot.active {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.25);
}

@media (max-width: 600px) {
  .carousel-btn { width: 36px; height: 36px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
}

/* ── SECTIONS ── */
.section {
  padding: 72px 0;
}

.section-alt { background: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

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

.section-header h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-medium);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
}

/* ── CATEGORY CARDS ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.25s;
  cursor: pointer;
}

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

.category-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 30px;
}

.category-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.category-card p {
  font-size: 13px;
  color: var(--text-medium);
  margin-bottom: 18px;
  line-height: 1.5;
}

.category-card .cat-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.category-card .cat-link svg { width: 14px; height: 14px; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.about-text h2 span { color: var(--orange); }

.about-text p {
  color: var(--text-medium);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

.about-features li svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

.about-visual {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.about-stat-card strong {
  display: block;
  color: var(--orange);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}

.about-stat-card span {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  line-height: 1.4;
}

/* ── CONTACT SECTION ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 20px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.contact-item-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-medium);
  margin-bottom: 2px;
}

.contact-item-text span {
  font-size: 15px;
  color: var(--text-dark);
}

.btn-whatsapp-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  width: 100%;
}

.btn-whatsapp-lg:hover {
  background: #1eba57;
  transform: translateY(-1px);
}

.btn-whatsapp-lg svg { width: 22px; height: 22px; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-medium);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-submit:hover { background: var(--navy-dark); }

/* ── TOPBAR ── */
.topbar {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  padding: 6px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}

a.topbar-item:hover { color: var(--orange); }

.topbar-sep { color: rgba(255,255,255,0.25); }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.topbar-social {
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
  display: flex;
  align-items: center;
}

.topbar-social:hover { color: var(--orange); }

@media (max-width: 768px) {
  .topbar { display: none; }
}

/* ── STORES GRID ── */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.store-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.store-card:hover { box-shadow: var(--shadow-lg); }

.store-head {
  background: var(--navy-dark);
  padding: 14px 16px;
}

.store-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.store-matriz { background: var(--orange); color: var(--white); }
.store-filial { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }

.store-head h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.store-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.store-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a.store-contact-item:hover { color: var(--navy); }

.store-contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--navy);
  flex-shrink: 0;
}

.store-pending {
  color: var(--text-light);
  font-style: italic;
}

.store-wpp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #25D366;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 11px;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: auto;
}

.store-wpp:hover { background: #1eba57; }

.store-wpp-disabled {
  background: var(--border);
  color: var(--text-light);
  cursor: default;
  font-style: italic;
  font-weight: 400;
}

/* Contact form wrap */
.contact-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.contact-cnpj {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ── SOCIAL ── */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.70);
  transition: all 0.2s;
}

.social-btn:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .stores-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .stores-grid { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.70);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand img { height: 44px; margin-bottom: 14px; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--orange); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--orange);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom a { color: rgba(255,255,255,0.50); }
.footer-bottom a:hover { color: var(--orange); }

/* ── SECTION LINHAS (fundo único) ── */
.section-linhas {
  position: relative;
  padding: var(--section-pad) 0;
}

.section-linhas-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/banner-linhas.jpg');
  background-size: cover;
  background-position: center;
}

.section-linhas-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,18,35,0.83);
}

.section-linhas .linha-card {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}

.section-linhas .linha-card::before {
  background: linear-gradient(to bottom,
    rgba(8,18,35,0.10) 0%,
    rgba(8,18,35,0.02) 40%,
    rgba(8,18,35,0.55) 75%,
    rgba(8,18,35,0.94) 100%);
}

.section-linhas .linha-card:hover::before {
  background: linear-gradient(to bottom,
    rgba(8,18,35,0.05) 0%,
    rgba(8,18,35,0.00) 40%,
    rgba(8,18,35,0.40) 75%,
    rgba(8,18,35,0.92) 100%);
}

/* ── LINHAS CARDS ── */
.linhas-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.linha-card {
  display: block;
  text-decoration: none;
  color: #fff;
  position: relative;
  height: 340px;
  background-color: var(--navy);
  background-size: cover;
  background-position: center 35%;
  overflow: hidden;
}

.linha-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,25,48,0.92) 0%,
    rgba(10,25,48,0.50) 30%,
    rgba(10,25,48,0.30) 50%,
    rgba(10,25,48,0.80) 75%,
    rgba(10,25,48,0.97) 100%);
  transition: background 0.3s ease;
}

.linha-card:hover::before {
  background: linear-gradient(to bottom,
    rgba(10,25,48,0.88) 0%,
    rgba(10,25,48,0.35) 30%,
    rgba(10,25,48,0.10) 50%,
    rgba(10,25,48,0.65) 75%,
    rgba(10,25,48,0.95) 100%);
}

.linha-card + .linha-card {
  border-left: 1px solid rgba(255,255,255,0.07);
}

.linha-card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}

.linha-card-num {
  font-size: 52px;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.30;
  line-height: 1;
  margin-bottom: 10px;
  transition: opacity 0.3s;
}

.linha-card:hover .linha-card-num { opacity: 0.65; }

.linha-card-titulo {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.linha-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
  line-height: 1.5;
}

.linha-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.linha-card:hover .linha-card-cta { gap: 8px; }

@media (max-width: 860px) {
  .linhas-cards { grid-template-columns: repeat(2, 1fr); }
  .linha-card + .linha-card { border-left: none; }
  .linha-card:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.07); }
  .linha-card:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.07); }
}

@media (max-width: 480px) {
  .linhas-cards { grid-template-columns: 1fr; }
  .linha-card { height: 260px; }
  .linha-card:nth-child(even) { border-left: none; }
  .linha-card:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,0.07); }
}

/* ── CIDADES BANNER ── */
.section-cidades {
  overflow: hidden;
}

.cidades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 320px;
}

.cidade-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: flex 0.4s ease;
}

/* Unique city background gradients */
.cidade-sp  { background: linear-gradient(160deg, #0d1f3c 0%, #1a3560 100%); }
.cidade-rp  { background: linear-gradient(160deg, #0d2b25 0%, #1a5040 100%); }
.cidade-mac { background: linear-gradient(160deg, #0d2535 0%, #1a4a6a 100%); }
.cidade-ara { background: linear-gradient(160deg, #7a3800 0%, #f07820 100%); }

/* Decorative city silhouette via pseudo-element */
.cidade-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  opacity: 0.07;
  transition: opacity 0.3s;
}

.cidade-sp::before  { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 180'%3E%3Cpath fill='white' d='M0 180V80l20-10 10-30 15 5 5-25 20 10 10-20 30 15 5-40 15 10 10-30 20 20 10-15 25 10 5-20 20 30 15-10 10 20 30-5 10 30 20-20 10 40 20-10 15 20 10-30 20 15 5 30 20-20V180z'/%3E%3C/svg%3E") center bottom/cover no-repeat; }
.cidade-rp::before  { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 180'%3E%3Cpath fill='white' d='M0 180V100l30-20 20 10 15-30 25 15 10-25 20 5 15-20 30 25 10-15 20 10 15-30 25 20 10-10 20 15 15-25 30 30 20-15 10 20 25-10 15 30 20-20V180z'/%3E%3C/svg%3E") center bottom/cover no-repeat; }
.cidade-mac::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 180'%3E%3Cpath fill='white' d='M0 180V120q20-30 40-10 20-40 40-5 20-30 40-10 20-20 40-5 20-30 40-15 20-25 40-5 20-20 40-10 20-30 40-5V180z'/%3E%3C/svg%3E") center bottom/cover no-repeat; }
.cidade-ara::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 180'%3E%3Cpath fill='white' d='M0 180V115q25-25 50-5 25-35 50-10 25-20 50-5 25-30 50-10 25-25 50-5 25-20 50-10 25-30 50-5V180z'/%3E%3C/svg%3E") center bottom/cover no-repeat; }

.cidade-card:hover::before { opacity: 0.14; }

/* Right border between cards */
.cidade-card + .cidade-card {
  border-left: 1px solid rgba(255,255,255,0.08);
}

.cidade-card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 28px 32px;
}

.cidade-tipo {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(240,120,32,0.40);
  border-radius: 3px;
  padding: 3px 8px;
  margin-bottom: 8px;
  width: fit-content;
}

.cidade-uf {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.40);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.cidade-nome {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.cidade-card:hover .cidade-nome { color: var(--orange); }

.cidade-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  margin-bottom: 10px;
}

.cidade-wpp {
  font-size: 12px;
  font-weight: 600;
  color: #25d366;
}

@media (max-width: 860px) {
  .cidades-grid {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .cidade-card { height: 220px; }
  .cidade-card + .cidade-card { border-left: none; }
  .cidade-card:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.08); }
  .cidade-card:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .cidade-nome { font-size: 26px; }
}

@media (max-width: 480px) {
  .cidades-grid { grid-template-columns: 1fr; }
  .cidade-card { height: 180px; }
  .cidade-card:nth-child(even) { border-left: none; }
  .cidade-card:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,0.08); }
}

/* ════════════════════════════════════════════
   CATÁLOGO PAGE
   ════════════════════════════════════════════ */

.catalog-header {
  background: var(--navy-dark);
  padding: 36px 0;
}

.catalog-header h1 {
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.catalog-header p {
  color: rgba(255,255,255,0.60);
  font-size: 15px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 32px 0 60px;
}

/* ── SIDEBAR ── */
.sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sidebar-section {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.sidebar-section:last-child { border-bottom: none; }

.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-medium);
  margin-bottom: 14px;
}

.search-sidebar {
  position: relative;
}

.search-sidebar input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.search-sidebar input:focus { border-color: var(--navy); }

.search-sidebar svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-light);
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}

.filter-list::-webkit-scrollbar { width: 4px; }
.filter-list::-webkit-scrollbar-track { background: transparent; }
.filter-list::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  font-size: 14px;
  color: var(--text-dark);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.filter-item:hover { background: var(--bg-light); }

.filter-item.active {
  background: rgba(27,58,92,0.08);
  color: var(--navy);
  font-weight: 600;
}

.filter-item .filter-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.filter-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-light);
  background: var(--bg-light);
  padding: 2px 7px;
  border-radius: 10px;
}

.filter-item.active .filter-count {
  background: rgba(27,58,92,0.12);
  color: var(--navy);
}

.clear-filters {
  width: 100%;
  padding: 9px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.2s;
}

.clear-filters:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ── CATALOG MAIN ── */
.catalog-main {}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.results-count {
  font-size: 14px;
  color: var(--text-medium);
}

.results-count strong {
  color: var(--navy-dark);
  font-weight: 700;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-select {
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  outline: none;
}

/* ── PRODUCTS GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: all 0.22s;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-image {
  aspect-ratio: 4/3;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.product-image .no-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
}

.product-image .no-image svg {
  width: 40px;
  height: 40px;
  opacity: 0.4;
}

.product-image .no-image span {
  font-size: 11px;
}

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--white);
}

.badge-leve      { background: #2B7A2B; }
.badge-pesada    { background: #8B2020; }
.badge-agricola  { background: #7A6A00; }
.badge-construcao{ background: #5A3A1A; }

.product-info {
  padding: 14px 16px;
}

.product-code {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  font-family: 'Courier New', monospace;
  margin-bottom: 4px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-aplicacao {
  font-size: 12px;
  color: var(--text-medium);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-actions {
  display: flex;
  gap: 8px;
}

.btn-ver {
  flex: 1;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-ver:hover { background: var(--navy-dark); }

.btn-wpp {
  background: #25D366;
  color: var(--white);
  border: none;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-wpp:hover { background: #1eba57; }
.btn-wpp svg { width: 15px; height: 15px; }

/* ── PAGINATION ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  font-size: 14px;
  font-family: inherit;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--navy);
  color: var(--navy);
}

.page-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  font-weight: 700;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-medium);
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  opacity: 0.3;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

/* ── LOADING ── */
.loading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.skeleton {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.skeleton-img {
  aspect-ratio: 4/3;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

.skeleton-body { padding: 14px 16px; }

.skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
  margin-bottom: 8px;
}

.skeleton-line.short { width: 50%; }
.skeleton-line.btn { height: 32px; margin-top: 12px; border-radius: var(--radius-sm); }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ════════════════════════════════════════════
   MODAL
   ════════════════════════════════════════════ */

/* ── LOJA SELECTOR ── */
.loja-sel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,37,64,0.75);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.loja-sel-overlay.open { opacity: 1; pointer-events: all; }

.loja-sel-box {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  padding: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}

.loja-sel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.loja-sel-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #888;
  line-height: 1;
  padding: 2px 6px;
}
.loja-sel-close:hover { color: var(--orange); }

.loja-sel-list { display: flex; flex-direction: column; gap: 10px; }

.loja-sel-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f7fb;
  border: 2px solid #e0e7ef;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.18s;
  text-align: left;
  width: 100%;
}
.loja-sel-btn:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
.loja-sel-btn:hover .loja-sel-tipo { color: rgba(255,255,255,0.8); }
.loja-sel-btn:hover svg { fill: #fff; }

.loja-sel-info { display: flex; flex-direction: column; gap: 2px; }
.loja-sel-tipo { font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: 0.05em; }
.loja-sel-cidade { font-size: 15px; font-weight: 600; color: var(--navy); }
.loja-sel-btn:hover .loja-sel-cidade { color: #fff; }

@media (max-width: 480px) {
  .loja-sel-box { margin: 16px; max-width: calc(100% - 32px); }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,37,64,0.70);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 1000px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.40);
  transform: scale(0.95);
  transition: transform 0.25s;
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}

.modal-header h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: var(--text-dark);
}

.modal-close:hover { background: var(--border); }
.modal-close svg { width: 18px; height: 18px; }

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.modal-image {
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 10px;
}

.gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 360px;
}

.gallery-main img {
  width: 100%;
  height: 360px;
  object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.2s;
}

.gallery-arrow:hover { background: white; }
.gallery-prev { left: 4px; }
.gallery-next { right: 4px; }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--orange);
  opacity: 1;
}

.modal-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-image .no-image-lg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
}

.modal-image .no-image-lg svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.modal-details {
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
}

.modal-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--white);
  margin-bottom: 14px;
}

.modal-code {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  font-family: 'Courier New', monospace;
  margin-bottom: 6px;
}

.modal-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.modal-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.modal-meta-item {
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.modal-meta-item strong {
  min-width: 110px;
  color: var(--text-medium);
  font-weight: 600;
}

.modal-meta-item span { color: var(--text-dark); }

.modal-desc {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-wpp-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-decoration: none;
}

.btn-wpp-modal:hover { background: #1eba57; }
.btn-wpp-modal svg { width: 20px; height: 20px; }

/* ════════════════════════════════════════════
   IMPORT PAGE
   ════════════════════════════════════════════ */

.import-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px;
}

.import-page h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.import-page > p {
  color: var(--text-medium);
  margin-bottom: 36px;
}

.import-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.import-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.import-card > p {
  color: var(--text-medium);
  font-size: 14px;
  margin-bottom: 20px;
}

.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-light);
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--navy);
  background: rgba(27,58,92,0.04);
}

.drop-zone svg {
  width: 48px;
  height: 48px;
  color: var(--text-light);
  margin: 0 auto 12px;
}

.drop-zone p { color: var(--text-medium); font-size: 15px; }
.drop-zone span { color: var(--navy); font-weight: 600; }

.column-map table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.column-map th {
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-light);
  color: var(--text-medium);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.column-map td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.column-map select {
  padding: 6px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.import-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.btn-import {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-import:hover { background: var(--navy-dark); }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-download:hover { background: var(--orange-dark); }
.btn-download svg { width: 16px; height: 16px; }

/* ── TABLE PREVIEW ── */
.preview-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}

.preview-table th {
  background: var(--navy-dark);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}

.preview-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}

.preview-table tr:last-child td { border-bottom: none; }
.preview-table tr:nth-child(even) td { background: var(--bg-light); }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { grid-template-columns: repeat(4, 1fr); }
  .catalog-layout { grid-template-columns: 220px 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 16px;
    gap: 4px;
  }
  .hamburger { display: flex; }
  .header-inner { position: relative; }

  .hero { padding: 56px 0 60px; }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 22px; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .about-visual { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .catalog-header { display: none; }

  .catalog-layout { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    display: none;
  }
  .sidebar.open { display: block; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .modal-body { grid-template-columns: 1fr; }
  .modal-image { aspect-ratio: 16/9; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .search-hero { flex-direction: column; border-radius: var(--radius); }
  .search-hero input { border-radius: var(--radius-sm); }
  .search-hero button { border-radius: var(--radius-sm); justify-content: center; }
  .about-visual { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 14px; }
}
