/* Restart Wishlist */

/* Heart on the cards. */
button.rt-card__fav.rtw-fav { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 40px; height: 40px; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #0f172a; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); cursor: pointer; transition: transform .15s ease, color .15s ease, background .15s ease; line-height: 0; }
button.rt-card__fav.rtw-fav:hover, button.rt-card__fav.rtw-fav:focus-visible { transform: scale(1.08); background: #fff; color: #e11d48; outline: none; }
button.rt-card__fav.rtw-fav:focus { background: #fff; }
button.rt-card__fav.rtw-fav .rt-icon { transition: fill .15s ease; }
button.rt-card__fav.rtw-fav.is-on { color: #e11d48; }
button.rt-card__fav.rtw-fav.is-on .rt-icon { fill: currentColor; }
button.rt-card__fav.rtw-fav.is-pop .rt-icon { animation: rtw-pop .45s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes rtw-pop { 0% { transform: scale(.6); } 55% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* Header heart with counter */
.rtx-header .rtw-head { position: relative; padding: 0; width: 42px; }
.rtx-header .rtw-head__n { position: absolute; top: 3px; right: 1px; display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e11d48; color: #fff; font-size: 10.5px; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px #fff; }
.rtx-header .rtw-head__n[hidden] { display: none; }
body.rtx-over:not(.rtx-scrolled) .rtx-header .rtw-head__n { box-shadow: none; }

/* Toast */
.rtw-toast { position: fixed; left: 50%; bottom: 24px; z-index: 99999; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 16px 12px 12px; border-radius: 14px; background: #0b1b3a; color: #fff; font: 600 14px/1.3 "Geologica", system-ui, sans-serif; box-shadow: 0 16px 40px rgba(8, 18, 40, .3); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1); }
.rtw-toast.is-in { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.rtw-toast__ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(225, 29, 72, .18); color: #fb7185; flex: none; }
.rtw-toast a { margin-left: 6px; padding: 6px 12px; border-radius: 999px; background: #ffd23f; color: #0b1b3a; font-weight: 800; text-decoration: none; white-space: nowrap; }
.rtw-toast a:hover { background: #ffdb5e; color: #0b1b3a; }

/* Page */
.rtw-body { position: relative; z-index: 2; margin-top: -48px; padding-bottom: 72px; }
.rtw-guest { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 16px 18px; border: 1px solid #f4dc85; border-radius: 18px; background: #fffbea; box-shadow: 0 10px 30px rgba(15, 23, 42, .08); }
.rtw-guest p { flex: 1; margin: 0; color: #3b3a2a; font-size: 15px; line-height: 1.5; }
.rtw-guest__ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #ffd23f; color: #0b1b3a; flex: none; }

.rtw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
.rtw .rtw-btn--yellow { background: #ffd23f; color: #0b1b3a; }
.rtw .rtw-btn--yellow:hover { background: #ffdb5e; color: #0b1b3a; transform: translateY(-1px); }
.rtw .rtw-btn--soft { background: #fff; color: #0f172a; border: 1px solid #e2e8f0; box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.rtw .rtw-btn--soft:hover { border-color: #1d4ed8; color: #1d4ed8; }
.rtw .rtw-btn--soft .rt-icon { color: #1d4ed8; }

.rtw-list[hidden], .rtw-empty[hidden], .rtw-item[hidden], .rtw-tab[hidden] { display: none !important; }
.rtw-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, .08); }
.rtw .rtw-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 10px 16px; border: 0; border-radius: 12px; background: transparent; color: #334155; font: 600 14.5px/1 "Geologica", system-ui, sans-serif; cursor: pointer; transition: background .15s, color .15s; }
.rtw .rtw-tab:hover, .rtw .rtw-tab:focus { background: #f1f5f9; color: #0f172a; }
.rtw .rtw-tab.is-on { background: #0b1b3a; color: #fff; }
.rtw-tab em { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #e2e8f0; color: #334155; font-style: normal; font-size: 12px; font-weight: 800; }
.rtw-tab.is-on em { background: rgba(255, 255, 255, .16); color: #fff; }

.rtw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rtw-item { min-width: 0; transition: opacity .28s ease, transform .28s ease; }
.rtw-item > * { height: 100%; }
.rtw-item.is-leaving { opacity: 0; transform: scale(.96); }

.rtw-empty { display: flex; flex-direction: column; align-items: center; max-width: 640px; margin: 0 auto; padding: 48px 28px; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 10px 30px rgba(15, 23, 42, .08); }
.rtw-empty__ic { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin-bottom: 18px; border-radius: 50%; background: #fff1f2; color: #e11d48; }
.rtw-empty h2 { margin: 0 0 8px; color: #0f172a; font-size: 26px; font-weight: 800; line-height: 1.2; }
.rtw-empty p { margin: 0 0 22px; color: #64748b; font-size: 16px; line-height: 1.55; }
.rtw-empty__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

@media (max-width: 1024px) { .rtw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.rtw-body { margin-top: -40px; }
	.rtw-grid { grid-template-columns: 1fr; gap: 18px; }
	.rtw-guest { flex-wrap: wrap; }
	.rtw-guest .rtw-btn { width: 100%; }
	.rtw-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.rtw .rtw-tab { white-space: nowrap; }
	.rtw-toast { bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* Club account: My favourites */
.rtw-acc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rtw-acc__head h2 { margin: 0; }
.rtw-acc__all { display: inline-flex; align-items: center; gap: 6px; color: var(--rtx-blue, #1450e6); font-size: 14px; font-weight: 700; text-decoration: none; }
.rtw-acc__all:hover { text-decoration: underline; }
.rtw-acc__n { margin-left: auto; padding: 1px 8px; border-radius: 99px; background: #fdecef; color: #e11d48; font-size: 12px; font-weight: 800; }
.rtw-acc__empty { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 18px; border-radius: 16px; background: #f6f8fc; }
.rtw-acc__empty p { margin: 0; }
.rtw-acc__empty a { font-weight: 700; }
.rtw-acc__ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #fdecef; color: #e11d48; }
.rtw-acc__grid { margin-top: 16px; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .rtw-acc__grid { grid-template-columns: minmax(0, 1fr); } }
