/* AutoDez Vitrină v4.9 — stil Materom (home + catalog + piesă) */
:root {
  --brand-blue: #1a2744;
  --brand-red: #c62828;
  --brand-orange: #f57c00;
  --brand-orange-dark: #e65100;
  --bg: #f4f6f9;
  --card: #fff;
  --text: #1a1a2e;
  --muted: #5c6b7a;
  --border: #e2e8f0;
  --success: #2e7d32;
  --radius: 10px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.45; }

.site-header {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #283593 100%);
  color: #fff; padding: 0.65rem 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}
.site-header-materom .brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border: none;
  border-radius: 12px;
  background: transparent;
  padding: 0;
  box-shadow: none;
  flex-shrink: 0;
}
.pagina-home .site-header-materom .brand-logo {
  height: 72px;
  max-width: 160px;
  border-radius: 16px;
}

.vitrina-banner-mare {
  display: block;
  max-width: min(280px, 88vw);
  width: 100%;
  height: auto;
  margin: 0 auto 1.25rem;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.seo-block {
  text-align: center;
}
.brand-text h1 { margin: 0; font-size: 1.35rem; font-weight: 700; }
.brand-text p { margin: 0.15rem 0 0; font-size: 0.82rem; opacity: 0.9; }
.header-actions { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }

.btn { border: none; border-radius: var(--radius); padding: 0.5rem 1rem; font-size: 0.9rem; cursor: pointer; font-family: inherit; font-weight: 600; }
.btn-cart { background: var(--brand-red); color: #fff; position: relative; }
.btn-cart:hover { background: #b71c1c; }
.btn-cart .badge {
  position: absolute; top: -6px; right: -6px; background: #fff; color: var(--brand-red);
  font-size: 0.7rem; min-width: 1.25rem; height: 1.25rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.btn-menu-mobil { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); display: none; }

.hero {
  background: var(--card); border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem; text-align: center;
}
.hero h2 { margin: 0 0 0.35rem; font-size: 1.25rem; color: var(--brand-blue); }
.hero p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.trust-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 0.85rem; font-size: 0.82rem; color: var(--muted); }
.trust-badges span::before { content: "✓ "; color: var(--success); font-weight: 700; }

.layout { display: flex; min-height: calc(100vh - 200px); }
.sidebar {
  width: 270px; flex-shrink: 0; background: var(--card); border-right: 1px solid var(--border);
  overflow-y: auto; max-height: calc(100vh - 80px); position: sticky; top: 0;
}
.sidebar-head {
  padding: 0.85rem 1rem; border-bottom: 2px solid var(--brand-red);
  font-weight: 700; font-size: 0.9rem; color: var(--brand-blue);
  display: flex; justify-content: space-between; align-items: center;
}
.sidebar-clear { font-size: 0.75rem; color: var(--brand-red); background: none; border: none; cursor: pointer; font-weight: 600; }
.nav-marca { border-bottom: 1px solid #f1f5f9; }
.nav-marca-btn, .nav-model-btn, .nav-all-btn {
  width: 100%; text-align: left; border: none; background: none; cursor: pointer;
  font-family: inherit; font-size: 0.88rem; padding: 0.55rem 1rem;
  display: flex; justify-content: space-between; align-items: center; color: #334155;
  text-decoration: none;
}
.nav-marca-btn { font-weight: 600; background: #f8fafc; }
.nav-marca-btn:hover, .nav-model-btn:hover, .nav-all-btn:hover { background: #eef2ff; color: var(--brand-blue); }
.nav-marca-btn.activ, .nav-model-btn.activ, .nav-all-btn.activ {
  background: #e8eaf6; color: var(--brand-blue); font-weight: 600; border-left: 3px solid var(--brand-red);
}
.nav-model-btn { padding-left: 1.75rem; font-size: 0.84rem; }
.nav-models { display: none; }
.nav-marca.deschis .nav-models { display: block; }
.nav-count { font-size: 0.72rem; color: var(--muted); background: #f1f5f9; padding: 0.1rem 0.45rem; border-radius: 999px; }

.main { flex: 1; min-width: 0; padding: 1.25rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; align-items: center; }
.toolbar input {
  flex: 1; min-width: 200px; padding: 0.6rem 0.85rem;
  border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem;
}
.toolbar input:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(26,35,126,0.12); }
.filter-chip { font-size: 0.8rem; background: #e8eaf6; color: var(--brand-blue); padding: 0.25rem 0.6rem; border-radius: 999px; display: none; align-items: center; gap: 0.35rem; }
.filter-chip button { border: none; background: none; cursor: pointer; color: var(--brand-red); font-size: 1rem; }
.meta { font-size: 0.8rem; color: var(--muted); }
.contact-bar {
  margin-bottom: 1rem; padding: 0.75rem 1rem; background: var(--card);
  border-radius: var(--radius); border: 1px solid var(--border); font-size: 0.9rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center;
}
.contact-bar a { color: var(--brand-blue); font-weight: 600; text-decoration: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.card {
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; box-shadow: 0 2px 12px rgba(26,35,126,0.08);
  display: flex; flex-direction: column; transition: transform 0.15s;
}
.card:hover { transform: translateY(-2px); }
.card-media-link { display: block; text-decoration: none; color: inherit; }
.card-title-link { display: block; text-decoration: none; color: inherit; }
.card-title-link:hover .tip { color: var(--brand-blue); }
.card img { width: 100%; height: 170px; object-fit: cover; background: #e8eaf6; display: block; }
.card img.img-placeholder { object-fit: contain; background: #f5f5f5; padding: 0.35rem; }
.piesa-galerie-main img.img-placeholder { object-fit: contain; background: #f5f5f5; max-height: 280px; }

/* Pagină detaliu piesă — layout (header Materom ca index) */
.pagina-piesa .site-header-materom .brand-logo {
  height: 52px;
  width: auto;
  border-radius: 10px;
}
.pagina-piesa .piesa-detail-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
}

.pagina-piesa .site-header {
  padding: 0.45rem 1rem;
  flex-wrap: nowrap;
}
.pagina-piesa .brand {
  gap: 0.65rem;
  min-width: 0;
}
.pagina-piesa .brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  border-radius: 14px;
  background: transparent;
  flex-shrink: 0;
}
.pagina-piesa .brand-text h1 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}
.pagina-piesa .brand-text p {
  margin: 0.1rem 0 0;
  font-size: 0.74rem;
  opacity: 0.9;
}

.pagina-piesa .piesa-detail-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
}
.pagina-piesa .btn-back-piesa {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
}
.pagina-piesa .piesa-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.piesa-galerie-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 180px;
  max-height: 300px;
  overflow: hidden;
  padding: 0.5rem;
}
.piesa-galerie-main img {
  display: block;
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.galerie-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(26, 35, 126, 0.85);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.galerie-nav:hover { background: var(--brand-blue); }
.galerie-prev { left: 0.5rem; }
.galerie-next { right: 0.5rem; }
.galerie-counter {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.4rem 0 0.5rem;
}
.piesa-galerie-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 0.35rem;
}
.piesa-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  width: 56px;
  height: 56px;
}
.piesa-thumb.activ { border-color: var(--brand-blue); }
.piesa-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.piesa-info.card { padding: 1.1rem 1.25rem; }
.piesa-titlu { margin: 0.35rem 0 0.5rem; font-size: 1.2rem; }
.piesa-pret-mare { font-size: 1.35rem; }
.btn-add-cart-lg { margin-top: 0.75rem; }
.btn-secondary {
  background: #fff;
  color: var(--brand-blue);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.45rem 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-sm { font-size: 0.82rem; }

@media (max-width: 768px) {
  .pagina-piesa .piesa-detail-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .piesa-galerie-main {
    max-height: 240px;
    min-height: 150px;
  }
  .piesa-galerie-main img { max-height: 220px; }
}
.card .no-img { height: 170px; display: flex; align-items: center; justify-content: center; background: #e8eaf6; color: #9e9e9e; font-size: 0.85rem; }
.card-body { padding: 0.9rem; flex: 1; display: flex; flex-direction: column; }
.card-actions { display: flex; gap: 0.4rem; margin-top: 0.55rem; flex-wrap: wrap; align-items: stretch; }
.btn-detalii {
  flex: 1; min-width: 0; text-align: center; padding: 0.5rem 0.4rem;
  background: var(--brand-blue); color: #fff; border-radius: var(--radius);
  font-weight: 700; font-size: 0.78rem; text-decoration: none;
}
.btn-detalii:hover { background: #283593; color: #fff; }
.card-actions .btn-add-cart { margin-top: 0; flex: 1; min-width: 0; font-size: 0.78rem; padding: 0.5rem 0.35rem; }
.cod { display: inline-block; background: var(--brand-blue); color: #fff; font-weight: 700; font-size: 0.88rem; padding: 0.2rem 0.55rem; border-radius: 6px; margin-bottom: 0.4rem; }
.tip { font-weight: 600; margin: 0 0 0.3rem; font-size: 0.95rem; }
.veh { font-size: 0.82rem; color: var(--muted); margin: 0 0 0.3rem; }
.oem { font-size: 0.78rem; color: #78909c; }
.pret { font-size: 1.15rem; font-weight: 800; color: var(--success); margin-top: auto; padding-top: 0.5rem; }
.btn-add-cart {
  margin-top: 0.65rem; width: 100%; padding: 0.55rem;
  border: 2px solid var(--brand-red); background: #fff; color: var(--brand-red);
  border-radius: var(--radius); font-weight: 700; cursor: pointer; font-size: 0.85rem;
}
.btn-add-cart:hover { background: #ffebee; }
.btn-add-cart.in-cart { background: #e8f5e9; border-color: var(--success); color: var(--success); }

.btn-share-fb {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; margin-left: 0.35rem;
  border-radius: 50%; background: #1877f2; color: #fff;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  vertical-align: middle;
}
.btn-share-fb:hover { background: #166fe5; color: #fff; }

footer { text-align: center; padding: 1.25rem; font-size: 0.78rem; color: #90a4ae; border-top: 1px solid var(--border); background: var(--card); }

.cos-overlay { position: fixed; inset: 0; background: rgba(26,35,126,0.4); z-index: 100; display: none; }
.cos-overlay.deschis { display: block; }
.cos-panel {
  position: fixed; top: 0; right: 0; width: min(420px, 100vw); height: 100vh;
  background: #fff; z-index: 101; transform: translateX(100%); transition: transform 0.25s ease;
  display: flex; flex-direction: column; box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}
.cos-panel.deschis { transform: translateX(0); }
.cos-head { padding: 1rem 1.25rem; border-bottom: 2px solid var(--brand-red); background: var(--brand-blue); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.cos-head h2 { margin: 0; font-size: 1.1rem; }
.cos-close { border: none; background: none; font-size: 1.5rem; cursor: pointer; color: rgba(255,255,255,0.8); }
.cos-list { flex: 1; overflow-y: auto; padding: 0.75rem 1rem; }
.cos-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem; margin-bottom: 0.65rem; }
.cos-item-cod { font-weight: 700; color: var(--brand-blue); }
.cos-nota { background: #fff8e1; border: 1px solid #ffe082; border-radius: var(--radius); padding: 0.75rem; font-size: 0.85rem; margin-bottom: 0.75rem; }
.cos-coduri { font-family: ui-monospace, monospace; font-size: 0.82rem; background: #f8fafc; border: 1px dashed var(--border); border-radius: 8px; padding: 0.5rem; margin: 0.5rem 0; word-break: break-all; }
.cos-foot { border-top: 1px solid var(--border); padding: 1rem; background: #f8fafc; }
.btn-whatsapp { background: #25d366; color: #fff; border: none; font-weight: 700; text-decoration: none; display: block; text-align: center; padding: 0.65rem; border-radius: var(--radius); margin-bottom: 0.5rem; }
.btn-copy { background: var(--brand-blue); color: #fff; width: 100%; margin-bottom: 0.5rem; border: none; padding: 0.55rem; border-radius: var(--radius); font-weight: 600; cursor: pointer; }
.btn-gol { background: #fff; color: var(--muted); border: 1px solid var(--border); width: 100%; padding: 0.55rem; border-radius: var(--radius); cursor: pointer; }

@media (max-width: 768px) {
  .sidebar { width: 100%; display: none; max-height: 50vh; position: static; }
  .sidebar.mobil-deschis { display: block; }
  .btn-menu-mobil { display: inline-flex; }
  .layout { flex-direction: column; }
  .main { padding: 0.5rem 0.45rem; }
  .brand-text h1 { font-size: 1.1rem; }
  .site-header-materom .brand-logo { height: 56px; border-radius: 12px; }
  .pagina-home .site-header-materom .brand-logo { height: 60px; }
  /* Telefon: exact 2 piese pe rând (stânga + dreapta) */
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .card img,
  .card .no-img {
    height: 110px;
  }
  .card-body {
    padding: 0.5rem 0.45rem;
  }
  .tip {
    font-size: 0.8rem;
    line-height: 1.25;
  }
  .veh,
  .oem {
    font-size: 0.72rem;
  }
  .pret {
    font-size: 0.95rem;
  }
  .cod {
    font-size: 0.72rem;
    padding: 0.15rem 0.4rem;
  }
  .card-actions {
    flex-direction: column;
    gap: 0.3rem;
  }
  .btn-detalii,
  .card-actions .btn-add-cart {
    font-size: 0.72rem;
    padding: 0.4rem 0.25rem;
  }
}

.site-header-materom {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  gap: 0;
  background: var(--brand-blue);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.site-header-materom .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
}
.site-header-materom .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 0 1 auto;
  max-width: calc(100% - 9rem);
}
.site-header-materom .brand-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #fff;
}
.site-header-materom .brand-sub {
  display: block;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.82);
  margin-top: 0.12rem;
  text-transform: none;
  letter-spacing: 0.02em;
}
.header-context {
  padding: 0.4rem 0.85rem 0.5rem;
  background: rgba(0,0,0,0.18);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.header-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.95);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.header-back-link:hover {
  color: #fff;
  text-decoration: underline;
}
.header-actions-icons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.15rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}
.header-icon:hover { background: rgba(255,255,255,0.12); }
.btn-cart-icon .badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--brand-red);
  color: #fff;
  font-size: 0.62rem;
  min-width: 1rem;
  height: 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.search-strip {
  background: #fff;
  padding: 0.65rem 0.85rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.search-strip .header-search {
  display: flex;
  gap: 0;
  padding: 0;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}
.search-strip .header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 0.72rem 0.9rem;
  border: 1px solid #cfd8dc;
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-size: 0.95rem;
  background: #fff;
}
.btn-search {
  background: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 0 1.1rem;
  font-size: 1.1rem;
  cursor: pointer;
  min-width: 3rem;
}
.btn-search:hover { background: #b71c1c; }

.vitrina-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(280px, 85vw);
  height: 100%;
  background: #fff;
  z-index: 1200;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
.vitrina-drawer[hidden] { display: none !important; }
.vitrina-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.vitrina-drawer-close {
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.vitrina-drawer a {
  display: block;
  padding: 0.65rem 0;
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.vitrina-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1190;
}
.vitrina-drawer-backdrop[hidden] { display: none !important; }

.wizard-panel-materom {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.85rem 0 1rem;
}
.wizard-panel-materom .wizard-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.35;
}
.wizard-steps {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.wizard-step {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  background: #eceff1;
  border: 1px solid #cfd8dc;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}
.wizard-step-num {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: #b0bec5;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.35rem;
}
.wizard-step-num.active {
  background: var(--brand-orange);
}
.wizard-step-body {
  flex: 1;
  min-width: 0;
}
.wizard-step-body label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.2rem;
}
.wizard-step-body select {
  width: 100%;
  padding: 0.55rem 0.5rem;
  border: 1px solid #b0bec5;
  border-radius: 8px;
  font-size: 0.88rem;
  background: #fff;
  font-family: inherit;
}
.wizard-steps .btn-wizard-cta {
  margin-top: 0.35rem;
  width: 100%;
  background: var(--brand-orange);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
}
.wizard-steps .btn-wizard-cta:hover { background: var(--brand-orange-dark); }

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
}

.wizard-panel {
  background: #eceff1;
  border-radius: 14px;
  padding: 1.35rem 1.5rem 1.25rem;
  margin-bottom: 1.75rem;
  border: 1px solid #cfd8dc;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.wizard-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--brand-blue);
  font-weight: 800;
}
.wizard-sub {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.wizard-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0.65rem;
  align-items: end;
}
.wizard-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.wizard-field select {
  width: 100%;
  padding: 0.55rem 0.5rem;
  border: 1px solid #b0bec5;
  border-radius: 8px;
  font-size: 0.88rem;
  background: #fff;
  font-family: inherit;
}
.wizard-field select:disabled {
  background: #f5f5f5;
  color: #9e9e9e;
}
.btn-wizard-cta {
  background: var(--brand-orange);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 1.35rem;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  height: fit-content;
}
.btn-wizard-cta:hover { background: var(--brand-orange-dark); }
.trust-badges-inline {
  justify-content: flex-start;
  margin-top: 1rem;
  gap: 1.25rem;
}

.marci-section { margin-bottom: 2rem; }
.marci-heading {
  text-align: center;
  color: var(--brand-blue);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}
.marci-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 0.65rem;
}
.marca-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 0.5rem 0.65rem;
  text-decoration: none;
  color: var(--text);
  min-height: 118px;
  transition: box-shadow 0.15s, transform 0.15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.marca-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26,35,126,0.12);
  border-color: #90caf9;
}
.marca-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 0.35rem;
}
.marca-fallback {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8eaf6;
  border-radius: 50%;
  font-weight: 800;
  color: var(--brand-blue);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.marca-nume {
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}
.marca-count {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.marca-count-gol {
  color: #b0bec5;
  font-style: italic;
}
.marca-tile-inactiv {
  cursor: default;
  opacity: 0.82;
  pointer-events: none;
  filter: grayscale(0.15);
}
.marca-tile-inactiv:hover {
  transform: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  border-color: var(--border);
}

.seo-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}
.seo-block h2 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  color: var(--brand-blue);
}
.seo-block p {
  margin: 0 0 0.5rem;
  color: #455a64;
  font-size: 0.92rem;
  line-height: 1.55;
}
.seo-contact a { color: var(--brand-blue); font-weight: 600; }

/* Catalog */
.pagina-catalog .btn-menu-mobil {
  display: inline-flex;
  margin-bottom: 0.75rem;
  background: var(--brand-blue);
  color: #fff;
  border: none;
}
.catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.catalog-title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--brand-blue);
}
.card[data-server-hide="1"] { display: none !important; }
.card.hidden-q { display: none !important; }
.empty-catalog {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}
.cos-empty { text-align: center; color: #94a3b8; padding: 2rem; font-size: 0.9rem; }
.cos-item-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
}
.cos-item-pret { color: #15803d; font-weight: 700; }
.cos-item-rm {
  border: none;
  background: none;
  color: #dc2626;
  cursor: pointer;
  font-size: 0.85rem;
}
.cos-total { font-weight: 700; margin: 0.5rem 0; font-size: 0.9rem; }
.sidebar-clear { text-decoration: none; }

@media (max-width: 900px) {
  .wizard-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .btn-wizard-cta { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 768px) {
  .site-header-materom .header-top { padding: 0.55rem 0.75rem; }
  .header-search { padding: 0 0.75rem 0.65rem; }
  .home-main { padding: 0.75rem 0.65rem 1.5rem; }
  .wizard-panel { padding: 1rem 0.85rem; border-radius: 10px; }
  .wizard-form { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .marci-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }
  .marca-tile { min-height: 100px; padding: 0.55rem 0.35rem; }
  .marca-logo, .marca-fallback { width: 44px; height: 44px; }
  .marca-nume { font-size: 0.65rem; }
  .marca-count { display: none; }
  .pagina-catalog .btn-menu-mobil { display: inline-flex; }
}
