
.rsx {
    --pink: #d42b65;
    --pink-soft: #d42b65;
    --pink-bright: #d42b65;
    --blue: #2f7bff;
    --green: #16a34a;
    --amber: #f5a623;
    --purple: #7c3aed;
    --ink: #1a1a1a;
    --muted: #7a7a7a;
    --line: #ececec;
    --bg: #fbfbfc;
    --navy: #101828;
    --radius: 14px;
    --shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 6px 20px rgba(0, 0, 0, .04);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    max-width: 100%;
    overflow-x: clip;
}

.rsx * {
    box-sizing: border-box
}

.rsx .wrap {
    max-width: 1340px;
    margin: 0 auto;
}

.rsx button {
    font-family: inherit
}

/* ---------- header ---------- */
.rsx .topbar {
    background: #fff;
}

.rsx .top-inner {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 13px 0 4px;
    flex-wrap: wrap
}

.rsx .back {
    font-size: 22px;
    color: var(--muted);
    cursor: pointer;
    border: none;
    background: none;
    align-self: center
}

.rsx .title h1 {
    font-size: 21px;
    margin: 0;
    font-weight: 800
}

.rsx .title .hl-sub {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600
}

/* search intent bar */
.rsx .searchbar {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow);
    background: #fff;
    margin: 8px 0 8px;
    overflow: hidden
}

.rsx .sb-seg {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 9px 16px;
    cursor: pointer;
    border-right: 1px solid var(--line);
    min-width: 0
}

.rsx .sb-seg:hover {
    background: #faf7f8
}

.rsx .sb-seg .lab {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted)
}

.rsx .sb-seg .val {
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.rsx .sb-seg .val.placeholder {
    color: #b3b3b3;
    font-weight: 500
}

.rsx .sb-search {
    padding: 7px;
    display: flex;
    align-items: center
}

.rsx .btn-search {
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap
}

.rsx .btn-search:hover {
    background: var(--pink-bright)
}

/* trust strip */
.rsx .truststrip {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    padding: 9px 0 0;
    font-size: 12.5px;
    color: #3a3a3a;
    font-weight: 600
}

.rsx .truststrip span {
    display: flex;
    align-items: center;
    gap: 7px
}

.rsx .truststrip .ic {
    color: var(--green)
}

/* ---------- toolbar ---------- */
.rsx .toolbar {
    z-index: 35;
    background: #fff;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line)
}


.rsx .toolbar-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0
}

.rsx .toolbar .count {
    font-weight: 800;
    font-size: 15px
}

.rsx .toolbar .count small {
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    display: block;
    margin-top: 1px
}

.rsx .toolbar .spacer {
    flex: 1
}

.rsx .tool-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap
}

.rsx .tool-btn:hover {
    border-color: var(--pink);
    color: var(--pink)
}

.rsx .tool-btn.save.on {
    background: var(--pink-soft);
    border-color: var(--pink);
    color: white;
}

.rsx .sortwrap {
    display: flex;
    align-items: center;
    gap: 6px
}

.rsx .sortwrap .sortlab {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600
}

.rsx .tool-select {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer
}

/* ---------- custom select dropdown (replaces native <select>) ---------- */
.rsx .rsx-select {
    position: relative;
    display: inline-block
}

.rsx .rsx-select-block {
    display: block
}

.rsx .rsx-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pink);
    cursor: pointer;
    white-space: nowrap
}

.rsx .rsx-select-block .rsx-select-trigger {
    width: 100%;
    border-radius: 10px
}

.rsx .rsx-select-trigger:hover {
    border-color: var(--pink)
}

.rsx .rsx-select-arrow {
    font-size: 11px;
    color: var(--muted);
    transition: transform .2s
}

.rsx .rsx-select.open .rsx-select-arrow {
    transform: rotate(180deg)
}

.rsx .rsx-select.open {
    z-index: 60
}

.rsx .rsx-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    z-index: 50;
    display: none;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-height: 280px;
    overflow: auto
}

.rsx .rsx-select.open .rsx-select-menu {
    display: block
}

.rsx .rsx-select-option {
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink, #1a1a1a);
    white-space: nowrap;
    cursor: pointer
}

.rsx .rsx-select-option:hover {
    background: #faf7f8;
    color: #d42b65
}

.rsx .rsx-select-option.on {
    background: #fbeaf0;
    color: #d42b65
}

.rsx .m-only {
    display: none
}

/* ---------- layout ---------- */
.rsx .layout {
    display: grid;
    width: 100%;
    grid-template-columns: 288px minmax(0, 1fr);
    gap: 28px;
    padding: 14px 0 90px
}

.rsx .layout>main {
    min-width: 0
}

.rsx .scwrap {
    min-width: 0
}

/* ---------- left panel ---------- */
.rsx .panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    position: sticky;
    top: 16px;
    align-self: start;
    max-height: calc(100vh - 32px);
    overflow: auto;
    scrollbar-width: none;
}

.rsx .panel h3 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em
}

.rsx .panel .hint {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 14px
}

.rsx .group {
    border-top: 1px solid var(--line);
    padding: 15px 0
}

.rsx .group:first-of-type {
    border-top: none;
    padding-top: 0
}

.rsx .group-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer
}

.rsx .group-head h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700
}

.rsx .group-head .pri {
    font-size: 10px;
    font-weight: 800;
    color: white;
    background: var(--pink-soft);
    padding: 2px 6px;
    border-radius: 5px;
    margin-left: 6px
}

.rsx .chev {
    color: var(--muted);
    font-size: 12px;
    transition: transform .2s
}

.rsx .group.collapsed .chev {
    transform: rotate(-90deg)
}

.rsx .group.collapsed .group-body {
    display: none
}

.rsx .group-body {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.rsx .field {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.rsx .field:hover {
    border-color: var(--pink);
    background: #fffafc
}

.rsx .field .fl {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--muted)
}

.rsx .field .fv {
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px
}

.rsx .field .fv.placeholder {
    color: #b3b3b3;
    font-weight: 500
}

.rsx .field .edit {
    font-size: 11px;
    color: var(--pink);
    font-weight: 700
}

.rsx .switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    /* override new-main.css's unrelated .switch component (48x24 inline-block) */
    width: auto;
    height: auto;
    font-size: 14px;
    cursor: pointer;
    color: #333;
    font-weight: 600
}

.rsx .switch .switch-lbl {
    flex: 1;
    min-width: 0
}

.rsx .switch input {
    display: none
}

.rsx .track {
    width: 40px;
    height: 23px;
    border-radius: 999px;
    background: #ddd;
    position: relative;
    transition: .2s;
    flex-shrink: 0
}

.rsx .track::after {
    content: "";
    position: absolute;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 2px;
    transition: .2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2)
}

.rsx .switch input:checked+.track {
    background: var(--pink)
}

.rsx .switch input:checked+.track::after {
    left: 19px
}

.rsx .check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    color: #333
}

.rsx .check input {
    accent-color: var(--pink);
    width: 16px;
    height: 16px
}

.rsx .count2 {
    margin-left: auto;
    font-size: 12px;
    color: var(--muted)
}

.rsx .seg-toggle {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.rsx .seg-toggle button {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 6px 13px;
    font-size: 13px;
    cursor: pointer
}

.rsx .seg-toggle button.on {
    background: var(--pink-soft);
    border-color: var(--pink);
    color: white;
    font-weight: 700
}

.rsx .price-row {
    display: flex;
    align-items: center;
    gap: 8px
}

.rsx .price-row input {
    width: 100%;
    height: 48px;
    border: 1.5px solid #E7E8EA;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 16px;
    color: #101B30
}

.rsx .price-row input:focus {
    outline: none;
    border-color: var(--pink)
}

.rsx input[type=range] {
    width: 100%;
    accent-color: var(--pink)
}

.rsx .group-body input[type=date] {
    width: 100%;
    height: 48px;
    border: 1.5px solid #E7E8EA;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 16px;
    color: #101B30
}

.rsx .group-body input[type=date]:focus {
    outline: none;
    border-color: var(--pink)
}

.rsx .panel-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    position: sticky;
    bottom: -18px;
    background: #fff;
    padding: 12px 0 2px;
    z-index: 5
}

.rsx .btn-apply {
    flex: 1;
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 11px;
    font-weight: 700;
    cursor: pointer
}

.rsx .btn-clear {
    background: none;
    border: none;
    color: var(--pink);
    font-weight: 700;
    cursor: pointer;
    padding: 11px
}

.rsx .drawer-head {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin: -4px 0 12px
}

.rsx .drawer-head strong {
    font-size: 17px
}

.rsx .drawer-close {
    border: none;
    background: #f1f1f1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 17px;
    cursor: pointer
}

.rsx-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
    z-index: 1090
}

.rsx-backdrop.show {
    opacity: 1;
    visibility: visible
}

/* personalization + chips + active filters */
.rsx .perso {
    background: linear-gradient(100deg, #fff5f8, #fdeef4);
    border: 1px solid #f6d4e2;
    border-radius: 14px;
    padding: 13px 18px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 14px
}

.rsx .perso .ic {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--pink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0
}

.rsx .perso .pt {
    font-weight: 800;
    font-size: 15px
}

.rsx .perso .ps {
    font-size: 13px;
    color: var(--muted)
}

.rsx .perso .pedit {
    margin-left: auto;
    border: 1px solid var(--pink);
    color: var(--pink);
    background: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap
}

/* smart filter chips */

.rsx .activebar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 16px
}

.rsx .activebar .lbl {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600
}

.rsx .chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fce4ec;
    color: #d42b65;
    border: none;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700
}

.rsx .chip .chip-x {
    color: #d42b65;
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    opacity: .7
}

.rsx .chip .chip-x:hover {
    opacity: 1
}

.rsx .clear-all {
    color: var(--pink);
    font-weight: 700;
    font-size: 13px;
    background: none;
    border: none;
    cursor: pointer
}

/* ---------- rows ---------- */
.rsx .row {
    margin-bottom: 32px
}

.rsx .row-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px
}

.rsx .row-head .h {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.rsx .row-head h2 {
    font-size: 19px;
    margin: 0;
    font-weight: 800
}

.rsx .row-head .sub {
    font-size: 13px;
    color: var(--muted)
}

.rsx .row-head .see {
    font-size: 13px;
    font-weight: 700;
    color: var(--pink);
    cursor: pointer;
    background: none;
    border: none
}

.rsx .badge-row {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px
}

.rsx .b-best {
    background: #eef4ff;
    color: var(--blue)
}

.rsx .b-date {
    background: #e7f7ec;
    color: var(--green)
}

.rsx .b-del {
    background: #eaf1ff;
    color: #1e5fd1
}

.rsx .b-pkg {
    background: #fff3e0;
    color: #c77700
}

.rsx .b-budget {
    background: #e8f9f1;
    color: #0f9d6b
}

.rsx .b-prem {
    background: #f3e8ff;
    color: var(--purple)
}

.rsx .b-hire {
    background: #fdeef4;
    color: var(--pink)
}

.rsx .scwrap {
    position: relative
}

.rsx .scroller {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.rsx .scroller::-webkit-scrollbar {
    height: 8px
}

.rsx .scroller::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 8px
}

.rsx .navbtn {
    position: absolute;
    top: 96px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    z-index: 5
}

.rsx .navbtn:hover {
    border-color: var(--pink);
    color: var(--pink)
}

.rsx .navbtn.l {
    left: -7px
}

.rsx .navbtn.r {
    right: -7px
}

@media(max-width:860px) {
    .rsx .navbtn {
        display: none
    }
}

/* ---------- card ---------- */
.rsx .card {
    flex: 0 0 286px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform .15s, box-shadow .15s;
    position: relative
}

.rsx .rsx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    padding: 4px 2px 8px
}

.rsx .rsx-grid .card {
    flex: initial;
    width: 100%;
    max-width: none
}

.rsx .rsx-infinite-loader {
    display: none;
    justify-content: center;
    padding: 22px 0
}

.rsx .rsx-infinite-loader.on {
    display: flex
}

.rsx .rsx-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #eee;
    border-top-color: var(--pink);
    border-radius: 50%;
    animation: rsxSpin .7s linear infinite
}

@keyframes rsxSpin {
    to {
        transform: rotate(360deg)
    }
}

.rsx .rsx-pagination {
    display: flex;
    justify-content: center;
    margin-top: 22px
}

.rsx .rsx-pagination .pagination {
    flex-wrap: wrap;
    gap: 6px;
    margin: 0
}

.rsx .rsx-pagination .page-link {
    color: #101B30;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 14px
}

.rsx .rsx-pagination .page-item.active .page-link {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff
}

.rsx .rsx-pagination .page-item.disabled .page-link {
    color: var(--muted)
}

.rsx .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12)
}

.rsx .card:hover .quickview,
.rsx .card:hover .compare-add {
    opacity: 1
}

.rsx .ph {
    height: 186px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 10px;
    color: #fff;
    font-size: 40px;
    background-size: cover;
    background-position: center
}

.rsx .tag {
    position: absolute;
    top: 11px;
    left: 11px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 11px;
    border-radius: 999px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px
}

.rsx .tag.delivery {
    background: var(--blue)
}

.rsx .tag.today {
    background: var(--green)
}

.rsx .scarcity {
    position: absolute;
    bottom: 11px;
    left: 11px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(214, 51, 108, .96);
    color: #fff;
    padding: 5px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 5px
}

.rsx .heart {
    position: absolute;
    top: 10px;
    right: 11px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--pink);
    transition: transform .15s
}

.rsx .heart:hover {
    transform: scale(1.12)
}

.rsx .heart.on {
    background: var(--pink);
    color: #fff;
    animation: rsx-pop .3s
}

@keyframes rsx-pop {
    0% {
        transform: scale(.8)
    }

    60% {
        transform: scale(1.25)
    }

    100% {
        transform: scale(1)
    }
}

.rsx .quickview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
    border: none;
    border-radius: 999px;
    padding: 9px 18px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s;
    box-shadow: var(--shadow)
}

.rsx .compare-add {
    position: absolute;
    bottom: 11px;
    right: 11px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 10px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s;
    display: flex;
    align-items: center;
    gap: 4px
}

.rsx .compare-add.on {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
    opacity: 1
}

.rsx .card-body {
    padding: 12px 14px 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1
}

.rsx .verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--green)
}

.rsx .card-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.28;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.rsx .card-sub {
    font-size: 12.5px;
    color: var(--muted)
}

.rsx .kv {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12.5px;
    color: #555;
    margin-top: 2px
}

.rsx .kv .r {
    display: flex;
    align-items: center;
    gap: 6px
}

.rsx .stars {
    color: var(--amber);
    font-weight: 700
}

.rsx .stars .n {
    color: var(--muted);
    font-weight: 500
}

.rsx .respond {
    color: var(--green);
    font-weight: 600
}

.rsx .freedel {
    color: #d42b65;
    font-weight: 700
}

/* Shared product badges — same set the old search page shows (CatalogueBadgeService).
   The old page gets this CSS from product-badge.blade.php's @once block; the rsx
   page renders the badge directly, so it carries the styles here. */
.rsx .preview-badge {
    position: absolute;
    top: 11px;
    left: 11px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    width: fit-content
}

.rsx .preview-badge svg {
    width: 11px;
    height: 11px
}

.rsx .preview-badge.badge-instant         { background: rgba(34, 197, 94, .95) }
.rsx .preview-badge.badge-free-delivery   { background: rgba(59, 130, 246, .95) }
.rsx .preview-badge.badge-available-today { background: rgba(22, 163, 74, .95) }
.rsx .preview-badge.badge-high-demand     { background: rgba(249, 115, 22, .95) }
.rsx .preview-badge.badge-top-rated       { background: rgba(245, 158, 11, .95) }
.rsx .preview-badge.badge-most-popular    { background: rgba(139, 92, 246, .95) }
.rsx .preview-badge.badge-verified        { background: rgba(30, 58, 138, .95) }
.rsx .preview-badge.badge-trending        { background: rgba(236, 72, 153, .95) }
.rsx .preview-badge.badge-unique          { background: rgba(20, 184, 166, .95) }
.rsx .preview-badge.badge-limited         { background: rgba(239, 68, 68, .95) }
.rsx .preview-badge.badge-event-favourite { background: rgba(99, 102, 241, .95) }

.rsx .socialproof {
    font-size: 12px;
    color: var(--pink);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 1px
}

.rsx .price-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 4px
}

.rsx .card-price {
    color: var(--ink);
    font-weight: 800;
    font-size: 17px
}

.rsx .card-price small {
    color: var(--muted);
    font-weight: 500;
    font-size: 12px
}

.rsx .nofee {
    font-size: 11px;
    color: var(--green);
    font-weight: 700
}

.rsx .cta-col {
    display: flex;
    flex-direction: column;
    gap: 7px;
    /* margin-top: auto; */
    padding-top: 11px
}

.rsx .card-cta {
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 11px;
    font-weight: 800;
    cursor: pointer;
    font-size: 14px
}

.rsx .card-cta:hover {
    background: var(--pink-bright)
}

.rsx .card-2nd {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
    color: #333
}

.rsx .card-2nd:hover {
    border-color: var(--pink);
    color: var(--pink)
}

.rsx .instant {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 800;
    color: var(--purple);
    background: #f3e8ff;
    padding: 2px 7px;
    border-radius: 6px
}

/* skeleton */
.rsx .skel {
    flex: 0 0 286px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff
}

.rsx .skel .sk {
    background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: rsx-sh 1.2s infinite
}

.rsx .skel .sk.img {
    height: 186px
}

.rsx .skel .sk.line {
    height: 12px;
    margin: 12px 14px;
    border-radius: 6px
}

.rsx .skel .sk.line.s {
    width: 60%
}

@keyframes rsx-sh {
    0% {
        background-position: 100% 0
    }

    100% {
        background-position: -100% 0
    }
}

/* bundle module */
.rsx .bundle {
    background: linear-gradient(120deg, #1a1a2e, #3a1d3d);
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 32px;
    color: #fff;
    position: relative;
    overflow: hidden
}

.rsx .bundle h2 {
    margin: 0 0 3px;
    font-size: 20px
}

.rsx .bundle .bsub {
    color: #e9d4e4;
    font-size: 13px;
    margin-bottom: 16px
}

.rsx .bundle-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none
}

.rsx .bundle-scroll::-webkit-scrollbar {
    display: none
}

.rsx .btile {
    flex: 0 0 122px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    padding: 14px 12px;
    cursor: pointer;
    transition: .15s;
    text-align: center
}

.rsx .btile:hover {
    background: rgba(255, 255, 255, .20)
}

.rsx .btile .be {
    font-size: 30px
}

.rsx .btile .bn {
    font-weight: 700;
    font-size: 13px;
    margin-top: 6px
}

.rsx .btile .bp {
    font-size: 11px;
    color: #d9c4d6;
    margin-top: 2px
}

.rsx .btile.sel {
    background: #fff;
    color: var(--ink);
    border-color: #fff
}

.rsx .btile.sel .bp {
    color: var(--muted)
}

.rsx .bundle-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap
}

.rsx .bundle-foot .est {
    font-size: 13px;
    color: #e9d4e4
}

.rsx .bundle-foot .est b {
    color: #fff;
    font-size: 16px
}

.rsx .bundle-cta {
    margin-left: auto;
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 11px;
    padding: 12px 22px;
    font-weight: 600;
    cursor: pointer
}

.rsx .bundle-cta:hover {
    background: var(--pink-bright)
}

/* subcategory */
.rsx .subcard {
    flex: 0 0 152px;
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 112px;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    padding: 12px;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--shadow);
    background-size: cover;
    background-position: center
}

.rsx .subcard:hover .st {
    text-decoration: none;
}

.rsx .subcard:hover {
    transform: translateY(-3px)
}

.rsx .subcard .st {
    font-weight: 800;
    font-size: 15px;
    z-index: 2
}

.rsx .subcard .sc {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .58))
}

.rsx .subcard .scount {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(0, 0, 0, .35);
    padding: 3px 8px;
    border-radius: 999px;
    z-index: 2
}

/* ---------- modals ---------- */
.rsx-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 20px
}

.rsx-overlay.show {
    display: flex
}

/* Quick-view rendered as a Bootstrap modal (lets Bootstrap manage show/hide,
   avoiding the .modal display:none clash the custom overlay hit). */
.rsx-qv .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden
}

.rsx-qv .modal-body {
    padding: 24px
}

.rsx-cmp .modal-body {
    padding: 6px 24px !important;
}

.rsx-qv .rsx-qv-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .9);
    color: #1a1a1a;
    font-size: 20px;
    line-height: 1;
    cursor: pointer
}

.rsx-qv .rsx-qv-close:hover {
    background: #fff
}

.rsx-overlay .modal {
    /* override Bootstrap's site-wide .modal (display:none; position:fixed; 100% h/w) */
    display: block;
    position: relative;
    top: auto;
    left: auto;
    height: auto;
    z-index: auto;
    background: #fff;
    border-radius: 18px;
    width: min(560px, 94vw);
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    max-height: 92vh;
    overflow: auto
}

.rsx-overlay .modal h3 {
    margin: 0 0 4px;
    font-size: 18px
}

.rsx-overlay .modal p.s {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13px
}

.rsx-overlay .modal label {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #707683;
    display: block;
    margin: 14px 0 6px
}

.rsx-overlay .modal select,
.rsx-overlay .modal input {
    width: 100%;
    height: 48px;
    border: 1.5px solid #E7E8EA;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 16px;
    color: #101B30;
    background: #fff
}

.rsx-overlay .modal select::placeholder,
.rsx-overlay .modal input::placeholder {
    color: #888D98;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px
}

.rsx-overlay .modal select:focus,
.rsx-overlay .modal input:focus {
    outline: none;
    border-color: var(--pink)
}

.rsx-overlay .modal .rsx-select-trigger {
    height: 48px;
    border: 1.5px solid #E7E8EA;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 400;
    color: #101B30
}

.rsx-overlay .modal .rsx-edit-field {
    position: relative
}

.rsx-overlay .rsx-edit-suggest {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
    max-height: 320px;
    overflow: auto;
    padding: 6px;
    z-index: 40
}

.rsx-overlay .rsx-edit-suggest-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--muted);
    padding: 8px 8px 4px
}

.rsx-overlay .rsx-edit-suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer
}

.rsx-overlay .rsx-edit-suggest-item:hover {
    background: #f6f6f8
}

.rsx-overlay .rsx-edit-suggest-item img {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 8px;
    object-fit: cover;
    background: #ececf0
}

.rsx-overlay .rsx-edit-suggest-item span {
    font-size: 14px;
    color: #101B30;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.pac-container {
    z-index: 100000 !important
}

.rsx-overlay .modal .two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.rsx-overlay .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px
}

.rsx-overlay .modal-actions button {
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    border: none
}

.rsx-overlay .m-cancel {
    background: #f1f1f1;
    color: #d42b65;
}

.rsx-overlay .m-save {
    background: var(--pink);
    color: #fff
}

.tool-btn {
    color: var(--pink);
}

.rsx .qv-hero {
    height: 230px;
    border-radius: 14px;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    color: #fff;
    font-size: 46px;
    margin-bottom: 14px;
    position: relative;
    /* show the whole product, no cropping (letterbox on a neutral wash) */
    background-color: #f4f5f7;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

/* quick-view image carousel (rendered when an item has >1 photo) */
.rsx .qv-carousel {
    position: relative;
    margin-bottom: 14px
}

.rsx .qv-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 14px
}

.rsx .qv-track::-webkit-scrollbar {
    display: none
}

.rsx .qv-slide {
    flex: 0 0 100%;
    height: 230px;
    scroll-snap-align: center;
    background-color: #f4f5f7;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 14px
}

.rsx .qv-cnav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

.rsx .qv-cnav.prev {
    left: 8px
}

.rsx .qv-cnav.next {
    right: 8px
}

.rsx .qv-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px
}

.rsx .qv-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: background .15s, width .15s
}

.rsx .qv-dot.on {
    width: 18px;
    border-radius: 999px;
    background: var(--pink)
}

/* compare side-by-side grid */
.rsx .rsx-cmp-heading {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink, #1a1a1a)
}

.rsx .rsx-cmp-grid {
    display: grid;
    gap: 0;
    align-items: stretch;
    overflow-x: auto
}

.rsx .rsx-cmp-colhead {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid var(--line)
}

.rsx .rsx-cmp-thumb {
    width: 100%;
    height: 96px;
    margin-bottom: 8px;
    border-radius: 10px;
    background-color: #f4f5f7;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center
}

.rsx .rsx-cmp-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink, #1a1a1a);
    text-decoration: none
}

.rsx .rsx-cmp-rowlabel {
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--muted);
    background: #f9f9fa;
    border-bottom: 1px solid var(--line)
}

.rsx .rsx-cmp-cell {
    padding: 12px 8px;
    font-size: 13px;
    text-align: center;
    color: var(--ink, #1a1a1a);
    border-bottom: 1px solid var(--line)
}

.rsx .rsx-cmp-cta {
    border: none;
    background: var(--pink);
    color: #fff;
    border-radius: 8px;
    padding: 7px 14px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer
}

.rsx .qv-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0
}

.rsx .qv-sub {
    color: var(--muted);
    font-size: 13px;
    margin: 2px 0 12px
}

.rsx .qv-stats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 14px
}

.rsx .qv-stat .v {
    font-weight: 800;
    font-size: 16px
}

.rsx .qv-stat .k {
    font-size: 12px;
    color: var(--muted)
}

.rsx .qv-price {
    font-size: 24px;
    font-weight: 800
}

.rsx .qv-avail {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #faf7f8
}

.rsx .qv-avail-row {
    display: flex;
    gap: 8px
}

.rsx .qv-avail-date {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px;
    font-size: 14px;
    background: #fff
}

.rsx .qv-avail-btn {
    border: 1px solid var(--pink);
    background: #fff;
    color: var(--pink);
    border-radius: 10px;
    padding: 0 16px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap
}

.rsx .qv-avail-result {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    min-height: 18px
}

.rsx .qv-avail-ok {
    color: var(--green)
}

.rsx .qv-avail-no {
    color: #d42b65
}

.rsx .qv-avail-loading {
    color: var(--muted)
}

.rsx .qv-delivery-input {
    width: 100%;
    margin-top: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px;
    font-size: 14px;
    background: #fff
}

.pac-container {
    z-index: 100000 !important
}

.rsx .qv-build {
    width: 100%;
    margin-top: 10px;
    border: 1px dashed var(--pink);
    background: #fff;
    color: var(--pink);
    border-radius: 12px;
    padding: 12px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.rsx .qv-cta {
    display: flex;
    gap: 10px;
    margin-top: 16px
}

.rsx .qv-cta .p {
    flex: 1;
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer
}

.rsx .qv-cta .s {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 700;
    cursor: pointer
}

.rsx .qv-cta .s.on {
    color: var(--pink);
    border-color: var(--pink)
}

/* compare tray */
.rsx-tray {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .08);
    transform: translateY(110%);
    transition: transform .25s;
    z-index: 50
}

.rsx-tray.show {
    transform: translateY(0)
}

.rsx-tray .tray-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    max-width: 1340px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px
}

.rsx-tray .lbl {
    font-weight: 800
}

.rsx-tray .slots {
    display: flex;
    gap: 8px;
    flex: 1
}

.rsx-tray .slot {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    position: relative;
    background-size: cover;
    background-position: center
}

.rsx-tray .slot .rm {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    color: #d42b65;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2)
}

.rsx-tray .go {
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 800;
    cursor: pointer
}

.rsx-tray .clr {
    background: none;
    border: none;
    color: var(--muted);
    font-weight: 700;
    cursor: pointer
}

.rsx-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    opacity: 0;
    transition: .25s;
    z-index: 80;
    pointer-events: none
}

.rsx-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

/* ===== responsive ===== */
@media(max-width:1024px) {
    .rsx .layout {
        grid-template-columns: 248px minmax(0, 1fr);
        gap: 20px
    }

    .rsx .card,
    .rsx .skel {
        flex: 0 0 262px
    }
}

@media(max-width:860px) {

    .rsx .toolbar,
    .rsx .topbar {
        border-bottom: none
    }

    .rsx .toolbar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px
    }

    .rsx .toolbar .spacer {
        display: none
    }

    .rsx .toolbar-inner .tool-btn {
        justify-content: center
    }

    .rsx .top-inner {
        padding: 20px 0 4px
    }

    .rsx .title h1 {
        font-size: 17px
    }

    .rsx .searchbar {
        margin: 10px 0
    }


    .rsx .btn-search span {
        display: none
    }

    .rsx .btn-search {
        padding: 12px 16px
    }

    .rsx .truststrip {
        gap: 14px;
        font-size: 11.5px;
        padding: 10px 0 14px
    }

    .rsx .layout {
        grid-template-columns: 1fr;
        padding: 10px 0 90px
    }

    .rsx .panel {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        z-index: 1100;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
        transition: transform .28s ease;
        max-height: 88vh;
        padding: 22px 18px 18px;
        box-shadow: 0 -8px 40px rgba(0, 0, 0, .2)
    }

    .rsx .panel.open {
        transform: translateY(0)
    }

    .rsx .drawer-head {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 3;
        background: #fff;
        padding: 6px 0 12px;
        margin: -22px 0 8px
    }

    .rsx .drawer-head::before {
        content: "";
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        width: 42px;
        height: 4px;
        border-radius: 999px;
        background: #e2e2e2
    }

    .rsx .panel-actions {
        position: sticky;
        bottom: 0;
        margin: 8px -18px 0;
        padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--line);
        box-shadow: 0 -4px 18px rgba(0, 0, 0, .07);
        z-index: 5
    }

    .rsx .btn-clear {
        border: 1px solid var(--line);
        border-radius: 10px;
        flex: 0 0 auto;
        padding: 11px 18px
    }

    .rsx .toolbar .count small {
        display: none
    }

    .rsx .desk-tools {
        display: none
    }

    .rsx .m-only {
        display: inline-flex
    }

    .rsx .perso {
        flex-wrap: wrap;
        padding: 13px;
        gap: 10px
    }

    .rsx .perso .pedit {
        margin-left: 0;
        width: 100%;
        text-align: center
    }

    .rsx .card,
    .rsx .skel {
        flex: 0 0 80vw;
        max-width: 300px
    }

    .rsx .subcard {
        flex: 0 0 44vw;
        max-width: 170px
    }

    .rsx .row-head h2 {
        font-size: 17px
    }

    .rsx .scwrap {
        margin-left: -16px;
        margin-right: -16px
    }

    .rsx .scroller {
        padding-left: 16px;
        padding-right: 16px;
        scroll-padding-left: 16px;
        gap: 12px
    }

    .rsx .rsx-grid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .rsx .row {
        margin-bottom: 22px
    }

    .rsx main > .row:first-of-type,
    .rsx .activebar {
        margin-top: 4px
    }

    .rsx .pgc-img .pgc-compare {
        opacity: 1
    }

    .rsx .bundle-cta {
        margin-left: 0;
        width: 100%
    }

    .rsx-tray .tray-inner {
        gap: 10px;
        padding-left: 14px;
        padding-right: 14px
    }

    .rsx-tray .lbl {
        display: none
    }

    .rsx-tray .slots {
        overflow-x: auto;
        scrollbar-width: none
    }

    .rsx-tray .slots::-webkit-scrollbar {
        display: none
    }

    .rsx-tray .slot {
        flex: 0 0 auto
    }

    .rsx-tray .go {
        padding: 11px 16px;
        white-space: nowrap
    }

    .rsx-qv .modal-body {
        padding: 16px
    }
}

@media(max-width:480px) {
    .rsx .row-head {
        flex-wrap: wrap;
        gap: 4px
    }

    .rsx .card,
    .rsx .skel {
        flex: 0 0 85vw
    }

    .rsx-tray .clr {
        display: none
    }

    .rsx-tray .go {
        padding: 10px 14px;
        font-size: 13px
    }
}

/* ============================================================
   Product-grid-style card inside the search scroller rows (.pgc)
   ============================================================ */
.rsx .scroller .card.pgc {
    padding: 0;
    cursor: default;
}

.rsx .pgc-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
}

.rsx .pgc-img {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
    min-height: 202px;
    background-size: cover;
    background-position: center;
}

.rsx .pgc-img-el {
    width: 100%;
    height: 202px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: transform .5s ease;
}

.rsx .pgc:hover .pgc-img-el {
    transform: scale(1.05);
}

.rsx .pgc-img .pgc-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 11;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 6px rgba(16, 27, 48, 0.18);
    color: #d42b65;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    transition: transform .12s ease, background .12s ease;
}

.rsx .pgc-img .pgc-heart:hover {
    transform: scale(1.08);
    background: #fff;
}

.rsx .pgc-img .pgc-heart.on {
    background: #d42b65;
    color: #fff;
}

.rsx .pgc-img .pgc-compare {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: auto;
    top: auto;
    z-index: 11;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 6px rgba(16, 27, 48, 0.18);
    font-size: 11px;
    font-weight: 600;
    color: #101b30;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s ease, background .12s ease;
}

.rsx .card.pgc:hover .pgc-img .pgc-compare,
.rsx .pgc-img .pgc-compare.on {
    opacity: 1;
}

.rsx .pgc-img .pgc-compare i {
    color: #d42b65;
}

.rsx .pgc-img .pgc-compare.on {
    background: #d42b65;
    color: #fff;
}

.rsx .pgc-img .pgc-compare.on i {
    color: #fff;
}

.rsx .pgc-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #d42b65;
    margin-bottom: 6px;
}

.rsx .pgc-verified i {
    color: #16a34a;
    font-size: 12px;
}

.rsx .pgc-instant {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    font-size: 10.5px;
    font-weight: 700;
}

.rsx .pgc-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #101b30;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rsx .pgc-sub {
    color: #404959;
    font-size: 14px;
    line-height: 22px;
    margin: 0 0 6px;
}

.rsx .pgc-likes {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #404959;
}

.rsx .pgc-loc {
    color: #888d98;
    font-size: 14px;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
}

.rsx .pgc-loc-ic {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}

.rsx .pgc-price {
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    color: #d42b65;
    margin: 0 0 8px;
}

.rsx .pgc-delivery {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e7e8ea;
    padding: 4px 12px;
    border-radius: 16px;
    color: #404959;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 12px;
    width: fit-content;
}

.rsx .pgc-hr {
    border: none;
    border-top: 1px solid #e7e8ea;
    margin: 0 0 14px;
    margin-top: auto;
    opacity: 1;
}

.rsx .pgc-check {
    width: 100%;
    border: none;
    background: #d42b65;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    height: 40px;
    padding: 0 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
    transition: background .12s ease;
}

.rsx .pgc-check:hover {
    background: #ee4e86;
}

.rsx .pgc-view {
    width: 100%;
    background: #fff;
    height: 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #d42b65;
    color: #d42b65;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .12s ease;
}

.rsx .pgc-view:hover {
    background: #fdeaf1;
}
