/* Commerce shared card design system */

:root {
    --mb-card-surface: var(--mb-design-white, #fff);
    --mb-card-paper: #f8f7f5;
    --mb-card-border: #ded9d3;
    --mb-card-accent: var(--mb-design-burgundy, #681827);
    --mb-card-gold: var(--mb-design-champagne, #b29569);
    --mb-card-text: var(--mb-design-ink, #181818);
    --mb-card-muted: var(--mb-design-muted, #494541);
    --mb-card-radius: var(--mb-design-radius-card, 8px);
    --mb-card-shadow: 0 8px 24px rgb(41 37 38 / 6%);
    --mb-card-font: var(--mb-design-ui);
    --mb-card-editorial-font: var(--mb-design-editorial, "Playfair Display", serif);
}

.mb-card-unified {
    box-sizing: border-box;
    min-width: 0;
    background: var(--mb-card-surface);
    border: 1px solid var(--mb-card-border);
    border-radius: var(--mb-card-radius);
    
    color: var(--mb-card-text);
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.mb-card-unified :is(
    h2,h3,h4,
    .product-title,
    .product-name,
    .mb-product-title
) {
    
    
    
    
    overflow-wrap: anywhere;
}

.mb-card-unified :is(
    .product-brand,
    .mb-product-brand,
    .brand-name
) {
    
    
    
    
    text-transform: uppercase;
    color: var(--mb-card-muted);
}

.mb-card-unified :is(
    .price,
    .product-price,
    .mb-product-price,
    .mbv3-price
) {
    
    color: var(--mb-card-accent);
    
    
    
}

.mb-card-unified del {
    
    color: var(--mb-card-muted);
    
}

.mb-card-unified ins {
    color: var(--mb-card-accent);
    text-decoration: none;
}

.mb-card-unified :is(
    .product-image,
    .product-photo,
    .mb-product-image,
    .mbv3-photo,
    .mb-related-330-image
) {
    background: #fff;
}

.mb-card-unified img {
    max-width: 100%;
}

.mb-card-unified :is(
    .product-image,
    .product-photo,
    .mb-product-image,
    .mbv3-photo,
    .mb-related-330-image
) img {
    object-fit: contain;
    transition: transform .3s ease;
}

.mb-card-unified :is(
    a,button,input,select
):focus-visible {
    outline: 2px solid var(--mb-card-accent);
    outline-offset: 3px;
}

.mb-card-unified .mb-card-specs {
    color: var(--mb-card-muted);
    
    
    
    
}

@media (hover: hover) and (pointer: fine) {
    .mb-card-unified:hover {
        border-color: var(--mb-card-gold);
        box-shadow: var(--mb-card-shadow);
    }

    .mb-card-unified:hover :is(
        .product-image,
        .product-photo,
        .mb-product-image,
        .mbv3-photo,
    .mb-related-330-image
    ) img {
        transform: scale(1.025);
    }
}

.mb-card-unified :is(
    .sale-badge,
    .discount-badge,
    .mb-sale-badge
) {
    border-radius: 3px;
    background: var(--mb-card-accent);
    color: #fff;
    
    
    
    
}

.mb-card-unified :is(
    .new-badge,
    .mb-new-badge
) {
    border-radius: 3px;
    background: #f0e4d0;
    color: var(--mb-card-accent);
    
    
    
    
}

.mb-editorial-tile {
    border-radius: var(--mb-card-radius);
    font-family: var(--mb-card-font);
}

.mb-editorial-tile .mb-editorial-title {
    font-family: var(--mb-card-editorial-font);
    font-weight: var(--mb-design-weight-medium, 500);
    letter-spacing: -0.02em;
    line-height: 1.18;
}

.mb-editorial-tile .mb-editorial-kicker,
.mb-editorial-tile .mb-editorial-signature {
    font-family: var(--mb-card-font);
    letter-spacing: .1em;
    font-size: 10px;
    font-weight: var(--mb-design-weight-medium, 500);
}

@media(max-width: 600px) {
    .mb-card-unified {
        --mb-card-radius: 5px;
    }


}

@media(prefers-reduced-motion: reduce) {
    .mb-card-unified,
    .mb-card-unified img {
        transition: none;
    }

    .mb-card-unified:hover img {
        transform: none;
    }
}

/* Related-product composition within the shared card system */

.mb-card-unified.mb-related-330-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mb-card-unified .mb-related-330-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: clamp(12px, 1.6vw, 20px);
}

.mb-card-unified .mb-related-330-details h3 {
    min-height: 2.9em;
    margin: 0;
    
}

.mb-card-unified .mb-related-330-details h3 a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: var(--mb-card-text);
    text-decoration: none;
}

.mb-card-unified .mb-related-330-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}


.mb-card-unified .mb-related-330-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1px solid var(--mb-card-border);
    border-radius: 50%;
    color: var(--mb-card-accent);
    background: #fff;
    text-decoration: none;
}

.mb-card-unified .mb-related-330-arrow:hover {
    color: #fff;
    background: var(--mb-card-accent);
    border-color: var(--mb-card-accent);
}

.mb-card-unified .mb-related-330-image {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.mb-card-unified .mb-related-330-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media(max-width:600px) {
    .mb-card-unified .mb-related-330-details {
        padding: 10px;
        gap: 6px;
    }


    .mb-card-unified .mb-related-330-arrow {
        display: none;
    }
}

/* MB1600B2 — shared storefront placements */

.mb-content-placement {
    width: 100%;
    min-width: 0;
}

.mb-placement-entry {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.mb-inline-placement {
    display: flex;
    align-items: stretch;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #e9e5e1;
    border-radius: 8px;
    background: #faf8f5;
}

.mb-inline-placement--one {
    grid-column: span 1;
}

.mb-inline-placement--two {
    grid-column: span 2;
}

.mb-inline-placement--full {
    grid-column: 1 / -1;
}

.mb-inline-placement .mb-placement-entry {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mb-inline-placement .mb-discovery {
    width: 100%;
    padding: clamp(12px, 2vw, 24px);
}

.mb-inline-placement--one .mb-discovery-items,
.mb-inline-placement--two .mb-discovery-items {
    grid-template-columns: minmax(0, 1fr);
}

.mb-inline-placement--one .mb-discovery-heading {
    font-size: clamp(18px, 2vw, 24px);
}

.mb-inline-placement--one .mb-discovery-item,
.mb-inline-placement--two .mb-discovery-item {
    min-width: 0;
}

.mb-placement-hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .mb-placement-mobile-only {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .mb-placement-desktop-only {
        display: none !important;
    }

    .mb-inline-placement {
        border-radius: 5px;
    }

    .mb-inline-placement--two {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mb-inline-placement *,
    .mb-placement-entry * {
        scroll-behavior: auto;
    }
}

/* MB1700B — editorial product compositions */

.mb-editorial-product-block {
    width: 100%;
    min-width: 0;
    max-width: 1440px;
    box-sizing: border-box;
    margin: 0 auto clamp(20px, 3vw, 38px);
    padding: 0 clamp(8px, 1.5vw, 18px);
}

.mb-editorial-product-heading {
    margin: 0 0 clamp(8px, 1.2vw, 16px);
    color: #681827;
    font-family: var(--mb-design-ui);
    font-size: clamp(23px, 2.5vw, 32px);
    font-weight: var(--mb-design-weight-medium, 500);
    line-height: 1.25;
    text-align: center;
}

.mb-card-unified :where(a, button):focus-visible {
    outline: 2px solid #681827;
    outline-offset: 3px;
}


.mb-card-unified :where(.mbv32-spec) {
    overflow-wrap: anywhere;
}

.mb-card-unified :where(img) {
    max-width: 100%;
}

.mb-editorial-product-block .mb-card-unified {
    min-width: 0;
}

@media (max-width: 600px) {
    .mb-editorial-product-block {
        padding-inline: 12px;
        margin-bottom: 28px;
    }

}

/* MB1800A — shared card accessibility and content resilience */

.mb-card-unified {
    min-width: 0;
    box-sizing: border-box;
}

.mb-card-unified :where(.mbv3-details) {
    min-width: 0;
    overflow-wrap: anywhere;
}

.mb-card-unified :where(.mbv3-details strong) {
    overflow-wrap: anywhere;
    text-wrap: pretty;
}


.mb-card-unified:focus-visible {
    outline: 2px solid #681827;
    outline-offset: 3px;
}

@media (hover: none) {
    .mb-card-unified:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mb-card-unified,
    .mb-card-unified :where(img) {
        transition: none;
        animation: none;
    }
}


/* MB18013 CARD TYPOGRAPHY START */

body .mb-card-unified {
    font-family: var(--mb-design-ui);
    font-weight: var(--mb-type-body);
}

/* Product names */

body .mb-card-unified :is(
    h2,
    h3,
    h4,
    .product-title,
    .product-name,
    .mb-product-title,
    [class$="-card-title"],
    [class$="-product-name"]
),
body .mb-card-unified .mbv3-details > strong,
body .mb-card-unified .mb-related-330-details h3 a {
    font-family: var(--mb-design-ui) !important;
    font-size: var(--mb-type-card-title) !important;
    font-weight: var(--mb-type-strong) !important;
    line-height: 1.4;
    letter-spacing: -.012em;
    overflow-wrap: anywhere;
}

/* Brand */

body .mb-card-unified :is(
    .product-brand,
    .mb-product-brand,
    .brand-name,
    .mbv3-brand,
    .mb-related-330-brand
) {
    font-family: var(--mb-design-ui) !important;
    font-size: var(--mb-type-card-brand) !important;
    font-weight: var(--mb-design-weight-strong, 700) !important;
    line-height: 1.4;
    letter-spacing: .035em;
    color: #51494b;
}

/* Current price */

body .mb-card-unified :is(
    .price,
    .product-price,
    .mb-product-price,
    .mbv3-price,
    .mbv3-current-price,
    [class$="-card-price"]
) {
    font-family: var(--mb-design-ui) !important;
    font-size: var(--mb-type-card-price) !important;
    font-weight: var(--mb-type-heading) !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
    letter-spacing: -.015em;
}

/* Previous price */

body .mb-card-unified :is(
    del,
    .mbv3-regular-price
) {
    font-family: var(--mb-design-ui);
    font-size: var(--mb-type-card-old-price) !important;
    font-weight: var(--mb-type-body) !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
}

/* Specifications */

body .mb-card-unified :is(
    .mb-card-specs,
    .mbv32-specs,
    .mbv32-spec,
    small
) {
    font-family: var(--mb-design-ui);
    font-size: var(--mb-type-card-spec) !important;
    font-weight: var(--mb-type-body);
    line-height: 1.5;
    letter-spacing: 0;
}

/* Product badges */

body .mb-card-unified :is(
    .sale-badge,
    .discount-badge,
    .mb-sale-badge,
    .new-badge,
    .mb-new-badge
) {
    font-family: var(--mb-design-ui);
    font-size: var(--mb-type-card-badge);
    font-weight: var(--mb-type-heading);
    line-height: 1.3;
    letter-spacing: .015em;
}

/* Purchase mode notes */

body .mb-card-unified :is(
    .mb-contact-related-353,
    [class*="contact-note"]
) {
    font-family: var(--mb-design-ui);
    font-size: var(--mb-type-card-note) !important;
    font-weight: var(--mb-type-medium) !important;
    line-height: 1.45;
}

/* MB18013 CARD TYPOGRAPHY END */


/* MB18102 CARD GEOMETRY — shared catalog card structure */

.mb-card-unified.mb-product-card {
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
}

.mb-card-unified > .mb-product-media {
    display:block;
    position:relative;
    width:100%;
    min-width:0;
    min-height:0;
    aspect-ratio:1 / 1.04;
    flex:none;
    overflow:hidden;
    isolation:isolate;
    background:#f7f6f4;
}

.mb-card-unified .mb-product-image-link {
    display:block;
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    overflow:hidden;
}

.mb-card-unified .mb-product-image-link > img {
    display:block;
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:100%;
    object-fit:contain;
    object-position:center;
}

.mb-card-unified .mb-product-image-link > .mb-image-secondary {
    opacity:0;
    pointer-events:none;
    transition:opacity .4s ease,transform .4s ease;
}

@media (hover:hover) and (pointer:fine) {
    .mb-card-unified .mb-product-image-link:hover > .mb-image-secondary {
        opacity:1;
    }
}

.mb-card-unified .mb-product-image-link > .placeholder {
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    padding:16px;
    text-align:center;
}

.mb-card-unified > .mb-product-meta {
    min-width:0;
    display:flex;
    flex-direction:column;
    flex:1;
}

.mb-card-unified .mb-product-bottom {
    margin-top:auto;
    flex-shrink:0;
    min-width:0;
}

/* MB18102 CARD GEOMETRY END */

/* V18475R_CARD_ALIGNMENT START */

.mb-card-unified {
    --mb-card-old-price-slot:1.45rem;
    --mb-card-sku-slot:1.4rem;
    --mb-card-spec-row:25px;
}

/* Catalog */

body .mb-card-unified.mb-product-card {
    align-self:stretch;
    height:100%;
}

body .mb-card-unified > .mb-product-meta {
    flex:1 1 auto;
    justify-content:flex-start !important;
    min-width:0;
}

body .mb-card-unified .mb-product-meta > .brand {
    line-height:1.4;
    min-height:1.4em;
    flex-shrink:0;
}

body .mb-card-unified .mb-product-meta > .product-name {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    line-height:1.4;
    min-height:2.8em;
    max-height:2.8em;
    flex-shrink:0;
}

body .mb-card-unified .mb-product-meta > .mb-product-specs {
    margin-top:10px !important;
    margin-bottom:10px !important;
    flex-shrink:0;
    align-content:start;
    min-width:0;
}

body .mb-card-unified .mb-specs-watch {
    min-height:calc(
        3 * var(--mb-card-spec-row) + 12px
    );
}

body .mb-card-unified .mb-specs-watch .mb-spec-item {
    min-height:var(--mb-card-spec-row);
    box-sizing:border-box;
    align-items:center;
    margin-block:0 !important;
}

body .mb-card-unified .mb-spec-icon-label {
    display:inline-flex;
    align-items:center;
    gap:5px;
    min-width:0;
}

body .mb-card-unified .mb-spec-icon-label svg {
    width:13px;
    height:13px;
    flex:0 0 13px;
}

body .mb-card-unified .mb-spec-icon-label:not(:has(svg))::before {
    content:"";
    display:block;
    width:13px;
    flex:0 0 13px;
}

body .mb-card-unified .mb-card-sku-slot {
    display:block;
    min-height:var(--mb-card-sku-slot);
    line-height:1.4;
    box-sizing:border-box;
}

/* Shared price geometry */

body .mb-card-unified .mb-card-price-aligned {
    position:relative;
    display:flex !important;
    flex-direction:column;
    justify-content:flex-end;
    align-items:flex-start;
    gap:0 !important;
    min-width:0;
    box-sizing:border-box;
}

body .mb-card-unified .mb-card-price-aligned > del {
    display:block;
    min-height:var(--mb-card-old-price-slot);
    margin:0 !important;
    box-sizing:border-box;
}

body .mb-card-unified .mb-card-price-aligned:not(:has(> del))::before {
    content:"";
    display:block;
    width:100%;
    height:var(--mb-card-old-price-slot);
    flex:0 0 var(--mb-card-old-price-slot);
}

body .mb-card-unified .mb-card-price-aligned > strong,
body .mb-card-unified .mb-card-price-aligned > .mbv3-current-price {
    display:block;
    line-height:1.35;
    margin-block:0 !important;
    max-width:100%;
}

/* Carousel */

body .mbv3-card.mb-card-unified {
    align-self:stretch;
    display:flex;
    flex-direction:column;
}

body .mbv3-card.mb-card-unified .mbv3-details {
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    min-width:0;
}

body .mbv3-card.mb-card-unified .mbv3-details > strong {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    min-height:2.8em;
    max-height:2.8em;
    line-height:1.4;
}

body .mbv3-card.mb-card-unified .mbv3-details > .mbv3-price {
    margin-top:auto;
    padding-inline-end:20px;
}

body .mbv3-card.mb-card-unified .mb-card-price-aligned > .mbv3-card-action {
    position:absolute;
    inset-inline-end:0;
    bottom:0;
}

/* Related */

body .mb-card-unified .mb-related-330-details {
    justify-content:flex-start;
}

body .mb-card-unified .mb-related-330-details h3 {
    min-height:2.8em;
}

body .mb-card-unified .mb-related-330-bottom {
    align-items:flex-end;
}

@media(max-width:600px) {

    .mb-card-unified {
        --mb-card-old-price-slot:20px;
        --mb-card-sku-slot:20px;
        --mb-card-spec-row:25px;
    }

    body .mb-card-unified .mb-product-meta > .mb-product-specs {
        margin-top:8px !important;
        margin-bottom:8px !important;
    }

    body .mb-card-unified .mb-spec-icon-label {
        gap:4px;
    }
}



/* V18477 MOBILE COMPACT START */

@media(max-width:600px) {

    .mb-card-unified {
        --mb-card-spec-row:23px;
        --mb-card-sku-slot:20px;
        --mb-card-old-price-slot:20px;
    }

    body .mb-card-unified .mb-product-meta > .mb-product-specs {
        margin-top:4px !important;
        margin-bottom:6px !important;
    }

    body .mb-card-unified .mb-product-meta > .product-name {
        margin-bottom:0 !important;
    }

    body .mb-card-unified .mb-specs-watch {
        min-height:calc(
            3 * var(--mb-card-spec-row) + 10px
        );
    }

    body .mb-card-unified .mb-specs-watch .mb-spec-item {
        min-height:var(--mb-card-spec-row);
    }

    body .mb-card-unified .mb-product-bottom {
        padding-top:2px;
    }

    body .mb-card-unified .mb-card-sku-slot {
        margin-bottom:2px;
    }

    body .mb-catalog-results
    :is(div,section,ul):has(> .mb-card-unified.mb-product-card) {
        row-gap:24px;
    }
}


/* V18477 MOBILE COMPACT END */



/* V18475R_CARD_ALIGNMENT END */

/* V18476_SPEC_LABELS START */

body .mb-card-unified .mb-specs-watch .mb-spec-item {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) max-content !important;
    column-gap:6px !important;
    align-items:center;
}

body .mb-card-unified .mb-specs-watch .mb-spec-icon-label {
    display:flex !important;
    justify-content:flex-start !important;
    align-items:center;
    width:100% !important;
    max-width:none !important;
    min-width:0;
    gap:4px !important;
    text-align:left !important;
    overflow:visible !important;
}

body .mb-card-unified .mb-specs-watch .mb-spec-icon-label > span {
    display:block;
    width:auto !important;
    max-width:none !important;
    min-width:0;
    flex:1 1 auto;
    text-align:left !important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

body .mb-card-unified .mb-specs-watch .mb-spec-item > strong {
    width:auto !important;
    max-width:none !important;
    white-space:nowrap;
    text-align:right;
}

@media(max-width:600px) {
    body .mb-card-unified .mb-specs-watch .mb-spec-icon-label {
        font-size:10px !important;
        letter-spacing:-.15px;
    }

    body .mb-card-unified .mb-specs-watch .mb-spec-icon-label svg {
        width:12px;
        height:12px;
        flex:0 0 12px;
    }
}

/* V18476_SPEC_LABELS END */

/* V18485 PRODUCT LABELS START */

.mb-card-eco-drive {
    display:table;
    width:max-content;
    max-width:100%;
    color:#ffffff;
    background:#111111;
    font-size:11px;
    font-weight:750;
    line-height:1.3;
    margin:4px 0 5px;
    padding:3px 8px;
    border:1px solid #111111;
    border-radius:2px;
    letter-spacing:.02em;
    text-transform:none;
    white-space:nowrap;
    box-sizing:border-box;
}

body .mb-card-unified .mb-product-meta > .mb-card-brand-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    min-width:0;
    height:22px;
    min-height:22px;
    max-height:22px;
    flex:0 0 22px;
    box-sizing:border-box;
}

.mb-card-brand-name {
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.mb-card-brand-row > .mb-card-eco-drive {
    display:inline-flex;
    align-items:center;
    flex:0 0 auto;
    width:auto;
    margin:0;
    padding:2px 5px;
    font-size:10px;
    line-height:1.2;
}

@media(max-width:600px) {

    body .mb-card-unified .mb-product-meta > .mb-card-brand-row {
        gap:4px;
        height:20px;
        min-height:20px;
        max-height:20px;
        flex-basis:20px;
    }

    .mb-card-brand-row > .mb-card-eco-drive {
        font-size:9px;
        padding:2px 4px;
        letter-spacing:0;
    }
}

/* V18485 PRODUCT LABELS END */
