/* ===== adatlap.php egyedi stílusok ===== */



/* Headline finom árnyékkal */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Termékkártya - finom árnyék, hover effekt */
.product-card {
     display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, #1b1b1b, #222);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* Bal oldali kép */
.product-card img {
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card img:hover {
    transform: scale(1.05);
}

/* Kis képek alul */
.product-card .d-flex img {
    border: 2px solid #444;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-card .d-flex img:hover {
    border-color: #FFC107;
    transform: scale(1.1);
    cursor: pointer;
}
.table-modern th {
    font-weight: 600;
    text-align: left;
    color: #FFC107;
    width: 40%;
    padding: 10px 12px;
    vertical-align: top;
}

.description-top {
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 25px;
    background: rgba(0,0,0,0.55);
    padding: 18px 22px;
    border-radius: 10px;
    border-left: 6px solid #FFC107;
    backdrop-filter: blur(6px); /* gyönyörű üveg hatás */
}



.table-modern td {
    padding: 10px 12px;
    color: #ddd;
    border-left: 1px solid #333;
}
.table-modern tr:not(:last-child) td,
.table-modern tr:not(:last-child) th {
    border-bottom: 1px solid #2a2a2a;
}
/* Táblázat modernizálása */
.table th, .table td {
    padding: 12px 16px;
    vertical-align: middle;
    white-space: normal;  
    word-wrap: break-word;
}

.table th {
    font-weight: 600;
    color: #f5f5f5;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

.table td {
    color: #e0e0e0;
    border-bottom: 1px solid #2b2b2b;
}

.table tr:hover td {
    background-color: #2c2c2c;
}

/* Ár kiemelése modern, látványos */
.table td.text-warning.fw-bold {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFC107; /* egyszerű sárga */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

/* Gombok modern animációval */
.btn-outline-warning, .btn-outline-info {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.5);
}

.btn-outline-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.5);
}

/* Responsive finomítás */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .product-card .d-flex img {
        width: 60px;
        height: 45px;
        margin: 3px;
    }

    .table th, .table td {
        padding: 8px 10px;
    }

    h1 {
        font-size: 2rem;
    }
}

/* Extra: finom card-body padding */
.card-body {
    padding: 20px 25px;
}

/* Kis animáció az egész card hover-re */
.product-card {
    will-change: transform, box-shadow;
}
/* ===== Lightbox stílus ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
  text-align: center;
}

.lightbox-content {
max-width: 90vw;   /* a viewport 90%-a szélességben */
    max-height: 90vh;  /* a viewport 90%-a magasságban */
    width: auto;
    height: auto;
    object-fit: contain; /* ne vágja a képet, arányosan jelenjen meg */
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  color: white;
  font-size: 40px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
}

.lightbox-close {
  top: 10px; right: 25px;
  font-size: 50px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }


.product-card .card-body {
    margin-top: auto;
    text-align: center;
}


/* Táblázat egyszerűbb */
.table th {
    color: #FFC107;
    font-size: 1rem;
    font-weight: 600;
    background: transparent !important;
    border: none;
}

.table td {
    color: #ddd;
    border: none;
    background: transparent !important;
}
/* Thumbnail-ek */
.thumbnail {
    cursor: pointer;
    border: 2px solid #444;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: #FFC107;
    transform: scale(1.1);
}

/* Fő kép hover */
.main-img {
    width: 100%;
    max-height: 300 px;
    cursor: pointer;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-img:hover {
    transform: scale(1.05);
}
.thumb {
  width: 100px;
  height: 76px;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.thumb:hover {
  transform: scale(1.05);
  cursor: pointer;
}

