/**
 * The order bump's box (the upsells compo, task upsell-compo-04-11-2026, D6): its tick lines' layout, loaded with the box's
 * first answer (UpsellsControllerFR_cl::lookFiles()). The design's values — the box, the cards, the image — are compiled
 * into the design's CSS (look/v_order_bump/generated_css.php).
 */
.cl-upsell-ticks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cl-upsell-ticks .cl-upsell-heading,
.cl-upsell-ticks .cl-upsell-ticks-intro {
    margin: 0;
}
.cl-upsell-ticks-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* A tick line: the card is the checkbox's <label>, so a tap anywhere on it ticks (the checkout's Extra fees' way). A line
   whose options are chosen first is not a label: its button opens the Quick View, and goes under the text when the text
   would be left narrower than 140px (a phone: measured at 390px, the name was squeezed into 95px and five rows), at the
   end of its row like in the wide line (the line aligns it: the button's margin is its design preset's). */
.cl-upsell-ticks-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin: 0;
    cursor: pointer;
}
div.cl-upsell-ticks-line {
    cursor: default;
}
.cl-upsell-ticks-line input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}
.cl-upsell-ticks-line input[type="checkbox"]:disabled {
    cursor: not-allowed;
}
.cl-upsell-ticks-image {
    flex-shrink: 0;
    display: block;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}
.cl-upsell-ticks-text {
    flex: 1 1 140px;
    min-width: 0;
}
/* The size its rule gives (K2, owner 07-11-2026: fixed, or the product bought's), on its own line in the tick's text. */
.cl-upsell-ticks-size {
    display: block;
    font-size: 0.85em;
    opacity: 0.8;
}
.cl-upsell-ticks-choose {
    flex-shrink: 0;
}

/* An add-on's options (a product design's Add-ons block, L2): its pickers under its text, the whole width of the line. */
.cl-upsell-ticks .cl-upsell-pickers {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
}
.cl-upsell-ticks .cl-upsell-pickers .cl-vr-parent {
    flex: 1 1 120px;
    min-width: 0;
}
.cl-upsell-ticks .cl-upsell-pickers select {
    width: 100%;
    max-width: 100%;
}
.cl-upsell-addons .cl-upsell-ticks-line[hidden] {
    display: none;
}
