[data-lf-com-sets][hidden], [data-lf-com-sets] [hidden] { display: none !important; }
[data-lf-com-sets] { margin: 24px 0; padding: clamp(16px, 3vw, 28px); border: 1px solid #c8d8d3; border-radius: 10px; background: #f7faf8; color: #172d28; }
[data-lf-com-sets] h2 { margin: 0 0 .25em; font-size: clamp(1.35rem, 3vw, 1.8rem); color: inherit; }
[data-lf-com-sets] p { margin: .45em 0 1em; }
[data-lf-com-sets] .lf-fields, [data-lf-com-sets] .lf-garments { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 12px 0; }
[data-lf-com-sets] label, [data-lf-com-sets] strong { display: block; }
[data-lf-com-sets] label { font-weight: 600; margin: .35em 0; }
[data-lf-com-sets] select { width:100%; box-sizing:border-box; min-height:44px; margin-top: 4px; padding:6px; background:white; color:#162a26; border:1px solid #a0b4ae; border-radius:5px; }
[data-lf-com-sets] article { min-width: 0; padding:10px; background:white; border:1px solid #dbe4df; border-radius:6px; }
[data-lf-com-sets] img { display:block; width:100%; height:clamp(110px,20vw,220px); object-fit:contain; margin-bottom:8px; }
[data-lf-com-sets] button { min-height:46px; padding:9px 18px; font-weight:600; border:0; border-radius:5px; background:#006d66; color:white; cursor:pointer; }
[data-lf-com-sets] button:disabled { background:#596f6b; cursor:default; }
[data-lf-com-sets] a { color:#005852; text-decoration:underline; }
[data-lf-com-sets] .lf-status { margin: 8px 0; }
@media(max-width:520px) { [data-lf-com-sets] { padding:14px; } [data-lf-com-sets] .lf-fields, [data-lf-com-sets] .lf-garments { gap:8px; } [data-lf-com-sets] article {padding:6px;} [data-lf-com-sets] button { width:100%; } }

[data-lf-com-sets] .lf-again { margin: 4px 12px 6px 0; color:#005852; border:1px solid currentColor; background:white; }

#lf-com-ready-sets { scroll-margin-top: 90px; }
.lf-com-sets-nav { margin: .5rem 0; }
.lf-com-sets-nav a { display:inline-block; padding: 10px 0; text-decoration:underline; color:#005852; }

/* Product-page builder uses the same visual hierarchy as the MD purchase panel. */
[data-lf-com-sets][data-lf-product-builder] {
    clear: both;
    margin: 24px 0 0;
    padding: 20px;
    color: #263331;
    background: #f3f8f7;
    border: 1px solid #c9dfdd;
    border-radius: 8px;
}

[data-lf-product-builder] h2 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.25;
}

[data-lf-com-sets][data-lf-product-builder] p {
    margin: 10px 0;
    line-height: 1.45;
}

[data-lf-product-builder] .lf-suit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

[data-lf-com-sets][data-lf-product-builder] label {
    display: block;
    min-width: 0;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

[data-lf-product-builder] .lf-suit-model-choice {
    grid-column: 2;
    grid-row: 1 / 3;
    min-width: 0;
}

[data-lf-product-builder] .lf-suit-model-label {
    font-weight: 600;
    line-height: 1.4;
}

[data-lf-com-sets][data-lf-product-builder] select {
    display: block;
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    margin: 6px 0;
    padding: 8px;
    font: inherit;
    font-size: 16px;
    color: #263331;
    background: #fff;
    border: 1px solid #a8bfbd;
    border-radius: 4px;
}

[data-lf-product-builder] .lf-suit-price {
    display: block;
    font-size: 14px;
    font-weight: 400;
}

[data-lf-product-builder] .lf-suit-models {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 6px 0;
}

[data-lf-com-sets][data-lf-product-builder] .lf-suit-model-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 7px;
    color: #263331;
    background: #fff;
    border: 2px solid #c5d5d2;
    border-radius: 5px;
    font: inherit;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
}

[data-lf-com-sets][data-lf-product-builder] .lf-suit-model-card img {
    display: block;
    width: 100%;
    height: 150px;
    margin: 0;
    object-fit: contain;
    background: #fff;
}

[data-lf-product-builder] .lf-suit-model-card[aria-pressed="true"] {
    background: #e1efeb;
    border-color: #006b68;
    box-shadow: inset 0 0 0 1px #006b68;
}

[data-lf-product-builder] .lf-suit-model-card:disabled {
    opacity: .6;
}

[data-lf-com-sets][data-lf-product-builder] a {
    color: #006b68;
    text-decoration: underline;
}

[data-lf-product-builder] .lf-suit-partner-link {
    display: block;
    margin-top: 6px;
    font-size: 14px;
}

[data-lf-product-builder] .lf-suit-total {
    font-size: 18px;
}

[data-lf-product-builder] .lf-suit-total strong {
    display: inline;
}

[data-lf-product-builder] .lf-suit-note {
    color: #536460;
    font-size: 13px;
}

[data-lf-com-sets][data-lf-product-builder] .lf-suit-add {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: #fff;
    background: #006b68;
    border: 0;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
}

[data-lf-product-builder] .lf-suit-add:disabled {
    opacity: .55;
}

[data-lf-product-builder] .lf-status {
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.45;
}

[data-lf-product-builder] [data-error="1"] {
    color: #a52424;
}

[data-lf-product-builder] :focus-visible {
    outline: 2px solid #006b68;
    outline-offset: 3px;
}

@media (max-width: 480px) {
    [data-lf-com-sets][data-lf-product-builder] {
        padding: 16px;
    }

    [data-lf-product-builder] .lf-suit-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    [data-lf-product-builder] .lf-suit-model-choice {
        grid-column: auto;
        grid-row: auto;
    }
}
