/* RupBaz Wishlist — v2.2.0 (design approved 26 Oct 2026) */
body.rbd-wishlist-page .entry-header,
body.rbd-wishlist-page h1.entry-title,
body.rbd-wishlist-page .wishlist-title-container,
body.rbd-wishlist-page .yith-wcwl-share { display: none !important; }
body.rbd-wishlist-page .yith-wcwl-form { margin: 0; width: 100%; max-width: none; }

.rbd-wl {
	--n: #140958; --o: #F16522; --o2: #C8490A; --mut: #5F5C75; --line: #ECEAF3; --line2: #DCD9E8; --bg: #F6F5FA;
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--n);
	display: flex; flex-direction: column; gap: 20px; margin: 8px 0 48px;
}
.rbd-wl *, .rbd-wl *::before, .rbd-wl *::after { box-sizing: border-box; }
.rbd-wl h1, .rbd-wl h2, .rbd-wl p { margin: 0; }
.rbd-wl a, .rbd-wl a:hover, .rbd-wl a:focus { text-decoration: none !important; box-shadow: none; }
.rbd-wl h1::before, .rbd-wl h2::before { display: none !important; }

.rbd-wl-head { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.rbd-wl-head-main { display: flex; gap: 16px; align-items: center; }
.rbd-wl-ic { width: 56px; height: 56px; border-radius: 18px; background: #FFF1EA; color: var(--o2); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.rbd-wl-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -.4px; line-height: 1.2; color: var(--n); }
.rbd-wl-sub { font-size: 14px; color: var(--mut); }

.rbd-wl-guest { background: #FFF1EA; border: 1px solid #FFD9C5; border-radius: 16px; padding: 14px 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 14px; color: var(--mut); line-height: 1.5; }
.rbd-wl-guest b { color: var(--n); }

.rbd-wl-btn { height: 46px; padding: 0 20px; border-radius: 12px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s, color .2s; }
.rbd-wl-btn-ghost { background: #fff; border: 1px solid var(--line2); color: var(--n) !important; }
.rbd-wl-btn-ghost:hover { border-color: var(--n); }
.rbd-wl-btn-navy { background: var(--n); color: #fff !important; }
.rbd-wl-btn-navy:hover { background: var(--o2); }
.rbd-wl-btn-orange { background: var(--o); color: var(--n) !important; font-weight: 800; height: 48px; padding: 0 24px; font-size: 15px; }
.rbd-wl-btn-orange:hover { background: var(--o2); color: #fff !important; }

/* The YITH box: no table look */
.rbd-wl .rbd-wl-box { border: 0 !important; margin: 0 !important; width: 100%; background: none; }
.rbd-wl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(190px, calc((100% - 60px) / 4)), 1fr)); gap: 20px; }
.rbd-wl-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.rbd-wl-card:hover { box-shadow: 0 12px 28px rgba(20,9,88,.10); }
.rbd-wl-photo { position: relative; aspect-ratio: 1 / 1; background: #F7F7FB; }
.rbd-wl-photo > a { display: block; width: 100%; height: 100%; }
.rbd-wl-photo img { width: 100% !important; height: 100% !important; object-fit: contain; display: block; margin: 0 !important; }
.rbd-wl-card.is-out .rbd-wl-photo img { opacity: .55; }
.rbd-wl-off { position: absolute; top: 12px; left: 12px; background: var(--o); color: var(--n); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; }
.rbd-wl .rbd-wl-rm { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; display: flex !important; align-items: center; justify-content: center; background: none !important; border: 0 !important; font-size: 0 !important; line-height: 1; color: var(--n) !important; }
.rbd-wl-rm span { width: 36px; height: 36px; border-radius: 999px; background: #fff; box-shadow: 0 4px 12px rgba(20,9,88,.16); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.rbd-wl .rbd-wl-rm:hover span { background: var(--n); color: #fff; }
.rbd-wl-info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rbd-wl-name { font-size: 14px; font-weight: 600; line-height: 1.4; min-height: 39px; color: var(--n) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rbd-wl-name:hover { color: var(--o2) !important; }
.rbd-wl-price { font-size: 17px; font-weight: 800; color: var(--n); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.rbd-wl-price del { font-size: 13px; font-weight: 500; color: #6B6880; order: 2; }
.rbd-wl-price ins { text-decoration: none; order: 1; background: none; }
.rbd-wl-price .amount { color: inherit; }
.rbd-wl-stock { font-size: 12px; font-weight: 700; color: #0F6B43; }
.rbd-wl-stock.is-out { color: var(--mut); }
.rbd-wl-cart { margin-top: auto; }
.rbd-wl-cart .button, .rbd-wl-cart .add_to_cart_button, .rbd-wl-cart .rbd-wl-btn { width: 100% !important; height: 44px !important; margin: 0 !important; padding: 0 12px !important; border: 0 !important; border-radius: 12px !important; background: var(--o) !important; color: var(--n) !important; font: 800 14px 'Plus Jakarta Sans', sans-serif !important; display: flex !important; align-items: center; justify-content: center; gap: 6px; line-height: 1 !important; text-transform: none !important; box-shadow: none !important; }
.rbd-wl-cart .button:hover, .rbd-wl-cart .add_to_cart_button:hover { background: var(--o2) !important; color: #fff !important; }
.rbd-wl-cart .rbd-wl-btn-navy { background: var(--n) !important; color: #fff !important; }
.rbd-wl-cart .added_to_cart { display: block; text-align: center; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--o2); }
.rbd-wl-na { height: 44px; border-radius: 12px; background: #F1F0F6; color: var(--mut); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.rbd-wl-pager { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.rbd-wl-pager .page-numbers { min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line2); color: var(--n); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.rbd-wl-pager .page-numbers.current { background: var(--n); border-color: var(--n); color: #fff; }

.rbd-wl-empty { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.rbd-wl-empty-ic { width: 80px; height: 80px; border-radius: 26px; background: #FFF1EA; color: var(--o2); display: flex; align-items: center; justify-content: center; }
.rbd-wl-empty h2 { font-size: 26px; font-weight: 800; }
.rbd-wl-empty p { font-size: 15px; line-height: 1.6; color: var(--mut); max-width: 440px; }

/* YITH's loading overlay stays visible */
.rbd-wl .blockUI.blockOverlay { border-radius: 18px; }

@media (max-width: 640px) {
	.rbd-wl { gap: 14px; }
	.rbd-wl-head { padding: 18px; border-radius: 18px; }
	.rbd-wl-head h1 { font-size: 22px; }
	.rbd-wl-ic { width: 48px; height: 48px; border-radius: 16px; }
	.rbd-wl-head .rbd-wl-btn { width: 100%; }
	.rbd-wl-guest { flex-direction: column; align-items: stretch; padding: 14px; font-size: 13px; }
	.rbd-wl-guest .rbd-wl-btn { width: 100%; }
	.rbd-wl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.rbd-wl-info { padding: 10px 12px 12px; gap: 6px; }
	.rbd-wl-name { font-size: 13px; min-height: 36px; }
	.rbd-wl-price { font-size: 15px; }
	.rbd-wl-rm span { width: 32px; height: 32px; }
	.rbd-wl-cart .button, .rbd-wl-cart .add_to_cart_button, .rbd-wl-cart .rbd-wl-btn { font-size: 13px !important; }
	.rbd-wl-empty { padding: 40px 20px; }
	.rbd-wl-empty h2 { font-size: 22px; }
}

/* 2.2.1 fixes (staging check 26 Oct) */
.rbd-wl > *, .rbd-wl-empty { margin: 0 !important; }