.lookbook {
    --lookbook-gap: clamp(14px, 2vw, 24px);
    --lookbook-radius: 28px;
    --lookbook-panel: rgba(255, 255, 255, 0.84);
    --lookbook-line: var(--mmp-store-color-line);
    --lookbook-shadow: var(--mmp-store-shadow-md);
    margin: 0;
}

.lookbook__header,
.lookbook__panel-head,
.lookbook__summary-actions,
.lookbook-product-card__actions,
.lookbook-collection-card__body {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lookbook__header {
    justify-content: space-between;
    margin-bottom: var(--lookbook-gap);
}

.lookbook__heading {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.lookbook__slider-controls {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: var(--lookbook-gap);
}

.lookbook__slider-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--lookbook-line);
    background: rgba(255, 255, 255, 0.86);
    color: var(--mmp-store-color-ink);
    box-shadow: var(--mmp-store-shadow-sm);
    cursor: pointer;
}

.lookbook__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
    gap: var(--lookbook-gap);
    align-items: start;
}

.lookbook__gallery {
    display: grid;
    gap: var(--lookbook-gap);
}

.lookbook__scene {
    position: relative;
    display: grid;
    gap: 16px;
}

.lookbook__figure,
.lookbook__scene-panel,
.lookbook__summary,
.lookbook__fallback,
.lookbook-product-card,
.lookbook-collection-card {
    border: 1px solid var(--lookbook-line);
    border-radius: var(--lookbook-radius);
    background: var(--lookbook-panel);
    box-shadow: var(--lookbook-shadow);
    backdrop-filter: blur(14px);
}

.lookbook__figure {
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.lookbook__image,
.lookbook__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lookbook__placeholder {
    display: grid;
    place-items: center;
    min-height: 520px;
    color: var(--mmp-store-color-muted);
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(245,239,232,0.8));
}

.lookbook__caption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 3;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.82);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.lookbook__hotspots {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.lookbook__hotspot {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgb(255 255 255 / var(--lookbook-hotspot-opacity, 0.88));
    box-shadow: var(--mmp-store-shadow-sm);
    color: var(--mmp-store-color-ink);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

.lookbook__hotspot .mmp-store-icon {
    width: 12px;
    height: 12px;
    font-size: 12px;
}

.lookbook__hotspot--pill {
    padding-inline: 15px;
}

.lookbook__hotspot--tag {
    border-radius: 14px;
}

.lookbook__hotspot--dot {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
}

.lookbook__hotspot--line {
    border-radius: 999px;
    border-left-width: 4px;
}

.lookbook__hotspot--ink { border-color: rgba(17, 17, 17, 0.12); }
.lookbook__hotspot--accent { border-color: rgba(17, 17, 17, 0.26); }
.lookbook__hotspot--gold { border-color: rgba(17, 17, 17, 0.32); }
.lookbook__hotspot--success { border-color: rgba(17, 17, 17, 0.22); }
.lookbook__hotspot--warning { border-color: rgba(17, 17, 17, 0.22); }
.lookbook__hotspot--muted { border-color: rgba(17, 17, 17, 0.08); }
.lookbook__hotspot--rose { border-color: rgba(17, 17, 17, 0.24); }
.lookbook__hotspot--blue { border-color: rgba(17, 17, 17, 0.24); }

.lookbook__hotspot:hover,
.lookbook__hotspot:focus-visible,
.lookbook__hotspot.is-active {
    transform: translate(-50%, -50%) scale(1.02);
    background: #fff;
}

.lookbook__hotspot--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.lookbook__scene-panel,
.lookbook__summary,
.lookbook__fallback {
    padding: clamp(18px, 2vw, 28px);
}

.lookbook__scene-panel {
    display: grid;
    gap: 16px;
}

.lookbook__product-grid,
.lookbook__fallback-list,
.lookbook-collection {
    display: grid;
    gap: 12px;
}

.lookbook-product-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
}

.lookbook-product-card__media {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.72);
}

.lookbook-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lookbook-product-card__placeholder {
    display: grid;
    place-items: center;
    min-height: 100px;
    color: var(--mmp-store-color-muted);
}

.lookbook-product-card__body {
    display: grid;
    gap: 8px;
}

.lookbook-product-card__meta {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mmp-store-color-muted);
}

.lookbook-product-card__title,
.lookbook-collection-card__body h3,
.lookbook__summary h3 {
    margin: 0;
    font-family: var(--mmp-store-font-display);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1;
}

.lookbook-product-card__price,
.lookbook-product-card__stock,
.lookbook-product-card__note {
    font-size: 14px;
}

.lookbook-product-card__note {
    margin: 0;
    color: #8e1f1f;
}

.lookbook-product-card__actions {
    flex-wrap: wrap;
}

.lookbook__aside {
    position: sticky;
    top: 92px;
    display: grid;
    gap: var(--lookbook-gap);
}

.lookbook__summary,
.lookbook__fallback {
    display: grid;
    gap: 12px;
}

.lookbook__summary p,
.lookbook__fallback p {
    margin: 0;
    color: var(--mmp-store-color-ink-soft);
    line-height: 1.55;
}

.lookbook__summary-actions {
    flex-wrap: wrap;
}

.lookbook__fallback-scene {
    display: grid;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid var(--lookbook-line);
}

.lookbook__fallback-scene:first-child {
    border-top: 0;
    padding-top: 0;
}

.lookbook__fallback-scene strong {
    font-size: 14px;
}

.lookbook__fallback-scene ul {
    margin: 0;
    padding-left: 18px;
    color: var(--mmp-store-color-ink-soft);
}

.lookbook__fallback-note {
    color: #8e1f1f;
    font-size: 12px;
}

.lookbook-collection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lookbook-collection-card {
    overflow: hidden;
}

.lookbook-collection-card__media {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: rgba(255,255,255,0.72);
}

.lookbook-collection-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lookbook-collection-card__placeholder {
    display: grid;
    place-items: center;
    min-height: 260px;
    color: var(--mmp-store-color-muted);
}

.lookbook-collection-card__body {
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px 18px 18px;
    flex-wrap: wrap;
}

.lookbook-collection-card__body p {
    margin: 0;
    color: var(--mmp-store-color-ink-soft);
}

.lookbook--layout-slider .lookbook__gallery {
    grid-auto-flow: column;
    grid-auto-columns: minmax(100%, 1fr);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
}

.lookbook--layout-slider .lookbook__scene {
    scroll-snap-align: start;
}

.lookbook--layout-slider .lookbook__figure {
    min-height: clamp(380px, 60vw, 720px);
}

.lookbook--layout-masonry .lookbook__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lookbook--layout-masonry .lookbook__scene:nth-child(3n + 1) .lookbook__figure {
    min-height: 620px;
}

.lookbook--layout-masonry .lookbook__scene:nth-child(3n + 2) .lookbook__figure {
    min-height: 460px;
}

.lookbook--layout-masonry .lookbook__scene:nth-child(3n + 3) .lookbook__figure {
    min-height: 540px;
}

.lookbook--layout-editorial_split .lookbook__gallery {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.lookbook--layout-editorial_split .lookbook__scene:first-child {
    grid-column: 1 / 2;
    grid-row: span 2;
}

.lookbook--layout-editorial_split .lookbook__scene:first-child .lookbook__figure {
    min-height: 780px;
}

.lookbook--layout-editorial_split .lookbook__scene:not(:first-child) .lookbook__figure {
    min-height: 360px;
}

.lookbook--layout-mosaic .lookbook__gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.lookbook--layout-mosaic .lookbook__scene:nth-child(1) { grid-column: span 7; }
.lookbook--layout-mosaic .lookbook__scene:nth-child(2) { grid-column: span 5; }
.lookbook--layout-mosaic .lookbook__scene:nth-child(3) { grid-column: span 4; }
.lookbook--layout-mosaic .lookbook__scene:nth-child(4) { grid-column: span 8; }

.lookbook--mobile-stack .lookbook__layout {
    grid-template-columns: 1fr;
}

.lookbook--mobile-stack .lookbook__aside {
    position: static;
}

.lookbook--mobile-slider .lookbook__layout {
    grid-template-columns: 1fr;
}

.lookbook--mobile-slider .lookbook__aside {
    position: static;
}

@media (max-width: 1024px) {
    .lookbook__layout {
        grid-template-columns: 1fr;
    }

    .lookbook__aside {
        position: static;
    }

    .lookbook--layout-editorial_split .lookbook__gallery,
    .lookbook--layout-masonry .lookbook__gallery,
    .lookbook--layout-mosaic .lookbook__gallery {
        grid-template-columns: 1fr;
    }

    .lookbook--layout-editorial_split .lookbook__scene:first-child,
    .lookbook--layout-mosaic .lookbook__scene:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .lookbook__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .lookbook-collection {
        grid-template-columns: 1fr;
    }

    .lookbook-product-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .lookbook__figure,
    .lookbook__placeholder {
        min-height: 420px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lookbook__hotspot {
        transition: none;
    }
}
