@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital@0;1&family=Russo+One&display=swap');

/* --- ALAPOK --- */
:root {
    --primary: #0B3551;
    --secondary: #8DAAD2;
    --dark: #333;
    --light: #f8f9fa;
    --white: #fff;
    --grey: #F3F3F3;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    /* background-color: #f4f4f4; */
    /* background-color: var(--white); */
    color: #444;
    line-height: 1.6;
    background: url('public/images/hatter.png') #063451;
    background-attachment: fixed;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.cat-list, .sidebar-submenu, .main-menu, .footer-links {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.icon {
    width: 25px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px
}

.social-icons i {
    color: var(--primary);
    transition: color 0.3s ease;
}

.social-icons a:hover .fa-square-facebook {
    color: #1877F2;
}

.social-icons a:hover .fa-youtube {
    color: #FF0000;
}

.social-icons a:hover .fa-square-whatsapp {
    color: #7AEB62;
}

.social-icons .fa-youtube,
.social-icons .fa-square-facebook,
.social-icons .fa-square-whatsapp {
    font-size: 24px;
}

@media (max-width: 520px) {
    .social-icons {
        display: none;
    }
}

.main-menu .dropdown:first-of-type {
    transform: translateX(-100px);
}

@media (max-width: 1100px) {
    .main-menu .dropdown:first-of-type {
        transform: translateX(-100px);
    }
}

@media (max-width: 900px) {
    .main-menu .dropdown:first-of-type {
        transform: translateX(0);
    }
}

/* --- TOP BAR (Email & Feliratkozás) --- */
.top-bar {
    background-color: #F3F3F3;
    color: var(--primary);
    padding: 10px 0;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subscribe-btn {
    background-color: var(--secondary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
}

.subscribe-btn:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

/* --- FEJLÉC & MENÜ --- */
header {
    background: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 49px;
    z-index: 1000;
    /* border-top: 5px solid var(--secondary); */
    border-bottom: 5px solid var(--secondary);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 55px;
    text-transform: uppercase;
}

.logo {
    font-size: 12px;
    /* font-weight: 800; */
    color: #000000;
    /* letter-spacing: -1px; */
    border: 5px solid #8DAAD2;
    border-radius: 50%;
    padding: 10px 10px;
    transform: translateY(30px);
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    width: 110px;
    height: 110px;
}

.logo2 {
    background: #fff;
    border: 5px solid var(--secondary);
    border-radius: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px;
    height: 110px;
    transform: translateY(30px);
}

/* .logo2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    font-weight: bold;
} */

.logo img {
    transform: translateY(3px);
}


.logo2 img {
    transform: translateY(6px);
}

.main-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-menu>li {
    position: relative;
}

.main-menu a {
    font-weight: 500;
    font-size: 14px;
    color: var(--white);
    padding: 10px 0;
}

.main-menu a:hover {
    color: var(--secondary);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Navigációs vezérlők (Hamburger + Mobil nyelvváltó) */
.nav-controls {
    display: none;
    /* Alapból rejtve, csak mobilon kell */
    align-items: center;
    gap: 15px;
}

.mobile-lang-switcher {
    display: flex;
    align-items: center;
}

/* Dropdown Menü */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 10px 0;
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: var(--primary);
    border-bottom: 1px solid #eee;
    font-size: 12px;
}

.dropdown-content a:hover {
    background-color: #f0f4ff;
    color: var(--primary);
}

/* --- FELSŐ SZEKCIÓ (Sidebar + Hero) --- */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    /* Bal oldali sáv fix, jobb oldal maradék */
    gap: 30px;
    margin-top: 70px;
    margin-bottom: 30px;
}

/* --- OLDALSÁV (SIDEBAR) KINYÍLÓ MENÜVEL --- */
.sidebar-cats {
    background: var(--white);
    border-radius: var(--radius);
    padding: 10px 0;
    /* A paddingot levettem, hogy a listaelemek szélig érjenek */
    box-shadow: var(--shadow);
    position: sticky;
    top: 170px;
    z-index: 90;
    align-self: start;
    /* Fontos a pozicionálás miatt */
    text-align: center;
}

.sidebar-cats h3 {
    margin: 10px 20px 15px 20px;
    font-size: 16px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    display: inline-block;
}

.cat-list {
    position: relative;
    padding: 0;
}

/* Fő kategória elem */
.cat-item {
    position: relative;
    /* Ez tartja helyben az almenüt */
    list-style: none;
}

.cat-item>a {
    display: flex;
    justify-content: space-between;
    /* Balról indulunk, de a tartalom kitölti a teret */
    align-items: center;
    padding: 12px 20px;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    font-size: 12px;
}

.cat-item>a:hover {
    background-color: #f0f4ff;
    color: var(--primary);
    padding-right: 25px;
    /* Jobbra mozdulás helyett balra, vagy padding növelés */
}

/* Ikonok és szöveg igazítása */
.cat-link-content {
    display: flex;
    align-items: center;
    flex-grow: 1;
    /* flex-direction: row-reverse; */
    /* Megfordítjuk: Szöveg - Ikon sorrend */
    justify-content: flex-start;
    text-align: left;
    /* Jobbra igazítás (row-reverse miatt a start a jobb oldal) */
    transition: all 0.3s ease;
}

.cat-item a:hover .cat-link-content{
    transform: translateX(-5px);
}

.cat-link-content i {
    width: 25px;
    color: var(--primary);
    margin-left: 10px;
    /* Ikon bal oldalán legyen hely */
    margin-right: 0;
    text-align: center;
}

/* Kis nyíl a bal szélen */
.cat-arrow {
    font-size: 12px;
    color: var(--secondary);
    /* Kiemeltebb szín */
    margin-right: 10px;
    transition: transform 0.3s;
}

.cat-item>a:hover .cat-arrow {
    transform: translateX(-3px);
    /* Hoverre kicsit balra mozdul */
}

/* --- A KINYÍLÓ ALMENÜ (SUBMENU) --- */
.sidebar-submenu {
    display: none;
    /* Alapból rejtve */
    position: absolute;
    right: 100%;
    left: auto;
    /* A szülő elem jobb szélétől indul */
    top: 0;
    width: 250px;
    /* Az almenü szélessége */
    background: var(--white);
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius) 0 var(--radius) var(--radius);
    padding: 10px 0;
    z-index: 1000;
    /* Hogy a slider FÖLÖTT jelenjen meg */
    border-right: 2px solid var(--primary);
    border-left: none;
}

/* Ha ráviszed az egeret a .cat-item-re, jelenjen meg az almenü */
.cat-item:hover .sidebar-submenu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.sidebar-submenu li {
    display: block;
}

.sidebar-submenu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 12px;
    color: #666;
    transition: 0.2s;
}

.sidebar-submenu li a:hover {
    color: var(--primary);
    background-color: #f0f4ff;
    /* transform: translateX(5px); */
    border-radius: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobilon rejtsük el a hover effektust, vagy alakítsuk át (itt most egyszerűsítve marad) */
@media (max-width: 900px) {
    .sidebar-cats {
        display: none;
    }

    /* Mobilon a hosszú lista zavaró lehet, érdemes harmonikára váltani JS-sel, de most elrejtjük a tisztaság kedvéért */
}

/* Jobb oldali tartalom (Slider + Céginfo) */
.hero-right {
    display: flex;
    flex-direction: column;
    /* gap: 30px; */
}

.nivoSlider {
    border-radius: 10px;
    border-left: 5px solid var(--secondary);
}

/* Céginfo doboz (a slider alatt) */
.intro-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary);
    /* border-right: 5px solid var(--secondary); */
    flex: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(90deg, #ffffff 30%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0) 100%), url(public/images/aboutus/rolunk_resz_termek_boritokep.jpg);
    background-size: cover;
    background-position: center;
}

.intro-box h2,
.intro-box h1 {
    margin-bottom: 15px;
    color: #000000;
    font-size: 1rem;
    max-width: 70%;
}

.intro-box p {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 70%;
}

.intro-links a {
    display: inline-block;
    margin-right: 15px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* --- KATEGÓRIÁK KÉPESEN (Ajánlatok helyett) --- */
.section-header {
    text-align: center;
    margin: 60px 0 40px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--secondary);
    margin: 10px auto 0;
}

.visual-cats-wrapper {
    position: relative;
    margin-bottom: 150px;
}

.visual-cats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-bottom: 150px;
}

@media (max-width: 1300px) {
    .visual-cats-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 900px) {
    .visual-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .intro-box h2 {
        font-size: 0.8rem;
    }

    .intro-box p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 600px) {
    .visual-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 530px) {
    .visual-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.visual-cats {
    overflow: hidden;
    padding: 10px 15px;
    background: #8DAAD220;
    border-radius: var(--radius);
}

.visual-cats-track {
    display: flex;
    gap: 30px;
    width: max-content;
    transition: transform 0.4s ease-in-out;
}

.v-cat-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 18px;
}

.v-cat-arrow:hover {
    background: var(--secondary);
}

.v-cat-arrow.prev {
    left: -60px;
}

.v-cat-arrow.next {
    right: -60px;
}

.v-cat-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.v-cat-dot {
    width: 12px;
    height: 12px;
    /* background: #ddd; */
    border: 1px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.v-cat-dot.active {
    background: var(--secondary);
    transform: scale(1.2);
}

.v-cat-card {
    /* background: var(--white); */
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    /* height: 220px; */
    flex: 0 0 165px;
}

.v-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.4s;
}

.v-cat-card:hover img {
    transform: scale(1.1);
}

.v-cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent); */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), 80%, transparent);
    color: #fff;
    padding: 5px 10px;
    color: var(--white);
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.v-cat-overlay h3 {
    font-size: 13px;
    margin: 0;
    text-align: center;
    font-weight: bold;
}

@media (max-width: 530px) {
    .v-cat-overlay h3 {
        font-size: 8px;
    }
}

/* --- RÓLUNK (Főoldalon) --- */
.about-section {
    /* background: #fff; */
    margin-top: 60px;
    padding: 50px;
    /* border-radius: var(--radius); */
    /* box-shadow: var(--shadow); */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    color: var(--white);
    margin-bottom: 150px;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50px;
    bottom: -50px;
    left: 50%;
    width: 100vw;
    /* width: 99.7vw; */
    margin-left: -50vw;
    background: var(--primary);
    /* background: #0B3551;
    background: linear-gradient(0deg,rgba(141, 170, 210, 0.1) 0%, rgba(11, 53, 81, 1) 15%, rgba(11, 53, 81, 1) 85%, rgba(237, 221, 83, 0) 100%);border-top: 5px solid var(--secondary); */
    border-bottom: 5px solid var(--secondary);
    border-top: 5px solid var(--secondary);
    z-index: -1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 70ch;
    hyphens: auto;
    text-align: justify;
    line-height: 1.4;
}

.about-text h2 {
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 1rem;
}

.about-img img {
    border-radius: var(--radius);
}

/* --- HÍREK / ÚJ GÉPEK --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.news-img-wrapper {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--secondary);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: bold;
}

.news-content {
    padding: 20px;
    flex-grow: 1;
}

.news-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.news-link:hover {
    padding-left: 5px;
}

.no-news-message {
    grid-column: 1 / -1;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark);
    border-left: 5px solid var(--secondary);
}

/* --- BŐVÍTETT LÁBLÉC --- */
footer {
    background-color: #222;
    border-top: 5px solid var(--secondary);
    border-bottom: 5px solid var(--secondary);
    color: #bbb;
    padding-top: 60px;
    margin-top: 0;
    /* Ha a hírlevél sáv felette van, nem kell margin */
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
    padding-bottom: 5px;
}

/* Footer Logó stílus */
.footer-logo {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    display: block;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Footer Linkek */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
    /* Kis animáció jobbra */
}

/* Footer Kapcsolat ikonok */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--secondary);
    margin-right: 15px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.contact-item a {
    transition: 0.3s;
}

.contact-item a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

/* Copyright csík */
.footer-bottom {
    background-color: #1a1a1a;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 20px;
    border-top: 5px solid var(--secondary);
}

/* --- NESTED DROPDOWN --- */
.dropdown-submenu {
    position: relative;
    transition: 0.3s;
}

.dropdown-submenu>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
}

.dropdown-submenu-content {
    display: none;
    position: absolute;
    /* Desktopon jobbra nyílik */
    left: 100%;
    top: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 10px 0;
    z-index: 101;
}

@media (min-width: 901px) {
    .dropdown-submenu:hover .dropdown-submenu-content {
        display: block;
    }
}

/* --- MOBIL --- */
@media (max-width: 1300px) {
    .v-cat-arrow.prev {
        left: 0;
    }

    .v-cat-arrow.next {
        right: 0;
    }

    .visual-cats-wrapper {
        padding: 0 45px;
    }
}

@media (max-width: 900px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    /* Logo méretezés mobilon */
    .logo,
    .logo2 {
        width: 70px;
        height: 70px;
        transform: translateY(30px);
        padding: 5px;
        position: relative;
        z-index: 9999;
    }

    .logo img{
        transform: translateY(1px);
    }
    .logo2 img{
        transform: translateY(4px);
    }

    /* .logo2 {
        width: 70px;
        height: 70px;
        transform: translateY(30px);
    } */

    /* .logo2 img {
        transform: translateY(0);
    } */

    /* .logo2 div {
        font-size: 10px;
    } */

    header {
        transform: translateY(-8px);
    }

    /* Elemek elrejtése/megjelenítése mobilon */
    .subscribe-btn {
        display: none;
    }

    .top-bar .lang-switcher {
        display: none !important;
    }

    .nav-controls {
        display: flex;
    }

    .hamburger-menu {
        display: block;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 20px 0;
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: calc(100vh - 100px);
        /* Egész menü görgethetősége */
        overflow-y: auto;
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu>li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .main-menu a {
        display: block;
        width: 100%;
    }

    .sidebar-cats {
        margin-bottom: 20px;
    }

    .v-cat-arrow.prev {
        left: 0;
    }

    .v-cat-arrow.next {
        right: 0;
    }

    .visual-cats-wrapper {
        padding: 0 45px;
    }

    /* Mobil dropdown kezelés */
    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 0;
    }

    .dropdown-content a {
        color: var(--white);
        padding-left: 40px;
    }

    .dropdown.active>a>i {
        transform: rotate(180deg);
    }

    /* Mobil almenü (nested dropdown) - Beágyazva nyílik */
    .dropdown-submenu-content {
        position: static;
        background-color: var(--primary);
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        border-left: 4px solid var(--secondary);
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    }

    .dropdown-submenu.active .dropdown-submenu-content {
        max-height: 1000px;
        opacity: 1;
    }

    .dropdown-submenu>a>i {
        transform: rotate(0deg);
        /* Alapból jobbra mutasson */
        transition: transform 0.3s;
    }

    .dropdown-submenu.active>a>i {
        transform: rotate(90deg);
        /* Ha aktív, mutasson lefelé */
    }

    .single-product-box {
        grid-template-columns: 1fr;
    }
}

/* --- CONTACT PAGE --- */
.contact-form-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary);
}

.contact-box-wrapper {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-hero .contact-box-wrapper {
    flex-grow: 1;
}

.contact-left h2 {
    margin-bottom: 15px;
    color: var(--primary);
}

.contact-right p {
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 14px;
}

@media (max-width: 900px) {
    .contact-box-wrapper {
        grid-template-columns: 1fr;
    }
}

.contact-form-box h1 {
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-form-box p {
    margin-bottom: 30px;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 20px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: none;
    outline: none;
    border-bottom: 1px solid #ddd;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--secondary);
}


/* --- SINGLE PRODUCT PAGE --- */
.single-product-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary);
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.product-images {
    overflow: hidden;
    border-radius: var(--radius);
    height: 270px;
    background-color: #f9f9f9;
    position: relative;
}

/* --- SIMPLE PRODUCT SLIDER --- */
.simple-product-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.prod-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-slide.active {
    opacity: 1;
    z-index: 1;
}

.prod-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.prod-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.prod-slider-btn:hover {
    background: var(--secondary);
    color: #fff;
}

.prod-slider-btn.prev {
    left: 10px;
}

.prod-slider-btn.next {
    right: 10px;
}

.product-details h1 {
    color: var(--primary);
}

.product-details h1 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.product-details .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 20px;
}

.product-details .description {
    line-height: 1.2;
    color: var(--dark);
}

/* --- TERMÉK LISTA (Product Grid) --- */
.products-grid {
    display: grid;
    /* Javítottam a minmax értéket 400px-re, hogy a kártyák szépen elférjenek */
    grid-template-columns: 1fr;
    gap: 30px;
}

.product-card {
    padding: 10px;
    border-left: 5px solid var(--secondary);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    display: flex;
    flex-direction: row;
    cursor: pointer;
}

.product-card:hover {
    background: var(--grey);
}

.prod-img {
    width: 204px;
    height: 245px;
    flex-shrink: 0;
    /* Fontos, hogy a kép ne nyomódjon össze */
}

.prod-img img {
    width: 100%;
    height: 100%;
}

.prod-img .main-img {
    object-fit: contain;
    transition: transform 0.3s;
    border-radius: 10px;
}

.prod-img .placeholder-img {
    object-fit: cover;
}

.prod-info {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 14px;
}

.prod-next {
    text-align: right;
    transition: 0.3s;
}

.product-card:hover .prod-next {
    padding-right: 5px;
}

.prod-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark);
}

.cat-desc-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary);
}

.margin-bottom {
    margin-bottom: 30px;
}


.cat-desc-box h2 {
    margin-bottom: 15px;
    color: var(--primary);
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.cat-desc-text {
    line-height: 1.2;
    color: var(--dark);
}

.haviarak {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
}

.big {
    grid-column: 1 / -1;
    /* 🔥 teljes szélesség */
}

.big {
    height: 280px;
}

.small {
    height: 140px;
}

.haviarak img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

@media (max-width: 630px) {
    .product-card {
        display: flex;
        flex-direction: column;
    }

    .prod-img {
        align-self: center;
    }
}

/* --- ÁRLISTA (Havi árak) --- */
/* .price-list-container {
    padding: 20px 0;
} */

.price-list-title {
    text-align: center;
    color: var(--primary);
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: bold;
}

.price-list-banner {
    background-color: red;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    font-size: 18px;
    margin-bottom: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.price-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.legend-item {
    padding: 5px 10px;
    font-size: 13px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid var(--primary);
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.price-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 600px;
    font-size: 13px;
}

.price-table th,
.price-table td {
    padding: 2px 15px;
    border: 1px solid var(--secondary);
    text-align: center;
}

.price-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.price-table td:first-child {
    text-align: left;
    font-weight: 600;
}

/* Mobile Responsive for Table */
@media (max-width: 768px) {
    .price-table-wrapper {
        box-shadow: none;
        overflow-x: visible;
    }

    .price-table {
        min-width: 100%;
        display: block;
    }

    .price-table thead {
        display: none;
    }

    .price-table tbody,
    .price-table tr,
    .price-table td {
        display: block;
        width: 100%;
    }

    .price-table tr {
        margin-bottom: 5px;
        border: 1px solid #ddd;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        overflow: hidden;
    }

    .price-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .price-table td:last-child {
        border-bottom: none;
    }

    .price-table td::before {
        content: attr(data-label);
        font-weight: bold;
        text-align: left;
        color: var(--dark);
        /* opacity: 0.7; */
    }

    .price-table td:first-child {
        text-align: center;
        display: block;
        padding: 5px;
        font-size: 12px;
        /* border-bottom: 2px solid rgba(0, 0, 0, 0.1); */
    }

    .price-table td:first-child::before {
        display: none;
    }
    .legend-item {
        padding: 0;
    }
    .price-list-banner {
        font-size: 14px;
        padding: 5px;
    }
}

.price-list-footer {
    background: #fff;
    padding: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary);
    line-height: 1.8;
    font-size: 12px;
}