/* Bento (sections/bento.php): on white, 96px down, the head 56px over the cards (633 + 24 + 633 on the 1290 grid:
   the large card as tall as the column of two 290px cards), the note 56px under them */
.sales-bento {
    padding: 96px 0 56px;
    background: #fff;
}

.sales-bento__container {
    width: min(1290px, 100% - 48px);
    margin: 0 auto;
}

.sales-bento__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sales-page .sales-bento__label {
    margin: 0;
    padding: 8px 16px 8px 14px;
    border-radius: 99px;
    background: var(--ltb-anthracite);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
}

/* the design's lines are 30px boxes 24px apart: 54px lines, each line's middle where the design has it, the box
   ending where the design's does (12px into the last line) */
.sales-page .sales-bento__title {
    margin: 22px 0 -12px;
    color: var(--ltb-anthracite);
    font-size: 48px;
    font-weight: 700;
    line-height: 54px;
    letter-spacing: -.72px;
}

.sales-page .sales-bento__title .green {
    color: var(--ltb-green-muted);
}

.sales-bento__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 56px;
}

.sales-bento__col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sales-bento__card {
    display: flex;
    box-sizing: border-box;
    padding: 12px;
    border-radius: 36px;
    background: var(--ltb-light-beige);
}

.sales-bento__card--large {
    flex-direction: column;
    min-height: 604px;
}

.sales-bento__card--row {
    gap: 8px;
    min-height: 290px;
}

.sales-bento__photo {
    position: relative;
    flex: none;
    overflow: hidden;
    border-radius: 26px;
}

.sales-bento__card--large .sales-bento__photo {
    aspect-ratio: 609 / 346;
}

.sales-bento__card--row .sales-bento__photo {
    width: 238px;
    min-height: 266px;
}

.sales-bento__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}

.sales-bento__tile {
    position: absolute;
    display: block;
}

.sales-bento__card--large .sales-bento__tile {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
}

.sales-bento__card--row .sales-bento__tile {
    bottom: 14px;
    left: 14px;
    width: 48px;
    height: 48px;
}

/* the number in a dark disc and the stage on a white pill */
.sales-bento__step {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    padding: 5px 14px 5px 5px;
    border-radius: 99px;
    background: #fff;
}

.sales-bento__card--large .sales-bento__step {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
}

/* its pill in the copy: the stacked layout's (below) */
.sales-bento__card--large .sales-bento__step--body {
    display: none;
}

.sales-bento__num {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 99px;
    background: var(--ltb-anthracite);
    color: var(--ltb-light-beige);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
}

.sales-bento__card--large .sales-bento__num {
    color: #fff;
}

.sales-bento__step-label {
    color: var(--ltb-anthracite);
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
}

.sales-bento__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.sales-bento__card--large .sales-bento__body {
    padding: 26px 22px 14px;
}

.sales-bento__card--row .sales-bento__body {
    flex: 1 1 0;
    justify-content: center;
    padding: 14px 16px 14px 18px;
}

.sales-page .sales-bento__amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 10px;
    margin: 0;
}

.sales-bento__card--row .sales-bento__amount {
    column-gap: 8px;
}

.sales-bento__lead {
    color: var(--ltb-ash);
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
}

.sales-bento__value {
    color: var(--ltb-anthracite);
    font-size: 60px;
    font-weight: 800;
    line-height: 82px;
    letter-spacing: -1.2px;
}

.sales-bento__card--row .sales-bento__lead {
    font-size: 18px;
    line-height: 25px;
}

.sales-bento__card--row .sales-bento__value {
    font-size: 42px;
    line-height: 57px;
    letter-spacing: -.63px;
}

.sales-page .sales-bento__card-title {
    margin: 0;
    color: var(--ltb-anthracite);
    font-size: 36px;
    font-weight: 600;
    line-height: 48px;
}

.sales-page .sales-bento__card--row .sales-bento__card-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 26px;
}

.sales-page .sales-bento__desc {
    margin: 0;
    color: var(--ltb-ash);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.sales-page .sales-bento__card--row .sales-bento__desc {
    font-size: 15px;
    line-height: 22px;
}

.sales-page .sales-bento__note {
    margin: 56px 0 0;
    color: var(--ltb-ash);
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

/* the stage label of the shopping landing: 16px medium */
.sales-page--influencers .sales-bento__step-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 22.4px;
}

/* narrower than the two columns: the cards one under another, at the design's 633px */
@media (max-width: 1337px) {
    .sales-bento__grid {
        grid-template-columns: minmax(0, 633px);
        justify-content: center;
    }

    /* the large card laid out as the others: the photo on its left, the copy beside it in their sizes */
    .sales-bento__card--large {
        flex-direction: row;
        gap: 8px;
        min-height: 290px;
    }

    .sales-bento__card--large .sales-bento__photo {
        width: 238px;
        min-height: 266px;
        aspect-ratio: auto;
    }

    .sales-bento__card--large .sales-bento__photo .sales-bento__step {
        display: none;
    }

    .sales-bento__card--large .sales-bento__step--body {
        position: static;
        display: inline-flex;
    }

    .sales-bento__card--large .sales-bento__num {
        color: var(--ltb-light-beige);
    }

    .sales-bento__card--large .sales-bento__tile {
        right: auto;
        bottom: 14px;
        left: 14px;
        width: 48px;
        height: 48px;
    }

    .sales-bento__card--large .sales-bento__body {
        flex: 1 1 0;
        justify-content: center;
        padding: 14px 16px 14px 18px;
    }

    .sales-bento__card--large .sales-bento__amount {
        column-gap: 8px;
    }

    .sales-bento__card--large .sales-bento__lead {
        font-size: 18px;
        line-height: 25px;
    }

    .sales-bento__card--large .sales-bento__value {
        font-size: 42px;
        line-height: 57px;
        letter-spacing: -.63px;
    }

    .sales-page .sales-bento__card--large .sales-bento__card-title {
        font-size: 19px;
        font-weight: 700;
        line-height: 26px;
    }

    .sales-page .sales-bento__card--large .sales-bento__desc {
        font-size: 15px;
        line-height: 22px;
    }

    .sales-bento__head {
        width: min(633px, 100%);
        margin: 0 auto;
    }

    .sales-page .sales-bento__note {
        width: min(633px, 100%);
        margin-right: auto;
        margin-left: auto;
    }
}

/* phones: 20px in, every card (the large one too) with its photo over the copy */
@media (max-width: 767px) {
    .sales-bento {
        padding: 56px 0 40px;
    }

    .sales-bento__container {
        width: calc(100% - 40px);
    }

    .sales-page .sales-bento__title {
        margin-top: 16px;
        font-size: 34px;
        line-height: 40px;
        letter-spacing: -.51px;
    }

    .sales-bento__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: 32px;
    }

    .sales-bento__col {
        gap: 16px;
    }

    .sales-bento__card--large,
    .sales-bento__card--row {
        flex-direction: column;
        gap: 0;
        min-height: 0;
    }

    .sales-bento__card--large .sales-bento__photo,
    .sales-bento__card--row .sales-bento__photo {
        width: auto;
        min-height: 0;
        aspect-ratio: 609 / 346;
    }

    .sales-bento__img {
        object-position: var(--sales-focus, 50% 50%);
    }

    .sales-bento__card--large .sales-bento__body,
    .sales-bento__card--row .sales-bento__body {
        padding: 26px 22px 14px;
    }

    /* "Over 100 countries" on one line at 390 */
    .sales-bento__card--large .sales-bento__lead,
    .sales-bento__card--row .sales-bento__lead {
        font-size: 16px;
        line-height: 22px;
    }

    .sales-bento__card--large .sales-bento__value,
    .sales-bento__card--row .sales-bento__value {
        font-size: 36px;
        line-height: 49px;
        letter-spacing: -.54px;
    }

    .sales-page .sales-bento__note {
        margin-top: 32px;
    }
}

/* the photos and tiles are pictures only: a drag over them selects the copy instead of dragging the image */
.sales-bento__img,
.sales-bento__tile {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}
