/* Panchratna Core — notification bell and list. */
.pv-bell { position: relative; display: inline-flex; align-items: center; }
.pv-bell__button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font-size: 20px; }
.pv-bell__button:hover, .pv-bell__button:focus-visible { background: rgba(92, 9, 25, .08); outline: none; }
.pv-bell__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ff6d59; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.pv-bell__count[hidden] { display: none; }

.pv-bell__panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 99999; width: 360px; max-width: calc(100vw - 32px); max-height: 70vh; overflow: auto; background: #fff; color: #1d2327; border: 1px solid #e5e5e5; border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .14); text-align: left; }
.pv-bell__panel[hidden] { display: none; }
.pv-bell__head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #f0f0f0; }
.pv-bell__markall { padding: 0; border: 0; background: none; color: #5c0919; font-size: 13px; cursor: pointer; }
.pv-bell__list { margin: 0; padding: 0; list-style: none; }
.pv-bell__empty { padding: 24px 16px; color: #666; text-align: center; }
.pv-bell__all { display: block; padding: 12px 16px; border-top: 1px solid #f0f0f0; color: #5c0919; font-weight: 600; text-align: center; text-decoration: none; }

.pv-note > a { display: flex; gap: 12px; padding: 12px 16px; color: inherit; text-decoration: none; border-bottom: 1px solid #f6f6f6; }
.pv-note > a:hover { background: #fafafa; }
.pv-note.is-unread > a { background: color-mix(in srgb, #5c0919 5%, #fff); }
.pv-note__icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #eef2f6; color: #3c434a; font-size: 15px; }
.pv-note--success .pv-note__icon { background: #e6f4ea; color: #1e6b34; }
.pv-note--warning .pv-note__icon { background: #fcf0e3; color: #8a4b00; }
.pv-note--danger .pv-note__icon { background: #fbe8e9; color: #8a1f24; }
.pv-note__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pv-note__title { font-weight: 600; font-size: 14px; }
.pv-note.is-unread .pv-note__title::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: #ff6d59; vertical-align: middle; }
.pv-note__text { font-size: 13px; color: #50575e; overflow-wrap: anywhere; }
.pv-note__time { font-size: 12px; color: #8c8f94; }

/* Full page list ([pv_notifications]) */
.pv-inbox-page .pv-bell__list { border: 1px solid #e5e5e5; border-radius: 12px; overflow: hidden; background: #fff; }
.pv-inbox-page__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pv-inbox-page__pager { display: flex; justify-content: space-between; margin-top: 12px; }

@media (max-width: 600px) {
    /* Phone: dropdown becomes a full-width sheet under the header. */
    .pv-bell__panel { position: fixed; top: 64px; left: 16px; right: 16px; width: auto; max-width: none; }
}

/* Announcement banner (top of the site) */
.pv-ann-banner { display: none; align-items: center; gap: 12px; padding: 10px 16px; background: #5c0919; color: #fff; font-size: 14px; line-height: 1.4; }
.pv-ann-banner.is-visible { display: flex; }
.pv-ann-banner--success { background: #1e6b34; }
.pv-ann-banner--warning { background: #8a4b00; }
.pv-ann-banner__text { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; overflow-wrap: anywhere; }
.pv-ann-banner__cta { flex: 0 0 auto; padding: 6px 14px; border-radius: 999px; background: #fff; color: #5c0919; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pv-ann-banner__cta:hover, .pv-ann-banner__cta:focus-visible { background: #f6e9eb; color: #5c0919; }
.pv-ann-banner__close { flex: 0 0 32px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.pv-ann-banner__close:hover, .pv-ann-banner__close:focus-visible { background: rgba(255, 255, 255, .15); outline: none; }

/* Offers & updates list ([pv_announcements]) */
.pv-ann-list { display: grid; gap: 16px; }
.pv-ann-list__empty { padding: 24px 16px; color: #666; text-align: center; }
.pv-ann-card { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; }
.pv-ann-card__icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #eef2f6; color: #3c434a; font-size: 18px; }
.pv-ann-card--success .pv-ann-card__icon { background: #e6f4ea; color: #1e6b34; }
.pv-ann-card--warning .pv-ann-card__icon { background: #fcf0e3; color: #8a4b00; }
.pv-ann-card__body { min-width: 0; }
.pv-ann-card__type { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8c8f94; }
.pv-ann-card__title { margin: 2px 0 6px; font-size: 18px; }
.pv-ann-card__text { margin: 0 0 8px; color: #50575e; overflow-wrap: anywhere; }
.pv-ann-card__ends { margin: 0 0 10px; font-size: 13px; color: #8a4b00; }
.pv-ann-card__cta { display: inline-block; padding: 8px 18px; border-radius: 999px; background: #5c0919; color: #fff; font-weight: 600; text-decoration: none; }
.pv-ann-card__cta:hover, .pv-ann-card__cta:focus-visible { background: #7a1226; color: #fff; }

@media (max-width: 600px) {
    .pv-ann-banner { flex-wrap: wrap; }
    .pv-ann-banner__text { flex-basis: calc(100% - 44px); }
    .pv-ann-card { padding: 16px; gap: 12px; }
}
