.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 200,
        'GRAD' 0,
        'opsz' 24;
}

:root {
    --primary-color: #e30613;
    --text-color: #333;
    --bg-color: #f9f9f9;
    --border-color: #ddd;
}

* {
    box-sizing: border-box;
}





/* Törzs */
.mp_container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

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

/* Termék részletek */
.mp_product-main {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mp_product-main h1 {
    font-size: 1.8rem;
	padding: 0;
	margin: 0 0 10px 0;
    margin-top: 0;
    color: #666;
    font-weight: 500;
	text-align: left;
}

.mp_product-meta {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.mp_product-meta h2{
	font-weight: normal;
	width: 100%;
	text-align: left;
	line-height: normal;
	padding: 0;
	margin: 0 0 10px 0;
}

.mp_product-meta h3, .mp_product-description h3{
	font-size: 120%;
	font-weight: bold;
	color:#333;
	line-height: 1.3;
	width: 100%;
	text-align: left;
	padding: 0;
	margin: 0 0 10px 0;
	
	
	
}

.mp_product-image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-bottom: 2rem;
    color: #aaa;
    font-size: 1.2rem;
}

.mp_product-description h2 {
	font-size: 160%;
    background-color: #f1f1f1;
	padding: 5px 10px;
    margin: 5px 0 ;
    color: #333;
	font-weight: normal;
	width: 100%;
	text-align: left;
	line-height: normal;

}

.mp_product-description strong {
	font-size: 110% !important;
	color:#333;
}


.mp_product-description ul {
    list-style-type: disc;
    padding-left: 40px !important;
}

.mp_product-description li {
    margin-bottom: 10px;
	font-size: 120% !important;
	line-height: 15px !important;

}

.mp_product-description p {
	font-size: 120% !important;
	line-height: 20px;
	
	
}

/* Oldalsáv / Kosár */
.mp_sidebar {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.mp_price-box {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mp_price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.mp_tax-info {
    font-size: 0.8rem;
    color: #888;
}

.mp_btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 37px;
    padding: 0 1.5rem;
    background-color: #eee;
    color: #333;
    text-align: center;
    text-decoration: none;
    font-weight: 400;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    margin: 0;
}

.mp_btn-buy:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}



/* Product Grid for Related Products */
.mp_product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

@media (min-width: 500px) {
    .mp_product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 900px) {
    .mp_product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .mp_product-grid {
        grid-template-columns: repeat(5, 1fr);
        /* 5 oszlop asztali nézetben */
    }
}


/* Új elemek CSS */
.mp_rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.mp_stock-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2e7d32;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.mp_price-block {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.mp_price-net {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
    display: block;
}

.mp_price-gross {
    font-size: 1rem;
    color: #777;
    display: block;
    margin-top: 0.2rem;
}

.mp_quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 1rem;
}

.mp_qty-btn {
    background: #eee;
    border: none;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp_qty-btn:hover {
    background: #e0e0e0;
}

.mp_qty-input {
    width: 50px;
    height: 35px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 1rem;
    -moz-appearance: textfield;
    /* Firefox */
    appearance: textfield;
}

.mp_qty-input::-webkit-outer-spin-button,
.mp_qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mp_extra-services {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border: 1px dashed #ccc;
}

.mp_extra-services h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.mp_service-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    height: 30px;


}

.mp_action-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.mp_action-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555 !important;
    text-decoration: none;
    font-size: 110% !important;
    transition: color 0.2s;
	font-weight: normal !important;
}

.mp_action-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.mp_buy-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}



/* Ikonok helyett karakterek használata a példában */
.mp_icon {
    width: 20px;
    text-align: center;
}

/* Specifikációk táblázat */
.mp_specs-table {
    width: 100%;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.mp_specs-table td {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.mp_specs-key {
    color: #666;
    padding-right: 10px;
    width: 50%;
}

.mp_specs-val {
    font-weight: 600;
    color: #333;
    text-align: right;
    width: 50%;
}

.mp_specs-val a {
	font-size: 110% !important;
	
}

/* Toggle Switch (Csúszka) Stílus */
.mp_switch {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 16px;
    flex-shrink: 0;
    /* Ne nyomódjon össze */
}

.mp_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mp_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 16px;
}

.mp_slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.mp_slider {
    background-color: var(--primary-color);
}

input:focus+.mp_slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked+.mp_slider:before {
    -webkit-transform: translateX(12px);
    -ms-transform: translateX(12px);
    transform: translateX(12px);
}

/* Modal Styles */
.mp_modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.mp_modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mp_modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    color: #666;
}

.mp_form-group {
    margin-bottom: 1rem;
    position: relative;
}

.mp_form-row {
    display: flex;
    gap: 1rem;
}

.mp_input-with-icon {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.5rem;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    /* Fontos a paddig miatt */
}

.mp_input-with-icon .material-symbols-outlined {
    color: #888;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.mp_input-with-icon input,
.mp_input-with-icon textarea {
    border: none;
    outline: none;
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    background: transparent;
}

.mp_form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: #666;
}

.mp_btn-send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 37px;
    padding: 0 1.5rem;
    background-color: #eee;
    color: #333;
    text-align: center;
    text-decoration: none;
    font-weight: 400;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    margin: 0;
    float: right;
    /* Megtartjuk a pozícionálást */
}

.mp_btn-send:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(-5px);
}

/* Hasonló termékek szekció */
.mp_similar-products-section {
    background-color: #eee;
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
}

.mp_similar-products-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.mp_similar-products-content h2 {
    color: #666;
    /* Címsor szín */
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.mp_similar-products-content p {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.mp_btn-similar {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.mp_btn-similar:hover {
    background-color: #b71c1c;
}

.mp_btn-similar:hover {
    background-color: #b71c1c;
}

/* Product Slider */
.mp_slider-container {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto 2rem auto;
    overflow: hidden;
    /* Arrows will sit outside or inside depending on design, here inside padding */
    padding: 0 30px;
    /* Space for arrows */
}

.mp_product-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 0;
    /* Gördítősáv rejtve window szinten, itt nem kell hely */
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    cursor: grab;
    /* Jelzi, hogy húzható */
}

.mp_product-slider.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
    scroll-snap-type: none;
    /* Húzás közben ne akadjon */
    scroll-behavior: auto;
    /* Húzás közben azonnali legyen */
}

.mp_product-slider::-webkit-scrollbar {
    display: none;
}

.mp_product-card {
    /* Default mobile: 1 item full width */
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    transition: box-shadow 0.3s;
    text-align: left;
    box-sizing: border-box;
    /* Fontos a padding miatt */
    display: flex;
    /* Flex layout a belső elemeknek */
    flex-direction: column;
    justify-content: space-between;
    /* Elemek széthúzása */
    height: 100%;
    /* Hogy kitöltse a magasságot ha van fix height, vagy igazodjon */
}

/* Tablet: 2 items? Or 3? Let's go with 2 for smaller tablets, 3 for landscape */
@media (min-width: 600px) {
    .mp_product-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        /* 2 items, 1 gap */
    }
}

@media (min-width: 900px) {
    .mp_product-card {
        flex: 0 0 calc((100% - 3rem) / 3);
        /* 3 items, 2 gaps */
    }
}

@media (min-width: 1200px) {
    .mp_product-card {
        flex: 0 0 calc((100% - 4.5rem) / 4);
        /* 4 items, 3 gaps */
    }
}

.mp_product-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mp_card-image {
    width: 100%;
    height: 195px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    margin-bottom: 0.8rem;
    border-radius: 2px;
    flex-shrink: 0;
	overflow: hidden;
}

.mp_card-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mp_card-title {
    font-size: 120%;
    font-weight: bold;
    /* Headline szerűbb */
    color: #333;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    /* height: 2.6em;  Levesszük a fix magasságot, flex oldja meg */
    overflow: hidden;
}

.mp_card-headline {
    font-size: 100%;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    /* Max 2 sor */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mp_card-sku {
    font-size: 100%;
    color:#000;
    margin-bottom: 0.5rem;
}

.mp_card-sku strong {
	font-weight: 600;

	
	color: #888;
	
}

.mp_card-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.mp_card-status {
    font-size: 0.8rem;
    color: #2e7d32;
    /* Zöld szín */
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    /* Alulra tolja magát a content-wrapperen belül */
    margin-bottom: 1rem;
}

.mp_btn-view-card {
    display: inline-block;
    width: auto;
    padding: 15px 1.2rem !important;
    background-color: var(--primary-color);
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem !important;
	
}

.mp_btn-view-card:hover {
    background-color: #b71c1c;
}

/* Slider Navigation Buttons */
.mp_slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.mp_slider-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.mp_slider-btn.prev {
    left: 0;
}

.mp_slider-btn.next {
    right: 0;
}

/* Breadcrumb stílusok */
.mp_breadcrumb-container {
    max-width: var(--container-width);
    margin: 1rem auto;
    padding: 0 1rem;
    font-size: 0.9rem;
    color: #666;
}

.mp_breadcrumb-container a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.mp_breadcrumb-container a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.mp_breadcrumb-separator {
    margin: 0 0.5rem;
    color: #999;
    font-size: 0.8rem;
}

.mp_breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* Filter Bar stílusok */
.mp_filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 2rem;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    width: 100%;
}

.mp_filter-select {
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    flex: 1;
    min-width: 150px;
    font-size: 100%;
    color: #555;
    background-color: #fff;
    cursor: pointer;
}

.mp_filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.mp_filter-btn {
    padding: 0.6rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s;
    text-transform: uppercase;
}

.mp_filter-btn:hover {
    background-color: #b71c1c;
}

/* Card Actions Row */
.mp_card-actions-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.mp_compare-checkbox {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 100%;
    color: #666;
    cursor: pointer;
    flex: 1;
    margin-bottom: 0;
}

.mp_qty-input-card {
    width: 50px;
    padding: 0.4rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.mp_btn-cart-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.mp_btn-cart-submit:hover {
    background-color: #b71c1c;
}

/* Comparison Table Styles */
.mp_comparison-section {
    display: none;
    /* Alapértelmezetten rejtve */
    margin: 0 auto;
    
	background-color: #f1f1f1;    
    padding: 50px 1rem;
}

.mp_comparison-section h2 {
	width: 100%;
	padding: 0;
	margin: 0 0 20px 0;
	font-weight: 500;
	
}

.mp_table-wrapper {
    overflow-x: auto;
	width: var(--oldalszelesseg);
	margin: auto;
}

.mp_comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 800px;
    /* Hogy mobilon görgethető legyen */
}

.mp_comparison-table th,
.mp_comparison-table td {
    border: 1px solid #ddd;
    padding: 1rem;
    vertical-align: top;
    text-align: left;
    font-size: 0.9rem;
}

.mp_comparison-table th {
    background-color: #fff;
    font-weight: normal;
}

/* Első oszlop (cimkék) */
.mp_comparison-table .mp_label-cell {
    font-weight: 500;
    color: #333;
    width: 200px;
    background-color: #fcfcfc;
}

/* Product Header Cell */
.mp_product-header-cell {
    position: relative;
    text-align: center !important;
    padding-bottom: 1.5rem;
}

.mp_comp-close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

.mp_comp-close-btn:hover {
    color: #b71c1c;
}

.mp_comp-img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.mp_comp-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #333;
}

.mp_comp-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: auto;
}

.mp_comp-qty {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 0.4rem;
    border-radius: 4px;
}

.mp_comp-cart-btn {
    background-color: #555;
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
}

.mp_comp-cart-btn:hover {
    background-color: #333;
}