/* Belteri Ajtó Katalógus Frontend Stílusok */

/* Alap stílusok */
.belteri-single-product {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    /* background: #f5f5f5;*/
    font-family: 'Cabin Condensed', Helvetica, Arial, Lucida, sans-serif;
}

.belteri-category-page,
.category-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: white;
}

/* Breadcrumb */
.breadcrumb {
    background: #f5f5f5;
    padding: 15px 15px;
    margin-bottom: 20px;
    font-size: 14px;
    border-radius: 8px;
    color: #666;
    font-family: 'Cabin Condensed', Helvetica, Arial, Lucida, sans-serif;
}

.breadcrumb a {
    color: #d40075;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb .current {
    color: #3d3d3b;
    font-weight: bold;
}

/* Kategória címe */
.category-header {
    margin-bottom: 30px;
}

.category-title {
    font-size: 48px;
    font-weight: bold;
    color: #3d3d3b;
    margin: 0 0 10px 0;
    text-align: center;
}

.title-underline {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, #d40075, #ff6b9d);
    margin: 0 auto;
    border-radius: 2px;
}

/* Kategória leírása */
.category-description {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.category-description h2 {
    font-size: 24px;
    color: #3d3d3b;
    margin: 0 0 10px 0;
}

.welcome-text {
    font-size: 18px;
    color: #666;
    margin: 0 0 15px 0;
}

.description-content {
    margin-bottom: 15px;
    color: #555;
}

.info-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Promóciós banner */
.promo-banner {
    background: linear-gradient(135deg, #d40075, #ff6b9d);
    color: white;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 0;
    /* Alacsony z-index, hogy ne takarja a menüt (Divi menü általában 2000 körül van) */
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.banner-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Termékek vezérlők */
.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.results-info {
    font-size: 14px;
    color: #666;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-controls label {
    font-size: 14px;
    color: #666;
}

.sort-controls select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
}

/* Termékek grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.no-image {
    color: #999;
    font-size: 14px;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #3d3d3b;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.product-price {
    text-align: center;
}

.price {
    display: inline-block;
    background: #d40075;
    color: white;
    padding: 8px 16px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.price:hover {
    background: #b3005f;
}

.product-price .sale-price {
    display: inline-block;
    background: #d40075;
    color: white;
    padding: 8px 16px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 18px;
    margin-right: 8px;
}

.product-price .original-price {
    display: inline-block;
    text-decoration: line-through;
    color: #999;
    font-size: 15px;
    font-weight: 700;
}

.product-price .quote-request {
    display: inline-block;
    color: #0073aa;
    font-weight: 500;
    font-size: 14px;
}

.product-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Load More gomb - BIZTOSAN LÁTHATÓ */
.load-more-container {
    text-align: center;
    margin: 40px 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
}

.load-more-btn {
    background: linear-gradient(135deg, #d40075, #ff6b9d) !important;
    color: white !important;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 25px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(212, 0, 117, 0.3) !important;
    display: block !important;
    margin: 0 auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 0, 117, 0.4);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    margin-left: 10px;
}

/* Pagination - VISSZAHOZVA */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    background: white;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #d40075;
    color: white;
    border-color: #d40075;
}

.page-link.current {
    background: #d40075;
    color: white;
    border-color: #d40075;
}

.page-link.prev,
.page-link.next {
    font-weight: bold;
}

/* Termék oldal stílusok */
.product-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 800px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 120px;
    /* Felső menü magassága + padding */
    z-index: 1;
    /* Alacsony z-index alapból, hogy ne takarja a menüt */
    max-height: calc(100vh - 140px);
    /* Teljes képernyő magasság - header */
}

/* Csak sticky állapotban magas z-index */
.main-image.is-sticky {
    z-index: 2001;
    /* Magasabb, mint a desktop menü (2000), de alacsonyabb, mint a mobil menü (9999) */
}

.main-image a.thickbox {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

.main-image a.thickbox:hover {
    opacity: 0.95;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.sticky-main-image-img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 140px);
    object-fit: contain;
}

.no-variations-message {
    color: #666;
    font-style: italic;
}

.variation-gallery {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Variations wrapper desktop nézetben */
.variations-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    position: static; /* Desktop nézetben nem sticky */
}

.variations-wrapper .variation-gallery {
    flex: 1;
    margin-bottom: 0;
}

/* Mobil variációk elrejtése desktop nézetben */
@media (min-width: 769px) {
    .mobile-variations {
        display: none;
    }
    
    .desktop-variations {
        display: block;
    }
}

.gallery-header {
    background: #3d3d3b;
    color: white;
    padding: 10px 15px;
    margin: -20px -20px 15px -20px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
}

.gallery-title {
    font-size: 16px;
}

.variation-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.variation-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f8f8;
    /*min-width: 80px;*/
    max-width: 100px;
    min-width: 100px;
}

.variation-thumb:hover {
    border-color: #d40075;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 0, 117, 0.2);
}

.variation-thumb.active {
    border-color: #d40075;
    background: #fdf2f8;
}

.variation-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 6px;
    border: 1px solid #e0e0e0;
}

.color-name,
.combination-name {
    font-size: 11px;
    font-weight: 500;
    color: #555;
    text-align: center;
    margin-top: -10px;
    text-wrap-mode: inherit;
}

.glass-name {
    font-size: 10px;
    color: #666;
    text-align: center;
}

.product-details {
    padding: 20px 0;
}

.product-title {
    font-size: 32px;
    margin: 0 0 15px 0;
    color: #3d3d3b;
    font-weight: bold;
}

/* Termék neve mobilon elrejtése desktop nézetben */
.product-title-mobile {
    display: none;
}

/* Desktop nézetben a product-title-desktop megjelenik */
@media (min-width: 769px) {
    .product-title-desktop {
        display: block;
    }
    
    .product-title-mobile {
        display: none;
    }

    /* Mobilos badge-ek elrejtése desktopon */
    .product-badges-mobile {
        display: none !important;
    }

    /* Desktop badge-ek megjelenítése */
    .product-badges-desktop {
        display: block !important;
    }
}

.product-category {
    margin-bottom: 20px;
    font-size: 16px;
}

.category-label {
    color: #666;
    margin-right: 8px;
}

.product-category a {
    color: #d40075;
    text-decoration: none;
    font-weight: bold;
}

.product-category a:hover {
    text-decoration: underline;
}

.product-price-section {
    margin: 30px 0;
    padding: 20px;
    background: #d40075;
    border-radius: 8px;
    color: white;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.price,
.sale-price {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.original-price {
    font-size: 20px;
    text-decoration: line-through;
    opacity: 0.8;
    color: #242424;
}

.discount-badge {
    background: #ffffff;
    color: #d40075;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
}

.quote-request-section {
    text-align: center;
}

.btn-quote {
    background: #d40075;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background: #b3005a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 0, 117, 0.3);
}

.product-description-panel {
    margin: 10px 0;
    padding: 10px;
    background: rgb(243, 243, 243);
    border-radius: 8px;
    color: rgb(50, 50, 50);
}

.product-description-panel .description-content {
    line-height: 1.2;
}

.product-description-panel h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 20px;
}

/* Táblázat stílusok a termékleírás panelben - német verzióhoz hasonló */
.product-description-panel table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: transparent;
    border: none;
}

.product-description-panel table td {
    padding: 5px 5px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    vertical-align: top;
}

.product-description-panel table td:first-child {
    font-weight: bold;
    width: 40%;
    color: rgb(50, 50, 50);
    padding-right: 20px;
}

.product-description-panel table td:last-child {
    width: 60%;
    color: rgb(50, 50, 50);
    padding-left: 20px;
}

.product-description-panel table tr:last-child td {
    border-bottom: none;
}

.product-description-panel table tr:hover {
    background: rgba(255, 255, 255, 0.3);
}

.product-description {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-description h3 {
    color: #3d3d3b;
    margin-bottom: 15px;
    font-size: 20px;
}

/* Szín+üveg kombinációk stílusai */
.glass-placeholder {
    width: 60px;
    height: 60px;
    background: #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    margin-bottom: 8px;
}

/* Üvegezési opciók - téglalap alakúak */
.glass-variations .variation-thumb {
    min-width: 80px;
    max-width: 80px;
    height: auto;
    /*aspect-ratio: 2/3;*/
    /* 60x120px arány */
}

.glass-variations .variation-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 6px;
    border: 1px solid #e0e0e0;
}

.glass-variations .glass-name {
    font-size: 11px;
    font-weight: 500;
    color: #555;
    text-align: center;
    line-height: 1.2;
    margin-top: 2px;
}

.glass-variations .glass-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #999;
    margin-bottom: 6px;
}

/* Tabok stílusai */
.product-tabs {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background: #3d3d3b;
}

.tab-btn {
    background: none;
    border: none;
    color: white;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    background: #d40075;
    border-bottom-color: #d40075;
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: #3d3d3b;
    margin-bottom: 15px;
    font-size: 20px;
}

/* Sticky kép biztosítása */
.main-image {
    position: sticky !important;
    top: 120px !important;
    z-index: 1 !important;
    /* Alacsony z-index alapból, hogy ne takarja a menüt */
    max-height: calc(100vh - 140px) !important;
}

/* Csak sticky állapotban magas z-index */
.main-image.is-sticky {
    z-index: 2001 !important;
    /* Magasabb, mint a desktop menü (2000), de alacsonyabb, mint a mobil menü (9999) */
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .belteri-single-product,
    .belteri-category-page {
        padding: 15px;
    }

    .category-title {
        font-size: 32px;
    }

    /* Alapértelmezett: 1 oszlop mobilon */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* 2 oszlop mobilon, ha a kategóriában be van állítva */
    .products-grid.mobile-columns-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-image {
        height: 250px;
    }

    .product-name {
        text-align: center;
        font-size: 18px;
    }

    .products-controls {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .banner-content h3 {
        font-size: 18px;
    }

    .product-header {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .main-image {
        height: 300px;
        position: static !important;
        top: auto !important;
        margin-bottom: 15px;
    }
    
    /* Mobilon ne legyen sticky, még akkor sem, ha van is-sticky class */
    .main-image.is-sticky {
        position: static !important;
        top: auto !important;
    }

    /* Variációk közvetlenül a főkép alatt mobilon */
    .mobile-variations {
        display: block !important;
        flex-direction: column !important;
        margin-top: 15px;
        margin-bottom: 20px;
    }
    
    .mobile-variations .color-dropdown-wrapper {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .mobile-variations .glass-variations-mobile {
        width: 100%;
    }

    /* Termék neve mobilon a kép fölött */
    .product-title-mobile {
        display: block;
        font-size: 24px;
        margin: 0 0 15px 0;
        padding: 12px 15px;
        background: #f5f5f5;
        border-radius: 8px;
        color: #3d3d3b;
        font-weight: bold;
        text-align: center;
    }

    /* Termék neve desktop nézetben elrejtése mobilon */
    .product-title-desktop {
        display: none;
    }

    /* Badge-ek mobilon a termék neve alatt */
    .product-badges-mobile {
        display: block;
        margin-bottom: 15px;
    }

    .product-badges-mobile .product-badge,
    .product-badges-mobile .badge,
    .product-badges-mobile .availability-badge {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        margin: 0 0 8px 0 !important;
        padding: 10px 15px !important;
        background: #f5f5f5 !important;
        border: 2px solid #d40075 !important;
        border-radius: 8px !important;
        color: #3d3d3b !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        text-align: center !important;
        box-sizing: border-box !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .product-badges-mobile .product-badge:last-child,
    .product-badges-mobile .badge:last-child,
    .product-badges-mobile .availability-badge:last-child {
        margin-bottom: 0 !important;
    }

    /* Desktop badge-ek elrejtése mobilon */
    .product-badges-desktop {
        display: none !important;
    }

    /* Szín dropdown mobilon */
    .color-dropdown-wrapper {
        position: relative;
        display: block !important;
        width: 100% !important;
        margin-bottom: 15px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .color-dropdown-toggle {
        width: 100%;
        padding: 12px 15px;
        background: #3d3d3b;
        color: white;
        border: none;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-size: 16px;
        font-weight: 500;
        margin: 0 auto;
    }

    .color-dropdown-selected {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
    }

    .color-dropdown-icon {
        width: 40px;
        height: 40px;
        border-radius: 4px;
        object-fit: cover;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .color-dropdown-icon-placeholder {
        width: 40px;
        height: 40px;
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .color-dropdown-name {
        font-size: 16px;
    }

    .color-dropdown-arrow {
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .color-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin-top: 5px;
        max-height: 300px;
        overflow-y: auto;
        z-index: 100;
        display: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .color-dropdown-menu.open {
        display: block;
    }

    .color-dropdown-item {
        padding: 12px 15px;
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
        border-bottom: 1px solid #f0f0f0;
        transition: background 0.2s ease;
    }

    .color-dropdown-item:last-child {
        border-bottom: none;
    }

    .color-dropdown-item:hover,
    .color-dropdown-item.active {
        background: #f8f8f8;
    }

    .color-dropdown-item .color-dropdown-icon {
        width: 40px;
        height: 40px;
    }

    .color-dropdown-item .color-dropdown-icon-placeholder {
        width: 40px;
        height: 40px;
    }

    /* Üvegezési variációk 3 oszlopban mobilon */
    .glass-variations-mobile {
        display: block !important;
        width: 100% !important;
        margin-top: 15px;
    }

    .glass-variations-mobile .gallery-header {
        padding: 10px 15px;
        margin: 0 0 10px 0;
        font-size: 14px;
        border-radius: 8px;
    }

    .glass-thumbs-mobile {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .glass-thumbs-mobile .variation-thumb {
        padding: 4px;
        min-width: auto;
        max-width: none;
    }

    .glass-thumbs-mobile .variation-thumb img {
        width: 100%;
        height: auto;
        max-height: 80px;
        object-fit: contain;
    }

    .glass-thumbs-mobile .glass-name {
        font-size: 10px;
        margin-top: 4px;
    }

    /* Desktop variációk elrejtése mobilon */
    .desktop-variations {
        display: none;
    }

    .gallery-header {
        padding: 8px 12px;
        margin: -15px -15px 10px -15px;
        font-size: 14px;
    }

    .variation-thumbs {
        justify-content: flex-start;
        gap: 8px;
    }

    .variation-thumb {
        padding: 4px;
        min-width: 70px;
        max-width: 70px;
    }

    .variation-thumb img {
        width: 50px;
        height: 50px;
        margin-bottom: 4px;
    }

    .color-name,
    .glass-name {
        font-size: 9px;
        margin-top: -6px;
    }

    .product-title {
        font-size: 24px;
    }

    .price,
    .sale-price {
        font-size: 24px;
    }

    /* Ár középre igazítva mobilon */
    .product-price-section {
        text-align: center;
    }

    .price-display {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .sale-price {
        display: block;
        font-size: 28px;
        font-weight: bold;
    }

    .original-price {
        display: block;
        font-size: 18px;
        margin-top: 4px;
    }

    .price {
        display: block;
        font-size: 28px;
        font-weight: bold;
    }

    .tab-navigation {
        flex-direction: column;
    }

    .tab-btn {
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        border-right: none;
    }
}

/* Kapcsolódó termékek stílusok */
.related-products-section {
    margin-top: 60px;
    margin-bottom: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.related-products-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.related-product-card {
    position: relative;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.related-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.related-product-image .no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Kapcsolódó termékek badge-ek - ugyanaz a pozíció, mint a kategória listázásnál */
.related-product-card .product-badges {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.related-product-info {
    padding: 15px;
}

.related-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #3d3d3b;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.related-product-name a {
    color: #3d3d3b;
    text-decoration: none;
    display: block;
}

.related-product-name a:hover {
    color: #d40075;
}

.related-product-price {
    text-align: center;
}

/* Kapcsolódó termékek ár stílusok - ugyanazok, mint a kategória listázásnál */
.related-product-price .price {
    display: inline-block;
    background: #d40075;
    color: white;
    padding: 8px 16px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.related-product-price .sale-price {
    display: inline-block;
    background: #d40075;
    color: white;
    padding: 8px 16px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 18px;
    margin-right: 8px;
}

.related-product-price .original-price {
    display: inline-block;
    text-decoration: line-through;
    color: #999;
    font-size: 15px;
    font-weight: 700;
}

.related-product-price .quote-request {
    display: inline-block;
    color: #0073aa;
    font-weight: 500;
    font-size: 14px;
}

.related-product-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
}

/* Kapcsolódó termékek responsive stílusok */
@media (max-width: 1200px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .related-products-title {
        font-size: 24px !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .related-products-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .related-products-title {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }

    .product-image {
        height: 300px;
    }

    .category-title {
        font-size: 24px;
    }
}

/* Sticky termék galéria CSS */
.sticky-gallery {
    position: relative;
}

.sticky-main-image {
    position: -webkit-sticky;
    /* Safari támogatás */
    position: sticky;
    top: 120px;
    /* Felső menü magassága + padding */
    z-index: 1;
    /* Alacsony z-index alapból, hogy ne takarja a menüt */
    transition: all 0.3s ease;
    max-height: calc(100vh - 140px);
    /* Teljes képernyő magasság - header */
    overflow: hidden;
    width: 100%;
    display: block;
}

/* Csak sticky állapotban magas z-index */
.sticky-main-image.is-sticky {
    z-index: 2001;
    /* Magasabb, mint a desktop menü (2000), de alacsonyabb, mint a mobil menü (9999) */
}

/* Responsive sticky pozíció */
@media (max-width: 768px) {
    .sticky-main-image {
        top: 100px;
        /* Kisebb menü magasság mobilra */
    }
}

/* Sticky aktiválás animáció */
.sticky-main-image.is-sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    padding: 10px;
}

/* Felső menü z-index kezelése */
/* Menü z-index értékek:
   - Desktop kereső: 2000
   - Desktop submenu: 1000
   - Mobil menü: 9999
   A tartalom z-index-je magasabb, mint a desktop menü, de alacsonyabb, mint a mobil menü */
.et_pb_row--with-menu {
    z-index: 2001 !important;
}

/* Sticky badge-ek pozíciója */
.sticky-main-image .product-badges {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* Alternatív sticky megoldás ha a CSS sticky nem működik */
.sticky-main-image.force-sticky {
    position: fixed !important;
    top: 120px !important;
    left: 0;
    right: 0;
    width: 50%;
    max-width: 400px;
    z-index: 2001;
    /* Magasabb, mint a desktop menü (2000), de alacsonyabb, mint a mobil menü (9999) */
}

/* Debug: Sticky elem kiemelése - csak fejlesztéshez, élesben kommentezve */
/*
.sticky-main-image {
    border: 2px solid #d40075 !important;
    background: rgba(212, 0, 117, 0.1) !important;
}

.sticky-main-image.is-sticky {
    border: 2px solid #00ff00 !important;
    background: rgba(0, 255, 0, 0.1) !important;
}
*/

/* Kategória hero szekció */
.category-hero {
    position: relative;
    width: 100%;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}

.category-hero::before,
.category-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.category-hero::before {
    background: rgba(255, 255, 255, 0.27);
}

.category-hero::after {
    background: rgba(255, 255, 255, 0.7);
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 35% 100%);
}

.category-hero__overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.5) 55%, rgba(255,255,255,0.4) 100%);
    z-index: 1;
}

.category-hero__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 70px;
    position: relative;
    z-index: 2;
}

.category-hero__breadcrumbs {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(111, 111, 111, 0.95);
    margin-bottom: 15px;
}

.category-hero__breadcrumbs a {
    color: rgba(111, 111, 111, 0.95);
    text-decoration: none;
}

.category-hero__breadcrumbs a:hover {
    color: #d40075;
}

.category-hero__breadcrumbs .separator {
    margin: 0 6px;
    color: rgba(111, 111, 111, 0.7);
}

.category-hero__title {
    font-size: 64px;
    line-height: 1.05;
    margin: 0 0 8px 0;
    font-family: 'Cabin Condensed', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: linear-gradient(0.25turn, #d40075, #454ba0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.category-hero__subtitle {
    font-size: 28px;
    line-height: 1.2;
    margin: 0;
    color: #6f6f6f;
    max-width: 760px;
    font-family: 'Cabin', 'Cabin Condensed', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
    font-style: italic;
}

@media (max-width: 768px) {
    .category-hero {
        min-height: 240px;
    }
    .category-hero__content {
        padding: 40px 16px 50px;
    }
    .category-hero__title {
        font-size: 38px;
    }
    .category-hero__subtitle {
        font-size: 20px;
    }
}

/* Kategória oldal specifikus stílusok - prefix-szel, hogy ne ütközzenek a termék oldal stílusaival */
.category-page .breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    background: transparent;
    padding: 0;
}

.category-page .breadcrumb a {
    color: #666;
    text-decoration: none;
}

.category-page .breadcrumb a:hover {
    color: #d40075;
}

.category-page .breadcrumb .separator {
    margin: 0 5px;
}

/* Alkategóriák grid */
.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 30px;
}

.subcategory-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.subcategory-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.subcategory-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 arány */
    overflow: hidden;
    background: #f5f5f5;
}

.subcategory-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.subcategory-card:hover .subcategory-image img {
    transform: scale(1.05);
}

/* Alkategória placeholder design */
.subcategory-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d40075 0%, #ff6b9d 100%);
    padding: 20px;
    box-sizing: border-box;
}

.subcategory-placeholder .placeholder-icon {
    color: white;
    margin-bottom: 15px;
    opacity: 0.9;
}

.subcategory-placeholder .placeholder-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subcategory-card:hover .subcategory-placeholder {
    background: linear-gradient(135deg, #b3005f 0%, #e55a8d 100%);
}

.subcategory-info {
    padding: 10px;
    padding-top: 18px;
    background: #3d3d3b;
    text-align: center;
}

.subcategory-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

.subcategory-link:hover .subcategory-name {
    color: #d40075;
}

/* Alkategóriák responsive */
@media (max-width: 768px) {
    .subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 30px;
        margin-top: 20px;
    }

    .subcategory-card {
        border-radius: 6px;
    }

    .subcategory-image {
        padding-top: 100%;
    }

    .subcategory-info {
        padding: 10px 8px;
    }

    .subcategory-name {
        font-size: 14px;
        line-height: 1.2;
    }

    .subcategory-placeholder {
        padding: 15px;
    }

    .subcategory-placeholder .placeholder-text {
        font-size: 13px;
    }

    .subcategory-placeholder .placeholder-icon {
        margin-bottom: 10px;
    }

    .subcategory-placeholder .placeholder-icon svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .subcategory-info {
        padding: 8px 6px;
    }

    .subcategory-name {
        font-size: 13px;
    }

    .subcategory-placeholder {
        padding: 12px;
    }

    .subcategory-placeholder .placeholder-text {
        font-size: 12px;
    }

    .subcategory-placeholder .placeholder-icon {
        margin-bottom: 8px;
    }

    .subcategory-placeholder .placeholder-icon svg {
        width: 35px;
        height: 35px;
    }
}

/* Kategória oldal termékek vezérlői */
.category-page .products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.category-page .results-info {
    font-size: 14px;
    color: #666;
}

.category-page .sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-page .per-page-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.category-page .per-page-controls select,
.category-page .sort-controls select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
}

.category-page .sort-controls label {
    font-size: 14px;
    color: #666;
}

/* Kategória oldal termék ár stílusok - külön a termék oldal stílusaitól */
.category-page .product-price .price {
    display: inline-block;
    background: #d40075;
    color: white;
    padding: 8px 16px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.category-page .product-price .price:hover {
    background: #b3005f;
}

/* Kategória oldal akciós ár stílusok */
.category-page .product-price .sale-price {
    display: inline-block;
    background: #d40075;
    color: white;
    padding: 8px 16px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 18px;
    margin-right: 8px;
}

.category-page .product-price .original-price {
    display: inline-block;
    text-decoration: line-through;
    color: #999;
    font-size: 15px;
    font-weight: 700;
}

.category-page .product-price .quote-request {
    display: inline-block;
    color: #0073aa;
    font-weight: 500;
    font-size: 14px;
}

/* Ajánlatkérés gombok a termék kártyákon */
.product-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.product-actions .btn-quote {
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
    background: #d40075;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.product-actions .btn-quote:hover {
    background: #b30062;
}

.product-actions .btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* Kategória oldal pagination - specifikus stílusok */
.pagination-desktop {
    display: flex;
    visibility: visible;
    opacity: 1 !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    row-gap: 12px;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
    background: transparent;
}

.pagination-mobile {
    display: none;
}

.pagination-desktop .page-link,
.pagination-desktop a {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    box-sizing: border-box;
}

/* Mobile pagination - kompakt design */
.pagination-mobile {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 30px 0;
    padding: 12px 20px;
    background: #3d3d3b;
    border-radius: 50px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.pagination-mobile-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #3d3d3b;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.pagination-mobile-btn:hover {
    background: #d40075;
    color: white;
    transform: scale(1.05);
}

.pagination-mobile-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-mobile-info-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-mobile-info {
    color: white;
    font-size: 16px;
    font-weight: 500;
    min-width: 60px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.pagination-mobile-info:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.pagination-mobile-select {
    background: white;
    color: #3d3d3b;
    border: 2px solid #d40075;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d40075' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 32px;
}

.pagination-mobile-select:focus {
    border-color: #454ba0;
    box-shadow: 0 0 0 3px rgba(212, 0, 117, 0.1);
}

@media (max-width: 768px) {
    .pagination-desktop {
        display: none !important;
    }
    
    .pagination-mobile {
        display: flex !important;
    }
}

/* Quote Cart Modal Stílusok */
.belteri-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 999999 !important;
    /* Magasabb, mint minden más */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.belteri-modal.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.quote-cart-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.belteri-modal.show .quote-cart-modal-content {
    transform: scale(1);
}

.quote-cart-modal-content .modal-header {
    padding: 20px 25px;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.quote-cart-modal-content .modal-header h3 {
    margin: 0;
    font-size: 24px;
    color: #3d3d3b;
    font-weight: 600;
}

.quote-cart-modal-content .modal-header .close {
    font-size: 32px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-cart-modal-content .modal-header .close:hover {
    color: #d40075;
}

.quote-cart-modal-content .modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.quote-cart-items {
    margin-bottom: 25px;
}

.quote-cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f9f9f9;
    transition: box-shadow 0.2s ease;
}

.quote-cart-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quote-cart-item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quote-cart-item-details {
    flex: 1;
    min-width: 0;
}

.quote-cart-item-details h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #3d3d3b;
}

.quote-cart-item-details h4 a {
    color: #007cba;
    text-decoration: none;
    transition: color 0.2s ease;
}

.quote-cart-item-details h4 a:hover {
    color: #d40075;
}

.quote-cart-variation {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.quote-cart-variation strong {
    color: #3d3d3b;
}

.quote-cart-price {
    margin-top: 10px;
}

.quote-cart-price .sale-price {
    font-size: 18px;
    font-weight: bold;
    color: #d00;
    margin-right: 10px;
}

.quote-cart-price .original-price {
    font-size: 14px;
    color: #999;
}

.quote-cart-price .price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.quote-cart-item-actions {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.quote-cart-item-actions .btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    font-size: 20px;
    line-height: 1;
    padding: 0;
}

.quote-cart-item-actions .btn-remove:hover {
    background: #c82333;
}

.quote-cart-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.quote-cart-actions .btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.quote-cart-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.quote-cart-actions .btn-secondary:hover {
    background: #5a6268;
}

.quote-cart-actions .btn-primary {
    background: #d40075;
    color: white;
}

.quote-cart-actions .btn-primary:hover {
    background: #b30062;
}

/* Quote Counter */
.quote-counter {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #d40075;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    z-index: 9998;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.quote-counter:hover {
    transform: scale(1.1);
}

/* Add to Cart Modal Stílusok */
.add-to-cart-modal-content {
    max-width: 500px;
    text-align: center;
}

.add-to-cart-modal-content .modal-header {
    border-bottom: none;
    padding: 20px 25px 0;
    justify-content: flex-end;
}

.add-to-cart-modal-content .modal-body {
    padding: 20px 40px 40px;
}

.add-to-cart-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #28a745;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
    font-weight: bold;
}

.add-to-cart-modal-content h2 {
    font-size: 24px;
    color: #3d3d3b;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.add-to-cart-modal-content p {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.add-to-cart-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.add-to-cart-actions .btn {
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    min-width: 180px;
}

.add-to-cart-actions .btn-success {
    background: #28a745;
    color: white;
}

.add-to-cart-actions .btn-success:hover {
    background: #218838;
}

.add-to-cart-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.add-to-cart-actions .btn-secondary:hover {
    background: #5a6268;
}

/* Jobb oldali kosár widget */
.quote-cart-widget {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999 !important;
    /* Magasabb, mint a mobil menü (9999) */
    background: #3d3d3b;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto !important;
    overflow: visible;
}

.quote-cart-widget:hover,
.quote-cart-widget.active {
    border-radius: 50px;
    width: auto;
    min-width: 180px;
    padding: 0 20px;
    transform: translateY(-50%);
}

.quote-cart-widget.has-items {
    background: #d40075;
}

.quote-cart-widget:not(.has-items) {
    background: #3d3d3b;
}

.quote-cart-widget-content {
    display: flex;
    align-items: center;
    /*gap: 12px;*/
    white-space: nowrap;
}

.quote-cart-widget-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-cart-widget-icon svg {
    display: block;
    width: 28px;
    height: 28px;
}

.quote-cart-widget-count {
    font-size: 18px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
    display: none;
}

.quote-cart-widget.has-items .quote-cart-widget-count {
    display: block;
}

.quote-cart-widget-text {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.quote-cart-widget:hover .quote-cart-widget-text,
.quote-cart-widget.active .quote-cart-widget-text {
    opacity: 1;
    width: auto;
}

/* Mobil responsive - fix alsó sáv */
@media (max-width: 768px) {
    .quote-cart-widget {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        width: 100%;
        height: 60px;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #3d3d3b;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        z-index: 99999 !important;
    }
    
    .quote-cart-widget.has-items {
        background: #d40075;
    }
    
    .quote-cart-widget:hover,
    .quote-cart-widget.active {
        border-radius: 0;
        width: 100%;
        min-width: 100%;
        padding: 0;
        transform: none;
    }
    
    .quote-cart-widget-content {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    
    .quote-cart-widget-icon {
        display: none !important;
    }
    
    .quote-cart-widget-text {
        font-size: 18px;
        font-weight: 600;
        opacity: 1;
        width: auto;
    }
    
    .quote-cart-widget-count {
        display: none !important;
    }
    
    /* Body padding az alsó sáv miatt - csak ha van widget */
    body:has(.quote-cart-widget) {
        padding-bottom: 60px;
    }
    
    /* Alternatíva, ha a :has() nem támogatott */
    .category-page,
    .single-ba_product {
        padding-bottom: 60px;
    }
}

/* Quote request bottom section */
.quote-request-bottom-section {
    margin-top: 40px !important;
    padding: 30px !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    text-align: center !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    clear: both !important;
}

/* Alap gomb stílusok */
.btn {
    display: inline-block !important;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-primary {
    background: #d40075 !important;
    color: white !important;
    border: none !important;
    padding: 15px 40px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.2s ease !important;
}

.btn-primary:hover {
    background: #b30062 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 0, 117, 0.4);
}

.btn-secondary {
    background: #6c757d !important;
    color: white !important;
    border: none !important;
    padding: 15px 40px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-secondary:hover {
    background: #5a6268 !important;
}

.btn-large {
    padding: 15px 40px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 0, 117, 0.4);
}

/* Quote gomb kombinációk */
.btn-quote.btn-primary,
.btn-primary.btn-quote {
    background: #d40075 !important;
    color: white !important;
    border: none !important;
    padding: 15px 40px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-quote.btn-primary:hover,
.btn-primary.btn-quote:hover {
    background: #b30062 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 0, 117, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .quote-cart-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .quote-cart-item {
        flex-direction: column;
    }

    .quote-cart-item-image {
        width: 100%;
        height: 200px;
    }

    .quote-cart-actions {
        flex-direction: column;
    }

    .quote-cart-actions .btn {
        width: 100%;
    }

    .add-to-cart-modal-content {
        max-width: 90%;
    }

    .add-to-cart-actions {
        flex-direction: column;
    }

    .add-to-cart-actions .btn {
        width: 100%;
        min-width: auto;
    }

    .quote-cart-widget {
        right: 10px;
        padding: 12px 16px;
        min-width: 120px;
    }

    /* A quote-cart-widget-text display: none törölve - mobilon fix alsó sávban jelenik meg */

    .quote-request-bottom-section {
        padding: 20px;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 16px;
        width: 100%;
    }
}

/* Kategória oldal responsive */
@media (max-width: 768px) {
    .category-page {
        padding: 15px;
    }

    .category-page .products-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        padding: 15px 0;
    }
    
    .category-page .results-info {
        font-size: 16px;
        font-weight: 500;
        color: #3d3d3b;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #e0e0e0;
        margin-bottom: 10px;
    }
    
    .category-page .per-page-controls,
    .category-page .sort-controls {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .category-page .per-page-controls label,
    .category-page .sort-controls label {
        font-size: 14px;
        font-weight: 500;
        color: #3d3d3b;
        margin-bottom: 4px;
    }
    
    .category-page .per-page-controls select,
    .category-page .sort-controls select {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #ddd;
        border-radius: 8px;
        background: white;
        font-size: 16px;
        color: #3d3d3b;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233d3d3b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        padding-right: 40px;
        min-height: 48px;
        box-sizing: border-box;
    }
    
    .category-page .per-page-controls select:focus,
    .category-page .sort-controls select:focus {
        border-color: #d40075;
        outline: none;
        box-shadow: 0 0 0 3px rgba(212, 0, 117, 0.1);
    }
}

/* Quote Cart Summary Styles */
.quote-cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.quote-cart-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #3d3d3b;
    color: #333;
}

.quote-cart-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.quote-cart-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quote-cart-name a {
    color: #3d3d3b;
    text-decoration: none;
    font-weight: bold;
}

.quote-cart-variation {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.quote-cart-price {
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

.quote-cart-price .sale-price {
    color: #d00;
}

.quote-cart-price del {
    color: #999;
    font-size: 0.9em;
    font-weight: normal;
    display: block;
}

.quote-cart-quantity {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    justify-content: center !important;
    flex-direction: row !important;
}

.qty-btn {
    width: 30px !important;
    height: 30px !important;
    border: 1px solid #ddd !important;
    background: #3d3d3b !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 16px !important;
    color: #333 !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 16px;
    padding: 0;
    line-height: 1;
}

.qty-btn:hover {
    background: #d40075 !important;
    border-color: #d40075 !important;
}

.qty-input {
    width: 50px !important;
    height: 30px !important;
    text-align: center !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 5px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    background: #fff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block;
    box-sizing: border-box;
    line-height: normal !important;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10;
    box-shadow: none !important;
    text-shadow: none !important;
    padding: 0 5px !important;
}

.quote-cart-actions {
    text-align: center;
    vertical-align: middle;
    height: auto;
    padding: 12px;
}

.btn-delete {
    color: #fff !important;
    background: #dc3545 !important;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    transition: background 0.2s;
    vertical-align: middle;
    margin: 0 auto;
}

.btn-delete:hover {
    background: #a71d2a !important;
}

/* Empty Cart State */
.quote-cart-empty {
    text-align: center;
    padding: 40px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    margin: 20px 0;
    color: #555;
}

.quote-cart-empty .empty-cart-icon {
    margin-bottom: 20px;
    opacity: 0.6;
}

.quote-cart-empty p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-back-to-products {
    display: inline-block;
    background-color: #d10074;
    /* Pink/Magenta */
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-back-to-products:hover {
    background-color: #a0005a;
    color: #fff !important;
}

/* Mobil nézet */
@media (max-width: 600px) {
    .quote-cart-table thead {
        display: none;
    }

    .quote-cart-table tr {
        display: block;
        border-bottom: 1px solid #eee;
        padding: 15px 0;
        position: relative;
    }

    .quote-cart-table td {
        display: block;
        padding: 5px 0;
        border: none;
        text-align: left;
    }

    .quote-cart-image {
        text-align: center !important;
        margin-bottom: 10px;
    }

    .quote-cart-image img {
        width: 80px;
        height: 80px;
    }

    .quote-cart-actions {
        position: absolute;
        top: 10px;
        right: 0;
        margin-top: 0 !important;
    }

    .quote-cart-quantity {
        justify-content: flex-start;
        margin-top: 10px;
    }
}

/* Méretmezők stílusai */
.quote-cart-dimension-row {
    background: #f9f9f9 !important;
}

.quote-cart-dimension-row td {
    padding: 15px !important;
    border-top: 2px solid #ddd !important;
}

.dimension-type-selector {
    margin-bottom: 15px;
}

.dimension-type-selector label {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.dimension-type-selector input[type="radio"] {
    margin-right: 5px;
    cursor: pointer;
}

.dimension-fields {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.dimension-fields > div {
    flex: 0 0 auto;
}

.dimension-fields label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.dimension-fields input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #8c8f94;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
}

.dimension-fields input[type="number"]:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.dimension-sliding-option {
    margin-top: 12px;
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.dimension-sliding-option label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dimension-sliding-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d81b60;
}

/* Desktop igazítás: rádiók balra, 4 mező egy sorban jobbra */
@media (min-width: 1024px) {
    .dimension-cell {
        padding: 15px;
    }
    .dimension-row-main {
        display: flex;
        gap: 20px;
        align-items: flex-start;
        flex-wrap: nowrap;
    }
    .dimension-type-selector {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 0;
        min-width: 200px;
        flex: 0 0 auto;
    }
    .dimension-type-selector label {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
    }
    .dimension-fields {
        display: grid;
        grid-template-columns: repeat(4, minmax(110px, 1fr));
        gap: 12px 16px;
        align-items: flex-end;
        flex: 1 1 auto;
        min-width: 520px;
    }
    .dimension-field {
        min-width: 110px;
    }
    .dimension-field input[type="number"],
    .dimension-field select {
        width: 100%;
    }
    .dimension-description,
    .dimension-sliding-option {
        margin-top: 10px;
    }
}

.dimension-description {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.dimension-description em {
    font-style: italic;
}

.wall-opening-desc,
.existing-door-desc {
    display: none;
}

.wall-opening-desc.active,
.existing-door-desc.active {
    display: block;
}

/* Mobil Ajánlatkérő gomb */
.mobile-quote-button-container {
    display: none;
}

@media (max-width: 768px) {
    .mobile-quote-button-container {
        display: block;
        margin-top: 15px;
    }
    
    .mobile-quote-button {
        width: 100%;
        padding: 15px 20px;
        background: #fff;
        color: #d40075;
        border: 2px solid #d40075;
        border-radius: 8px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-quote-button:hover {
        background: #d40075;
        color: #fff;
    }
    
    /* Termékleírás accordion mobilon */
    .product-description-panel {
        margin-top: 20px;
    }
    
    .description-header-mobile {
        display: block;
    }
    
    .description-toggle {
        width: 100%;
        padding: 15px;
        background: #f8f8f8;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        transition: all 0.3s ease;
    }
    
    .description-toggle:hover {
        background: #f0f0f0;
    }
    
    .description-title {
        flex: 1;
        text-align: left;
    }
    
    .description-icon {
        font-size: 12px;
        transition: transform 0.3s ease;
    }
    
    .description-content {
        display: none;
        padding: 15px;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-top: none;
        border-radius: 0 0 8px 8px;
        margin-top: -1px;
    }
    
    .product-description-panel.expanded .description-content {
        display: block;
    }
    
    /* Színek 3 oszlopos elrendezés mobilon, kevesebb padding */
    .variation-thumbs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .variation-thumb {
        padding: 4px;
        max-width: none;
        min-width: auto;
    }
    
    .variation-thumb img {
        width: 50px;
        height: 50px;
        margin-bottom: 4px;
    }
    
    .color-name,
    .combination-name {
        font-size: 10px;
        margin-top: -8px;
    }
}

/* Desktop: termékleírás accordion elrejtése */
@media (min-width: 769px) {
    .description-header-mobile {
        display: none;
    }
    
    .description-content {
        display: block !important;
    }
}

/* Thickbox testreszabás - modern design */
#TB_overlay {
    background: rgba(61, 61, 59, 0.9) !important;
    backdrop-filter: blur(4px);
}

#TB_window {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    max-width: 95vw !important;
    max-height: 95vh !important;
    margin: 0 !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

#TB_ajaxContent {
    padding: 20px !important;
    margin: 0 !important;
    text-align: center !important;
    background: #ffffff !important;
    overflow: auto !important;
    max-height: calc(95vh - 80px) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

#TB_ajaxContent img {
    max-width: 100% !important;
    max-height: calc(95vh - 150px) !important;
    height: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

/* Thickbox kép border eltávolítása */
#TB_window img#TB_Image {
    border: none !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: none !important;
    margin: 0 !important;
}

#TB_closeWindowButton {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(212, 0, 117, 0.95) !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10001 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(212, 0, 117, 0.4) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

#TB_closeWindowButton:hover {
    background: #d40075 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(212, 0, 117, 0.6) !important;
    border-color: #ffffff !important;
}

#TB_closeWindowButton:active {
    transform: scale(0.95) !important;
}

#TB_closeWindowButton:focus {
    outline: 2px solid #d40075 !important;
    outline-offset: 2px !important;
}

#TB_closeWindowButton .tb-close-icon {
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Thickbox title/caption stílus */
#TB_ajaxContent p,
#TB_ajaxContent .tb-caption {
    margin-top: 15px !important;
    margin-bottom: 0 !important;
    padding: 12px 20px !important;
    background: #f5f5f5 !important;
    border-radius: 8px !important;
    color: #3d3d3b !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

/* Thickbox caption height beállítása */
#TB_caption {
    height: 45px !important;
    padding: 7px 30px 10px 25px !important;
    float: left !important;
    box-sizing: border-box !important;
}

/* Mobil optimalizálás */
@media (max-width: 768px) {
    #TB_window {
        max-width: 98vw !important;
        max-height: 98vh !important;
        border-radius: 8px !important;
    }
    
    #TB_ajaxContent {
        padding: 15px !important;
        max-height: calc(98vh - 70px) !important;
    }
    
    #TB_closeWindowButton {
        width: 36px !important;
        height: 36px !important;
        top: 8px !important;
        right: 8px !important;
    }
    
    #TB_closeWindowButton .tb-close-icon {
        font-size: 18px !important;
    }
}