/* ================================================================
   addonStrip.css  —  MakeMyTrip-style single-row addon strip
   ================================================================ */

/* ── Outer wrapper — sits inside .form-body below search row ── */
.bb-addon-strip {
    border-top: 1px solid #f0f0f0;
    background: #fff;
    border-radius: 0 0 16px 16px;
    padding: 10px 20px;
    display: flex !important;
    align-items: center;
    min-height: 58px;
    gap: 0;
    overflow: hidden;
    margin-top: 8px;
}

.bb-addon-strip:empty { display: none !important; }

/* ── "ADD-ONS" label column ── */
.bb-addon-strip__label {
    font-size: 10px;
    font-weight: 800;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 16px 16px 16px 0;
    border-right: 1px solid #f0f0f0;
    margin-right: 16px;
}

/* ── Scrollable chips area (single row, no wrap) ── */
.bb-addon-strip__chips {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;               /* allow flex shrink */
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 12px 4px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.bb-addon-strip__chips::-webkit-scrollbar { display: none; }

/* Total badge removed */

/* ── Each chip ── */
.bb-addon-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border: 1.5px solid #ddd;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    background: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    user-select: none;
}

.bb-addon-chip:hover {
    border-color: #ffc107;
    background: #fffdf5;
}

.bb-addon-chip.bb-addon-chip--selected {
    border-color: #ffc107;
    background: #fff8e1;
    color: #000;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255,193,7,0.2);
}

/* Circle check icon */
.bb-addon-chip__check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    flex-shrink: 0;
    transition: all 0.18s;
    line-height: 1;
}

.bb-addon-chip--selected .bb-addon-chip__check {
    background: #ffc107;
    border-color: #ffc107;
    color: #000;
}

/* Price badge inside chip */
.bb-addon-chip__price {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    background: #f5f5f5;
    padding: 2px 7px;
    border-radius: 10px;
    transition: background 0.18s, color 0.18s;
}

.bb-addon-chip--selected .bb-addon-chip__price {
    background: #ffc107;
    color: #000;
}

/* Loading text */
.bb-addon-strip__loading {
    font-size: 12px;
    color: #bbb;
    padding: 16px 0;
}

/* ── Responsive ── */
@media screen and (max-width: 640px) {
    .bb-addon-strip { padding: 0 14px; }
    .bb-addon-strip__label { font-size: 9px; padding-right: 12px; margin-right: 12px; }
    .bb-addon-chip { font-size: 12px; padding: 6px 11px; }
    .bb-addon-strip__total { font-size: 11px; padding: 4px 10px; margin-left: 8px; }
}