:root {
    --yvr-navy-1000: #010711;
    --yvr-navy-950: #020b19;
    --yvr-navy-900: #061328;
    --yvr-navy-850: #081a35;
    --yvr-blue-line: rgba(118, 174, 229, .42);
    --yvr-blue-soft: rgba(43, 115, 185, .3);
    --yvr-gold: #e7bd74;
    --yvr-gold-bright: #ffe0a3;
    --yvr-ivory: #fff9ed;
    --yvr-muted: #b6c1d1;
    --yvr-panel: rgba(2, 13, 29, .84);
    --yvr-serif: "Cormorant Garamond", Georgia, serif;
    --yvr-sans: "Montserrat", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--yvr-navy-1000); }

body.yvr-ring-page {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    color: var(--yvr-ivory);
    background: var(--yvr-navy-1000);
    font-family: var(--yvr-serif);
}

button, input, select { font: inherit; }
button { color: inherit; }

.yvr-ring-builder {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    overflow: hidden;
}

.yvr-ring-builder__backdrop,
.yvr-ring-builder__veil {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.yvr-ring-builder__backdrop {
    z-index: -3;
    background: #021020 url("../images/ring-builder-bg.webp") center / cover no-repeat;
    transform: translateX(-7%) scale(1.17);
}

.yvr-ring-builder__veil {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(0, 5, 15, .84) 0%, rgba(0, 7, 20, .32) 31%, rgba(0, 5, 15, .16) 56%, rgba(0, 5, 15, .8) 100%),
        linear-gradient(180deg, rgba(0, 3, 12, .22), rgba(0, 5, 15, .4));
}

.yvr-back-button {
    position: fixed;
    z-index: 50;
    top: max(18px, env(safe-area-inset-top));
    left: max(20px, env(safe-area-inset-left));
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 14px 0 10px;
    border: 1px solid rgba(221, 237, 255, .34);
    border-radius: 999px;
    color: #fff8eb;
    background: rgba(2, 12, 28, .66);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    cursor: pointer;
    font: 500 11px/1 var(--yvr-sans);
    letter-spacing: .13em;
    text-transform: uppercase;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.yvr-back-button:hover {
    border-color: var(--yvr-gold);
    background: rgba(7, 24, 49, .9);
    transform: translateX(-2px);
}

.yvr-back-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.yvr-ring-shell {
    width: min(1880px, calc(100% - 34px));
    min-height: calc(100svh - 34px);
    margin: 17px auto;
    display: grid;
    grid-template-columns: 190px minmax(520px, 1fr) minmax(500px, 540px);
    gap: clamp(16px, 1.35vw, 28px);
    align-items: stretch;
}

.yvr-ring-brand {
    text-align: center;
    text-transform: uppercase;
}

.yvr-ring-brand strong {
    display: block;
    color: #f2cf94;
    font: 500 30px/1 var(--yvr-serif);
    letter-spacing: .26em;
}

.yvr-ring-brand span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .78);
    font: 500 8px/1.2 var(--yvr-sans);
    letter-spacing: .38em;
}

.yvr-ring-brand--mobile { display: none; }

.yvr-ring-journey {
    min-width: 0;
    padding: 66px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.yvr-ring-brand--desktop { margin: 0 0 46px; }

.yvr-step {
    position: relative;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 82px;
    padding: 0;
    border: 0;
    text-align: left;
    background: transparent;
    cursor: pointer;
}

.yvr-step:not(:last-of-type)::after {
    content: "";
    position: absolute;
    top: 55px;
    left: 26px;
    width: 1px;
    height: 35px;
    background: linear-gradient(rgba(190, 219, 246, .72), rgba(190, 219, 246, .2));
}

.yvr-step__number {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(151, 189, 228, .52);
    border-radius: 50%;
    color: white;
    background: radial-gradient(circle at 35% 30%, #17355a 0%, #07152b 44%, #020811 100%);
    box-shadow: inset 0 0 0 4px rgba(121, 173, 223, .08), 0 0 18px rgba(50, 124, 202, .14);
    font: 500 21px/1 var(--yvr-serif);
    transition: border-color .25s ease, box-shadow .25s ease, color .25s ease;
    padding-bottom: 4px;
}

.yvr-step.is-active .yvr-step__number,
.yvr-step:hover .yvr-step__number {
    border-color: var(--yvr-gold-bright);
    color: var(--yvr-gold-bright);
    box-shadow: inset 0 0 0 3px rgba(255, 213, 142, .13), 0 0 22px rgba(255, 199, 98, .42);
}

.yvr-step__copy { min-width: 0; }
.yvr-step__copy strong,
.yvr-step__copy em { display: block; }

.yvr-step__copy strong {
    color: #fff9ee;
    font: 500 14px/1.2 var(--yvr-serif);
    letter-spacing: .13em;
    text-transform: uppercase;
}

.yvr-step__copy em {
    margin-top: 5px;
    color: #c4c6cc;
    font: italic 16px/1 var(--yvr-serif);
}

.yvr-journey-copy { margin-top: auto; padding: 20px 4px 10px 20px; }
.yvr-journey-copy > span { display: block; width: 32px; height: 1px; background: var(--yvr-gold); }

.yvr-journey-copy p {
    margin: 18px 0;
    color: #fff;
    font: 500 21px/1.38 var(--yvr-serif);
    letter-spacing: .2em;
    text-transform: uppercase;
}

.yvr-journey-copy small {
    display: block;
    margin-top: 20px;
    color: rgba(232, 238, 248, .78);
    font: 500 8px/2.1 var(--yvr-sans);
    letter-spacing: .31em;
    text-transform: uppercase;
}

.yvr-ring-stage {
    position: relative;
    min-width: 0;
    min-height: calc(100svh - 34px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 0px 0 18px;
}

.yvr-product-frame {
    position: relative;
    width: min(100%, 760px);
    aspect-ratio: 1.22 / 1;
    margin: auto auto 0;
    overflow: visible;
}

.yvr-product-frame::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: 6%;
    width: 64%;
    height: 14%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, .46);
    filter: blur(22px);
}

.yvr-product-glow {
    position: absolute;
    z-index: -1;
    top: 12%;
    left: 50%;
    width: 55%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 128, 231, .25), rgba(0, 29, 72, .06) 57%, transparent 73%);
    filter: blur(8px);
}

.yvr-ring-mount,
.yvr-ring-diamond {
    position: absolute;
    z-index: 2;
    display: block;
    pointer-events: none;
    user-select: none;
    will-change: opacity, transform, filter;
    transition: opacity .22s ease, transform .42s cubic-bezier(.2, .78, .25, 1), filter .4s ease;
}

.yvr-ring-mount {
    left: 50%;
    top: 51%;
    width: 82%;
    max-height: 92%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    filter: saturate(.2) brightness(1.04) contrast(1.04) drop-shadow(0 24px 24px rgba(0, 0, 0, .48));
}

.yvr-ring-mount.metal-white-gold {
    filter: saturate(.22) brightness(1.08) contrast(1.06) drop-shadow(0 24px 24px rgba(0, 0, 0, .48));
}

.yvr-ring-mount.metal-yellow-gold {
    filter: sepia(.92) saturate(1.82) hue-rotate(352deg) brightness(1.03) contrast(1.04) drop-shadow(0 24px 24px rgba(0, 0, 0, .48));
}

.yvr-ring-mount.metal-rose-gold {
    filter: sepia(.82) saturate(1.52) hue-rotate(318deg) brightness(1.08) contrast(1.02) drop-shadow(0 24px 24px rgba(0, 0, 0, .48));
}

.yvr-ring-mount.metal-platinum {
    filter: saturate(.08) brightness(1.13) contrast(1.13) drop-shadow(0 24px 24px rgba(0, 0, 0, .48));
}

.yvr-ring-diamond {
    z-index: 4;
    top: 15.6%;
    left: 50%;
    width: 20%;
    height: 20%;
    object-fit: contain;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 8px rgba(185, 219, 255, .76)) drop-shadow(0 6px 8px rgba(0, 0, 0, .34));
}

.yvr-ring-diamond.diamond-oval,
.yvr-ring-diamond.diamond-pear,
.yvr-ring-diamond.diamond-marquise { width: 16%; height: 23%; top: 13.6%; }
.yvr-ring-diamond.diamond-heart { width: 19%; height: 19%; }
.yvr-ring-diamond.diamond-emerald,
.yvr-ring-diamond.diamond-radiant { width: 16.5%; height: 21%; top: 15%; }

.yvr-product-frame.is-changing .yvr-ring-mount,
.yvr-product-frame.is-changing .yvr-ring-diamond {
    opacity: .2;
    transform: translate(-50%, -50%) scale(.96);
}

.yvr-product-frame.is-changing .yvr-ring-diamond { transform: translateX(-50%) scale(.9); }

.yvr-spark {
    position: absolute;
    z-index: 8;
    width: 26px;
    height: 26px;
    opacity: .75;
    animation: yvrSpark 3.6s ease-in-out infinite;
}

.yvr-spark::before,
.yvr-spark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: linear-gradient(90deg, transparent, #fff5d9, transparent);
    transform: translate(-50%, -50%);
}

.yvr-spark::before { width: 100%; height: 1px; }
.yvr-spark::after { width: 1px; height: 100%; }
.yvr-spark--one { top: 15%; left: 43%; }
.yvr-spark--two { top: 26%; right: 36%; animation-delay: 1.4s; transform: scale(.6); }

@keyframes yvrSpark {
    0%, 55%, 100% { opacity: .16; transform: scale(.55) rotate(0); }
    68% { opacity: 1; transform: scale(1.15) rotate(45deg); }
}

.yvr-stage-copy {
    position: absolute;
    z-index: 3;
    top: 29%;
    color: rgba(255, 255, 255, .92);
    font: 500 16px/1.48 var(--yvr-serif);
    letter-spacing: .24em;
    text-transform: uppercase;
}

.yvr-stage-copy i { display: block; width: 38px; height: 1px; margin-top: 14px; background: var(--yvr-gold); }
.yvr-stage-copy--left { left: 2%; }
.yvr-stage-copy--right { right: 0; text-align: right; }
.yvr-stage-copy--right i { margin-left: auto; }

.yvr-preview-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: -4px 0 8px;
    color: rgba(239, 244, 252, .88);
}

.yvr-preview-caption span { width: 48px; height: 1px; background: linear-gradient(90deg, transparent, var(--yvr-gold)); }
.yvr-preview-caption span:last-child { transform: scaleX(-1); }

.yvr-preview-caption p {
    margin: 0;
    font: 500 10px/1 var(--yvr-sans);
    letter-spacing: .27em;
    text-transform: uppercase;
}

.yvr-selection-summary { text-align: center; margin-bottom: 12px; }
.yvr-selection-summary strong { display: block; font: 500 20px/1.1 var(--yvr-serif); letter-spacing: .04em; }
.yvr-selection-summary span { display: block; margin-top: 4px; color: var(--yvr-muted); font: 500 9px/1.2 var(--yvr-sans); letter-spacing: .13em; text-transform: uppercase; }

.yvr-design-strip {
    width: 100%;
    margin-top: auto;
    padding: 12px;
    border: 1px solid rgba(132, 181, 226, .38);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(4, 18, 39, .92), rgba(1, 9, 21, .92));
    box-shadow: 0 18px 38px rgba(0, 0, 0, .26), inset 0 1px rgba(255, 255, 255, .04);
    backdrop-filter: blur(14px);
}

.yvr-design-strip__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 4px 8px;
}

.yvr-design-strip__head strong { font-size: 15px; letter-spacing: .09em; text-transform: uppercase; }
.yvr-design-strip__head span { color: #bec9d9; font: 500 8px/1 var(--yvr-sans); letter-spacing: .17em; text-transform: uppercase; }

.yvr-design-strip__scroller {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.yvr-design-card {
    min-width: 0;
    height: 104px;
    padding: 4px 4px 7px;
    border: 1px solid rgba(100, 143, 188, .25);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(11, 29, 54, .82), rgba(2, 10, 23, .84));
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.yvr-design-card:hover { transform: translateY(-2px); border-color: rgba(255, 215, 144, .68); }
.yvr-design-card.is-selected { border-color: var(--yvr-gold-bright); box-shadow: inset 0 0 20px rgba(232, 182, 94, .12), 0 0 13px rgba(232, 182, 94, .22); }
.yvr-design-card img { display: block; width: 100%; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .38)); }
.yvr-design-card span { display: block; margin-top: -1px; overflow: hidden; color: #fff9ef; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }

.yvr-config-panel {
    position: relative;
    min-width: 0;
    max-height: calc(100svh - 34px);
    align-self: center;
    overflow: auto;
    padding: clamp(22px, 2vw, 36px);
    border: 1px solid rgba(225, 232, 242, .68);
    border-radius: 20px;
    background:
        linear-gradient(130deg, rgba(18, 44, 80, .23), transparent 30%),
        linear-gradient(180deg, rgba(6, 22, 45, .92), rgba(1, 9, 21, .96));
    box-shadow: 0 0 0 4px rgba(119, 165, 209, .08), 0 26px 60px rgba(0, 0, 0, .46), inset 0 1px rgba(255, 255, 255, .08);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    scrollbar-width: none;
}

.yvr-config-panel::-webkit-scrollbar { display: none; }

.yvr-config-panel::before {
    content: "";
    position: absolute;
    inset: 7px;
    z-index: -1;
    border: 1px solid rgba(224, 185, 113, .18);
    border-radius: 15px;
    pointer-events: none;
}

.yvr-config-head { padding: 0 4px 20px; }
.yvr-config-head p { display: none; }
.yvr-config-head h1 { margin: 0; color: #fff; font: 500 clamp(26px, 2vw, 34px)/1 var(--yvr-serif); letter-spacing: .14em; text-transform: uppercase; }
.yvr-config-head > span { display: block; margin-top: 10px; color: #c4cfdf; font: 500 9px/1 var(--yvr-sans); letter-spacing: .37em; text-transform: uppercase; }

.yvr-ring-form { min-width: 0; }

.yvr-option-group {
    min-width: 0;
    margin: 0;
    padding: 0 4px 18px;
    border: 0;
}

.yvr-option-group legend {
    width: 100%;
    margin: 0;
    padding: 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.yvr-option-group legend > span { color: #f5d8a5; font: 600 19px/1 var(--yvr-serif); }
.yvr-option-group legend > small { color: #dec18a; font: 600 9px/1 var(--yvr-serif); letter-spacing: .04em; }

.yvr-choice-grid {
    display: grid;
    gap: 7px;
}

.yvr-choice-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.yvr-image-choice,
.yvr-metal-choice {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.yvr-image-choice input,
.yvr-metal-choice input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.yvr-image-choice {
    min-height: 78px;
    padding: 4px 3px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(114, 157, 201, .32);
    border-radius: 9px;
    background: linear-gradient(160deg, rgba(12, 31, 56, .92), rgba(1, 8, 19, .92));
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.yvr-image-choice:hover { transform: translateY(-2px); border-color: rgba(236, 205, 145, .54); }
.yvr-image-choice.is-selected { border-color: var(--yvr-gold-bright); box-shadow: inset 0 0 17px rgba(232, 185, 101, .15), 0 0 13px rgba(244, 190, 95, .2); }

.yvr-image-choice__visual {
    display: grid;
    place-items: center;
    width: 100%;
    height: 44px;
}

.yvr-image-choice__visual img { display: block; width: 42px; height: 42px; object-fit: contain; }
.yvr-image-choice__visual--ring img { width: 62px; height: 50px; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .4)); }

.yvr-image-choice__label {
    display: block;
    width: 100%;
    overflow: hidden;
    color: #fffaf0;
    font: 500 12px/1.1 var(--yvr-serif);
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yvr-metal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.yvr-metal-choice {
    min-height: 69px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff9ef;
    font: 500 12px/1 var(--yvr-serif);
    text-align: center;
    transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.yvr-metal-choice:hover { background: rgba(27, 54, 85, .32); }
.yvr-metal-choice.is-selected { border-color: rgba(255, 222, 166, .68); background: rgba(197, 143, 69, .08); box-shadow: inset 0 0 16px rgba(255, 210, 132, .1); }

.yvr-metal-choice__swatch {
    display: block;
    width: 39px;
    height: 39px;
    border: 2px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .98), transparent 25%),
        linear-gradient(135deg, color-mix(in srgb, var(--metal-color), white 35%), var(--metal-color) 48%, color-mix(in srgb, var(--metal-color), black 22%));
    box-shadow: inset -7px -7px 12px rgba(0, 0, 0, .18), 0 4px 12px rgba(0, 0, 0, .28);
}

.yvr-metal-choice.is-selected .yvr-metal-choice__swatch { outline: 2px solid var(--yvr-gold-bright); outline-offset: 4px; }

.yvr-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.yvr-detail-grid label { display: block; min-width: 0; }
.yvr-detail-grid label > span { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; color: #dce7f4; font: 500 9px/1 var(--yvr-sans); letter-spacing: .1em; text-transform: uppercase; }
.yvr-detail-grid label > span small { color: #8293a7; font-size: 7px; }
.yvr-detail-grid__engraving { grid-column: 1 / -1; }

.yvr-detail-grid select,
.yvr-detail-grid input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(123, 164, 205, .36);
    border-radius: 8px;
    outline: none;
    color: #fffaf0;
    background: #06142a;
    font: 500 12px/1 var(--yvr-sans);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.yvr-detail-grid input::placeholder { color: #708197; }
.yvr-detail-grid select:focus,
.yvr-detail-grid input:focus { border-color: var(--yvr-gold); box-shadow: 0 0 0 3px rgba(231, 189, 116, .1); }

.yvr-action-dock {
    position: sticky;
    bottom: -36px;
    z-index: 15;
    margin: 3px -4px 0;
    padding: 15px 4px 12px;
    display: grid;
    grid-template-columns: 124px 1fr;
    gap: 12px;
    align-items: center;
    background: linear-gradient(180deg, rgba(2, 11, 25, 0), rgba(2, 11, 25, .94) 28%, #020b19 100%);
}

.yvr-price-block strong { display: block; color: #f5ce8e; font: 500 29px/1 var(--yvr-serif); letter-spacing: .02em; }
.yvr-price-block > span { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: #d9e2ef; font: 500 7px/1 var(--yvr-sans); letter-spacing: .16em; text-transform: uppercase; }

.yvr-price-block button {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 1px solid #7393b7;
    border-radius: 50%;
    color: #bfd4ea;
    background: transparent;
    font: 600 9px/1 var(--yvr-sans);
    cursor: pointer;
}

.yvr-make-button {
    position: relative;
    height: 59px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    overflow: hidden;
    border: 1px solid #ffe2a6;
    border-radius: 999px;
    color: #170d05;
    background: linear-gradient(110deg, #c89753, #f2d29a 49%, #d9aa66);
    box-shadow: inset 0 1px rgba(255, 255, 255, .66), 0 10px 26px rgba(194, 130, 46, .25);
    cursor: pointer;
    font: 600 14px/1 var(--yvr-serif);
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: transform .22s ease, box-shadow .22s ease;
}

.yvr-make-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.4) 45%, transparent 68%);
    transform: translateX(-120%);
    transition: transform .65s ease;
}

.yvr-make-button:hover { transform: translateY(-2px); box-shadow: inset 0 1px rgba(255, 255, 255, .66), 0 15px 34px rgba(194, 130, 46, .34); }
.yvr-make-button:hover::before { transform: translateX(120%); }
.yvr-make-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.yvr-make-button.is-loading { pointer-events: none; opacity: .72; }

.yvr-secondary-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-top: 5px;
}

.yvr-secondary-actions button {
    min-width: 0;
    padding: 8px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    color: #e6dfd3;
    background: transparent;
    cursor: pointer;
    font: 500 8px/1 var(--yvr-sans);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.yvr-secondary-actions button:hover { color: var(--yvr-gold-bright); }
.yvr-secondary-actions svg { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: #e8bd70; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.yvr-secondary-actions span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.yvr-config-signoff {
    margin-top: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(226, 185, 108, .3);
    text-align: center;
}

.yvr-config-signoff span { display: block; color: rgba(255,255,255,.88); font: italic 22px/1 var(--yvr-serif); }
.yvr-config-signoff small { display: block; margin-top: 9px; color: #899aaf; font: 500 7px/1 var(--yvr-sans); letter-spacing: .28em; text-transform: uppercase; }

.yvr-ring-toast {
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: max(24px, env(safe-area-inset-bottom));
    max-width: min(90vw, 420px);
    padding: 12px 18px;
    border: 1px solid rgba(245, 206, 142, .58);
    border-radius: 999px;
    opacity: 0;
    color: #fff8e9;
    background: rgba(2, 13, 29, .96);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .4);
    transform: translate(-50%, 18px);
    pointer-events: none;
    font: 500 11px/1.35 var(--yvr-sans);
    text-align: center;
    transition: opacity .25s ease, transform .25s ease;
}

.yvr-ring-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.yvr-ring-toast.is-error { border-color: rgba(255, 115, 115, .65); }

.yvr-mobile-sheet-handle,
.yvr-mobile-option-nav,
.yvr-mobile-explore-slot {
    display: none;
}

@media (max-width: 1470px) {
    .yvr-ring-shell { grid-template-columns: 160px minmax(470px, 1fr) minmax(455px, 500px); }
    .yvr-ring-journey { padding-top: 65px; }
    .yvr-step { grid-template-columns: 46px 1fr; gap: 10px; min-height: 74px; }
    .yvr-step__number { width: 44px; height: 44px; }
    .yvr-step:not(:last-of-type)::after { left: 22px; top: 49px; height: 31px; }
    .yvr-stage-copy { font-size: 13px; }
    .yvr-product-frame { width: min(100%, 650px); }
    .yvr-config-panel { padding: 26px 24px; }
    .yvr-image-choice__label { font-size: 15px; }
}

@media (max-width: 1199px) {
    .yvr-ring-shell { grid-template-columns: 112px minmax(410px, 1fr) minmax(420px, 470px); gap: 12px; }
    .yvr-ring-brand--desktop { display: none; }
    .yvr-ring-journey { padding-top: 90px; }
    .yvr-step { grid-template-columns: 1fr; justify-items: center; min-height: 74px; text-align: center; }
    .yvr-step__copy strong { font-size: 11px; }
    .yvr-step__copy em { display: none; }
    .yvr-step:not(:last-of-type)::after { left: 50%; transform: translateX(-50%); }
    .yvr-journey-copy { padding-left: 0; text-align: center; }
    .yvr-journey-copy p { font-size: 15px; }
    .yvr-journey-copy > span { margin-inline: auto; }
    .yvr-journey-copy small { display: none; }
    .yvr-stage-copy { display: none; }
    .yvr-config-head h1 { font-size: 26px; }
    .yvr-config-head > span { letter-spacing: .24em; }
}

@media (max-width: 991px) {
    .yvr-ring-builder { overflow: visible; }
    .yvr-ring-builder__backdrop { transform: scale(1.015); }
    .yvr-ring-builder__veil {
        background:
            linear-gradient(180deg, rgba(0, 5, 15, .16) 0%, rgba(0, 7, 20, .42) 33%, rgba(0, 5, 15, .86) 62%, #010711 100%),
            linear-gradient(90deg, rgba(0, 3, 10, .35), rgba(0, 3, 10, .12), rgba(0, 3, 10, .35));
    }
    .yvr-back-button { top: max(12px, env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); height: 38px; padding-right: 11px; }
    .yvr-back-button span { display: none; }
    .yvr-ring-shell {
        width: 100%;
        min-height: 100svh;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .yvr-ring-brand--mobile { display: block; order: 1; padding: max(20px, env(safe-area-inset-top)) 52px 8px; }
    .yvr-ring-brand--mobile strong { font-size: 26px; }
    .yvr-ring-journey {
        order: 2;
        width: min(690px, calc(100% - 30px));
        margin: 5px auto 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: start;
    }
    .yvr-step { display: flex; flex-direction: column; gap: 6px; min-height: 63px; }
    .yvr-step__number { width: 38px; height: 38px; font-size: 17px; }
    .yvr-step:not(:last-of-type)::after { top: 19px; left: calc(50% + 23px); width: calc(100% - 46px); height: 1px; transform: none; }
    .yvr-step__copy strong { font-size: 9px; letter-spacing: .08em; }
    .yvr-journey-copy { display: none; }
    .yvr-ring-stage {
        order: 3;
        min-height: auto;
        padding: 0 15px 16px;
    }
    .yvr-product-frame { width: min(100%, 650px); aspect-ratio: 1.26 / 1; margin-top: -4px; }
    .yvr-ring-mount { width: 78%; }
    .yvr-ring-diamond { top: 15%; }
    .yvr-selection-summary { margin-bottom: 15px; }
    .yvr-design-strip { display: none; }
    .yvr-config-panel {
        order: 4;
        width: min(760px, calc(100% - 20px));
        max-height: none;
        margin: 0 auto max(12px, env(safe-area-inset-bottom));
        padding: 20px clamp(12px, 3.8vw, 28px) 18px;
        border-radius: 19px;
    }
    .yvr-config-head { display: none; }
    .yvr-option-group {
        margin-bottom: 11px;
        padding: 14px;
        border: 1px solid rgba(119, 170, 219, .42);
        border-radius: 15px;
        background: linear-gradient(160deg, rgba(7, 27, 52, .78), rgba(1, 9, 21, .86));
    }
    .yvr-option-group legend { float: left; padding: 0 1px 10px; }
    .yvr-option-group legend + * { clear: both; }
    .yvr-option-group legend > span { font-size: 18px; letter-spacing: .06em; }
    .yvr-option-group legend > small { font-size: 8px; }
    .yvr-action-dock { bottom: 0; margin-inline: -13px; padding: 12px 13px max(12px, env(safe-area-inset-bottom)); grid-template-columns: 120px 1fr; }
    .yvr-secondary-actions { margin-top: 12px; }
}

@media (max-width: 600px) {
    .yvr-ring-builder__backdrop { background-position: center top; }
    .yvr-ring-brand--mobile { padding-top: max(17px, env(safe-area-inset-top)); }
    .yvr-ring-brand--mobile strong { font-size: 24px; }
    .yvr-ring-brand--mobile span { font-size: 6px; }
    .yvr-ring-journey { width: calc(100% - 22px); }
    .yvr-step__number { width: 34px; height: 34px; }
    .yvr-step:not(:last-of-type)::after { top: 17px; left: calc(50% + 20px); width: calc(100% - 40px); }
    .yvr-step__copy strong { font-size: 8px; }
    .yvr-ring-stage { padding-inline: 8px; }
    .yvr-product-frame { width: 100%; aspect-ratio: 1.16 / 1; }
    .yvr-ring-mount { width: 88%; top: 52%; }
    .yvr-ring-diamond { width: 22%; height: 22%; top: 14.5%; }
    .yvr-ring-diamond.diamond-oval,
    .yvr-ring-diamond.diamond-pear,
    .yvr-ring-diamond.diamond-marquise { width: 18%; height: 24%; top: 13.5%; }
    .yvr-preview-caption { gap: 10px; }
    .yvr-preview-caption span { width: 24px; }
    .yvr-preview-caption p { font-size: 8px; letter-spacing: .18em; }
    .yvr-selection-summary strong { font-size: 18px; }
    .yvr-config-panel { width: calc(100% - 12px); padding-inline: 7px; border-radius: 17px; }
    .yvr-option-group { padding: 12px 8px; border-radius: 13px; }
    .yvr-choice-grid { gap: 5px; }
    .yvr-image-choice { min-height: 70px; padding-inline: 1px; }
    .yvr-image-choice__visual { height: 40px; }
    .yvr-image-choice__visual img { width: 37px; height: 37px; }
    .yvr-image-choice__visual--ring img { width: 50px; height: 42px; }
    .yvr-image-choice__label { font-size: 13px; }
    .yvr-metal-grid { gap: 3px; }
    .yvr-metal-choice { font-size: 15px; }
    .yvr-metal-choice__swatch { width: 34px; height: 34px; }
    .yvr-detail-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .yvr-action-dock { grid-template-columns: 105px 1fr; gap: 7px; }
    .yvr-price-block strong { font-size: 24px; }
    .yvr-price-block > span { letter-spacing: .08em; font-size: 6px; }
    .yvr-make-button { height: 54px; padding: 0 13px; gap: 9px; font-size: 12px; letter-spacing: .15em; }
    .yvr-make-button svg { width: 20px; height: 20px; }
    .yvr-secondary-actions button { flex-direction: column; gap: 5px; font-size: 7px; }
    .yvr-secondary-actions svg { width: 19px; height: 19px; }
    .yvr-config-signoff span { font-size: 19px; }
}

@media (max-width: 380px) {
    .yvr-step__copy strong { font-size: 7px; }
    .yvr-option-group { padding-inline: 5px; }
    .yvr-image-choice__label { font-size: 13px; }
    .yvr-metal-choice { font-size: 13px; }
    .yvr-action-dock { grid-template-columns: 94px 1fr; }
    .yvr-price-block strong { font-size: 22px; }
    .yvr-make-button { font-size: 11px; letter-spacing: .11em; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Viewport-first desktop: preview, Explore Designs and configurator stay visible. */
@media (min-width: 992px) {
    html,
    body.yvr-ring-page {
        height: 100%;
        overflow: hidden;
    }

    .yvr-ring-builder {
        height: 100svh;
        min-height: 100svh;
    }

    .yvr-ring-shell {
        height: calc(100svh - 24px);
        min-height: 0;
        margin-block: 12px;
    }

    .yvr-ring-journey {
        min-height: 0;
        padding-top: clamp(34px, 5.5svh, 66px);
        padding-bottom: 10px;
        overflow: hidden;
    }

    .yvr-ring-stage {
        height: calc(100svh - 24px);
        min-height: 0;
        padding: 8px 0 4px;
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto auto 126px;
        align-items: stretch;
        overflow: hidden;
    }

    .yvr-product-frame {
        width: min(100%, 760px);
        height: 100%;
        min-height: 0;
        aspect-ratio: auto;
        margin: 0 auto;
    }

    .yvr-preview-caption { margin: 0 0 5px; }
    .yvr-selection-summary { margin-bottom: 8px; }

    .yvr-design-strip {
        height: 126px;
        margin-top: 0;
        padding: 9px 10px;
        overflow: hidden;
    }

    .yvr-design-strip__head {
        height: 23px;
        padding-bottom: 5px;
    }

    .yvr-design-card {
        height: 82px;
        padding-block: 2px 5px;
    }

    .yvr-design-card img { height: 57px; }
    .yvr-design-card span { font-size: 12px; }

    .yvr-config-panel {
        height: calc(100svh - 24px);
        max-height: calc(100svh - 24px);
        align-self: center;
        overscroll-behavior: contain;
    }
}

@media (min-width: 992px) and (max-height: 900px) {
    .yvr-ring-shell {
        width: min(1880px, calc(100% - 22px));
        column-gap: clamp(10px, 1vw, 18px);
    }

    .yvr-ring-journey { padding-top: 65px; }
    .yvr-step { min-height: 67px; }
    .yvr-step__number { width: 43px; height: 43px; font-size: 18px; }
    .yvr-step:not(:last-of-type)::after { top: 47px; height: 27px; }
    .yvr-journey-copy { padding-top: 10px; }
    .yvr-journey-copy p { margin-block: 12px; font-size: 18px; }

    .yvr-config-panel { padding: 17px 19px 14px; }
    .yvr-config-head { padding-bottom: 12px; }
    .yvr-config-head h1 { font-size: 27px; }
    .yvr-config-head > span { margin-top: 7px; font-size: 7px; }
    .yvr-option-group { padding: 0 3px 10px; }
    .yvr-option-group legend { padding-bottom: 6px; }
    .yvr-option-group legend > span { font-size: 17px; }

    .yvr-image-choice {
        min-height: 61px;
        padding-block: 2px 5px;
    }

    .yvr-image-choice__visual { height: 34px; }
    .yvr-image-choice__visual img { width: 34px; height: 34px; }
    .yvr-image-choice__visual--ring img { width: 49px; height: 38px; }
    .yvr-image-choice__label { font-size: 15px; }

    .yvr-metal-choice { min-height: 70px; gap: 5px; font-size: 15px; }
    .yvr-metal-choice__swatch { width: 31px; height: 31px; }
    .yvr-detail-grid select,
    .yvr-detail-grid input { height: 34px; }

    .yvr-action-dock {
        position: static;
        margin-top: 0;
        padding: 8px 3px 5px;
    }

    .yvr-make-button { height: 51px; }
    .yvr-price-block strong { font-size: 25px; }
    .yvr-secondary-actions { margin-top: 0; }
    .yvr-secondary-actions button { padding-block: 5px; }
    .yvr-config-signoff { margin-top: 4px; padding-top: 8px; }
    .yvr-config-signoff span { font-size: 18px; }
}

@media (min-width: 992px) and (max-height: 760px) {
    .yvr-ring-stage { grid-template-rows: minmax(0, 1fr) auto auto 112px; }
    .yvr-design-strip { height: 112px; padding-block: 7px; }
    .yvr-design-card { height: 70px; }
    .yvr-design-card img { height: 47px; }
    .yvr-preview-caption p { font-size: 8px; }
    .yvr-selection-summary strong { font-size: 17px; }
    .yvr-selection-summary span { font-size: 7px; }
    .yvr-step { min-height: 58px; }
    .yvr-step:not(:last-of-type)::after { height: 18px; }
    .yvr-config-panel { padding: 12px 15px 10px; }
    .yvr-config-head { padding-bottom: 8px; }
    .yvr-config-head h1 { font-size: 24px; }
    .yvr-option-group { padding-bottom: 6px; }
    .yvr-option-group legend { padding-bottom: 4px; }
    .yvr-option-group legend > span { font-size: 15px; }
    .yvr-image-choice { min-height: 52px; }
    .yvr-image-choice__visual { height: 35px; }
    .yvr-image-choice__visual img { width: 35px; height: 35px; }
    .yvr-image-choice__visual--ring img { width: 43px; height: 31px; }
    .yvr-metal-choice { min-height: 70px; }
    .yvr-metal-choice__swatch { width: 27px; height: 27px; }
    .yvr-detail-grid { gap: 6px; }
    .yvr-detail-grid label > span { margin-bottom: 4px; font-size: 7px; }
    .yvr-detail-grid select,
    .yvr-detail-grid input { height: 30px; font-size: 10px; }
    .yvr-action-dock { padding-top: 5px; }
    .yvr-make-button { height: 45px; font-size: 12px; }
    .yvr-secondary-actions,
    .yvr-config-signoff { display: none; }
}

/* Mobile app-like layout: preview stays visible while one option step is edited. */
@media (max-width: 991px) {
    html,
    body.yvr-ring-page {
        width: 100%;
        height: 100%;
        overflow: hidden;
        overscroll-behavior: none;
    }

    .yvr-ring-builder {
        width: 100%;
        height: 100svh;
        min-height: 100svh;
        overflow: hidden;
    }

    .yvr-ring-shell {
        height: 100svh;
        min-height: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 58px minmax(210px, 42svh) minmax(0, 1fr);
        overflow: hidden;
    }

    .yvr-ring-builder.is-mobile-explore-step .yvr-ring-shell {
        grid-template-rows: 58px minmax(185px, 36svh) minmax(0, 1fr);
    }

    .yvr-ring-journey,
    .yvr-ring-stage,
    .yvr-config-panel {
        min-width: 0;
        max-width: 100%;
    }

    .yvr-ring-journey {
        grid-row: 1;
        order: initial;
        width: min(580px, calc(100% - 58px));
        height: 58px;
        margin: 0 8px 0 auto;
        padding: 15px 0 0;
        align-items: start;
    }

    .yvr-step {
        min-height: 50px;
        gap: 3px;
    }

    .yvr-step__number {
        width: 31px;
        height: 31px;
        font-size: 14px;
    }

    .yvr-step:not(:last-of-type)::after {
        top: 15px;
        left: calc(50% + 18px);
        width: calc(100% - 36px);
    }

    .yvr-step.is-complete .yvr-step__number {
        border-color: rgba(231, 189, 116, .64);
        color: var(--yvr-gold-bright);
    }

    .yvr-step__copy strong {
        font-size: 6px;
        letter-spacing: .08em;
    }

    .yvr-ring-stage {
        grid-row: 2;
        order: initial;
        height: 100%;
        min-height: 0;
        padding: 0 7px 4px;
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto auto;
        align-items: stretch;
        overflow: hidden;
    }

    .yvr-product-frame {
        width: min(100%, 520px);
        height: 100%;
        min-height: 0;
        aspect-ratio: auto;
        margin: 0 auto;
    }

    .yvr-ring-mount {
        width: min(82vw, calc(42svh - 35px));
        max-width: 355px;
        max-height: 96%;
    }

    .yvr-ring-diamond {
        top: 10%;
        width: min(19vw, 78px);
        height: min(19vw, 78px);
    }

    .yvr-ring-diamond.diamond-oval,
    .yvr-ring-diamond.diamond-pear,
    .yvr-ring-diamond.diamond-marquise {
        top: 8%;
        width: min(15vw, 62px);
        height: min(22vw, 88px);
    }

    .yvr-preview-caption { margin: 0 0 2px; }
    .yvr-preview-caption p { font-size: 7px; }
    .yvr-selection-summary { margin-bottom: 3px; }
    .yvr-selection-summary strong { font-size: 16px; }
    .yvr-selection-summary span { margin-top: 2px; font-size: 6px; }

    .yvr-config-panel {
        grid-row: 3;
        order: initial;
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        margin: 0;
        padding: 0 9px max(7px, env(safe-area-inset-bottom));
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-width: 1px 0 0;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -14px 35px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .08);
    }

    .yvr-config-panel::before {
        inset: 5px 5px auto;
        height: calc(100% - 8px);
        border-bottom: 0;
        border-radius: 17px 17px 0 0;
    }

    .yvr-mobile-sheet-handle {
        flex: 0 0 14px;
        display: grid;
        place-items: center;
    }

    .yvr-mobile-sheet-handle span {
        display: block;
        width: 42px;
        height: 3px;
        border-radius: 99px;
        background: rgba(221, 231, 244, .32);
    }

    .yvr-ring-form {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .yvr-mobile-option-nav {
        flex: 0 0 42px;
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr) 72px;
        align-items: center;
        padding: 0 4px 5px;
        border-bottom: 1px solid rgba(118, 174, 229, .18);
    }

    .yvr-mobile-option-nav__copy {
        min-width: 0;
        text-align: center;
    }

    .yvr-mobile-option-nav__copy small,
    .yvr-mobile-option-nav__copy strong { display: block; }

    .yvr-mobile-option-nav__copy small {
        color: #8295ad;
        font: 500 6px/1 var(--yvr-sans);
        letter-spacing: .18em;
        text-transform: uppercase;
        font-size: 13px;
    }

    .yvr-mobile-option-nav__copy strong {
        margin-top: 3px;
        color: #f5d8a5;
        font: 600 16px/1 var(--yvr-serif);
        letter-spacing: .05em;
    }

    .yvr-mobile-nav-button {
        min-width: 0;
        height: 30px;
        padding: 0 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border: 1px solid rgba(125, 169, 212, .3);
        border-radius: 999px;
        color: #eef6ff;
        background: rgba(10, 29, 54, .7);
        cursor: pointer;
        font: 600 7px/1 var(--yvr-sans);
        letter-spacing: .09em;
        text-transform: uppercase;
    }

    .yvr-mobile-nav-button:first-child {
        justify-self: start;
        width: 34px;
        padding: 0;
    }

    .yvr-mobile-nav-button--next { justify-self: end; }
    .yvr-mobile-nav-button:disabled { opacity: .28; pointer-events: none; }

    .yvr-mobile-nav-button svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.6;
    }

    .yvr-mobile-explore-slot.is-active {
        flex: 0 0 80px;
        min-width: 0;
        padding: 5px 7px 3px;
        display: block;
        overflow: hidden;
        border-bottom: 1px solid rgba(118, 174, 229, .18);
    }

    .yvr-mobile-explore-slot .yvr-design-strip {
        width: 100%;
        height: 80px;
        margin: 0;
        padding: 4px 5px 5px;
        display: block;
        border-color: rgba(132, 181, 226, .28);
        border-radius: 10px;
        background: linear-gradient(180deg, rgba(7, 25, 49, .9), rgba(2, 12, 27, .94));
        box-shadow: inset 0 1px rgba(255, 255, 255, .04);
        backdrop-filter: none;
    }

    .yvr-mobile-explore-slot .yvr-design-strip__head {
        min-height: 13px;
        padding: 0 2px 3px;
    }

    .yvr-mobile-explore-slot .yvr-design-strip__head strong {
        color: #f5d8a5;
        font-size: 8px;
        letter-spacing: .14em;
    }

    .yvr-mobile-explore-slot .yvr-design-strip__head span { display: none; }

    .yvr-mobile-explore-slot .yvr-design-strip__scroller {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
    }

    .yvr-mobile-explore-slot .yvr-design-card {
        width: 100%;
        height: 55px;
        padding: 0 2px 2px;
        border-radius: 7px;
    }

    .yvr-mobile-explore-slot .yvr-design-card img {
        height: 35px;
        object-fit: contain;
    }

    .yvr-mobile-explore-slot .yvr-design-card span {
        margin-top: -1px;
        font-size: 12px;
        line-height: 1;
    }

    .yvr-option-group { display: none; }

    .yvr-option-group.is-mobile-active {
        flex: 1 1 auto;
        min-height: 0;
        margin: 0;
        padding: 8px 7px;
        display: block;
        overflow-x: hidden;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
        overscroll-behavior: contain;
        scrollbar-width: none;
    }

    .yvr-option-group.is-mobile-active::-webkit-scrollbar { display: none; }
    .yvr-option-group legend { float: none; padding: 0 1px 7px; }
    .yvr-option-group legend + * { clear: none; }
    .yvr-option-group legend > span { font-size: 15px; }
    .yvr-choice-grid { gap: 5px; }

    .yvr-image-choice {
        min-height: 61px;
        padding-block: 2px 4px;
    }

    .yvr-image-choice__visual { height: 36px; }
    .yvr-image-choice__visual img { width: 34px; height: 34px; }
    .yvr-image-choice__visual--ring img { width: 48px; height: 36px; }
    .yvr-image-choice__label { font-size: 13px; }
    .yvr-metal-choice { min-height: 65px; font-size: 13px; }
    .yvr-metal-choice__swatch { width: 32px; height: 32px; }

    .yvr-action-dock {
        position: static;
        flex: 0 0 auto;
        bottom: auto;
        margin: 0;
        padding: 7px 4px 3px;
        grid-template-columns: 98px minmax(0, 1fr);
        gap: 7px;
        border-top: 1px solid rgba(118, 174, 229, .18);
        background: rgba(2, 11, 25, .96);
    }

    .yvr-price-block strong { font-size: 22px; }
    .yvr-price-block > span { margin-top: 3px; font-size: 5px; letter-spacing: .08em; }

    .yvr-make-button {
        height: 45px;
        padding-inline: 12px;
        gap: 8px;
        font-size: 10px;
        letter-spacing: .12em;
    }

    .yvr-secondary-actions,
    .yvr-config-signoff { display: none; }

    .yvr-ring-toast {
        bottom: calc(max(7px, env(safe-area-inset-bottom)) + 56px);
    }
}

@media (max-width: 600px) and (max-height: 700px) {
    .yvr-ring-shell {
        grid-template-rows: 52px minmax(170px, 38svh) minmax(0, 1fr);
    }

    .yvr-ring-journey {
        height: 52px;
        padding-top: 3px;
    }

    .yvr-step { min-height: 46px; }
    .yvr-ring-mount { width: min(72vw, calc(38svh - 24px)); }
    .yvr-preview-caption { display: none; }
    .yvr-selection-summary strong { font-size: 14px; }
    .yvr-mobile-option-nav { flex-basis: 37px; }

    .yvr-option-group.is-mobile-active {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .yvr-image-choice { min-height: 54px; }
}

@media (max-width: 991px) and (orientation: landscape) and (max-height: 560px) {
    .yvr-ring-shell {
        grid-template-columns: minmax(270px, 43%) minmax(0, 1fr);
        grid-template-rows: 50px minmax(0, 1fr);
    }

    .yvr-ring-journey {
        grid-column: 1 / -1;
        grid-row: 1;
        width: min(590px, calc(100% - 100px));
        height: 50px;
        margin-inline: auto;
    }

    .yvr-ring-stage {
        grid-column: 1;
        grid-row: 2;
    }

    .yvr-config-panel {
        grid-column: 2;
        grid-row: 2;
        border-left-width: 1px;
        border-radius: 22px 0 0 0;
    }

    .yvr-ring-mount { width: min(40vw, calc(100svh - 95px)); }
    .yvr-preview-caption { display: none; }
}

.yvr-metal-choice span {
    margin-top: 5px;
}

@media (min-width: 992px) and (max-height: 760px) {
    .yvr-option-group legend > span {
        font-size: 20px;
        margin-bottom: 10px !important;
        margin-top: 10px;
    }

    .yvr-image-choice__visual--ring img {
        width: 35px;
        height: 35px;
    }

    .yvr-detail-grid select,
    .yvr-detail-grid input {
        height: 40px;
        font-size: 15px;
    }

    .yvr-detail-grid label > span {
        margin-top: 10px;
        font-size: 13px;
        margin-bottom: 10px !important;
    }
}


.yvr-step__copy em{
    display:none;
}


/* Mobile steps: one-row horizontal scroll */
@media (max-width: 991px) {
    .yvr-ring-journey {
        display: flex !important;
        flex-flow: row nowrap !important;
        grid-template-columns: none !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 58px;

        margin: 0 8px 0 58px !important;
        padding: 10px 0 0 !important;

        justify-self: stretch !important;
        align-items: flex-start;
        justify-content: flex-start;

        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .yvr-ring-journey::-webkit-scrollbar {
        display: none !important;
        width: 0;
        height: 0;
    }

    .yvr-ring-journey .yvr-step {
        display: flex !important;
        flex: 0 0 76px !important;
        width: 76px !important;
        min-width: 76px !important;
        max-width: 76px !important;
        min-height: 48px;

        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 3px;

        scroll-snap-align: start;
    }

    .yvr-ring-journey .yvr-step__number {
        flex: 0 0 auto;
    }

    .yvr-ring-journey .yvr-step__copy {
        display: block !important;
        width: 74px;
        min-width: 0;
        text-align: center;
        overflow: hidden;
    }

    .yvr-ring-journey .yvr-step__copy strong {
        display: block !important;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 6px;
        line-height: 1.2;
    }

    .yvr-ring-journey .yvr-step__copy em {
        display: none !important;
    }

    .yvr-ring-journey .yvr-step:not(:last-of-type)::after {
        top: 15px;
        left: calc(50% + 18px);
        width: calc(100% - 36px);
        height: 1px;
        transform: none;
    }

    .yvr-ring-journey .yvr-journey-copy {
        display: none !important;
    }
}
/* Saved/exported previews are the same composed image shown in the bag. */
.yvr-product-frame.is-composite .yvr-ring-mount{width:100%;height:100%;max-height:none;top:50%;filter:none}
.yvr-product-frame .yvr-ring-diamond[hidden]{display:none}
.yvr-preview-actions{display:flex;align-items:center;justify-content:center;gap:10px;position:relative;z-index:8;margin:4px 0 10px;flex-wrap:wrap}
.yvr-preview-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 14px;color:#f2dfbb;background:#07182cdb;border:1px solid #cfad6e66;border-radius:8px;font:500 11px/1.4 Montserrat,Arial,sans-serif;cursor:pointer;backdrop-filter:blur(10px)}
.yvr-preview-actions button:hover{background:#172f48;border-color:#e1c488}
.yvr-preview-actions button:disabled{opacity:.55;cursor:wait}
.yvr-preview-actions button:focus-visible{outline:2px solid #e1c488;outline-offset:3px}
.yvr-preview-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:991px){.yvr-preview-actions{position:absolute;bottom:7px;left:10px;right:10px;margin:0}.yvr-preview-actions button{min-height:34px;padding:7px 10px;font-size:10px}}
@media(min-width:992px){.yvr-ring-stage{grid-template-rows:minmax(0,1fr) auto auto auto 112px}}
