@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Cores Corporativas Elegantes */
  --c-navy: #07162f;
  --c-navy-light: #0f2d56; 
  --c-white: #ffffff;
  --c-red: #0066cc;
  --c-red-dark: #004c99;
  --c-accent: #007acb;
  --c-accent-dark: #005f9f;
  --c-success: #15803d;
  
  /* Cores Base */
  --bg-body: #f5f7fb;
  --bg-card: #ffffff;
  
  /* Textos */
  --text-main: #2b2d42;
  --text-muted: #6c757d;
  --text-light: #adb5bd;
  
  /* Bordas e Sombras */
  --border-color: #e3e8f0;
  --shadow-sm: 0 4px 15px rgba(7, 22, 47, 0.05);
  --shadow-md: 0 10px 30px rgba(7, 22, 47, 0.08);
  --shadow-lg: 0 20px 40px rgba(7, 22, 47, 0.12);
  
  /* Tipografia */
  --font-base: 'Montserrat', sans-serif;
  
  /* Layout */
  --container-max: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg-body) 320px),
    var(--bg-body);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: var(--c-red);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* UTILITÁRIOS E BOTÕES (Mais elegantes) */
.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-dark));
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}
.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 102, 204, 0.4);
  color: white;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-navy);
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid rgba(7, 22, 47, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  color: var(--c-red);
  border-color: rgba(0, 102, 204, 0.36);
  background: var(--c-white);
  transform: translateY(-2px);
}

/* ================= HEADER TRIPLO (Azul Marinho) ================= */
.top-bar {
  background-color: #051124;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-links {
  display: flex;
  gap: 20px;
}
.top-bar-links a {
  font-weight: 600;
}
.top-bar-links a:hover {
  color: var(--c-accent);
}

.main-header {
  background: linear-gradient(135deg, var(--c-navy), #0b2448);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.main-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.logo-mark {
  width: 104px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  background: var(--c-white);
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.auth-logo {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 20px;
}
.logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Pesquisa Elegante */
.search-box {
  flex: 1;
  max-width: 650px;
  display: flex;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
  transition: box-shadow 0.3s ease;
}
.search-box:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
}
.search-box input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 0.95rem;
  font-family: var(--font-base);
  outline: none;
  color: var(--c-navy);
}
.search-box button {
  background-color: var(--c-red);
  color: white;
  padding: 0 25px;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.search-box button:hover {
  background-color: var(--c-red-dark);
}

.header-actions {
  display: flex;
  gap: 30px;
  align-items: center;
}
.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--c-white);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}
.action-btn:hover {
  transform: translateY(-2px);
  color: #dbeafe;
}
.cart-icon-wrapper {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.action-btn:hover .cart-icon-wrapper {
  transform: scale(1.1);
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--c-accent);
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Navbar */
.navbar {
  background-color: var(--c-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
}
.all-cats-btn {
  background-color: var(--c-navy-light);
  color: white;
  padding: 16px 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.85rem;
  cursor: pointer;
  min-height: 54px;
  transition: background 0.3s ease;
}
.all-cats-btn:hover {
  background-color: #0b2244;
}
.all-cats-btn:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.4);
  outline-offset: -3px;
}

/* ================= DROPDOWN DO CATÁLOGO ================= */
.catalog-wrapper {
  position: relative;
  z-index: 1000;
}
.catalog-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background: var(--c-white);
  border: 1px solid var(--border-color);
  border-top: none;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.catalog-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.catalog-list {
  display: flex;
  flex-direction: column;
}
.catalog-list li {
  border-bottom: 1px solid var(--border-color);
}
.catalog-list li:last-child {
  border-bottom: none;
}
.catalog-list a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  color: var(--c-navy);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.catalog-list a svg {
  color: var(--text-muted);
  width: 20px;
  height: 20px;
  transition: color 0.2s ease;
}
.catalog-list a:hover {
  background-color: #f8f9fa;
  color: var(--c-red);
  padding-left: 30px;
}
.catalog-list a.active,
.nav-links a.active,
.filter-chip.active {
  color: var(--c-red);
}
.catalog-list a:hover svg {
  color: var(--c-red);
}

.nav-links {
  display: flex;
  flex: 1;
}
.nav-links a {
  color: var(--c-navy);
  padding: 16px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  letter-spacing: 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--c-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--c-red);
  background-color: transparent; /* Removemos o background hover antigo */
}

/* ================= SLIDER HERO ================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
  background-color: var(--c-navy);
  overflow: hidden;
  margin-bottom: 0;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease, transform 4s ease-out;
  display: flex;
  align-items: center;
  padding-left: 8%;
  background-size: cover;
  background-position: center;
}
.slide.active {
  opacity: 1;
  transform: scale(1);
}
.slide-content {
  max-width: 610px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
}
.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.13);
  color: var(--c-accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.slide-title {
  color: var(--c-navy);
  font-size: 3.6rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.04;
  letter-spacing: 0;
}
.slide-sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 26px;
  line-height: 1.6;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 118px));
  gap: 12px;
}
.hero-metrics div {
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(7, 22, 47, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
}
.hero-metrics strong,
.hero-metrics span {
  display: block;
}
.hero-metrics strong {
  color: var(--c-navy);
  font-size: 1.15rem;
  line-height: 1.1;
}
.hero-metrics span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}
.slider-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.dot {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: var(--c-accent);
  width: 60px;
}

/* ================= VANTAGENS (Cards Interativos) ================= */
.advantages {
  position: relative;
  z-index: 20;
  margin: -34px 0 40px;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.adv-item {
  background: var(--c-white);
  padding: 25px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}
.adv-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 204, 0.2);
}
.adv-icon {
  color: var(--c-accent-dark);
  background: rgba(245, 158, 11, 0.12);
  padding: 12px;
  border-radius: 50%;
  display: flex;
}
.adv-info h4 {
  font-size: 1rem;
  color: var(--c-navy);
  font-weight: 700;
}
.adv-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ================= SECTION TITLES ================= */
.section {
  padding: 50px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 22px;
  padding-bottom: 15px;
}
.section-title {
  font-size: 1.8rem;
  color: var(--c-navy);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--c-red), var(--c-accent));
  border-radius: 2px;
}
.view-all {
  color: var(--c-red);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0;
}
.view-all:hover {
  transform: translateX(5px);
}
.section-header > a.view-all {
  display: none;
}
.section-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-actions .view-all {
  background: transparent;
}
.catalog-status {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.filter-chip {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--c-white);
  color: var(--c-navy);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.filter-chip:hover,
.filter-chip.active {
  background: rgba(0, 102, 204, 0.08);
  border-color: rgba(0, 102, 204, 0.26);
}
.catalog-empty {
  background: var(--c-white);
  border: 1px dashed rgba(0, 102, 204, 0.32);
  border-radius: 8px;
  padding: 34px 22px;
  margin-top: 24px;
  text-align: center;
}
.catalog-empty h3 {
  color: var(--c-navy);
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.catalog-empty p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ================= PRODUTOS GRID (Elegante) ================= */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-carousel {
  position: relative;
}
.prod-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 22px;
  scrollbar-width: thin;
}
.prod-carousel-track::-webkit-scrollbar {
  height: 8px;
}
.prod-carousel-track::-webkit-scrollbar-thumb {
  background: rgba(0, 31, 63, 0.18);
  border-radius: 999px;
}
.carousel-btn {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-navy);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s ease;
}
.carousel-btn:hover {
  background: var(--c-red);
  color: var(--c-white);
}
.carousel-prev {
  left: -22px;
}
.carousel-next {
  right: -22px;
}
.prod-card {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 6px;
  padding: 16px 14px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  min-width: 0;
  color: #505257;
  cursor: pointer;
  text-align: center;
  min-height: 344px;
  box-shadow: 0 8px 20px rgba(7, 22, 47, 0.04);
}
.prod-card:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.25);
  outline-offset: 4px;
}
.prod-card[hidden] {
  display: none !important;
}
.prod-card:hover {
  box-shadow: 0 18px 38px rgba(7, 22, 47, 0.12);
  transform: translateY(-3px);
  border-color: rgba(0, 122, 203, 0.34);
}
.prod-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(0, 122, 203, 0.08) 48%, transparent 82%);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity 0.25s ease, transform 0.55s ease;
  pointer-events: none;
}
.prod-card:hover::before {
  opacity: 1;
  transform: translateX(70%);
}
.prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto;
  background: #007acb;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  z-index: 2;
  box-shadow: none;
}
.prod-img {
  width: 100%;
  height: 220px;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 122, 203, 0.08), transparent 46%),
    #fff;
  border: 1px solid #f0f2f5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}
.prod-card:hover .prod-img {
  background: #fff;
  transform: scale(1.01);
}
.prod-img svg {
  color: #ced4da;
  width: 70px;
  height: 70px;
  transition: color 0.3s ease;
}
.prod-img img {
  width: 100%;
  height: 202px;
  max-width: 216px;
  object-fit: contain;
  transition: transform 0.28s ease, filter 0.28s ease;
}
.prod-card:hover .prod-img img,
.ncr-product-media:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 14px 18px rgba(7, 22, 47, 0.16));
}
.prod-card:hover .prod-img svg {
  color: var(--c-navy-light);
}

.prod-brand {
  display: none;
}
.prod-name {
  font-size: 0.98rem;
  font-weight: 500;
  color: #505257;
  margin: 0 auto 14px;
  min-height: 52px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.3s;
  max-width: 240px;
}
.prod-card:hover .prod-name {
  color: #007acb;
}

.prod-price-area {
  margin-top: auto;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.old-price {
  font-size: 0.88rem;
  color: #979899;
  text-decoration: line-through;
  font-weight: 400;
}
.price {
  font-size: 1.18rem;
  font-weight: 700;
  color: #007acb;
}
.prod-card:hover .price {
  color: #005f9f;
}

.prod-card .add-cart-btn {
  display: none;
  width: calc(100% - 16px);
  min-height: 38px;
  margin: 0 auto;
  background: #007acb;
  color: #fff;
  padding: 10px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: background 0.2s ease, opacity 0.2s ease;
  border: 1px solid #007acb;
}
.prod-card:hover .add-cart-btn:not(:disabled) {
  background: #005f9f;
  color: white;
  border-color: #005f9f;
  box-shadow: none;
}
.prod-card .add-cart-btn:disabled {
  background: #e3e4e6;
  color: #979899;
  cursor: not-allowed;
  border-color: #e3e4e6;
}
.view-product-card-link {
  display: none;
}

/* ================= MODAL DO PRODUTO ================= */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-modal.open {
  display: flex;
}
.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 63, 0.62);
  backdrop-filter: blur(4px);
}
.product-modal-dialog {
  position: relative;
  width: min(820px, 100%);
  max-height: min(620px, calc(100vh - 48px));
  background: var(--c-white);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.25);
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}
.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-navy);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.product-modal-close:hover {
  color: var(--c-red);
}
.product-modal-media {
  background: #f8f9fa;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-modal-media img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}
.product-modal-content {
  padding: 34px 36px;
  overflow-y: auto;
}
.product-modal-brand {
  color: var(--c-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-modal-title {
  color: var(--c-navy);
  font-size: 1.65rem;
  line-height: 1.25;
  margin-bottom: 16px;
}
.product-modal-price {
  color: var(--c-navy);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 22px;
}
.product-modal-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.product-modal-desc p {
  margin-bottom: 14px;
}
.product-modal-meta {
  display: inline-flex;
  color: var(--c-navy);
  background: #f1f3f5;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.product-modal-desc h4 {
  color: var(--c-navy);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 18px 0 10px;
}
.product-modal-specs {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-modal-specs li {
  position: relative;
  padding-left: 18px;
}
.product-modal-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-red);
}
.product-modal-note {
  color: var(--text-light);
  font-size: 0.86rem;
  margin-top: 14px;
}
.product-modal-actions {
  position: sticky;
  bottom: -34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.86), var(--c-white) 28%);
  padding-top: 18px;
  padding-bottom: 4px;
}
.product-modal-link {
  width: fit-content;
  min-height: 44px;
}

/* ================= FOOTER ================= */
.footer {
  background-color: var(--c-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
/* Detalhe visual de fundo no footer */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,102,204,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}
.footer-logo {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--c-white);
  letter-spacing: 0;
}
.footer-logo span { color: var(--c-accent); }
.footer-logo-mark {
  width: 96px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}
.footer-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-text {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 25px;
  max-width: 350px;
}
.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: 0;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-links a {
  font-size: 0.95rem;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}
.footer-links a:hover {
  color: var(--c-red);
  transform: translateX(5px);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-item {
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-icon {
  color: var(--c-accent);
  display: flex;
  flex: 0 0 auto;
  margin-top: 3px;
}
.contact-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.45;
}
.contact-label {
  color: var(--c-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info svg {
  color: var(--c-accent);
}
.contact-info a {
  color: rgba(255,255,255,0.86);
  font-weight: 600;
}
.contact-info a:hover {
  color: var(--c-accent);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* TOAST E NOTIFICAÇÕES */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--c-navy);
  color: white;
  padding: 18px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--c-red);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ================= AUTENTICAÇÃO (LOGIN/REGISTO) ================= */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}
.auth-card {
  background: var(--c-white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  padding: 40px;
  border: 1px solid var(--border-color);
}
.auth-header {
  text-align: center;
  margin-bottom: 30px;
}
.auth-title {
  font-size: 1.8rem;
  color: var(--c-navy);
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 5px;
}
.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-navy);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-base);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}
.form-control:focus {
  outline: none;
  border-color: rgba(0, 102, 204, 0.5);
  background-color: var(--c-white);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}
.password-hint {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 5px;
}
.auth-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-top: 10px;
}
.auth-footer {
  text-align: center;
  margin-top: 25px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.auth-footer a {
  color: var(--c-red);
  font-weight: 600;
}
.auth-footer a:hover {
  text-decoration: underline;
}

/* ================= DETALHE DO PRODUTO ================= */
.product-detail-page {
  padding: 60px 0;
  min-height: calc(100vh - 300px);
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--c-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}
.product-gallery {
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 400px;
}
.product-gallery img {
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}
.product-info {
  display: flex;
  flex-direction: column;
}
.product-info-brand {
  color: var(--c-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.product-info-title {
  font-size: 2.2rem;
  color: var(--c-navy);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.product-info-price-wrapper {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
}
.product-info-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-navy);
}
.product-info-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2b8a3e;
  background: #d3f9d8;
  padding: 6px 12px;
  border-radius: 20px;
  margin-top: 15px;
}
.product-info-stock.out {
  color: #c92a2a;
  background: #ffe3e3;
}
.product-info-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  max-height: 420px;
  overflow-y: auto;
  background: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 22px;
}
.product-details-head {
  margin-bottom: 16px;
}
.product-details-kicker {
  color: var(--c-red);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.product-details-head h2 {
  color: var(--c-navy);
  font-size: 1.25rem;
  line-height: 1.25;
}
.product-part-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--c-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.product-part-number span,
.product-spec-item span {
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.product-part-number strong,
.product-spec-item strong {
  color: var(--c-navy);
  font-size: 0.94rem;
}
.product-summary {
  color: var(--text-muted);
  margin-bottom: 18px;
}
.product-summary p:not(:last-child) {
  margin-bottom: 10px;
}
.product-summary-note {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-top: 14px;
}
.product-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.product-spec-item {
  background: var(--c-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-buy-action {
  margin-top: auto;
}
.btn-massive {
  width: 100%;
  padding: 20px;
  font-size: 1.2rem;
  border-radius: 8px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #60656b;
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.product-breadcrumb a {
  color: #007acb;
  font-weight: 500;
}
.product-breadcrumb strong {
  color: #505257;
  font-weight: 500;
}
.ncr-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 40px;
  background: #fff;
  padding: 28px;
  border: 1px solid #e3e4e6;
  border-radius: 4px;
}
.ncr-product-media {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.ncr-product-media img {
  width: 100%;
  max-width: 430px;
  max-height: 420px;
  object-fit: contain;
  transition: transform 0.28s ease, filter 0.28s ease;
}
.ncr-product-media svg {
  width: 180px;
  height: 180px;
  color: #cacbcc;
}
.ncr-product-main {
  color: #505257;
}
.ncr-product-main h1 {
  color: #07162f;
  font-size: 1.85rem;
  line-height: 1.18;
  font-weight: 600;
  margin-bottom: 12px;
}
.ncr-reference,
.ncr-rating {
  color: #60656b;
  font-size: 0.94rem;
  margin-bottom: 12px;
}
.ncr-rating {
  color: #979899;
}
.ncr-delivery {
  margin: 16px 0 14px;
  padding: 14px 16px;
  border-top: 1px solid #e3e4e6;
  border-bottom: 1px solid #e3e4e6;
  background: #f6f9fc;
}
.ncr-delivery h4 {
  color: #007acb;
  font-size: 1rem;
  font-weight: 700;
}
.ncr-price-area {
  padding-bottom: 16px;
  border-bottom: 1px solid #e3e4e6;
  margin-bottom: 20px;
}
.ncr-old-price {
  color: #979899;
  font-size: 1rem;
  text-decoration: line-through;
  margin-bottom: 4px;
}
.ncr-price {
  color: #007acb;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 700;
}
.ncr-price-area p {
  color: #60656b;
  font-size: 0.9rem;
  margin-top: 8px;
}
.ncr-qty-block {
  margin-bottom: 18px;
}
.ncr-qty-block label {
  display: block;
  color: #505257;
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.ncr-qty-stepper {
  width: 134px;
  height: 42px;
  display: grid;
  grid-template-columns: 42px 50px 42px;
  border: 1px solid #e3e4e6;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.ncr-qty-stepper button,
.ncr-qty-stepper input {
  border: 0;
  background: #fff;
  color: #505257;
  text-align: center;
  font-family: inherit;
  font-size: 1rem;
}
.ncr-qty-stepper button {
  font-weight: 700;
}
.ncr-qty-stepper button:hover {
  background: #f6f7f8;
  color: #007acb;
}
.ncr-qty-stepper input {
  border-left: 1px solid #e3e4e6;
  border-right: 1px solid #e3e4e6;
}
.ncr-buy-actions {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #f6f9fc;
  border: 1px solid #dbeafe;
  border-radius: 4px;
}
.ncr-add-cart,
.ncr-checkout {
  width: 100%;
  min-height: 46px;
  border-radius: 4px;
  font-size: 0.96rem;
  font-weight: 700;
  text-transform: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ncr-add-cart {
  background: #007acb;
  color: #fff;
  border: 1px solid #007acb;
}
.ncr-add-cart:hover {
  background: #005f9f;
  border-color: #005f9f;
}
.ncr-checkout {
  background: #fff;
  color: #007acb;
  border: 1px solid #007acb;
}
.ncr-checkout:hover {
  background: #f1f8fd;
}
.ncr-add-cart:disabled,
.ncr-checkout:disabled {
  background: #e3e4e6;
  border-color: #e3e4e6;
  color: #979899;
  cursor: not-allowed;
}
.ncr-product-extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}
.ncr-info-card {
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 4px;
  padding: 24px;
  color: #505257;
  box-shadow: 0 8px 20px rgba(7, 22, 47, 0.05);
}
.ncr-info-card h5 {
  color: #07162f;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #007acb;
}
.ncr-collapsible-content {
  max-height: 150px;
  overflow: hidden;
  color: #60656b;
  line-height: 1.6;
  font-size: 0.95rem;
}
.ncr-info-card.is-expanded .ncr-collapsible-content {
  max-height: none;
}
.ncr-collapsible-content p:not(:last-child) {
  margin-bottom: 10px;
}
.ncr-show-more {
  color: #007acb;
  font-weight: 700;
  font-size: 0.94rem;
  margin-top: 12px;
  text-decoration: underline;
}
.ncr-info-list {
  display: grid;
  gap: 9px;
}
.ncr-info-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid #f0f1f2;
}
.ncr-info-list dt {
  color: #505257;
  font-weight: 700;
}
.ncr-info-list dd {
  color: #60656b;
}

/* ================= CARRINHO & CHECKOUT ================= */
.cart-page, .checkout-page {
  padding: 50px 0;
  min-height: calc(100vh - 300px);
}
.page-title {
  font-size: 2rem;
  color: var(--c-navy);
  margin-bottom: 30px;
  font-weight: 800;
  letter-spacing: 0;
}
.cart-grid, .checkout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.cart-list {
  background: var(--c-white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.cart-item {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 5px;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cart-item-info {
  flex: 1;
}
.cart-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: 5px;
}
.cart-item-price {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 5px 10px;
  margin: 0 20px;
}
.cart-item-qty button {
  font-size: 1.2rem;
  color: var(--c-navy);
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.cart-item-qty button:hover {
  color: var(--c-red);
}
.cart-item-qty span {
  font-weight: 600;
  width: 20px;
  text-align: center;
}
.cart-item-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy);
  min-width: 120px;
  text-align: right;
  margin-right: 20px;
}
.cart-item-remove {
  color: #adb5bd;
  transition: color 0.3s ease;
  padding: 5px;
}
.cart-item-remove:hover {
  color: var(--c-red);
}

.summary-box {
  background: var(--c-white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 30px;
  position: sticky;
  top: 100px;
}
.summary-box h3 {
  font-size: 1.3rem;
  color: var(--c-navy);
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-muted);
}
.summary-line.total {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-navy);
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  margin-top: 10px;
}
.checkout-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}
.checkout-summary-product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.checkout-summary-img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.checkout-summary-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.checkout-summary-name {
  color: var(--c-navy);
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.checkout-summary-qty {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.checkout-summary-price {
  color: var(--c-navy);
  font-weight: 700;
  white-space: nowrap;
}

/* Formulário de Checkout */
.checkout-form-section {
  background: var(--c-white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 40px;
  margin-bottom: 30px;
}
.checkout-form-section h3 {
  font-size: 1.4rem;
  color: var(--c-navy);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.checkout-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.checkout-success {
  text-align: center;
  padding: 80px 20px;
  background: var(--c-white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.checkout-success svg {
  color: #2b8a3e;
  margin-bottom: 20px;
}
.checkout-success h2 {
  color: var(--c-navy);
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.checkout-success-copy {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 auto 28px;
  max-width: 720px;
}
.proforma-box {
  width: min(900px, 100%);
  margin: 0 auto 26px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
  text-align: left;
}
.proforma-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
}
.proforma-head span,
.proforma-customer span {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.proforma-head strong {
  color: var(--c-navy);
  font-size: 1.05rem;
}
.proforma-customer {
  padding: 16px 20px;
  display: grid;
  gap: 4px;
}
.proforma-customer strong {
  color: var(--c-navy);
}
.proforma-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.proforma-table th,
.proforma-table td {
  padding: 12px 14px;
  border-top: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}
.proforma-table th {
  color: var(--c-navy);
  font-weight: 800;
  background: #f1f5f9;
}
.proforma-table td:not(:first-child),
.proforma-table th:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}
.checkout-send-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
}
.checkout-send-actions .is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* RESPONSIVE */
@media(max-width: 1200px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-carousel-track { grid-auto-columns: calc((100% - 36px) / 3); }
}
@media(max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-inner { display: block; }
  .all-cats-btn { width: 100%; justify-content: center; }
  .catalog-wrapper { width: 100%; }
  .catalog-dropdown { width: min(100%, 360px); }
  .ncr-product-layout { grid-template-columns: 1fr; gap: 28px; }
  .ncr-product-main { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
}
@media(max-width: 768px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-carousel-track { grid-auto-columns: calc((100% - 18px) / 2); }
  .section-header { align-items: flex-start; gap: 14px; }
  .top-bar-inner { flex-direction: column; gap: 8px; text-align: center; }
  .top-bar-links { justify-content: center; flex-wrap: wrap; gap: 10px 16px; }
  .main-header-inner { flex-direction: column; align-items: stretch; gap: 20px; }
  .logo { justify-content: center; }
  .logo-mark { width: 92px; height: 64px; }
  .search-box { max-width: 100%; }
  .header-actions { justify-content: center; margin-top: 10px; }
  .hero-slider { height: 520px; margin-bottom: 0; }
  .slide {
    padding: 44px 20px;
    align-items: flex-start;
    background-size: auto 48% !important;
    background-position: right -28px bottom 24px !important;
  }
  .slide-content { max-width: 100%; }
  .slide-title { font-size: 2.6rem; }
  .hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 420px; }
  .advantages { margin: 20px 0 40px; }
  .product-modal-dialog { grid-template-columns: 1fr; }
  .product-modal-media { padding: 24px; }
  .product-modal-content { padding: 28px 24px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .product-spec-grid { grid-template-columns: 1fr; }
  .ncr-product-layout { padding: 22px; }
  .ncr-product-media { min-height: 360px; }
  .ncr-product-media img { max-height: 360px; }
  .ncr-product-main h1 { font-size: 1.6rem; }
  .ncr-product-extra { grid-template-columns: 1fr; }
  .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
  .summary-box { position: static; }
  .proforma-table { display: block; overflow-x: auto; }
  .checkout-name-grid { grid-template-columns: 1fr; gap: 0; }
}
@media(max-width: 480px) {
  .prod-grid { grid-template-columns: 1fr; }
  .prod-carousel-track { grid-auto-columns: 100%; }
  .prod-carousel-track .prod-card { min-height: 300px; }
  .prod-carousel-track .prod-img { height: 210px; }
  .prod-carousel-track .prod-img img { height: 192px; }
  .section-header, .section-actions { flex-direction: column; align-items: flex-start; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-chip { white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .slide-content { text-align: left; margin: 0; }
  .slide-title { font-size: 2rem; }
  .slide-sub { font-size: 1rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn-red,
  .hero-actions .btn-ghost { width: 100%; }
  .hero-metrics { grid-template-columns: 1fr; }
  .ncr-product-layout { padding: 16px; }
  .ncr-product-media { min-height: 280px; }
  .ncr-product-media img { max-height: 280px; }
  .ncr-price { font-size: 1.65rem; }
  .ncr-info-card { padding: 18px; }
  .ncr-info-list div { grid-template-columns: 1fr; gap: 3px; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  .product-modal { padding: 12px; }
  .product-modal-dialog { max-height: calc(100vh - 24px); }
  .product-modal-title { font-size: 1.35rem; }
  .checkout-send-actions .btn-red,
  .checkout-send-actions .btn-ghost { width: 100%; }
  .proforma-head { flex-direction: column; }
}
