/* ==========================================================
   WOOCOMMERCE SHOP OLDAL - VÉGLEGES HIBAMENTES RÁCS & LAPOZÓ
   ========================================================== */

.woocommerce-shop,
.post-type-archive-product,
.tax-product_cat,
.tax-product_tag,
.woocommerce-tax-attribute,
.archive.tax-pa_ márka,
.tax-product_attribute {
    background-color: #f8fafc;
}

.site-content, 
.content-area, 
#primary, 
.site-main,
.woocommerce-shop .site-content,
.woocommerce-shop #primary,
.woocommerce-shop main,
.post-type-archive-product main,
.tax-product_cat main {
    max-width: 1400px !important;
    width: 90% !important;
    margin: 30px auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    float: none !important;
    display: block !important;
    box-sizing: border-box !important;
}

#secondary, .widget-area, .sidebar, aside, .woocommerce-sidebar {
    display: none !important;
}

/* Cím és rendezés */
.woocommerce-shop .woocommerce-products-header h1.woocommerce-products-header__title,
.woocommerce-shop .entry-title {
    font-size: 38px !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: #1b4d3e !important;
    margin-bottom: 10px !important;
}

.woocommerce-result-count {
    color: #555;
    font-size: 15px;
    font-weight: 500;
}

.woocommerce-ordering select {
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #1b4d3e;
    font-weight: 600;
    font-size: 14px;
}

/* Biztosítjuk, hogy a termékrács minden márkás/szűrős oldalon 4 oszlopos legyen */
.woocommerce ul.products.columns-4, 
.woocommerce-page ul.products.columns-4,
.archive.woocommerce ul.products,
.tax-product_attribute ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 35px !important;
    list-style: none !important;
    margin: 40px 0 30px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both;
}

/* Biztosítjuk, hogy az első termék mindig a bal felső sarokból induljon (megszünteti az üres helyet) */
.woocommerce ul.products.columns-4 li.product:first-child,
.woocommerce-page ul.products.columns-4 li.product:first-child {
    grid-column-start: 1 !important;
}

/* Reszponzivitás */
@media (max-width: 1200px) {
    .woocommerce ul.products.columns-4, 
    .woocommerce-page ul.products.columns-4 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 900px) {
    .woocommerce ul.products.columns-4, 
    .woocommerce-page ul.products.columns-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 600px) {
    .woocommerce ul.products.columns-4, 
    .woocommerce-page ul.products.columns-4 {
        grid-template-columns: 1fr !important;
    }
}

.woocommerce ul.products li.product:empty {
    display: none !important;
}

/* ==========================================================
   WOOCOMMERCE TERMÉKKÁRTYA - TÖKÉLETESÍTETT ÉS ÍVRE IGAZÍTOTT
   ========================================================== */

.woocommerce ul.products li.product {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 30px 24px 24px 24px !important;
    border: 1px solid rgba(0, 204, 85, 0.25) !important;
    box-shadow: 0 15px 35px rgba(27, 77, 62, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    overflow: hidden !important; /* Lényeges: ez vágja le a sávot a lekerekítési ív mentén! */
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 25px 50px rgba(27, 77, 62, 0.18), 0 8px 20px rgba(0, 204, 85, 0.12) !important;
    border-color: #00cc55 !important;
}

/* Felső zöld átmenetes csík - Most már tökéletesen követi a kártya sarkainak ívét */
.woocommerce ul.products li.product::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 5px !important;
    background: linear-gradient(90deg, #1b4d3e, #00cc55) !important;
    z-index: 3 !important;
}

/* --- TERMÉK KÉP --- */
.woocommerce ul.products li.product img {
    height: 200px !important;
    width: 100% !important;
    object-fit: contain !important;
    margin: 15px auto 20px auto !important;
    display: block !important;
    border-radius: 12px !important;
    transition: transform 0.4s ease !important;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

/* --- TERMÉK CÍM --- */
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1b4d3e !important;
    margin-bottom: 12px !important;
    text-align: left !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

.woocommerce ul.products li.product a {
    text-decoration: none !important;
}

/* --- ÁR ÉS HUF FELIRAT --- */
.woocommerce ul.products li.product .price {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #059669 !important;
    margin-bottom: 20px !important;
    text-align: left !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
}

.woocommerce ul.products li.product .price ins {
    background: transparent !important;
    color: #059669 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.woocommerce ul.products li.product .price::after {
    content: 'HUF' !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #64748b !important;
}

/* --- KOSÁRBA SÁV ÉS VEZÉRLŐK --- */
.woocommerce ul.products li.product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce ul.products li.product .quantity {
    margin: 0 !important;
    float: none !important;
    flex-shrink: 0 !important;
}

.woocommerce ul.products li.product .quantity input.qty {
    width: 50px !important;
    height: 46px !important;
    min-height: 46px !important;
    text-align: center !important;
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    font-weight: bold !important;
    color: #1b4d3e !important;
    font-size: 16px !important;
    outline: none;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product button.button,
.woocommerce ul.products li.product input.button {
    background: linear-gradient(135deg, #00cc55 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    height: 46px !important;
    min-height: 46px !important;
    line-height: 46px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    text-align: center !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 204, 85, 0.35) !important;
    flex: 1 !important;
    cursor: pointer !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product button.button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 204, 85, 0.55) !important;
}
/* --- ELEGÁNS, KERET NÉLKÜLI LAPOZÓ (PAGINATION) --- */
.woocommerce nav.woocommerce-pagination {
    margin-top: 50px !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    clear: both !important;
    width: 100% !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers {
    display: inline-flex !important;
    gap: 8px !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    list-style: none !important;
    margin: 0 auto !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li span.current,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* Aktív oldal gomb */
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.current {
    background: linear-gradient(135deg, #00cc55 0%, #059669 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0, 204, 85, 0.35) !important;
    border: none !important;
}

/* Inaktív oldal gombok */
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers {
    background: #ffffff !important;
    color: #1b4d3e !important;
    border: 1px solid rgba(0, 204, 85, 0.2) !important;
    box-shadow: 0 4px 12px rgba(27, 77, 62, 0.04) !important;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
    background: #00cc55 !important;
    color: #ffffff !important;
    border-color: #00cc55 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 204, 85, 0.3) !important;
}

/* ==========================================================
   PRÉMIUM FEJLÉC SÁV (REFERENCIA STÍLUSÚ KÖZÉPCSÍKOS CÍM)
   ========================================================== */

/* Fő fejléc konténer tiszta, átlátszó alapra helyezve */
.woocommerce-products-header {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 0 30px 0 !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    display: block !important;
    position: relative !important;
    text-align: center !important;
}

/* Shop Cím - Középre igazítva, a referenciához hasonló prémium aláhúzó csíkkal */
.woocommerce-shop h1.page-title,
.woocommerce-shop .woocommerce-products-header h1.woocommerce-products-header__title,
.woocommerce-shop .entry-title {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #1b4d3e !important;
    margin: 0 auto 10px auto !important;
    text-align: center !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: inline-block !important;
    position: relative !important;
}

/* A cím alatti prémium zöld elválasztó fénycsík (pont mint a referencián) */
.woocommerce-shop h1.page-title::after,
.woocommerce-shop .woocommerce-products-header h1.woocommerce-products-header__title::after,
.woocommerce-shop .entry-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 20% !important;
    width: 60% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, #00cc55, transparent) !important;
    border-radius: 2px !important;
}

/* Termékek darabszáma (bal oldalon) */
.woocommerce-shop .woocommerce-result-count {
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    float: left !important;
    margin: 15px 0 0 0 !important;
    padding: 8px 16px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 204, 85, 0.15) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
}

/* Rendezés legördülő sáv (jobb oldalon) */
.woocommerce-shop .woocommerce-ordering {
    float: right !important;
    margin: 15px 0 0 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* A rendező select mező stílusa */
.woocommerce-shop .woocommerce-ordering select {
    padding: 10px 18px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 204, 85, 0.2) !important;
    background: #ffffff !important;
    color: #1b4d3e !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    outline: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
    transition: all 0.3s ease !important;
}

.woocommerce-shop .woocommerce-ordering select:hover {
    border-color: #00cc55 !important;
    box-shadow: 0 6px 16px rgba(0, 204, 85, 0.15) !important;
}

/* Clearfix, hogy ne csússzon el semmi */
.woocommerce-products-header::after {
    content: "";
    display: table;
    clear: both;
}

/* ==========================================================
   KÖZÉPRE IGAZÍTOTT KERESŐ, VISSZA GOMB ÉS ÉLŐ KIEGÉSZÍTŐ
   ========================================================== */

.shop-custom-header-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 100% !important;
    margin-bottom: 25px !important;
    box-sizing: border-box !important;
}

/* Vissza az összes termékhez gomb (bal oldalon fixálva) */
.custom-back-to-shop-btn {
    position: absolute !important;
    left: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    color: #1b4d3e !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 10px 18px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 204, 85, 0.25) !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.custom-back-to-shop-btn:hover {
    background: #00cc55 !important;
    color: #ffffff !important;
    border-color: #00cc55 !important;
    transform: translateY(-2px);
}

/* Középre helyezett kereső konténer */
.shop-custom-search-wrapper {
    position: relative !important;
    width: 420px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.custom-search-input-container {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
    height: 46px !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid rgba(0, 204, 85, 0.3) !important;
    box-shadow: 0 6px 20px rgba(27, 77, 62, 0.05) !important;
    overflow: visible !important;
    transition: all 0.3s ease !important;
}

.custom-search-input-container:focus-within {
    border-color: #00cc55 !important;
    box-shadow: 0 8px 25px rgba(0, 204, 85, 0.15) !important;
}

.custom-search-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    color: #1b4d3e !important;
    outline: none !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.custom-search-input::placeholder {
    color: #94a3b8 !important;
}

.custom-search-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 16px !important;
    height: 100% !important;
    cursor: pointer !important;
    color: #059669 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease !important;
}

.custom-search-btn:hover {
    color: #00cc55 !important;
}

/* --- ÉLŐ KIEGÉSZÍTŐ (AUTOCOMPLETE) LENYÍLÓ DOBOZ --- */
.custom-autocomplete-results {
    position: absolute !important;
    top: 52px !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 204, 85, 0.25) !important;
    box-shadow: 0 15px 35px rgba(27, 77, 62, 0.12) !important;
    z-index: 9999 !important;
    overflow: hidden !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

.autocomplete-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: background 0.2s ease !important;
}

.autocomplete-item:hover {
    background: rgba(0, 204, 85, 0.08) !important;
}

.autocomplete-item img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    padding: 2px !important;
    box-sizing: border-box !important;
}

.autocomplete-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.autocomplete-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1b4d3e !important;
    line-height: 1.3 !important;
}

.autocomplete-price {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #059669 !important;
}

/* Reszponzív nézet mobilon/tableten */
@media (max-width: 900px) {
    .shop-custom-header-bar {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .custom-back-to-shop-btn {
        position: static !important;
        width: 100% !important;
        justify-content: center !important;
    }
    .shop-custom-search-wrapper {
        width: 100% !important;
    }
}

/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------*/


/* A WooCommerce fő konténer szélességének kibővítése a termékoldalon */
.single-product .site-content, 
.single-product .content-area, 
.single-product #primary, 
.single-product .site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}
/* ==========================================================
   SZÉLESÍTETT ÉS 3D-S INTERAKTÍV EGYEDI TERMÉKOLDAL KÁRTYÁK
   ========================================================== */

/* 1. Szélesebb fő konténer 3D perspektívával */
.single-product div.product {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 45px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 1550px !important; /* Megnövelt szélesség */
    width: 94% !important;         /* Kitölti szinte a teljes képernyőt */
    margin: 40px auto !important;
    box-sizing: border-box !important;
    align-items: start !important;
    perspective: 1200px !important;
}

/* 2. Bal oldali képes kártya 3D hover effekttel */
.single-product div.product div.images {
    width: 100% !important;
    float: none !important;
    margin-bottom: 0 !important;
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(0, 204, 85, 0.25) !important;
    box-shadow: 0 15px 35px rgba(27, 77, 62, 0.08) !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    transform-style: preserve-3d !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.single-product div.product div.images:hover {
    transform: translateY(-8px) scale(1.01) rotateX(1deg) !important;
    box-shadow: 0 25px 50px rgba(27, 77, 62, 0.18), 0 8px 20px rgba(0, 204, 85, 0.12) !important;
    border-color: #00cc55 !important;
}

.single-product div.product div.images img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    transition: transform 0.4s ease !important;
}

.single-product div.product div.images img:hover {
    transform: scale(1.04);
}

/* 3. Jobb oldali adatlap kártya 3D hover effekttel */
.single-product div.product div.summary {
    width: 100% !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    background: #ffffff !important;
    padding: 45px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(0, 204, 85, 0.25) !important;
    box-shadow: 0 15px 35px rgba(27, 77, 62, 0.08) !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    transform-style: preserve-3d !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.single-product div.product div.summary:hover {
    transform: translateY(-8px) scale(1.01) rotateX(1deg) !important;
    box-shadow: 0 25px 50px rgba(27, 77, 62, 0.18), 0 8px 20px rgba(0, 204, 85, 0.12) !important;
    border-color: #00cc55 !important;
}

/* Felső díszítő zöld átmenetes csík mindkét kártya tetején */
.single-product div.product div.images::before,
.single-product div.product div.summary::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 5px !important;
    background: linear-gradient(90deg, #1b4d3e, #00cc55) !important;
}

/* 4. Cím és Ár stílusa */
.single-product div.product h1.product_title {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #1b4d3e !important;
    line-height: 1.2 !important;
    margin: 0 0 10px 0 !important;
}

.single-product div.product p.price {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #059669 !important;
    margin-bottom: 15px !important;
}

.single-product div.product p.price ins {
    background: transparent !important;
    color: #059669 !important;
    text-decoration: none !important;
}

/* 5. Rövid leírás kiemelése */
.single-product div.product .woocommerce-product-details__short-description {
    font-size: 15px !important;
    color: #444444 !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
    border-left: 3px solid #00cc55 !important;
    padding-left: 18px !important;
    background: rgba(0, 204, 85, 0.03) !important;
    border-radius: 0 8px 8px 0 !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* 6. Kosárba gomb és mennyiségválasztó */
.single-product div.product form.cart {
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
    margin-top: 20px !important;
    width: 100% !important;
}

.single-product div.product form.cart .quantity {
    margin: 0 !important;
    float: none !important;
    flex-shrink: 0 !important;
}

.single-product div.product form.cart .quantity input.qty {
    height: 50px !important;
    width: 65px !important;
    border-radius: 14px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    text-align: center !important;
    font-weight: bold !important;
    color: #1b4d3e !important;
    font-size: 16px !important;
    outline: none;
    box-sizing: border-box !important;
}

.single-product div.product form.cart button.button {
    background: linear-gradient(135deg, #00cc55 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    height: 50px !important;
    padding: 0 35px !important;
    border-radius: 14px !important;
    font-weight: bold !important;
    font-size: 16px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(0, 204, 85, 0.4) !important;
    transition: all 0.3s ease !important;
    flex: 1 !important;
}

.single-product div.product form.cart button.button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 204, 85, 0.6) !important;
}

/* 7. Meta adatok (Cikkszám, Kategória, Márka) */
.single-product div.product .product_meta {
    margin-top: 25px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e2e8f0 !important;
    font-size: 13px !important;
    color: #64748b !important;
}

.single-product div.product .product_meta a {
    color: #1b4d3e !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.single-product div.product .product_meta a:hover {
    color: #00cc55 !important;
}

/* 8. Alsó fülek (Tabs) és Kapcsolódó termékek */
.single-product div.product .woocommerce-tabs.wc-tabs-wrapper,
.single-product .related.products {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 1550px !important;
    margin: 40px auto 0 auto !important;
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(0, 204, 85, 0.25) !important;
    box-shadow: 0 15px 35px rgba(27, 77, 62, 0.08) !important;
    box-sizing: border-box !important;
}

.single-product div.product ul.tabs.wc-tabs {
    list-style: none !important;
    padding: 0 !important;
    display: flex !important;
    gap: 10px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    margin-bottom: 25px !important;
}

.single-product div.product ul.tabs.wc-tabs li {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px 10px 0 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

.single-product div.product ul.tabs.wc-tabs li a {
    display: block !important;
    padding: 12px 22px !important;
    font-weight: 700 !important;
    color: #1b4d3e !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

.single-product div.product ul.tabs.wc-tabs li.active {
    background: #00cc55 !important;
    border-color: #00cc55 !important;
}

.single-product div.product ul.tabs.wc-tabs li.active a {
    color: #ffffff !important;
}

.single-product .related.products h2 {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #1b4d3e !important;
    text-align: center !important;
    margin: 0 0 30px 0 !important;
    position: relative;
}

.single-product .related.products h2::after {
    content: '' !important;
    display: block !important;
    width: 70px !important;
    height: 3px !important;
    background: #00cc55 !important;
    margin: 10px auto 0 !important;
    border-radius: 2px;
}

/* 9. Reszponzivitás mobilon/tableten */
@media (max-width: 900px) {
    .single-product div.product {
        grid-template-columns: 1fr !important;
        width: 95% !important;
    }
}

/* ==========================================================
   SPECIÁLIS TERMÉKLEÍRÁS FORMÁZÁS (A megadott HTML alapján)
   ========================================================== */

/* Fő leírás konténer alapbeállítás */
.woocommerce-Tabs-panel--description {
    color: #111111 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* Főcímek a leíráson belül */
.woocommerce-Tabs-panel--description h1 {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #1b4d3e !important;
    margin-bottom: 10px !important;
}

.woocommerce-Tabs-panel--description h2 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #1b4d3e !important;
    margin: 40px 0 20px 0 !important;
    position: relative;
}

.woocommerce-Tabs-panel--description h2::after {
    content: '' !important;
    display: block !important;
    width: 50px !important;
    height: 3px !important;
    background: #00cc55 !important;
    margin: 8px 0 0 0 !important;
    border-radius: 2px;
}

/* Bevezető bekezdések és hr */
.woocommerce-Tabs-panel--description hr {
    border: none !important;
    height: 1px !important;
    background: #e2e8f0 !important;
    margin: 25px 0 !important;
}

/* Speciális jellemzők h3 címsorok (ha egymás alatt lennének, de rácsba rendezzük őket) */
/* Mivel a HTML-edben h3-ak vannak a Speciális jellemzők alatt, átalakítjuk őket kártyákká: */
.woocommerce-Tabs-panel--description h3 {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #1b4d3e !important;
    margin: 0 0 8px 0 !important;
}

/* Hozzájuk tartozó szövegek */
.woocommerce-Tabs-panel--description h3 + p {
    font-size: 14px !important;
    color: #555555 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* A Speciális jellemzők csoportosítása flex/grid rácsba (a h3 és az utána lévő p párosokból kártyát csinálunk) */
/* Ehhez a tiszta megjelenéshez a HTML-ben célszerű a h3+p elemeket egyedi kártya div-be tenni, 
   vagy az alábbi automatikus dobozolás érvényesül: */
.woocommerce-Tabs-panel--description h3 {
    background: #ffffff !important;
    padding: 22px 25px 10px 25px !important;
    border-radius: 16px 16px 0 0 !important;
    border: 1px solid rgba(0, 204, 85, 0.25) !important;
    border-bottom: none !important;
    box-shadow: 0 10px 25px rgba(27, 77, 62, 0.03) !important;
}

.woocommerce-Tabs-panel--description h3 + p {
    background: #ffffff !important;
    padding: 0 25px 22px 25px !important;
    border-radius: 0 0 16px 16px !important;
    border: 1px solid rgba(0, 204, 85, 0.25) !important;
    border-top: none !important;
    box-shadow: 0 10px 25px rgba(27, 77, 62, 0.03) !important;
    margin-bottom: 20px !important;
}

/* Összetétel doboz kiemelése (ha a h2 utáni p elem az) */
.woocommerce-Tabs-panel--description h2:nth-of-type(2) + p {
    background: #ffffff !important;
    padding: 25px 30px !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 5px solid #0284c7 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 30px !important;
}

/* Vitaminok táblázat prémium formázása */
.woocommerce-Tabs-panel--description table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    margin: 25px 0 35px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-Tabs-panel--description table th,
.woocommerce-Tabs-panel--description table td {
    padding: 14px 20px !important;
    font-size: 14px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.woocommerce-Tabs-panel--description table th {
    background: linear-gradient(135deg, #00cc55 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: left !important;
    border-bottom: none !important;
}

.woocommerce-Tabs-panel--description table tr:last-child td {
    border-bottom: none !important;
}

.woocommerce-Tabs-panel--description table tr:nth-child(even) td {
    background: #f8fafc !important;
}

/* Záró összefoglaló és dőlt ivóvizes figyelmeztetés */
.woocommerce-Tabs-panel--description h2:last-of-type + p {
    background: #f8fafc !important;
    padding: 20px 25px !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
}

.woocommerce-Tabs-panel--description em {
    display: block !important;
    margin-top: 20px !important;
    color: #059669 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

/* ==========================================================
   PRÉMIUM FEJLESZTÉSEK ÉS MIKRO-INTERAKCIÓK
   ========================================================== */

/* 1. Pulzáló, figyelemfelkeltő "Kosárba teszem" gomb */
.single-product div.product form.cart button.button {
    position: relative !important;
    animation: buttonPulse 2.5s infinite ease-in-out !important;
}

@keyframes buttonPulse {
    0% { box-shadow: 0 6px 20px rgba(0, 204, 85, 0.4); }
    50% { box-shadow: 0 6px 30px rgba(0, 204, 85, 0.7), 0 0 0 4px rgba(0, 204, 85, 0.2); }
    100% { box-shadow: 0 6px 20px rgba(0, 204, 85, 0.4); }
}

/* 2. Akció Badge (ha akciós a termék) */
.single-product div.product .onsale {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4) !important;
    z-index: 10 !important;
    text-transform: uppercase !important;
}

/* 3. Ikonos USP garancia sáv a kosár gomb alatt */
.single-product div.product .summary::after {
    content: '🚚 Gyors kiszállítás   •   🔒 Biztonságos fizetés   •   💚 Minőségi garancia' !important;
    display: block !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    background: #f8fafc !important;
    padding: 12px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 15px !important;
    letter-spacing: 0.3px !important;
}

/* 4. Táblázat sorainak interaktív hover hatása */
.woocommerce-Tabs-panel--description table tr {
    transition: background 0.2s ease !important;
}

.woocommerce-Tabs-panel--description table tr:hover td {
    background: rgba(0, 204, 85, 0.08) !important;
    color: #1b4d3e !important;
    font-weight: 600 !important;
}

/* 5. Mobilos ragadós (Sticky) vásárlási sáv alul */
@media (max-width: 900px) {
    .single-product div.product form.cart {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        padding: 12px 20px !important;
        box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1) !important;
        z-index: 9999 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        border-top: 1px solid rgba(0, 204, 85, 0.3) !important;
    }
}

/* ==========================================================
   SZÖVEG HOMÁLYOSODÁS JAVÍTÁSA HOVER KÖZBEN
   ========================================================== */

/* 1. Tiszta betűrenderelés kényszerítése az egész kártyán */
.single-product div.product div.summary,
.single-product div.product div.summary * {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

/* 2. Biztosítjuk, hogy a jobb oldali kártya hover közben se homályosítsa el a belső szövegeket */
.single-product div.product div.summary:hover {
    transform: translateY(-4px) !important; /* Enyhébb, tiszta emelkedés forgatás nélkül */
    rotate: none !important;
}

/* 3. A zöld kedvezményes doboz és elemei fixen tiszták maradjanak */
.custom-quick-buy-box, 
.custom-quick-buy-box * {
    transform: none !important;
    filter: none !important;
}
/* ==========================================================
   ARCHÍVUM / MÁRKA CÍMSOR JAVÍTOTT FORMÁZÁSA
   ========================================================== */

.woocommerce-products-header,
.archive.tax-product_attribute,
.tax-product_cat {
    position: relative !important;
}

/* Maga a címsor, aminek blokk megjelenést adunk, hogy alá kerüljön a vonal */
.woocommerce-products-header .woocommerce-products-header__title.page-title,
.archive.tax-product_attribute .page-title,
.tax-product_cat .page-title,
.woocommerce .page-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #1b4d3e !important;
    margin-bottom: 10px !important;
    display: block !important;
    width: fit-content !important;
}

/* A zöld vonal közvetlenül a címsor alatt */
.woocommerce-products-header .woocommerce-products-header__title.page-title::after,
.archive.tax-product_attribute .page-title::after,
.tax-product_cat .page-title::after,
.woocommerce .page-title::after {
    content: '' !important;
    display: block !important;
    width: 50px !important;
    height: 3px !important;
    background: #00cc55 !important;
    margin: 8px 0 0 0 !important;
    border-radius: 2px !important;
}


/* ==========================================================
   WOOCOMMERCE ÜZENET SÁV VÉGLEGES, STABIL JAVÍTÁSA
   ========================================================== */

.woocommerce-notices-wrapper {
    width: 100% !important;
    max-width: 1750px !important;
    margin: 20px auto !important;
    box-sizing: border-box !important;
}

.woocommerce-message {
    background: #ffffff !important;
    color: #1b4d3e !important;
    border: 1px solid rgba(0, 204, 85, 0.3) !important;
    border-left: 5px solid #00cc55 !important;
    border-radius: 16px !important;
    padding: 16px 22px !important;
    box-shadow: 0 10px 30px rgba(27, 77, 62, 0.06) !important;
    
    /* Biztos flexbox rendezés */
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    
    font-size: 15px !important;
    font-weight: 600 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    position: relative !important;
}

/* Eredeti WooCommerce ikon elrejtése, hogy ne torzítson */
.woocommerce-message::before {
    display: none !important;
}

/* Adjunk egy saját, tiszta zöld pipát a szöveg elejére flex alapon */
.woocommerce-message::after {
    content: "✓" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #e6f4ea !important;
    color: #00cc55 !important;
    min-width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    font-size: 13px !important;
    font-weight: bold !important;
    flex-shrink: 0 !important;
    order: 1 !important;
}

/* A "Kosár" gomb fixen a jobb oldalra tolása */
.woocommerce-message .button {
    background: linear-gradient(135deg, #00cc55 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 204, 85, 0.3) !important;
    transition: all 0.2s ease !important;
    margin-left: auto !important; 
    flex-shrink: 0 !important;
    order: 3 !important;
    text-transform: none !important;
}

.woocommerce-message .button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 204, 85, 0.4) !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

/* Bezárhatóság biztosítása: ha van bezáró gomb vagy ha JavaScriptet/kattintást használ */
/* Létrehozunk egy interaktív eltüntetést is, vagy ha a WooCommerce generál gombot, formázzuk: */
.woocommerce-message a.woocommerce-remove-notice, 
.woocommerce-message .close-notice {
    color: #94a3b8 !important;
    font-size: 18px !important;
    margin-left: 10px !important;
    order: 4 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-message a.woocommerce-remove-notice:hover {
    color: #1b4d3e !important;
}
/* ==========================================================
   TERMÉK META KISEBBÍTETT, ELEGÁNS "BUBORÉK" DIZÁJN
   ========================================================== */

.single-product div.product .product_meta {
    margin-top: 20px !important;
    padding-top: 15px !important;
    border-top: 2px solid rgba(0, 204, 85, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

/* Az egyes sorok (Cikkszám, Kategória, Márka) */
.single-product div.product .product_meta > span {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    background: #f8fafc !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 13px !important; /* Kisebb, finomabb betűméret */
    color: #1b4d3e !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

/* A címkék (Cikkszám:, Kategóriák:, Márka:) */
.single-product div.product .product_meta > span > b,
.single-product div.product .product_meta > span > .sku_wrapper,
.single-product div.product .product_meta > span > .posted_in,
.single-product div.product .product_meta > span > .tagged_as {
    color: #059669 !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    font-size: 13px !important;
}

/* Kategória és márka linkek / buborékok */
.single-product div.product .product_meta span.posted_in,
.single-product div.product .product_meta span.tagged_as {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    align-items: center !important;
}

.single-product div.product .product_meta a {
    display: inline-block !important;
    background: #ffffff !important;
    color: #1b4d3e !important;
    padding: 3px 9px !important; /* Kisebb belső tér, hogy kompaktabb legyen */
    border-radius: 6px !important;
    border: 1px solid rgba(0, 204, 85, 0.3) !important;
    font-size: 11.5px !important; /* Pont olyan apró betűméret, mint a rövid leírás */
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.single-product div.product .product_meta a:hover {
    background: #00cc55 !important;
    color: #ffffff !important;
    border-color: #00cc55 !important;
    transform: translateY(-1px) !important;
}

/* Ikonok */
.single-product div.product .product_meta .sku_wrapper::before {
    content: "📌 ";
}
.single-product div.product .product_meta .posted_in::before {
    content: "📁 ";
}
.single-product div.product .product_meta .tagged_as::before {
    content: "🏷️ ";
}

/* ==========================================================
   TERMÉK ÉRTÉKELÉSEK ÉS VÉLEMÉNYEK PRÉMIUM DIZÁJN
   ========================================================== */

#reviews {
    background: #ffffff !important;
    font-family: inherit !important;
    color: #111111 !important;
}

/* Értékelések főcím */
#reviews h2, 
#reviews #reply-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #1b4d3e !important;
    margin-bottom: 20px !important;
}

/* Nincs még értékelés szöveg */
#reviews .woocommerce-noreviews {
    font-size: 15px !important;
    color: #64748b !important;
    background: #f8fafc !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 25px !important;
}

/* Értékelés beküldő űrlap doboz */
#review_form_wrapper {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 204, 85, 0.25) !important;
    border-radius: 18px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(27, 77, 62, 0.04) !important;
    margin-top: 25px !important;
}

/* Űrlap mezők (név, email, szöveg) */
#reviews form.comment-form p {
    margin-bottom: 20px !important;
}

#reviews form.comment-form label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1b4d3e !important;
    display: block !important;
    margin-bottom: 8px !important;
}

#reviews form.comment-form input[type="text"],
#reviews form.comment-form input[type="email"],
#reviews form.comment-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    font-size: 14px !important;
    color: #111111 !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

#reviews form.comment-form input[type="text"]:focus,
#reviews form.comment-form input[type="email"]:focus,
#reviews form.comment-form textarea:focus {
    border-color: #00cc55 !important;
    box-shadow: 0 0 15px rgba(0, 204, 85, 0.15) !important;
}

#reviews form.comment-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Csillag értékelő sáv */
#reviews .comment-form-rating .stars {
    display: flex !important;
    gap: 6px !important;
    font-size: 18px !important;
}

#reviews .comment-form-rating .stars a {
    color: #00cc55 !important;
    text-decoration: none !important;
    transition: transform 0.2s ease !important;
}

#reviews .comment-form-rating .stars a:hover {
    transform: scale(1.2) !important;
}

/* Küldés gomb */
#reviews form.comment-form input[type="submit"],
#reviews form.comment-form button.submit {
    background: linear-gradient(135deg, #00cc55 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(0, 204, 85, 0.4) !important;
    transition: all 0.3s ease !important;
}

#reviews form.comment-form input[type="submit"]:hover,
#reviews form.comment-form button.submit:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 204, 85, 0.6) !important;
}

/* Meglévő vélemények listája (ha vannak) */
#reviews .commentlist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

#reviews .commentlist li.comment {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

#reviews .commentlist li.comment .comment_container {
    display: flex !important;
    gap: 20px !important;
    align-items: flex-start !important;
}

#reviews .commentlist img.avatar {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: 2px solid #00cc55 !important;
}

#reviews .commentlist .comment-text {
    flex-grow: 1 !important;
}

/* ==========================================================
   TERMÉK "TOVÁBBI INFORMÁCIÓK" TÁBLÁZAT PRÉMIUM DIZÁJN
   ========================================================== */

/* A fül tartalom doboza */
.woocommerce-Tabs-panel--additional_information {
    font-family: inherit !important;
    color: #111111 !important;
}

/* Főcím formázása */
.woocommerce-Tabs-panel--additional_information h2 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #1b4d3e !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

.woocommerce-Tabs-panel--additional_information h2::after {
    content: '' !important;
    display: block !important;
    width: 50px !important;
    height: 3px !important;
    background: #00cc55 !important;
    margin: 8px 0 0 0 !important;
    border-radius: 2px !important;
}

/* Maga a táblázat prémium kártyás stílusa */
.woocommerce-Tabs-panel--additional_information table.shop_attributes {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

/* Sorok és cellák formázása */
.woocommerce-Tabs-panel--additional_information table.shop_attributes th,
.woocommerce-Tabs-panel--additional_information table.shop_attributes td {
    padding: 16px 22px !important;
    font-size: 14px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: transparent !important;
}

/* Bal oszlop (Címke, pl. Tömeg) */
.woocommerce-Tabs-panel--additional_information table.shop_attributes th {
    color: #1b4d3e !important;
    font-weight: 700 !important;
    width: 30% !important;
    text-align: left !important;
}

/* Jobb oszlop (Érték, pl. 12 kg) */
.woocommerce-Tabs-panel--additional_information table.shop_attributes td {
    color: #475569 !important;
    font-weight: 500 !important;
}

/* Utolsó sor alsó szegélyének eltávolítása */
.woocommerce-Tabs-panel--additional_information table.shop_attributes tr:last-child th,
.woocommerce-Tabs-panel--additional_information table.shop_attributes tr:last-child td {
    border-bottom: none !important;
}

/* Páros sorok háttere a jobb olvashatóságért */
.woocommerce-Tabs-panel--additional_information table.shop_attributes tr:nth-child(even) th,
.woocommerce-Tabs-panel--additional_information table.shop_attributes tr:nth-child(even) td {
    background: #f8fafc !important;
}

/* Sorokra mutatáskor (hover) finom kiemelés */
.woocommerce-Tabs-panel--additional_information table.shop_attributes tr:hover th,
.woocommerce-Tabs-panel--additional_information table.shop_attributes tr:hover td {
    background: rgba(0, 204, 85, 0.05) !important;
    color: #1b4d3e !important;
}
/* ==========================================================
   TERMÉK KÉP KATTINTÁS LETILTÁSA (Nincs többé teljes képernyős ugrás)
   ========================================================== */
.single-product div.product div.images img {
    cursor: default !important;
    pointer-events: none !important; /* Megakadályozza, hogy kattintásra bármilyen lightbox megnyíljon */
}

/* Ha a kisképekre (galéria) azért rákattintanál, hogy főkép legyen: */
.single-product div.product div.images .flex-control-thumbs img {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* ==========================================================
   WEBHSOP FEJLÉC ÉS VEZÉRLŐK KÖZÉRE RENDEZÉSE MOBILON
   ========================================================== */
@media (max-width: 900px) {
    /* Fő fejléc konténer középre igazítása */
    .woocommerce-products-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 10px 10px 20px 10px !important;
    }

    /* "Termékeink" cím és a zöld csík középre */
    .woocommerce-shop h1.page-title,
    .woocommerce-shop .woocommerce-products-header h1.woocommerce-products-header__title,
    .woocommerce-shop .entry-title {
        text-align: center !important;
        margin: 10px auto !important;
        display: table !important; /* Biztosítja, hogy a szöveg alatt a zöld csík középen maradjon */
    }

    .woocommerce-shop h1.page-title::after,
    .woocommerce-shop .woocommerce-products-header h1.woocommerce-products-header__title::after,
    .woocommerce-shop .entry-title::after {
        left: 15% !important;
        width: 70% !important;
    }

    /* Vissza gomb, kereső és sávok egymás alá rendezése teljes szélességben */
    .shop-custom-header-bar {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    .custom-back-to-shop-btn {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .shop-custom-search-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Kategória szűrő gomb középre */
    .shop-categories-overlay-wrapper {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 10px 0 !important;
    }

    .shop-cat-compact-btn {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    /* Termékszámláló (bal oldali lebegés megszüntetése) */
    .woocommerce-shop .woocommerce-result-count {
        float: none !important;
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        margin: 5px 0 !important;
        box-sizing: border-box !important;
    }

    /* Rendezés legördülő (jobb oldali lebegés megszüntetése) */
    .woocommerce-shop .woocommerce-ordering {
        float: none !important;
        display: block !important;
        width: 100% !important;
        margin: 5px 0 15px 0 !important;
        box-sizing: border-box !important;
    }

    .woocommerce-shop .woocommerce-ordering select {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
}

/* ==========================================================
   EGYEDI TERMÉKOLDAL ÉS KAPCSOLÓDÓ TERMÉKEK MOBIL JAVÍTÁS
   ========================================================== */
@media (max-width: 900px) {
    /* 1. Termék oldal fő grid elrendezés tiszta oszlopba rendezése */
    .single-product div.product {
        display: flex !important;
        flex-direction: column !important;
        width: 94% !important;
        margin: 15px auto !important;
        gap: 20px !important;
        box-sizing: border-box !important;
    }

    /* 2. Kép és Adatlap dobozok tisztességes belső margóval és szélességgel */
    .single-product div.product div.images,
    .single-product div.product div.summary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        margin: 0 !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 204, 85, 0.25) !important;
        box-shadow: 0 10px 30px rgba(27, 77, 62, 0.05) !important;
        position: relative !important;
        overflow: visible !important;
    }

    /* 3. Cím és ár mobilon */
    .single-product div.product h1.product_title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    .single-product div.product p.price {
        font-size: 22px !important;
        margin-bottom: 15px !important;
    }

    /* 4. Rövid leírás és meta adatok (Cikkszám, Kategória, Márka) rendezése */
    .single-product div.product .woocommerce-product-details__short-description {
        margin-bottom: 15px !important;
        padding: 12px !important;
        font-size: 14px !important;
    }

    .single-product div.product .product_meta {
        margin-top: 15px !important;
        padding-top: 15px !important;
        gap: 8px !important;
    }

    .single-product div.product .product_meta > span {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }

    /* 5. Gyors kiszállítás sáv láthatóságának biztosítása és kosár form mobilon */
    .single-product div.product div.summary::after {
        position: static !important;
        display: block !important;
        margin-top: 15px !important;
        font-size: 11px !important;
        padding: 10px !important;
        text-align: center !important;
    }

    /* Mobilon ne legyen kitakarva a tartalom a ragadós gomb miatt */
    .single-product div.product form.cart {
        position: relative !important; /* Statikus, normál helyén marad a dobozban, így nem takar ki semmit */
        bottom: auto !important;
        left: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        margin-top: 20px !important;
        display: flex !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .single-product div.product form.cart .quantity input.qty {
        height: 45px !important;
        width: 55px !important;
    }

    .single-product div.product form.cart button.button {
        height: 45px !important;
        padding: 0 15px !important;
        font-size: 14px !important;
        flex: 1 !important;
    }

    /* 6. Alsó fülek (Tabs) reszponzivitása mobilon */
    .single-product div.product .woocommerce-tabs.wc-tabs-wrapper {
        padding: 20px 15px !important;
        border-radius: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .single-product div.product ul.tabs.wc-tabs {
        flex-direction: column !important;
        gap: 8px !important;
        border-bottom: none !important;
        padding-bottom: 10px !important;
    }

    .single-product div.product ul.tabs.wc-tabs li {
        border-radius: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .single-product div.product ul.tabs.wc-tabs li a {
        padding: 10px 15px !important;
        text-align: center !important;
    }

    /* 7. Hasonló / Kapcsolódó termékek rács fixálása mobilon */
    .single-product .related.products {
        padding: 20px 15px !important;
        border-radius: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .single-product .related.products ul.products {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Mobilon 1 oszlopos, tiszta kártyák */
        gap: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .single-product .related.products ul.products li.product {
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================
   BIZTOS AKCIÓS ANIMÁCIÓ ÉS ÁTVONULÓ PIROS FÉNYCSÍK
   ========================================================== */

/* 1. Az akciós kártya alap pulzálása és sötétített háttere */
.woocommerce ul.products li.product:has(.onsale) {
    background: #fffdfd !important;
    border: 2.5px solid #ff334b !important;
    animation: continuousSalePulse 2s infinite ease-in-out !important;
    position: relative !important;
    overflow: hidden !important;
}

@keyframes continuousSalePulse {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 25px rgba(255, 51, 75, 0.2), 0 0 0 0 rgba(255, 51, 75, 0.4);
    }
    50% {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 20px 45px rgba(255, 51, 75, 0.4), 0 0 0 8px rgba(255, 51, 75, 0.15);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 25px rgba(255, 51, 75, 0.2), 0 0 0 0 rgba(255, 51, 75, 0.4);
    }
}

/* 2. Átvonuló fényes piros hullámcsík (közvetlenül a kártyára generálva) */
.woocommerce ul.products li.product:has(.onsale)::after {
    content: "" !important;
    position: absolute !important;
    top: -50% !important;
    left: -150% !important;
    width: 50% !important;
    height: 200% !important;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 51, 75, 0.05), 
        rgba(255, 51, 75, 0.35), 
        rgba(255, 51, 75, 0.05), 
        transparent
    ) !important;
    transform: rotate(25deg) !important;
    pointer-events: none !important;
    animation: waveLightSweep 3s infinite linear !important;
    z-index: 5 !important;
}

@keyframes waveLightSweep {
    0% {
        left: -150%;
    }
    100% {
        left: 200%;
    }
}

/* 3. A kártya tetején futó sáv */
.woocommerce ul.products li.product:has(.onsale)::before {
    background: linear-gradient(90deg, #ff334b, #ff758c) !important;
    height: 6px !important;
    z-index: 6 !important;
}

/* 4. "AKCIÓ!" badge a jobb felső sarokban */
.woocommerce ul.products li.product .onsale {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    background: linear-gradient(135deg, #ff334b 0%, #d60027 100%) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    padding: 8px 16px !important;
    border-radius: 25px !important;
    box-shadow: 0 6px 15px rgba(255, 51, 75, 0.4) !important;
    z-index: 10 !important;
    min-height: auto !important;
    line-height: 1 !important;
}

/* 5. Árak egymás alatt */
.woocommerce ul.products li.product .price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    margin-bottom: 20px !important;
}

.woocommerce ul.products li.product .price del {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    order: 1 !important;
}

.woocommerce ul.products li.product .price ins {
    background: transparent !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #ff334b !important;
    text-decoration: none !important;
    order: 2 !important;
    letter-spacing: -0.5px !important;
}

.woocommerce ul.products li.product .price::after {
    content: 'HUF' !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    order: 3 !important;
    margin-left: 2px;
}
/* ==========================================================
   AKCIÓS TERMÉK & CÍMKE VÉGLEGES JAVÍTÁS (NINCS ANIMÁCIÓ A TERMÉKOLDALON)
   ========================================================== */

/* 1. Shop / Rács oldali akciós kártyák (animációval és hullámmal) */
.woocommerce ul.products li.product:has(.onsale) {
    background: #fffdfd !important;
    border: 2.5px solid #ff334b !important;
    animation: continuousSalePulse 2s infinite ease-in-out !important;
    position: relative !important;
    overflow: hidden !important;
}

@keyframes continuousSalePulse {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 25px rgba(255, 51, 75, 0.2), 0 0 0 0 rgba(255, 51, 75, 0.4);
    }
    50% {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 20px 45px rgba(255, 51, 75, 0.4), 0 0 0 8px rgba(255, 51, 75, 0.15);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 25px rgba(255, 51, 75, 0.2), 0 0 0 0 rgba(255, 51, 75, 0.4);
    }
}

/* Átvonuló fényes piros hullámcsík csak a rácsban */
.woocommerce ul.products li.product:has(.onsale)::after {
    content: "" !important;
    position: absolute !important;
    top: -50% !important;
    left: -150% !important;
    width: 50% !important;
    height: 200% !important;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 51, 75, 0.05), 
        rgba(255, 51, 75, 0.35), 
        rgba(255, 51, 75, 0.05), 
        transparent
    ) !important;
    transform: rotate(25deg) !important;
    pointer-events: none !important;
    animation: waveLightSweep 3s infinite linear !important;
    z-index: 5 !important;
}

@keyframes waveLightSweep {
    0% { left: -150%; }
    100% { left: 200%; }
}

.woocommerce ul.products li.product:has(.onsale)::before {
    background: linear-gradient(90deg, #ff334b, #ff758c) !important;
    height: 6px !important;
    z-index: 6 !important;
}


/* 2. TERMÉKOLDAL (Single Product) - ANIMÁCIÓ ÉS HULLÁM TELJES KIVÉTELE, CSAK PIROS KERET ÉS CÍMKE */
.single-product.product-template-default div.product:has(.onsale) div.summary,
.single-product.product-template-default div.product:has(.onsale) div.images {
    border: 2.5px solid #ff334b !important;
    animation: none !important; /* Nincs pulzálás */
    position: relative !important;
    overflow: hidden !important;
}

/* Nincs hullám animáció a termékoldalon */
.single-product.product-template-default div.product:has(.onsale) div.summary::after,
.single-product.product-template-default div.product:has(.onsale) div.images::after {
    display: none !important;
}

.single-product.product-template-default div.product:has(.onsale) div.images::before,
.single-product.product-template-default div.product:has(.onsale) div.summary::before {
    background: linear-gradient(90deg, #ff334b, #ff758c) !important;
    height: 6px !important;
}


/* 3. "AKCIÓ!" BADGE (Mindenhol ragyogó pirosra állítva) */
.woocommerce ul.products li.product .onsale,
.single-product .onsale {
    background: linear-gradient(135deg, #ff334b 0%, #d60027 100%) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    padding: 8px 16px !important;
    border-radius: 25px !important;
    box-shadow: 0 6px 15px rgba(255, 51, 75, 0.4) !important;
    z-index: 10 !important;
    min-height: auto !important;
    line-height: 1 !important;
}

.woocommerce ul.products li.product .onsale {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
}


/* 4. Árak elrendezése egymás alatt (Shop + Termékoldal) */
.woocommerce ul.products li.product .price,
.single-product div.product p.price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    margin-bottom: 20px !important;
}

.woocommerce ul.products li.product .price del,
.single-product div.product p.price del {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    order: 1 !important;
}

.woocommerce ul.products li.product .price ins,
.single-product div.product p.price ins {
    background: transparent !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #ff334b !important;
    text-decoration: none !important;
    order: 2 !important;
    letter-spacing: -0.5px !important;
}

.woocommerce ul.products li.product .price::after,
.single-product div.product p.price::after {
    content: 'HUF' !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    order: 3 !important;
    margin-left: 2px;
}

.custom-search-clear-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #00cc55 !important;
}
.autocomplete-item:hover {
    background: rgba(0, 204, 85, 0.2) !important;
}
.custom-search-input::placeholder {
    color: #94a3b8 !important;
}
