/* NexGen Products – frontend */
:root {
	--ngp-primary: #1d4fa0;
	--ngp-primary-dark: #163d7d;
	--ngp-accent: #e8462b;
	--ngp-sale: #d0021b;
	--ngp-card-bg: #f2f7fd;
	--ngp-card-border: #d5e5f6;
	--ngp-text: #1f2937;
	--ngp-muted: #6b7280;
	--ngp-radius: 10px;
	--ngp-gap: 20px;
}

.ngp-section,
.ngp-shop,
.ngp-single,
.ngp-cart,
.ngp-checkout,
.ngp-thankyou { color: var(--ngp-text); box-sizing: border-box; }
.ngp-section *,
.ngp-shop *,
.ngp-single *,
.ngp-cart *,
.ngp-checkout * { box-sizing: border-box; }

/* Giới hạn độ đậm chữ tối đa 700: chặn theme đặt heading 800/900 và <strong> "bolder" lồng nhau. */
:is(.ngp-section, .ngp-shop, .ngp-single, .ngp-cart, .ngp-checkout, .ngp-thankyou, .ngp-toast, .ngp-search) :is(h1, h2, h3, h4, h5, h6, strong, b, th, dt, legend) { font-weight: 700; }

.ngp-container { max-width: 1200px; margin: 0 auto; padding: 24px 16px 48px; }
.ngp-section { margin: 0 0 40px; }
.ngp-empty { color: var(--ngp-muted); padding: 16px 0; }
.ngp-muted { color: var(--ngp-muted); }

/* ---------- Tiêu đề khu vực ---------- */
.ngp-section__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.ngp-section__title, h1.ngp-section__title, h2.ngp-section__title { margin: 0; color: var(--ngp-primary); font-size: 26px; font-weight: 600; line-height: 1.3; }
.ngp-section__subtitle { margin: 4px 0 0; color: var(--ngp-primary); opacity: .85; font-size: 14px; }
.ngp-section__more { margin-top: 6px; }
.ngp-section__more { color: var(--ngp-primary); text-decoration: none; font-size: 14px; white-space: nowrap; }
.ngp-section__more:hover { text-decoration: underline; }
.ngp-arrow { font-weight: 600; white-space: nowrap; font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }

/* ---------- Thẻ danh mục ---------- */
.ngp-cat-card {
	display: flex; flex-direction: column; height: 100%;
	background: var(--ngp-card-bg); border: 1px solid var(--ngp-card-border); border-radius: var(--ngp-radius);
	padding: 20px 20px 16px; text-decoration: none !important; color: var(--ngp-primary);
	transition: box-shadow .2s, transform .2s, border-color .2s;
}
.ngp-cat-card:hover { border-color: var(--ngp-primary); box-shadow: 0 8px 22px rgba(29, 79, 160, .12); transform: translateY(-2px); }
.ngp-cat-card__image { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; margin-bottom: 14px; }
.ngp-cat-card__image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ngp-cat-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.ngp-cat-card__name { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--ngp-primary); min-width: 0; }
@media (max-width: 640px) { .ngp-cat-card { padding: 14px 12px 12px; } .ngp-cat-card__name { font-size: 14px; } }
.ngp-cat-card .ngp-arrow { color: var(--ngp-primary); transition: transform .2s; }
.ngp-cat-card:hover .ngp-arrow { transform: translateX(4px); }

/* ---------- Grid ---------- */
.ngp-grid { display: grid; gap: var(--ngp-gap); grid-template-columns: repeat(var(--ngp-cols, 4), minmax(0, 1fr)); }
@media (max-width: 1024px) { .ngp-grid { grid-template-columns: repeat(var(--ngp-cols-md, 3), minmax(0, 1fr)); } }
@media (max-width: 640px) { .ngp-grid { grid-template-columns: repeat(var(--ngp-cols-sm, 2), minmax(0, 1fr)); gap: 12px; } }

/* ---------- Slider ---------- */
.ngp-slider { position: relative; --ngp-visible: var(--ngp-cols, 5); }
@media (max-width: 1024px) { .ngp-slider { --ngp-visible: var(--ngp-cols-md, 3); } }
@media (max-width: 640px) { .ngp-slider { --ngp-visible: var(--ngp-cols-sm, 2); } }
.ngp-slider__track {
	display: flex; gap: var(--ngp-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; -ms-overflow-style: none; padding: 4px 2px 10px; outline: none;
}
.ngp-slider__track::-webkit-scrollbar { display: none; }
.ngp-slider__slide { flex: 0 0 calc((100% - (var(--ngp-visible) - 1) * var(--ngp-gap)) / var(--ngp-visible)); scroll-snap-align: start; min-width: 0; }
.ngp-slider__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ngp-card-border);
	background: #fff; color: var(--ngp-primary); display: flex; align-items: center; justify-content: center;
	cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .1); padding: 0; transition: opacity .2s, background .2s;
}
.ngp-slider__nav:hover { background: var(--ngp-primary); color: #fff; }
.ngp-slider__nav--prev { left: -18px; }
.ngp-slider__nav--next { right: -18px; }
.ngp-slider__nav[disabled] { opacity: 0; pointer-events: none; }
.ngp-slider.is-static .ngp-slider__nav { display: none; }
@media (max-width: 640px) { .ngp-slider__nav--prev { left: -6px; } .ngp-slider__nav--next { right: -6px; } .ngp-slider__nav { width: 32px; height: 32px; } }
.ngp-slider__dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.ngp-slider__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--ngp-card-border); cursor: pointer; }
.ngp-slider__dots button.is-active { background: var(--ngp-primary); width: 20px; border-radius: 4px; }

/* ---------- Thẻ sản phẩm ---------- */
.ngp-card { display: flex; flex-direction: column; height: 100%; background: var(--ngp-card-bg); border: 1px solid var(--ngp-card-border); border-radius: var(--ngp-radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.ngp-card:hover { border-color: var(--ngp-primary); box-shadow: 0 10px 24px rgba(29, 79, 160, .12); transform: translateY(-2px); }
.ngp-card__image { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 16px 20px 0; }
.ngp-card__image img { display: block; max-width: 72%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ngp-card__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px 14px; flex: 1; }
.ngp-card__title { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 700; }
.ngp-card__title a { color: var(--ngp-primary); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-underline-offset: 3px; }
.ngp-card__title a:hover, .ngp-card:hover .ngp-card__title a { text-decoration: underline; }
.ngp-card__excerpt { margin: 0; font-size: 14px; line-height: 1.45; color: #374151; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ngp-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.ngp-card__price .ngp-price ins, .ngp-card__price .ngp-price--contact { font-size: 17px; font-weight: 700; color: var(--ngp-sale); }
.ngp-card__price .ngp-price del { display: block; margin: 0; }
.ngp-card__actions { display: flex; gap: 6px; flex: none; }
.ngp-icon-btn { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; border: 0; padding: 0; background: var(--ngp-primary); color: #fff !important; cursor: pointer; text-decoration: none !important; transition: filter .2s, transform .2s; }
.ngp-icon-btn:hover { filter: brightness(.88); }
.ngp-icon-btn--cart { background: #fff; color: var(--ngp-primary) !important; border: 1px solid var(--ngp-card-border); }
.ngp-icon-btn.is-loading { opacity: .5; pointer-events: none; }
@media (max-width: 640px) {
	.ngp-card__image { padding: 12px 12px 0; }
	.ngp-card__image img { max-width: 80%; }
	.ngp-card__body { padding: 10px 12px 12px; }
	.ngp-card__title { font-size: 15px; }
	.ngp-card__excerpt { font-size: 13px; }
	.ngp-card__price .ngp-price ins, .ngp-card__price .ngp-price--contact { font-size: 15px; }
}

.ngp-badge { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; color: #fff; z-index: 1; }
.ngp-badge--sale { background: var(--ngp-sale); }
.ngp-badge--out { background: #6b7280; left: auto; right: 10px; }

/* ---------- Giá ---------- */
.ngp-price ins { text-decoration: none; color: var(--ngp-sale); font-weight: 700; font-size: 16px; }
.ngp-price del { color: var(--ngp-muted); font-size: 13px; margin-left: 4px; }
.ngp-price--contact { color: var(--ngp-primary); font-weight: 700; font-size: 16px; }
.ngp-price { line-height: 1.4; }

/* ---------- Nút ---------- */
.ngp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 10px 18px; border-radius: 6px; border: 1px solid transparent;
	font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none !important;
	transition: background .2s, color .2s, border-color .2s, opacity .2s; font-family: inherit;
}
.ngp-btn--primary { background: var(--ngp-primary); color: #fff !important; }
.ngp-btn--primary:hover { filter: brightness(.9); }
.ngp-btn--accent { background: var(--ngp-accent); color: #fff !important; }
.ngp-btn--accent:hover { filter: brightness(.92); }
.ngp-btn--outline { background: #fff; color: var(--ngp-primary) !important; border-color: var(--ngp-primary); }
.ngp-btn--outline:hover { background: var(--ngp-primary); color: #fff !important; }
.ngp-btn--ghost { background: transparent; color: var(--ngp-muted) !important; }
.ngp-btn--ghost:hover { color: var(--ngp-primary) !important; }
.ngp-btn--block { width: 100%; }
.ngp-btn--call { background: #16a34a; color: #fff !important; }
.ngp-btn--zalo { background: #0068ff; color: #fff !important; }
.ngp-btn--messenger { background: #a033ff; color: #fff !important; }
.ngp-btn.is-loading { opacity: .6; pointer-events: none; }
.ngp-contact-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }

/* ---------- Tìm kiếm ---------- */
.ngp-search { position: relative; display: flex; max-width: 480px; }
.ngp-search input[type=search] { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--ngp-card-border); border-right: 0; border-radius: 6px 0 0 6px; font-size: 14px; outline: none; }
.ngp-search input[type=search]:focus { border-color: var(--ngp-primary); }
.ngp-search button { padding: 0 16px; border: 0; background: var(--ngp-primary); color: #fff; border-radius: 0 6px 6px 0; cursor: pointer; display: flex; align-items: center; }
.ngp-search__results { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 12px 28px rgba(0, 0, 0, .12); z-index: 999; max-height: 420px; overflow: auto; }
.ngp-search__item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; text-decoration: none; color: var(--ngp-text); }
.ngp-search__item:hover, .ngp-search__item.is-active { background: var(--ngp-card-bg); }
.ngp-search__item img { width: 44px; height: 44px; object-fit: contain; flex: none; background: var(--ngp-card-bg); border-radius: 4px; }
.ngp-search__item span { display: block; font-size: 14px; }
.ngp-search__item small { color: var(--ngp-sale); font-weight: 600; }
.ngp-search__more { display: block; padding: 10px 12px; text-align: center; font-size: 13px; border-top: 1px solid #f1f1f1; color: var(--ngp-primary); }
.ngp-search__none { padding: 12px; color: var(--ngp-muted); font-size: 14px; }

/* ---------- Shop / Lọc ---------- */
.ngp-shop.has-sidebar { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.ngp-shop.has-sidebar > .ngp-section__title { grid-column: 1 / -1; }
.ngp-shop__filter { background: var(--ngp-card-bg); border: 1px solid var(--ngp-card-border); border-radius: var(--ngp-radius); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.ngp-shop:not(.has-sidebar) .ngp-shop__filter { flex-direction: row; flex-wrap: wrap; align-items: flex-end; margin-bottom: 20px; }
.ngp-shop.has-sidebar .ngp-shop__filter { position: sticky; top: 20px; }
.ngp-filter__group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ngp-primary); }
.ngp-filter__group--check label { font-weight: 400; color: var(--ngp-text); display: flex; gap: 6px; align-items: center; cursor: pointer; }
.ngp-filter__group input[type=search],
.ngp-filter__group input[type=text],
.ngp-filter__group select { width: 100%; padding: 8px 10px; border: 1px solid var(--ngp-card-border); border-radius: 6px; background: #fff; font-size: 14px; }
.ngp-filter__range { display: flex; align-items: center; gap: 6px; }
.ngp-filter__actions { display: flex; gap: 8px; align-items: center; }
.ngp-shop__count { color: var(--ngp-muted); font-size: 14px; margin-bottom: 12px; }
.ngp-shop__results { position: relative; min-height: 120px; transition: opacity .2s; }
.ngp-shop__results.is-loading { opacity: .45; pointer-events: none; }
@media (max-width: 860px) {
	.ngp-shop.has-sidebar { grid-template-columns: 1fr; }
	.ngp-shop.has-sidebar .ngp-shop__filter { position: static; }
}

/* ---------- Phân trang ---------- */
.ngp-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.ngp-pagination a, .ngp-pagination span { min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid var(--ngp-card-border); text-decoration: none; color: var(--ngp-primary); font-size: 14px; }
.ngp-pagination a:hover { border-color: var(--ngp-primary); }
.ngp-pagination .is-current { background: var(--ngp-primary); color: #fff; border-color: var(--ngp-primary); }
.ngp-pagination .ngp-pagination__dots { border: 0; }

/* ---------- Breadcrumb ---------- */
.ngp-breadcrumb { font-size: 13px; color: var(--ngp-muted); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.ngp-breadcrumb a { color: var(--ngp-muted); text-decoration: none; }
.ngp-breadcrumb a:hover { color: var(--ngp-primary); }
.ngp-archive__header { margin-bottom: 24px; }
.ngp-archive__desc { color: var(--ngp-muted); margin-top: 8px; }

/* ---------- Chi tiết sản phẩm ---------- */
.ngp-single__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-bottom: 40px; }
@media (max-width: 860px) { .ngp-single__top { grid-template-columns: 1fr; gap: 24px; } }
.ngp-gallery__main { position: relative; background: var(--ngp-card-bg); border: 1px solid var(--ngp-card-border); border-radius: var(--ngp-radius); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ngp-gallery__main img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; padding: 20px; }
.ngp-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.ngp-gallery__thumb { flex: 0 0 72px; height: 72px; padding: 4px; border: 2px solid transparent; background: var(--ngp-card-bg); border-radius: 6px; cursor: pointer; }
.ngp-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.ngp-gallery__thumb.is-active { border-color: var(--ngp-primary); }
.ngp-single__title { margin: 0 0 12px; font-size: 28px; line-height: 1.3; color: var(--ngp-text); }
.ngp-single__meta { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--ngp-muted); }
.ngp-single__price { padding: 14px 18px; background: var(--ngp-card-bg); border-radius: 8px; margin-bottom: 16px; }
.ngp-single__price .ngp-price ins, .ngp-single__price .ngp-price--contact { font-size: 26px; }
.ngp-single__price .ngp-price del { font-size: 16px; }
.ngp-single__excerpt { margin-bottom: 18px; line-height: 1.7; }
.ngp-stock--instock { color: #16a34a; }
.ngp-stock--outofstock { color: var(--ngp-sale); }
.ngp-stock--preorder { color: #d97706; }
.ngp-add-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.ngp-add-form .ngp-btn { padding: 12px 24px; font-size: 15px; }

.ngp-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--ngp-card-border); border-radius: 6px; overflow: hidden; background: #fff; }
.ngp-qty__btn { width: 36px; border: 0; background: var(--ngp-card-bg); cursor: pointer; font-size: 16px; color: var(--ngp-primary); }
.ngp-qty input { width: 56px; border: 0; text-align: center; font-size: 15px; -moz-appearance: textfield; appearance: textfield; padding: 8px 0; }
.ngp-qty input::-webkit-outer-spin-button, .ngp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ngp-tabs { margin-bottom: 40px; }
.ngp-tabs__nav { display: flex; gap: 4px; border-bottom: 2px solid var(--ngp-card-border); overflow-x: auto; }
.ngp-tabs__nav button { background: none; border: 0; padding: 12px 18px; font-size: 15px; font-weight: 600; color: var(--ngp-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; font-family: inherit; }
.ngp-tabs__nav button.is-active { color: var(--ngp-primary); border-bottom-color: var(--ngp-primary); }
.ngp-tabs__panel { padding: 20px 0; line-height: 1.7; }
.ngp-content img { max-width: 100%; height: auto; }
.ngp-specs-table { width: 100%; border-collapse: collapse; max-width: 760px; }
.ngp-specs-table th, .ngp-specs-table td { padding: 10px 14px; border: 1px solid #e6edf5; text-align: left; font-size: 14px; }
.ngp-specs-table th { width: 35%; background: var(--ngp-card-bg); font-weight: 600; }

/* ---------- Giỏ hàng ---------- */
.ngp-cart--empty { text-align: center; padding: 40px 0; }
.ngp-cart__table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.ngp-cart__table th { text-align: left; font-size: 13px; text-transform: uppercase; color: var(--ngp-muted); padding: 10px; border-bottom: 2px solid var(--ngp-card-border); }
.ngp-cart__table td { padding: 14px 10px; border-bottom: 1px solid #edf1f6; vertical-align: middle; }
.ngp-cart__thumb { width: 80px; }
.ngp-cart__thumb img { width: 64px; height: 64px; object-fit: contain; background: var(--ngp-card-bg); border-radius: 6px; }
.ngp-cart__name a { color: var(--ngp-text); font-weight: 600; text-decoration: none; }
.ngp-cart__name small { display: block; color: var(--ngp-muted); }
.ngp-cart__remove a { font-size: 22px; color: var(--ngp-muted); text-decoration: none; }
.ngp-cart__remove a:hover { color: var(--ngp-sale); }
.ngp-cart__footer { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.ngp-cart__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ngp-cart__totals { width: 100%; max-width: 380px; background: var(--ngp-card-bg); border: 1px solid var(--ngp-card-border); border-radius: var(--ngp-radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ngp-cart__totals > div { display: flex; justify-content: space-between; gap: 10px; }
.ngp-cart__total { border-top: 1px solid var(--ngp-card-border); padding-top: 10px; font-size: 18px; }
.ngp-cart__total strong { color: var(--ngp-sale); }
@media (max-width: 640px) {
	.ngp-cart__table thead { display: none; }
	.ngp-cart__table tr { display: grid; grid-template-columns: 72px 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid #edf1f6; }
	.ngp-cart__table td { border: 0; padding: 2px 0; }
	.ngp-cart__thumb { grid-row: span 4; }
	.ngp-cart__remove { grid-column: 3; grid-row: 1; }
	.ngp-cart__table td[data-label]:not(.ngp-cart__name)::before { content: attr(data-label) ": "; color: var(--ngp-muted); font-size: 13px; }
}

/* ---------- Thanh toán ---------- */
.ngp-checkout__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 860px) { .ngp-checkout__grid { grid-template-columns: 1fr; } }
.ngp-checkout h3 { margin: 0 0 16px; color: var(--ngp-primary); font-size: 20px; }
.ngp-field { margin: 0 0 14px; }
.ngp-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.ngp-field abbr { color: var(--ngp-sale); text-decoration: none; border: 0; }
.ngp-field small { color: var(--ngp-muted); font-weight: 400; }
.ngp-field input, .ngp-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #d6dee8; border-radius: 6px; font-size: 15px; font-family: inherit; }
.ngp-field input:focus, .ngp-field textarea:focus { border-color: var(--ngp-primary); outline: none; box-shadow: 0 0 0 3px rgba(29, 79, 160, .12); }
.ngp-hp { position: absolute !important; left: -9999px !important; }
.ngp-checkout__summary { background: var(--ngp-card-bg); border: 1px solid var(--ngp-card-border); border-radius: var(--ngp-radius); padding: 20px; }
.ngp-summary-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; }
.ngp-summary-table td, .ngp-summary-table th { padding: 8px 0; border-bottom: 1px solid var(--ngp-card-border); text-align: left; font-weight: 400; }
.ngp-summary-table td:last-child { text-align: right; white-space: nowrap; }
.ngp-summary-table__total th, .ngp-summary-table__total td { font-size: 17px; font-weight: 700 !important; color: var(--ngp-sale); border-bottom: 0; }
.ngp-payment { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.ngp-payment__option { display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--ngp-card-border); border-radius: 6px; padding: 10px 12px; cursor: pointer; }
.ngp-alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; }
.ngp-alert ul { margin: 0; padding-left: 18px; }
.ngp-alert--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.ngp-alert--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.ngp-alert--success p { margin: 6px 0 0; }
.ngp-bank { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 16px 18px; margin-bottom: 20px; }
.ngp-bank h3 { margin: 0 0 8px; }
.ngp-thankyou .ngp-order-detail { margin-bottom: 24px; }

/* ---------- Icon giỏ hàng ---------- */
.ngp-cart-icon { position: relative; display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.ngp-cart-count { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ngp-sale); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ngp-cart-count[data-count="0"] { display: none; }
.ngp-cart-icon.is-bump .ngp-cart-count { animation: ngp-bump .4s; }
@keyframes ngp-bump { 50% { transform: scale(1.4); } }

/* ---------- Toast ---------- */
.ngp-toast { position: fixed; right: 20px; bottom: 20px; z-index: 99999; max-width: calc(100vw - 40px); width: 340px; background: #fff; border-left: 4px solid #16a34a; border-radius: 8px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); padding: 14px 16px; font-size: 14px; color: var(--ngp-text); transform: translateY(20px); opacity: 0; transition: all .25s; }
.ngp-toast.is-visible { transform: none; opacity: 1; }
.ngp-toast.is-error { border-left-color: var(--ngp-sale); }
.ngp-toast__actions { display: flex; gap: 8px; margin-top: 10px; }
.ngp-toast__actions .ngp-btn { padding: 7px 12px; font-size: 13px; }
