/* Service page (Views/Item/Details.cshtml) — was inline in the page; now a cached file. */
    /* =====================================================================
       Service page — "Cinematic": banner with the service picture blurred behind the title,
       gallery on a dark stage, sticky order box, tabs (description / reviews), seller, related.
       ===================================================================== */

    /* ---------- banner: breadcrumb, title, facts (runs under the fixed header) ---------- */
    .item-head { padding: calc(var(--hh) + env(safe-area-inset-top) + clamp(1.25rem, 3.5vw, 2.75rem)) 0 clamp(1.5rem, 3.2vw, 2.75rem); }
    .item-head::before { inset: -3rem; opacity: .42; filter: blur(2.5rem) saturate(1.3); }
    .item-head h1 { margin: 0 0 1.1rem; max-width: 62rem; font-size: clamp(1.4rem, 1.05rem + 1.6vw, 2.35rem); line-height: 1.45; overflow-wrap: anywhere; text-wrap: balance; }
    .item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
    .im-pill {
        display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; max-width: 100%; padding: .2rem .95rem;
        border-radius: var(--pill); border: 1px solid var(--line-2); background: rgba(14, 13, 12, .62); color: var(--text-2);
        font-size: .9rem; font-weight: 600; line-height: 1.3; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    }
    .im-pill > .ti { flex: none; color: var(--gold); font-size: 1.1rem; }
    .im-pill b { color: var(--text); font-weight: 800; font-variant-numeric: tabular-nums; }
    .im-pill .rating { font-size: .92rem; }
    button.im-pill { cursor: pointer; transition: border-color .3s, background-color .3s, transform .5s var(--spring); }
    button.im-pill:hover { border-color: rgba(245, 197, 24, .55); background: rgba(245, 197, 24, .08); transform: translate3d(0, -2px, 0); }
    .im-seller { min-width: 0; padding-inline-start: .25rem; }
    .im-seller img { width: 2.1rem; height: 2.1rem; flex: none; border-radius: 50%; object-fit: cover; background: var(--surface-2); box-shadow: 0 0 0 2px rgba(245, 197, 24, .55); }
    .im-seller a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 800; padding-block: .45rem; } /* ≥ 24px tap height on phones */
    .im-seller a:hover { color: var(--gold-2); }
    .im-seller .badge, .seller-badges .badge { flex: none; }
    .badge-brand .ti { color: inherit; }

    /* ---------- layout: content column + sticky order box ---------- */
    .item-body { padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(.5rem, 2vw, 1.5rem); }
    .item-main { display: flex; flex-direction: column; gap: clamp(1.1rem, 2vw, 1.6rem); min-width: 0; }
    .item-main .panel-head { flex-wrap: wrap; }
    .item-main .section-title { margin-bottom: 1.1rem; }
    .item-main .section-title h2 { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }
    @media (min-width: 560px) { .item-main .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); } }
    @media (min-width: 1001px) {
        .item-split > aside { max-height: calc(100vh - var(--hh) - 2rem); max-height: calc(100dvh - var(--hh) - 2rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border-radius: var(--r-lg); }
        .item-split > aside.paying { position: static; max-height: none; overflow: visible; }
    }
    /* phones / tablets: the order box follows the gallery instead of waiting below the reviews */
    @media (max-width: 1000px) {
        .item-main { display: contents; }
        .item-main > * { order: 3; }
        .item-main > #gallery { order: 1; }
        .item-split > aside { order: 2; }
    }

    /* ---------- gallery ---------- */
    .gallery { padding: .5rem; }
    .g-stage { position: relative; isolation: isolate; aspect-ratio: 665 / 400; overflow: hidden; outline: none; border-radius: calc(var(--r-lg) - .45rem); background: #0d0c0b; }
    .g-stage:focus-visible { box-shadow: 0 0 0 2px var(--gold); }
    .g-slide { position: absolute; inset: 0; margin: 0; overflow: hidden; opacity: 0; transform: scale(1.03); pointer-events: none; transition: opacity .7s var(--ease), transform 1.2s var(--ease-out); }
    .g-slide.on { opacity: 1; transform: none; pointer-events: auto; }
    /* the same picture, blurred, fills the letterbox around a picture that does not match the stage */
    .g-slide::before { content: ""; position: absolute; inset: -2.5rem; background: var(--img, none) center / cover no-repeat; filter: blur(1.75rem) brightness(.42) saturate(1.25); }
    .g-slide img { position: relative; width: 100%; height: 100%; object-fit: contain; }
    .g-slide iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; background: #000; }
    .g-play {
        position: absolute; inset: 0; z-index: 2; margin: auto; display: grid; place-items: center; width: 4.75rem; height: 4.75rem; padding: 0;
        border: 0; border-radius: 50%; background: var(--grad); color: var(--on-gold); font-size: 1.9rem; cursor: pointer;
        box-shadow: 0 0 0 .6rem rgba(245, 197, 24, .18), 0 1rem 2.5rem rgba(0, 0, 0, .6); transition: transform .55s var(--spring);
    }
    .g-play::after { content: ""; position: absolute; inset: -.6rem; border-radius: 50%; border: 2px solid rgba(245, 197, 24, .7); opacity: 0; }
    .g-play:hover { transform: scale(1.08); }
    .g-slide.playing .g-play { display: none; }
    .g-nav, .g-zoom {
        position: absolute; z-index: 4; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
        border-radius: 50%; border: 1px solid rgba(255, 244, 225, .18); background: rgba(10, 10, 10, .6); color: var(--text); cursor: pointer;
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
        transition: opacity .3s, background-color .3s, color .3s, border-color .3s, transform .45s var(--spring);
    }
    .g-nav { top: 50%; margin-top: -1.375rem; font-size: 1.3rem; opacity: 0; }
    .g-nav.prev { inset-inline-start: .75rem; }
    .g-nav.next { inset-inline-end: .75rem; }
    .g-zoom { top: .75rem; inset-inline-end: .75rem; font-size: 1.1rem; opacity: 0; }
    .g-stage:hover .g-nav, .g-stage:hover .g-zoom, .g-stage:focus-within .g-nav, .g-stage:focus-within .g-zoom { opacity: 1; }
    .g-nav:hover, .g-zoom:hover { background: var(--gold); color: var(--on-gold); border-color: transparent; transform: scale(1.08); }
    @media (hover: none) { .g-nav, .g-zoom { opacity: 1; } }
    .g-count {
        position: absolute; z-index: 4; bottom: .75rem; inset-inline-start: .75rem; padding: .15rem .75rem; border-radius: var(--pill);
        background: rgba(10, 10, 10, .66); border: 1px solid rgba(255, 244, 225, .14); color: var(--text);
        font-size: .78rem; font-weight: 700; direction: ltr; font-variant-numeric: tabular-nums;
    }
    .g-thumbs { display: flex; gap: .5rem; padding: .5rem .1rem .1rem; overflow-x: auto; scrollbar-width: thin; }
    .g-thumb {
        position: relative; flex: none; width: 6.5rem; aspect-ratio: 665 / 400; padding: 0; overflow: hidden; border: 0; border-radius: .8rem;
        background: var(--surface-2); cursor: pointer; opacity: .5; transition: opacity .3s, transform .45s var(--spring);
    }
    .g-thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s; }
    .g-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .g-thumb:hover { opacity: 1; transform: translate3d(0, -2px, 0); }
    .g-thumb.on { opacity: 1; }
    .g-thumb.on::after { box-shadow: inset 0 0 0 2px var(--gold); }
    .g-thumb .ti { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-size: .85rem; }
    .zoom-body { padding: 0; background: #0d0c0b; }
    .zoom-body img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }

    /* ---------- tabs: description / reviews ---------- */
    .item-tabs > .tabs { margin: 1rem 1rem 0; }
    .item-tabs .tabs button { display: inline-flex; align-items: center; gap: .4rem; }
    .item-tabs .tabs .badge { min-width: 1.6rem; justify-content: center; padding: 0 .45rem; }
    .item-tabs .tabs .active .badge { background: rgba(20, 17, 10, .16); border-color: rgba(20, 17, 10, .25); color: var(--on-gold); }
    .item-tabs .tab-panel { padding: 1.4rem 1.4rem 1.6rem; }
    .item-desc { max-width: none; overflow-wrap: anywhere; font-size: 1.02rem; line-height: 1.95; }
    .item-desc :where([style], font) { color: inherit !important; background-color: transparent !important; }
    .item-desc img { height: auto; border-radius: var(--r); }
    .item-desc iframe { width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); }
    .keywords { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
    .keywords > b { display: inline-flex; align-items: center; gap: .4rem; margin-inline-end: .25rem; color: var(--text-2); }
    .keywords > b .ti { color: var(--gold); }
    .keywords .chip { min-height: 2.25rem; padding: 0 .85rem; font-size: .84rem; }

    /* ---------- reviews ---------- */
    .rv-summary {
        display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem); align-items: center;
        padding: 1.25rem 1.4rem; margin-bottom: 1.1rem; border-radius: var(--r-lg); border: 1px solid rgba(245, 197, 24, .16);
        background: radial-gradient(120% 140% at var(--os) 0%, rgba(245, 197, 24, .12), transparent 55%), rgba(255, 255, 255, .02);
    }
    .rv-score { display: grid; justify-items: center; gap: .35rem; min-width: 9rem; padding-inline-end: clamp(1rem, 3vw, 2rem); border-inline-end: 1px solid var(--line); }
    .rv-score b { font: 900 3.2rem/1 var(--font); color: var(--gold); text-shadow: 0 0 2rem rgba(245, 197, 24, .35); font-variant-numeric: tabular-nums; }
    .rv-score small { color: var(--muted); font-weight: 600; font-size: .82rem; text-align: center; }
    .stars-x { position: relative; display: inline-flex; gap: .1rem; color: #4d463c; font-size: 1.15rem; white-space: nowrap; }
    .stars-x .fill { position: absolute; inset-block: 0; inset-inline-start: 0; display: inline-flex; gap: .1rem; overflow: hidden; color: var(--gold); }
    .rv-bars { display: grid; gap: .8rem; }
    .rv-bar { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 2.5rem; align-items: center; gap: .75rem; color: var(--text-2); font-weight: 700; font-size: .9rem; }
    .rv-bar > span:first-child { display: inline-flex; align-items: center; gap: .4rem; }
    .rv-bar.pos .ti { color: var(--success); }
    .rv-bar.neg .ti { color: var(--danger); }
    .rv-bar .track { height: .55rem; overflow: hidden; border-radius: var(--pill); background: rgba(255, 255, 255, .07); }
    .rv-bar .track span { display: block; width: 0; height: 100%; border-radius: inherit; transition: width 1.2s var(--ease-out); }
    .rv-bar.pos .track span { background: linear-gradient(var(--to-e), #16a34a, var(--success)); }
    .rv-bar.neg .track span { background: linear-gradient(var(--to-e), #dc2626, var(--danger)); }
    .rv-bar b { text-align: end; color: var(--text); font-variant-numeric: tabular-nums; }
    .rv-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
    .rv-item { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
    .rv-item:last-child { border-bottom: 0; padding-bottom: 0; }
    .rv-item .avatar { width: 3.25rem; height: 3.25rem; box-shadow: 0 0 0 1px var(--line-2); }
    .rv-top { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; }
    .rv-name { font-weight: 800; color: var(--text); }
    a.rv-name:hover { color: var(--gold-2); }
    .rv-top .rating { font-size: .9rem; }
    .rv-date { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); font-size: .8rem; }
    .rv-edit { margin-inline-start: auto; }
    .rv-text { margin: .5rem 0 0; color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }
    .rv-reply {
        margin-top: .75rem; padding: .7rem 1rem; border-radius: var(--r-sm); border: 1px solid rgba(245, 197, 24, .16);
        border-inline-start: 3px solid var(--gold); background: rgba(245, 197, 24, .06); color: var(--text-2); overflow-wrap: anywhere;
    }
    .rv-reply b { color: var(--gold-2); }
    .rv-reply-form { display: grid; gap: .4rem; margin-top: .75rem; }
    .rv-reply-form .textarea { min-height: 4.5rem; }
    .rate-form {
        display: grid; gap: 1rem; padding: 1.25rem; margin-bottom: 1.25rem; border-radius: var(--r-lg); border: 1px dashed rgba(245, 197, 24, .5);
        background: radial-gradient(100% 120% at 50% 0%, rgba(245, 197, 24, .09), transparent 60%), rgba(255, 255, 255, .02);
    }
    .rate-form h4 { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: 1.05rem; }
    .rate-form h4 .ti { color: var(--gold); }
    .rate-form .textarea { min-height: 5.5rem; }
    .thumb-choice { display: flex; flex-wrap: wrap; gap: .6rem; }
    .thumb-choice label { position: relative; cursor: pointer; }
    .thumb-choice input { position: absolute; opacity: 0; pointer-events: none; }
    .thumb-choice span {
        display: inline-flex; align-items: center; gap: .4rem; min-height: 2.6rem; padding: 0 1.1rem; border-radius: var(--pill);
        border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text-2); font-weight: 700;
        transition: transform .5s var(--spring), border-color .3s, background-color .3s, color .3s;
    }
    .thumb-choice label:hover span { transform: translate3d(0, -2px, 0); }
    .thumb-choice input:checked + span.pos { border-color: rgba(74, 222, 128, .55); background: rgba(34, 197, 94, .14); color: #86efac; }
    .thumb-choice input:checked + span.neg { border-color: rgba(248, 113, 113, .55); background: rgba(239, 68, 68, .14); color: #fca5a5; }
    .thumb-choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

    /* ---------- guarantee ---------- */
    .guarantee {
        position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center;
        padding: .95rem 1.15rem; border-radius: var(--r-lg); border: 1px solid rgba(245, 197, 24, .2); color: var(--text);
        background: radial-gradient(90% 160% at var(--os) 50%, rgba(245, 197, 24, .13), transparent 60%), linear-gradient(180deg, #161413, #121110);
        transition: border-color .4s, box-shadow .4s, transform .6s var(--spring);
    }
    .guarantee:hover { color: var(--text); border-color: rgba(245, 197, 24, .5); transform: translate3d(0, -2px, 0); box-shadow: 0 1.2rem 3rem -1.5rem rgba(245, 197, 24, .4); }
    .guarantee .seal {
        display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; color: var(--on-gold); font-size: 1.9rem;
        background: radial-gradient(circle at 35% 30%, #fff2b8, var(--gold) 55%, var(--gold-3));
        box-shadow: 0 0 0 4px rgba(245, 197, 24, .16), 0 0 2rem rgba(245, 197, 24, .35);
    }
    .guarantee b { display: block; font-size: 1.02rem; }
    .guarantee .small { display: block; line-height: 1.6; }
    .guarantee .go { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold); transition: background-color .3s, color .3s, border-color .3s; }
    .guarantee:hover .go { background: var(--gold); color: var(--on-gold); border-color: transparent; }

    /* ---------- about the seller ---------- */
    .seller-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: center; }
    .seller-pic { position: relative; display: block; flex: none; border-radius: 50%; }
    .seller-pic img {
        width: 5.75rem; height: 5.75rem; border-radius: 50%; object-fit: cover; background: var(--surface-2);
        box-shadow: 0 0 0 3px rgba(245, 197, 24, .5), 0 0 2rem -.25rem rgba(245, 197, 24, .35); transition: transform .6s var(--spring);
    }
    .seller-pic:hover img { transform: scale(1.05); }
    .online-dot { position: absolute; bottom: .2rem; inset-inline-end: .2rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 3px solid #141312; background: var(--danger); }
    .online-dot.on { background: var(--success); }
    .seller-name { font-size: 1.25rem; font-weight: 800; color: var(--text); overflow-wrap: anywhere; }
    .seller-name:hover { color: var(--gold-2); }
    .seller-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
    .seller-info { margin: 1.1rem 0 0; padding: .9rem 1.1rem; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }

    /* ---------- order box ---------- */
    .buy-box {
        overflow: hidden; border-color: rgba(245, 197, 24, .22);
        background: radial-gradient(120% 70% at 50% 0%, rgba(245, 197, 24, .13), transparent 60%), linear-gradient(180deg, #181614, #11100f);
        box-shadow: var(--shadow-2), 0 0 3rem -1.5rem rgba(245, 197, 24, .35);
    }
    .buy-box::before { content: ""; position: absolute; top: 0; inset-inline: 12%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 1rem rgba(245, 197, 24, .6); }
    .buy-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.4rem 1.35rem .35rem; }
    .buy-top small { display: block; color: var(--muted); font-weight: 600; font-size: .82rem; }
    .buy-top strong { font-size: 1.05rem; color: var(--text); }
    .buy-price { display: inline-flex; align-items: flex-start; font: 900 2.9rem/1 var(--font); color: var(--gold); text-shadow: 0 0 2rem rgba(245, 197, 24, .35); font-variant-numeric: tabular-nums; }
    .buy-price small { margin-top: .3rem; font-size: .48em; font-weight: 800; color: var(--gold-2); }
    .buy-facts { display: grid; margin: 0; padding: .5rem 1.35rem .1rem; list-style: none; }
    .buy-facts li { display: flex; align-items: center; gap: .7rem; min-height: 2.75rem; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: .92rem; }
    .buy-facts li:last-child { border-bottom: 0; }
    .buy-facts li > .ti { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(245, 197, 24, .12); color: var(--gold); font-size: 1rem; }
    .buy-facts b { margin-inline-start: auto; color: var(--text); text-align: end; font-variant-numeric: tabular-nums; }
    .buy-body { display: grid; gap: 1rem; padding: 1rem 1.35rem 1.35rem; }
    .extras { display: grid; gap: .5rem; min-width: 0; margin: 0; padding: 0; border: 0; }
    .extras legend { display: flex; align-items: center; gap: .45rem; margin-bottom: .6rem; padding: 0; color: var(--text); font-weight: 800; }
    .extras legend .ti { color: var(--gold); }
    .extra {
        --dirx: 1; display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; border-radius: var(--r-sm); border: 1px solid var(--line-2);
        background: rgba(255, 255, 255, .025); cursor: pointer; transition: border-color .3s, background-color .3s, transform .5s var(--spring);
    }
    [dir="rtl"] .extra { --dirx: -1; }
    .extra:hover { border-color: rgba(245, 197, 24, .5); transform: translate3d(calc(var(--dirx) * 3px), 0, 0); }
    .extra input { flex: none; width: 1.15rem; height: 1.15rem; accent-color: var(--gold); }
    .extra span { flex: 1; min-width: 0; color: var(--text-2); font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
    .extra b { color: var(--gold-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
    .extra:has(input:checked) { border-color: rgba(245, 197, 24, .6); background: rgba(245, 197, 24, .09); }
    .extra:has(input:checked) span { color: var(--text); }
    #extrasHint { display: flex; align-items: center; gap: .35rem; }
    #extrasHint.hidden { display: none; }
    .buy-total { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--text-2); font-weight: 700; }
    .buy-total b { font: 900 1.9rem/1 var(--font); color: var(--gold); font-variant-numeric: tabular-nums; }
    .bump { display: inline-block; animation: item-bump .45s var(--spring); }
    .buy-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .6rem; }
    .buy-row .fav-btn { width: 3.5rem; height: 3.5rem; font-size: 1.3rem; }
    .buy-box .btn-lg { white-space: normal; line-height: 1.35; padding: .5rem 1rem; font-size: 1rem; }
    .buy-foot { display: grid; gap: .9rem; padding: 1rem 1.35rem 1.1rem; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .2); }
    .share-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
    .share-row .icon-btn { width: 2.5rem; height: 2.5rem; font-size: 1.05rem; }
    .share-row .label { margin-inline-end: auto; }
    .buy-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; font-size: .86rem; }
    .buy-links .link-btn { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.25rem; }
    .buy-links .rep { color: var(--muted); font-weight: 600; }
    .buy-links .rep:hover { color: var(--danger); }
    .seller-mini { display: flex; align-items: center; gap: .7rem; min-width: 0; }
    .seller-mini > div { min-width: 0; }
    .seller-mini img { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
    .seller-mini b { display: block; overflow: hidden; color: var(--text); line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
    .seller-mini small { display: block; overflow: hidden; color: var(--muted); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
    .seller-mini .seller-pic img { box-shadow: 0 0 0 2px rgba(245, 197, 24, .45); }
    .seller-mini .online-dot { width: .8rem; height: .8rem; border-width: 2px; bottom: 0; inset-inline-end: 0; }
    .seller-mini .icon-btn { margin-inline-start: auto; }
    .pay-lines { display: grid; margin: 0; padding: 0; list-style: none; font-size: .92rem; }
    .pay-lines li { display: flex; justify-content: space-between; gap: .75rem; padding: .45rem 0; border-bottom: 1px dashed var(--line-2); }
    .pay-lines li span { min-width: 0; color: var(--text-2); overflow-wrap: anywhere; }
    .pay-lines li b { color: var(--text); white-space: nowrap; }
    #payBack { justify-self: start; display: inline-flex; align-items: center; gap: .35rem; }
    #paypalButtons { display: grid; place-items: center; min-height: 3.5rem; }
    #paypalButtons > div { width: 100%; }

    /* ---------- related services ---------- */
    .item-related { padding-top: clamp(1.5rem, 4vw, 3rem); }

    /* ---------- phones / tablets: floating order bar ---------- */
    .buy-bar { display: none; }
    @media (max-width: 1000px) {
        .buy-bar {
            position: fixed; z-index: 45; inset-inline: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom));
            display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .5rem; padding-inline-start: 1.15rem;
            border-radius: var(--pill); border: 1px solid rgba(245, 197, 24, .28); background: rgba(18, 17, 16, .9);
            -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
            box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .7), 0 0 2rem -1rem rgba(245, 197, 24, .45);
            visibility: hidden; transform: translate3d(0, calc(100% + 1.5rem), 0); transition: transform .55s var(--ease-out), visibility 0s linear .55s;
        }
        .buy-bar.show { visibility: visible; transform: none; transition-delay: 0s; }
        .buy-bar small { display: block; color: var(--muted); font-weight: 600; font-size: .75rem; line-height: 1.2; }
        .buy-bar b { font: 900 1.4rem/1.15 var(--font); color: var(--gold); font-variant-numeric: tabular-nums; }
        .buy-bar .btn { flex: none; }
        .scroll-top, .toasts { bottom: calc(5.25rem + env(safe-area-inset-bottom)); }
        .ftr { padding-bottom: 4.5rem; }
    }

    @media (max-width: 560px) {
        .item-meta { gap: .55rem 1rem; }
        .im-pill { min-height: 2.35rem; padding-inline: .75rem; font-size: .84rem; }
        .im-pill:not(.im-seller) { min-height: 1.75rem; padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
        button.im-pill:hover { background: none; }
        .gallery { padding: .35rem; }
        .g-thumb { width: 5.25rem; }
        .item-tabs > .tabs { margin: .75rem .75rem 0; }
        .item-tabs .tab-panel { padding: 1.1rem 1rem 1.25rem; }
        .rv-summary { grid-template-columns: minmax(0, 1fr); padding: 1.1rem; }
        .rv-score { padding: 0 0 1rem; border-inline-end: 0; border-bottom: 1px solid var(--line); }
        .rv-bar { grid-template-columns: 5.5rem minmax(0, 1fr) 2rem; gap: .5rem; }
        .rv-item { grid-template-columns: 2.6rem minmax(0, 1fr); gap: .7rem; }
        .rv-item .avatar { width: 2.6rem; height: 2.6rem; }
        .seller-top { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
        .seller-badges, .seller-top .row { justify-content: center; }
        .guarantee { grid-template-columns: auto minmax(0, 1fr); gap: .8rem; padding: .85rem .95rem; }
        .guarantee .seal { width: 3.25rem; height: 3.25rem; font-size: 1.5rem; }
        .guarantee .go { display: none; }
        .buy-top, .buy-facts, .buy-body, .buy-foot { padding-inline: 1.05rem; }
        .buy-price { font-size: 2.5rem; }
    }
    @media (max-width: 359.98px) {
        .buy-bar .btn { padding: 0 .9rem; font-size: .88rem; }
        .rv-bar { grid-template-columns: minmax(0, 1fr) 2rem; }
        .rv-bar > span:first-child { grid-column: 1 / -1; }
    }

    @media (prefers-reduced-motion: no-preference) {
        .g-play::after { animation: item-ring 2s var(--ease-out) infinite; }
        .online-dot.on { animation: item-online 2.2s ease-in-out infinite; }
    }
    @keyframes item-ring { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
    @keyframes item-online { 0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 50% { box-shadow: 0 0 0 .4rem rgba(74, 222, 128, 0); } }
    @keyframes item-bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
