.customer-notification-menu { position: relative; display: flex; align-items: center; }
.header-actions { flex-wrap: nowrap; }
.header-actions .header-search-button { order: 0; }
.header-actions > .account-menu { order: 1; }
.header-actions > .header-account-icon { order: 1; }
.header-actions > .customer-notification-menu { order: 2; }
.header-actions > .wishlist-header-icon { order: 3; }
.header-actions > .cart-icon { order: 4; }
.customer-notification-toggle { border: 0; background: transparent; color: inherit; cursor: pointer; }
.customer-notification-toggle > svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.customer-notification-toggle:hover,
.customer-notification-menu.is-open .customer-notification-toggle { background: #f7f0f2; color: #68142e; }
.customer-notification-count {
    position: absolute;
    top: -1px;
    right: -2px;
    display: grid;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #68142e;
    color: #fff;
    font: 700 10px/1 Arial, sans-serif;
}
.customer-notification-count[hidden] { display: none; }
.customer-notification-panel[hidden] { display: none !important; }
.customer-notification-panel {
    position: absolute;
    top: calc(100% + 13px);
    right: -12px;
    z-index: 1400;
    width: min(380px, calc(100vw - 24px));
    overflow: hidden;
    border: 1px solid #ead5da;
    border-radius: 14px;
    background: #fffdfb;
    box-shadow: 0 18px 46px rgba(54, 26, 35, .2);
    color: #3e3034;
}
.customer-notification-panel > header { padding: 16px 18px 14px; border-bottom: 1px solid #f0e5e2; background: linear-gradient(120deg, #fffaf7, #f8efeb); }
.customer-notification-panel > header div { display: grid; gap: 3px; }
.customer-notification-panel > header strong { color: #68142e; font-family: inherit; font-size: 16px; font-weight: 650; line-height: 1.3; }
.customer-notification-panel > header span { color: #87767a; font-size: 12px; }
.customer-notification-items { max-height: min(390px, 55vh); overflow-y: auto; }
.customer-notification-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) 28px; align-items: start; gap: 10px; padding: 13px 14px; border-bottom: 1px solid #f2eae7; }
.customer-notification-item.is-unread { background: #fff8f5; }
.customer-notification-image { width: 42px; height: 52px; border-radius: 7px; background: #f4e7e0; object-fit: cover; }
.customer-notification-spark { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #f4e7e0; color: #8b5b33; font-size: 14px; }
.customer-notification-copy { min-width: 0; display: grid; gap: 6px; }
.customer-notification-copy a { display: grid; gap: 3px; color: inherit; text-decoration: none; }
.customer-notification-copy a:hover strong { color: #68142e; }
.customer-notification-copy strong { color: #4b333a; font-size: 13px; font-weight: 650; }
.customer-notification-copy a span { color: #76696b; font-size: 12px; line-height: 1.4; }
.customer-notification-copy time { color: #9c898b; font-size: 11px; }
.customer-notification-dismiss { display: grid; width: 27px; height: 27px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #958589; cursor: pointer; font-family: inherit; font-size: 20px; line-height: 1; }
.customer-notification-dismiss:hover { background: #f4e7e8; color: #68142e; }
.customer-notification-view-all { display: block; padding: 13px 16px; background: #fff; color: #68142e; font-size: 13px; font-weight: 650; text-align: center; text-decoration: none; }
.customer-notification-view-all:hover { background: #fbf0f1; }
.customer-notification-loading { margin: 0; padding: 22px 16px; color: #837579; font-size: 13px; text-align: center; }
.customer-notification-loading.is-error { color: #a33a45; }
.customer-notification-empty { display: grid; justify-items: center; gap: 6px; padding: 25px 18px; text-align: center; }
.customer-notification-empty > span { color: #a57742; font-size: 24px; }
.customer-notification-empty strong { color: #553b42; font-size: 14px; }
.customer-notification-empty small { color: #8c7e80; font-size: 12px; }
.customer-notification-antiforgery { display: none; }

.notifications-page { width: min(920px, calc(100% - 36px)); min-height: 55vh; margin: 38px auto 70px; }
.notifications-page-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid #eadfda; }
.notifications-page-header h1 { margin: 4px 0 6px; color: #3c2930; font: 500 clamp(28px, 4vw, 38px)/1.15 Georgia, "Times New Roman", serif; }
.notifications-page-header p { margin: 0; color: #817276; font-size: 14px; }
.notifications-page-header .notifications-eyebrow { color: #8c2947; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.notifications-total { padding: 7px 11px; border: 1px solid #ead5da; border-radius: 999px; color: #68142e; font-size: 12px; white-space: nowrap; }
.notifications-list { display: grid; gap: 11px; }
.notification-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 18px; border: 1px solid #eee2de; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(64, 39, 46, .04); }
.notification-card.is-unread { border-color: #e6c9cf; background: linear-gradient(100deg, #fffaf8, #fff); }
.notification-card-image { width: 76px; height: 94px; border-radius: 8px; background: #f5e9e3; object-fit: cover; }
.notification-card-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #f5e9e3; color: #92613d; font-size: 18px; }
.notification-card-content { min-width: 0; }
.notification-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.notification-card-heading h2 { margin: 0; color: #4a333a; font-size: 16px; font-weight: 650; }
.notification-card-heading time { color: #98888a; font-size: 11px; white-space: nowrap; }
.notification-card-content > p { margin: 7px 0 13px; color: #716568; font-size: 14px; line-height: 1.5; }
.notification-card-actions { display: flex; align-items: center; gap: 15px; }
.notification-card-actions a { color: #68142e; font-size: 13px; font-weight: 650; text-decoration: none; }
.notification-card-actions button { padding: 0; border: 0; background: transparent; color: #8b797d; cursor: pointer; font: inherit; font-size: 12px; }
.notification-card-actions a:hover,.notification-card-actions button:hover { text-decoration: underline; text-underline-offset: 3px; }
.notifications-empty { display: grid; justify-items: center; padding: 70px 20px; border: 1px dashed #e6d7d1; border-radius: 14px; background: #fffdfb; text-align: center; }
.notifications-empty-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #f7eeea; color: #8c2947; font-size: 28px; }
.notifications-empty h2 { margin: 16px 0 6px; color: #49343a; font: 500 23px Georgia, "Times New Roman", serif; }
.notifications-empty p { margin: 0 0 18px; color: #86787b; font-size: 14px; }
.notifications-empty a { padding: 10px 16px; border-radius: 999px; background: #68142e; color: #fff; font-size: 13px; text-decoration: none; }
.notifications-error { padding: 14px; border: 1px solid #edcbd0; border-radius: 10px; background: #fff5f5; color: #9c3441; }

@media (max-width: 760px) {
    .customer-notification-panel { right: -72px; width: min(360px, calc(100vw - 24px)); }
    .notifications-page { width: min(calc(100% - 28px), 720px); margin-top: 26px; }
    .notification-card { grid-template-columns: 58px minmax(0, 1fr); gap: 11px; padding: 14px; }
    .notification-card-image { width: 58px; height: 74px; }
    .notification-card-mark { width: 34px; height: 34px; }
    .notification-card-heading { align-items: start; flex-direction: column; gap: 4px; }
}
