/* Delivery type label - под иконкой корзины, по правому краю */
.delivery-type-label {
    position: absolute;
    top: 100%;
    right: 0;
    padding: 2px 6px;
    background: transparent;
    font-size: 15px;
    color: #333;
    white-space: nowrap;
    line-height: 1.2;
    margin-top: 4px;
    z-index: 10;
}

.delivery-type-label .delivery-method {
    color: #62982F;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

.delivery-type-label .delivery-method:hover {
    color: #4f7a25;
}

/* Delivery Type Modal Styles - оригинальные стили из catalog.html */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.delivery-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.delivery-option:hover {
    border-color: #62982F;
    background: #f8f9fa;
    transform: translateX(4px);
}

.delivery-option.selected {
    border-color: #62982F;
    background: #e8f5e9;
}

.delivery-option-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #62982F 0%, #4f7a25 100%);
    border-radius: 10px;
    color: #fff;
    font-size: 20px;
    margin-right: 16px;
    flex-shrink: 0;
}

.delivery-option-content {
    flex: 1;
}

.delivery-option-title {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.delivery-option-desc {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #6c757d;
}

.delivery-option-note {
    font-size: 12px;
    color: #62982F;
    font-weight: 500;
}

.delivery-option-radio {
    margin-left: 12px;
}

.delivery-option-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #62982F;
}

.modal-footer {
    padding: 12px 16px;
    border-top: 1px solid #e9ecef;
}

.btn-primary {
    background: linear-gradient(135deg, #62982F 0%, #4f7a25 100%);
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(98, 152, 47, 0.3);
}

/* Delivery Change Confirmation Modal Styles */
#deliveryChangeModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#deliveryChangeModal .modal-header {
    background: linear-gradient(135deg, #62982F 0%, #4f7a25 100%);
    color: white;
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 20px 24px;
}

#deliveryChangeModal .modal-title {
    color: white;
    font-weight: 600;
}

#deliveryChangeModal .modal-body {
    padding: 24px;
    font-size: 15px;
    line-height: 1.6;
}

#deliveryChangeModal .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 16px 16px;
    gap: 12px;
}

#deliveryChangeModal .btn-secondary {
    background: #6c757d;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

#deliveryChangeModal .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}