/* MB17907A_COLLECTION_FINAL_POLISH */
/* MB17906_COLLECTION_REFINEMENT */
/* MB17502_COLLECTION_DESIGN */

.mb-collection-showcase,
.mb-product-discovery {
    --mb-collection-accent: #681827;
    --mb-collection-deep: #380e1b;
    --mb-collection-gold: #b29569;
    --mb-collection-ink: #292526;
    --mb-collection-muted: #655e60;
    --mb-collection-paper: #fff;
    --mb-collection-line: #e5ded7;
    --mb-collection-radius: 8px;
}

.mb-collection-showcase {
    min-width: 0;
    position: relative;
    background: #f8f6f2;
    background-image: none;
    padding-top: clamp(24px, 3vw, 40px);
    padding-bottom: clamp(24px, 2vw, 30px);
}

.mb-collection-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 24px;
}

.mb-collection-heading {
    min-width: 0;
}

.mb-collection-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
    color: var(--mb-collection-accent);
    font-size: 10px;
    font-weight: var(--mb-design-weight-medium, 500);
    letter-spacing: .15em;
    line-height: 1.4;
}

.mb-collection-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    flex: 0 0 22px;
    background: var(--mb-collection-gold);
}

.mb-collection-showcase .mb-collection-heading .preview-title {
    margin: 0;
    font-size: clamp(23px, 2.1vw, 34px);
    font-weight: var(--mb-design-weight-medium, 500);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--mb-collection-ink);
}

.mb-collection-showcase .mb-collection-heading .preview-text {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.65;
    font-weight: var(--mb-design-weight-medium, 500);
    color: var(--mb-collection-muted);
}

.mb-collection-count {
    flex-shrink: 0;
    color: var(--mb-collection-muted);
    font-size: 11px;
    font-weight: var(--mb-design-weight-strong, 600);
    padding-bottom: 4px;
}

.mb-collection-stage {
    position: relative;
    min-width: 0;
}

.mb-collection-showcase .mb-collection-stage .mbv3-track {
    margin-top: 0;
    padding-top: 3px;
    padding-bottom: 12px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.mb-collection-showcase .mbv3-track::-webkit-scrollbar {
    display: none;
}

.mb-collection-showcase .mbv3-track:focus-visible {
    outline: 2px solid var(--mb-collection-gold);
    outline-offset: 4px;
}

.mb-collection-showcase .mb-collection-stage .mbv3-arrows {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    pointer-events: none;
}

.mb-collection-showcase .mbv3-arrows button {
    pointer-events: auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 0;
    border: 1px solid var(--mb-collection-accent);
    border-radius: 50%;
    background: #f8f6f2;
    color: #681827;
    font-size: 22px;
    line-height: 1;
    font-weight: var(--mb-design-weight-strong, 600);
    box-shadow: 0 2px 8px rgba(48,10,22,.06);
    transition: background .18s, box-shadow .18s;
    background-color: #f8f6f2;
    background-image: none;
    border-color: #ded3ca;
    border-style: solid;
    border-width: 1px;
}

.mb-collection-showcase .mbv3-arrows button[data-dir="-1"] {
    transform: translateX(calc(-100% - 5px));
    background: #f8f6f2;
    background-color: #f8f6f2;
    background-image: none;
    color: #681827;
    border-color: #ded3ca;
    box-shadow: 0 2px 8px rgba(48,10,22,.06);
    border-style: solid;
    border-width: 1px;
}

.mb-collection-showcase .mbv3-arrows button[data-dir="1"] {
    transform: translateX(calc(100% + 5px));
    background: #f8f6f2;
    background-color: #f8f6f2;
    background-image: none;
    color: #681827;
    border-color: #ded3ca;
    box-shadow: 0 2px 8px rgba(48,10,22,.06);
    border-style: solid;
    border-width: 1px;
}

.mb-collection-showcase .mbv3-arrows button:hover {
    background: var(--mb-gradient-control, #681827);
    box-shadow: 0 3px 9px rgba(48,10,22,.10);
    color: #fff;
}

.mb-collection-showcase .mbv3-arrows button:focus-visible {
    outline: 2px solid var(--mb-collection-gold);
    outline-offset: 3px;
    background: #f8f6f2;
    background-color: #f8f6f2;
    background-image: none;
    color: #681827;
    border-color: #ded3ca;
    box-shadow: 0 2px 8px rgba(48,10,22,.06);
}

.mb-collection-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.mb-collection-progress {
    position: relative;
    width: min(220px, 55%);
    height: 4px;
    overflow: hidden;
    border-radius: 10px;
    background: #ded7d1;
    margin-top: 18px;
    margin-bottom: 0;
}

.mb-collection-progress > span {
    display: block;
    width: var(--mb-progress-width, 100%);
    height: 100%;
    border-radius: inherit;
    background: var(--mb-collection-accent);
    transform: translateX(var(--mb-progress-offset, 0px));
}

.mb-collection-progress[hidden] {
    display: none;
}

.mb-collection-showcase .mb-collection-footer .mbv3-dots {
    margin-top: 0;
}

/* Shared collection and discovery cards */

.mb-collection-showcase .mb-card-unified,
.mb-product-discovery .mb-card-unified {
    position: relative;
    min-width: 0;
    border: 1px solid var(--mb-collection-line);
    border-radius: var(--mb-collection-radius);
    background: var(--mb-collection-paper);
    overflow: hidden;
    box-shadow: 0 2px 8px #29252606;
    transition:
        border-color .2s,
        box-shadow .2s;
}

.mb-collection-showcase .mb-card-unified:hover,
.mb-product-discovery .mb-card-unified:hover {
    border-color: #b29569;
    box-shadow: 0 6px 18px #380e1b12;
}

.mb-collection-showcase .mb-card-unified .mbv3-photo,
.mb-product-discovery .mb-card-unified .mb-related-330-image {
    background: #fff;
}

.mb-collection-showcase .mb-card-unified .mbv3-photo img,
.mb-product-discovery .mb-card-unified .mb-related-330-image img {
    transition: transform .3s ease;
}

.mb-collection-showcase .mb-card-unified .mbv3-details {
    padding: 14px 16px 16px;
}

.mb-collection-showcase .mb-card-unified .mbv3-brand {
    font-size: 10px;
    font-weight:var(--mb-design-weight-strong,700);
    letter-spacing: .07em;
    color: #8c7048;
    margin-bottom: 7px;
}

.mb-collection-showcase .mb-card-unified .mbv3-details > strong {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--mb-collection-ink);
}

.mb-collection-showcase .mb-card-unified .mbv3-price {
    font-size: 17px;
    font-weight: 600;
    color: var(--mb-collection-accent);
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

.mb-collection-showcase .mb-card-unified .mbv3-regular-price {
    font-size: 14px;
    font-weight: 400;
    color: var(--mb-collection-muted);
}

/* Preserve intentionally dark card themes */

.mb-collection-showcase.mbv3-theme-contrast .mb-card-unified {
    background: var(--mb-collection-accent);
    border-color: var(--mb-collection-accent);
}

.mb-collection-showcase.mbv3-theme-contrast .mbv3-details > strong,
.mb-collection-showcase.mbv3-theme-contrast .mbv3-price,
.mb-collection-showcase.mbv3-theme-contrast .mbv3-current-price {
    color: #fff;
}

.mb-collection-showcase.mbv3-theme-contrast .mbv3-brand,
.mb-collection-showcase.mbv3-theme-contrast .mbv3-regular-price {
    color: #ead4b5;
}

/* Product discovery */

.mb-product-discovery {
    margin-bottom: clamp(24px, 3vw, 40px);
    padding: clamp(20px, 2.6vw, 36px);
    border: 1px solid var(--mb-collection-line);
    border-radius: 12px;
    background: linear-gradient(
        125deg,
        #fff 0%,
        #f8f6f2 100%
    );
}

.mb-product-discovery .mb-related-330-header {
    gap: 22px;
    margin-bottom: 24px;
}

.mb-product-discovery .mb-related-330-eyebrow {
    color: var(--mb-collection-accent);
    font-weight: var(--mb-design-weight-medium, 500);
    letter-spacing: .13em;
}

.mb-product-discovery .mb-related-330-header h2 {
    font-size: clamp(24px, 2.4vw, 36px);
    line-height: 1.15;
    font-weight: var(--mb-design-weight-medium, 500);
    letter-spacing: -0.02em;
    color: var(--mb-collection-ink);
}

.mb-product-discovery .mb-related-330-header p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--mb-collection-muted);
}

.mb-product-discovery .mb-related-330-all {
    font-size: 12px;
    font-weight: var(--mb-design-weight-strong, 600);
    color: var(--mb-collection-accent);
}

.mb-product-discovery .mb-related-330-details {
    padding: 14px 16px 16px;
}

.mb-product-discovery .mb-related-330-details h3,
.mb-product-discovery .mb-related-330-details h3 a {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.mb-product-discovery .mb-related-330-bottom strong {
    font-size: 17px;
    font-weight: 600;
    color: var(--mb-collection-accent);
    letter-spacing: 0;
}

.mb-product-discovery .mb-related-330-arrow {
    background: var(--mb-gradient-control);
    border-color: var(--mb-collection-accent);
    color: #fff;
}

@media (hover: hover) and (pointer: fine) {
    .mb-collection-showcase .mb-card-unified:hover .mbv3-photo img,
    .mb-product-discovery .mb-card-unified:hover .mb-related-330-image img {
        transform: scale(1.035);
    }
}

@media (max-width: 900px) {
    .mb-collection-showcase .mbv3-arrows button {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 19px;
    background: #f8f6f2;
    background-color: #f8f6f2;
    background-image: none;
    color: #681827;
    border-color: #ded3ca;
    box-shadow: 0 2px 8px rgba(48,10,22,.06);
    border-style: solid;
    border-width: 1px;
}

    .mb-collection-header {
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .mb-collection-header {
        align-items: flex-start;
        margin-bottom: 16px;
    }

    .mb-collection-count {
        display: none;
    }

    .mb-collection-showcase .mb-collection-heading .preview-title {
        font-size: 23px;
    }

    .mb-collection-showcase .mb-collection-heading .preview-text {
        font-size: 12px;
    }

    .mb-collection-showcase .mb-collection-stage .mbv3-track {
        gap: 10px;
        padding-bottom: 8px;
    }

    .mb-collection-showcase .mbv3-track .mb-card-unified {
        flex-basis: calc(
            (100% - (var(--mbm) - 1) * 10px) / var(--mbm)
        );
    }

    .mb-collection-showcase .mb-collection-stage .mbv3-arrows {
        position: static;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 7px;
    }

    .mb-collection-showcase .mbv3-arrows button[data-dir] {
        transform: none;
    background: #f8f6f2;
    background-color: #f8f6f2;
    background-image: none;
    color: #681827;
    border-color: #ded3ca;
    box-shadow: 0 2px 8px rgba(48,10,22,.06);
    border-style: solid;
    border-width: 1px;
}

    .mb-collection-showcase .mb-card-unified .mbv3-details,
    .mb-product-discovery .mb-related-330-details {
        padding: 9px 10px 10px;
        gap: 4px;
}

    .mb-collection-showcase .mb-card-unified .mbv3-details > strong,
    .mb-product-discovery .mb-related-330-details h3,
    .mb-product-discovery .mb-related-330-details h3 a {
        font-size: 12px;
    }

    .mb-collection-showcase .mb-card-unified .mbv3-price,
    .mb-product-discovery .mb-related-330-bottom strong {
        font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
        line-height: 1.25;
}

    .mb-collection-footer {
        margin-top: 10px;
    }

    .mb-product-discovery {
        padding: 16px;
    }

    .mb-product-discovery .mb-related-330-header {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 16px;
    }

    .mb-product-discovery .mb-related-330-header h2 {
        font-size: 24px;
    }

    .mb-product-discovery .mb-related-330-grid {
        gap: 10px;
    }
}


/* Collection card proportions */

.mb-collection-showcase.mbv3-ratio-portrait .mb-card-unified .mbv3-photo {
    aspect-ratio: 1 / 1;
}

.mb-collection-showcase.mbv3-ratio-tall .mb-card-unified .mbv3-photo {
    aspect-ratio: 4 / 5;
}

.mb-collection-showcase .mb-card-unified .mbv3-price {
    display: block;
    box-sizing: border-box;
    width: 100%;
    align-self: stretch;
    position: relative;
    min-height: 36px;
    padding: 12px 36px 0 0;
    border-top: 0;
    border-top-color: var(--mb-collection-line);
    margin-top: auto;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
}

.mb-collection-showcase .mbv3-card-action {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: transparent;
    color: var(--mb-design-burgundy, #681827);
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    border-color: transparent;
    font-weight: 500;
}

.mb-collection-showcase .mb-card-unified:hover .mbv3-card-action {
    transform: translateX(2px);
}

.mb-collection-showcase .mbv3-details > strong {
    margin-bottom: 12px;
}

.mb-collection-showcase.mbv3-theme-contrast .mbv3-card-action,
.mb-collection-showcase.mbv3-theme-signature .mbv3-card-action,
.mb-collection-showcase.mbv3-theme-split .mbv3-card-action,
.mb-collection-showcase.mbv3-theme-cinematic .mbv3-card-action {
    background: transparent;
    color: currentColor;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    border-color: transparent;
    font-size: 16px;
    font-weight: 500;
}

.mb-collection-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 8px;
    border-bottom: 2px solid var(--mb-collection-gold);
    color: var(--mb-collection-accent);
    font-size: 13px;
    font-weight: var(--mb-design-weight-strong, 600);
    text-decoration: none;
}

.mb-collection-link:hover {
    color: var(--mb-collection-deep);
}

.mb-collection-showcase .mbv3-arrows button:disabled {
    opacity: .35;
    cursor: default;
    box-shadow: none;
}

.mb-product-discovery .mb-related-330-image {
    aspect-ratio: 1 / 1;
}

@media (min-width: 1200px) {
    .mb-product-discovery .mb-related-330-grid {
        --mb-discovery-columns: 5;
    }
}

@media (min-width: 601px) and (max-width: 1100px) {
    .mb-collection-showcase .mbv3-arrows button[data-dir="-1"] {
        transform: translateX(-40%);
    background: #f8f6f2;
    background-color: #f8f6f2;
    background-image: none;
    color: #681827;
    border-color: #ded3ca;
    box-shadow: 0 2px 8px rgba(48,10,22,.06);
    border-style: solid;
    border-width: 1px;
}

    .mb-collection-showcase .mbv3-arrows button[data-dir="1"] {
        transform: translateX(40%);
    background: #f8f6f2;
    background-color: #f8f6f2;
    background-image: none;
    color: #681827;
    border-color: #ded3ca;
    box-shadow: 0 2px 8px rgba(48,10,22,.06);
    border-style: solid;
    border-width: 1px;
}
}

@media (max-width: 600px) {
    .mb-collection-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .mb-collection-link {
        font-size: 12px;
        padding-bottom: 5px;
    }

    .mb-collection-showcase .mbv3-card-action {
        width: 24px;
        height: 24px;
        font-size: 16px;
    background: transparent;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    border-color: transparent;
    color: var(--mb-design-burgundy, #681827);
    font-weight: 500;
}

    .mb-collection-showcase .mb-card-unified .mbv3-price {
        padding-right: 28px;
        min-height: 36px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
}
}


/* Minimum readable product-card width. */

@media (min-width: 601px) {
    .mb-collection-showcase .mbv3-track .mb-card-unified {
        min-width: 180px;
    }
}

@media (min-width: 1200px) {
    .mb-collection-showcase .mbv3-track .mb-card-unified {
        min-width: 195px;
    }
}

/* Full-width price and action alignment. */

.mb-collection-showcase .mbv3-details {
    align-items: stretch;
}

.mb-collection-showcase .mbv3-current-price {
    white-space: nowrap;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
}

/* MB17500A: related product carousel */

.mb-discovery-stage {
    min-width: 0;
}

.mb-product-discovery .mb-related-330-grid {
    --mb-discovery-columns: 4;
    --mb-discovery-gap: 14px;
    display: flex;
    grid-template-columns: none;
    gap: var(--mb-discovery-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    padding-bottom: 5px;
    align-items: stretch;
}

.mb-product-discovery .mb-related-330-grid::-webkit-scrollbar {
    display: none;
}

.mb-product-discovery .mb-related-330-grid > .mb-card-unified {
    flex: 0 0 calc(
        (100% - (var(--mb-discovery-columns) - 1) *
        var(--mb-discovery-gap)) / var(--mb-discovery-columns)
    );
    min-width: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
}

.mb-discovery-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.mb-discovery-navigation[hidden] {
    display: none;
}

.mb-discovery-navigation button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f8f6f2;
    color: #681827;
    font-size: 20px;
    cursor: pointer;
    background-color: #f8f6f2;
    background-image: none;
    border-color: #ded3ca;
    box-shadow: 0 2px 8px rgba(48,10,22,.06);
    border-style: solid;
    border-width: 1px;
}

.mb-discovery-navigation button:disabled {
    opacity: .35;
    cursor: default;
    box-shadow: none;
}

.mb-discovery-price {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.mb-discovery-price del {
    color: var(--mb-collection-muted);
    font-size: 14px;
    font-weight: 400;
}

.mb-discovery-price strong {
    white-space: nowrap;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
}

@media (min-width: 1200px) {
    .mb-product-discovery .mb-related-330-grid {
        --mb-discovery-columns: 5;
    }
}

@media (max-width: 1023px) {
    .mb-product-discovery .mb-related-330-grid {
        --mb-discovery-columns: 3;
    }
}

@media (max-width: 600px) {
    .mb-product-discovery .mb-related-330-grid {
        --mb-discovery-columns: 2;
        --mb-discovery-gap: 10px;
    }

    .mb-product-discovery .mb-related-330-arrow {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .mb-product-discovery .mb-discovery-price strong {
        font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
}
}

@media (prefers-reduced-motion: reduce) {
    .mb-collection-showcase *,
    .mb-product-discovery * {
        transition-duration: 0s;
    }
}
