/* =================================================================== */
/* 1. GLOBÁLIS ÉS HÁTTÉR STÍLUSOK
/* =================================================================== */


@media (min-width: 992px) { 
    header .navbar-brand img {
        width: 150px !important;  
        max-width: 150px !important;
        height: auto !important;
    }
}

/* ========================================= */
/* 2. LÁBLÉC LOGÓ (Footer)                   */

/* ========================================= */
footer .navbar-brand img {
    width: 150px !important; /* Itt állítsd át, ha nagyobbat/kisebbet akarsz */
    max-width: 80% !important; /* Biztonsági korlát, hogy mobilon se lógjon ki */
    height: auto !important;
    
    
}

body {
    background-color: #e9ecef;
    position: relative;
    z-index: 1;
	padding-bottom:0px !important
}

body::before {
    content: '';
    background: url('/custom/drywallservice/image/data/large-triangles.svg') fixed no-repeat center center / cover;
    background-blend-mode: multiply;
    filter: blur(2px);
    position: fixed;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
}

/* =================================================================== */
/* 2. EGYEDI OLDALSÁV BELSŐ STÍLUSAI
/* =================================================================== */

.sidebar-box {
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    text-align: center;
}

.sidebar-box h3 {
    font-size: 22px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
}

.sidebar-box p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: left;
}

.box-login {
    background-color: #f17100;
    color: #ffffff;
}

.box-login h3,
.box-login p {
    color: #ffffff;
}

.box-shipping {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.box-shipping h3 {
    color: #333;
}

.sidebar-button {
    display: block;
    padding: 12px;
    margin: 0 auto 10px auto;
    max-width: 200px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    transition: all 0.2s;
}

.sidebar-button:hover {
    background-color: #f5f5f5;
    color: #333;
    border-color: #ccc;
}

.shipping-details {
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

.shipping-details .free-shipping {
    color: #ff0d06;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
    display: block;
}

.shipping-details strong {
    color: #333;
}

/* =================================================================== */
/* 3. EGYÉB, MEGLÉVŐ STÍLUSOK (VÁLTOZATLAN)
/* =================================================================== */

.search-module .form-control {
    border-left: 0 !important;
}

@media (min-width: 768px) {
    main.has-sticky {
        padding-top: 211px !important;
    }
}

.home-body .has-sticky {
    padding-top: 0px !important;
}

.category-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
    font-family: Arial, sans-serif;
}

.category-card {
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius:5px
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
    height: 200px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.card-color-bar {
    width: 100%;
    height: 5px;
    background-color: #00a1ff;
}

.card-title-wrapper {
    padding: 1.25rem 1rem;
    text-align: center;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease, color 0.3s ease;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title-wrapper h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    transition: color 0.3s ease;
}

.category-card:hover .card-title-wrapper {
    background-color: #00a1ff;
}

.category-card:hover .card-title-wrapper h3 {
    color: #ffffff;
}

.header-category {
    background-color: transparent;
    position: fixed;
    width: 100%;
}

.home-body .headroom--top .header-category:hover {
    background-color: transparent !important;
}

.product-list-body .product-card-cart-button .button-add-to-cart {
    width: auto !important;
    height: auto !important;
    padding-right: 40px;
}

.product-list-body .product-card-cart-button .button-add-to-cart span {
    display: block;
    font-size: 13px
}

.product-list-body .product-card-cart-button svg {
    height: 16px !important;
    width: 16px !important;
    right: 25px !important;
    top: 24px !important
}

.product-page-body .product-addtocart-wrapper .button-add-to-cart {
    width: auto !important;
    height: auto !important;
    transition: all 0.25s ease-in-out !important;
}

.product-page-body .product-addtocart-wrapper .button-add-to-cart>svg {
    width: 20px !important;
    height: 20px !important;
    order: 2;
    margin-left: 10px
}

.product-page-body .product-addtocart-wrapper .button-add-to-cart span {
    display: block !important
}

.product-page-body .quantity-to-cart {
    background-color: white;
    text-align: center !important
}

.header-login .login-list .nav-link {
    background-color: #00a1ff;
    padding: 10px 25px !important;
    color: white !important;
    border-radius: 50px;
    max-width: none !important;
}

.header-login .logged-dropdown .dropdown-hover-menu {
    top: 100%;
    left: 5px;
    right: auto;
    border-top: 0px !important
}

.header-login .login-list .nav-link svg {
    color: white
}

.header-login .login-list .nav-link svg:hover {
    color: white
}

.newsletter-home-wrapper {
    display: flex;
    align-items: stretch;
    background-color: #ffffff;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin: 2rem auto;
    max-width: 1340px;
    padding: 0;
}

.newsletter-home-left,
.newsletter-home-right {
    flex: 1 1 50%;
}

.newsletter-home-left {
    display: flex;
}

.newsletter-home-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 3rem;
}

.newsletter-home-left img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
}

@media (max-width: 767px) {
    #newsletter_subscribe {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .newsletter-home-wrapper {
        flex-direction: column;
    }

    .newsletter-home-left img {
        height: 250px !important;
        max-height: 250px;
        border-radius: 8px 8px 0 0;
    }

    .newsletter-home-right {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .category-grid-container {
        padding: 0.5rem;
        gap: 0.5rem;
    }
}

.product-card-footer {
    justify-content: center !important;
}

.telefon-erdeklodes {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-left: 5px solid #00a1ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.telefon-erdeklodes:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #00a1ff;
}

.telefon-erdeklodes p {
    margin: 0;
    font-size: 17px !important;
    line-height: 1.6;
    color: #495057;
}

.telefon-erdeklodes a {
    color: #00a1ff;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.telefon-erdeklodes a:hover {
    text-decoration: underline;
}

.egyedi-promo-sav {
    background-color: #00a1ff;
    color: white;
    padding: 10px 15px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.egyedi-promo-sav p {
    margin: 0;
    padding: 0;
}

.egyedi-promo-sav a {
    color: white;
    text-decoration: none;
}

.egyedi-promo-sav a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: none
}

.dws-footer-bottom {
    background-color: #302F34;
    color: #a6a5ad;
    padding: 40px 0;
    font-size: 14px;
    line-height: 1.7;
}

.dws-footer-bottom .dws-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 15px;
}

.dws-footer-bottom h3 {
    color: #a6a5ad;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.dws-footer-bottom h3:first-child {
    margin-top: 0;
}

.dws-logo-strip {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
}

.dws-logo-strip .dws-logo-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.dws-logo-strip .dws-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 150px;
}

.dws-logo-strip .dws-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .product-page-body .product-addtocart-wrapper .button-add-to-cart {
        padding: 12px 20px !important;
        width: 100% !important;
        justify-content: center;
    }

    .product-page-body .product-addtocart-wrapper {
        width: 100%;
    }
}

.product-desc img {
    max-width: 100% !important;
    height: auto !important;
}

.sr-login-page-body main,
.sr-register-page-body main {
    margin-bottom: 50px;
}

.ac-register-button,
.checkout-input-row .checkout-input-col.text-center a {
    display: inline-block;
    text-align: center;
    margin-top: 25px;
    padding: 10px 25px;
    border: 2px solid #00a1ff;
    border-radius: 50px;
    color: #00a1ff;
    background-color: transparent;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.ac-register-button:hover,
.checkout-input-row .checkout-input-col.text-center a:hover {
    background-color: #e9f6ff;
    color: #00a1ff;
    border-color: #00a1ff;
}

.fancybox-quickview .product-addtocart-wrapper a.button-add-to-cart {
    width: auto !important;
    height: auto !important;
}

.fancybox-quickview .product-addtocart-wrapper a svg {
    width: 20px !important;
    height: 20px !important;
    order: 1;
}

.fancybox-quickview .product-addtocart-wrapper a span {
    display: inline !important;
    margin-right: 10px
}

.fancybox-quickview .quantity_to_cart {
    background-color: white
}

.row.subcategory-list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 15px !important;
}

.subcategory-list>.col-6,
.subcategory-list>.col-md-4,
.subcategory-list>.col-lg-3 {
    flex: 0 1 200px !important;
    max-width: 250px !important;
    padding: 0 !important;
}

.subcategory-list .card.category-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
}

.subcategory-list .card.category-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-3px) !important;
    background-color: #fff !important;
}

.subcategory-list .card.category-card .category-card-image {
    width: 100%;
    height: 70%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s ease;
}

.subcategory-list .card.category-card:hover .category-card-image {
    transform: scale(1.03);
}

.subcategory-list .card.category-card .card-body.category-card-body {
    padding: 1rem;
    background-color: #fff;
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.subcategory-list .card.category-card .card-link.category-card-link {
    font-size: 1rem;
    font-weight: 600;
    color: #333 !important;
    text-decoration: none;
    display: block;
}

.subcategory-list .card.category-card:hover .card-link.category-card-link {
    color: #333 !important;
}

.product-filter-module .module {
    border-radius: 10px
}

/* =================================================================== */
/* Egyedi oldalakon a jobb oldali aside eltuntetese
/* =================================================================== */

/* 1. Eltünteti a jobb oldali oszlopot (aside), ha a body-n ott van a 'jobb-class-nelkul' class. */
body.jobb-class-nelkul .column-right {
    display: none;
}

/* 2. A fő tartalmi részt (ami eredetileg 9 oszlopos volt) kiterjeszti a teljes szélességre. */
body.jobb-class-nelkul .column-content-left {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Erősebb célzás a checkout gombokra */ 
.ac-test-coupon-submit {
    border-radius: 50px !important;
}

.header-login:after{display:none !important}

@media (min-width: 1024px) {

	#filter_keyword{background-color:#f5f5f5;
	border-radius:50px}
	
	.input-group svg {color:#44a4db}
  }

.header-top-left * {color:white !important}
.header-top-line{background-color:#00a1ff !important}

.product-card-image img{border-radius:10px}
.product-snapshot{border-radius:10px}
.product-cart-box{border-radius:10px}

.product-page-middle-3{display:none}

.preorder-text-line {
    white-space: nowrap;
}

.default-customer-group-price-1{color:red;font-weight:600}

.default-customer-group-price-2{color:green;font-weight:600}

/* =================================================================== */
/* ALKATEGÓRIA kártyák KIKÉNYSZERÍTETT 2 oszlopos mobil nézete
/* =================================================================== */

@media (max-width: 767px) {
    /* Megcélozzuk a konténert, ami tartalmazza a .category-card elemeket */
    .row.subcategory-list {
        display: grid !important;                  /* Átváltjuk flexbox-ról grid-re */
        grid-template-columns: 1fr 1fr !important; /* Létrehozunk 2 darab egyenlő szélességű oszlopot */
        gap: 15px !important;                       /* Beállítjuk a köztük lévő távolságot */
    }

    /* A biztonság kedvéért reseteljük az elemek szélességét, hogy kitöltsék a grid cellájukat */
    .subcategory-list>.col-6,
    .subcategory-list>.col-md-4,
    .subcategory-list>.col-lg-3 {
        width: 100% !important;
        max-width: none !important;
        flex-basis: auto !important; /* Eltávolítjuk a 200px-es alapot */
    }
}

/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */
/* LOGÓ SÁV MOBILON: 3 LÁTHATÓ, OLDALRA GÖRGETHETŐ LOGÓ
/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */

/* Csak mobil képernyőméreten (767px szélesség alatt) lép érvénybe */
@media (max-width: 767px) {

    /* A logókat tartalmazó konténer */
    .dws-logo-strip .dws-logo-container {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        
        /* Távolság a logók között - ezt csökkentettük, hogy több kiférjen */
        gap: 15px !important; 
        
        padding-left: 15px;
        padding-right: 15px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .dws-logo-strip .dws-logo-container::-webkit-scrollbar {
        display: none;
    }

    /* Az egyes logóknak helyet adó "doboz" */
    .dws-logo-strip .dws-logo-item {
        /*********************************************************/
        /* ITT A LÉNYEG: A logó szélessége.                   */
        /* Ezt csökkentettük, hogy 3 kiférjen.                 */
        /*********************************************************/
        flex: 0 0 105px !important;
        width: 105px !important;
    }
}

        /*********************************************************/
        /* Cikkszam másolhatóság letiástása                */
        /* Cikkszámhoz hozzáadjuk a QA-t               */
        /*********************************************************/

.productsku-param {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.productsku-param span::after {
 content:"QA"
}

/* ---- Mega Menü Külső Konténer VÉGLEGES Javítása ---- */
/* Ez a bombabiztos verzió egy nagyon specifikus szelektorral garantáltan felülírja
   a sablon eredeti, kék hátteret és felesleges margót okozó stílusát. */
.sf-menu .children{
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.children .p-3 {
    padding:0rem !important
}

/* ---- Mega Menü Belső Stílusai ---- */
.cascading-menu-container {
    display: flex;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    width: 100%; 
    box-sizing: border-box;
    padding: 30px 20px 30px 40px;
    font-size: 16px; 
    background-image: 
        linear-gradient(to right, rgb(62, 61, 67) 25%, rgba(62, 61, 67, 0.8) 55%, rgba(0, 0, 0, 0.3) 85%, rgba(0, 0, 0, 0) 100%),
        url('/custom/drywallservice/image/data/Kategoria_kepek/osszefolyok.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}
.cascading-menu-left {
    flex: 0 0 300px; 
    display: flex;
    flex-direction: column;
    margin-top: -30px;
    margin-bottom: -30px;
    margin-left: -40px;
}
.cascading-menu-left::before,
.cascading-menu-left::after {
    content: '';
    display: block;
    background-color: #302f34;
    height: 30px; 
}
.cascading-menu-left a {
    position: relative; 
    display: block; 
    text-decoration: none; 
    color: #ffffff; 
    font-weight: bold; 
    transition: background-color 0.2s ease;
    background-color: #302f34;
    padding: 10px 25px 10px 40px;
}
.cascading-menu-left a:not(.no-arrow)::after {
    content: '›'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-weight: bold; font-size: 1.2em; color: rgba(255,255,255,0.7); transition: color 0.2s ease;
}
.cascading-menu-left a.active, .cascading-menu-left a:hover {
    background-color: transparent;
    color: #ffffff;
}
.cascading-menu-left a.active:not(.no-arrow)::after, .cascading-menu-left a:hover:not(.no-arrow)::after {
    color: #ffffff;
}
.cascading-menu-right {
    flex: 1; display: none;
    padding-left: 30px;
}
.cascading-menu-right.active {
    display: flex; gap: 30px;
    align-items: flex-start;
}
.cascading-menu-middle {
    flex: 0 0 250px;
}
.cascading-menu-middle ul { list-style-type: none; padding: 0; margin: 0; }
.cascading-menu-middle ul li a { display: block; padding: 6px 0; text-decoration: none; color: #eeeeee; }
.cascading-menu-middle ul li a:hover, .cascading-menu-middle ul li.active > a { color: #ffffff; font-weight: bold; }
.cascading-menu-middle li[data-sub-target] > a {
    position: relative; padding-right: 20px;
}
.cascading-menu-middle li[data-sub-target] > a::after {
    content: '›'; position: absolute; right: 5px; top: 50%; transform: translateY(-50%); font-weight: bold; font-size: 1.2em; color: rgba(255,255,255,0.5);
}

/* ---- IDE ILLESZTETTEM BE AZ ÚJ KÓDOT ---- */
/* Ez a szabály a KÖZÉPSŐ oszlop azon linkjeire vonatkozik,
   amelyeknek NINCS további almenüjük. */
.cascading-menu-middle ul li:not([data-sub-target]) > a {
    display: inline-block;
    padding: 6px 14px;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-radius 0.2s ease;
}

/* Ugyanazt a hover effektet kapják meg, mint a 3. oszlop elemei. */
.cascading-menu-middle ul li:not([data-sub-target]) > a:hover {
    color: #ffffff;
    background-color: #00a1ff;
    border-radius: 50px;
    font-weight: normal; /* Felülírja az esetleges félkövér stílust a konzisztencia érdekében */
}
/* ---- ÚJ KÓD VÉGE ---- */

.cascading-menu-far-right {
    flex: 1; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 20px;
}
.cascading-menu-far-right ul { display: none; list-style-type: none; padding: 0; margin: 0; }
.cascading-menu-far-right ul.active { display: block; }
.cascading-menu-far-right ul li a { 
    display: inline-block; padding: 6px 14px; text-decoration: none; color: #f0f0f0; white-space: nowrap; transition: background-color 0.2s ease, color 0.2s ease, border-radius 0.2s ease;
}
.cascading-menu-far-right ul li a:hover { 
    color: #ffffff; background-color: #00a1ff; border-radius: 50px;
}
.cascading-menu-far-right ul ul { padding-left: 20px; }

/* ---- szűrő doboz hoover ---- */
.widget-head:hover{color:white !important}

/* ---- Ingyenes szállítás alsó bar ---- */
.js-nanobar-free-shipping{background-color:#2ac54e !important;
border:none !important}
.js-nanobar-free-shipping div{font-size: 1.2rem !important}

.js-nanobar-free-shipping:focus,
.js-nanobar-free-shipping *:focus {
    outline: none !important;
    box-shadow: none !important; /* Biztonsági mentés, ha a fókusz stílust a box-shadow adná */
}

/* Készletinformáció elrejtése a felvillanás ellen */
.product-availability, .param-value {
    visibility: hidden;
}

/* =================================================================== */
/* EGYEDI GOMB A SZÁLLÍTÁSI DÍJAK DOBOZHOZ
/* =================================================================== */

.shipping-details-button {
    display: block;
    padding: 8px 15px; /* CSÖKKENTETT FÜGGŐLEGES PADDING */
    margin: 15px auto 0 auto; /* Térköz felette, középre igazítva */
    max-width: 200px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    background-color: #eb0e08;
    color: white;
    border: none;
    transition: all 0.2s;
}

.shipping-details-button:hover {
    background-color: #ff0d06;
    color: white;
    border-color: none;
}

/* Helsinki Menü - Fix Térköz és Tördelés Optimalizálás */
.header-category .category-menu {
    display: flex !important;
    justify-content: center !important; /* Középre igazítja az egész sort */
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 15px !important; /* EZ A KULCS: pontosan 15px távolság minden doboz között */
    padding: 0 !important;
    margin: 0 auto !important;
}

.header-category .category-menu > li {
    float: none !important;
    flex: 0 1 auto !important; 
    max-width: 110px !important; /* Kényszeríti a két sort a hosszú neveknél */
    list-style: none !important;
}

.header-category .category-menu > li > a.nav-link {
    white-space: normal !important; /* Engedi a tördelést */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    
    /* MÉRETEZÉS ÉS OLVASHATÓSÁG */
    font-size: 13px !important; 
    font-weight: 600 !important;
    min-height: 60px !important; 
    line-height: 1.1 !important;
    padding: 5px 8px !important; /* Belső védőtávolság a szöveg körül */
    color: #ffffff !important;
}

/* Superfish nyilak elrejtése a tiszta képért */
.header-category .category-menu > li.parent > a.nav-link::after {
    display: none !important;
}


/* ============================================================ */
/* GYERMEK TERMÉK TÁBLA – MODERN SEVROLAND-STÍLUS (#00a1ff)    */
/* ============================================================ */

/* Tábla konténer – border és shadow nélkül */
.product-children-table-responsive {
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    margin-bottom: 30px;
    border: none;
    display: inline-block;
    width: auto;
    min-width: 0;
}

/* Tábla alap */
#product-children-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent;
    margin-bottom: 0 !important;
    width: auto !important;
}

/* Fejléc */
#product-children-table .product-children-table-header td {
    background-color: #f7f9fb;
    font-weight: 700;
    font-size: 13px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 8px 14px;
    border-bottom: 2px solid #e4e8ed !important;
    border-top: none !important;
    white-space: nowrap;
}

/* Sorok */
#product-children-table tbody tr {
    transition: background-color 0.15s ease;
    background: transparent;
    height: 50px;
}

#product-children-table tbody tr:hover {
    background-color: #f0f8ff;
}

/* Cellák */
#product-children-table tbody td {
    padding: 0px 14px;
    vertical-align: middle;
    border-top: none !important;
    border-bottom: 1px solid #f0f2f5 !important;
    white-space: nowrap;
    line-height: 1;
    background: transparent;
}

#product-children-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Cikkszám */
.child-list-sku {
    font-size: 13px;
    color: #222;
    font-family: inherit;
    letter-spacing: normal;
}

/* Terméknév */
.child-list-name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

/* ---- Elérhetőség – pill badge ---- */
#product-children-table .product-card-stock {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    background-color: rgba(43, 197, 79, 0.10);
    color: #1fa84e !important;
    white-space: nowrap;
}

#product-children-table .product-card-stock::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='9' fill='%232bc54f'/%3E%3Cpath d='M5 9.5L7.5 12L13 6.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* ---- Ár ---- */
#product-children-table .product-card-price .product-price {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
}

/* ---- Kosárba cart button min-height felülírása ---- */
#product-children-table .product-card-cart-button {
    min-height: 0 !important;
}

/* ---- Kosárba wrapper ---- */
#product-children-table .addtocart_wrapper {
    display: flex !important;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

/* "Menny.:" felirat elrejtése */
#product-children-table .addtocart_wrapper .quantity-text {
    display: none !important;
}

/* ---- Spinner wrapper – pill konténer ---- */
#product-children-table .child-spinner-wrap {
    display: inline-flex !important;
    align-items: center !important;
    border: 1.5px solid #d0d7de !important;
    border-radius: 50px !important;
    background: #fff !important;
    height: 34px !important;
    overflow: hidden !important;
    padding: 3px !important;
    gap: 2px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

/* ---- +/- gombok – kör alakú ---- */
#product-children-table .child-spinner-btn {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    background: #f0f2f5 !important;
    border: none !important;
    border-radius: 50% !important;
    color: #555 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    flex-shrink: 0 !important;
}

/* Disabled állapot – átlátszó háttér */
#product-children-table .child-spinner-btn.child-spinner-disabled {
    background: transparent !important;
    color: #ccc !important;
    cursor: default !important;
}

#product-children-table .child-spinner-btn:not(.child-spinner-disabled):hover {
    background: #d0ebff !important;
    color: #00a1ff !important;
}

#product-children-table .child-spinner-btn:not(.child-spinner-disabled):active,
#product-children-table .child-spinner-btn:not(.child-spinner-disabled):focus {
    outline: none !important;
    box-shadow: none !important;
    background: #b3deff !important;
    color: #00a1ff !important;
}

/* ---- Input a konténeren belül ---- */
#product-children-table .addtocart_wrapper .quantity-input {
    width: 44px !important;
    height: 26px !important;
    text-align: center !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: transparent !important;
    color: #222 !important;
    -moz-appearance: textfield !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
}

#product-children-table .addtocart_wrapper .quantity-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

#product-children-table .addtocart_wrapper .quantity-input::-webkit-inner-spin-button,
#product-children-table .addtocart_wrapper .quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* Mennyiség egység "Szál" */
#product-children-table .addtocart_wrapper .quantity-name-text {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

/* ---- Kosárba gomb – pill + ikon ---- */
#product-children-table .button-add-to-cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 9px 20px !important;
    background-color: #00a1ff !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border: none !important;
    white-space: nowrap !important;
    width: auto !important;
    height: auto !important;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    box-sizing: border-box !important;
}

#product-children-table .button-add-to-cart:hover {
    background-color: #0090e6 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(0, 161, 255, 0.32) !important;
    text-decoration: none !important;
}

#product-children-table .button-add-to-cart:focus,
#product-children-table .button-add-to-cart:active {
    outline: none !important;
    box-shadow: none !important;
}

#product-children-table .button-add-to-cart > svg {
    display: none !important;
}

#product-children-table .button-add-to-cart::after {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M21.8 5a1.36 1.36 0 00-1.04-.47H5.57l-.06-.58C5.2 1.75 3.2 0 .86 0a.86.86 0 100 1.72c1.48 0 2.75 1.1 2.94 2.57l1.02 9.39a2.73 2.73 0 00-.57 5.07h.39a3.09 3.09 0 106.11 0h3.71a3.09 3.09 0 106.07 0H5.89a1.32 1.32 0 110-2.64h10.97a3.45 3.45 0 003.07-2.03.86.86 0 10-1.57-.69 1.73 1.73 0 01-1.5.88H6.53L5.76 6.4h14.32l-.42 2.02a.86.86 0 001.69.35l.64-3.06A1.35 1.35 0 0021.8 5z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

/* ---- Reszponzív – mobil ---- */
@media (max-width: 767px) {
    .product-children-table-responsive {
        display: block;
        width: 100%;
    }

    #product-children-table {
        width: 100% !important;
    }

    #product-children-table .product-children-table-header {
        display: none;
    }

    #product-children-table tbody tr {
        display: block;
        height: auto;
        border: 1px solid #e4e8ed;
        border-radius: 10px;
        margin: 10px 0;
        padding: 0 12px;
        background: #fff;
    }

    #product-children-table tbody tr:hover {
        background-color: #f0f8ff;
    }

    #product-children-table tbody td {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 10px 0;
        border-bottom: 1px solid #f0f2f5 !important;
        white-space: normal;
        line-height: 1.4;
        text-align: left;
        overflow: visible !important;
        background: transparent;
    }

    #product-children-table tbody td:last-child {
        border-bottom: none !important;
    }

    #product-children-table tbody td::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        font-size: 11px;
        color: #aaa;
        text-transform: uppercase;
        margin-bottom: 5px;
        line-height: 1;
        white-space: nowrap;
    }

    #product-children-table .addtocart_wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        overflow: visible !important;
    }

    #product-children-table .child-spinner-wrap {
        overflow: visible !important;
        flex-shrink: 0 !important;
        width: auto !important;
        min-width: 110px !important;
    }

    #product-children-table .addtocart_wrapper .quantity-input {
        width: 44px !important;
        height: 26px !important;
        flex-shrink: 0 !important;
    }

    #product-children-table .button-add-to-cart {
        display: flex !important;
        flex: 1 !important;
        padding: 9px 18px !important;
        font-size: 13px !important;
        justify-content: center !important;
        align-items: center !important;
        margin-top: 0 !important;
        width: auto !important;
    }
}





input.quantity-to-cart {
    min-width: 100px !important;
    width: auto !important;
}