/* [egyedi_termekek] termékrács – szur arculat, a Claude Design vászon „Termékrács (landing)” lapjának
   A – Kártya változata (szur-termekracs.css). A színek a szur design system tokenjei, tartalékértékkel. */
.egyedi-termekek-container { display: grid; gap: 20px; margin: 0; font-family: 'Poppins', var(--font-sans, sans-serif), sans-serif; }
.egyedi-termekek-container * { box-sizing: border-box; }
.egyedi-termekek-container.oszlopok-1 { grid-template-columns: minmax(0, 1fr); }
.egyedi-termekek-container.oszlopok-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.egyedi-termekek-container.oszlopok-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.egyedi-termekek-container.oszlopok-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.egyedi-termek { position: relative; display: flex; flex-direction: column; min-width: 0; width: 100%; background: #fff; border: 1px solid #d4d4d4; border-radius: var(--kerekites-16, 16px); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.egyedi-termek:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .1); transform: translateY(-2px); }

.egyedi-termek .termek-kep { position: relative; margin: 0; }
.egyedi-termek .termek-kep a { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--felulet-termek, #e3d9e1); overflow: hidden; }
.egyedi-termek .termek-kep img { width: 100%; height: 100%; max-width: none; margin: 0 !important; object-fit: contain; transition: transform .3s ease; }
.egyedi-termek:hover .termek-kep img { transform: scale(1.03); }
.egyedi-termek .termek-kedvezmeny { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--kerekites-pill, 30px); background: var(--akcios-ar, #d60a0a); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }

.egyedi-termek .termek-info { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; text-align: left; background: #fff; }
.egyedi-termek .termek-nev { margin: 0; font-family: inherit; font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--szoveg, #1d1d1d); text-wrap: balance; }
.egyedi-termek .termek-nev a { color: inherit !important; text-decoration: none !important; }
.egyedi-termek .termek-nev a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* az egész kártya kattintható */
.egyedi-termek .termek-nev a:hover { color: var(--lila, #824e8b) !important; }

.egyedi-termek .termek-ar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--szoveg, #1d1d1d); }
.egyedi-termek .termek-ar .akcios-ar, .egyedi-termek .termek-ar ins { color: var(--akcios-ar, #d60a0a); text-decoration: none; font-size: inherit; font-weight: 700; }
.egyedi-termek .termek-ar .eredeti-ar, .egyedi-termek .termek-ar del { display: inline; font-size: 14px; font-weight: 400; color: var(--szoveg-athuzott, #8a8a8a); text-decoration: line-through; }
.egyedi-termek .termek-ar del { order: 2; }

.egyedi-termek .kosarba-gomb { position: relative; z-index: 2; margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.egyedi-termek .kosarba-gomb .button { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; height: auto; margin: 0 !important; padding: 0 18px !important; border: 0 !important; border-radius: var(--kerekites-pill, 30px) !important; background: var(--lila, #824e8b) !important; color: #fff !important; font-family: inherit; font-size: 15px !important; font-weight: 600 !important; line-height: 1.2; text-align: center; text-decoration: none !important; white-space: nowrap; cursor: pointer; transition: background-color .2s ease; }
.egyedi-termek .kosarba-gomb .button:hover { background: var(--turkiz, #008c86) !important; }
/* Bevásárlótáska ikon (Lucide shopping-bag) a kosárba tevő gombon */
.egyedi-termek .kosarba-gomb .add_to_cart_button::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat; }
.egyedi-termek .kosarba-gomb .button.loading { opacity: .7; }
.egyedi-termek .kosarba-gomb .added_to_cart { font-size: 14px; font-weight: 600; color: var(--lila, #824e8b); }
.egyedi-termek .tovabbi-info-link { display: inline; margin: 0; color: var(--szoveg-test, #4a4a4a) !important; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #c9c9c9; }
.egyedi-termek .tovabbi-info-link:hover { color: var(--lila, #824e8b) !important; text-decoration-color: currentColor; }
.egyedi-termek a:focus-visible { outline: 2px solid var(--lila, #824e8b); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 1024px) {
  .egyedi-termekek-container.oszlopok-3, .egyedi-termekek-container.oszlopok-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  /* mobilon is 2 oszlop (1 oszlopos beállításnál 1), tömörebb kártya */
  .egyedi-termekek-container.oszlopok-2, .egyedi-termekek-container.oszlopok-3, .egyedi-termekek-container.oszlopok-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .egyedi-termek .termek-info { padding: 12px 12px 14px; }
  .egyedi-termek .termek-nev { font-size: 14px; }
  .egyedi-termek .termek-ar { font-size: 15px; margin-bottom: 6px; }
  .egyedi-termek .termek-ar .eredeti-ar, .egyedi-termek .termek-ar del { font-size: 12px; }
  .egyedi-termek .kosarba-gomb .button { min-height: 40px; padding: 0 8px !important; font-size: 13px !important; }
  .egyedi-termek .kosarba-gomb .add_to_cart_button::before { display: none; }
  .egyedi-termek .tovabbi-info-link { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .egyedi-termek, .egyedi-termek .termek-kep img { transition: none; } .egyedi-termek:hover { transform: none; } }
