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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #334155;
  background-color: #ffffff;
  line-height: 1.6;
}

.tarolo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Fejléc */
.fejlec {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.fejlec-belso {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 48px;
}

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

.nav a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
}

/* Gombok */
.gomb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.gomb-kiemelt {
  background: #0056b3;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

.gomb-kiemelt:hover {
  background: #004085;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 86, 179, 0.3);
}

.gomb-masodlagos {
  background: #f8fafc;
  color: #1e293b !important;
  border: 1px solid #e2e8f0;
}

.gomb-masodlagos:hover {
  background: #e2e8f0;
}

.gomb-teljes {
  width: 100%;
}

/* Katalógus Elrendezés */
.szekcio {
  padding: 40px 0;
}

.fejlec-cim {
  margin-bottom: 30px;
}

.shop-elrendezes {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}

.termek-kontener {
  width: 100%;
}

/* Szűrő Panel */
.szuro-panel {
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  height: fit-content;
}

.szuro-panel h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.szuro-csoport {
  margin-bottom: 18px;
}

.szuro-csoport label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1e293b;
}

.szuro-csoport select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.szuro-csoport select:focus {
  border-color: #3b82f6;
}

/* Kártyák Rácsa (Grid) */
#termek-lista {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

/* Termék Kártyák */
.termek-kartya {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.termek-kartya:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.kartya-kep-doboz {
  height: 200px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.kartya-kep-doboz img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.kartya-tartalom {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cimke {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0056b3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kartya-tartalom h3 {
  font-size: 1.15rem;
  margin: 6px 0;
  color: #1e293b;
}

.kartya-alcim {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 12px;
}

.kartya-leiras {
  font-size: 0.88rem;
  margin-bottom: 16px;
  flex-grow: 1;
  color: #334155;
}

.kartya-ar-sor {
  margin-bottom: 14px;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ar-tol {
  font-size: 0.8rem;
  color: #64748b;
}

.eredeti-ar {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.85em;
}

.kartya-ar {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
}

.kartya-link {
  color: #0056b3;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}

/* Terméklap */
.ketoszlop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.fokep-keret {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  background: #f8fafc;
}

.fokep-keret img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.valaszto-blokk {
  margin: 20px 0;
}

.valaszto-blokk select {
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  margin-top: 6px;
  background-color: #ffffff;
  outline: none;
}

.valaszto-blokk select:focus {
  border-color: #3b82f6;
}

.ar-blokk {
  background: #f8fafc;
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}

.aktualis-ar {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e293b;
}

.afa-info {
  font-size: 0.8rem;
  color: #64748b;
}

.cikkszam-info {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 6px;
}

/* Designos Ajánlatkérő Form */
.urlap-kartya {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 10px;
}

.urlap-kartya h2 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 8px;
  font-weight: 700;
}

.mezo {
  margin-bottom: 20px;
}

.mezo label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1e293b;
}

.mezo input[type="text"],
.mezo input[type="email"],
.mezo input[type="tel"],
.mezo textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1e293b;
  background-color: #f8fafc;
  transition: all 0.2s ease-in-out;
  outline: none;
}

.mezo input[type="text"]:focus,
.mezo input[type="email"]:focus,
.mezo input[type="tel"]:focus,
.mezo textarea:focus {
  background-color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

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

.mezo-dupla {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mezo-checkbox {
  background: #f8fafc;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.mezo-checkbox label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
}

.mezo-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #0056b3;
  cursor: pointer;
}

.g-recaptcha {
  display: flex;
  justify-content: flex-start;
}

.adatvedelem {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 12px;
  text-align: center;
}

/* Táblázat */
.szekcio-resz {
  margin-top: 48px;
}

.tabla-csomag {
  overflow-x: auto;
}

.muszaki-tabla {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
}

.muszaki-tabla th, 
.muszaki-tabla td {
  border: 1px solid #e2e8f0;
  padding: 14px 16px;
  text-align: left;
}

.muszaki-tabla th {
  background: #f8fafc;
  font-weight: 600;
  color: #1e293b;
}

.akcios-szoveg {
  color: #1e293b;
}

/* Nem kattintható letöltések */
.letoltesek-blokk {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.letoltesek-lista {
  list-style: none;
  margin-top: 12px;
}

.letoltesek-lista li {
  margin-bottom: 10px;
}

.inaktiv-letoltes {
  color: #94a3b8;
  cursor: not-allowed;
  font-weight: 500;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.inaktiv-letoltes small {
  font-size: 0.8em;
  font-style: italic;
}

/* Lábléc */
.lablec {
  background: #1e293b;
  color: #ffffff;
  padding: 48px 0;
  margin-top: 60px;
}

.lablec-belso {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lablec a {
  color: #ffffff;
}

.lablec-logo {
  height: 40px;
  margin-bottom: 12px;
}

.lablec-jog {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Reszponzív nézet mobilra */
@media (max-width: 768px) {
  .shop-elrendezes, 
  .ketoszlop {
    grid-template-columns: 1fr;
  }

  #termek-lista {
    grid-template-columns: 1fr;
  }

  .urlap-kartya {
    padding: 20px;
  }
}

@media (max-width: 500px) {
  .mezo-dupla {
    grid-template-columns: 1fr;
    gap: 0;
  }
}