/* =========================================================
   Landing page sản phẩm – template-parts/product-landing.php
   ========================================================= */
.product-landing {
	--lp-red: #b11133;
	--lp-red-dark: #8c0d28;
	--lp-gold: #c99a3e;
	--lp-gold-soft: #f3e6c8;
	--lp-ink: #2b1d14;
	--lp-ink-2: #5a4a3e;
	--lp-cream: #fbf7ef;
	--lp-line: #eadfcb;
	--lp-radius: 14px;
	color: var(--lp-ink);
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.product-landing *,
.product-landing *::before,
.product-landing *::after { box-sizing: border-box; }
.product-landing svg {
	width: 20px; height: 20px; flex: none;
	fill: none; stroke: currentColor; stroke-width: 1.8;
	stroke-linecap: round; stroke-linejoin: round;
}
.product-landing img { max-width: 100%; height: auto; display: block; }
.product-landing h2, .product-landing h3 { margin: 0; }

.lp-eyebrow {
	display: inline-block;
	font-size: 12px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--lp-gold);
}

/* ---------- Nút ---------- */
.lp-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 20px;
	border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 700; font-size: 14.5px; line-height: 1.2;
	text-decoration: none !important;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn--primary {
	background: var(--lp-red); color: #fff !important;
	box-shadow: 0 6px 18px -6px rgba(177, 17, 51, .55);
}
.lp-btn--primary:hover { background: var(--lp-red-dark); }
.lp-btn--ghost { border-color: var(--lp-gold); color: var(--lp-gold) !important; background: transparent; }
.lp-btn--ghost:hover { background: var(--lp-gold); color: #fff !important; }
.lp-btn__short { display: none; }
.lp-strip .lp-btn--ghost { color: var(--lp-ink) !important; border-color: var(--lp-ink); }
.lp-strip .lp-btn--ghost:hover { background: var(--lp-ink); color: #fff !important; }

/* ---------- Giá ---------- */
.lp-price {
	display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
	margin: 6px 0 22px;
	font-size: 26px; font-weight: 800; color: var(--lp-gold);
}
.lp-price__label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.65); letter-spacing: .02em; }
.lp-price del { font-size: 16px; font-weight: 500; opacity: .6; }
.lp-price ins { text-decoration: none; }
.lp-price .woocommerce-Price-amount { color: inherit; }

/* ---------- Hero ---------- */
.lp-hero {
	position: relative; overflow: hidden;
	border-radius: var(--lp-radius);
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(201,154,62,.28) 0%, rgba(201,154,62,0) 55%),
		linear-gradient(135deg, #2b1d14 0%, #4a2c19 60%, #5e1a22 100%);
	color: #fff;
	padding: 36px;
}
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.lp-hero__media { margin: 0; }
.lp-hero__media .lp-zoom {
	display: block; border-radius: 12px; overflow: hidden;
	border: 1px solid rgba(201,154,62,.45);
	box-shadow: 0 24px 50px -20px rgba(0,0,0,.65);
	background: #fff;
}
.lp-hero__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.lp-hero__title {
	margin: 10px 0 14px !important;
	font-size: clamp(24px, 3vw, 34px); line-height: 1.25; font-weight: 800;
	color: #fff; text-transform: none;
}
.lp-hero__lead { margin: 0 0 18px; color: rgba(255,255,255,.82); font-size: 15.5px; }

/* ---------- Cam kết ---------- */
.lp-trust {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
	background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
}
.lp-trust__item { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; }
.lp-trust__item + .lp-trust__item { border-left: 1px solid var(--lp-line); }
.lp-trust__icon {
	display: grid; place-items: center; width: 42px; height: 42px; flex: none;
	border-radius: 50%; background: var(--lp-gold-soft); color: #8a6420;
}
.lp-trust__item strong { display: block; font-size: 14px; line-height: 1.35; }
.lp-trust__item > div > span { display: block; font-size: 12.5px; line-height: 1.45; color: var(--lp-ink-2); margin-top: 2px; }

/* ---------- Mục nội dung ---------- */
.lp-sec {
	background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
	padding: 34px 36px;
}
.lp-sec--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.lp-sec--reverse .lp-sec__media { order: -1; }
.lp-sec--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.lp-sec--intro { background: var(--lp-cream); }
.lp-sec--intro .lp-sec__body { text-align: center; }
.lp-sec--intro img { margin: 0 auto; border-radius: 10px; }

.lp-sec__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.lp-sec__num {
	flex: none; display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1.5px solid var(--lp-gold); color: #8a6420;
	font-weight: 800; font-size: 14px; letter-spacing: .04em;
}
.lp-sec__title { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; font-weight: 800; color: var(--lp-ink); text-transform: none; }
.lp-sec__media { margin: 0; }
.lp-sec__media .lp-zoom { display: block; border-radius: 12px; overflow: hidden; }
.lp-sec__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s ease; }
.lp-sec__media .lp-zoom:hover img { transform: scale(1.04); }

/* Nội dung soạn thảo */
.product-landing .rte p { margin: 0 0 12px; }
.product-landing .rte > :last-child { margin-bottom: 0; }
.product-landing .rte strong { color: var(--lp-ink); }
.product-landing .rte a { color: var(--lp-red); }
.product-landing .rte h3 { font-size: 17px; font-weight: 700; margin: 18px 0 8px; }
.product-landing .rte ul,
.product-landing .rte ol { margin: 0 0 12px; padding: 0; list-style: none; }
.product-landing .rte ul > li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.product-landing .rte ul > li::before {
	content: ""; position: absolute; left: 0; top: .35em;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--lp-gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6420' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.product-landing .rte li > p { margin: 0; }
.product-landing .rte ol { counter-reset: lp; display: grid; gap: 12px; }
.product-landing .rte ol > li {
	counter-increment: lp; position: relative;
	padding: 14px 16px 14px 58px;
	background: var(--lp-cream); border-radius: 10px;
}
.product-landing .rte ol > li::before {
	content: counter(lp); position: absolute; left: 16px; top: 14px;
	display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--lp-red); color: #fff; font-weight: 800; font-size: 13px;
}
.product-landing .rte .wp-caption { max-width: 100%; margin: 0 auto 12px; }
.product-landing .rte .wp-caption-text { font-size: 13px; color: var(--lp-ink-2); margin-top: 8px; text-align: center; }

/* Thẻ ưu điểm */
.lp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 8px; }
.lp-card {
	position: relative; padding: 20px 18px 18px;
	background: var(--lp-cream); border: 1px solid var(--lp-line); border-radius: 12px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.lp-card:hover { border-color: var(--lp-gold); box-shadow: 0 10px 24px -14px rgba(138,100,32,.5); }
.lp-card__tick {
	display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px;
	border-radius: 50%; background: var(--lp-red);
}
.lp-card__tick::after {
	content: ""; width: 14px; height: 8px; margin-top: -3px;
	border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg);
}
.lp-card__title { font-size: 16px !important; font-weight: 800; line-height: 1.35; margin: 0 0 8px !important; text-transform: none; }
.lp-card__body { font-size: 14px; color: var(--lp-ink-2); }
.lp-card__body ul > li { padding-left: 0 !important; margin-bottom: 4px !important; }
.lp-card__body ul > li::before { display: none; }

/* Dải tư vấn giữa trang */
.lp-strip {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px;
	padding: 22px 28px; border-radius: var(--lp-radius);
	background: linear-gradient(90deg, var(--lp-gold-soft), #fdf3df);
	border: 1px solid #e6d2a4;
}
.lp-strip__text strong { display: block; font-size: 17px; }
.lp-strip__text span { font-size: 14px; color: var(--lp-ink-2); }

/* ---------- Gallery ---------- */
.lp-block-title {
	font-size: 20px !important; font-weight: 800; margin: 0 0 16px !important;
	color: var(--lp-ink); text-transform: none;
	display: flex; align-items: center; gap: 12px;
}
.lp-block-title::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--lp-red); }
.lp-gallery { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 28px 36px 36px; }
.lp-gallery__grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-gallery__grid--1 { grid-template-columns: minmax(0, 380px); justify-content: center; }
.lp-gallery__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-gallery__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-gallery .lp-zoom { display: block; border-radius: 10px; overflow: hidden; }
.lp-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.lp-gallery .lp-zoom:hover img { transform: scale(1.05); }

/* ---------- Thông số ---------- */
.lp-specs {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px;
	background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 30px 36px;
}
.lp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lp-table th, .lp-table td { padding: 11px 14px; border-bottom: 1px solid var(--lp-line); vertical-align: top; text-align: left; }
.lp-table th { width: 38%; font-weight: 600; color: var(--lp-ink-2); background: var(--lp-cream); }
.lp-table tr:first-child th, .lp-table tr:first-child td { border-top: 1px solid var(--lp-line); }
.lp-table--compact { margin-top: 14px; }
.lp-policy { font-size: 14.5px; }

/* ---------- Kêu gọi cuối ---------- */
.lp-final {
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center;
	padding: 36px; border-radius: var(--lp-radius); color: #fff;
	background:
		radial-gradient(90% 120% at 0% 100%, rgba(201,154,62,.25) 0%, rgba(201,154,62,0) 60%),
		linear-gradient(135deg, var(--lp-red) 0%, #6d0a20 100%);
}
.lp-final .lp-eyebrow { color: var(--lp-gold-soft); }
.lp-final__title { font-size: clamp(21px, 2.5vw, 28px) !important; font-weight: 800; line-height: 1.3; margin: 8px 0 12px !important; color: #fff; text-transform: none; }
.lp-final__body { color: rgba(255,255,255,.88); font-size: 14.5px; }
.lp-final .rte strong { color: #fff; }
.lp-final .rte ul > li::before { background-color: rgba(255,255,255,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }
.lp-final__action { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 22px; }
.lp-price--light { color: #fff; margin-top: 0; }
.lp-final .lp-btn--primary { background: #fff; color: var(--lp-red) !important; box-shadow: none; }
.lp-final .lp-btn--primary:hover { background: var(--lp-gold-soft); }
.lp-final .lp-btn--ghost { border-color: rgba(255,255,255,.7); color: #fff !important; }
.lp-final .lp-btn--ghost:hover { background: #fff; color: var(--lp-red) !important; }
.lp-ctas--final .lp-btn { flex: 1 1 auto; }

/* Làm nổi khung mua hàng khi bấm "Đặt mua ngay" */
#product-buy { scroll-margin-top: 110px; }
#product-buy.lp-flash { animation: lp-flash 1.6s ease; border-radius: 10px; }
@keyframes lp-flash {
	0%, 100% { box-shadow: 0 0 0 0 rgba(177,17,51,0); }
	25% { box-shadow: 0 0 0 6px rgba(177,17,51,.25); }
}


/* ---------- Lightbox ---------- */
.lp-lightbox {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; align-items: center; justify-content: center;
	background: rgba(15, 10, 6, .92); padding: 48px 64px;
}
.lp-lightbox[hidden] { display: none; }
.lp-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lp-lightbox button {
	position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff;
	width: 46px; height: 46px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer;
}
.lp-lightbox button:hover { background: rgba(255,255,255,.25); }
.lp-lightbox__close { top: 14px; right: 14px; }
.lp-lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lp-lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
body.lp-no-scroll { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
	.lp-hero { padding: 26px; }
	.lp-hero__grid { gap: 26px; }
	.lp-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-trust__item:nth-child(3) { border-left: 0; }
	.lp-trust__item:nth-child(n+3) { border-top: 1px solid var(--lp-line); }
	.lp-sec, .lp-gallery, .lp-specs { padding: 26px; }
	.lp-sec--split, .lp-sec--reverse { gap: 26px; }
	.lp-final { grid-template-columns: minmax(0, 1fr); padding: 28px; }
}
@media (max-width: 767.98px) {
	.product-landing { gap: 12px; font-size: 14.5px; }
	.lp-hero { padding: 20px; }
	.lp-hero__grid,
	.lp-sec--split,
	.lp-sec--reverse,
	.lp-specs { grid-template-columns: minmax(0, 1fr); }
	.lp-sec--reverse .lp-sec__media { order: 0; }
	.lp-sec__media img { aspect-ratio: 4 / 3; }
	.lp-sec, .lp-gallery, .lp-specs { padding: 20px 18px; }
	.lp-specs { gap: 24px; }
	.lp-gallery__grid, .lp-gallery__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-gallery__grid--1 { grid-template-columns: minmax(0, 1fr); }
	.lp-strip { padding: 18px; }
	.lp-ctas { width: 100%; }
	.lp-ctas .lp-btn { flex: 1 1 100%; }
	.lp-ctas--hero .lp-btn--ghost,
	.lp-ctas--strip .lp-btn--ghost { flex: 1 1 calc(50% - 5px); }
	.lp-ctas--hero .lp-btn__long,
	.lp-ctas--strip .lp-btn__long { display: none; }
	.lp-ctas--hero .lp-btn__short,
	.lp-ctas--strip .lp-btn__short { display: inline; }
	.lp-final { padding: 22px 18px; }
	.lp-lightbox { padding: 56px 8px; }
	.lp-lightbox__nav { top: auto !important; bottom: 10px; transform: none !important; }
}
@media (max-width: 479.98px) {
	.lp-trust { grid-template-columns: minmax(0, 1fr); }
	.lp-trust__item + .lp-trust__item { border-left: 0; border-top: 1px solid var(--lp-line); }
	.lp-table th { width: 42%; }
}
/* Mobile: ẩn Quà tặng, Chia sẻ, Mã giảm giá và khối cam kết (Đồng nguyên chất, Chế tác thủ công...) trên trang sản phẩm */
@media (max-width: 767.98px) {
	.product-landing .lp-trust { display: none !important; }
	.single-products-custom .details-pro .form-inline,
	.single-products-custom .details-pro .bottom-product,
	.single-product .page-code { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.product-landing *, #product-buy.lp-flash { transition: none !important; animation: none !important; }
}

/* ---------- Mục có video: trái bài viết, phải video (inc/product-video.php) ---------- */
.lp-sec--video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; align-items: start; }
.lp-sec--video-portrait { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
.lp-video { margin: 0; position: sticky; top: 96px; }
.lp-video__frame {
	border-radius: 14px; overflow: hidden; background: #000;
	box-shadow: 0 18px 40px -22px rgba(43,29,20,.55);
	outline: 1px solid var(--lp-line); outline-offset: 4px;
}
.lp-video__player { display: block; width: 100%; height: auto; border: 0; aspect-ratio: 16 / 9; background: #000; }
.lp-video__caption { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--lp-ink-2); text-align: center; }
.lp-article { margin-top: 4px; }
.lp-article__item + .lp-article__item { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--lp-line); }
.lp-article__title {
	display: flex; align-items: center; gap: 10px;
	font-size: 17px !important; font-weight: 800; line-height: 1.35; margin: 0 0 8px !important;
	color: var(--lp-ink); text-transform: none;
}
.lp-article__title::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-red); box-shadow: 0 0 0 4px rgba(177,17,51,.12); }
.lp-article__body { color: var(--lp-ink-2); }
/* Mục "Video sản phẩm": sân khấu tràn ngang, nền ảnh sản phẩm làm mờ, video ở giữa khung viền vàng. */
.lp-vstage {
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; justify-content: center; align-items: center; padding: 34px 20px;
	border-radius: 14px; background: #1c120c;
}
.lp-vstage::before { /* ảnh sản phẩm phóng to, làm mờ */
	content: ""; position: absolute; inset: -40px; z-index: -2;
	background: var(--lp-vstage-bg, none) center / cover no-repeat;
	filter: blur(28px) saturate(1.2); opacity: .75;
}
.lp-vstage::after { /* phủ tối + ánh vàng ở giữa */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(ellipse 55% 60% at 50% 50%, rgba(253,201,125,.28), transparent 70%),
		linear-gradient(180deg, rgba(20,10,6,.55), rgba(20,10,6,.8));
}
.lp-sec--video-only .lp-vstage .lp-video { position: relative; top: auto; width: 100%; max-width: 640px; margin: 0; }
.lp-vstage--portrait .lp-video { max-width: 300px !important; }
.lp-vstage .lp-video__frame {
	border-radius: 18px; outline: 0;
	border: 2px solid rgba(253,201,125,.75);
	box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 24px 50px -12px rgba(0,0,0,.7), 0 0 60px rgba(253,201,125,.25);
}
.lp-vstage__badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px;
	font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fff;
	background: rgba(0,0,0,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	pointer-events: none;
}
.lp-vstage__dot { width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255,59,59,.7); animation: lp-vdot 1.6s infinite; }
@keyframes lp-vdot { 70% { box-shadow: 0 0 0 7px rgba(255,59,59,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); } }
@media (max-width: 767.98px) {
	.lp-vstage { padding: 24px 14px; margin: 0 -6px; }
	.lp-vstage--portrait .lp-video { max-width: 230px !important; }
}
@media (max-width: 991.98px) {
	.lp-sec--video { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 26px; }
	.lp-sec--video-portrait { grid-template-columns: minmax(0, 1fr) minmax(0, 270px); }
}
@media (max-width: 767.98px) {
	.lp-sec--video, .lp-sec--video-portrait { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.lp-video { position: static; }
	.lp-sec--video-portrait .lp-video { width: 100%; max-width: 340px; margin: 0 auto; }
}

/* Độ rộng video tùy chỉnh (ô "Độ rộng video" trong hộp Video sản phẩm): --lp-video-w */
.lp-sec--video.lp-video-w,
.lp-sec--video-portrait.lp-video-w { grid-template-columns: minmax(0, 1fr) minmax(0, var(--lp-video-w)); }
.lp-video-w .lp-vstage .lp-video,
.lp-video-w .lp-vstage--portrait .lp-video { max-width: var(--lp-video-w) !important; }
@media (max-width: 991.98px) {
	.lp-sec--video.lp-video-w,
	.lp-sec--video-portrait.lp-video-w { grid-template-columns: minmax(0, 1fr) minmax(0, min(var(--lp-video-w), 45%)); }
}
@media (max-width: 767.98px) {
	.lp-sec--video.lp-video-w,
	.lp-sec--video-portrait.lp-video-w { grid-template-columns: minmax(0, 1fr); }
	.lp-video-w .lp-video { width: 100%; max-width: var(--lp-video-w) !important; margin: 0 auto; }
}

/* Ảnh nhỏ dưới ảnh chính: mờ đi, ảnh đang xem mới rõ. */
.gallery-thumbs .swiper-slide img {
	opacity: .45;
	filter: grayscale(30%);
	transition: opacity .25s ease, filter .25s ease;
}
.gallery-thumbs .swiper-slide:hover img,
.gallery-thumbs .swiper-slide.swiper-slide-thumb-active img {
	opacity: 1;
	filter: none;
}

/* Điện thoại: ẩn cả khung ảnh + mua hàng phía trên (trang bắt đầu từ phần giới thiệu);
   bấm "Đặt mua ngay" mở cửa sổ chọn mua (.lp-sheet, assets/js/product-landing.js). */
@media (max-width: 767px) {
	.single-products-custom { display: none; }
	.single-landing { padding-top: 14px; } /* khoảng cách trên = 2 mép bên (14px) */
}

/* ---------- Album ảnh đầu landing ---------- */
.lp-hs { position: relative; border-radius: 12px; overflow: hidden;
	border: 1px solid rgba(201,154,62,.45); box-shadow: 0 24px 50px -20px rgba(0,0,0,.65); background: #fff; }
.lp-hs__track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	-webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.lp-hs__track::-webkit-scrollbar { display: none; }
.lp-hs__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.lp-hs .lp-zoom { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.lp-hs__nav {
	position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
	width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
	display: grid; place-items: center; cursor: pointer;
	background: rgba(255,255,255,.85); box-shadow: 0 2px 8px rgba(0,0,0,.25);
	transition: background .2s ease, transform .2s ease;
}
.lp-hs__nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.lp-hs__nav svg { width: 18px; height: 18px; fill: none; stroke: var(--mainColor, #b00e29); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lp-hs__nav--prev { left: 10px; }
.lp-hs__nav--next { right: 10px; }
.lp-hs__count {
	position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 2px 10px; border-radius: 99px;
	font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,.5); pointer-events: none;
}

/* ---------- Cửa sổ chọn mua (kiểu Shopee) ---------- */
.lp-sheet[hidden] { display: none; }
.lp-sheet {
	position: fixed; inset: 0; z-index: 100001;
	display: flex; flex-direction: column; justify-content: flex-end;
}
.lp-sheet__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); animation: lp-sheet-fade .2s ease; }
.lp-sheet__panel {
	position: relative; max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
	background: #fff; border-radius: 14px 14px 0 0;
	padding: 0 16px calc(14px + env(safe-area-inset-bottom));
	animation: lp-sheet-up .25s ease;
}
.lp-sheet__close {
	position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; z-index: 2;
	border: 0; background: none; font-size: 32px; line-height: 1; color: #555; cursor: pointer;
}
.lp-sheet__head {
	display: flex; align-items: flex-end; gap: 14px;
	padding: 16px 40px 14px 0; border-bottom: 1px solid #eee;
}
.lp-sheet__img {
	width: 112px; height: 112px; flex-shrink: 0; object-fit: cover;
	border-radius: 8px; border: 1px solid #eee; background: #f7f3ee;
}
.lp-sheet__info { min-width: 0; padding-bottom: 4px; }
.lp-sheet__price { color: var(--mainColor, #b00e29); font-size: 22px; font-weight: 700; line-height: 1.3; }
.lp-sheet__price del { display: block; font-size: 14px; font-weight: 400; color: #999; }
.lp-sheet__price ins { text-decoration: none; }
.lp-sheet__chosen { margin-top: 4px; font-size: 13px; color: #777; }
.lp-sheet__body { padding-top: 14px; }

/* Form WooCommerce bên trong cửa sổ */
.lp-sheet form.cart { margin: 0; }
.lp-sheet .variations, .lp-sheet .variations tbody, .lp-sheet .variations tr { display: block; width: 100%; }
.lp-sheet .variations td.label { padding-bottom: 8px !important; }
.lp-sheet .variations td.label label { font-size: 15px; font-weight: 600; margin: 0; }
.lp-sheet .variations_form table tr td .select_option_label {
	margin: 0 8px 8px 0; padding: 8px 14px; border-radius: 4px; font-size: 14px; background: #f5f5f5; border-color: #f5f5f5;
}
.lp-sheet .variations_form table tr td .selected {
	background: #fff4f5 !important; color: var(--mainColor, #b00e29) !important; border-color: var(--mainColor, #b00e29) !important;
}
.lp-sheet .woocommerce-variation-price,
.lp-sheet .woocommerce-variation-description { display: none; } /* giá đã hiện ở đầu cửa sổ */
.lp-sheet .woocommerce-variation-availability { font-size: 13px; color: #777; }
.lp-sheet .woocommerce-variation-add-to-cart,
.lp-sheet form.cart:not(.variations_form) {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid #eee;
}
.lp-sheet .quantity { flex: 1 0 100%; display: flex; align-items: center; justify-content: space-between; }
.lp-sheet .quantity::before { content: "Số lượng"; font-size: 15px; font-weight: 600; }
.lp-sheet .quantity .qty { width: 90px !important; height: 38px !important; margin: 0 !important; text-align: center; border-radius: 4px !important; }
.lp-sheet .single_add_to_cart_button,
.lp-sheet .buy_now_button {
	flex: 1 1 0; height: 48px; margin: 0 !important; border-radius: 6px !important; font-size: 15px !important;
}
/* Màu nút: "Thêm vào giỏ hàng" vàng, "Mua ngay" đỏ (nổi bật hơn) */
.lp-sheet form.cart .single_add_to_cart_button {
	background-color: #fdc97d !important; color: #5a1a00 !important; font-weight: 700;
}
.lp-sheet form.cart .single_add_to_cart_button:hover { background-color: #f7b955 !important; }
.lp-sheet form.cart .buy_now_button {
	background-color: var(--red, #b00e29) !important; color: #fff !important; font-weight: 700;
}
.lp-sheet form.cart .buy_now_button:hover { background-color: var(--blue) !important; }
@keyframes lp-sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes lp-sheet-fade { from { opacity: 0; } to { opacity: 1; } }

/* Thông báo (đã thêm vào giỏ / lỗi) đưa ra ngoài trên điện thoại */
.lp-notice-mobile { margin: 12px 16px 0 !important; }

/* Nhãn LIVE chấm đỏ ở góc phải trên video */
.lp-vstage__badge--live {
	left: auto; right: 12px; top: 12px;
	background: #e01e2b; letter-spacing: .08em; font-size: 11px; padding: 3px 9px 3px 8px;
	box-shadow: 0 2px 8px rgba(224, 30, 43, .45);
}
.lp-vstage__badge--live .lp-vstage__dot { background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); animation: lp-vdot-w 1.4s infinite; }
@keyframes lp-vdot-w { 70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

/* Khối chia đôi có video bên trái ([video-ben-trai]): đảo cột trên máy tính, giữ nguyên độ rộng các cột */
@media (min-width: 768px) {
	.lp-sec--video-left { direction: rtl; }
	.lp-sec--video-left > * { direction: ltr; }
}

/* Giá (kể cả khoảng giá "từ – đến") luôn nằm trên 1 hàng, chữ tự co theo màn hình */
.lp-price { flex-wrap: nowrap; white-space: nowrap; font-size: clamp(16px, 4.4vw, 26px); }
.lp-price__label { flex-shrink: 0; font-size: clamp(11px, 3vw, 13px); }

/* Nút Đặt mua / Gọi / Zalo: lần lượt phóng to - thu nhỏ từng nút để thu hút khách bấm */
@keyframes lp-btn-pulse {
	0%, 24%, 100% { transform: scale(1); }
	12%           { transform: scale(1.07); }
}
.lp-ctas .lp-btn { animation: lp-btn-pulse 3.6s ease-in-out infinite; will-change: transform; }
.lp-ctas .lp-btn:nth-child(2) { animation-delay: 1.2s; }
.lp-ctas .lp-btn:nth-child(3) { animation-delay: 2.4s; }
.lp-ctas .lp-btn:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .lp-ctas .lp-btn { animation: none; } }
