.addon-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 16px;
    animation: addonFadeIn 0.2s ease;
}
@keyframes addonFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.addon-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
    animation: addonSlideUp 0.25s ease;
}
@keyframes addonSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.addon-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border, #e8e8e8);
}
.addon-modal-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.addon-modal-item-info img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}
.addon-modal-item-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark, #191919);
}
.addon-modal-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary, #ff3008);
}
.addon-modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-gray, #767676);
    line-height: 1;
    padding: 4px;
}
.addon-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.addon-loading {
    text-align: center;
    padding: 30px;
    color: var(--text-gray, #767676);
}
.addon-section {
    margin-bottom: 20px;
}
.addon-section-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray, #767676);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.addon-section-title i {
    color: var(--primary, #ff3008);
}
.addon-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border: 1.5px solid var(--border, #e8e8e8);
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.addon-option:hover {
    border-color: rgba(255, 48, 8, 0.4);
}
.addon-option.selected {
    border-color: var(--primary, #ff3008);
    background: #fff6f3;
}
.addon-option-check {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: transparent;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.addon-option.selected .addon-option-check {
    background: var(--primary, #ff3008);
    border-color: var(--primary, #ff3008);
    color: #fff;
}
.addon-option-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
.addon-option-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.15s ease;
}
.addon-option.selected .addon-option-radio {
    border-color: var(--primary, #ff3008);
}
.addon-option.selected .addon-option-radio::after {
    background: var(--primary, #ff3008);
}
.addon-option-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark, #191919);
}
.addon-option-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-gray, #767676);
}
.addon-option.selected .addon-option-price {
    color: var(--primary, #ff3008);
}
.addon-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid var(--border, #e8e8e8);
    background: #fafafa;
    border-radius: 0 0 20px 20px;
}
.addon-modal-total span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-gray, #767676);
    font-weight: 700;
    text-transform: uppercase;
}
.addon-modal-total strong {
    font-size: 1.2rem;
    color: var(--text-dark, #191919);
}
.addon-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary, #ff3008);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}
.addon-modal-btn:hover {
    background: var(--primary-dark, #e02800);
    transform: translateY(-1px);
}
@media (max-width: 480px) {
    .addon-modal {
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
    }
    .addon-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }
}

