/* ==========================================================================
   Tenderly – theme.css
   Bổ sung cho theme.json: block styles, header, hiệu ứng nhỏ.
   ========================================================================== */

:root {
	--t-ease: cubic-bezier(.22, .61, .36, 1);
	--t-header-h: 92px;
	--t-line: rgba(17, 17, 17, .1);
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--wp--preset--color--sand); color: var(--wp--preset--color--ink); }
img { height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Header ---------- */
.t-header-wrap { position: sticky; top: 0; z-index: 50; }
.admin-bar .t-header-wrap { top: 32px; }
.t-header {
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(140%) blur(12px);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid var(--t-line);
	transition: background .4s var(--t-ease), border-color .4s, box-shadow .4s, color .4s;
}
.t-header__bar {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: var(--t-header-h);
	transition: min-height .4s var(--t-ease);
}
.is-scrolled .t-header__bar { min-height: 70px; }
.is-scrolled .t-header { box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .25); }
.t-header__tools { justify-self: end; }
.t-brand { justify-self: center; text-align: center; }
.t-brand .wp-block-site-title a { color: inherit; }
.t-brand .wp-block-site-title { margin: 0; }
.t-brand .wp-block-site-tagline { margin: 0; }

/* Nav links: gạch chân trượt */
.t-nav .wp-block-navigation-item__content { position: relative; padding: 6px 0; }
.t-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: right;
	transition: transform .45s var(--t-ease);
}
.t-nav .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
.t-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); transform-origin: left; }
.t-nav .wp-block-navigation__submenu-container {
	border: 0 !important; padding: 14px 0 !important; min-width: 250px !important;
	background: #fff !important; color: var(--wp--preset--color--ink) !important;
	box-shadow: 0 24px 60px -24px rgba(40, 25, 15, .3);
	letter-spacing: .12em;
}
.t-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 24px !important; font-weight: 500; }
.t-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--rose); }
.t-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 90px 32px 40px; background: var(--wp--preset--color--cream) !important; color: var(--wp--preset--color--ink) !important;
}
.t-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 18px; font-size: 18px; }
.t-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; background: transparent !important; padding: 8px 0 0 !important; font-size: 14px; }

.t-search .wp-block-search__button { background: transparent !important; color: inherit !important; padding: 6px !important; border: 0; }
.t-search .wp-block-search__input { border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; }
.t-header__phone .t-contact { font-size: 12px; font-weight: 600; letter-spacing: .12em; }

/* Header trong suốt nằm trên hero (trang chủ) */
.has-overlay-header .t-header-wrap { position: fixed; left: 0; right: 0; }
.has-overlay-header:not(.is-scrolled) .t-header {
	background: transparent; border-color: rgba(255, 255, 255, .18);
	backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff;
}
.has-overlay-header:not(.is-scrolled) .t-header a,
.has-overlay-header:not(.is-scrolled) .t-header .wp-block-site-tagline,
.has-overlay-header:not(.is-scrolled) .t-header .wp-block-navigation__responsive-container-open { color: #fff; }
.has-overlay-header:not(.is-scrolled) .t-nav .wp-block-navigation__submenu-container a { color: var(--wp--preset--color--ink); }

/* ---------- Typography helpers / block styles ---------- */
.is-style-eyebrow {
	font-size: 11px !important; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
	color: var(--wp--preset--color--rose); margin-bottom: 10px !important;
}
.has-night-background-color .is-style-eyebrow, .is-dark .is-style-eyebrow { color: #d9b8aa; }
.is-style-serif { font-family: var(--wp--preset--font-family--serif); font-style: italic; line-height: 1.45; color: var(--wp--preset--color--ink); }
.has-base-color.is-style-serif, .has-night-background-color .is-style-serif { color: inherit; }
.is-style-display { letter-spacing: .32em !important; font-weight: 500 !important; line-height: 1 !important; margin-right: -.32em; }

/* Đầu mục có chữ ký mờ phía sau */
.is-style-section-head { position: relative; text-align: center; padding-top: 30px; margin-bottom: var(--wp--preset--spacing--50); isolation: isolate; }
.is-style-section-head > * { position: relative; z-index: 1; }
.is-style-section-head h1, .is-style-section-head h2 { margin-top: 0; }
p.is-style-watermark {
	position: absolute !important; z-index: 0 !important; left: 50%; top: 50%;
	transform: translate(-50%, -54%) rotate(-6deg);
	margin: 0 !important; width: max-content; max-width: none !important;
	font-family: var(--wp--preset--font-family--script); font-size: var(--wp--preset--font-size--script) !important;
	line-height: 1; color: rgba(107, 33, 0, .09); pointer-events: none; user-select: none; white-space: nowrap;
	text-transform: none; letter-spacing: 0;
}
.has-night-background-color p.is-style-watermark { color: rgba(255, 255, 255, .08); }

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: background-color .35s var(--t-ease), color .35s, border-color .35s, transform .35s; }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--ink); border: 1px solid var(--wp--preset--color--ink); padding: 16px 34px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: #fff; }
.wp-block-button.is-style-light .wp-block-button__link {
	background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .8);
}
.wp-block-button.is-style-light .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-link .wp-block-button__link,
.t-more {
	background: none !important; color: inherit; padding: 0 0 6px !important; border-radius: 0;
	font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
	background-image: linear-gradient(currentColor, currentColor) !important; background-size: 100% 1px !important;
	background-repeat: no-repeat !important; background-position: 0 100% !important;
	transition: background-size .45s var(--t-ease), color .3s;
}
.wp-block-button.is-style-link .wp-block-button__link:hover, .t-more:hover { background-size: 35% 1px !important; color: var(--wp--preset--color--rose); }
.has-night-background-color .wp-block-button.is-style-link .wp-block-button__link { color: #fff; }

/* ---------- Hero slider ---------- */
.t-hero { position: relative; height: var(--t-hero-h, 100vh); min-height: 560px; overflow: hidden; background: var(--wp--preset--color--night); }
.t-hero > .wp-block-cover, .t-hero > .t-hero__slide {
	position: absolute !important; inset: 0; margin: 0 !important; min-height: 100% !important;
	opacity: 0; transition: opacity 1.4s var(--t-ease), visibility 1.4s; visibility: hidden;
}
.t-hero > .wp-block-cover:first-child, .t-hero > .t-hero__slide.is-active { opacity: 1; visibility: visible; }
.t-hero.is-ready > .wp-block-cover:not(.is-active) { opacity: 0; visibility: hidden; }
.t-hero__slide .wp-block-cover__image-background { transition: transform 7s linear; }
.t-hero.is-ready > .t-hero__slide:not(.is-active) .wp-block-cover__image-background { transform: scale(1.08); }
.t-hero__slide.is-active .wp-block-cover__image-background { transform: scale(1); }
/* Slide đầu hiện ngay khi tải trang (là LCP) – chỉ các slide sau mới có hiệu ứng hiện chữ. */
.t-hero__slide .wp-block-cover__inner-container > * { transition: opacity 1s var(--t-ease), transform 1s var(--t-ease); }
.t-hero.is-ready > .t-hero__slide:not(.is-active) .wp-block-cover__inner-container > * { opacity: 0; transform: translateY(24px); }
.t-hero__slide.is-active .wp-block-cover__inner-container > * { opacity: 1; transform: none; }
.t-hero__slide.is-active .wp-block-cover__inner-container > *:nth-child(2) { transition-delay: .15s; }
.t-hero__slide.is-active .wp-block-cover__inner-container > *:nth-child(3) { transition-delay: .3s; }
.t-hero__slide.is-active .wp-block-cover__inner-container > *:nth-child(4) { transition-delay: .45s; }
.t-hero__slide.is-active .wp-block-cover__inner-container > *:nth-child(5) { transition-delay: .6s; }
.t-hero__script { font-size: clamp(54px, 7vw, 96px) !important; line-height: .8 !important; margin-top: -.25em !important; opacity: .95; text-transform: none; }
.t-hero h1, .t-hero h2 { margin-bottom: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, .15); }
.t-hero__dots { position: absolute; z-index: 5; left: 50%; bottom: 38px; transform: translateX(-50%); display: flex; gap: 12px; }
.t-hero__dots button { width: 36px; height: 2px; padding: 0; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: background .3s, width .3s; }
.t-hero__dots button[aria-current="true"] { background: #fff; width: 56px; }
.t-hero__scroll { position: absolute; z-index: 5; right: clamp(20px, 4vw, 60px); bottom: 34px; color: #fff; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; opacity: .8; }
.t-hero__scroll::after { content: ""; display: block; width: 1px; height: 46px; margin: 12px auto 0; background: currentColor; animation: t-scroll 2.2s var(--t-ease) infinite; transform-origin: top; }
@keyframes t-scroll { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Danh mục ---------- */
.t-cats__grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.t-cat { position: relative; margin: 0; overflow: hidden; }
.t-cat a { display: block; overflow: hidden; }
.t-cat img { width: 100%; transition: transform 1.1s var(--t-ease), filter .6s; }
.t-cat:hover img { transform: scale(1.06); filter: brightness(.82); }
.t-cat figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0 !important; padding: 40px 12px 16px;
	color: #fff !important; text-align: center; font-size: 11px !important; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
	background: linear-gradient(transparent, rgba(18, 16, 16, .6)); pointer-events: none;
}

/* ---------- Thẻ sản phẩm ---------- */
.is-style-products { row-gap: 54px !important; column-gap: 28px !important; }
.is-style-products > li { text-align: center; display: flex; flex-direction: column; align-items: center; }
.is-style-products .wp-block-post-featured-image { position: relative; width: 100%; overflow: hidden; margin-bottom: 20px; background: var(--wp--preset--color--cream); }
.is-style-products .wp-block-post-featured-image img { transition: transform 1.1s var(--t-ease), opacity .7s var(--t-ease); }
.is-style-products .wp-block-post-featured-image:hover img { transform: scale(1.05); }
.is-style-products .tenderly-hover-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100% !important; object-fit: cover; opacity: 0; pointer-events: none; }
.is-style-products .has-hover-image:hover .tenderly-hover-img { opacity: 1; }
.is-style-products .wp-block-post-title { margin: 0 0 6px; letter-spacing: .14em; font-weight: 600; }
.is-style-products .wp-block-post-title a:hover { color: var(--wp--preset--color--rose); }
.is-style-products .t-more { color: var(--wp--preset--color--muted); margin-top: 4px; }
.is-style-products .t-more:hover { color: var(--wp--preset--color--ink); }
.t-products .wp-block-post-featured-image a::after {
	content: "Xem chi tiết"; position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translate(-50%, 12px); opacity: 0;
	background: rgba(255, 255, 255, .95); color: var(--wp--preset--color--ink); padding: 11px 20px;
	font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
	transition: opacity .45s var(--t-ease), transform .45s var(--t-ease);
}
.t-products .wp-block-post-featured-image:hover a::after { opacity: 1; transform: translate(-50%, 0); }

/* Category pills */
.wp-block-categories.is-style-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0 auto var(--wp--preset--spacing--50) !important; }
.wp-block-categories.is-style-pills li { margin: 0; }
.wp-block-categories.is-style-pills a {
	display: inline-block; padding: 10px 20px; border: 1px solid var(--t-line); border-radius: 999px;
	font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: all .3s;
}
.wp-block-categories.is-style-pills a:hover, .wp-block-categories.is-style-pills .current-cat a { background: var(--wp--preset--color--ink); color: #fff; border-color: var(--wp--preset--color--ink); }

/* ---------- Reel (băng chuyền video) ---------- */
.is-style-reel {
	position: relative; display: flex !important; gap: 14px !important; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: none; padding-bottom: 4px; cursor: grab;
}
.is-style-reel::-webkit-scrollbar { display: none; }
.is-style-reel > * { flex: 0 0 calc((100% - 14px * 4) / 5); scroll-snap-align: start; margin: 0 !important; }
.is-style-reel .wp-block-video video,
.is-style-reel .wp-block-image img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; background: #e8e0d6; }
.is-style-reel .wp-block-video { overflow: hidden; }
.is-style-reel .wp-block-video video { transition: transform .9s var(--t-ease); }
.is-style-reel .wp-block-video:hover video { transform: scale(1.04); }
.t-reel-wrap { position: relative; }
.t-reel-nav {
	position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
	border: 0; background: #fff; color: var(--wp--preset--color--ink); box-shadow: var(--wp--preset--shadow--soft);
	display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--t-ease), opacity .3s;
}
.t-reel-nav:hover { transform: scale(1.08); }
.t-reel-nav[disabled] { opacity: 0; pointer-events: none; }
.t-reel-nav--prev { left: -24px; }
.t-reel-nav--next { right: -24px; }
.t-reel-nav--prev svg { transform: scaleX(-1); }

/* ---------- Media & text ---------- */
.wp-block-media-text.is-style-tall { min-height: 560px; }
.wp-block-media-text.is-style-tall .wp-block-media-text__content { padding: var(--wp--preset--spacing--60) clamp(28px, 8%, 120px); max-width: 640px; }
.wp-block-media-text.is-style-tall .wp-block-media-text__media { overflow: hidden; }
.wp-block-media-text.is-style-tall .wp-block-media-text__media img { transition: transform 1.6s var(--t-ease); }
.wp-block-media-text.is-style-tall:hover .wp-block-media-text__media img { transform: scale(1.04); }
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { margin-left: auto; }
.wp-block-media-text h3 { margin-top: 4px; }

/* ---------- Ảnh: vòm & khung ---------- */
.wp-block-image.is-style-arch img { border-radius: 999px 999px 0 0; }
.wp-block-image.is-style-frame { position: relative; }
.wp-block-image.is-style-frame img { box-shadow: 18px 18px 0 0 var(--wp--preset--color--sand); }
.t-healing__media { position: relative; }
.t-healing__main { width: 78%; margin: 0 !important; }
.t-healing__float { position: absolute !important; right: 0; bottom: -6%; width: 42%; margin: 0 !important; border: 10px solid #fff; }
.t-healing__float img { box-shadow: none !important; }
.t-healing__small { max-width: 300px; margin: 0 auto 30px !important; }
.t-healing__text { padding: 0 clamp(0px, 3vw, 40px); }

/* ---------- Bài viết (thẻ) ---------- */
.t-posts .wp-block-post-template { row-gap: 48px !important; column-gap: 28px !important; }
.t-posts .wp-block-post-template > li { position: relative; display: flex; flex-direction: column; }
.t-posts .wp-block-post-featured-image { overflow: hidden; margin-bottom: 18px; background: var(--wp--preset--color--cream); }
.t-posts .wp-block-post-featured-image img { transition: transform 1.1s var(--t-ease); }
.t-posts .wp-block-post-featured-image:hover img { transform: scale(1.05); }
.t-posts .wp-block-post-title { margin: 0 0 8px; letter-spacing: .04em; line-height: 1.4; }
.t-posts .wp-block-post-excerpt { margin: 0 0 14px; }
.t-posts .wp-block-post-excerpt__excerpt { margin: 0; }
.t-posts .t-more { margin-top: auto; align-self: flex-start; color: var(--wp--preset--color--ink); }
.t-date-badge {
	position: absolute !important; top: 14px; left: 14px; z-index: 2; margin: 0 !important;
	background: #fff; padding: 10px 12px; min-width: 54px; text-align: center; line-height: 1;
}
.t-date-badge .wp-block-post-date { margin: 0; color: var(--wp--preset--color--ink); }
.t-date-badge__day { font-size: 20px !important; font-weight: 600; letter-spacing: 0 !important; font-family: var(--wp--preset--font-family--serif); }
.t-date-badge__month { font-size: 9px !important; letter-spacing: .18em !important; }
.t-clamp-2 > *, .t-clamp-2 a, .t-clamp-2 p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-clamp-3 p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Gallery masonry ---------- */
.wp-block-gallery.is-style-masonry { display: block !important; columns: 4 260px; column-gap: 16px; }
.wp-block-gallery.is-style-masonry > .wp-block-image { width: 100% !important; margin: 0 0 16px !important; break-inside: avoid; display: block; overflow: hidden; }
.wp-block-gallery.is-style-masonry > .wp-block-image img { width: 100%; height: auto !important; transition: transform 1s var(--t-ease), filter .5s; }
.wp-block-gallery.is-style-masonry > .wp-block-image:hover img { transform: scale(1.04); filter: brightness(.9); }
.wp-block-gallery.is-style-masonry.columns-3 { columns: 3 260px; }

/* ---------- Trang sản phẩm ---------- */
.t-crumbs { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.t-crumbs > * { margin: 0 !important; }
.t-crumbs > *:not(:last-child)::after { content: "/"; margin-left: 10px; color: var(--wp--preset--color--sand); }
.t-crumbs a { color: var(--wp--preset--color--muted); }
.t-crumbs a:hover { color: var(--wp--preset--color--ink); }
.t-crumbs .wp-block-post-title { font-size: 11px !important; letter-spacing: .16em; color: var(--wp--preset--color--ink); }
.t-product__gallery.wp-block-gallery { gap: 12px !important; }
.t-product__gallery.wp-block-gallery > .wp-block-image:first-child { width: 100% !important; flex-basis: 100% !important; }
.t-product__gallery.wp-block-gallery > .wp-block-image:first-child img { aspect-ratio: 4 / 5; }
.t-product__gallery.wp-block-gallery > .wp-block-image img { aspect-ratio: 1; object-fit: cover; }
.t-product__info { position: sticky; top: calc(var(--t-header-h) + 30px); align-self: flex-start; }
.t-product__title { font-size: clamp(34px, 4vw, 52px) !important; letter-spacing: .14em !important; margin: 0 0 14px !important; font-weight: 500 !important; }
.t-specs { list-style: none; padding: 18px 0; margin: 22px 0 !important; border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); }
.t-specs li { position: relative; padding-left: 22px; margin: 6px 0; color: var(--wp--preset--color--ink); }
.t-specs li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 8px; height: 1px; background: var(--wp--preset--color--rose); }
.t-order__price { margin: 0; color: var(--wp--preset--color--ink); }
.t-perks { list-style: none; padding: 0; margin: 4px 0 0 !important; }
.t-perks li { padding-left: 24px; position: relative; margin: 4px 0; }
.t-perks li::before { content: "✿"; position: absolute; left: 0; color: var(--wp--preset--color--rose); }

/* ---------- Nút liên hệ (block tenderly/contact-actions) ---------- */
.t-contacts { display: flex; flex-wrap: wrap; gap: 10px; }
.t-contacts.aligncenter, .t-contacts.has-text-align-center { justify-content: center; }
.t-contact { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: all .3s var(--t-ease); }
.t-contacts--buttons .t-contact {
	flex: 1 1 auto; justify-content: center; padding: 14px 18px; border: 1px solid var(--wp--preset--color--ink);
	font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--ink);
}
.t-contacts--buttons .t-contact:first-child { background: var(--wp--preset--color--ink); color: #fff; }
.t-contacts--buttons .t-contact:hover { background: var(--wp--preset--color--rose); border-color: var(--wp--preset--color--rose); color: #fff; }
.t-contacts--list { flex-direction: column; gap: 8px; }
.t-contacts--list .t-contact { color: inherit; }
.t-contacts--list .t-contact:hover { color: var(--wp--preset--color--rose); }
.t-header__phone.t-contacts--list .t-icon { width: 17px; }
.t-contacts--social { justify-content: center; gap: 30px; margin-top: 26px !important; }
.t-contacts--social .t-contact { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #fff; }
.t-contacts--social .t-contact:hover { color: #d9b8aa; }

/* Nút nổi */
.t-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.t-float .t-contact {
	width: 48px; height: 48px; border-radius: 50%; justify-content: center; color: #fff;
	background: var(--wp--preset--color--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45);
}
.t-float .t-contact span { position: absolute; right: 60px; white-space: nowrap; background: var(--wp--preset--color--ink); color: #fff; font-size: 11px; letter-spacing: .1em; padding: 7px 12px; opacity: 0; transform: translateX(8px); transition: all .3s var(--t-ease); pointer-events: none; }
.t-float .t-contact:hover span { opacity: 1; transform: none; }
.t-float .t-contact--zalo { background: #0068ff; }
.t-float .t-contact--messenger { background: linear-gradient(45deg, #0099ff, #a033ff 60%, #ff5280); }
.t-float .t-contact--phone { background: var(--wp--preset--color--rose); animation: t-pulse 2.6s infinite; }
@keyframes t-pulse { 0% { box-shadow: 0 0 0 0 rgba(180, 128, 111, .55); } 70% { box-shadow: 0 0 0 16px rgba(180, 128, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(180, 128, 111, 0); } }

/* ---------- Footer ---------- */
.t-footer { color: #b8b0a8; }
.t-footer h4 { letter-spacing: .24em !important; margin-bottom: 18px; }
.t-footer .t-brand--light { color: #fff; margin-bottom: 18px; }
.t-footer .t-brand--light a { color: #fff; }
.t-footer .wp-block-site-title { font-size: 30px; }
.t-footer .wp-block-site-tagline { color: #b8b0a8; }
.t-footer__line { border-color: rgba(255, 255, 255, .16) !important; background: rgba(255, 255, 255, .16) !important; margin: var(--wp--preset--spacing--50) auto !important; }
.t-footer a { color: #e8e1da; }
.t-footer a:hover { color: #d9b8aa; }
.t-footer__links { list-style: none; padding: 0; margin: 0; }
.t-footer__links li { margin: 6px 0; }
.t-footer__copy { margin-top: var(--wp--preset--spacing--50) !important; letter-spacing: .2em; text-transform: uppercase; color: #8d857e; }
@media (min-width: 782px) { .t-align-right-desktop { text-align: right; } }

.t-subscribe { position: relative; display: flex; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .5); max-width: 420px; margin: 0 auto; }
.t-subscribe input[type="email"] { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 14px 0; font: inherit; font-size: 14px; outline: none; }
.t-subscribe input::placeholder { color: rgba(255, 255, 255, .55); }
.t-subscribe button { background: none; border: 0; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; padding: 14px 0 14px 16px; transition: color .3s; }
.t-subscribe button:hover { color: #d9b8aa; }
.t-subscribe__msg { position: absolute; top: 100%; left: 0; right: 0; margin: 10px 0 0; font-size: 13px; color: #d9b8aa; text-align: center; }
.t-subscribe__msg.is-error { color: #ffb4a8; }
.t-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Bài viết chi tiết ---------- */
.t-meta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.t-meta .wp-block-post-terms a { color: var(--wp--preset--color--rose); }
.t-article .wp-block-post-title { max-width: 900px; margin-left: auto !important; margin-right: auto !important; line-height: 1.3; }
.t-article__cover { margin-block: var(--wp--preset--spacing--50) !important; }
.t-prose { font-size: 17px; line-height: 1.9; color: #4f4a46; }
.t-prose > p:first-child::first-letter { float: left; font-family: var(--wp--preset--font-family--serif); font-size: 4.2em; line-height: .85; padding: 6px 12px 0 0; color: var(--wp--preset--color--rose); }
.t-prose h2, .t-prose h3, .t-prose h4 { margin-top: 2em; letter-spacing: .04em; text-transform: none; }
.t-prose .wp-block-image { margin-block: 2.2em; }
.t-prose .wp-block-image img { width: 100%; }
.wp-block-separator.is-style-dots { color: var(--wp--preset--color--rose); margin-block: var(--wp--preset--spacing--50) !important; }
.wp-block-post-navigation-link { font-size: 13px; }
.wp-block-post-navigation-link .post-navigation-link__label { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--muted); }

/* Pagination */
.wp-block-query-pagination { margin-top: var(--wp--preset--spacing--50) !important; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; gap: 6px; }
.wp-block-query-pagination-numbers .page-numbers { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid transparent; }
.wp-block-query-pagination-numbers .page-numbers.current { border-color: var(--wp--preset--color--ink); }

/* Reveal khi cuộn (JS thêm .t-reveal) */
.t-reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--t-ease), transform 1.1s var(--t-ease); }
.t-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.t-reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.is-style-reel > * { flex-basis: calc((100% - 14px * 2) / 3); }
	.t-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.t-header__phone { display: none !important; }
}
@media (max-width: 781px) {
	:root { --t-header-h: 72px; }
	.admin-bar .t-header-wrap { top: 46px; }
	.t-header__bar { grid-template-columns: 48px 1fr 48px; }
	.t-brand .wp-block-site-title { font-size: 20px; letter-spacing: .24em; }
	.t-brand .wp-block-site-tagline { font-size: 8px; }
	.t-header__tools .t-search .wp-block-search__inside-wrapper { justify-content: flex-end; }
	.is-style-products, .t-posts .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 14px !important; row-gap: 34px !important; }
	.t-posts .wp-block-post-excerpt { display: none; }
	.is-style-reel > * { flex-basis: 62%; }
	.t-reel-nav { display: none; }
	.t-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
	.wp-block-media-text.is-style-tall { min-height: 0; }
	.wp-block-media-text.is-style-tall .wp-block-media-text__media { min-height: 320px; }
	.wp-block-media-text.is-style-tall .wp-block-media-text__content { padding: 48px 24px; }
	.t-healing__main { width: 86%; }
	.t-healing__float { width: 46%; bottom: -8%; border-width: 6px; }
	.t-healing__text { margin-top: 60px; }
	.t-product__info { position: static; }
	.wp-block-gallery.is-style-masonry { columns: 2; column-gap: 10px; }
	.wp-block-gallery.is-style-masonry > .wp-block-image { margin-bottom: 10px !important; }
	.t-hero__dots { bottom: 24px; }
	.t-hero__scroll { display: none; }
	.t-float { right: 12px; bottom: 12px; }
	.t-float .t-contact { width: 44px; height: 44px; }
	p.is-style-watermark { font-size: 84px !important; }
	.t-prose { font-size: 16px; }
}

/* ---------- Ghép các section tràn viền sát nhau ---------- */
.wp-block-post-content > .alignfull,
.wp-block-post-content > .alignfull + * { margin-block-start: 0 !important; }
.wp-block-post-content > .alignfull { margin-block-end: 0 !important; }
.t-main .wp-block-post-content:has(> .alignfull:last-child) { margin-bottom: 0; }
.is-style-section-head > * { max-width: min(1100px, 100%) !important; }
.wp-block-image.is-style-frame.t-healing__float img { box-shadow: 14px 14px 0 0 var(--wp--preset--color--sand) !important; }

/* Danh mục dưới tên sản phẩm */
.t-card-cat { margin: 0 0 6px !important; font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.t-card-cat a { color: inherit; }
.t-card-cat a:hover { color: var(--wp--preset--color--rose); }

/* ===== Thẻ sản phẩm / bài viết: bấm được cả thẻ, hiệu ứng theo cả thẻ ===== */
.is-style-products > li, .t-posts .wp-block-post-template > li { position: relative; cursor: pointer; }
.is-style-products .wp-block-post-title a::after,
.t-posts .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.is-style-products .t-card-cat a, .t-posts .wp-block-post-terms a { position: relative; z-index: 4; }
.is-style-products > li:hover .wp-block-post-featured-image img:not(.tenderly-hover-img),
.t-posts .wp-block-post-template > li:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.is-style-products > li:hover .has-hover-image .tenderly-hover-img { opacity: 1; }
.is-style-products > li:hover .wp-block-post-title a { color: var(--wp--preset--color--rose); }
.is-style-products > li:hover .t-more, .t-posts .wp-block-post-template > li:hover .t-more { background-size: 35% 1px !important; color: var(--wp--preset--color--ink); }
.t-products .wp-block-post-featured-image a::after { z-index: 2; }
.t-products .wp-block-post-template > li:hover .wp-block-post-featured-image a::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .t-products .wp-block-post-featured-image a::after { display: none; } }

/* ===== Video 360°: ảnh bìa + nút play, bấm mở lightbox ===== */
.is-style-reel .wp-block-video { position: relative; cursor: pointer; }
.is-style-reel .wp-block-video video { pointer-events: none; }
.is-style-reel .wp-block-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18,16,16,.45)); transition: opacity .4s; }
.t-play {
	position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .4s var(--t-ease), background .3s;
}
.t-play svg { margin-left: 4px; }
.is-style-reel .wp-block-video:hover .t-play { transform: scale(1.1); background: rgba(255,255,255,.35); }
.t-play-label { position: absolute; z-index: 2; left: 0; right: 0; bottom: 16px; text-align: center; color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; pointer-events: none; }

.t-vmodal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgba(12,10,10,.92); opacity: 0; visibility: hidden; transition: opacity .35s var(--t-ease), visibility .35s; }
.t-vmodal.is-open { opacity: 1; visibility: visible; }
.t-vmodal video { max-width: min(92vw, 520px); max-height: 86vh; width: auto; height: auto; background: #000; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); transform: scale(.96); transition: transform .45s var(--t-ease); }
.t-vmodal.is-open video { transform: none; }
.t-vmodal button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .3s; }
.t-vmodal button:hover { background: rgba(255,255,255,.28); }
.t-vmodal__close { top: 22px; right: 22px; }
.t-vmodal__prev { left: max(16px, calc(50% - 360px)); top: 50%; margin-top: -26px; }
.t-vmodal__next { right: max(16px, calc(50% - 360px)); top: 50%; margin-top: -26px; }
.t-vmodal__prev svg { transform: scaleX(-1); }
.t-vmodal__count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .24em; }
@media (max-width: 781px) { .t-vmodal__prev, .t-vmodal__next { top: auto; bottom: 18px; margin: 0; } .t-vmodal__prev { left: 18px; } .t-vmodal__next { right: 18px; } }
html.t-noscroll { overflow: hidden; }

.wp-block-tenderly-hero-slider { margin-block: 0 !important; }
