/* Keep the existing desktop cards; fix the mobile layout at the purchase
   panel's actual 991px breakpoint, including a single linked product. */
.cvg-look.cvg-look-layout { box-sizing: border-box; min-width: 0; }
.cvg-look.cvg-look-layout[hidden], .cvg-look-layout .cvg-look__nav[hidden] { display: none !important; }
.cvg-look-layout .cvg-look__btn { width: 44px; height: 44px; font-size: 22px; }
.cvg-look-layout a:focus-visible, .cvg-look-layout button:focus-visible { outline: 2px solid #20211f; outline-offset: 3px; }
@media (max-width: 991px) {
    body.single-product .cvg-look.cvg-look-layout {
        position: relative !important; left: auto !important; top: auto !important;
        opacity: 1; pointer-events: auto; align-self: stretch;
        width: 100% !important; max-width: none !important;
        margin: 20px 0 28px !important; padding: 20px 16px 0;
        border-top: 1px solid #e6e4de; text-align: left;
    }
    .cvg-look-layout .cvg-look__head { margin-bottom: 16px; }
    .cvg-look-layout .cvg-look__title { font-size: 20px; line-height: 1.3; font-weight: 500; }
    .cvg-look-layout .cvg-look__nav { display: none !important; }
    .cvg-look-layout .cvg-look__track {
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px;
        overflow: visible; padding: 0; scroll-snap-type: none;
        width: 100%; min-width: 0;
    }
    .cvg-look-layout .cvg-look__item {
        width: auto; max-width: none; min-width: 0; padding: 0;
        border: 0; border-radius: 0; background: transparent; box-sizing: border-box;
    }
    .cvg-look-layout .cvgge-card-media { min-width: 0; }
    .cvg-look-layout .cvg-look__thumb { margin: 0; background: #f2f1ee; }
    .cvg-look-layout .cvg-look__thumb img {
        display: block; width: 100%; height: auto; max-height: none;
        aspect-ratio: 4 / 5; object-fit: contain; border-radius: 0;
    }
    .cvg-look-layout .cvg-look__name {
        margin: 10px 0 6px; font-size: 14px; line-height: 1.45; color: #20211f;
        overflow-wrap: anywhere;
    }
    .cvg-look-layout .cvg-look__price { font-size: 15px; line-height: 1.5; color: #20211f; }
    /* Swatches remain siblings of the image link and keep their handlers. */
    .cvg-look-layout .cvgge-card-media > .cvgge-swatches {
        position: static !important; width: 100% !important; gap: 4px !important;
        margin: 4px 0 0 !important; flex-wrap: wrap;
    }
    .cvg-look-layout .cvgge-card-media > .cvgge-swatches .cvgge-dot {
        flex: 0 0 44px !important; width: 44px !important; height: 44px !important;
        min-width: 44px !important; min-height: 44px !important;
        max-width: 44px !important; max-height: 44px !important;
        background-clip: border-box !important; padding: 10px !important;
        border-color: transparent !important;
        box-shadow: inset 0 0 0 10px #fff, inset 0 0 0 11px #b8b8b8 !important;
    }
    .cvg-look-layout .cvgge-card-media .cvgge-dot[aria-pressed=true] { outline-offset: -8px; }
    .cvg-look-layout--single .cvg-look__track { grid-template-columns: minmax(0, 1fr); }
    .cvg-look-layout--single .cvg-look__item {
        display: grid; grid-template-columns: minmax(96px, 38%) minmax(0, 1fr);
        column-gap: 16px; align-content: start;
    }
    .cvg-look-layout--single .cvgge-card-media,
    .cvg-look-layout--single .cvg-look__item > .cvg-look__thumb { grid-column: 1; grid-row: 1 / span 3; }
    .cvg-look-layout--single .cvg-look__name { grid-column: 2; margin: 4px 0 8px; }
    .cvg-look-layout--single .cvg-look__price { grid-column: 2; }
}
