/* MB_WEDDING_RING_V15300 */

.mb-wr {
    --wr-accent: #681827;
    --wr-ink: #292526;
    --wr-muted: #655e60;
    --wr-paper: #f8f6f2;
    --wr-line: #e4ded6;
    max-width: 1440px;
    margin-inline: auto;
    padding: 24px clamp(16px, 4vw, 64px) 80px;
    color: var(--wr-ink);
    font-family: var(--mb-design-ui);
}

.mb-wr * {
    box-sizing: border-box;
}

.mb-wr a {
    color: inherit;
    text-decoration: none;
}

.mb-wr-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: var(--mb-design-weight-medium, 500);
    color: var(--wr-muted);
    margin-bottom: 30px;
}

.mb-wr-heading {
    padding: clamp(30px, 5vw, 70px) 20px;
    background: var(--wr-paper);
    text-align: center;
    margin-bottom: 30px;
}

.mb-wr h1 {
    font-family: var(--mb-design-ui);
    font-weight: var(--mb-design-weight-strong, 600);
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.12;
    margin: 12px 0 20px;
    color: var(--wr-accent);
}

.mb-wr-heading p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    font-weight: var(--mb-design-weight-strong, 600);
}

.mb-wr-eyebrow {
    color: var(--wr-accent);
    font-size: 10px;
    font-weight: var(--mb-design-weight-medium, 500);
    letter-spacing: .12em;
}

.mb-wr-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-bottom: 18px;
    font-size: 13px;
}

.mb-wr-toolbar span,
.mb-wr-muted {
    color: var(--wr-muted);
    font-size: 12px;
    line-height: 1.6;
}

.mb-wr-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 26px);
}

.mb-wr-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--wr-line);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.mb-wr-media,
.mb-wr-detail-media {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    background: #fff;
    overflow: hidden;
}

.mb-wr-media img,
.mb-wr-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6%;
}

.mb-wr-placeholder {
    font-size: 12px;
    color: var(--wr-muted);
}

.mb-wr-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: clamp(12px, 2vw, 22px);
    border-top: 1px solid var(--wr-line);
}

.mb-wr-card h2 {
    font-family: var(--mb-design-ui);
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: var(--mb-design-weight-strong, 600);
    line-height: 1.3;
    margin: 0;
}

.mb-wr-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-block: 10px;
}

.mb-wr-price span {
    color: var(--wr-muted);
    font-size: 11px;
    font-weight: var(--mb-design-weight-strong, 600);
}

.mb-wr-price strong {
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: 1.5;
    font-weight: var(--mb-design-weight-strong, 600);
    font-variant-numeric: tabular-nums;
}

.mb-wr .mb-wr-button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: 46px;
    margin-top: auto;
    padding: 12px;
    background: var(--wr-accent);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: var(--mb-design-weight-strong, 600);
    line-height: 1.4;
}

.mb-wr-button:hover {
    filter: brightness(1.15);
}

.mb-wr-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 80px);
    align-items: start;
}

.mb-wr-detail-media {
    border: 1px solid var(--wr-line);
    border-radius: 8px;
}

.mb-wr-detail-content {
    min-width: 0;
}

.mb-wr-detail-content .mb-wr-price strong {
    font-size: clamp(22px, 3vw, 30px);
}

.mb-wr-sizes {
    margin-block: 26px;
}

.mb-wr-sizes > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.mb-wr-sizes span {
    border: 1px solid var(--wr-line);
    padding: 9px 13px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: var(--mb-design-weight-strong, 600);
}

.mb-wr-calculator {
    background: var(--wr-paper);
    padding: clamp(16px, 3vw, 28px);
    border-radius: 8px;
    margin-bottom: 24px;
}

.mb-wr-calculator h2 {
    font-size: 21px;
    font-weight: var(--mb-design-weight-strong, 600);
    margin: 0 0 10px;
}

.mb-wr-calculator p,
.mb-wr-notice p {
    font-size: 13px;
    line-height: 1.7;
    margin: 8px 0;
}

.mb-wr-choices {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.mb-wr-choice {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--wr-line);
    border-radius: 8px;
    padding: 14px;
}

.mb-wr-choice-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.mb-wr-calculator label {
    display: block;
    font-size: 14px;
    font-weight: var(--mb-design-weight-medium, 500);
    margin: 0;
}

.mb-wr-choice-heading strong {
    font-size: 16px;
    font-weight: var(--mb-design-weight-strong, 600);
    color: var(--wr-accent);
    font-variant-numeric: tabular-nums;
}

.mb-wr-calculator select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #bdb4aa;
    border-radius: 4px;
    padding: 10px;
    font: inherit;
    font-size: 14px;
    background: #fff;
    color: var(--wr-ink);
}

.mb-wr-total {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    margin-top: 18px;
    background: var(--wr-accent);
    color: #fff;
    border-radius: 8px;
}

.mb-wr-total small {
    font-size: 12px;
    line-height: 1.6;
    color: inherit;
}

.mb-wr-total span {
    font-size: 12px;
    font-weight: var(--mb-design-weight-strong, 600);
}

.mb-wr-total strong {
    color: inherit;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: var(--mb-design-weight-strong, 600);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.mb-wr-notice {
    margin-block: 24px;
    padding: 16px 0;
    border-block: 1px solid var(--wr-line);
}

@media (max-width: 1100px) {
    .mb-wr-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .mb-wr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mb-wr-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .mb-wr {
        padding-bottom: 48px;
    }

    .mb-wr-card-body {
        gap: 7px;
    }
}

/* MB_WEDDING_RING_V15700 */

.mb-wr .mb-wr-size-guide {
    display: grid;
    grid-template-columns: minmax(190px, 26%) minmax(0, 1fr);
    overflow: hidden;
    margin: 0 0 32px;
    border: 1px solid #ded3c3;
    border-radius: 8px;
    background: #f8f6f2;
    color: #292526;
}

.mb-wr-size-guide-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 20px;
    background: #681827;
    color: #fff;
    text-align: center;
}

.mb-wr-size-guide-visual svg {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
}

.mb-wr-size-guide-visual > span {
    color: #e0c9a7;
    font-size: 10px;
    font-weight: var(--mb-design-weight-strong, 600);
    letter-spacing: .13em;
}

.mb-wr-size-guide-visual > strong {
    font-size: 15px;
    line-height: 1.4;
    font-weight: var(--mb-design-weight-strong, 600);
}

.mb-wr-size-guide-content {
    min-width: 0;
    padding: clamp(22px, 3vw, 44px);
}

.mb-wr-size-guide-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #681827;
    font-size: 11px;
    font-weight: var(--mb-design-weight-medium, 500);
    letter-spacing: .12em;
}

.mb-wr .mb-wr-size-guide h2 {
    margin: 0 0 12px;
    color: #681827;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.16;
    font-weight: var(--mb-design-weight-strong, 600);
}

.mb-wr-size-guide-intro {
    margin: 0 0 22px;
    font-size: 15px;
    font-weight: var(--mb-design-weight-medium, 500);
    line-height: 1.65;
}

.mb-wr-size-guide-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mb-wr-size-guide-method {
    padding: 18px;
    border: 1px solid #ded3c3;
    border-radius: 6px;
    background: #fff;
}

.mb-wr-size-guide-recommended {
    border-color: #b29569;
    border-top: 3px solid #681827;
}

.mb-wr-size-guide-label {
    display: block;
    margin-bottom: 8px;
    color: #655e60;
    font-size: 10px;
    font-weight: var(--mb-design-weight-medium, 500);
    letter-spacing: .09em;
}

.mb-wr-size-guide-recommended .mb-wr-size-guide-label {
    color: #681827;
}

.mb-wr .mb-wr-size-guide h3 {
    margin: 0 0 10px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    font-weight: var(--mb-design-weight-strong, 600);
}

.mb-wr-size-guide-method p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
}

.mb-wr-size-guide-note {
    margin: 18px 0;
    color: #655e60;
    font-size: 12px;
    line-height: 1.7;
}

.mb-wr-size-guide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid #ded3c3;
}

.mb-wr-size-guide-footer strong {
    flex: 1 1 240px;
    color: #681827;
    font-size: 13px;
    line-height: 1.6;
    font-weight: var(--mb-design-weight-strong, 600);
}

.mb-wr-size-guide-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 4px;
    background: #681827;
    color: #fff;
    font-size: 12px;
    font-weight: var(--mb-design-weight-strong, 600);
    text-decoration: none;
}

.mb-wr-size-guide-footer a:hover {
    background: #380e1b;
    color: #fff;
}

.mb-wr-size-guide-footer a:focus-visible {
    outline: 2px solid #681827;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .mb-wr .mb-wr-size-guide {
        grid-template-columns: minmax(0, 1fr);
    }

    .mb-wr-size-guide-visual {
        padding: 18px;
    }

    .mb-wr-size-guide-visual svg {
        max-width: 160px;
    }
}

@media (max-width: 600px) {
    .mb-wr .mb-wr-size-guide {
        margin-bottom: 22px;
    }

    .mb-wr-size-guide-content {
        padding: 20px 16px;
    }

    .mb-wr-size-guide-methods {
        grid-template-columns: minmax(0, 1fr);
    }

    .mb-wr-size-guide-method {
        padding: 16px;
    }

    .mb-wr-size-guide-footer a {
        width: 100%;
    }
}

/* END MB_WEDDING_RING_V15700 */
