/* ==========================================================================
   Trang chủ mẫu "jewel" (clone Sudes Jewelry → In Bao Lì Xì) — chỉ áp cho element ad_jewel_* và header trang chủ.
   Màu lấy từ trang cài đặt: --ad-primary (nền menu/nút), --ad-accent (nhấn/giá), --ad-price.
   ========================================================================== */
.ad-jw, .ad-jw-hextra, body.home #top-bar {
	--jw-main: var(--ad-primary);
	--jw-sub: var(--ad-accent);
	--jw-text: #2b2523;
	--jw-cream: #fff3dc;
}
.ad-jw { color: var(--jw-text); }
.ad-jw .ad-container { max-width: 1418px; padding: 0 14px; margin: 0 auto; }
.ad-jw a { text-decoration: none; }
.ad-jw h2, .ad-jw h3 { margin: 0; color: inherit; text-transform: none; letter-spacing: 0; }
.ad-jw .ad-empty { text-align: center; padding: 30px 0; }

/* ---------- tiêu đề + nút "Xem thêm" ---------- */
.ad-jw-title { font-size: 40px; font-weight: 500; line-height: 1.4; text-align: center; text-transform: uppercase; margin: 0 0 15px; color: var(--jw-text); }
.ad-jw-title a { color: inherit; }
.ad-jw-title a:hover { color: var(--jw-sub); }
.ad-jw-more { text-align: center; margin-top: 25px; }
.ad-jw-more a { display: inline-block; height: 40px; line-height: 38px; padding: 0 30px; border: 1px solid var(--jw-main); border-radius: 30px; color: var(--jw-main); font-size: 16px; font-weight: 500; background: transparent; transition: .25s; }
.ad-jw-more a:hover { background: var(--jw-main); color: #fff; }
@media (max-width: 1199px) { .ad-jw-title { font-size: 32px; } }
@media (max-width: 991px) { .ad-jw-title { font-size: 24px; } }
@media (max-width: 767px) { .ad-jw-title { font-size: 20px; } .ad-jw-more { margin-top: 15px; } }

/* ---------- chấm phân trang (Flickity) ---------- */
.ad-jw .flickity-page-dots { position: static; bottom: auto; display: flex; justify-content: center; gap: 2px; margin: 10px 0 0; padding: 0; line-height: 1; }
.ad-jw .flickity-page-dots .dot { width: 14px; height: 14px; margin: 0; border: 1px solid #ddd; background: #fff; opacity: 1; border-radius: 50%; }
.ad-jw .flickity-page-dots .dot.is-selected { background: var(--jw-main); border-color: var(--jw-main); }

/* ---------- THẺ SẢN PHẨM ---------- */
.ad-jw-card { position: relative; width: 100%; background: #fff; border-radius: 10px; box-shadow: 0 0 6px rgba(50, 50, 93, .15), 1px 1px 5px rgba(0, 0, 0, .05); overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.ad-jw-card__thumb { position: relative; aspect-ratio: 1; overflow: hidden; }
.ad-jw-card__imgs { display: block; width: 100%; height: 100%; position: relative; }
.ad-jw-card__imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; margin: 0; transition: opacity .5s ease, transform .5s ease; }
.ad-jw-card__imgs img.is-2 { opacity: 0; }
.ad-jw-card:hover .ad-jw-card__imgs img.is-2 { opacity: 1; }
.ad-jw-card:hover .ad-jw-card__imgs:has(.is-2) img.is-1 { opacity: 0; }
.ad-jw-card__badge { position: absolute; top: 10px; left: 10px; z-index: 3; height: 30px; padding: 0 15px; display: inline-flex; align-items: center; background: var(--jw-sub); color: #fff; font-size: 14px; font-weight: 500; border-radius: 10px 5px 20px 0; }
.ad-jw-card__wish { position: absolute; top: 5px; right: 5px; z-index: 3; width: 36px; height: 36px; padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; display: flex; align-items: center; justify-content: center; color: #111; cursor: pointer; transition: .2s; }
.ad-jw-card__wish .ad-ico { width: 24px; height: 24px; fill: currentColor; }
.ad-jw-card__wish .ad-ico-heart-f { display: none; }
.ad-jw-card__wish.is-active .ad-ico-heart { display: none; }
.ad-jw-card__wish.is-active .ad-ico-heart-f { display: block; color: #d6336c; }
.ad-jw-card__wish:hover { background: var(--jw-sub); color: #111; }
.ad-jw-card__tag { position: absolute; left: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: stretch; height: 37px; max-width: 100%; font-family: var(--ad-font); }
.ad-jw-card__tag b { display: flex; align-items: center; padding: 0 12px 0 11px; background: linear-gradient(180deg, #d9453d, #a8232b); color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.3px; border-radius: 0 12px 0 0; }
.ad-jw-card__tag i { display: flex; align-items: center; padding: 0 16px 0 10px; background: linear-gradient(180deg, #f8dc95, #e8b24d); color: #7a4a12; font-size: 18px; font-weight: 800; font-style: italic; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); margin-left: -10px; padding-left: 20px; }
.ad-jw-card__tag:has(b:empty) b { display: none; }
.ad-jw-card__info { padding: 10px; background: #fff; display: flex; flex-direction: column; flex: 1; }
.ad-jw-card__name { font-size: 14px; font-weight: 400; line-height: 20px; margin: 0 0 8px; min-height: 40px; }
.ad-jw-card__name a { color: var(--jw-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-jw-card__name a:hover { color: var(--jw-sub); }
.ad-jw-card__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; }
.ad-jw-card__price { display: flex; flex-direction: column; line-height: 1.25; }
.ad-jw-card__price .ad-price { font-size: 16px; font-weight: 700; color: var(--ad-price, var(--jw-sub)); }
.ad-jw-card__price .ad-price .amount, .ad-jw-card__price .ad-price bdi { font-weight: 700; }
.ad-jw-card__price del { font-size: 12px; font-weight: 400; color: #9aa5b3; text-decoration: line-through; opacity: 1; }
.ad-jw-card__price del .amount, .ad-jw-card__price del bdi { font-weight: 400; }
.ad-jw-card__btns { display: flex; gap: 8px; }
.ad-jw-card__btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--jw-main); color: #fff !important; transition: .25s; flex: none; }
.ad-jw-card__btn .ad-ico { width: 18px; height: 18px; fill: #fff; }
.ad-jw-card__btn:hover { background: var(--jw-sub); }
.ad-jw-card__btn.loading { opacity: .6; }
.ad-jw-card__btn.added { background: var(--jw-sub); }
.ad-jw-card__btn + a.added_to_cart { display: none; }
.ad-jw-card__sold { margin-top: 8px; }
.ad-jw-card__sold-t { display: flex; align-items: flex-end; font-size: 12px; line-height: 15px; color: #333; gap: 4px; }
.ad-jw-card__sold-t .ad-ico { width: 16px; height: 16px; fill: #e8591c; }
.ad-jw-card__sold-bar { display: block; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--jw-sub) 45%, #fff); margin-top: 5px; overflow: hidden; }
.ad-jw-card__sold-bar span { display: block; height: 100%; border-radius: 3px; background: var(--jw-flash, var(--jw-main)); }
@media (max-width: 767px) {
	.ad-jw-card__price .ad-price { font-size: 14px; }
	.ad-jw-card__tag { height: 27px; }
	.ad-jw-card__tag b { font-size: 16px; padding: 0 9px; }
	.ad-jw-card__tag i { font-size: 13px; padding-right: 12px; padding-left: 16px; }
	.ad-jw-card__btn { width: 32px; height: 32px; }
}

/* lưới/slider dùng chung thẻ jewel */
.ad-jw-grid .ad-grid__cell { align-items: stretch; }
.ad-jw-grid .ad-grid__cell > .ad-jw-card { width: 100%; }
.ad-jw .ad-grid--slider .flickity-viewport { overflow: hidden; padding: 0; }
.ad-jw .ad-grid--slider.flickity-enabled .flickity-viewport { margin: 0; }

/* ---------- DẢI MÃ KHUYẾN MÃI ---------- */
.ad-jw-cp { background: var(--jw-cp-bg, var(--jw-cream)); padding: 15px 0; }
.ad-jw-cp__row { max-width: 1418px; margin: 0 auto; padding: 0 14px; }
.ad-jw-cp__in { display: flex; align-items: center; }
.ad-jw-cp__left { flex: 0 0 58.3333%; max-width: 58.3333%; display: flex; align-items: center; min-width: 0; padding-right: 15px; }
.ad-jw-cp__right { flex: 1; display: flex; align-items: center; padding-left: 28px; position: relative; min-width: 0; }
.ad-jw-cp__right::before { content: ""; position: absolute; left: 0; top: 50%; height: 36px; margin-top: -18px; border-left: 1px solid #222; }
.ad-jw-cp__head { text-align: center; min-width: 250px; margin-right: 10px; line-height: 1.2; flex: none; }
.ad-jw-cp__head h2 { color: #000; font-weight: 700; font-size: 24px; line-height: 1; margin: 0 0 5px; }
.ad-jw-cp__head span { display: block; font-size: 14px; line-height: 1.3; }
.ad-jw-cp__list { flex: 1; min-width: 0; position: relative; padding: 0 28px; }
.ad-jw-cp__cell, .ad-jw-cp__list .flickity-slider > .ad-jw-cp__cell { width: 258px !important; padding: 0 16px 0 0 !important; }
.ad-jw-cp__list .flickity-viewport { overflow: hidden; }
.ad-jw-cp__list .flickity-prev-next-button { width: 22px; height: 22px; background: transparent !important; top: 50%; transform: translateY(-50%); box-shadow: none; }
.ad-jw-cp__list .flickity-prev-next-button.previous { left: 0; }
.ad-jw-cp__list .flickity-prev-next-button.next { right: 0; }
.ad-jw-cp__list .flickity-prev-next-button svg { left: 0; top: 0; width: 100%; height: 100%; }
.ad-jw-cp__list .flickity-prev-next-button .arrow { fill: #333; }
.ad-jw-coupon { display: flex; align-items: center; gap: 10px; position: relative; height: 55px; padding: 5px 15px; border: 1.5px solid #222; border-radius: 8px; background: #fff0; }
.ad-jw-coupon::before, .ad-jw-coupon::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--jw-cp-bg, var(--jw-cream)); border: 1.5px solid #222; }
.ad-jw-coupon::before { left: -6px; clip-path: inset(0 0 0 50%); }
.ad-jw-coupon::after { right: -6px; clip-path: inset(0 50% 0 0); }
.ad-jw-coupon__img { width: 45px; height: 45px; flex: none; display: block; }
.ad-jw-coupon__img img { width: 45px; height: 45px; object-fit: contain; display: block; }
.ad-jw-coupon__big { font-size: 20px; font-weight: 700; color: #000; line-height: 1; white-space: nowrap; flex: none; }
.ad-jw-coupon__txt { flex: 1; font-size: 14px; line-height: 17px; color: var(--jw-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-width: 0; }
.ad-jw-coupon__btn { flex: none; height: 24px; padding: 2px 12px; border: 0; border-radius: 5px; background: var(--jw-sub); color: #fff; font-size: 12px; font-weight: 500; line-height: 20px; cursor: pointer; margin: 0; min-height: 0; text-transform: none; letter-spacing: 0; }
.ad-jw-coupon__btn:hover, .ad-jw-coupon__btn.is-done { background: var(--jw-main); }
.ad-jw-cp__one .ad-jw-coupon { width: 215px; }
@media (max-width: 1199px) { .ad-jw-cp__head { min-width: 210px; } .ad-jw-cp__head h2 { font-size: 20px; } .ad-jw-cp__left { flex-basis: 62%; max-width: 62%; } }
@media (max-width: 991px) {
	.ad-jw-cp__in { flex-direction: column; }
	.ad-jw-cp__left, .ad-jw-cp__right { flex: none; max-width: 100%; width: 100%; padding: 0; flex-direction: column; }
	.ad-jw-cp__right { margin-top: 12px; }
	.ad-jw-cp__right::before { display: none; }
	.ad-jw-cp__head { min-width: 100%; margin: 0 0 5px; }
	.ad-jw-cp__head h2 { font-size: 18px; }
	.ad-jw-cp__head span { font-size: 12px; }
	.ad-jw-cp__list { width: 100%; }
	.ad-jw-cp__cell { width: 240px; }
	.ad-jw-cp__one { display: flex; justify-content: center; width: 100%; }
}

/* ---------- DANH MỤC TRÒN ---------- */
.ad-jw-cats .ad-grid { --ad-gap: 30px; }
.ad-jw-cat { width: 100%; text-align: center; }
.ad-jw-cat__img { display: block; position: relative; width: 84%; margin: 0 auto; padding-bottom: 84%; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid #eee; }
.ad-jw-cat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ad-jw-cat:hover .ad-jw-cat__img img { transform: scale(1.05); }
.ad-jw-cat__name { font-size: 16px; font-weight: 600; line-height: 1.4; margin: 10px 0 4px; }
.ad-jw-cat__name a { color: var(--jw-text); }
.ad-jw-cat__name a:hover { color: var(--jw-main); }
.ad-jw-cat__status { position: relative; height: 27px; font-size: 16px; color: #616161; }
.ad-jw-cat__status > * { position: absolute; left: 0; top: 0; width: 100%; transition: .3s; color: #616161; }
.ad-jw-cat__status .is-more { opacity: 0; visibility: hidden; transform: translateY(-100%); text-decoration: underline; }
.ad-jw-cat:hover .is-more { opacity: 1; visibility: visible; transform: none; color: var(--jw-main); }
.ad-jw-cat:hover .is-count { opacity: 0; visibility: hidden; transform: translateY(100%); }
@media (max-width: 767px) {
	.ad-jw-cats .ad-grid { --ad-gap: 12px !important; }
	.ad-jw-cat__img { width: 100%; padding-bottom: 100%; }
	.ad-jw-cat__name { font-size: 14px; }
	.ad-jw-cat__status { font-size: 14px; }
}

/* ---------- FLASH SALE ---------- */
.ad-jw-flash { --jw-flash: #b10c00; }
.ad-jw-flash__head { display: flex; align-items: center; justify-content: space-between; background: var(--jw-flash); padding: 10px; border-radius: 10px 10px 0 0; min-height: 79px; }
.ad-jw-flash__title { font-size: 32px; font-weight: 700; line-height: 1.4; color: #fff; margin: 0; text-transform: none; }
.ad-jw-flash__title a { color: #fff; }
.ad-jw-flash__icon { width: 26px; height: 26px; max-width: 26px; margin: 0 0 -3px 8px; vertical-align: baseline; animation: ad-jw-zoom 1.5s infinite; display: inline-block; }
.ad-jw-flash__title span { color: #fff; display: block; font-size: 14px; font-weight: 400; line-height: 1; margin-top: -2px; }
@keyframes ad-jw-zoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.ad-jw-flash__timer { display: flex; gap: 5px; }
.ad-jw-flash__box { width: 50px; height: 50px; padding: 5px 0; background: #fff; border-radius: 7px; text-align: center; }
.ad-jw-flash__box b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--jw-flash); }
.ad-jw-flash__box span { display: block; font-size: 14px; line-height: 1.1; color: var(--jw-flash); }
.ad-jw-flash__body { background: var(--jw-flash); padding: 10px; border: 2px dashed var(--jw-flash); border-top: 0; border-radius: 0 0 10px 10px; overflow: hidden; }
.ad-jw-flash .ad-grid { --ad-gap: 20px; margin-bottom: 0; }
.ad-jw-flash .flickity-page-dots { margin: 12px 0 2px; }
.ad-jw-flash .flickity-page-dots .dot { border-color: #fff; background: #fff; opacity: .55; }
.ad-jw-flash .flickity-page-dots .dot.is-selected { background: var(--jw-sub); border-color: var(--jw-sub); opacity: 1; }
@media (max-width: 991px) { .ad-jw-flash__title { font-size: 26px; } }
@media (max-width: 767px) {
	.ad-jw-flash__head { flex-direction: column; justify-content: center; gap: 8px; padding: 10px; }
	.ad-jw-flash__title { font-size: 22px; text-align: center; }
	.ad-jw-flash__body { padding: 10px 5px; }
	.ad-jw-flash .ad-grid { --ad-gap: 10px !important; }
	.ad-jw-flash .ad-container { padding: 0 10px; }
}

/* ---------- BANNER CÓ CHỮ ---------- */
.ad-jw-bn__row { display: grid; grid-template-columns: repeat(var(--jw-bn-c, 2), 1fr); gap: var(--jw-bn-gap, 0); }
.ad-jw-bn__item { position: relative; overflow: hidden; }
.ad-jw-bn__img { display: block; position: relative; }
.ad-jw-bn__img img { display: block; width: 100%; height: auto; }
.ad-jw-bn__img i { position: absolute; inset: 0; pointer-events: none; }
.ad-jw-bn__txt { position: absolute; top: 50%; transform: translateY(-50%); width: 190px; z-index: 2; }
.ad-jw-bn__txt.is-right { right: 39px; text-align: right; }
.ad-jw-bn__txt.is-left { left: 39px; text-align: left; }
.ad-jw-bn__txt.is-center { left: 50%; transform: translate(-50%, -50%); text-align: center; }
.ad-jw-bn__txt h3 { font-size: 16px; font-weight: 400; line-height: 19px; margin: 0 0 10px; color: inherit; }
.ad-jw-bn__txt h2 { font-size: 40px; font-weight: 400; line-height: 48px; margin: 0 0 10px; color: inherit; }
.ad-jw-bn__txt p { font-size: 16px; line-height: 22px; margin: 0 0 10px; color: inherit; }
.ad-jw-bn__btn { display: inline-block; padding: 5px 15px; height: 37px; line-height: 27px; border-radius: 40px; background: #fff; color: #000 !important; font-size: 16px; transition: .25s; }
.ad-jw-bn__btn:hover { background: var(--jw-main); color: #fff !important; }
.ad-jw-bn__item:nth-child(2) .ad-jw-bn__txt.is-left { left: 39px; width: 230px; }
/* banner rộng, chữ giữa */
.ad-jw-bn.is-center .ad-jw-bn__txt { width: 720px; max-width: calc(100% - 30px); left: 50%; right: auto; transform: translate(-50%, -50%); text-align: center; }
.ad-jw-bn.is-center .ad-jw-bn__txt h3 { font-size: 20px; font-weight: 500; line-height: 24px; }
.ad-jw-bn.is-center .ad-jw-bn__txt h2 { font-size: 40px; line-height: 1.3; }
.ad-jw-bn.is-center .ad-jw-bn__txt p { max-width: 700px; margin: 0 auto 10px; }
.ad-jw-bn.is-center .ad-jw-bn__btn { padding: 5px 40px; font-weight: 500; color: var(--jw-main) !important; }
.ad-jw-bn.is-center .ad-jw-bn__btn:hover { color: #fff !important; }
@media (max-width: 1199px) { .ad-jw-bn__txt h2 { font-size: 32px; line-height: 38px; } .ad-jw-bn.is-center .ad-jw-bn__txt h2 { font-size: 40px; line-height: 48px; } }
@media (max-width: 991px) { .ad-jw-bn__txt h2 { font-size: 26px; line-height: 31px; } .ad-jw-bn.is-center .ad-jw-bn__txt h2 { font-size: 30px; line-height: 36px; } .ad-jw-bn__txt { width: 150px; } }
@media (max-width: 767px) {
	.ad-jw-bn__row { grid-template-columns: repeat(var(--jw-bn-c-sm, 1), 1fr); }
	.ad-jw-bn__txt { width: 130px; }
	.ad-jw-bn__txt.is-right { right: 14px; }
	.ad-jw-bn__txt.is-left, .ad-jw-bn__item:nth-child(2) .ad-jw-bn__txt.is-left { left: 14px; width: 150px; }
	.ad-jw-bn__txt h3 { font-size: 12px; line-height: 14px; margin-bottom: 4px; }
	.ad-jw-bn__txt h2 { font-size: 18px; line-height: 21px; margin-bottom: 4px; }
	.ad-jw-bn__txt p { font-size: 12px; line-height: 14px; margin-bottom: 6px; }
	.ad-jw-bn__btn { height: 28px; line-height: 18px; font-size: 12px; padding: 5px 12px; }
	.ad-jw-bn.is-center .ad-jw-bn__txt h3 { font-size: 12px; margin-bottom: 4px; }
	.ad-jw-bn.is-center .ad-jw-bn__txt h2 { font-size: 16px; line-height: 20px; margin-bottom: 4px; }
	.ad-jw-bn.is-center .ad-jw-bn__txt p { font-size: 11px; line-height: 14px; margin-bottom: 6px; }
	.ad-jw-bn.is-center .ad-jw-bn__btn { padding: 3px 24px; height: 28px; }
}

/* ---------- TAB SẢN PHẨM ---------- */
.ad-jw-tabs__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ad-jw-tabs .ad-jw-title { font-size: 30px; font-weight: 700; line-height: 1.3; text-align: left; margin: 0 0 5px; white-space: nowrap; }
.ad-jw-tabs__nav { display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--jw-main); border-radius: 50px; min-width: 0; max-width: 100%; flex: none; }
.ad-jw-tabs .ad-jw-title { flex: 1; min-width: 0; }
.ad-jw-tabs__list { display: flex; gap: 0; overflow-x: auto; max-width: 100%; scrollbar-width: none; margin: 0; min-width: 0; }
.ad-jw-tabs__list::-webkit-scrollbar { display: none; }
.ad-jw-tabs__link { flex: none; height: 37px; padding: 5px 15px; margin: 0; border: 0; border-radius: 40px; background: transparent; color: var(--jw-text); font-size: 16px; font-weight: 400; line-height: 27px; cursor: pointer; text-transform: none; letter-spacing: 0; min-height: 0; transition: .25s; }
.ad-jw-tabs__link.is-active { background: var(--jw-main); color: #fff; }
.ad-jw-tabs__link:not(.is-active):hover { color: var(--jw-main); }
.ad-jw-tabs__arrows { display: flex; gap: 6px; padding-left: 4px; flex: none; }
.ad-jw-tabs__arrows button { width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0; margin: 0; min-height: 0; background: color-mix(in srgb, var(--jw-main) 35%, #fff); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .25s; }
.ad-jw-tabs__arrows button.is-next { background: var(--jw-main); }
.ad-jw-tabs__arrows button .ad-ico { width: 20px; height: 20px; fill: #fff; }
.ad-jw-tabs__arrows button:hover { background: var(--jw-sub); }
.ad-jw-tabs .ad-jw-grid { --ad-gap: 20px; margin-bottom: 0; }
.ad-jw-tabs.is-grid .ad-jw-grid { margin-bottom: -20px; }
.ad-jw-tabs__panel { display: none; }
.ad-jw-tabs__panel.is-active { display: block; }
.ad-jw-tabs .ad-jw-more { margin-top: 21px; }
.ad-jw-tabs.is-grid .ad-jw-more { margin-top: 41px; }
@media (max-width: 991px) { .ad-jw-tabs .ad-jw-title { font-size: 24px; } }
@media (max-width: 767px) {
	.ad-jw-tabs__head { flex-direction: column; gap: 10px; margin-bottom: 20px; }
	.ad-jw-tabs .ad-jw-title { font-size: 18px; text-align: center; margin: 0; }
	.ad-jw-tabs__nav { width: 100%; }
	.ad-jw-tabs__list { flex: 1; }
	.ad-jw-tabs__link { font-size: 15px; }
	.ad-jw-tabs .ad-jw-grid { --ad-gap: 10px !important; }
	.ad-jw-tabs.is-grid .ad-jw-more { margin-top: 31px; }
}

/* ---------- VỀ CHÚNG TÔI ---------- */
.ad-jw-about__row { display: flex; align-items: center; }
.ad-jw-about__imgs { flex: 0 0 58.3333%; max-width: 58.3333%; position: relative; padding: 0 50px 0 51px; display: flex; align-items: flex-start; gap: 10px; min-height: 562px; }
.ad-jw-about__deco { position: absolute; left: -14px; bottom: 0; width: 460px; z-index: 0; pointer-events: none; }
.ad-jw-about__deco img { width: 100%; height: auto; display: block; }
.ad-jw-about__i1, .ad-jw-about__i2 { position: relative; z-index: 1; width: 359px; flex: none; overflow: hidden; }
.ad-jw-about__i1 img, .ad-jw-about__i2 img { display: block; width: 100%; height: auto; }
.ad-jw-about__i1 { border-radius: 0 0 0 20px; border-top-left-radius: 20px; border-bottom-left-radius: 20px; border-top-right-radius: 90px 40px; border-bottom-right-radius: 20px; }
.ad-jw-about__i2 { margin-top: 40px; border-radius: 20px 20px 90px 20px; margin-left: 0; }
.ad-jw-about__i1 { border-radius: 90px 20px 20px 20px; }
.ad-jw-about__body { flex: 1; text-align: center; padding: 0 0 0 0; min-width: 0; }
.ad-jw-about__badge { display: inline-block; min-width: 202px; padding: 3px 24px; margin-bottom: 15px; background: var(--jw-main); color: #fff; font-size: 18px; font-weight: 500; line-height: 27px; border-radius: 5px 20px 5px 20px; }
.ad-jw-about__title { font-size: 40px; line-height: 1.2; margin: 0 0 15px !important; color: var(--ad-primary); }
.ad-jw-about__script { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 28px; line-height: 39px; margin: 0 0 15px; color: var(--jw-main); }
.ad-jw-about__text { font-size: 15px; line-height: 25.6px; color: #000; margin: 0 0 15px; }
.ad-jw-about__line { margin: 0 0 15px; line-height: 0; }
.ad-jw-about__line img { width: 114px; height: auto; }
.ad-jw-about__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.ad-jw-about__chip { display: inline-flex; align-items: center; gap: 12px; height: 42px; padding: 2px 15px; border: 1px solid var(--jw-main); border-radius: 40px; color: var(--jw-text) !important; font-size: 16px; line-height: 1; background: transparent; transition: .25s; }
.ad-jw-about__chip span { width: 22px; height: 22px; display: block; }
.ad-jw-about__chip img { width: 22px; height: 22px; object-fit: contain; display: block; }
.ad-jw-about__chip:hover { background: var(--jw-main); color: #fff !important; }
.ad-jw-about__btn { display: inline-block; height: 40px; line-height: 40px; padding: 0 30px; border-radius: 30px; background: var(--jw-main); color: #fff !important; font-size: 20px; font-weight: 500; text-transform: uppercase; transition: .25s; }
.ad-jw-about__btn:hover { background: var(--jw-sub); }
@media (max-width: 1199px) { .ad-jw-about__title { font-size: 40px; } .ad-jw-about__imgs { padding: 0 20px; } .ad-jw-about__i1, .ad-jw-about__i2 { width: 300px; } .ad-jw-about__imgs { min-height: 480px; } }
@media (max-width: 991px) {
	.ad-jw-about__row { flex-direction: column-reverse; }
	.ad-jw-about__imgs, .ad-jw-about__body { flex: none; max-width: 100%; width: 100%; }
	.ad-jw-about__imgs { min-height: 0; padding: 0; margin-top: 20px; gap: 12px; }
	.ad-jw-about__i1, .ad-jw-about__i2 { width: calc(50% - 6px); }
	.ad-jw-about__deco { display: none; }
	.ad-jw-about__title { font-size: 30px; }
	.ad-jw-about__btn { font-size: 16px; }
	.ad-jw-about__i2 { margin-top: 40px; }
	.ad-jw-about__chip { font-size: 14px; }
}

/* ---------- VIDEO + SẢN PHẨM CHẠY NGANG ---------- */
.ad-jw-vd { background: var(--jw-vd-bg, var(--jw-cream)); padding: 40px 0; }
.ad-jw-vd__frame { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; background: #111; }
.ad-jw-vd__frame > img, .ad-jw-vd__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-jw-vd__bar { position: absolute; left: 0; right: 0; bottom: 10px; overflow: hidden; }
.ad-jw-vd__track { display: flex; gap: 14px; width: max-content; animation: ad-jw-marquee var(--jw-vd-speed, 40s) linear infinite; }
.ad-jw-vd__bar:hover .ad-jw-vd__track { animation-play-state: paused; }
@keyframes ad-jw-marquee { to { transform: translateX(calc(-50% - 7px)); } }
.ad-jw-vd__item { flex: none; width: 378px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #c9c9c9; border-radius: 10px; padding: 10px; position: relative; }
.ad-jw-vd__item:hover { border-color: var(--jw-main); }
.ad-jw-vd__thumb { flex: none; width: 87px; height: 87px; display: block; position: relative; }
.ad-jw-vd__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ad-jw-vd__info { flex: 1; min-width: 0; }
.ad-jw-vd__info h3 { font-size: 16px; font-weight: 400; line-height: 23px; margin: 0 0 3px; height: 46px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ad-jw-vd__info h3 a { color: var(--jw-text); }
.ad-jw-vd__info h3 a:hover { color: var(--jw-sub); }
.ad-jw-vd__price { display: flex; flex-direction: column; line-height: 1.25; }
.ad-jw-vd__price .ad-price { font-size: 16px; font-weight: 700; color: var(--ad-price, var(--jw-sub)); }
.ad-jw-vd__price del { font-size: 12px; color: #9aa5b3; }
.ad-jw-vd__acts { display: flex; flex-direction: column; gap: 5px; flex: none; }
.ad-jw-vd__btn { width: 40px; height: 40px; padding: 0; margin: 0; min-height: 0; border: 0; border-radius: 50%; background: var(--jw-main); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ad-jw-vd__btn .ad-ico { width: 20px; height: 20px; fill: #fff; }
.ad-jw-vd__btn .ad-ico-heart-f { display: none; }
.ad-jw-vd__btn.is-active .ad-ico-heart { display: none; }
.ad-jw-vd__btn.is-active .ad-ico-heart-f { display: block; }
.ad-jw-vd__btn:hover { background: var(--jw-sub); }
@media (max-width: 1199px) { .ad-jw-vd__item { width: 330px; } }
@media (max-width: 991px) { .ad-jw-vd__item { width: 290px; } }
@media (max-width: 767px) {
	.ad-jw-vd { padding: 25px 0; }
	.ad-jw-vd__frame { padding-bottom: 75%; }
	.ad-jw-vd__bar { bottom: 5px; }
	.ad-jw-vd__item { width: 290px; padding: 7px; }
	.ad-jw-vd__thumb { width: 72px; height: 72px; }
	.ad-jw-vd__info h3 { font-size: 14px; }
	.ad-jw-vd__btn { width: 34px; height: 34px; }
	.ad-jw-vd__btn .ad-ico { width: 16px; height: 16px; }
}

/* ---------- BỘ SƯU TẬP (dải ảnh + sản phẩm) ---------- */
.ad-jw-gal__strip { display: flex; gap: 10px; height: var(--jw-gal-h, 450px); }
.ad-jw-gal__item { flex: 1; overflow: hidden; border-radius: 10px; position: relative; transition: flex .4s cubic-bezier(.4, 0, .2, 1); }
.ad-jw-gal__item a { display: block; width: 100%; height: 100%; }
.ad-jw-gal__item img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.ad-jw-gal__strip:hover .ad-jw-gal__item { flex: .8; }
.ad-jw-gal__strip .ad-jw-gal__item:hover { flex: 1.6; }
.ad-jw-gal__products { margin-top: 40px; padding: 2px; }
.ad-jw-gal .ad-grid { --ad-gap: 20px; margin-bottom: 0; }
.ad-jw-gal .ad-jw-more { margin-top: 0; }
.ad-jw-gal .flickity-page-dots { margin: 12px 0 0; }
@media (max-width: 991px) {
	.ad-jw-gal__strip { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.ad-jw-gal__strip::-webkit-scrollbar { display: none; }
	.ad-jw-gal__item { flex: 0 0 70% !important; scroll-snap-align: center; aspect-ratio: 1; }
	.ad-jw-gal__products { margin-top: 20px; }
	.ad-jw-gal .ad-grid { --ad-gap: 10px !important; }
}

/* ---------- FEEDBACK ---------- */
.ad-jw-fb .ad-grid { --ad-gap: 20px; margin-bottom: 0; }
.ad-jw-fb__item { width: 100%; }
.ad-jw-fb__photo { position: relative; aspect-ratio: 800 / 1000; border-radius: 10px; overflow: hidden; background: var(--jw-cream); }
.ad-jw-fb__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ad-jw-fb__item:hover .ad-jw-fb__photo > img { transform: scale(1.04); }
.ad-jw-fb__tag { position: absolute; left: 0; bottom: 0; width: 100%; padding: 10px; display: flex; justify-content: center; align-items: center; }
.ad-jw-fb__tag::before { content: ""; position: absolute; inset: 0; background: var(--jw-main); opacity: .7; transition: .3s; }
.ad-jw-fb__item:hover .ad-jw-fb__tag::before { background: var(--jw-sub); }
.ad-jw-fb__prod { position: relative; z-index: 2; display: block; width: 70px; height: 70px; background: #fff; overflow: hidden; }
.ad-jw-fb__prod img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ad-jw-fb__who { display: flex; align-items: center; margin-top: 10px; }
.ad-jw-fb__ava { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex: none; display: block; }
.ad-jw-fb__ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-jw-fb__name { margin-left: 10px; font-size: 16px; line-height: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 767px) {
	.ad-jw-fb .ad-grid { --ad-gap: 10px !important; }
	.ad-jw-fb__prod { width: 60px; height: 60px; }
}

/* ---------- TIN MỚI NHẤT ---------- */
.ad-jw-blog .ad-grid { --ad-gap: 20px; margin-bottom: 0; }
.ad-jw-blog__item { width: 100%; }
.ad-jw-blog__img { display: block; position: relative; padding-bottom: 55.5%; border-radius: 10px; overflow: hidden; margin-bottom: 10px; background: var(--jw-cream); }
.ad-jw-blog__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .3s ease-in-out; }
.ad-jw-blog__item:hover .ad-jw-blog__img img { transform: scale(1.1); }
.ad-jw-blog__item h3 { font-size: 16px; line-height: 22px; font-weight: 600; margin: 0 0 10px; }
.ad-jw-blog__item h3 a { color: var(--jw-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 44px; }
.ad-jw-blog__item h3 a:hover { color: var(--jw-sub); }
.ad-jw-blog__desc { color: var(--jw-text); line-height: 20px; font-size: 16px; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 40px; word-break: break-word; }
.ad-jw-blog__meta { display: flex; justify-content: space-between; font-size: 12px; color: #838383; border-top: 1px solid #eee; margin: 10px 0 0; padding-top: 10px; }
.ad-jw-blog__meta b { color: var(--jw-main); font-weight: 500; }
.ad-jw-blog__meta em { font-style: italic; }
@media (max-width: 767px) { .ad-jw-blog .ad-grid { --ad-gap: 10px !important; } }

/* ---------- LOGO THƯƠNG HIỆU ---------- */
.ad-jw-brands { background: var(--jw-br-bg, var(--jw-cream)); padding: 15px 0; }
.ad-jw-brands .ad-container { max-width: none; padding: 0; }
.ad-jw-brands .ad-grid { --ad-gap: 20px; margin-bottom: 0; }
.ad-jw-brands__item { display: flex; align-items: center; justify-content: center; width: 100%; height: var(--jw-br-h, 36px); }
.ad-jw-brands__item img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }

/* ==========================================================================
   HEADER TRANG CHỦ: nền trắng đặc, top bar be, hàng logo + thanh menu màu chủ đạo (chỉ body.home)
   ========================================================================== */
body.ad-theme #top-bar.header-top { background: var(--jw-topbar, #e7eaf2) !important; min-height: 50px; height: 50px; color: var(--jw-text); }
body.ad-theme #top-bar .flex-left, body.ad-theme #top-bar .flex-right { display: none !important; }
body.ad-theme #top-bar .flex-row { justify-content: center; }
body.ad-theme #top-bar .ad-ticker, body.ad-theme #top-bar .ad-ticker * { color: var(--jw-text) !important; }
body.ad-theme #top-bar .ad-ticker__item { font-size: 18px; font-weight: 400; }
body.ad-theme #top-bar .ad-ticker__nav { display: none; }
body.ad-theme #header .header-main .header-bg-color, body.ad-theme #header .header-main .header-bg-container { background: #fff !important; }
body.ad-theme .header-wrapper { background: #fff; }
.ad-jw-hextra { display: none; }
@media (min-width: 850px) {
	body.ad-theme #masthead.header-main { height: 78px; position: relative; overflow: visible; }
	body.ad-theme #masthead .header-inner { height: 78px; position: relative; max-width: 1418px; padding: 0 14px; }
	body.ad-theme #masthead #logo { width: auto; margin: 0 auto; }
	body.ad-theme #masthead #logo img { max-height: 58px; width: auto; }
	body.ad-theme #masthead .flex-left { position: static; flex: 0 0 0; width: 0; }
	body.ad-theme .ad-jw-hextra { display: flex; align-items: center; gap: 16px; list-style: none; margin: 0; padding: 0; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); z-index: 2; white-space: nowrap; }
	body.ad-theme .ad-jw-hextra li { margin: 0; list-style: none; }
	body.ad-theme .ad-jw-hextra a { display: flex; align-items: center; gap: 6px; color: var(--jw-text); font-size: 15px; line-height: 1.2; }
	body.ad-theme .ad-jw-hextra a:hover { color: var(--ad-accent); }
	body.ad-theme .ad-jw-hextra .ad-ico { width: 24px; height: 24px; fill: var(--jw-main); }
	body.ad-theme .ad-jw-hextra b { font-weight: 700; margin-left: 2px; }
	body.ad-theme #masthead .flex-left .header-nav-main { position: absolute; left: 0; right: 0; top: 100%; height: 54px; margin: 0; padding: 0 14px 0 5px; background: var(--ad-primary); display: flex !important; align-items: center; z-index: 5; }
	body.ad-theme #masthead .flex-left .header-nav-main > li { margin: 0; }
	body.ad-theme #masthead .flex-left .header-nav-main > li > a { color: #fff; font-size: 16px; font-weight: 500; padding: 10px 20px; height: 54px; display: inline-flex !important; align-items: center; text-transform: none; }
	body.ad-theme #masthead .flex-left .header-nav-main > li.active > a, body.ad-theme #masthead .flex-left .header-nav-main > li:hover > a { color: var(--ad-accent); }
	body.ad-theme #masthead .flex-left .header-nav-main > li:first-child { margin-left: 0; }
	body.ad-theme #masthead .flex-right { position: relative; z-index: 30; }
	body.ad-theme #header .header-wrapper { padding-bottom: 54px; }
	body.ad-theme #header .header-wrapper.stuck { padding-bottom: 54px; }
	body.ad-theme #header .header-wrapper.stuck #masthead { height: 66px; }
	body.ad-theme #header .header-wrapper.stuck #masthead .header-inner { height: 66px; }
	body.ad-theme #masthead .ad-hsearch, body.ad-theme #masthead .ad-hsearch form { max-width: 270px; }
}
@media (max-width: 849px) {
	body.ad-theme #top-bar.header-top { height: 34px; min-height: 34px; }
	body.ad-theme #top-bar .ad-ticker__item { font-size: 14px; }
	body.ad-theme #top-bar .show-for-medium { display: block !important; }
}

/* ---------- hero slider trang chủ: chấm tròn nhỏ ở đáy ---------- */
.ad-jw-hero { margin-bottom: 0; }
.ad-jw-hero .flickity-page-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; }
.ad-jw-hero .flickity-page-dots .dot { width: 14px; height: 14px; margin: 0; background: #fff; border: 1px solid #ddd; opacity: .8; }
.ad-jw-hero .flickity-page-dots .dot.is-selected { background: var(--ad-primary); border-color: var(--ad-primary); opacity: 1; }
body.home .ad-policy, body.home .ad-jw-policy { display: none; }
body.home #wrapper, body.home #main { background: var(--ad-body); }

@media (min-width: 768px) { .ad-jw .flickity-page-dots { display: none; } }
@media (max-width: 767px) { .ad-jw-tabs__nav { flex: 1; } }

/* header trang chủ: logo giữa tuyệt đối, bỏ bóng chữ menu, thông báo top bar rộng hơn */
body.ad-theme #top-bar .ad-ticker__track { min-width: 0; width: 900px; max-width: 92vw; height: 26px; }
@media (min-width: 850px) {
	body.ad-theme #masthead #logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; width: auto; z-index: 1; }
	body.ad-theme #masthead .flex-left .header-nav-main > li > a { text-shadow: none !important; }
}
@media (max-width: 549px) { body.ad-theme #top-bar .ad-ticker__track { width: 100%; min-width: 0; } }
@media (min-width: 850px) {
	body.ad-theme .ad-jw-hextra { top: -69px; left: 14px; transform: none; }
}

/* banner: 2 ảnh (desktop / mobile) thay <picture> */
.ad-jw-bn__m { display: none !important; }
@media (max-width: 549px) { .ad-jw-bn__img .ad-jw-bn__m { display: block !important; } .ad-jw-bn__img .ad-jw-bn__m ~ .ad-jw-bn__d, .ad-jw-bn__img .ad-jw-bn__d:has(+ .ad-jw-bn__m) { display: none !important; } }

/* ---------- mobile: ô tìm kiếm dưới header, chỉnh chiều cao khối cho khớp mẫu ---------- */
@media (max-width: 849px) {
	body.ad-theme #masthead.header-main, body.ad-theme #masthead .header-inner { height: 68px; }
	body.ad-theme #masthead #logo img { max-height: 50px; width: auto; }
						.ad-jw-cp { padding: 15px 0 26px; }
	.ad-jw-cp__right { margin-top: 26px; }
	.ad-jw-cats .ad-container { padding-bottom: 22px; }
	.ad-jw-tabs.is-grid .ad-grid__cell:nth-child(n+5) { display: none; }
	.ad-jw-tabs.is-grid .ad-jw-grid { margin-bottom: -10px; }
	.ad-jw-tabs.is-grid .ad-jw-more { margin-top: 21px; }
	.ad-jw-about__i1, .ad-jw-about__i2 { width: calc(50% - 6px); }
}
@media (max-width: 767px) {
	.ad-jw-about__imgs { margin-top: 12px; }
	.ad-jw-about__i2 { margin-top: 24px; }
	.ad-jw-about__chips { margin-bottom: 14px; }
	.ad-jw-about__script { font-size: 24px; line-height: 32px; }
}
@media (max-width: 849px) {
	body.ad-theme #top-bar .flex-grow, body.ad-theme #top-bar .flex-grow .nav { width: 100%; }
	body.ad-theme #top-bar .ad-ticker { width: 100%; justify-content: center; }
	body.ad-theme #top-bar .ad-ticker__track { width: 100%; max-width: 100%; }
	body.ad-theme #top-bar .ad-ticker__item { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; left: 0; right: 0; }
}
@media (max-width: 767px) {
	.ad-jw-card__btns { gap: 4px; }
	.ad-jw-card__btn { width: 30px; height: 30px; }
	.ad-jw-card__btn .ad-ico { width: 16px; height: 16px; }
}

/* Responsive: dải mã khuyến mãi không tràn ở 992–1199px */
@media (min-width: 992px) and (max-width: 1199px) {
	.ad-jw-cp__head { min-width: 160px; margin-right: 6px; }
	.ad-jw-cp__head h2 { font-size: 18px; }
	.ad-jw-cp__left { flex-basis: 66%; max-width: 66%; padding-right: 8px; }
	.ad-jw-cp__right { padding-left: 14px; }
	.ad-jw-cp__one .ad-jw-coupon { width: 100%; max-width: 215px; }
}

/* Responsive: vùng bấm >= 32px trên điện thoại (link chân trang, link "xem thêm", nút mã giảm giá) */
@media (max-width: 767px) {
	.ad-footer a:not([class]), .ad-footer li a { display: inline-block; padding: 5px 0; }
	.ad-footer__toggle { min-height: 40px; }
	.ad-post__more, .cm-post__more, .ad-insta__more, .ad-furn-ps__all, .ad-jw-coupon__btn, .ad-jw-bn__btn { display: inline-flex; align-items: center; min-height: 32px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
	.ad-jw-cp__left { flex-basis: 56%; max-width: 56%; }
	.ad-jw-cp__one { flex: 1 1 0; min-width: 0; }
	.ad-jw-cp__one .ad-jw-coupon { width: 100%; max-width: 215px; min-width: 0; }
}
@media (max-width: 991px) { .ad-footer a:not([class]), .ad-footer li a { display: inline-block; padding: 5px 0; } }

/* Tiêu đề khối trang chủ: có khoảng cách với nội dung bên dưới (rule cũ bị ghi đè về 0) */
.ad-theme .ad-jw > .ad-container > .ad-jw-title:not(.ad-jw-title--left),
.ad-theme .ad-jw > .ad-jw-title:not(.ad-jw-title--left),
.ad-theme .ad-jw .ad-jw-title:not(.ad-jw-title--left):not(.ad-jw-tabs .ad-jw-title) { margin-bottom: 28px; }
@media (max-width: 991px) {
	.ad-theme .ad-jw > .ad-container > .ad-jw-title:not(.ad-jw-title--left),
	.ad-theme .ad-jw > .ad-jw-title:not(.ad-jw-title--left),
	.ad-theme .ad-jw .ad-jw-title:not(.ad-jw-title--left):not(.ad-jw-tabs .ad-jw-title) { margin-bottom: 20px; }
}

/* Logo chân trang (logo đỏ) đặt trên nền trắng bo góc để nổi trên nền đỏ */
.ad-footer__logo { background: #fff; border-radius: 12px; padding: 8px 14px; }
.ad-footer__logo img { display: block; max-height: 64px; }

/* ==========================================================================
   FONT TIÊU ĐỀ DUY NHẤT (Playfair Display – chữ có chân, đậm, sang trọng, hợp không khí Tết) + BREADCRUMB BASIC
   ========================================================================== */
:root { --jw-tet: "Playfair Display", Georgia, "Times New Roman", serif; }
.ad-jw-title, .ad-page-hero__title, .ad-jw-flash__title, .ad-jw-about__title, .ad-theme .ad-title, .ad-theme .ad-article__title {
	font-family: var(--jw-tet) !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0;
}
.ad-jw-title { font-size: 40px; line-height: 1.25; }
@media (max-width: 1199px) { .ad-jw-title { font-size: 34px; } }
@media (max-width: 991px) { .ad-jw-title { font-size: 30px; } }
@media (max-width: 767px) { .ad-jw-title { font-size: 26px; } }
.ad-jw-flash__title { font-size: 36px; }
.ad-jw-tabs .ad-jw-title { font-size: 32px; }
@media (max-width: 767px) { .ad-jw-flash__title { font-size: 26px; } .ad-jw-tabs .ad-jw-title { font-size: 24px; } }

/* Breadcrumb dạng basic: không nền, không ảnh – chỉ đường dẫn + tiêu đề trang */
.ad-theme .ad-page-hero { display: block; background: none; margin: 0 0 30px; padding: 22px 0 16px; min-height: 0; border-bottom: 1px solid #eadfcd; box-shadow: none; overflow: visible; }
.ad-theme .ad-page-hero::before, .ad-theme .ad-page-hero::after { display: none; }
.ad-theme .ad-page-hero__inner { max-width: 1418px; padding: 0 14px; }
.ad-theme .ad-page-hero__title { color: var(--jw-text) !important; font-size: 40px; line-height: 1.25; margin: 6px 0 0; text-shadow: none; }
.ad-theme .ad-breadcrumb ol { padding: 0; color: #7a6f66; font-size: 15px; }
.ad-theme .ad-breadcrumb a { color: #5a4f48 !important; }
.ad-theme .ad-breadcrumb a:hover { color: var(--ad-primary) !important; }
.ad-theme .ad-breadcrumb [aria-current] { color: var(--ad-primary); font-weight: 600; }
@media (max-width: 767px) { .ad-theme .ad-page-hero { padding: 14px 0 12px; margin-bottom: 20px; } .ad-theme .ad-page-hero__title { font-size: 30px; } .ad-theme .ad-breadcrumb ol { font-size: 13px; } }
.ad-theme .ad-jw-title, .ad-theme .ad-jw-title a { color: var(--ad-primary); }

/* Logo luôn bấm được (khối icon bên phải trải rộng đè lên logo) + hotline canh giữa hàng logo theo chiều cao header thật */
body.ad-theme #masthead #logo { z-index: 40; }
body.ad-theme #header { --jw-hh: 78px; }
body.ad-theme #header .header-wrapper.stuck { --jw-hh: 66px; }
@media (max-width: 849px) { body.ad-theme #header { --jw-hh: 68px; } }
@media (min-width: 850px) { body.ad-theme .ad-jw-hextra { top: calc(var(--jw-hh) / -2); transform: translateY(-50%); } }

/* Nút "Xem thêm" dưới khối Bộ sưu tập mới bị dính vào hàng sản phẩm phía trên */
.ad-theme .ad-jw-gal .ad-jw-more { margin-top: 30px; }
@media (max-width: 767px) { .ad-theme .ad-jw-gal .ad-jw-more { margin-top: 20px; } }

/* ==========================================================================
   FOOTER gọn: 4 cột (giới thiệu | sản phẩm | hỗ trợ | liên hệ) + thanh bản quyền tách riêng
   ========================================================================== */
.ad-theme .ad-footer { background: var(--ad-primary); padding: 64px 0 0; color: #fff; }
.ad-theme .ad-footer > .ad-container { max-width: 1418px; padding: 0 14px; }
.ad-theme .ad-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 56px; margin: 0; padding-bottom: 48px; }
.ad-theme .ad-footer__col { width: auto; padding: 0; margin: 0; }
.ad-theme .ad-footer__about p { font-size: 15px; line-height: 1.7; margin: 0 0 18px; opacity: .92; max-width: 380px; }
.ad-theme .ad-footer__logo { margin-bottom: 18px; background: #fff; border-radius: 12px; padding: 8px 16px; }
.ad-theme .ad-footer__logo img { max-height: 52px; }
.ad-theme .ad-footer__title { font-family: var(--jw-tet); font-weight: 700; font-size: 24px; line-height: 1.25; margin: 0 0 16px; color: #fec416 !important; letter-spacing: 0; }
.ad-theme .ad-footer__links li, .ad-theme .ad-footer__info li { font-size: 15px; line-height: 1.5; margin: 0 0 12px; }
.ad-theme .ad-footer__links a { padding: 0; opacity: .92; }
.ad-theme .ad-footer__links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fec416; margin-right: 12px; flex: none; }
.ad-theme .ad-footer__links a:hover { opacity: 1; color: #fec416 !important; }
.ad-theme .ad-footer__info li { display: flex; align-items: flex-start; gap: 12px; }
.ad-theme .ad-footer__info .ad-ico { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #fec416; fill: #fec416; }
.ad-theme .ad-footer .ad-social { margin: 0; gap: 10px; }
.ad-theme .ad-footer .ad-social a { width: 38px; height: 38px; border-radius: 50%; border-color: rgba(255, 255, 255, .55); }
.ad-theme .ad-footer .ad-social a:hover { background: #fec416; border-color: #fec416; color: var(--ad-primary) !important; }
.ad-theme .ad-footer__bar { background: rgba(0, 0, 0, .22); padding: 16px 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .9); }
.ad-theme .ad-footer__bar a { color: #fff !important; }
@media (max-width: 1199px) { .ad-theme .ad-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px 36px; } .ad-theme .ad-footer__contact { grid-column: 1 / -1; } }
@media (max-width: 991px) { .ad-theme .ad-footer { padding-top: 44px; } .ad-theme .ad-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; } .ad-theme .ad-footer__about { grid-column: 1 / -1; } }
@media (max-width: 767px) {
	.ad-theme .ad-footer__grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 28px; }
	.ad-theme .ad-footer__about { margin-bottom: 24px; }
	.ad-theme .ad-footer__menu { border-top: 1px solid rgba(255, 255, 255, .18); padding: 6px 0; }
	.ad-theme .ad-footer__menu .ad-footer__title { margin: 0; font-size: 22px; }
	.ad-theme .ad-footer__menu .ad-footer__links { padding-bottom: 8px; }
	.ad-theme .ad-footer__contact { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 22px; margin-top: 6px; }
	.ad-theme .ad-footer__bar { font-size: 13px; padding: 14px 0; }
}

/* Ảnh sản phẩm: ô vuông 1:1, phủ kín, nền trắng – không còn dải xám trên/dưới, mọi thẻ cao bằng nhau */
.ad-theme .ad-card__thumb { background: #fff; }
.ad-theme .ad-card__imgs { padding-bottom: 100%; }
.ad-theme .ad-card__imgs img { object-fit: cover; }
.ad-theme .ad-jw-card__imgs img { object-fit: cover; }
.ad-theme .ad-footer__toggle { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: inherit !important; letter-spacing: inherit; }

/* ==========================================================================
   ĐỒNG BỘ FONT TIÊU ĐỀ TOÀN SITE: mọi tiêu đề lớn (h1/h2, tiêu đề khối, trang, bài viết, giỏ hàng, thanh toán, widget) dùng 1 font
   ========================================================================== */
body.ad-theme h1, body.ad-theme h2, body.ad-theme .widget-title, body.ad-theme .ad-title, body.ad-theme .entry-title, body.ad-theme .product_title,
body.ad-theme .ad-article__title, body.ad-theme .ad-jw-bn__title, body.ad-theme .ad-jw-vd__title, body.ad-theme .ad-popup__t2,
body.ad-theme .ad-flash__title, body.ad-theme .ad-side-title, body.ad-theme .ad-shop__title, body.ad-theme .ad-contact__title, body.ad-theme .ad-faq__title,
body.ad-theme .cart_totals h2, body.ad-theme #order_review_heading, body.ad-theme .woocommerce-billing-fields > h3, body.ad-theme .woocommerce-additional-fields > h3,
body.ad-theme .ad-blog-side__title, body.ad-theme .ad-aboutb__title, body.ad-theme .related > h2, body.ad-theme .up-sells > h2 {
	font-family: var(--jw-tet) !important; font-weight: 700; text-transform: none; letter-spacing: 0;
}

/* bổ sung vào nhóm tiêu đề dùng chung */
body.ad-theme .ad-side-heading, body.ad-theme .ad-toc__title, body.ad-theme .ad-aboutb h3, body.ad-theme .ad-jw-bn__txt h2, body.ad-theme .ad-jw-bn h2 {
	font-family: var(--jw-tet) !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0;
}
body.ad-theme .ad-aboutb h3 { font-size: 26px; line-height: 1.3; }
body.ad-theme h1, body.ad-theme h2, body.ad-theme .widget-title, body.ad-theme .ad-title, body.ad-theme .entry-title, body.ad-theme .product_title { font-weight: 700 !important; }
@media (max-width: 767px) { .ad-jw-bn.is-center .ad-jw-bn__txt h2, .ad-jw-about__title { font-size: 30px; } body.ad-theme .ad-aboutb h3 { font-size: 22px; } }

/* Banner giữa trang chủ: cả ảnh là link nhưng không đổi màu/hiệu ứng khi rê chuột vào vùng; chỉ nút phản hồi hover */
.ad-jw-bn__img, .ad-jw-bn__img:hover, .ad-jw-bn__img:focus { color: inherit !important; opacity: 1 !important; }
.ad-jw-bn__img img { transition: none; transform: none !important; }
/* Nút trên nền đỏ: hover đổi sang vàng chữ đỏ sẫm (không trùng màu nền đỏ) */
.ad-jw-bn__btn:hover, .ad-jw-bn.is-center .ad-jw-bn__btn:hover { background: #fec416 !important; color: #7a0a00 !important; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }

/* Nút trên thẻ sản phẩm: hover luôn khác màu nền (ảnh sản phẩm thường đỏ) */
.ad-theme .ad-card__act, .ad-theme .ad-card__act.ad-wish-btn { background: #fff; color: var(--ad-primary); }
.ad-theme .ad-card__act:hover, .ad-theme .ad-card__act.ad-wish-btn:hover { background: #fec416 !important; color: #7a0a00 !important; }
.ad-theme .ad-jw-card__btn:hover { background: #b10c00 !important; color: #fff !important; }
/* h1 ẩn trực quan cho trang chủ (SEO) */
.ad-sr-h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ad-theme .ad-card__act, .ad-theme a.ad-card__act, .ad-theme button.ad-card__act { color: var(--ad-primary) !important; }
.ad-theme .ad-card__act .ad-ico, .ad-theme .ad-card__act svg { color: inherit; fill: currentColor; }
.ad-theme .ad-card__act:hover, .ad-theme a.ad-card__act:hover { color: #7a0a00 !important; }

/* Header: chỉ icon menu, bỏ chữ "Menu" trên tablet */
.ad-theme .nav-icon .menu-title, .ad-theme .header-nav .nav-icon .menu-title { display: none !important; }

/* Bộ sưu tập mới: dải ảnh cuộn ngang, ô đều nhau trên tablet / mobile */
@media (max-width: 991px) {
	.ad-theme .ad-jw-gal__strip { display: flex; gap: 12px; height: auto; margin: 0 -14px; padding: 0 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 14px; -webkit-overflow-scrolling: touch; }
	.ad-theme .ad-jw-gal__item, .ad-theme .ad-jw-gal__strip:hover .ad-jw-gal__item, .ad-theme .ad-jw-gal__strip .ad-jw-gal__item:hover { flex: 0 0 calc((100% - 24px) / 3) !important; aspect-ratio: 3 / 4; height: auto; scroll-snap-align: start; border-radius: 12px; }
	.ad-theme .ad-jw-gal__item a, .ad-theme .ad-jw-gal__item img { height: 100%; }
	.ad-theme .ad-jw-gal__products { margin-top: 24px; }
}
@media (max-width: 767px) {
	.ad-theme .ad-jw-gal__item, .ad-theme .ad-jw-gal__strip:hover .ad-jw-gal__item, .ad-theme .ad-jw-gal__strip .ad-jw-gal__item:hover { flex: 0 0 62% !important; aspect-ratio: 4 / 5; }
}

/* Banner "Nhận đặt số lượng lớn" (style center): mobile không đè chữ – ảnh nền làm nền, chữ xếp dọc có khoảng đệm */
@media (max-width: 767px) {
	.ad-theme .ad-jw-bn.is-center .ad-jw-bn__item { background: #b10c00; }
	.ad-theme .ad-jw-bn.is-center .ad-jw-bn__img img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
	.ad-theme .ad-jw-bn.is-center .ad-jw-bn__txt { position: absolute; inset: 0; transform: none !important; left: 0 !important; width: 100% !important; max-width: 100%; padding: 26px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
	.ad-theme .ad-jw-bn.is-center .ad-jw-bn__txt h3 { font-size: 14px; line-height: 1.3; margin: 0 0 8px; }
	.ad-theme .ad-jw-bn.is-center .ad-jw-bn__txt h2 { font-size: 24px; line-height: 1.3; margin: 0 0 10px; }
	.ad-theme .ad-jw-bn.is-center .ad-jw-bn__txt p { font-size: 14px; line-height: 1.5; margin: 0 0 16px; max-width: 320px; }
	.ad-theme .ad-jw-bn.is-center .ad-jw-bn__btn { height: 38px; line-height: 28px; padding: 5px 28px; font-size: 14px; }
}

/* ==========================================================================
   Trang nội dung (giới thiệu, chính sách, hướng dẫn) – bài viết thuần HTML
   ========================================================================== */
.ad-prose { max-width: 900px; margin: 0 auto 40px; padding: 28px 32px; background: #fff; border-radius: 12px; font-size: 16px; line-height: 1.75; color: #2b2523; }
.ad-prose > *:first-child { margin-top: 0; }
.ad-prose__lead { font-size: 18px; line-height: 1.7; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid #eadfcd; }
.ad-prose h2 { font-size: 28px; line-height: 1.3; margin: 34px 0 12px; color: var(--ad-primary); }
.ad-prose h3 { font-size: 20px; line-height: 1.35; margin: 22px 0 8px; font-family: var(--jw-tet) !important; }
.ad-prose p { margin: 0 0 14px; }
.ad-prose ul, .ad-prose ol { margin: 0 0 16px 22px; padding: 0; }
.ad-prose li { margin: 0 0 8px; }
.ad-prose a { color: var(--ad-primary); text-decoration: underline; text-underline-offset: 2px; }
.ad-prose a:hover { color: #b10c00; }
.ad-prose__box { margin: 30px 0 16px; padding: 20px 24px; border-radius: 10px; background: #fff3dc; border: 1px solid #f2d9a6; }
.ad-prose__box h3 { margin-top: 0; }
.ad-prose__box ul { list-style: none; margin: 0; }
@media (max-width: 767px) { .ad-prose { padding: 20px 16px; font-size: 15px; } .ad-prose__lead { font-size: 16px; } .ad-prose h2 { font-size: 23px; } .ad-prose h3 { font-size: 18px; } }

/* "Mẫu lì xì nổi bật": dải sản phẩm nằm gọn trong ảnh, cách mép dưới và có nền mờ để dễ đọc */
.ad-jw-vd__frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(0deg, rgba(60, 0, 0, .55), transparent); pointer-events: none; z-index: 1; }
.ad-jw-vd__bar { z-index: 2; bottom: clamp(22px, 6%, 48px) !important; }

/* Tab sản phẩm: tablet xếp dọc như mobile (tiêu đề trên, thanh tab dưới) – không bị che tiêu đề */
@media (max-width: 991px) {
	.ad-theme .ad-jw-tabs__head { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 20px; }
	.ad-theme .ad-jw-tabs .ad-jw-title { flex: none; width: 100%; text-align: center; white-space: normal; margin: 0; }
	.ad-theme .ad-jw-tabs__nav { width: 100%; flex: none; }
}
