/**
 * DetoxCare â€” style cá»§a child theme.
 *
 * MÃ u láº¥y tá»« logo cÃ¢y: xanh ngá»c (thÃ¢n cÃ¢y), xanh lÃ¡ chanh (ná»n banner), xanh navy.
 * MÃ u nháº¥n Ä‘á»•i Ä‘Æ°á»£c trong Customizer qua biáº¿n --detoxcare-accent.
 *
 * Font Be Vietnam Pro lÆ°u ngay trong theme (assets/fonts), chá»‰ bá»™ kÃ½ tá»± tiáº¿ng Viá»‡t + Latin:
 * khÃ´ng gá»i Google Fonts nÃªn khÃ´ng lá»™ IP khÃ¡ch, khÃ´ng thÃªm tÃªn miá»n pháº£i káº¿t ná»‘i.
 */

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/be-vietnam-pro-400-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/be-vietnam-pro-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/be-vietnam-pro-500-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/be-vietnam-pro-500-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/be-vietnam-pro-600-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/be-vietnam-pro-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/be-vietnam-pro-700-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/be-vietnam-pro-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/be-vietnam-pro-800-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Be Vietnam Pro";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/be-vietnam-pro-800-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Bảng màu ---------- */

:root {
	--detoxcare-accent: #147a76;
	--detoxcare-accent-dark: #0e5754;
	--detoxcare-accent-soft: #e5f3f1;
	--detoxcare-navy: #123f4f;
	--detoxcare-lime: #9bc53d;
	--detoxcare-lime-bright: #e0f784; /* đúng màu nền banner — hero dùng màu này để ảnh sản phẩm liền nền */
	--detoxcare-lime-soft: #f2f9d4;
	--detoxcare-mint: #eaf6f3;
	--detoxcare-aqua-soft: #e4f2f7;
	--detoxcare-ink: #24363c;
	--detoxcare-muted: #5f6f73;
	--detoxcare-line: #dde6e6;
	--detoxcare-surface: #f3f7f7;
	--detoxcare-price: #d9412b;
	--detoxcare-warning-bg: #fdf6e3;
	--detoxcare-warning-line: #e3c97a;
	--detoxcare-radius: 12px;
	--detoxcare-radius-lg: 20px;
	--detoxcare-radius-xl: 32px;
	--detoxcare-shadow: 0 1px 3px rgba( 18, 63, 79, 0.06 ), 0 6px 20px rgba( 18, 63, 79, 0.06 );
	--detoxcare-shadow-hover: 0 4px 8px rgba( 18, 63, 79, 0.06 ), 0 18px 40px rgba( 18, 63, 79, 0.14 );
	--detoxcare-font: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Nền tảng: chữ, nút, ô nhập ---------- */

body,
button,
input,
select,
textarea {
	font-family: var(--detoxcare-font);
}

body {
	color: var(--detoxcare-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	color: var(--detoxcare-navy);
	font-weight: 800;
	letter-spacing: -0.02em;
}

a {
	color: var(--detoxcare-accent);
}

a:hover,
a:focus {
	color: var(--detoxcare-accent-dark);
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wc-block-components-button:not(.is-link),
.wp-block-button__link {
	background: var(--detoxcare-accent);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	padding: 0.8em 1.7em;
	box-shadow: 0 6px 16px rgba( 20, 122, 118, 0.22 );
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.button:hover,
.wp-block-button__link:hover,
button:focus-visible,
.button:focus-visible,
.wp-block-button__link:focus-visible {
	background: var(--detoxcare-accent-dark);
	color: #fff;
	transform: translateY( -1px );
}

.button.alt,
button.alt,
.single_add_to_cart_button {
	background: var(--detoxcare-accent);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="password"],
textarea,
select {
	border: 1px solid var(--detoxcare-line);
	border-radius: var(--detoxcare-radius);
	background: #fff;
	box-shadow: none;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--detoxcare-accent);
	outline: 3px solid var(--detoxcare-accent-soft);
	outline-offset: 0;
}

/* ---------- Thanh trên cùng ---------- */

.detoxcare-topbar {
	background: var(--detoxcare-navy);
	color: rgba( 255, 255, 255, 0.9 );
	font-size: 0.82em;
}

.detoxcare-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1.5em;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.6em;
	padding-bottom: 0.6em;
}

.detoxcare-topbar__hotline {
	color: var(--detoxcare-lime-bright);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.detoxcare-topbar__hotline:hover,
.detoxcare-topbar__hotline:focus {
	color: #fff;
	text-decoration: underline;
}

/* ---------- Đầu trang ---------- */

.site-header {
	background: #fff;
	border-bottom: 0;
	box-shadow: 0 1px 0 var(--detoxcare-line);
	padding-top: 1.2em;
}

.site-branding .site-title {
	font-size: 1.75em;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0;
}

.site-branding .site-title a {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	color: var(--detoxcare-navy);
}

/* Biểu tượng cây (cắt từ logo cửa hàng) cạnh tên. */
.site-branding .site-title a::before {
	content: "";
	flex: 0 0 auto;
	width: 1.7em;
	height: 1.7em;
	background: url("../img/logo-mark.png") center / contain no-repeat;
}

.site-branding .site-description {
	color: var(--detoxcare-muted);
	font-size: 0.85em;
	/* Thẳng hàng với chữ của tên: (1.7em logo + 0.4em khoảng cách) × 1.75 cỡ tên ÷ 0.85 cỡ dòng này. */
	margin: 0.25em 0 0 4.3em;
}

.site-search .widget_product_search input[type="search"] {
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--detoxcare-surface);
	padding-top: 0.75em;
	padding-bottom: 0.75em;
}

.site-search .widget_product_search input[type="search"]:focus {
	background: #fff;
	border-color: var(--detoxcare-accent);
}

/* Chỉ kẻ vạch ở màn hình rộng: trên điện thoại Storefront kéo thanh menu lên cùng hàng
   với tên cửa hàng, vạch kẻ sẽ chạy xuyên qua chữ. */
@media (min-width: 768px) {
	.storefront-primary-navigation {
		border-top: 1px solid var(--detoxcare-line);
		margin-top: 1em;
	}
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
	position: relative;
	color: var(--detoxcare-navy);
	font-weight: 600;
	padding-top: 1.1em;
	padding-bottom: 1.1em;
}

/* Gạch chân xanh lá chanh khi rê chuột / ở trang hiện tại. */
.main-navigation ul.menu > li > a::after,
.main-navigation ul.nav-menu > li > a::after {
	content: "";
	position: absolute;
	left: 1em;
	right: 1em;
	bottom: 0.7em;
	height: 3px;
	border-radius: 3px;
	background: var(--detoxcare-lime);
	transform: scaleX( 0 );
	transition: transform 0.2s ease;
}

.main-navigation ul.menu > li.current-menu-item > a::after,
.main-navigation ul.menu > li > a:hover::after,
.main-navigation ul.nav-menu > li > a:hover::after {
	transform: scaleX( 1 );
}

.main-navigation ul.menu > li.current-menu-item > a,
.main-navigation ul.menu > li > a:hover,
.main-navigation ul.nav-menu > li > a:hover {
	color: var(--detoxcare-accent);
}

/* Không đổi padding: Storefront chừa khoảng trái để vẽ biểu tượng ☰ bằng ::before/::after. */
.main-navigation .menu-toggle,
.main-navigation .menu-toggle:hover {
	background: var(--detoxcare-accent-soft);
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	color: var(--detoxcare-accent-dark);
}

.site-header-cart .cart-contents {
	color: var(--detoxcare-navy);
	font-weight: 700;
}

.woocommerce-breadcrumb {
	background: transparent;
	color: var(--detoxcare-muted);
	font-size: 0.85em;
	padding: 1em 0;
	margin-bottom: 1em;
}

/* ---------- Tiêu đề trang ---------- */

.woocommerce-products-header,
.page .entry-header {
	padding-bottom: 0.5em;
}

.woocommerce-products-header__title,
.page .entry-header .entry-title {
	font-size: 2.2em;
}

.term-description,
.woocommerce-products-header .page-description {
	color: var(--detoxcare-muted);
	max-width: 46em;
}

.woocommerce-ordering select {
	border-radius: 999px;
	padding: 0.5em 1em;
}

/* ---------- Trang chủ: hero ---------- */

.page-template-template-homepage .site-main {
	padding-top: 0 !important;
}

.page-template-template-homepage .type-page {
	position: relative;
	margin: 1.5em 0 0;
	padding: 4em 2em 0;
	border-radius: var(--detoxcare-radius-xl);
	background:
		radial-gradient( circle at 10% 12%, rgba( 255, 255, 255, 0.6 ), transparent 32% ),
		radial-gradient( circle at 92% 8%, rgba( 255, 255, 255, 0.45 ), transparent 28% ),
		var(--detoxcare-lime-bright);
	color: var(--detoxcare-ink);
	text-align: center;
	overflow: hidden;
}

.page-template-template-homepage .type-page .col-full {
	max-width: 60em;
	margin: 0 auto;
	padding: 0;
}

/* Storefront căn giữa chữ hero còn nút thì căn trái — đưa hết về giữa cho thẳng hàng. */
.page-template-template-homepage .type-page .entry-header,
.page-template-template-homepage .type-page .entry-content {
	text-align: center;
}

.page-template-template-homepage .type-page .entry-title {
	max-width: 15em;
	margin: 0 auto 0.4em;
	color: var(--detoxcare-navy);
	font-size: 3.3em;
	line-height: 1.1;
	letter-spacing: -0.035em;
}

/* "chính hãng" trong tiêu đề: chữ xanh ngọc trên vệt bút dạ trắng. */
.detoxcare-hl {
	color: var(--detoxcare-accent);
	background: linear-gradient( transparent 58%, rgba( 255, 255, 255, 0.85 ) 58%, rgba( 255, 255, 255, 0.85 ) 92%, transparent 92% );
	padding: 0 0.08em;
	white-space: nowrap;
}

.page-template-template-homepage .type-page .entry-content {
	max-width: 36em;
	margin: 0 auto;
	color: #34484d;
	font-size: 1.1em;
	line-height: 1.65;
}

.page-template-template-homepage .type-page .wp-block-buttons {
	justify-content: center;
	margin-top: 1.8em;
	gap: 0.8em;
}

/* Storefront đặt bo góc 0 cho nút block bằng đúng selector này — phải ngang độ cụ thể mới đè được. */
.hentry .entry-content .wp-block-button .wp-block-button__link {
	border-radius: 999px;
}

.page-template-template-homepage .type-page .wp-block-button__link {
	background: var(--detoxcare-navy);
	color: #fff;
	padding: 0.95em 2em;
	box-shadow: 0 10px 24px rgba( 18, 63, 79, 0.25 );
}

.page-template-template-homepage .type-page .wp-block-button__link:hover {
	background: var(--detoxcare-accent);
	color: #fff;
}

.page-template-template-homepage .type-page .is-style-outline .wp-block-button__link {
	background: rgba( 255, 255, 255, 0.55 );
	border: 2px solid var(--detoxcare-navy);
	color: var(--detoxcare-navy);
	box-shadow: none;
}

.page-template-template-homepage .type-page .is-style-outline .wp-block-button__link:hover {
	background: #fff;
	color: var(--detoxcare-navy);
}

.detoxcare-hero__chips {
	list-style: none;
	margin: 1.6em 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6em;
}

.detoxcare-hero__chips li {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	margin: 0;
	padding: 0.45em 1em;
	border-radius: 999px;
	background: rgba( 255, 255, 255, 0.7 );
	color: var(--detoxcare-navy);
	font-size: 0.85em;
	font-weight: 600;
}

.detoxcare-hero__chips li::before {
	content: "";
	width: 1.15em;
	height: 1.15em;
	border-radius: 50%;
	background: var(--detoxcare-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Ảnh sản phẩm: mép trái/phải mờ dần vào nền để không lộ khung ảnh. */
.detoxcare-hero__media {
	margin: 2.2em auto 0;
	max-width: 56em;
}

.detoxcare-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	-webkit-mask-image: linear-gradient( to right, transparent, #000 7%, #000 93%, transparent );
	mask-image: linear-gradient( to right, transparent, #000 7%, #000 93%, transparent );
}

/* ---------- Trang chủ: dải cam kết ---------- */

.detoxcare-strip {
	margin: 1.5em 0 1em;
}

.detoxcare-strip__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 1em;
}

.detoxcare-strip__item {
	display: flex;
	gap: 0.85em;
	align-items: flex-start;
	margin: 0;
	padding: 1.2em;
	background: #fff;
	border-radius: var(--detoxcare-radius-lg);
	box-shadow: var(--detoxcare-shadow);
	font-size: 0.9em;
	line-height: 1.45;
}

.detoxcare-strip__item .detoxcare-icon {
	width: 44px;
	height: 44px;
	flex-basis: 44px;
	padding: 10px;
	margin: 0;
	border-radius: 14px;
	background: var(--detoxcare-lime-soft);
	color: var(--detoxcare-accent);
}

.detoxcare-strip__item strong {
	display: block;
	color: var(--detoxcare-navy);
}

.detoxcare-strip__item span span {
	display: block;
	color: var(--detoxcare-muted);
	font-size: 0.92em;
}

/* ---------- Tiêu đề các mục trang chủ ---------- */

.storefront-product-section {
	margin: 4em 0 0;
}

.storefront-product-section .section-title,
.detoxcare-steps .section-title,
.detoxcare-lines .section-title,
.detoxcare-home-blog .section-title {
	margin-bottom: 1.2em;
	font-size: 2em;
	text-align: center;
}

/* Hình cây nhỏ trên mỗi tiêu đề, lấy từ logo. */
.storefront-product-section .section-title::before,
.detoxcare-steps .section-title::before,
.detoxcare-lines .section-title::before,
.detoxcare-home-blog .section-title::before {
	content: "";
	display: block;
	width: 38px;
	height: 38px;
	margin: 0 auto 0.35em;
	background: url("../img/logo-mark.png") center / contain no-repeat;
}

.detoxcare-view-all {
	text-align: center;
	margin: 0.5em 0 1em;
}

.detoxcare-view-all .button {
	background: transparent;
	border: 2px solid var(--detoxcare-accent);
	color: var(--detoxcare-accent);
	box-shadow: none;
}

.detoxcare-view-all .button:hover {
	background: var(--detoxcare-accent);
	color: #fff;
}

/* ---------- Ô danh mục: nền pastel, ảnh hoà vào nền ---------- */

ul.products li.product-category {
	padding: 0 0 1.3em;
	border-radius: var(--detoxcare-radius-lg);
	overflow: hidden;
	background: var(--detoxcare-mint);
	text-align: center;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

ul.products li.product-category:nth-child( 3n + 2 ) {
	background: var(--detoxcare-lime-soft);
}

ul.products li.product-category:nth-child( 3n + 3 ) {
	background: var(--detoxcare-aqua-soft);
}

ul.products li.product-category:hover {
	box-shadow: var(--detoxcare-shadow-hover);
	transform: translateY( -4px );
}

ul.products li.product-category a {
	display: block;
	text-decoration: none;
}

/* Ảnh phủ kín phần trên thẻ: ảnh chụp có nền xám riêng, để lọt thỏm giữa nền pastel thì lộ khung. */
ul.products li.product-category img {
	display: block;
	margin: 0 0 1.1em;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
	border-radius: 0;
	transition: transform 0.3s ease;
}

ul.products li.product-category:hover img {
	transform: scale( 1.04 );
}

ul.products li.product-category .woocommerce-loop-category__title {
	margin: 0;
	padding: 0;
	color: var(--detoxcare-navy);
	font-size: 1.2em;
}

ul.products li.product-category .woocommerce-loop-category__title .count {
	display: block;
	margin-top: 0.3em;
	background: transparent;
	color: var(--detoxcare-accent);
	font-size: 0.72em;
	font-weight: 600;
}

/* ---------- Lưới sản phẩm ---------- */

/* Storefront để ~4em dưới mỗi thẻ; thẻ đã có nền nên khoảng đó thành một vệt trống. */
ul.products li.product {
	margin-bottom: 1.5em;
}

ul.products li.product:not(.product-category) {
	display: flex;
	flex-direction: column;
	padding: 0.75em 0.75em 1em;
	background: #fff;
	border-radius: var(--detoxcare-radius-lg);
	box-shadow: var(--detoxcare-shadow);
	text-align: left;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

ul.products li.product:not(.product-category):hover {
	box-shadow: var(--detoxcare-shadow-hover);
	transform: translateY( -4px );
}

/* Ảnh vuông trên nền nhạt: ảnh chụp nền trắng lẫn ảnh có khung đều nằm gọn, card đều nhau. */
ul.products li.product:not(.product-category) img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--detoxcare-surface);
	border-radius: var(--detoxcare-radius);
	margin: 0 0 0.9em;
	width: 100%;
}

ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.95em;
	font-weight: 600;
	line-height: 1.4;
	color: var(--detoxcare-navy);
	min-height: 2.8em;
	margin: 0 0 0.4em;
	padding: 0 0.2em;
	/* Tên dài từ sàn cắt còn 2 dòng để các card không lệch hàng. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

ul.products li.product .price {
	padding: 0 0.2em;
	color: var(--detoxcare-price);
	font-size: 1.15em;
	font-weight: 800;
	margin-bottom: 0.8em;
}

ul.products li.product .price del {
	color: var(--detoxcare-muted);
	font-size: 0.8em;
	font-weight: 400;
}

ul.products li.product .price ins {
	text-decoration: none;
}

ul.products li.product .button {
	margin-top: auto;
	display: block;
	width: 100%;
	text-align: center;
	font-size: 0.9em;
	padding: 0.75em 1em;
	background: var(--detoxcare-accent-soft);
	color: var(--detoxcare-accent-dark);
	box-shadow: none;
}

ul.products li.product .button:hover,
ul.products li.product .button:focus {
	background: var(--detoxcare-accent);
	color: #fff;
}

ul.products li.product .added_to_cart {
	display: block;
	text-align: center;
	font-size: 0.85em;
	padding-top: 0.5em;
}

ul.products li.product .onsale {
	position: absolute;
	top: 1.2em;
	left: 1.2em;
	margin: 0;
	z-index: 1;
}

/* ---------- Trang chủ: chọn bộ phù hợp ---------- */

.detoxcare-lines {
	margin: 4em 0 0;
	padding: 3em;
	border-radius: var(--detoxcare-radius-xl);
	background: var(--detoxcare-mint);
	display: grid;
	grid-template-columns: minmax( 0, 5fr ) minmax( 0, 7fr );
	gap: 3em;
	align-items: center;
}

.detoxcare-lines__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--detoxcare-radius-lg);
	box-shadow: var(--detoxcare-shadow-hover);
	transform: rotate( -2deg );
}

.detoxcare-lines .section-title {
	text-align: left;
}

.detoxcare-lines .section-title::before {
	margin-left: 0;
}

.detoxcare-lines__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1em;
}

.detoxcare-lines__list li {
	margin: 0;
}

.detoxcare-lines__list a {
	display: block;
	padding: 1.3em 1.5em;
	border-radius: var(--detoxcare-radius-lg);
	background: #fff;
	box-shadow: var(--detoxcare-shadow);
	color: var(--detoxcare-ink);
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.detoxcare-lines__list a:hover,
.detoxcare-lines__list a:focus-visible {
	box-shadow: var(--detoxcare-shadow-hover);
	transform: translateX( 4px );
}

.detoxcare-lines__list strong {
	display: block;
	margin-bottom: 0.25em;
	color: var(--detoxcare-navy);
	font-size: 1.15em;
}

.detoxcare-lines__list span {
	display: block;
	color: var(--detoxcare-muted);
	font-size: 0.92em;
	line-height: 1.55;
}

.detoxcare-lines__list em {
	display: inline-block;
	margin-top: 0.7em;
	padding: 0.3em 0.9em;
	border-radius: 999px;
	background: var(--detoxcare-lime-soft);
	color: var(--detoxcare-accent-dark);
	font-style: normal;
	font-weight: 700;
	font-size: 0.82em;
}

/* ---------- Trang chủ: mua hàng 3 bước ---------- */

.detoxcare-steps {
	margin: 4em 0 0;
}

.detoxcare-steps__list {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: detoxcare-step;
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 2em;
	text-align: center;
}

/* Đường nối nét đứt giữa các số. */
.detoxcare-steps__list::before {
	content: "";
	position: absolute;
	top: 1.75em;
	left: 16%;
	right: 16%;
	border-top: 2px dashed var(--detoxcare-lime);
}

.detoxcare-steps__item {
	position: relative;
	counter-increment: detoxcare-step;
	margin: 0;
	line-height: 1.6;
}

.detoxcare-steps__item::before {
	content: counter( detoxcare-step );
	display: grid;
	place-items: center;
	width: 3.5em;
	height: 3.5em;
	margin: 0 auto 1em;
	border-radius: 50%;
	background: var(--detoxcare-lime-bright);
	box-shadow: 0 0 0 8px #fff;
	color: var(--detoxcare-navy);
	font-size: 1em;
	font-weight: 800;
	position: relative;
}

.detoxcare-steps__item strong {
	display: block;
	margin-bottom: 0.35em;
	color: var(--detoxcare-navy);
	font-size: 1.15em;
}

.detoxcare-steps__item span {
	display: block;
	max-width: 20em;
	margin: 0 auto;
	color: var(--detoxcare-muted);
	font-size: 0.92em;
}

/* ---------- Trang chủ: dải liên hệ ---------- */

.detoxcare-contact {
	position: relative;
	margin: 4em 0 0;
	padding: 2.8em 3em;
	border-radius: var(--detoxcare-radius-xl);
	background:
		radial-gradient( circle at 95% 0%, rgba( 224, 247, 132, 0.25 ), transparent 35% ),
		radial-gradient( circle at 0% 100%, rgba( 255, 255, 255, 0.1 ), transparent 40% ),
		linear-gradient( 135deg, var(--detoxcare-navy ), var(--detoxcare-accent) );
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em 2em;
	align-items: center;
	justify-content: space-between;
	overflow: hidden;
}

.detoxcare-contact h2 {
	margin: 0 0 0.3em;
	color: #fff;
	font-size: 1.7em;
}

.detoxcare-contact p {
	margin: 0;
	max-width: 34em;
	color: rgba( 255, 255, 255, 0.85 );
}

.detoxcare-contact__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7em;
}

.detoxcare-contact .detoxcare-contact__call {
	background: var(--detoxcare-lime-bright);
	color: var(--detoxcare-navy);
	font-size: 1.05em;
	box-shadow: 0 10px 24px rgba( 0, 0, 0, 0.18 );
}

.detoxcare-contact .detoxcare-contact__call:hover,
.detoxcare-contact .detoxcare-contact__call:focus-visible {
	background: #fff;
	color: var(--detoxcare-navy);
}

.detoxcare-contact .detoxcare-contact__ghost {
	background: transparent;
	border: 2px solid rgba( 255, 255, 255, 0.6 );
	color: #fff;
	box-shadow: none;
}

.detoxcare-contact .detoxcare-contact__ghost:hover,
.detoxcare-contact .detoxcare-contact__ghost:focus-visible {
	background: rgba( 255, 255, 255, 0.12 );
	color: #fff;
}

/* ---------- Nhãn giảm giá ---------- */

.detoxcare-onsale {
	background: var(--detoxcare-lime-bright);
	color: var(--detoxcare-navy);
	border: 0;
	border-radius: 999px;
	font-weight: 800;
	min-height: auto;
	min-width: auto;
	padding: 0.35em 0.8em;
	line-height: 1.2;
}

/* ---------- Tồn kho ---------- */

.detoxcare-stock-low {
	color: var(--detoxcare-price);
	font-weight: 600;
}

/* ---------- Khối cam kết ở trang sản phẩm ---------- */

.detoxcare-trust {
	list-style: none;
	margin: 1.5em 0 0;
	padding: 1.2em;
	background: var(--detoxcare-surface);
	border-radius: var(--detoxcare-radius-lg);
	display: grid;
	gap: 1em;
}

.detoxcare-trust__item {
	display: flex;
	gap: 0.75em;
	align-items: flex-start;
	margin: 0;
}

.detoxcare-trust__body {
	display: block;
}

.detoxcare-trust__title {
	display: block;
	color: var(--detoxcare-navy);
	font-size: 0.95em;
}

.detoxcare-trust__text {
	display: block;
	color: var(--detoxcare-muted);
	font-size: 0.85em;
	line-height: 1.5;
}

.detoxcare-icon {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	color: var(--detoxcare-accent);
	margin-top: 0.15em;
}

/* ---------- Thanh miễn phí vận chuyển ---------- */

.detoxcare-freeship {
	margin-bottom: 1.5em;
	padding: 1em 1.2em;
	background: var(--detoxcare-surface);
	border-radius: var(--detoxcare-radius);
}

.detoxcare-freeship__label {
	margin: 0 0 0.6em;
	font-size: 0.9em;
	color: var(--detoxcare-ink);
}

.detoxcare-freeship__bar {
	height: 8px;
	background: var(--detoxcare-line);
	border-radius: 999px;
	overflow: hidden;
}

.detoxcare-freeship__fill {
	display: block;
	height: 100%;
	background: linear-gradient( 90deg, var(--detoxcare-accent), var(--detoxcare-lime) );
	border-radius: 999px;
	transition: width 0.3s ease;
}

.detoxcare-freeship.is-complete .detoxcare-freeship__label {
	color: var(--detoxcare-accent-dark);
	font-weight: 600;
}

/* ---------- Thông tin kỹ thuật sản phẩm (do plugin in ra) ---------- */

.detoxcare-specs {
	margin: 1.2em 0;
	border: 1px solid var(--detoxcare-line);
	border-radius: var(--detoxcare-radius);
	overflow: hidden;
	width: 100%;
	border-collapse: collapse;
}

.detoxcare-specs th,
.detoxcare-specs td {
	padding: 0.7em 1em;
	text-align: left;
	font-size: 0.9em;
	border-bottom: 1px solid var(--detoxcare-line);
}

.detoxcare-specs tr:last-child th,
.detoxcare-specs tr:last-child td {
	border-bottom: 0;
}

.detoxcare-specs th {
	width: 40%;
	background: var(--detoxcare-surface);
	color: var(--detoxcare-muted);
	font-weight: 600;
}

/* ---------- Cảnh báo an toàn / miễn trừ trách nhiệm ---------- */

.detoxcare-disclaimer {
	/* Ở trang sản phẩm khối này nằm ngay sau ảnh và phần mua hàng (đều float);
	   không clear thì nền vàng tràn ra sau cả hai. */
	clear: both;
	margin: 1.5em 0;
	padding: 1em 1.2em;
	background: var(--detoxcare-warning-bg);
	border: 1px solid var(--detoxcare-warning-line);
	border-left-width: 4px;
	border-radius: var(--detoxcare-radius);
	font-size: 0.85em;
	line-height: 1.6;
	color: #6b5418;
}

.detoxcare-disclaimer strong {
	display: block;
	margin-bottom: 0.3em;
	color: #5a4512;
}

/* ---------- Checkout ---------- */

.detoxcare-checkout-hotline {
	margin: 0 0 1em;
	padding: 0.8em 1em;
	background: var(--detoxcare-surface);
	border-radius: var(--detoxcare-radius);
	font-size: 0.9em;
	text-align: center;
}

/* ---------- Chuyển khoản VietQR ---------- */

.detoxcare-vietqr {
	margin: 1em 0;
	text-align: center;
}

.detoxcare-vietqr__image {
	max-width: 260px;
	height: auto;
	border: 1px solid var(--detoxcare-line);
	border-radius: var(--detoxcare-radius);
	padding: 0.5em;
	background: #fff;
}

.detoxcare-vietqr__details {
	margin: 1em auto 0;
	max-width: 420px;
	text-align: left;
	font-size: 0.9em;
}

.detoxcare-vietqr__details dt {
	color: var(--detoxcare-muted);
	font-size: 0.85em;
}

.detoxcare-vietqr__details dd {
	margin: 0 0 0.7em;
	font-weight: 600;
	word-break: break-word;
}

/* ---------- Trang chi tiết sản phẩm ---------- */

.single-product div.product .woocommerce-product-gallery .flex-viewport,
.single-product div.product .woocommerce-product-gallery__image img {
	border-radius: var(--detoxcare-radius-lg);
	background: var(--detoxcare-surface);
}

/* Ảnh "single" chỉ rộng 416px; khung ảnh rộng hơn thì ảnh phải giãn theo, không để dải trống. */
.single-product div.product .woocommerce-product-gallery__image img {
	width: 100%;
}

.single-product div.product .flex-control-thumbs img {
	border-radius: var(--detoxcare-radius);
	opacity: 0.6;
}

.single-product div.product .flex-control-thumbs img.flex-active,
.single-product div.product .flex-control-thumbs img:hover {
	opacity: 1;
}

.single-product div.product .product_title {
	font-size: 1.9em;
	line-height: 1.25;
}

.single-product div.product p.price {
	color: var(--detoxcare-price);
	font-size: 1.8em;
	font-weight: 800;
}

.single-product div.product form.cart .single_add_to_cart_button {
	padding: 0.95em 2.4em;
	font-size: 1.05em;
}

.single-product div.product form.cart .quantity .qty {
	border-radius: 999px;
	text-align: center;
}

.woocommerce-tabs ul.tabs li a {
	font-weight: 600;
}

.woocommerce-tabs ul.tabs li.active a {
	color: var(--detoxcare-accent);
}

/* ---------- Chân trang ---------- */

.site-footer {
	margin-top: 5em;
	padding-top: 3.5em;
	background: #0c2f38;
	color: rgba( 255, 255, 255, 0.75 );
}

/* Cùng selector với CSS màu chân trang Storefront in ra (màu tối #333) — nạp sau nên thắng. */
.site-footer a:not(.button):not(.components-button) {
	color: rgba( 255, 255, 255, 0.78 );
	text-decoration: none;
}

.site-footer a:not(.button):not(.components-button):hover,
.site-footer a:not(.button):not(.components-button):focus-visible {
	color: #fff;
	text-decoration: underline;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer .widget-title {
	color: #fff;
}

.site-footer .site-info {
	border-top: 1px solid rgba( 255, 255, 255, 0.12 );
	font-size: 0.85em;
}

.detoxcare-footer {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 2em;
	padding-bottom: 2.5em;
	font-size: 0.92em;
	line-height: 1.6;
}

.detoxcare-footer p {
	margin: 0 0 0.6em;
}

.detoxcare-footer__name {
	display: flex;
	align-items: center;
	gap: 0.45em;
	color: #fff;
	font-size: 1.4em;
	font-weight: 800;
}

/* Hình cây trên nền tròn trắng cho nổi trên nền tối. */
.detoxcare-footer__name::before {
	content: "";
	flex: 0 0 auto;
	width: 1.8em;
	height: 1.8em;
	border-radius: 50%;
	background: #fff url("../img/logo-mark.png") center / 72% no-repeat;
}

.site-footer .detoxcare-footer__title {
	margin: 0 0 1em;
	color: var(--detoxcare-lime-bright);
	font-size: 0.82em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.detoxcare-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.detoxcare-footer li {
	margin: 0 0 0.6em;
}

.site-footer .detoxcare-footer a.detoxcare-footer__hotline:not(.button) {
	color: #fff;
	font-size: 1.15em;
	font-weight: 800;
}

.detoxcare-footer__badges li {
	display: flex;
	gap: 0.6em;
	align-items: center;
}

.detoxcare-footer__badges .detoxcare-icon {
	width: 18px;
	height: 18px;
	flex-basis: 18px;
	margin: 0;
	color: var(--detoxcare-lime);
}

/* ---------- Cẩm nang (blog) ---------- */

/* Thẻ bài viết dùng chung: trang chủ và trang danh sách. */
.detoxcare-home-blog {
	margin: 4em 0 0;
}

.detoxcare-home-blog__grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 1.5em;
	margin-bottom: 1.5em;
}

.detoxcare-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--detoxcare-radius-lg);
	background: #fff;
	box-shadow: var(--detoxcare-shadow);
	color: var(--detoxcare-ink);
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.detoxcare-post-card:hover,
.detoxcare-post-card:focus-visible {
	color: var(--detoxcare-ink);
	box-shadow: var(--detoxcare-shadow-hover);
	transform: translateY( -4px );
}

.detoxcare-post-card img,
.detoxcare-post-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background: var(--detoxcare-surface);
}

.detoxcare-post-card__body {
	display: block;
	padding: 1.1em 1.3em 1.4em;
}

.detoxcare-post-card__body strong {
	display: block;
	margin-bottom: 0.4em;
	color: var(--detoxcare-navy);
	font-size: 1.05em;
	line-height: 1.4;
}

.detoxcare-post-card__body span {
	color: var(--detoxcare-muted);
	font-size: 0.9em;
	line-height: 1.55;
}

/* Trang danh sách bài: lưới thẻ 3 cột. */
.blog .site-main,
.category .site-main,
.tag .site-main {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 1.5em;
}

.blog .site-main > :not(article),
.category .site-main > :not(article),
.tag .site-main > :not(article) {
	grid-column: 1 / -1;
}

.blog .site-main > article,
.category .site-main > article,
.tag .site-main > article {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0 0 1.3em;
	overflow: hidden;
	border-radius: var(--detoxcare-radius-lg);
	background: #fff;
	box-shadow: var(--detoxcare-shadow);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog .site-main > article:hover,
.category .site-main > article:hover,
.tag .site-main > article:hover {
	box-shadow: var(--detoxcare-shadow-hover);
	transform: translateY( -4px );
}

/* Ảnh lên đầu thẻ (trong HTML ảnh nằm sau tiêu đề). */
.detoxcare-post-card__image {
	order: -1;
	display: block;
	margin-bottom: 1em;
}

.site-main > article .entry-header,
.site-main > article > .entry-content {
	padding: 0 1.3em;
	margin: 0;
	border: 0;
}

.site-main > article .entry-header .entry-title {
	margin: 0.2em 0 0.4em;
	font-size: 1.15em;
	font-weight: 700;
	line-height: 1.4;
}

.site-main > article .entry-header .entry-title a {
	color: var(--detoxcare-navy);
	text-decoration: none;
}

.site-main > article > .entry-content p {
	margin-bottom: 0.8em;
	color: var(--detoxcare-muted);
	font-size: 0.92em;
	line-height: 1.6;
}

.detoxcare-post-card__more {
	font-weight: 700;
	font-size: 0.9em;
	text-decoration: none;
}

/* Ngày đăng nhỏ gọn; bỏ tên tác giả (tài khoản quản trị) và số bình luận. */
.hentry .entry-meta,
.hentry .posted-on {
	color: var(--detoxcare-muted);
	font-size: 0.82em;
}

.hentry .post-author,
.hentry .post-comments {
	display: none;
}

.category .page-header,
.blog .page-header {
	text-align: center;
	margin-bottom: 1em;
}

.category .page-header .page-title {
	font-size: 2.2em;
}

.category .taxonomy-description {
	max-width: 40em;
	margin: 0 auto;
	color: var(--detoxcare-muted);
}

/* Trang bài viết: cột chữ hẹp dễ đọc. */
.single-post .content-area {
	max-width: 48em;
	margin-left: auto;
	margin-right: auto;
	float: none;
}

.single-post .hentry .entry-header .entry-title {
	font-size: 2.2em;
	line-height: 1.2;
}

.single-post .hentry .entry-content {
	font-size: 1.06em;
	line-height: 1.8;
}

.single-post .hentry .entry-content h2 {
	margin-top: 1.6em;
	font-size: 1.45em;
}

.single-post .hentry .entry-content li {
	margin-bottom: 0.4em;
}

.single-post .hentry .post-thumbnail img,
.single-post .hentry .wp-post-image {
	width: 100%;
	max-height: 26em;
	object-fit: cover;
	border-radius: var(--detoxcare-radius-lg);
	background: var(--detoxcare-surface);
}

.detoxcare-post-cta {
	margin: 2em 0 1em;
	padding: 1.6em 1.8em;
	border-radius: var(--detoxcare-radius-lg);
	background: var(--detoxcare-mint);
}

.detoxcare-post-cta h2 {
	margin: 0 0 0.8em;
	font-size: 1.2em;
}

.detoxcare-post-cta ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6em;
	margin: 0 0 1em;
	list-style: none;
}

.detoxcare-post-cta li {
	margin: 0;
}

.detoxcare-post-cta li a {
	display: inline-block;
	padding: 0.5em 1.1em;
	border-radius: 999px;
	background: #fff;
	color: var(--detoxcare-accent-dark);
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--detoxcare-shadow);
}

.detoxcare-post-cta p {
	margin: 0;
}

@media (max-width: 1023px) {
	.detoxcare-home-blog__grid,
	.blog .site-main,
	.category .site-main,
	.tag .site-main {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media (max-width: 767px) {
	.detoxcare-home-blog__grid,
	.blog .site-main,
	.category .site-main,
	.tag .site-main {
		grid-template-columns: 1fr;
	}

	.single-post .hentry .entry-header .entry-title {
		font-size: 1.6em;
	}
}

/* ---------- Nút liên hệ nổi: Messenger, Zalo, gọi ---------- */

.detoxcare-chat {
	position: fixed;
	right: 18px;
	bottom: 22px;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.detoxcare-chat__btn {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba( 0, 0, 0, 0.22 );
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.detoxcare-chat__btn:hover,
.detoxcare-chat__btn:focus-visible {
	color: #fff;
	transform: scale( 1.08 );
	box-shadow: 0 10px 24px rgba( 0, 0, 0, 0.28 );
}

.detoxcare-chat__btn svg {
	width: 28px;
	height: 28px;
}

.detoxcare-chat__btn--messenger {
	background: linear-gradient( 45deg, #0866ff, #00c6ff );
	/* Vòng sóng lan ra để khách để ý nút chat. */
	animation: detoxcare-chat-pulse 2.4s ease-out infinite;
}

.detoxcare-chat__btn--zalo {
	background: #0068ff;
	font-size: 0.78em;
	font-weight: 800;
}

.detoxcare-chat__btn--call {
	background: var(--detoxcare-accent);
}

.detoxcare-chat__btn--call svg {
	width: 24px;
	height: 24px;
}

@keyframes detoxcare-chat-pulse {
	0% {
		box-shadow: 0 6px 18px rgba( 0, 0, 0, 0.22 ), 0 0 0 0 rgba( 8, 102, 255, 0.45 );
	}

	70%,
	100% {
		box-shadow: 0 6px 18px rgba( 0, 0, 0, 0.22 ), 0 0 0 14px rgba( 8, 102, 255, 0 );
	}
}

@media (prefers-reduced-motion: reduce) {
	.detoxcare-chat__btn--messenger {
		animation: none;
	}
}

/* Điện thoại: đẩy lên trên thanh công cụ dưới đáy (tài khoản / tìm kiếm / giỏ hàng)
   và thanh mua hàng ở trang sản phẩm. */
@media (max-width: 767px) {
	.detoxcare-chat {
		right: 12px;
		bottom: calc( 84px + env( safe-area-inset-bottom ) );
		gap: 8px;
	}

	.detoxcare-chat__btn {
		width: 48px;
		height: 48px;
	}

	.detoxcare-chat__btn svg {
		width: 24px;
		height: 24px;
	}
}

/* ---------- Thanh mua hàng dính trên điện thoại ---------- */

.detoxcare-buybar {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 999;
	display: flex;
	align-items: center;
	gap: 1em;
	padding: 0.7em 1em calc( 0.7em + env( safe-area-inset-bottom ) );
	background: #fff;
	border-top: 1px solid var(--detoxcare-line);
	box-shadow: 0 -4px 16px rgba( 0, 0, 0, 0.08 );
}

.detoxcare-buybar[hidden] {
	display: none;
}

.detoxcare-buybar__info {
	flex: 1 1 auto;
	min-width: 0;
}

.detoxcare-buybar__title {
	display: block;
	font-size: 0.8em;
	color: var(--detoxcare-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.detoxcare-buybar__price {
	display: block;
	font-weight: 700;
	color: var(--detoxcare-ink);
}

.detoxcare-buybar__price del {
	opacity: 0.55;
	font-weight: 400;
	font-size: 0.85em;
}

.detoxcare-buybar__button {
	flex: 0 0 auto;
	background: var(--detoxcare-accent);
	color: #fff;
}

/* ---------- Màn hình nhỏ ---------- */

@media (min-width: 768px) {
	.detoxcare-trust {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media (max-width: 1023px) {
	.detoxcare-strip__list,
	.detoxcare-footer {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media (max-width: 767px) {
	.site-branding .site-title {
		font-size: 1.4em;
	}

	.page-template-template-homepage .type-page {
		margin-top: 1em;
		padding: 2.4em 1.2em 0;
		border-radius: var(--detoxcare-radius-lg);
	}

	.page-template-template-homepage .type-page .entry-title {
		font-size: 2.1em;
	}

	.page-template-template-homepage .type-page .entry-content {
		font-size: 1em;
	}

	.detoxcare-hero__media img {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.storefront-product-section .section-title,
	.detoxcare-steps .section-title,
	.detoxcare-lines .section-title {
		font-size: 1.5em;
	}

	.detoxcare-lines {
		grid-template-columns: 1fr;
		gap: 1.8em;
		padding: 1.6em 1.2em;
		border-radius: var(--detoxcare-radius-lg);
	}

	.detoxcare-lines__image {
		max-width: 20em;
		margin: 0 auto;
	}

	.detoxcare-steps__list {
		grid-template-columns: 1fr;
		gap: 1.6em;
	}

	.detoxcare-steps__list::before {
		display: none;
	}

	.detoxcare-contact {
		padding: 2em 1.4em;
		border-radius: var(--detoxcare-radius-lg);
	}

	.single-product div.product .product_title {
		font-size: 1.4em;
	}
}

@media (max-width: 480px) {
	.detoxcare-topbar__inner {
		justify-content: center;
		text-align: center;
	}

	.detoxcare-strip__list,
	.detoxcare-footer {
		grid-template-columns: 1fr;
	}

	ul.products li.product:not(.product-category) {
		padding: 0.5em 0.5em 0.8em;
	}
}
