/* Notify me – button (product page) and list (My account › Notify me) */

.rcx-notify-form { margin: 12px 0 0; }
.rcx-notify.is-watching { --rc-btn-bg: var(--rc-pink, #FBE3E3); }

.rcx-notify-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rcx-notify-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--rc-border, #ECECEC); border-radius: 12px; }
.rcx-notify-item__img { display: block; }
.rcx-notify-item__img img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: var(--rc-placeholder, #F6F6F6); }
.rcx-notify-item__main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rcx-notify-item__name { font-weight: 600; color: var(--rc-ink, #111); text-decoration: none; }
.rcx-notify-item__name:hover { text-decoration: underline; }
.rcx-notify-item__status { font-size: 13px; }
.rcx-notify-item__status.is-in { color: #1a7f37; font-weight: 600; }
.rcx-notify-item__status.is-out { color: var(--rc-muted, #8a8a93); }
.rcx-notify-item__remove { margin: 0; }
.rcx-notify-remove { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rc-border, #ECECEC); background: #fff; color: var(--rc-muted, #8a8a93); font-size: 20px; line-height: 1; cursor: pointer; }
.rcx-notify-remove:hover { border-color: var(--rc-accent, #D82020); color: var(--rc-accent, #D82020); }

@media (max-width: 480px) {
	.rcx-notify-item { grid-template-columns: 52px minmax(0, 1fr) auto; }
	.rcx-notify-item__img img { width: 52px; height: 52px; }
}

/* Header notification bell (JS-free, built on <details>) */
.rcx-notif { position: relative; }
.rcx-notif > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; }
.rcx-notif > summary::-webkit-details-marker { display: none; }
.rcx-notif__summary .rcx-action__icon { position: relative; display: inline-flex; }
.rcx-notif__badge { position: absolute; top: -6px; inset-inline-end: -8px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--rc-accent, #D82020); color: #fff; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; }
.rcx-notif__badge.is-empty { display: none; }
.rcx-notif__panel { position: absolute; top: calc(100% + 12px); inset-inline-end: 0; z-index: 120; width: 320px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--rc-border, #ECECEC); border-radius: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .14); padding: 8px; }
.rcx-notif__head { font-weight: 700; font-size: 14px; padding: 8px 10px 10px; border-bottom: 1px solid var(--rc-divider, #F0F0F0); }
.rcx-notif__list { list-style: none; margin: 6px 0; padding: 0; max-height: 320px; overflow-y: auto; }
.rcx-notif__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--rc-ink, #111); }
.rcx-notif__item:hover { background: var(--rc-panel, #F7F7F8); }
.rcx-notif__img img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--rc-placeholder, #F6F6F6); }
.rcx-notif__main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rcx-notif__name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcx-notif__msg { font-size: 12.5px; color: #1a7f37; font-weight: 600; }
.rcx-notif__empty { margin: 0; padding: 18px 12px; font-size: 13px; color: var(--rc-muted, #8a8a93); text-align: center; }
.rcx-notif__all { display: block; text-align: center; padding: 10px; margin-top: 4px; border-top: 1px solid var(--rc-divider, #F0F0F0); font-size: 13px; font-weight: 600; color: var(--rc-ink, #111); text-decoration: none; }
.rcx-notif__all:hover { color: var(--rc-accent, #D82020); }
