/* Amíg nem futott le a fordítás, elrejtjük az elemeket a vibrálás elkerülésére */
html.lang-loading body {
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

html.lang-loaded body {
    opacity: 1;
}

/*  ALAPBEÁLLÍTÁSOK */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    color: #333;
    overflow-x: hidden;
    font-family: 'Arial', sans-serif;
    padding-top: 90px;
}

.container-custom {
    max-width: 1200px;
}

/* --- NAVIGÁCIÓ --- */
.main-header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #fff;
    z-index: 1000;
    width: 100%;
}

/* Felső menüsorban elhelyezett logó méretezése */
.logo img {
    max-width: 100%;
    height: auto;
    width: 180px;
}

.nav-menu a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #FD6506;
}

/* --- INTERFÉSZ ELEMEK --- */
.header-actions {
    display: flex;
    gap: 10px;
}

.custom-select-dark {
    max-width: 110px;
    border: 1px solid #ccc;
    color: #333;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding-right: 25px !important;
    background-position: right 8px center !important;
    background-size: 10px 10px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select-dark:focus {
    border-color: #FD6506;
    box-shadow: 0 0 0 0.2rem rgba(253, 101, 6, 0.15);
}

.custom-search-group {
    max-width: 180px;
}

.custom-search-group .form-control {
    border: 1px solid #ccc;
    font-size: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-search-group .form-control:focus {
    border-color: #FD6506;
    box-shadow: 0 0 0 0.2rem rgba(253, 101, 6, 0.15);
    z-index: 3;
}

.btn-custom-action {
    background-color: #fff;
    border: 1px solid #ccc;
    border-left: none;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-custom-action:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

.btn-custom-action:focus {
    box-shadow: 0 0 0 0.2rem rgba(253, 101, 6, 0.15);
    border-color: #FD6506;
    z-index: 3;
}

.search-icon {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.btn-custom-action:hover .search-icon {
    transform: scale(1.15);
}

.btn-custom-red {
    background-color: #FD6506;
    border-color: #FD6506;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-custom-red:hover, .btn-custom-red:focus {
    background-color: #d45202;
    border-color: #d45202;
    color: #fff;
}

/* --- ARCULATI ÉRTESÍTÉSI SÁV --- */
.custom-alert-banner {
    position: absolute;
    bottom: -43px;
    left: 0;
    width: 100%;
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #FD6506;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 999;
}

.custom-alert-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    height: 550px;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 2;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 900px;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease-in-out;
}

.slide.active .hero-content {
    transform: translateX(0);
    opacity: 1;
}

.hero-subtitle {
    font-size: 24px;
    color: #FD6506;
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-size: 38px;
    color: #111;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 16px;
    color: #444;
    margin-bottom: 35px;
    line-height: 1.6;
}

.btn-products {
    display: inline-block;
    padding: 14px 40px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background-color: transparent;
    border-radius: 10px;
}

.btn-products:hover {
    background-color: #FD6506;
    color: #fff;
    border-color: #FD6506;
    border-radius: 10px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent; 
    color: black;
    border: none;
    font-size: 24px;
    padding: 18px 22px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, color 0.3s ease;
    user-select: none;
}

.slider-btn:hover {
    background: rgba(253, 101, 6, 0.9);
    color: #fff;
}

.prev-btn { left: 0; border-radius: 0 4px 4px 0; }
.next-btn { right: 0; border-radius: 4px 0 0 4px; }

/* --- KÁRTYÁK SZAKASZ --- */
.cards-section {
    display: flex;
    justify-content: space-between;
    padding: 60px 5%;
    gap: 30px;
    background-color: #fff;
}

.card {
    flex: 1;
    height: 280px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.card-1::before { background-image: url('/Kepek/gep1_kismeret.webp'); }
.card-2::before { background-image: url('/Kepek/gep2_kismeret.webp'); }
.card-3::before { background-image: url('/Kepek/sorok_kismeret.webp'); }

.card:hover::before {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: background 0.3s ease;
    z-index: 2;
}

.card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.card-overlay h2 {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    border-bottom: 2px solid #FD6506;
    padding-bottom: 8px;
    align-self: flex-start;
    font-weight: 700;
}

.card-overlay p {
    font-size: 13px;
    line-height: 1.6;
    color: #eee;
}

/* --- RÓLUNK RÖVIDEN ÉS RÓLUNK OLDAL --- */
.section-title {
    font-size: 26px;
    color: #111;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #FD6506;
}

.about-brief-section {
    background-color: #fdfdfd;
}

.about-text {
    font-size: 18px !important;
    line-height: 1.8;
    color: #555 !important;
}

/* KÉPEK ÁRNYÉKOLÁSA ÉS KEREKÍTÉSE A RÓLUNK OLDALON */
main img.img-fluid, 
.img-fluid.rounded,
.img-fluid.rounded-3 {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main img.img-fluid:hover, 
.img-fluid.rounded:hover,
.img-fluid.rounded-3:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18) !important;
}

/* --- HÍRLEVÉL --- */
.newsletter-section {
    background-color: #fff;
}

.newsletter-box {
    background-color: #f4f4f4;
    border-left: 5px solid #FD6506;
    border-radius: 4px;
}

.newsletter-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.newsletter-desc {
    font-size: 14px;
}

.newsletter-form .form-label {
    font-size: 13px;
    color: #444;
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
}

.newsletter-form .form-control {
    font-size: 14px;
    border: 1px solid #ccc;
    padding: 10px 15px;
}

.newsletter-form .form-control:focus {
    border-color: #FD6506;
    box-shadow: 0 0 0 0.2rem rgba(253, 101, 6, 0.15);
}

/* --- FŐ OLDAL KIEGÉSZÍTŐ SZOLGÁLTATÁSOK --- */
.info-grid-section {
    background-color: #f9f9f9;
}

.info-card {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.info-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    border-bottom: 2px solid #f4f4f4;
    padding-bottom: 12px;
}

.info-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3; 
    overflow: hidden;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.info-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%);
}

.info-card-text {
    font-size: 16px;
    line-height: 1.6;
}

/* KAPCSOLAT KÁRTYA */
.contact-card {
    background-color: #fff;
}

.contact-intro {
    font-size: 14px;
}

.contact-item {
    font-size: 14px;
    color: #444;
}

.contact-icon {
    font-size: 16px;
    line-height: 1;
}

.contact-link {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #FD6506;
}

/* --- LÁBLÉC (FOOTER) --- */
.main-footer {
    background-color: #1a1a1a;
    color: #fff;
    font-size: 14px;
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 35px;
    height: 2px;
    background-color: #FD6506;
}

.footer-company-info p {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #bbb !important;
}

.footer-url {
    color: #FD6506;
    text-decoration: none;
    font-weight: bold;
}

.footer-url:hover {
    text-decoration: underline;
}

.footer-socials .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #2a2a2a;
    color: #ccc;
    text-decoration: none;
    border-radius: 2px;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-socials .social-icon:hover {
    background-color: #FD6506;
    color: #fff;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links {
    text-align: left;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-search-group .form-control {
    background-color: #2a2a2a;
    border: 1px solid #333;
    color: #fff;
    font-size: 13px;
}

.footer-search-group .form-control::placeholder {
    color: #666;
}

.footer-search-group .form-control:focus {
    background-color: #333;
    border-color: #FD6506;
    box-shadow: none;
    color: #fff;
}

.footer-divider {
    border-top: 1px solid #2a2a2a;
}

/* --- TERMÉK ALOLDAL SPECIFIKUS CSS STÍLUSAI --- */
.main-content-padding {
    margin-top: 30px;
}

.page-main-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #111;
}

/* --- OLDALSÁV (SIDEBAR) --- */
.sidebar-wrapper {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
}

.sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    border-bottom: 2px solid #FD6506;
    padding-bottom: 6px;
    letter-spacing: 0.5px;
}

.sidebar-search-group .form-control {
    font-size: 13px;
    border: 1px solid #ccc;
}

.sidebar-search-group .form-control:focus {
    border-color: #FD6506;
    box-shadow: 0 0 0 0.2rem rgba(253, 101, 6, 0.15);
}

.btn-sidebar-action {
    background-color: #222;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #222;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
}

.btn-sidebar-action:hover {
    background-color: #FD6506;
    border-color: #FD6506;
    color: #fff;
}

.category-list li {
    border-bottom: 1px solid #f4f4f4;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: block;
    padding: 8px 4px;
    color: #444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease, padding-left 0.2s ease;
    text-transform: uppercase;
}

.category-list a:hover {
    color: #FD6506;
    padding-left: 6px;
}

.subcategory-list a {
    font-weight: normal;
    color: #666;
    font-size: 12px;
}

/* --- KATALÓGUS VEZÉRLŐSÁV --- */
.sorting-select {
    font-size: 13px;
    border: 1px solid #ccc;
    min-width: 200px;
}

.sorting-select:focus {
    border-color: #FD6506;
    box-shadow: 0 0 0 0.2rem rgba(253, 101, 6, 0.15);
}

.btn-view-mode {
    background-color: #222;
    color: #fff;
    border: 1px solid #222;
    font-size: 14px;
    padding: 2px 8px;
}

.btn-view-mode.active, .btn-view-mode:hover {
    background-color: #fff;
    color: #222;
    border-color: #ccc;
}

.custom-pagination .page-link {
    color: #222;
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 5px 10px;
    font-weight: bold;
}

.custom-pagination .page-item.active .page-link {
    background-color: #222;
    border-color: #222;
    color: #fff;
}

.custom-pagination .page-link:hover:not(.disabled) {
    background-color: #FD6506;
    border-color: #FD6506;
    color: #fff;
}

/* --- TERMÉKKÁRTYÁK ÉS KÉPEK (PRODUCT GRID) --- */
.product-item-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.product-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.product-image-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f8f9fa;
    border-bottom: 1px solid #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.product-img-holder img,
.product-image-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important; /* Középre zárunk, így a gép lényegi része tökéletesen látszik */
    border-radius: 8px;
}

.product-item-card:hover .product-image-box img {
    transform: scale(1.03);
}

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.product-rating {
    font-size: 11px;
    letter-spacing: 1px;
}

/* Fix "színpad" a kártyáknak */
.product-viewport {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    height: 900px;
    overflow: hidden;
    align-content: start;
    width: 100%;
}

/* --- EGYEDI GOMB STÍLUSOK --- */
.btn-webshop {
    background-color: transparent;
    border: 2px solid #FD6506;
    color: #FD6506;
    transition: all 0.3s ease;
}

.btn-webshop:hover {
    background-color: #FD6506;
    color: #ffffff;
}

.btn-orange-custom {
    background-color: #FD6506;
    color: #ffffff;
    border: none;
    transition: background-color 0.3s ease;
    padding: 0.375rem 0.75rem;
    text-decoration: none;
    display: inline-block;
    border-radius: 0.375rem;
}

.btn-orange-custom:hover {
    background-color: #d95505;
    color: #ffffff;
}

/* Elsődleges gomb (SpecProduct & Rólunk) */
.btn-dr-primary {
    background-color: #FD6506;
    color: #fff;
    border: 1px solid #FD6506;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-dr-primary:hover {
    background-color: #d95505;
    border-color: #d95505;
    color: #fff;
    box-shadow: 0 4px 12px rgba(253, 101, 6, 0.3);
}

/* --- RESZPONZÍV BEÁLLÍTÁSOK --- */
@media (max-width: 1200px) { 
    .product-viewport { grid-template-columns: repeat(2, 1fr); } 
}

@media (max-width: 992px) {
    .hero-title { font-size: 30px; }
    .hero-slider { height: 480px; }
}

@media (max-width: 768px) {
    body {
        padding-top: 180px;
    }

    .main-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px 5%;
    }
    
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-menu a {
        margin: 0 8px;
    }

    .hero-slider { height: 450px; }
    .hero-title { font-size: 24px; }
    .hero-subtitle { font-size: 18px; }

    .slider-btn {
        padding: 12px 16px;
        font-size: 18px;
    }

    .cards-section {
        flex-direction: column;
        gap: 20px;
        padding: 40px 5%;
    }
    
    .card { height: 220px; }
    
    .custom-alert-banner {
        bottom: -80px;
    }
    
    .newsletter-box {
        text-align: center;
        border-left: none;
        border-top: 5px solid #FD6506;
    }
    
    .info-image-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .catalog-control-bar {
        flex-direction: column;
        align-items: flex-start !important;
    }
}

@media (max-width: 576px) {
    .catalog-control-bar {
        justify-content: center !important;
    }

    .product-viewport { 
        grid-template-columns: 1fr; 
    }

    .product-responsive-row .col-12 {
        width: 100%;
    }

    .product-item-card {
        flex-direction: row !important;
        align-items: center;
        text-align: left !important;
        height: auto;
        padding: 8px;
    }

    .product-image-box {
        width: 100px !important;
        height: 75px !important;
        aspect-ratio: auto;
        border-bottom: none;
        border-right: 1px solid #f4f4f4;
        flex-shrink: 0;
        padding: 4px;
    }

    .product-info {
        padding: 0 0 0 12px !important;
        align-items: flex-start;
        justify-content: center;
    }

    .product-item-title {
        font-size: 14px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        margin-bottom: 4px;
    }

    .product-rating {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* --- SÜTI (COOKIE) BANNER STÍLUS --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    color: #fff;
    z-index: 9999;
    border-top: 3px solid #FD6506;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.cookie-banner button:hover {
    background-color: #d95505 !important;
}

/* Termékfőkép lapozó nyilak */
.product-image-box {
    position: relative;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    font-size: 1.5rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 4px;
}

.gallery-nav-btn:hover {
    background-color: #FD6506;
    color: #ffffff;
}

.gallery-nav-btn.prev-btn {
    left: 10px;
}

.gallery-nav-btn.next-btn {
    right: 10px;
}

/* === MOBILOS FŐOLDALI JAVÍTÁSOK === */
@media (max-width: 768px) {
    .hero-section,
    .hero-slider,
    .carousel,
    .carousel-inner,
    .carousel-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .row.mt-4, 
    .row.g-4,
    .cards-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .card,
    .feature-card,
    .info-card,
    [class*="card1"],
    [class*="card2"],
    [class*="card3"] {
        width: 100% !important;
        min-height: 220px !important;
        height: auto !important;
        margin-bottom: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
    }
}

/* === FOOTER (LÁBLÉC) MOBILOS KÖZÉPRE IGAZÍTÁSA === */
@media (max-width: 768px) {
    footer,
    .footer,
    footer .container,
    footer .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    footer .col,
    footer [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 25px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    footer h4::after,
    footer h5::after,
    footer .footer-title::after,
    footer h3::after {
        margin: 8px auto 0 auto !important;
    }

    footer ul {
        padding-left: 0 !important;
        list-style: none !important;
        text-align: center !important;
    }

    footer ul li {
        margin-bottom: 8px !important;
        text-align: center !important;
    }

    footer .copyright,
    footer .text-muted,
    footer p {
        text-align: center !important;
        width: 100% !important;
    }
}

/* === SPECPRODUCT TELJES KÖZÉPRE IGAZÍTÁS MOBILON === */
@media (max-width: 768px) {
    .product-detail-container,
    .spec-product-container,
    .product-details,
    main .row > div,
    main .col-md-6,
    main .col-lg-6 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .product-image-box,
    #main-product-image,
    .main-image-container,
    .product-detail-image img {
        display: block !important;
        margin: 0 auto 15px auto !important;
        float: none !important;
    }

    .thumbnail-container,
    .product-gallery,
    .thumb-img-container,
    .d-flex.gap-2,
    .flex-wrap {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        margin: 10px auto 15px auto !important;
    }

    .badge,
    .category-badge,
    [class*="badge"] {
        display: inline-block !important;
        margin: 10px auto !important;
        text-align: center !important;
    }

    #btn-quote-spec,
    .btn-request-quote-main,
    .btn-add-to-cart,
    a.btn-orange,
    [data-key="btn_request_quote_main"] {
        display: inline-block !important;
        margin: 20px auto !important;
        width: 90% !important;
        max-width: 320px !important;
        text-align: center !important;
        float: none !important;
    }
}

/* === KAPCSOLAT OLDAL MOBILOS JAVÍTÁSA === */
@media (max-width: 768px) {
    .contact-section img,
    .contact-image img,
    form img,
    main img {
        width: 100% !important;
        max-width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        display: block !important;
        margin: 0 auto 20px auto !important;
    }

    form,
    .form-container,
    #contact-form {
        width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="tel"],
    form textarea,
    .form-control {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
        font-size: 16px !important;
        border-radius: 6px !important;
        border: 1px solid #ccc !important;
        box-sizing: border-box !important;
        margin-bottom: 15px !important;
    }

    form label {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 6px !important;
        font-weight: 600 !important;
    }

    form button[type="submit"],
    form .btn-submit,
    form .btn {
        width: 100% !important;
        padding: 12px !important;
        font-size: 16px !important;
        margin-top: 10px !important;
    }
}

/* === KAPCSOLAT OLDAL ASZTALI/KÖZEPES NÉZET CSÚSZÁS JAVÍTÁSA === */
.contact-section .row,
main .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
}

.contact-section .col-md-6,
main .col-md-6 {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
}

.contact-section img,
.contact-image img,
main img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    position: static !important;
    border-radius: 8px !important;
}

form,
.form-container {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
}

@media (max-width: 992px) {
    .contact-section .col-md-6,
    main .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 30px !important;
    }
}

/* ===========================================================
   INPUT MEZŐK SÖTÉTÍTÉSE ÉS STÍLUSA
=========================================================== */
.form-control {
    background-color: #f2f4f7 !important;
    border: 1px solid #d0d7de !important;
    border-radius: 8px !important;
    color: #1f2937 !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    transition: all 0.2s ease-in-out !important;
}

.form-control:focus {
    background-color: #ffffff !important;
    border-color: #FD6506 !important;
    box-shadow: 0 0 0 3px rgba(253, 101, 6, 0.2) !important;
    outline: none !important;
}

.form-control::placeholder {
    color: #8c98a4 !important;
    opacity: 1 !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #1f2937 !important;
    -webkit-box-shadow: 0 0 0px 1000px #f2f4f7 inset !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* Webshop Pop-up Stílusok */
.webshop-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.webshop-popup-overlay.show {
    opacity: 1;
}

.webshop-popup-card {
    background: #1e2227;
    border: 1px solid rgba(253, 101, 6, 0.4);
    border-radius: 16px;
    padding: 35px 25px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(253, 101, 6, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.webshop-popup-overlay.show .webshop-popup-card {
    transform: scale(1);
}

.webshop-popup-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.webshop-popup-close:hover {
    color: #ffffff;
}

.webshop-popup-badge {
    display: inline-block;
    background: rgba(253, 101, 6, 0.15);
    color: #FD6506;
    border: 1px solid rgba(253, 101, 6, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.webshop-popup-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.webshop-popup-text {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* FŐ GOMB (NARANCSSÁRGA KINÁLATGOMB) */
.webshop-popup-btn-primary {
    background: #FD6506;
    color: #ffffff !important;
    font-weight: 600;
    padding: 10px 22px;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 15px rgba(253, 101, 6, 0.4);
    border: none;
}

.webshop-popup-btn-primary:hover {
    background: #e05500;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 101, 6, 0.6);
}

/* MÁSODLAGOS KIS GOMB (SÖTÉTSZÜRKE BEZÁRÓ GOMB) */
.webshop-popup-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    font-weight: 500;
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease-in-out;
}

.webshop-popup-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}