.custom-order-table{
    display: block; 
    overflow-x: auto; 
    white-space: nowrap;
}

.custom-order-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.custom-order-table .header-row {
    background-color: #f9f9f9;
    font-weight: bold;
    text-align: center;
}

.cvariation-color-swatch{
    margin-left: 40px;
}

.custom-order-table .product-color-swatch {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-order-table .color-swatch {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    border: 1px solid grey;
    margin-right: 5px;
}

.custom-order-table .text-right {
    text-align: right;
}

.custom-order-table .text-center {
    text-align: center;
}

.custom-order-table .price {
    color: red;
}

.custom-order-table .price-row {
    border-bottom: 2px solid black;
}

.fix-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff; /* Fehér háttér */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Árnyék a konténer fölött */
    padding: 10px 15px;
    z-index: 10; /* Előtérbe helyezi */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-sticky-content .product-media img {
    width: 85px;
    height: 85px;
    object-fit: cover;
}

.product-sticky-content .product-details {
    flex: 1;
}

.product-sticky-content .product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.product-sticky-content .product-price {
    font-size: 14px;
    color: #333;
}

.product-sticky-content .new-price {
    font-weight: bold;
    color: #27ae60; /* Zöld szín az új árnak */
}

.product-sticky-content .old-price {
    text-decoration: line-through;
    color: #999;
    margin-left: 5px;
}

.product-sticky-content span#totaltobasket {
    margin-left: 5px;
    text-transform: lowercase;
}

@media (max-width: 768px) {
    .fix-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-sticky-content button#addcart {
        width: 100%;
        justify-content: center;
    }
}

/* A teljes képernyős háttér */
.custom-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Sötét háttér az ablak mögött */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* A modális tartalom */
.custom-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Bezárás gomb stílusa */
.custom-modal-close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* A loading animáció a gomb mellett */
.loading-spinner {
    border: 2px solid #f3f3f3; /* Világos szürke háttér */
    border-top: 2px solid #855832; /* Kék színű "előre haladás" */
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite; /* Animáció forgásra */
    margin-left: 10px; /* Kis margó a gomb mellett */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}