/* RESET */
* {
  margin: 0; padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  background: #111;
  color: #eee;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  background: #000;
  padding: 18px 0;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  color: #00ffc6;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.nav a {
  margin-left: 20px;
  color: #aaa;
  text-decoration: none;
  transition: .2s;
}

.nav a:hover {
  color: #00ffc6;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.intro-section {
  background: #1a1a1a; /* sötét háttér illeszkedik a webshophoz */
  color: #eee;
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid #222;
}

.intro-section h2 {
  font-size: 2.2rem;
  color: #00ffc6; /* neon highlight a címsornál */
  margin-bottom: 15px;
}

.intro-section p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 10px auto;
  color: #ccc;
}
.intro-section {
  background: #1a1a1a; /* sötét háttér illeszkedik a webshophoz */
  color: #eee;
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid #222;
}

.intro-section h2 {
  font-size: 2.2rem;
  color: #00ffc6; /* neon highlight a címsornál */
  margin-bottom: 15px;
}

.intro-section p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 10px auto;
  color: #ccc;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 8px; /* Enyhén lekerekített sarkok */
  object-fit: cover;
}



.cart-btn {
  cursor: pointer;
  font-size: 1.2rem;
}

/* PRODUCT GRID */
.page-title {
  margin: 40px 0 20px;
  font-size: 2rem;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
}

.product-card {
  background: #1a1a1a;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 0 0 transparent;
  transition: .2s;
}

.product-card:hover {
  box-shadow: 0 0 12px #00ffc644;
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  border-radius: 12px;
}

.product-card h3 {
  margin: 14px 0 5px;
}

.price {
  color: #00ffc6;
  font-weight: 600;
  margin-bottom: 10px;
}

.add-btn {
  background: #00ffc6;
  padding: 10px 0;
  border: none;
  width: 100%;
  border-radius: 8px;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.add-btn:hover {
  background: #00ddb1;
}

/* CART PANEL */
.cart-panel {
  position: fixed;
  top: 0;
  right: -350px;
  background: #181818;
  width: 320px;
  height: 100vh;
  padding: 22px;
  border-left: 1px solid #222;
  transition: .3s ease;
  z-index: 1200;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  right: 0;
}

#cartCloseBtn:hover {
    transform: scale(1.50);
    opacity: 0.7;
    color: #00ffc6;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
}

.cart-footer {
  margin-top: auto;
}

.total-line {
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.checkout {
  width: 100%;
  padding: 12px 0;
  background: #00ffc6;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

/* Termékkártya hover */
.product-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 255, 198, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Kosár gomb hover */
.add-btn:hover {
  background: linear-gradient(90deg, #00ffc6, #00ddb1);
  transform: scale(1.05);
  transition: 0.25s;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -350px;
  background: #181818;
  width: 320px;
  height: 100vh;
  padding: 22px;
  border-left: 1px solid #222;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 15px rgba(0,0,0,0.4);
  z-index: 1200;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  right: 0;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-5px);}
  to {opacity: 1; transform: translateY(0);}
}

.cart-item {
  animation: fadeIn 0.25s ease;
}

.add-btn {
  box-shadow: 0 2px 8px rgba(0, 255, 198, 0.3);
}

.add-btn:hover {
  box-shadow: 0 6px 16px rgba(0, 255, 198, 0.5);
}

.add-btn.added {
  transform: scale(1.2);
  background: #00ddb1;
}
