.sgcs-look,
.sgcs-look * {
    box-sizing: border-box;
}

.sgcs-look {
    --sgcs-accent: #43cbd9;
    --sgcs-ink: #111;
    --sgcs-muted: #6c6c6c;
    --sgcs-line: #e5e5e5;
    --sgcs-soft: #f7f5f2;
    width: 100%;
    margin: 34px 0 12px;
    padding-top: 24px;
    color: var(--sgcs-ink);
    border-top: 1px solid var(--sgcs-line);
}

.sgcs-heading,
.sgcs-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.sgcs-heading {
    margin-bottom: 16px;
}

.sgcs-heading h2 {
    margin: 3px 0 0 !important;
    color: var(--sgcs-ink);
    font-size: clamp(22px, 2vw, 30px) !important;
    line-height: 1.1 !important;
}

.sgcs-eyebrow {
    color: var(--sgcs-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.sgcs-badge {
    padding: 7px 11px;
    color: #6c4e43;
    background: #f3e7e1;
    border-radius: 999px;
    font-size: 12px;
    white-space: nowrap;
}

.sgcs-products {
    display: flex;
    align-items: center;
    padding: 14px;
    background: var(--sgcs-soft);
    border-radius: 10px 10px 0 0;
}

.sgcs-product {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    padding: 5px;
    opacity: .55;
    transition: opacity .2s ease, transform .2s ease;
}

.sgcs-product.is-selected,
.sgcs-main-product {
    opacity: 1;
}

.sgcs-check-label,
.sgcs-selected-mark {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.sgcs-product-check {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    accent-color: var(--sgcs-accent);
}

.sgcs-selected-mark {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    color: #fff;
    background: var(--sgcs-accent);
    border-radius: 3px;
    font-size: 12px;
}

.sgcs-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #eee;
    border-radius: 5px;
}

.sgcs-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.sgcs-product h3 {
    min-height: 38px;
    margin: 9px 0 6px !important;
    color: var(--sgcs-ink);
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.sgcs-product h3 a {
    color: inherit;
    text-decoration: none;
}

.sgcs-option-label {
    min-height: 36px;
    margin: 0 0 7px !important;
    color: var(--sgcs-muted);
    font-size: 12px;
    line-height: 1.25;
}

.sgcs-variation-select {
    width: 100%;
    min-height: 36px;
    margin: 0 0 7px;
    padding: 5px 26px 5px 8px;
    color: var(--sgcs-ink);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
}

.sgcs-card-price {
    display: block;
    color: var(--sgcs-ink);
    font-size: 15px;
}

.sgcs-plus {
    flex: 0 0 28px;
    color: var(--sgcs-ink);
    text-align: center;
    font-size: 25px;
    font-weight: 300;
}

.sgcs-summary {
    padding: 16px 18px;
    background: var(--sgcs-soft);
    border-top: 1px solid var(--sgcs-line);
    border-radius: 0 0 10px 10px;
}

.sgcs-summary > div {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 2px 12px;
}

.sgcs-summary span,
.sgcs-count {
    color: var(--sgcs-muted);
    font-size: 12px;
}

.sgcs-total {
    color: var(--sgcs-accent);
    font-size: 24px;
}

.sgcs-count {
    grid-column: 1 / -1;
}

.sgcs-add-look.button {
    min-width: 240px;
    min-height: 48px;
    padding: 12px 22px !important;
    color: #fff !important;
    background: #111 !important;
    border: 0 !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    letter-spacing: .02em;
}

.sgcs-add-look.button:disabled {
    opacity: .65;
}

.sgcs-feedback {
    min-height: 22px;
    margin: 9px 0 0 !important;
    font-size: 13px;
}

.sgcs-feedback.is-error {
    color: #b42318;
}

.sgcs-feedback.is-success {
    color: #067647;
}

.sgcs-feedback a {
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 560px) {
    .sgcs-heading,
    .sgcs-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .sgcs-badge {
        align-self: flex-start;
        white-space: normal;
    }

    .sgcs-products {
        display: grid;
        gap: 10px;
        padding: 8px;
    }

    .sgcs-plus {
        display: none;
    }

    .sgcs-product {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        column-gap: 12px;
        align-items: start;
        width: 100%;
        padding: 7px;
        background: #fff;
        border-radius: 7px;
    }

    .sgcs-image {
        grid-column: 1;
        grid-row: 1 / 4;
    }

    .sgcs-product h3,
    .sgcs-option-label,
    .sgcs-variation-select,
    .sgcs-card-price {
        grid-column: 2;
    }

    .sgcs-product h3 {
        min-height: 0;
        margin-top: 2px !important;
        font-size: 12px !important;
    }

    .sgcs-option-label,
    .sgcs-variation-select {
        min-height: 36px;
        font-size: 11px;
    }

    .sgcs-add-look.button {
        width: 100%;
        min-width: 0;
    }
}

