.sa-assistant {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1055;
    font-family: inherit;
}
.sa-assistant__toggle {
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0b234a 0%, #1f5fbf 100%);
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.sa-assistant__avatar img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    padding: 0;
    box-shadow: 0 0 0 3px rgba(255,255,255,.18);
}
.sa-assistant__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}
.sa-assistant__panel {
    width: 360px;
    max-width: calc(100vw - 24px);
    height: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .28);
    overflow: hidden;
    display: none;
    flex-direction: column;
    margin-top: 12px;
    border: 1px solid rgba(98, 156, 255, .22);
}
.sa-assistant.is-open .sa-assistant__panel { display: flex; animation: saAssistantPanelIn .18s ease-out; }
@keyframes saAssistantPanelIn {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.sa-assistant__header {
    background: linear-gradient(135deg, #0b234a 0%, #1b3f82 100%);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sa-assistant__header-left { display:flex; align-items:center; gap:10px; }
.sa-assistant__header-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 34px;
}
.sa-assistant__header-icon img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
}
.sa-assistant__title { font-size: 15px; font-weight: 700; line-height: 1.1; }
.sa-assistant__subtitle { font-size: 12px; opacity: .85; }
.sa-assistant__close {
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.sa-assistant__body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    background: #f8fafc;
}
.sa-assistant__message {
    max-width: 88%;
    padding: 10px 12px;
    border-radius: 14px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.45;
    box-shadow: 0 3px 10px rgba(15,23,42,.05);
}
.sa-assistant__message a { text-decoration: underline; }
.sa-assistant__message--bot {
    background: #fff;
    color: #0f172a;
    border-top-left-radius: 4px;
}
.sa-assistant__message--user {
    background: #629cff;
    color: #fff;
    margin-left: auto;
    border-top-right-radius: 4px;
}
.sa-assistant__form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}
.sa-assistant__input {
    resize: none;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    min-height: 44px;
}
.sa-assistant__input:focus {
    outline: none;
    border-color: #629cff;
    box-shadow: 0 0 0 3px rgba(98,156,255,.16);
}
.sa-assistant__send {
    align-self: end;
    height: 44px;
    border: 0;
    border-radius: 12px;
    padding: 0 16px;
    background: #0b234a;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.sa-assistant__send[disabled] { opacity: .65; cursor: wait; }
.sa-assistant__footer {
    padding: 0 12px 12px;
    background: #fff;
    color: #64748b;
    font-size: 11px;
}
.sa-assistant-list { padding-left: 18px; margin: 8px 0 0; }
.sa-assistant__typing::after {
    content: 'Thinking...';
    color: #64748b;
}
@media (max-width: 767px) {
    .sa-assistant { right: 12px; bottom: 12px; }
    .sa-assistant__panel { width: min(360px, calc(100vw - 24px)); height: 72vh; }
}


.sa-product-assistant {
    margin: 22px 0 18px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}
.sa-product-assistant__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.sa-product-assistant__brand {
    display: flex;
    gap: 12px;
    align-items: center;
}
.sa-product-assistant__brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px rgba(98,156,255,.15);
}
.sa-product-assistant__title {
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
}
.sa-product-assistant__subtitle {
    font-size: 12px;
    color: #64748b;
}
.sa-product-assistant__intro {
    background: #f8fafc;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.55;
    color: #334155;
    margin-bottom: 14px;
}
.sa-product-assistant__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.sa-product-assistant__chip {
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.3;
    cursor: pointer;
}
.sa-product-assistant__chip:hover {
    border-color: #f97316;
    color: #0f172a;
}
.sa-product-assistant__messages {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 12px;
}
.sa-product-assistant__message {
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}
.sa-product-assistant__message--bot {
    background: #f8fafc;
    color: #0f172a;
}
.sa-product-assistant__message--user {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
}
.sa-product-assistant__message a { text-decoration: underline; }
.sa-product-assistant__form {
    display: grid;
    grid-template-columns: 1fr 56px;
    gap: 8px;
}
.sa-product-assistant__input {
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    min-height: 44px;
    padding: 0 14px;
    font-size: 15px;
}
.sa-product-assistant__send {
    border: 0;
    border-radius: 14px;
    background: #f97316;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.sa-product-assistant__send[disabled] { opacity: .65; cursor: wait; }
@media (max-width: 767px) {
    .sa-product-assistant__title { font-size: 18px; }
    .sa-product-assistant__form { grid-template-columns: 1fr 50px; }
}


.hd-delivery-panel {
    margin: 10px 0 22px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 18px 36px rgba(15, 23, 42, .06);
    overflow: hidden;
}
.hd-delivery-panel__top {
    padding: 16px 18px 10px;
    border-bottom: 1px solid #eef2f7;
}
.hd-delivery-panel__eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #0f172a;
    text-transform: uppercase;
}
.hd-delivery-panel__zip {
    font-size: 13px;
    color: #64748b;
    margin-top: 3px;
}
.hd-delivery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
    padding: 16px 18px 10px;
}
.hd-delivery-card {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid #d5dbe5;
    border-radius: 14px;
    padding: 16px 14px 14px;
    background: #fff;
    cursor: pointer;
    transition: .18s ease;
    min-height: 156px;
}
.hd-delivery-card:hover { border-color: #f97316; box-shadow: 0 8px 24px rgba(249,115,22,.12); }
.hd-delivery-card.active { border-color: #f97316; box-shadow: inset 0 0 0 1px #f97316, 0 12px 24px rgba(249,115,22,.12); }
.delivery-option-input { position: absolute; opacity: 0; pointer-events: none; }
.hd-delivery-card__select {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #cbd5e1;
    background: #fff;
}
.hd-delivery-card.active .hd-delivery-card__select {
    border-color: #f97316;
    background: radial-gradient(circle at center, #f97316 0 45%, #fff 48% 100%);
}
.hd-delivery-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff7ed;
    color: #f97316;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
}
.hd-delivery-card__icon svg { width: 24px; height: 24px; }
.hd-delivery-card__icon--truck { background: #eff6ff; color: #2563eb; }
.hd-delivery-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hd-delivery-card__title { font-size: 16px; font-weight: 700; color: #111827; }
.hd-delivery-card__date { font-size: 22px; font-weight: 800; color: #0f172a; line-height: 1.05; }
.hd-delivery-card__meta { font-size: 13px; color: #64748b; }
.hd-delivery-card__price { margin-top: auto; font-size: 22px; font-weight: 800; color: #16a34a; }
.hd-delivery-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 0 18px 18px;
    border-top: 1px solid #eef2f7;
    padding-top: 14px;
}
.hd-delivery-summary__label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #64748b; font-weight: 700; }
.hd-delivery-summary__value { font-size: 15px; color: #0f172a; font-weight: 600; }
.hd-delivery-summary__price { font-size: 22px; color: #16a34a; font-weight: 800; }
.sa-product-assistant {
    border-color: #e5e7eb;
    background: linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
}
.sa-product-assistant__header { padding-bottom: 10px; border-bottom: 1px solid #eef2f7; }
.sa-product-assistant__brand img { box-shadow: 0 0 0 4px rgba(98,156,255,.12); }
.sa-product-assistant__intro {
    background: linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%);
    border: 1px solid #e2e8f0;
}
.sa-product-assistant__chip {
    background: #fff;
    box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
.sa-product-assistant__form {
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
}
@media (max-width: 991px) {
    .hd-delivery-grid { grid-template-columns: 1fr; }
}


.sa-assistant__message {
    overflow-wrap: anywhere;
}
.sa-assistant__quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.sa-assistant__action {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: .16s ease;
}
.sa-assistant__action:hover,
.sa-assistant__action:focus {
    border-color: #629cff;
    color: #0b234a;
    box-shadow: 0 0 0 3px rgba(98,156,255,.14);
    outline: none;
}
.sa-assistant-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 7px;
    margin-left: 4px;
    background: #dcfce7;
    color: #166534;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.sa-assistant-pill--muted {
    background: #f1f5f9;
    color: #475569;
}
.sa-assistant-muted {
    color: #64748b;
    font-size: 12px;
}
.sa-assistant-note {
    margin: 8px 0 0;
    color: #475569;
    font-size: 12px;
}
.sa-product-assistant__message {
    overflow-wrap: anywhere;
}

.notification-dropdown-menu {
    top: calc(100% - 8px);
    left: 50%;
    right: auto;
    width: 344px;
    max-width: calc(100vw - 24px);
    padding: 12px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    transform: translateX(-50%);
}
.notification-dropdown-menu::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    width: 18px;
    height: 18px;
    background: #fff;
    border-top: 1px solid #dbe4f0;
    border-left: 1px solid #dbe4f0;
    border-top-left-radius: 4px;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: -8px -8px 20px rgba(15, 23, 42, .04);
}
.notification-dropdown {
    position: relative;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
    overflow: hidden;
}
.notification-dropdown__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 14px;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 78%);
}
.notification-dropdown__header-copy {
    min-width: 0;
}
.notification-dropdown__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.notification-dropdown__title {
    margin: 0;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
}
.notification-dropdown__mark-read-form {
    flex: 0 0 auto;
    margin: 0;
}
.notification-dropdown__mark-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #c7dcff;
    border-radius: 999px !important;
    background: #fff !important;
    color: #2563eb;
    padding: 0 12px !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    font-family: inherit;
    white-space: nowrap;
    cursor: pointer;
    transition: .18s ease;
    box-shadow: none;
}
.notification-dropdown__mark-read:hover,
.notification-dropdown__mark-read:focus {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
    outline: none;
}
.notification-dropdown__list {
    max-height: 304px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
    background: #fff;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.notification-dropdown__list::-webkit-scrollbar {
    width: 8px;
}
.notification-dropdown__list::-webkit-scrollbar-track {
    background: transparent;
}
.notification-dropdown__list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
.notification-dropdown__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #0f172a;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.notification-dropdown__item + .notification-dropdown__item {
    margin-top: 4px;
}
.notification-dropdown__item:hover,
.notification-dropdown__item:focus {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .05);
    transform: translateY(-1px);
    outline: none;
}
.notification-dropdown__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 11px;
    font-size: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}
.notification-dropdown__icon--info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
}
.notification-dropdown__icon--success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
}
.notification-dropdown__icon--warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
}
.notification-dropdown__icon--danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #b91c1c;
}
.notification-dropdown__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}
.notification-dropdown__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.notification-dropdown__delete-form {
    flex: 0 0 auto;
    margin: 0;
}
.notification-dropdown__time {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.notification-dropdown__item-link {
    display: block;
    color: #0f172a !important;
    text-decoration: none !important;
}
.notification-dropdown__item-link:hover,
.notification-dropdown__item-link:focus {
    color: #0f172a !important;
    text-decoration: none !important;
    outline: none;
}
.notification-dropdown__item-title {
    display: block;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}
.notification-dropdown__message {
    display: -webkit-box;
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.notification-dropdown__delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 999px;
    background: #f8fafc;
    color: #94a3b8;
    padding: 0;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    transition: .16s ease;
}
.notification-dropdown__delete:hover,
.notification-dropdown__delete:focus {
    background: #fee2e2;
    color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
    outline: none;
}
.notification-dropdown__footer {
    padding: 12px 18px 16px;
    border-top: 1px solid #eef2f7;
    background: #fff;
}
.notification-dropdown__view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 11px;
    background: #0f172a;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: .18s ease;
}
.notification-dropdown__view-all:hover,
.notification-dropdown__view-all:focus {
    background: #1e293b;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .18);
    transform: translateY(-1px);
    outline: none;
}
.notification-dropdown__empty {
    padding: 24px 18px 26px;
    text-align: center;
    background: #fff;
}
.notification-dropdown__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 18px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 20px;
}
.notification-dropdown__empty-title {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
}
.notification-dropdown__empty-text {
    margin: 8px auto 0;
    max-width: 220px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.notification-page-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .06);
}
.notification-page-card__body {
    padding: 20px 20px 16px;
}
.notification-page-card__header h4 {
    font-size: 16px;
}
.notification-page-card__header p {
    font-size: 13px;
}
.notification-page-card__mark-read {
    border-radius: 999px;
    padding-left: 14px;
    padding-right: 14px;
}
.notification-page-card__table-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}
.notification-page-table {
    margin-bottom: 0;
    font-size: 13px;
}
.notification-page-table thead th {
    border-top: 0;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}
.notification-page-table td,
.notification-page-table th {
    vertical-align: middle;
}
.notification-page-table__delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fff;
    color: #dc2626;
    padding: 0 11px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: .16s ease;
}
.notification-page-table__delete:hover,
.notification-page-table__delete:focus {
    background: #fef2f2;
    color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
    outline: none;
}

@media (max-width: 767px) {
    .notification-dropdown-menu {
        width: min(344px, calc(100vw - 24px));
    }
    .notification-page-card__body {
        padding: 16px 14px 14px;
    }
    .notification-page-card__header {
        gap: 12px;
        align-items: flex-start !important;
        flex-direction: column;
    }
}
