/* Ring Shop Filter – soft & minimal (selectors prefixed to beat theme button styles) */
html body .rs-filters, html body .rs-products, html body .rs-overlay {--rs-accent: #b91c1c; --rs-accent-h: #111827; --rs-btn-text: #fff; --rs-dark: #111827;
	--rs-text: #1f2937; --rs-line: #eceef3; --rs-f-bg: #fff; --rs-card-bg: #fff;
	--rs-title: #111827; --rs-meta: #6b7280; --rs-price: #111827; --rs-old: #9ca3af;
	--rs-badge-bg: #b91c1c; --rs-badge-c: #fff; --rs-soft: #f4f6fb;
	--rs-shadow: 0 6px 24px rgba(17, 24, 39, .06); --rs-shadow-h: 0 12px 32px rgba(17, 24, 39, .12);}
html body .rs-filters *, html body .rs-products * {box-sizing: border-box;}
html body .rs-filters button, html body .rs-products button {font-family: inherit; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; text-shadow: none;}
html body .rs-filters {background: none; border: 0; border-radius: 0; display: flex; flex-direction: column; gap: 14px; color: var(--rs-text);}
html body .rs-f-head, html body .rs-sec, html body .rs-f-foot {background: var(--rs-f-bg); border: 1px solid var(--rs-line); border-radius: 18px; box-shadow: var(--rs-shadow);}
html body .rs-f-head {display: flex; align-items: center; gap: 10px; padding: 14px 18px;}
html body .rs-f-title {display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; margin-inline-end: auto;}
html body .rs-clear {background: none; border: 0; color: var(--rs-accent); font-size: 12px; padding: 4px 0;}
html body .rs-close {display: none; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--rs-text); padding: 0 4px;}
html body .rs-f-body {display: flex; flex-direction: column; gap: 14px;}
html body .rs-sec {overflow: hidden; flex: 0 0 auto;}
html body .rs-sec-t {width: calc(100% - 20px); margin: 10px; display: flex; justify-content: space-between; align-items: center; background: var(--rs-accent); border: 0; border-radius: 12px; padding: 12px 14px; font-weight: 800; font-size: 14px; color: #fff; transition: background .15s;}
html body .rs-sec-t i {position: relative; width: 14px; height: 14px; flex: none;}
html body .rs-sec-t i::before, html body .rs-sec-t i::after {content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s;}
html body .rs-sec-t i::after {transform: rotate(90deg);}
html body .rs-sec.is-open .rs-sec-t i::after {transform: rotate(0);}
html body .rs-sec-b {display: none; padding: 4px 18px 18px;}
html body .rs-sec.is-open .rs-sec-b {display: block;}
html body .rs-search {width: 100%; height: 42px; margin: 0 0 12px; padding: 0 14px; border: 1px solid var(--rs-line); border-radius: 10px; background: #fff; font-size: 13px; color: var(--rs-text); outline: 0; box-shadow: none; -webkit-appearance: none; appearance: none;}
html body .rs-search:focus {border-color: var(--rs-dark);}
html body .rs-list {list-style: none; margin: 0; padding: 0;}
html body .rs-list li {margin: 0; padding: 0;}
html body .rs-list li.rs-extra {display: none;}
html body .rs-list.is-expanded li.rs-extra, html body .rs-list.is-searching li.rs-extra {display: block;}
html body .rs-list label {display: flex; align-items: center; gap: 12px; padding: 8px 0; cursor: pointer; font-size: 13px; margin: 0;}
html body .rs-list input {position: absolute; opacity: 0; pointer-events: none;}
html body .rs-box {width: 20px; height: 20px; border: 1.5px solid #cfd4dc; border-radius: 6px; flex: none; display: grid; place-items: center; transition: .15s; background: #fff;}
html body .rs-list label:hover .rs-box {border-color: var(--rs-dark);}
html body .rs-list label:hover .rs-lbl {color: var(--rs-dark);}
html body .rs-list input:checked + .rs-box {background: var(--rs-dark); border-color: var(--rs-dark);}
html body .rs-list input:checked + .rs-box::after {content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px);}
html body .rs-list input:checked ~ .rs-lbl {font-weight: 700; color: var(--rs-dark);}
html body .rs-list input:focus-visible + .rs-box {outline: 2px solid var(--rs-dark); outline-offset: 2px;}
html body .rs-more {background: none; border: 0; color: var(--rs-meta); font-size: 12px; padding: 8px 0 0; text-decoration: underline; text-underline-offset: 3px;}
html body .rs-f-foot {padding: 12px;}
html body .rs-apply {width: 100%; background: var(--rs-accent); color: var(--rs-btn-text); border: 0; border-radius: 12px; padding: 13px; font-weight: 800; font-size: 14px; transition: background .15s;}
html body .rs-range {position: relative; height: 22px; margin: 6px 8px 16px; direction: ltr;}
html body .rs-track {position: absolute; top: 9px; left: 0; right: 0; height: 4px; background: #e5e7eb; border-radius: 4px;}
html body .rs-fill {position: absolute; height: 100%; background: var(--rs-accent); border-radius: 4px;}
html body .rs-range input[type=range] {position: absolute; inset: 0; width: 100%; margin: 0; padding: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; box-shadow: none; border: 0;}
html body .rs-range input[type=range]::-webkit-slider-thumb {-webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--rs-accent); box-shadow: 0 2px 6px rgba(17,24,39,.2); cursor: grab;}
html body .rs-range input[type=range]::-moz-range-thumb {pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--rs-accent); box-shadow: 0 2px 6px rgba(17,24,39,.2); cursor: grab;}
html body .rs-range input[type=range]::-webkit-slider-runnable-track {background: none;}
html body .rs-range input[type=range]::-moz-range-track {background: none;}
html body .rs-inputs {display: flex; gap: 10px;}
html body .rs-inputs label {flex: 1; display: flex; align-items: center; gap: 6px; border: 1px solid var(--rs-line); border-radius: 10px; padding: 0 12px; height: 42px; font-size: 12px; color: var(--rs-meta); margin: 0; background: #fff;}
html body .rs-inputs label:focus-within {border-color: var(--rs-dark);}
html body .rs-inputs input {width: 100%; min-width: 0; height: 100%; border: 0 !important; outline: 0; background: none !important; box-shadow: none !important; font-size: 13px; font-weight: 700; color: var(--rs-text); direction: ltr; text-align: left; padding: 0; margin: 0;}
html body .rs-products {color: var(--rs-text); position: relative;}
html body .rs-head {margin-bottom: 14px;}
html body .rs-h-title {margin: 0 0 4px; font-size: 24px;}
html body .rs-h-sub {margin: 0; color: var(--rs-meta); font-size: 13px;}
html body .rs-toolbar {display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px;}
html body .rs-filter-btn {display: none; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--rs-accent); color: var(--rs-btn-text); border: 0; border-radius: 14px; padding: 14px; font-weight: 800; font-size: 15px;}
html body .rs-sorts {display: flex; flex-wrap: nowrap; gap: 8px; flex: 1 1 auto; min-width: 0;}
html body .rs-chip {background: #fff; color: var(--rs-text); border: 1px solid var(--rs-line); border-radius: 14px; padding: 0 14px; height: 42px; font-size: 13px; box-shadow: var(--rs-shadow); transition: .15s; white-space: nowrap;}
html body .rs-chip.is-active {background: var(--rs-dark); border-color: var(--rs-dark); color: #fff;}
html body .rs-view {display: flex; gap: 6px; order: 3;}
html body .rs-view button {width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--rs-line); background: #fff; border-radius: 14px; color: var(--rs-meta); padding: 0; box-shadow: var(--rs-shadow);}
html body .rs-view button.is-active {background: var(--rs-dark); color: #fff; border-color: var(--rs-dark);}
html body .rs-row2 {display: contents;}
html body .rs-row2 .rs-switch {order: 1;}
html body .rs-sorts {order: 2;}
html body .rs-count {order: 4;}
html body .rs-switch {display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; color: var(--rs-text); white-space: nowrap; user-select: none; background: #fff; border: 1px solid var(--rs-line); border-radius: 14px; padding: 0 14px; height: 42px; box-shadow: var(--rs-shadow); margin: 0;}
html body .rs-switch input {position: absolute; opacity: 0; pointer-events: none;}
html body .rs-sw {position: relative; width: 40px; height: 22px; border-radius: 999px; background: #d1d5db; transition: background .2s; flex: none;}
html body .rs-sw::after {content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3);}
html body .rs-switch input:checked + .rs-sw {background: var(--rs-dark);}
html body .rs-switch input:checked + .rs-sw::after {transform: translateX(-18px);}
html body .rs-switch input:focus-visible + .rs-sw {outline: 2px solid var(--rs-dark); outline-offset: 2px;}
html body .rs-count {margin-inline-start: auto; font-size: 12px; color: var(--rs-meta); white-space: nowrap;}
html body .rs-sort-btn, html body .rs-sorts-h, html body .rs-sort-bd {display: none;}
html body .rs-grid {display: grid; grid-template-columns: repeat(var(--rs-cols, 4), minmax(0, 1fr)); gap: 18px; transition: opacity .2s;}
html body .rs-products.is-loading .rs-grid {opacity: .45; pointer-events: none;}
html body .rs-empty {grid-column: 1 / -1; text-align: center; padding: 40px 0; color: var(--rs-meta);}
@media (max-width: 1024px) {
html body .rs-grid:not(.is-list) {grid-template-columns: repeat(var(--rs-cols-t, 3), minmax(0, 1fr));}
}
@media (max-width: 767px) {
html body .rs-grid:not(.is-list) {grid-template-columns: repeat(var(--rs-cols-m, 2), minmax(0, 1fr)); gap: 12px;}
}
html body .rs-card {background: var(--rs-card-bg); border: 1px solid var(--rs-line); border-radius: 20px; box-shadow: var(--rs-shadow); display: flex; flex-direction: column; overflow: hidden; min-width: 0; padding: 10px; transition: box-shadow .2s, transform .2s, border-color .2s;}
html body .rs-card:hover {box-shadow: var(--rs-shadow-h); transform: translateY(-3px); border-color: #d9dde5;}
html body .rs-media {position: relative; padding: 12px; background: var(--rs-soft); border-radius: 14px;}
html body .rs-img {display: block; aspect-ratio: 1 / 1;}
html body .rs-img img {width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply;}
html body .rs-badge {position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; background: var(--rs-badge-bg); color: var(--rs-badge-c); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 8px; line-height: 1.6;}
html body .rs-wish {position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2;}
html body .rs-body {padding: 12px 6px 6px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; flex: 1;}
html body .rs-brand {display: inline-flex; align-items: center; gap: 6px; max-width: 100%;}
html body .rs-brand-img {width: auto; max-width: 70px; height: 26px; object-fit: contain;}
html body .rs-brand-name {font-size: 12px; font-weight: 600; color: var(--rs-meta);}
html body .rs-media > .rs-brand {position: absolute; bottom: 8px; inset-inline-end: 10px; background: rgba(255,255,255,.92); padding: 3px 8px; border-radius: 8px;}
html body .rs-title {margin: 0; font-size: 14px; font-weight: 800; color: var(--rs-title); line-height: 1.6;}
html body .rs-title a {color: inherit; text-decoration: none;}
html body .rs-meta {display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; font-size: 11px; color: var(--rs-meta);}
html body .rs-meta b {font-weight: 500;}
html body .rs-meta i {width: 1px; height: 11px; background: #d9dde5;}
html body .rs-priceline {margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 8px; color: var(--rs-price);}
html body .rs-now b {font-size: 16px; font-weight: 800;}
html body .rs-now em {font-style: normal; font-size: 12px;}
html body .rs-from {font-size: 11px; color: var(--rs-meta);}
html body .rs-old {font-size: 11px; color: var(--rs-old); text-decoration: line-through;}
html body .rs-add {width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--rs-accent); color: var(--rs-btn-text); border: 0; border-radius: 12px; padding: 11px 8px; font-size: 13px; font-weight: 700; text-decoration: none; margin-top: 6px; transition: background .15s;}
html body .rs-add.is-loading {opacity: .6; pointer-events: none;}
html body .rs-add.is-disabled {background: #e5e7eb; color: #6b7280; cursor: not-allowed;}
html body .rs-card.is-out .rs-img {opacity: .5;}
html body .rs-grid.is-list {grid-template-columns: 1fr;}
html body .rs-grid.is-list .rs-card {flex-direction: row; align-items: center; gap: 10px;}
html body .rs-grid.is-list .rs-media {width: 180px; flex: none;}
html body .rs-grid.is-list .rs-body {align-items: flex-start; text-align: start; padding: 10px 14px;}
html body .rs-grid.is-list .rs-meta, html body .rs-grid.is-list .rs-priceline {justify-content: flex-start;}
html body .rs-grid.is-list .rs-add {width: auto; padding: 11px 28px;}
@media (max-width: 600px) {
html body .rs-grid.is-list .rs-media {width: 110px;}
}
html body .rs-pagination {display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 26px;}
html body .rs-pg {min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--rs-line); background: #fff; border-radius: 12px; font-size: 14px; color: var(--rs-text); box-shadow: var(--rs-shadow);}
html body .rs-pg.is-active {background: var(--rs-dark); border-color: var(--rs-dark); color: #fff;}
html body .rs-pg[disabled] {opacity: .4; cursor: default;}
html body .rs-modal {position: fixed; inset: 0; z-index: 100000; background: rgba(17, 24, 39, .55); display: flex; align-items: center; justify-content: center; padding: 16px;}
html body .rs-modal[hidden] {display: none;}
html body .rs-modal-box {position: relative; background: #fff; border-radius: 22px; padding: 30px 24px 22px; width: 100%; max-width: 400px; text-align: center; animation: rsPop .2s ease-out; box-shadow: 0 24px 60px rgba(0,0,0,.25);}
@keyframes rsPop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
html body .rs-modal-x {position: absolute; top: 10px; inset-inline-start: 14px; background: none; border: 0; font-size: 26px; color: var(--rs-meta);}
html body .rs-modal-ico {color: #16a34a; line-height: 0;}
html body .rs-modal.is-error .rs-modal-ico {color: var(--rs-accent);}
html body .rs-modal-title {margin: 10px 0 6px; font-size: 18px;}
html body .rs-modal-name {margin: 0 0 18px; color: var(--rs-meta); font-size: 13px;}
html body .rs-modal-actions {display: flex; gap: 10px;}
html body .rs-btn {flex: 1; display: inline-flex; align-items: center; justify-content: center; background: var(--rs-accent); color: var(--rs-btn-text); border: 1px solid var(--rs-accent); border-radius: 12px; padding: 12px 10px; font-size: 14px; font-weight: 800; text-decoration: none;}
html body .rs-btn-ghost {background: #fff; color: var(--rs-text); border-color: var(--rs-line);}
html body .rs-overlay {display: none;}
@media (max-width: 1024px) {
html body .rs-filter-btn {display: flex; order: 0; flex: 1 1 0; width: auto; min-width: 0; height: 52px; padding: 0 14px;}
html body .rs-sort-btn {display: grid; place-items: center; order: 1; flex: none; width: 52px; height: 52px; padding: 0; background: #fff; color: var(--rs-text); border: 1px solid var(--rs-line); border-radius: 14px; box-shadow: var(--rs-shadow);}
html body .rs-view {order: 2;}
html body .rs-sorts {position: fixed; inset-inline: 0; bottom: 0; z-index: 100001; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 8px; width: auto; flex: none; background: #fff; border-radius: 24px 24px 0 0; padding: 18px 16px calc(22px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -12px 40px rgba(17,24,39,.18); transform: translateY(105%); visibility: hidden; transition: transform .28s ease, visibility .28s; overflow: visible; margin: 0;}
html body .rs-products.rs-sort-open .rs-sorts {transform: none; visibility: visible;}
html body .rs-sorts-h {display: block; text-align: center; font-weight: 800; font-size: 15px; padding-bottom: 6px;}
html body .rs-sorts .rs-chip {width: 100%; height: 50px; border-radius: 14px; font-size: 14px; box-shadow: none; text-align: start; padding: 0 18px;}
html body .rs-sort-bd {display: block; position: fixed; inset: 0; z-index: 100000; background: rgba(17,24,39,.5); opacity: 0; visibility: hidden; transition: .25s;}
html body .rs-products.rs-sort-open .rs-sort-bd {opacity: 1; visibility: visible;}
html body .rs-row2 {display: flex; order: 3; width: 100%; flex-wrap: nowrap; align-items: center; gap: 8px;}
html body .rs-switch {padding: 0 10px; gap: 8px; font-size: 12px;}
html body .rs-count {font-size: 11px; white-space: normal; text-align: end; line-height: 1.5;}
html body .rs-filters {position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(90vw, 390px); z-index: 99999; background: #f6f7fa; padding: 14px; border-radius: 0; overflow: hidden; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s;}
html body.rs-open .rs-filters {transform: none; visibility: visible;}
html body .rs-f-body {overflow-y: auto; flex: 1 1 auto; min-height: 0; -webkit-overflow-scrolling: touch;}
html body .rs-close {display: block;}
html body .rs-overlay {display: block; position: fixed; inset: 0; background: rgba(17, 24, 39, .5); z-index: 99998; opacity: 0; visibility: hidden; transition: .25s;}
html body.rs-open .rs-overlay {opacity: 1; visibility: visible;}
html body.rs-open {overflow: hidden;}
html body .rs-f-head, html body .rs-f-foot {flex: none;}
}
@media (max-width: 767px) {
html body .rs-view {display: none !important;}
}
html body .rs-products .rs-add:hover, html body .rs-products .rs-add:focus, html body .rs-products .rs-add:active, html body .rs-products .rs-btn:hover, html body .rs-products .rs-btn:focus, html body .rs-products .rs-btn:active, html body .rs-filters .rs-apply:hover, html body .rs-filters .rs-apply:focus, html body .rs-filters .rs-apply:active, html body .rs-products .rs-filter-btn:hover, html body .rs-products .rs-filter-btn:focus, html body .rs-products .rs-filter-btn:active, html body .rs-products .rs-sort-btn:hover, html body .rs-products .rs-sort-btn:focus, html body .rs-products .rs-chip:hover, html body .rs-products .rs-chip:focus, html body .rs-products .rs-chip:active, html body .rs-products .rs-pg:hover:not([disabled]), html body .rs-products .rs-pg:focus:not([disabled]), html body .rs-products .rs-view button:hover, html body .rs-products .rs-view button:focus, html body .rs-filters .rs-sec-t:hover, html body .rs-filters .rs-sec-t:focus, html body .rs-filters .rs-sec-t:active, html body .rs-products .rs-switch:hover {background-color: #111827 !important; border-color: #111827 !important; color: #fff !important;}
html body .rs-products .rs-switch:hover .rs-sw-t {color: #fff !important;}
html body .rs-products .rs-switch:hover .rs-sw {background: #4b5563;}
html body .rs-products .rs-switch:hover input:checked + .rs-sw {background: #fff;}
html body .rs-products .rs-add.is-disabled:hover {background-color: #e5e7eb !important; color: #6b7280 !important; border: 0 !important;}
html body .rs-filters .rs-clear:hover, html body .rs-filters .rs-more:hover, html body .rs-filters .rs-close:hover, html body .rs-filters .rs-clear:focus, html body .rs-filters .rs-more:focus, html body .rs-products .rs-modal-x:hover, html body .rs-products .rs-modal-x:focus {background: none !important; background-color: transparent !important; color: #111827 !important; box-shadow: none !important; border-color: transparent !important; outline: 0;}
html body .rs-products .rs-title a:hover {color: #111827 !important;}
html body .rs-filters .rs-search:hover, html body .rs-filters .rs-search:focus {border-color: #111827 !important; background: #fff !important;}
html body .rs-products .added_to_cart, html body .rs-products a.wc-forward {display: none !important;}
html body .rs-products .rs-add.added::after, html body .rs-products .rs-add.loading::after {display: none !important; content: none !important;}
html body .rs-products .rs-pg[disabled]:hover { background-color: #fff !important; border-color: #eceef3 !important; color: #1f2937 !important; }
