/* ==========================================================================
   EGA Spa (site_key egaspa) — element trang chủ + tinh chỉnh header. Chỉ tác động tới class riêng (.bed-eg*) hoặc body.bed-site-egaspa.
   Số đo lấy từ https://ega-beauty-spa.mysapo.net ở 1440 / 375.
   ========================================================================== */
.bed-eg-h, .bed-eg-h a { font-family: var(--bed-font-heading); font-weight: 400; font-size: 28px; line-height: 1.3; letter-spacing: -0.004em; color: #000; text-transform: none; margin: 0; }
.bed-eg-h b, .bed-eg-h a b { font-weight: 700; color: var(--bed-primary); }
@media (min-width: 768px) { .bed-eg-h, .bed-eg-h a { font-size: 40px; } }
.bed-egi, .bed-egs, .bed-ega, .bed-egf, .bed-egl, .bed-egba, .bed-egv-wrap, .bed-egq, .bed-egr, .bed-egc-wrap, .bed-egb { color: #000; font-size: 14px; line-height: 20px; letter-spacing: -0.004em; }
.bed-egi p { margin-bottom: 0; }
.bed-egc__slider, .bed-egb__slider, .bed-egv__slider, .bed-egr__slider { --bed-dots-space: 0px; }

/* nút "Xem tất cả" (viền + chấm tròn mũi tên) */
body.bed-theme .bed-eg-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1px solid var(--bed-primary); border-radius: 9999px; background: transparent; color: var(--bed-primary); font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none; transition: background-color .2s, color .2s; }
body.bed-theme .bed-eg-btn:hover { background: var(--bed-primary); color: #fff; }
.bed-eg-btn__i { min-height: 36px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: 9999px; background: var(--bed-primary); color: #fff; }
.bed-eg-btn__i svg { width: 16px; height: 16px; }
@media (min-width: 768px) { .bed-eg-btn__i { padding: 12px 20px; min-height: 44px; } }
body.bed-theme .bed-eg-btn:hover .bed-eg-btn__i { background: #fff; color: var(--bed-primary); }

/* ---------- ảnh + chữ (nền chia 1/3 – 2/3) ---------- */
.bed-egi__grid { display: grid; grid-template-columns: 1fr; }
.bed-egi__img { padding: 24px 0; }
.bed-egi__img img { display: block; width: 100%; max-width: 594px; aspect-ratio: 594 / 504; object-fit: contain; height: auto; }
.bed-egi__body { order: -1; margin: 0 -12px; padding: 24px 12px; background: var(--egi-bg, #f1e4f0); }
.bed-egi__title { margin-bottom: 16px; }
@media (min-width: 768px) {
	.bed-egi { background: linear-gradient(to right, #fff 33.333%, var(--egi-bg, #f1e4f0) 33.333%); }
	.bed-egi__grid { grid-template-columns: 1fr 1fr; align-items: center; }
	.bed-egi__img { padding: 56px 0; }
	.bed-egi__body { order: 0; margin: 0; padding: 56px 0 56px 32px; background: transparent; }
}

/* ---------- thẻ số liệu + 3 mục icon ---------- */
.bed-egs { padding: 32px 0; overflow: hidden; }
.bed-egs__bg { display: none; position: absolute; right: 0; top: 0; z-index: 0; width: 434px; pointer-events: none; }
.bed-egs__bg img { display: block; width: 100%; height: auto; object-fit: contain; }
.bed-egs .bed-container { position: relative; z-index: 1; padding: 0; }
.bed-egs__row { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 12px; align-items: center; }
.bed-egs__card { padding: 16px; border-radius: 20px; background: var(--bed-primary); color: #fff; text-align: center; }
.bed-egs__num { margin: 0; font-family: var(--bed-font-body); font-size: 40px; line-height: 52px; font-weight: 600; letter-spacing: -0.056px; color: #fff; text-transform: none; }
.bed-egs__items { display: flex; justify-content: space-between; gap: 12px; }
.bed-egs__item { text-align: center; }
.bed-egs__ico { display: block; width: 64px; margin: 0 auto; }
.bed-egs__ico img { display: block; width: 64px; height: 64px; object-fit: contain; }
.bed-egs__name { display: block; margin-top: 8px; font-weight: 600; }
@media (min-width: 768px) {
	.bed-egs { padding: 100px 0; }
	.bed-egs__bg { display: block; }
	.bed-egs .bed-container { padding: 0 12px; }
	.bed-egs__row { grid-template-columns: 3fr 9fr; gap: 32px; padding: 0; }
	.bed-egs__card { padding: 24px; text-align: left; }
	.bed-egs__items { justify-content: flex-start; gap: 32px; }
	.bed-egs__item { flex: 0 0 calc(30% - 32px); text-align: left; }
	.bed-egs__ico { margin: 0; }
}

/* ---------- giới thiệu + số đếm ---------- */
.bed-ega { overflow: hidden; }
.bed-ega__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.bed-ega__left > * + * { margin-top: 16px; }
.bed-ega__img1 img { display: block; width: 100%; height: auto; object-fit: contain; }
.bed-ega__nums { display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; gap: 12px 32px; }
.bed-ega__num { text-align: center; }
.bed-ega__count { font-size: 48px; line-height: 62.4px; font-weight: 600; color: var(--bed-primary); }
.bed-ega__right img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
@media (min-width: 768px) {
	.bed-ega__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.bed-ega__left > * + * { margin-top: 24px; }
	.bed-ega__right img { width: auto; max-height: 508px; }
}

/* ---------- vé giảm giá ---------- */
.bed-egc-slider { --bed-arrow-size: 40px; }
.bed-egc-slider .bed-slider > div.bed-slide, .bed-egc-slider .flickity-slider > div.bed-slide { width: 100% !important; margin: 0 12px 0 0; padding: 0 !important; }
@media (min-width: 768px) { .bed-egc-slider .bed-slider > div.bed-slide, .bed-egc-slider .flickity-slider > div.bed-slide { width: calc((100% - (var(--egc-cols, 3) - 1) * 32px) / var(--egc-cols, 3)) !important; margin-right: 32px; } }
.bed-egc { position: relative; height: 178px; box-sizing: border-box; padding: 20px 24px 20px 68px; border-radius: 4px; background: #fff; }
.bed-egc__dots { position: absolute; left: -10px; top: 0; bottom: 0; z-index: 2; width: 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.bed-egc__dots span { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--bed-bg-body); }
.bed-egc__label { position: absolute; left: 0; top: 0; bottom: 0; width: 44px; box-sizing: border-box; padding: 7px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; }
.bed-egc__label span { display: block; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.bed-egc__code { font-weight: 600; }
.bed-egc__sum { height: 40px; margin-top: 4px; overflow: hidden; }
.bed-egc__exp { font-weight: 600; }
.bed-egc__act { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 20px; }
.bed-egc__act button { box-sizing: border-box; height: 34px; margin: 0; padding: 6px 19px; border: .8px solid #ee1926; border-radius: 9999px; background: transparent; color: #ee1926; font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.004em; text-transform: none; cursor: pointer; box-shadow: none; }
.bed-egc__act button.bed-egc__copy { border-color: #ebebeb; background: #ebebeb; color: #464646; }
.bed-egc-slider .flickity-page-dots { height: 0; margin-top: 8px !important; }

/* ---------- sản phẩm nổi bật (lưới 4 cột) ---------- */
.bed-egf__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bed-egf__intro { grid-column: span 2; min-width: 0; }
.bed-egf__intro .bed-eg-h { margin-bottom: 20px; }
.bed-egf__text { margin-bottom: 20px; }
.bed-egf__item { min-width: 0; }
@media (min-width: 1024px) { .bed-egf__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }

/* ---------- slider banner ---------- */
.bed-egb__in { padding: 0 12px; }
.bed-egb__slider { --bed-arrow-size: 40px; }
.bed-egb__slider.bed-slider > div.bed-slide, .bed-egb__slider .flickity-slider > div.bed-slide { width: 100% !important; margin: 0 12px 0 0; padding: 0 !important; border-radius: 4px; overflow: hidden; }
.bed-egb__slider .bed-slide img, .bed-egb__slider .bed-slide a { display: block; width: 100%; height: auto; }
.bed-egb__slider .flickity-page-dots { height: 0; margin-top: 0 !important; }
@media (min-width: 1024px) {
	.bed-egb__in { padding: 0; }
	.bed-egb__slider.bed-slider > div.bed-slide, .bed-egb__slider .flickity-slider > div.bed-slide { width: 1120px !important; max-width: calc(100% - 64px); margin-right: 24px; border-radius: 0; }
	.bed-egb__slider .flickity-page-dots { height: 20px; margin-top: 0 !important; align-items: center; }
}

/* ---------- danh mục sản phẩm (lưới thẻ) ---------- */
.bed-egl__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 28px; }
.bed-egl__title { font-weight: 300; }
.bed-egl__all { display: none !important; margin-top: 20px; }
.bed-egl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bed-egl__item { position: relative; display: block; overflow: hidden; border-radius: 20px; background: #fff; color: #000; text-decoration: none; }
.bed-egl__count { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 0 8px; border-radius: 9999px; background: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 600; line-height: 16px; }
.bed-egl__thumb { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.bed-egl__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.bed-egl__item:hover .bed-egl__thumb img { transform: scale(1.05); }
.bed-egl__info { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; }
.bed-egl__name { flex: 1; min-width: 0; font-size: 14px; line-height: 21px; font-weight: 600; text-align: left; }
.bed-egl__go { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9999px; background: var(--bed-primary); color: #fff; }
.bed-egl__go svg { width: 16px; height: 16px; }
.bed-egl__foot { margin-top: 20px; text-align: center; }
@media (min-width: 768px) { .bed-egl__all { display: inline-flex !important; } .bed-egl__foot { display: none; } .bed-egl__info { padding: 16px 20px; } }
@media (min-width: 1024px) { .bed-egl__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }

/* ---------- chi tiết 1 sản phẩm trên trang chủ ---------- */
.bed-egp-wrap .bed-pd { margin: 0; }

/* ---------- so sánh trước / sau ---------- */
.bed-egba { padding: 120px 0; }
@media (min-width: 768px) { .bed-egba { padding: calc(100vw * 434 / 1440) 0; } }
.bed-egba__bg { position: absolute; inset: 0; z-index: 0; display: block; overflow: hidden; }
.bed-egba__bg img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.bed-egba__in { position: relative; z-index: 1; }
.bed-egba__head { max-width: 83.333%; margin: 0 auto 24px; text-align: center; }
.bed-egba__labels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: center; margin-top: 0; }
.bed-egba__labels .bed-eg-h { font-size: 28px; color: var(--bed-primary); }
@media (min-width: 768px) { .bed-egba__labels { gap: 32px; } .bed-egba__labels .bed-eg-h { font-size: 48px; line-height: 62.4px; } }
.bed-egba__cmp { position: relative; overflow: hidden; margin: 0 0 4px; touch-action: pan-y; user-select: none; -webkit-user-select: none; --egba-pos: 50%; }
.bed-egba__cmp img { display: block; width: 100%; height: auto; max-width: none; object-fit: cover; pointer-events: none; }
.bed-egba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--egba-pos)) 0 0); }
.bed-egba__before img { height: 100%; }
.bed-egba__bar { position: absolute; top: 0; bottom: 0; left: var(--egba-pos); z-index: 2; width: 2px; margin-left: -1px; background: #fff; cursor: ew-resize; }
.bed-egba__bar::before { content: ''; position: absolute; top: 0; bottom: 0; left: -14px; right: -14px; }
.bed-egba__knob { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; color: #333; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }

/* ---------- gói dịch vụ ---------- */
.bed-egv-slider { --bed-arrow-size: 40px; }
.bed-egv-slider .bed-slider > div.bed-slide, .bed-egv-slider .flickity-slider > div.bed-slide { width: 100% !important; margin: 0 12px 0 0; padding: 0 !important; }
.bed-egv { display: block; color: #000; text-decoration: none; }
.bed-egv__card { display: flex; flex-direction: column; gap: 12px; }
.bed-egv__img { order: -1; border-radius: 20px; overflow: hidden; }
.bed-egv__img img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.bed-egv__body { padding: 20px; border-radius: 20px; background: #fff; }
.bed-egv__sub { font-size: 20px; line-height: 26px; color: #999; }
.bed-egv__title { font-family: var(--bed-font-heading); font-size: 28px; line-height: 36.4px; color: var(--bed-primary); letter-spacing: -0.004em; }
.bed-egv__text { margin: 16px 0; padding-left: 12px; }
.bed-egv__info { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.bed-egv__ii { text-align: center; }
.bed-egv__il { font-weight: 600; }
.bed-egv__in { font-size: 48px; line-height: 62.4px; font-weight: 600; color: var(--bed-primary); }
@media (min-width: 1024px) {
	.bed-egv-slider .bed-slider > div.bed-slide, .bed-egv-slider .flickity-slider > div.bed-slide { margin-right: 0; padding: 0 90px 0 0 !important; box-sizing: border-box; }
	.bed-egv { width: 83.333%; margin: 0 auto; }
	.bed-egv__card { position: relative; flex-direction: row; align-items: center; gap: 0; padding: 24px 36px; border-radius: 20px; background: #fff; }
	.bed-egv__body { width: 59.8%; min-height: 400px; display: flex; flex-direction: column; justify-content: center; padding: 0; background: transparent; }
	.bed-egv__img { position: absolute; right: -54px; top: 50%; width: 300px; height: 300px; margin-top: -150px; order: 0; }
	.bed-egv__img img { height: 100%; }
	.bed-egv__title { font-size: 48px; line-height: 62.4px; }
	.bed-egv__info { flex-wrap: nowrap; gap: 32px; }
}

/* ---------- hỏi đáp ---------- */
.bed-egq__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.bed-egq__img img { display: block; width: 100%; max-width: 420px; height: auto; }
.bed-egq__title { margin-bottom: 24px; }
.bed-egq__item { padding: 20px 0; }
.bed-egq__item + .bed-egq__item { border-top: 1px solid #ebebeb; }
.bed-egq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.bed-egq__item summary::-webkit-details-marker { display: none; }
.bed-egq__item summary svg { flex: none; width: 16px; height: 16px; transition: transform .2s; }
.bed-egq__item[open] summary svg { transform: rotate(90deg); }
.bed-egq__a { margin-top: 16px; }
@media (min-width: 768px) {
	.bed-egq__grid { grid-template-columns: 5fr 7fr; gap: 32px; }
	.bed-egq__title { margin-bottom: 40px; }
}

/* ---------- logo thương hiệu ---------- */
.bed-egr__box { overflow: hidden; padding: 20px; border-radius: 20px; background: #fff; }
.bed-egr__box .bed-slider > div.bed-slide, .bed-egr__box .flickity-slider > div.bed-slide { width: calc((100% - 8px) / 2) !important; margin: 0 8px 0 0; padding: 0 !important; }
.bed-egr__item { display: flex; align-items: center; justify-content: center; }
.bed-egr__item img { display: block; width: 179px; max-width: 100%; height: auto; }
@media (min-width: 768px) { .bed-egr__box .bed-slider > div.bed-slide, .bed-egr__box .flickity-slider > div.bed-slide { width: calc((100% - 32px) / 5) !important; } }

/* ==========================================================================
   Header / topbar riêng của egaspa
   ========================================================================== */
body.bed-site-egaspa .bed-hdr { min-height: 68px; padding: 0; }
body.bed-site-egaspa .bed-hdr__logo { max-width: none; }
body.bed-site-egaspa .bed-hdr__logo img { display: block; width: auto; max-width: 100%; height: 40px; }
body.bed-site-egaspa .bed-hdr .bed-nav__item { padding: 14px 20px; }
body.bed-site-egaspa .bed-hdr .bed-nav__link { padding: 0; font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.004em; }
@media (min-width: 768px) { body.bed-site-egaspa .bed-hdr { min-height: 76px; } }
@media (min-width: 1024px) and (max-width: 1279px) {
	body.bed-site-egaspa .bed-hdr .bed-hamburger { display: inline-flex; }
	body.bed-site-egaspa .bed-hdr__nav { display: none; }
}
@media (min-width: 1280px) { body.bed-site-egaspa .bed-hdr__inner { grid-template-columns: 2fr 7fr auto; } }
/* trang chủ: header trong suốt đè lên ảnh slider (≥976px), như mẫu; cuộn xuống thì nền trắng (is-stuck) */
@media (min-width: 976px) {
	body.bed-site-egaspa.home #header.bed-header { position: fixed; top: 0; left: 0; right: 0; background: transparent; }
	body.bed-site-egaspa.home #header.bed-header.is-stuck { background: #fff; }
	body.admin-bar.bed-site-egaspa.home #header.bed-header { top: 32px; }
}

/* ---------- Flash Sale (thanh màu + hàng sản phẩm) ---------- */
.bed-egfl { color: #000; font-size: 14px; }
.bed-egfl > .bed-container:first-child { padding: 0; }
.bed-egfl__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding: 16px 24px; background: var(--egfl-bg); color: #fff; }
@media (min-width: 768px) { .bed-egfl > .bed-container:first-child { padding: 0 12px; } .bed-egfl__bar { justify-content: flex-start; border-radius: var(--egfl-radius, 20px); } }
.bed-egfl__timer { flex: none; }
.bed-egfl__timer .bed-countdown__row { gap: 20px; justify-content: flex-start; }
.bed-egfl__timer .bed-countdown__label { font-size: 14px; line-height: 18px; color: #fff; opacity: 1; text-align: center; max-width: none; }
.bed-egfl__timer .bed-countdown__label b { font-weight: 700; }
.bed-egfl .bed-ctd { gap: 8px; --bed-ctd-bg: var(--egfl-tbg); --bed-ctd-color: #fff; }
.bed-egfl .bed-ctd__dot { display: none !important; }
.bed-egfl .bed-ctd__item { box-sizing: border-box; width: 44px; padding: 6px 4px; border-radius: 4px; background: var(--egfl-tbg); color: #fff; text-align: center; }
.bed-egfl .bed-ctd__num { font-size: 20px; line-height: 28px; font-weight: 600; }
.bed-egfl .bed-ctd__item > span { margin-top: 0; font-size: 14px; line-height: 18px; opacity: 1; text-transform: none; color: #fff; }
@media (min-width: 768px) { .bed-egfl .bed-ctd__item { width: 52px; } .bed-egfl .bed-ctd__num { font-size: 28px; } }
.bed-egfl__head { display: flex; align-items: center; gap: 8px; }
.bed-egfl__ico img { display: block; width: 24px; height: auto; }
.bed-egfl__title, .bed-egfl__title a { margin: 0; font-family: var(--bed-font-body); font-size: 20px; line-height: 25px; font-weight: 700; letter-spacing: -0.056px; color: #fff; text-transform: none; text-align: center; }
@media (min-width: 768px) { .bed-egfl__ico img { width: 48px; } .bed-egfl__title, .bed-egfl__title a { font-size: 48px; line-height: 62.4px; } }
.bed-egfl__body { padding-top: 16px; padding-bottom: 16px; }
.bed-egfl__slider { display: none; --bed-arrow-size: 44px; }
.bed-egfl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) {
	.bed-egfl__body { padding-top: 72px; padding-bottom: 56px; }
	.bed-egfl__slider { display: block; }
	.bed-egfl__grid { display: none; }
}
.bed-egfl__flk { --bed-dots-space: 0px; }
.bed-egfl__flk.bed-slider > div.bed-slide, .bed-egfl__flk .flickity-slider > div.bed-slide { width: calc((100% - 96px) / 4) !important; margin: 0 32px 0 0; padding: 0 !important; }

/* ---------- tin tức (lưới thẻ) ---------- */
.bed-egn { color: #000; font-size: 14px; line-height: 20px; letter-spacing: -0.004em; }
.bed-egn__head { margin-bottom: 24px; text-align: center; }
.bed-egn__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1024px) { .bed-egn__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.bed-egn { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; }
.bed-egn__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; }
.bed-egn__img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .3s; }
.bed-egn:hover .bed-egn__img img { transform: scale(1.05); }
.bed-egn__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.bed-egn__t, .bed-egn__t a { font-weight: 600; }
.bed-egn__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; min-height: 40px; }
.bed-egn__d { display: none; color: #999; overflow: hidden; }
.bed-egn__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid #ebebeb; }
.bed-egn__date { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #999; white-space: nowrap; }
.bed-egn__go { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9999px; background: var(--bed-primary); color: #fff !important; }
.bed-egn__go svg { width: 16px; height: 16px; }
.bed-egn__more { margin-top: 20px; text-align: center; }
@media (min-width: 768px) {
	.bed-egn__body { gap: 16px; padding: 16px; }
	.bed-egn__d { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; height: 63px; }
	.bed-egn__date { font-size: 14px; }
}

/* ---------- chi tiết 1 sản phẩm trên trang chủ: thẻ trắng 2 cột bằng nhau, bỏ chính sách + chia sẻ ---------- */
.bed-egp .bed-pd__grid { max-width: none; gap: 0; background: #fff; border-radius: 20px; overflow: hidden; }
@media (min-width: 1024px) { .bed-egp .bed-pd__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.bed-egp .bed-pd__gallery, .bed-egp .bed-pd__info { position: static !important; }
.bed-egp .bed-pd__info-in { padding: 24px 12px; }
.bed-egp .bed-policy { display: none; }
.bed-egp-wrap { padding-bottom: 20px; }
/* mega "Gói dịch vụ": hộp 708px canh giữa dưới menu (4 cột tiêu đề + liên kết), như mẫu */
@media (min-width: 1280px) {
	body.bed-site-egaspa .bed-hdr .bed-mega { left: calc(50% - 354px); width: 708px; border-radius: 0 0 20px 20px; }
	body.bed-site-egaspa .bed-mega__cols { gap: 12px; padding: 20px 12px; }
	body.bed-site-egaspa .bed-mega__title a { font-weight: 600; font-size: 14px; }
	body.bed-site-egaspa .bed-hdr .bed-mega__link a { font-size: 14px; }
}

/* hero: chấm điều hướng nằm trên ảnh (không chiếm chiều cao) */
body.bed-site-egaspa .bed-hero__wrap.has-dots { padding-bottom: 0; }
body.bed-site-egaspa .bed-hero__slider .flickity-page-dots { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; }
/* logo thương hiệu: ô rộng 179px kể cả trên điện thoại (như mẫu) */
.bed-egr__box { padding-bottom: 28px; }
.bed-egr__box .bed-slider > div.bed-slide, .bed-egr__box .flickity-slider > div.bed-slide { width: 179px !important; }
@media (min-width: 768px) { .bed-egr__box { padding-bottom: 20px; } .bed-egr__box .bed-slider > div.bed-slide, .bed-egr__box .flickity-slider > div.bed-slide { width: calc((100% - 32px) / 5) !important; } }
.bed-egl__name { line-height: 20px; }
@media (min-width: 768px) { .bed-egl__name { line-height: 21px; } }
