/* ===== Pack Composer – compose UI ===== */

.packcomposer-compose .pc-choices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.pc-choice-card {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pc-choice-card:hover:not(.pc-choice-unavailable) {
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.pc-choice-unavailable {
    opacity: .55;
}

.pc-choice-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-stock-info {
    font-size: 11px;
    color: #6c757d;
}

.pc-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pc-qty-disabled {
    opacity: .4;
    pointer-events: none;
}

.pc-btn-minus,
.pc-btn-plus {
    width: 30px;
    height: 30px;
    border: 1px solid #ced4da;
    border-radius: 50%;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #495057;
    transition: background .1s;
}

.pc-btn-minus:hover:not(:disabled),
.pc-btn-plus:hover:not(:disabled) {
    background: #e2e6ea;
}

.pc-qty {
    min-width: 22px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: #222;
}

.pc-counter-badge {
    transition: background .2s, color .2s;
}

.pc-confirm-area {
    text-align: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #dee2e6;
}

.pc-confirm-area .pc-btn-confirm {
    min-width: 220px;
}

.pc-feedback {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
}

/* ===== Modal ===== */
#packcomposer-modal .modal-body {
    padding: 16px;
    max-height: 75vh;
    overflow-y: auto;
}