/* Mobile discovery: products first, with controls kept directly on the page. */
.rk-experience .rk-small-label { display: block; margin: 0 0 7px; color: #b98bc8; font: 700 8px/1.5 var(--font-body); letter-spacing: .12em; }
.rk-experience.rk-halloween :is(.rk-catalog-heading, .rk-sheet-header) { position: static; top: auto; width: auto; padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; z-index: auto; }
.rk-experience.rk-halloween .rk-catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 5px 0 20px; }
.rk-experience.rk-halloween .rk-catalog-heading h1 { margin: 0; color: var(--rk-cream); font: 800 clamp(25px, 3vw, 39px)/1.1 var(--font-title); letter-spacing: -.045em; text-transform: none; }
.rk-catalog-heading h1 em { color: var(--rk-gold); font-style: normal; }
.rk-collection-reset { color: #ddbd94; font-size: 10px; text-decoration: none; }
.rk-experience.rk-halloween .rk-catalog-tools { margin: 0 0 15px; }
.rk-experience.rk-halloween .rk-catalog-tools .search-line { margin-bottom: 10px; min-height: 55px; }
.rk-inline-controls { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(170px, 1fr) auto; gap: 10px; }
.rk-experience.rk-halloween :is(.rk-budget-control, .rk-sort-control) { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; min-width: 0; min-height: 48px; padding: 7px 13px; border: 1px solid #b58bc037; border-radius: 12px; background: #24192f; }
.rk-inline-controls label > span { color: #b69ac5; font: 600 8px/1.4 var(--font-body); letter-spacing: .04em; }
.rk-experience.rk-halloween .rk-inline-controls :is(input[type="number"], select) { display: block; width: 100%; min-width: 0; height: 30px; padding: 0; border: 0; background: transparent; color: #efdeeb; box-shadow: none; font: 600 12px var(--font-body); }
.rk-inline-controls select option { background: #24192f; color: #efdeeb; }
.rk-experience.rk-halloween .rk-qc-control { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid #b58bc037; border-radius: 12px; background: #24192f; cursor: pointer; }
.rk-qc-control input { width: 17px; height: 17px; margin: 0; accent-color: #efbd7c; }
.rk-experience.rk-halloween .rk-qc-control > span { color: #dcc5e5; font-size: 10px; letter-spacing: 0; white-space: nowrap; }
.rk-experience.rk-halloween .rk-catalog-browse { display: flex; align-items: center; gap: 16px; min-width: 0; margin-bottom: 7px; }
.rk-experience.rk-halloween .rk-catalog-browse .gender-filter { flex: 0 0 auto; margin: 0; gap: 5px; }
.rk-experience.rk-halloween .rk-catalog-browse .gender-btn { min-height: 35px; padding: 9px 16px; border-radius: 10px; font-size: 9px; }
.rk-experience.rk-halloween .rk-catalog-browse .category-filter { flex: 1; min-width: 0; margin: 0; padding: 0; }
.rk-experience.rk-halloween .rk-catalog-browse .category-options { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 6px; margin: 0; padding: 3px 2px 9px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #76527c transparent; }
.rk-experience.rk-halloween .rk-catalog-browse .category-btn { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 33px; padding: 8px 12px; white-space: nowrap; }
.rk-result-line { display: flex; align-items: center; gap: 10px; min-height: 26px; margin: 0 0 12px; color: #ae93bd; font-size: 10px; }
.rk-result-line p { margin: 0; }
.rk-result-line > span { margin-left: auto; color: #8f789f; font-size: 9px; }
.rk-result-line button { padding: 5px 8px; border: 1px solid #b68cc53a; border-radius: 7px; background: #32203d; color: #f1c78c; cursor: pointer; }
.rk-experience.rk-halloween .rk-quick-view { display: flex; align-items: center; justify-content: space-between; width: calc(100% - 26px); min-height: 30px; margin: 0 13px 2px; padding: 4px 0; border: 0; border-bottom: 1px solid #ba8dc22b; background: transparent; color: #c7a4d2; font: 600 9px var(--font-body); cursor: pointer; }
.rk-experience.rk-halloween .rk-quick-view:hover { color: #f4c889; }
.rk-experience.rk-halloween :is(#infinite-loader[hidden], #rk-catalog-retry[hidden], #rk-shop-toast[hidden], #rk-shared-list[hidden], .rk-list-hub [hidden], .rk-sheet [hidden], .rk-shared-list [hidden]) { display: none !important; }

/* Quick view uses the browser's modal layer, above navigation and page effects. */
.rk-sheet:not([open]) { display: none !important; }
.rk-sheet { box-sizing: border-box; width: min(620px, calc(100vw - 40px)); max-height: min(890px, calc(100dvh - 40px)); margin: auto; padding: 22px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #b78fc566; border-radius: 26px; background: radial-gradient(ellipse at 100% 0, #7e4d682b, transparent 60%), #21162e; color: #e3cde9; box-shadow: 0 25px 100px #0009; font-family: var(--font-body); color-scheme: dark; }
.rk-sheet::backdrop { background: #08040dc9; backdrop-filter: blur(6px); }
.rk-sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.rk-sheet-header .rk-small-label { margin: 0; }
.rk-experience .rk-icon-button { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border: 1px solid #bd93c140; border-radius: 12px; background: #34213e; color: #eacfe9; font: 500 15px var(--font-body); cursor: pointer; }
.rk-sheet h2 { margin: 0 0 15px; color: #fff0da; font: 800 27px/1.18 var(--font-title); letter-spacing: -.035em; text-transform: none; }
.rk-sheet-header h2 { margin: 0; font-size: 23px; }
.rk-sheet p { color: #bda4cb; font-size: 12px; line-height: 1.75; }
.rk-sheet-handle { display: none; }
.rk-preview-tabs { display: flex; gap: 8px; margin-bottom: 10px; }
.rk-preview-tabs button { min-height: 36px; padding: 9px 12px; border: 1px solid #ad80b537; border-radius: 10px; background: #2a1c35; color: #ac90ba; font: 600 10px var(--font-body); cursor: pointer; }
.rk-preview-tabs [aria-selected="true"] { border-color: #f0c18970; background: #51343f; color: #ffcf92; }
.rk-preview-gallery { position: relative; overflow: hidden; border: 1px solid #b68cbd2e; border-radius: 18px; background: radial-gradient(ellipse at 50% 60%, #513c5f, #1a1225); }
.rk-preview-track { display: flex; align-items: stretch; min-height: 220px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.rk-preview-track::-webkit-scrollbar { display: none; }
.rk-preview-track > img { display: block; flex: 0 0 100%; width: 100%; height: min(340px, 42dvh); min-height: 220px; object-fit: contain; scroll-snap-align: start; }
.rk-preview-count { position: absolute; top: 12px; right: 12px; padding: 6px 9px; border: 1px solid #e2ba8655; border-radius: 8px; background: #21152cdc; color: #f4d3a8; font-size: 9px; }
.rk-preview-gallery > button { position: absolute; top: calc(50% - 19px); display: grid; place-items: center; width: 35px; height: 38px; border: 1px solid #c394c342; border-radius: 11px; background: #25172edc; color: #f0d4b0; font-size: 23px; cursor: pointer; }
.rk-preview-prev { left: 9px; }.rk-preview-next { right: 9px; }
.rk-preview-gallery > button:disabled { opacity: .35; cursor: default; }
.rk-preview-no-images { display: grid; place-items: center; width: 100%; padding: 30px; text-align: center; }
.rk-sheet .rk-preview-note { margin: 10px 2px 17px; font-size: 9px; line-height: 1.6; }
.rk-sheet .rk-preview-price { margin: 7px 0 20px; color: #ffcb89; font: 800 29px var(--font-title); }
.rk-preview-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.rk-experience .rk-preview-save { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 47px; padding: 12px 15px; border: 1px solid #b68bc24d; border-radius: 13px; background: #39233f; color: #ddc0e7; font: 600 10px var(--font-body); cursor: pointer; }
.rk-preview-save .favorite-toggle-icon { font-size: 20px; }
.rk-preview-save.is-active { color: #ffce8c; border-color: #d4a56888; }
.rk-experience .rk-preview-actions .rk-primary-action { justify-content: center; text-align: center; font-size: 10px; }
#rk-shop-toast { position: fixed; z-index: 2000; bottom: calc(var(--dock-clearance, 0px) + 18px); left: 50%; translate: -50% 0; width: max-content; max-width: calc(100vw - 38px); padding: 13px 19px; border: 1px solid #eac18b70; border-radius: 13px; background: #30203cf5; box-shadow: 0 12px 35px #0006; color: #f5d7ac; font: 600 11px/1.6 var(--font-body); text-align: center; pointer-events: none; }
.rk-sheet #rk-shop-toast { bottom: 16px; }

/* Save a complete look without replacing or duplicating existing favorites. */
.rk-outfit-summary { display: grid; gap: 15px; margin-top: 24px; padding: 20px; border: 1px solid #d0a76f40; border-radius: 16px; background: #d69b4810; }
.rk-outfit-summary > div { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.rk-outfit-summary .rk-small-label { max-width: 140px; margin: 0; color: #bc9aab; }
.rk-outfit-summary strong { color: #ffcc88; font: 800 29px var(--font-title); }
.rk-experience .rk-outfit-summary .rk-primary-action { width: 100%; cursor: pointer; }
.rk-outfit-summary button:disabled { border-color: #bc96c14d; background: #3a2945; color: #cdb3da; cursor: default; }
.rk-outfit-summary > small { color: #a88eb4; font-size: 9px; line-height: 1.7; }

/* Collections are actual, current catalog items rather than campaign artwork. */
.rk-home-collections { margin-top: 55px; }
.rk-experience .rk-home-collections h2 { margin: 0; color: var(--rk-cream); font: 800 clamp(30px, 3vw, 42px)/1.1 var(--font-title); letter-spacing: -.045em; }
.rk-home-collections h2 em { color: var(--rk-gold); font-style: normal; }
.rk-collection-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rk-edit-card { display: block; min-width: 0; padding: 13px; border: 1px solid #b18bba3a; border-radius: 21px; background: linear-gradient(140deg, #2b1e37, #1b1227); color: #f1e0eb; text-decoration: none; transition: border-color .25s, transform .25s; }
.rk-edit-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.rk-edit-photos > div { position: relative; min-width: 0; overflow: hidden; border-radius: 11px; background: radial-gradient(ellipse at 50% 70%, #5b426245, #1e152b); }
.rk-edit-photos img { display: block; width: 100%; height: 105px; padding: 5px 5px 17px; object-fit: contain; }
.rk-edit-photos span { position: absolute; right: 6px; bottom: 5px; padding: 3px 5px; border-radius: 5px; background: #21162cbd; color: #efd2a4; font-size: 8px; font-weight: 700; }
.rk-edit-copy { display: flex; justify-content: space-between; align-items: center; gap: 13px; padding: 18px 7px 8px; }
.rk-edit-copy strong { display: block; color: var(--rk-cream); font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.rk-edit-copy small { display: block; margin-top: 6px; color: #b39ac2; font-size: 10px; line-height: 1.6; }
.rk-edit-copy b { color: #eec086; font-size: 20px; font-weight: 400; }

/* Browser-local lists and portable, signed links to public catalog items. */
.rk-list-hub, .rk-shared-list { margin: 0 0 22px; padding: 23px; border: 1px solid #bc91c33a; border-radius: 21px; background: #25192f; }
.rk-list-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 17px; }
.rk-experience .rk-list-hub h2, .rk-experience .rk-shared-list h2 { margin: 0; color: var(--rk-cream); font: 800 29px/1.1 var(--font-title); letter-spacing: -.035em; }
.rk-list-hub .rk-small-label { font-size: 7px; }
.rk-experience .rk-small-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 36px; padding: 9px 12px; border: 1px solid #bc91c347; border-radius: 10px; background: #38253f; color: #d9bde3; font: 600 10px var(--font-body); text-decoration: none; cursor: pointer; }
.rk-small-button:disabled { opacity: .45; cursor: default; }
.rk-list-tabs { display: flex; align-items: center; gap: 7px; padding: 0 0 8px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #78537e transparent; }
.rk-list-tabs button { flex: 0 0 auto; min-height: 37px; padding: 9px 12px; border: 1px solid #b388bf30; border-radius: 10px; background: #302039; color: #bca0c8; font: 600 10px var(--font-body); white-space: nowrap; cursor: pointer; }
.rk-list-tabs [aria-selected="true"] { border-color: #eabd8290; background: #51333c; color: #ffcf91; }
.rk-list-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rk-list-hub > p { margin: 13px 0 0; color: #ac91ba; font-size: 10px; line-height: 1.8; }
.rk-experience .rk-list-choose { display: flex; align-items: center; justify-content: space-between; width: calc(100% - 22px); min-height: 33px; margin: 1px 11px 10px; padding: 8px 10px; border: 1px solid #b68bbf32; border-radius: 9px; background: #35223d; color: #c4a7d2; font: 600 9px var(--font-body); cursor: pointer; }
.rk-list-dialog { width: min(470px, calc(100vw - 32px)); padding: 25px; }
.rk-list-form > label, .rk-share-link-label { display: grid; gap: 9px; color: #ceb4da; font-size: 11px; }
.rk-experience.rk-halloween :is(.rk-list-form, .rk-share-link-label) input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 13px; border: 1px solid #bb91c34a; border-radius: 12px; background: #171021; box-shadow: none; color: #f0dfec; font: 500 16px var(--font-body); }
.rk-share-link-label { margin: 17px 0; }
.rk-list-form > button, .rk-list-dialog > .rk-primary-action { width: 100%; margin-top: 15px; cursor: pointer; }
#rk-list-checkboxes { display: grid; gap: 8px; max-height: 40dvh; overflow-y: auto; margin: 20px 0; }
#rk-list-checkboxes label { display: flex; align-items: center; gap: 12px; min-height: 47px; padding: 12px; border: 1px solid #b58bc13b; border-radius: 11px; background: #302039; color: #dec4e6; font-size: 12px; cursor: pointer; }
#rk-list-checkboxes input { width: 19px; height: 19px; accent-color: #eabd7c; }
.rk-shared-list > p:not(.rk-small-label) { color: #b99fc6; font-size: 11px; line-height: 1.8; }
.rk-shared-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 17px 0 25px; }
.rk-shared-actions button { cursor: pointer; }
.rk-shared-actions button:disabled { background: #382c41; border-color: #b28bbf55; color: #cbb5d5; cursor: default; }
.rk-experience.rk-halloween .rk-shared-list .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .rk-edit-card:hover { border-color: #ddad7877; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: no-preference) {
    .rk-sheet[open] { animation: rk-shop-open .2s ease-out; }
    @keyframes rk-shop-open { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
}
@media (max-width: 650px) {
    .rk-experience.rk-halloween .rk-catalog-heading { margin: 3px 0 13px; gap: 8px; }
    .rk-experience.rk-halloween .rk-catalog-heading h1 { font-size: clamp(22px, 6.1vw, 27px); }
    .rk-catalog-heading .rk-small-label { font-size: 6px; margin-bottom: 5px; }
    .rk-experience.rk-halloween .rk-catalog-heading:has(.rk-collection-reset) { align-items: start; flex-direction: column; }
    .rk-collection-reset { font-size: 9px; }
    .rk-experience.rk-halloween .rk-catalog-tools { margin-bottom: 10px; }
    .rk-experience.rk-halloween .rk-catalog-tools .search-line { min-height: 49px; margin-bottom: 8px; padding-block: 4px; }
    .rk-experience.rk-halloween .rk-catalog-tools .rk-catalog-search-submit { min-height: 39px; }
    .rk-inline-controls { grid-template-columns: minmax(72px, .65fr) minmax(115px, 1.2fr) auto; gap: 6px; }
    .rk-experience.rk-halloween :is(.rk-budget-control, .rk-sort-control) { grid-template-columns: minmax(0, 1fr); gap: 4px; min-height: 54px; padding: 8px 9px; }
    .rk-inline-controls label > span { font-size: 6px; }
    .rk-experience.rk-halloween .rk-inline-controls :is(input[type="number"], select) { height: 24px; font-size: 16px; }
    .rk-experience.rk-halloween .rk-sort-control select { font-size: 11px; }
    .rk-experience.rk-halloween .rk-qc-control { gap: 5px; padding: 9px 8px; }
    .rk-experience.rk-halloween .rk-qc-control > span { max-width: 35px; white-space: normal; font-size: 8px; }
    .rk-qc-control input { width: 15px; height: 15px; }
    .rk-experience.rk-halloween .rk-catalog-browse { display: block; margin-bottom: 2px; }
    .rk-experience.rk-halloween .rk-catalog-browse .gender-filter { justify-content: flex-start; margin-bottom: 6px; }
    .rk-experience.rk-halloween .rk-catalog-browse .gender-btn { flex: 0 0 auto; width: auto; min-height: 30px; padding: 7px 16px; font-size: 8px; border-radius: 9px; }
    .rk-experience.rk-halloween .rk-catalog-browse .category-btn { min-height: 30px; padding: 7px 10px; font-size: 8px; border-radius: 9px; }
    .rk-result-line { min-height: 21px; margin-bottom: 8px; font-size: 9px; }
    .rk-result-line > span { font-size: 7px; }
    .rk-sheet { width: 100%; max-width: 100%; max-height: 94dvh; margin: auto 0 0; padding: 13px 18px max(22px, env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
    .rk-sheet-handle { display: block; width: 35px; height: 4px; margin: 0 auto 13px; border-radius: 9px; background: #a584b357; }
    .rk-sheet-header { margin-bottom: 10px; }
    .rk-sheet h2 { font-size: 23px; }
    .rk-preview-track > img { height: clamp(210px, 34dvh, 290px); min-height: 210px; }
    .rk-preview-track { min-height: 210px; }
    .rk-preview-actions { grid-template-columns: 1fr; gap: 8px; }
    .rk-experience .rk-preview-save { min-height: 42px; padding: 10px; }
    .rk-experience .rk-preview-actions .rk-primary-action { min-height: 45px; }
    .rk-preview-tabs button { padding: 8px 10px; font-size: 9px; }
    .rk-sheet .rk-preview-note { margin-bottom: 12px; }
    .rk-sheet .rk-preview-price { margin-bottom: 15px; font-size: 27px; }
    .rk-list-dialog { padding: 23px 20px max(25px, env(safe-area-inset-bottom)); }
    .rk-list-dialog .rk-sheet-header h2 { font-size: 22px; }
    .rk-home-collections { margin-top: 42px; }
    .rk-home-collections .haunt-section-heading { align-items: center; }
    .rk-experience .rk-home-collections h2 { max-width: 220px; font-size: 29px; }
    .rk-collection-rail { display: flex; gap: 12px; padding: 0 0 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #78537e transparent; }
    .rk-edit-card { flex: 0 0 83%; scroll-snap-align: start; padding: 11px; border-radius: 18px; }
    .rk-edit-photos img { height: 94px; }
    .rk-edit-copy strong { font-size: 17px; }
    .rk-edit-copy small { font-size: 9px; }
    .rk-list-hub, .rk-shared-list { margin-bottom: 17px; padding: 18px 15px; border-radius: 18px; }
    .rk-list-heading { gap: 10px; margin-bottom: 13px; }
    .rk-experience .rk-list-hub h2 { font-size: 25px; }
    .rk-list-hub .rk-small-label { font-size: 6px; }
    .rk-list-hub > p { font-size: 9px; }
    .rk-list-tabs button { min-height: 35px; padding: 8px 10px; font-size: 9px; }
    .rk-experience .rk-small-button { min-height: 34px; padding: 8px 10px; font-size: 9px; }
    .rk-experience.rk-halloween .favorites-hero.rk-page-hero { min-height: 150px; padding: 22px 20px; }
    .rk-experience.rk-halloween .favorites-hero.rk-page-hero h1 { font-size: 30px; }
    .rk-experience.rk-halloween .rk-shared-list .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .rk-outfit-summary { padding: 16px; }
    .rk-outfit-summary strong { font-size: 25px; }
}
@media (max-width: 360px) {
    .rk-inline-controls { grid-template-columns: minmax(64px, .65fr) minmax(100px, 1fr) auto; gap: 5px; }
    .rk-experience.rk-halloween .rk-sort-control select { font-size: 10px; }
    .rk-experience.rk-halloween .rk-catalog-heading h1 { font-size: 21px; }
    .rk-result-line > span { display: none; }
}
@media print { .rk-sheet, #rk-shop-toast, .rk-list-actions, .rk-list-choose, .rk-quick-view { display: none !important; } }
