.product-combinations {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    margin-top: 34px;
    padding: 56px 0 20px;
}

.product-combinations-intro {
    margin-bottom: 32px;
    max-width: 680px;
}

.product-combinations-eyebrow {
    color: #2879fe;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-combinations-intro h2 {
    color: #191919;
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.product-combinations-intro p {
    color: #777;
    line-height: 1.7;
    margin: 0;
}

.product-combination {
    border-top: 1px solid #e5e7eb;
    padding: 34px 0 42px;
}

.product-combination:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.product-combination-head {
    align-items: end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 22px;
}

.product-combination-head h3 {
    color: #191919;
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 7px;
}

.product-combination-head p {
    color: #777;
    margin: 0;
}

.product-combination-total {
    color: #777;
    flex: 0 0 auto;
    font-size: 13px;
    text-align: right;
}

.product-combination-total strong {
    color: #191919;
    display: block;
    font-size: 21px;
    margin-top: 3px;
}

.product-combination-layout {
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
}

.product-combination-gallery {
    background: #f7f8fa;
    display: grid;
    gap: 6px;
    grid-auto-flow: row dense;
    grid-auto-rows: minmax(150px, 1fr);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 540px;
    overflow: hidden;
}

.product-combination-gallery-item {
    background: #f7f8fa;
    display: block;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.product-combination-gallery-item:nth-child(6n+1) {
    grid-column: 1;
}

.product-combination-gallery-item:nth-child(6n+2),
.product-combination-gallery-item:nth-child(6n+3) {
    grid-column: 2;
}

.product-combination-gallery-item:nth-child(6n+4) {
    grid-column: 2;
}

.product-combination-gallery-item:nth-child(6n+5),
.product-combination-gallery-item:nth-child(6n+6) {
    grid-column: 1;
}

.product-combination-gallery-item:nth-child(6n+1),
.product-combination-gallery-item:nth-child(6n+4) {
    grid-row: span 2;
}

.product-combination-gallery-item img,
.product-combination-gallery-placeholder {
    height: 100%;
    object-fit: contain;
    transition: transform .25s ease;
    width: 100%;
}

.product-combination-gallery-item:hover img {
    transform: scale(1.025);
}

.product-combination-gallery-placeholder {
    align-items: center;
    color: #999;
    display: flex;
    justify-content: center;
}

.product-combination-gallery-label {
    background: rgba(255, 255, 255, .94);
    bottom: 14px;
    color: #191919;
    font-size: 11px;
    font-weight: 700;
    left: 14px;
    max-width: calc(100% - 28px);
    overflow: hidden;
    padding: 8px 11px;
    position: absolute;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-combination-list {
    border-top: 1px solid #e5e7eb;
}

.product-combination-row {
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    gap: 15px;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    padding: 15px 0;
}

.product-combination-row.is-current {
    background: #f8fbff;
    box-shadow: inset 3px 0 0 #2879fe;
    padding-left: 12px;
}

.product-combination-thumb {
    background: #f7f8fa;
    display: block;
    height: 108px;
}

.product-combination-thumb img,
.product-combination-thumb .product-combination-gallery-placeholder {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.product-combination-copy {
    min-width: 0;
}

.product-combination-category {
    color: #999;
    display: block;
    font-size: 11px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.product-combination-name {
    color: #191919;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.product-combination-price {
    color: #191919;
    font-weight: 700;
}

.product-combination-price .old-price {
    color: #999;
    font-size: 12px;
    font-weight: 400;
    margin-left: 6px;
    text-decoration: line-through;
}

.product-combination-link {
    align-items: center;
    border: 1px solid #2879fe;
    color: #2879fe;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    padding: 0 13px;
    text-transform: uppercase;
}

.product-combination-link:hover {
    background: #2879fe;
    color: #fff;
}

@media (max-width: 991px) {
    .product-combination-layout {
        grid-template-columns: 1fr;
    }

    .product-combination-gallery {
        min-height: 480px;
    }
}

@media (max-width: 575px) {
    .product-combinations {
        padding-top: 38px;
    }

    .product-combination-head {
        align-items: start;
        flex-direction: column;
    }

    .product-combination-total {
        text-align: left;
    }

    .product-combination-gallery {
        grid-auto-rows: 220px;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .product-combination-gallery-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .product-combination-row {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .product-combination-thumb {
        height: 92px;
    }

    .product-combination-link {
        grid-column: 2;
        justify-self: start;
    }
}
