/* Styling dla opcji produktów w koszyku i podczas procesu zamówienia */

/* Główny kontener dla opcji w koszyku */
.product-options-display {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 10px;
    margin-top: 5px;
}

.product-options-display strong {
    display: block;
    margin-bottom: 5px;
    color: #495057;
    font-size: 12px;
    text-transform: uppercase;
}

.option-item {
    margin-bottom: 3px;
    font-size: 13px;
}

.option-group {
    font-weight: 600;
    color: #6c757d;
    margin-right: 5px;
}

.option-value {
    color: #212529;
    background-color: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}

.basket-product-row-option {
    border-top: 1px solid #dee2e6;
    padding-top: 10px;
    margin-top: 10px;
}

/* Styling dla podsumowania opcji w ordersSuccess */
.product-options-summary {
    background-color: #f1f3f4;
    border-left: 4px solid #007bff;
    padding: 8px 12px;
    margin-top: 8px;
    border-radius: 0 4px 4px 0;
}

.product-options-summary strong {
    display: block;
    margin-bottom: 6px;
    color: #495057;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
}

.option-summary {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 12px;
}

.option-quantity {
    background-color: #007bff;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    margin-right: 8px;
    font-size: 10px;
}

.option-detail {
    display: flex;
    align-items: center;
}

.option-detail .option-group {
    font-weight: 600;
    color: #6c757d;
    margin-right: 4px;
}

.option-detail .option-value {
    color: #212529;
    background-color: #e9ecef;
    padding: 1px 4px;
    border-radius: 2px;
    font-weight: 500;
}

/* Styling dla opcji w checkoutstep4 */
.product-options-checkout {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px;
}

.option-checkout-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6px;
}

.option-checkout-row:last-child {
    margin-bottom: 0;
}

.option-quantity-badge {
    background-color: #28a745;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    margin-right: 10px;
    flex-shrink: 0;
}

.option-details {
    flex: 1;
}

.option-checkout-item {
    margin-bottom: 2px;
    font-size: 12px;
}

.option-checkout-item .option-group {
    font-weight: 600;
    color: #6c757d;
    margin-right: 4px;
}

.option-checkout-item .option-value {
    color: #212529;
    background-color: #e9ecef;
    padding: 1px 4px;
    border-radius: 2px;
    font-weight: 500;
}

.simple-quantity {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Responsywność */
@media (max-width: 768px) {
    .product-options-display,
    .product-options-summary,
    .product-options-checkout {
        padding: 6px;
        font-size: 11px;
    }
    
    .option-checkout-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .option-quantity-badge {
        margin-bottom: 4px;
        margin-right: 0;
    }
    
    .option-item,
    .option-summary,
    .option-checkout-item {
        font-size: 11px;
    }
}

/* Dodatkowe style dla lepszego wyświetlania w tabelach */
.table .product-options-display,
.table .product-options-summary,
.table .product-options-checkout {
    margin: 5px 0;
}

.table td .product-options-display strong,
.table td .product-options-summary strong {
    margin-bottom: 3px;
}

/* Styling dla opcji w mini-koszyku */
.mini-cart-options {
    margin: 4px 0 6px 0;
    padding: 4px 0;
    border-top: 1px solid #f0f0f0;
}

.mini-option-item {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    font-size: 11px;
    line-height: 1.2;
}

.mini-option-item:last-child {
    margin-bottom: 0;
}

.mini-option-quantity {
    background-color: #007bff;
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
    font-weight: 600;
    margin-right: 6px;
    font-size: 9px;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.mini-option-detail {
    color: #666;
    font-size: 10px;
    line-height: 1.1;
}

/* Responsywność dla mini-koszyka */
@media (max-width: 767px) {
    .mini-cart-options {
        margin: 2px 0 4px 0;
        padding: 2px 0;
    }
    
    .mini-option-item {
        font-size: 10px;
        margin-bottom: 1px;
    }
    
    .mini-option-quantity {
        font-size: 8px;
        padding: 1px 3px;
        margin-right: 4px;
    }
    
    .mini-option-detail {
        font-size: 9px;
    }
} 