.apc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    font-family: inherit;
}

.apc-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.apc-modal__content {
    position: relative;
    max-width: 480px;
    margin: 40px auto;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    z-index: 2;
}

.apc-modal__close {
    position: absolute;
    right: 10px;
    top: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.apc-field {
    margin-bottom: 12px;
}

.apc-field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.apc-field input,
.apc-field textarea {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#apc-submit-order {
    width: 100%;
    padding: 10px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}

.apc-cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

#apc-messages {
    margin-top: 10px;
    color: #d00;
}
