/* CCHub – giao diện chung trên nền Astra gốc. Màu thương hiệu xanh đậm, nút cam. */

/* Roboto chỉ cho tiếng Bulgaria: font hệ thống làm chữ Kirin trông như in nghiêng (bài học từ deans). Tiếng Hungary dùng font hệ thống vì file Roboto này không có ő, ű. */
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("fonts/roboto-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("fonts/roboto-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;
}
html:lang(bg) body, html:lang(bg) h1, html:lang(bg) h2, html:lang(bg) h3, html:lang(bg) h4,
html:lang(bg) button, html:lang(bg) input, html:lang(bg) .button, html:lang(bg) .site-title a {
	font-family: Roboto, Arial, Helvetica, sans-serif;
}

:root {
	--cch-green: #0E5E46;
	--cch-green-dark: #0A4634;
	--cch-orange: #E8590C;
	--cch-orange-dark: #C94B08;
	--cch-ink: #1C2421;
	--cch-muted: #4F5B56;
	--cch-line: #D9E2DE;
	--cch-tint: #EEF4F1;
}

/* Đầu trang */
.site-title a, .site-title a:hover { color: var(--cch-green) !important; font-weight: 800; letter-spacing: -.01em; }
.main-header-menu .menu-link { font-weight: 600; }

/* Nút chung, kể cả nút của Astra/WooCommerce */
.cch-btn, .woocommerce a.button, .woocommerce button.button, .ast-button {
	display: inline-block; background: var(--cch-orange); color: #fff !important; border: 0;
	padding: .8em 1.4em; font-weight: 700; line-height: 1.2; text-decoration: none; border-radius: 4px;
}
.cch-btn:hover, .woocommerce a.button:hover { background: var(--cch-orange-dark); color: #fff; }
.cch-btn--big { font-size: 1.1rem; padding: 1em 1.8em; }

/* Trang chủ: bỏ khoảng trống mặc định của Astra */
.home .site-content > .ast-container { max-width: 100%; padding: 0; }
.home .entry-content > .cch-home { margin: 0; }
.home .ast-article-single, .home .site-main { padding: 0 !important; margin: 0 !important; }
.home .entry-header { display: none; }

.cch-home { color: var(--cch-ink); }
.cch-home h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); line-height: 1.2; margin: 0 0 .4em; color: var(--cch-ink); }
.cch-home h3 { line-height: 1.25; }
.cch-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.cch-sec { padding: 48px 0; }
.cch-sec--tint { background: var(--cch-tint); }
.cch-sub { color: var(--cch-muted); max-width: 46em; margin: 0 0 28px; }

/* Màn hình đầu */
.cch-hero { background: var(--cch-green); color: #fff; padding: 36px 0 0; overflow: hidden; }
.cch-hero__in { display: grid; gap: 24px; }
.cch-hero h1 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
.cch-hero__lead { font-size: 1.08rem; line-height: 1.55; color: #E3EFEA; margin: 0 0 1em; max-width: 36em; }
.cch-hero__pts { list-style: none; margin: 0 0 1.5em; padding: 0; }
.cch-hero__pts li { padding: .3em 0 .3em 1.6em; position: relative; font-weight: 600; }
.cch-hero__pts li::before { content: ""; position: absolute; left: 0; top: .72em; width: .8em; height: .45em; border-left: 3px solid #FFC94D; border-bottom: 3px solid #FFC94D; transform: rotate(-45deg); }
.cch-hero__img img { display: block; width: 100%; height: auto; margin-top: 8px; }
@media (min-width: 960px) {
	.cch-hero { padding: 56px 0 0; }
	.cch-hero__in { grid-template-columns: 5fr 6fr; align-items: end; }
	.cch-hero__txt { padding-bottom: 56px; }
}

/* Lưới sản phẩm */
.cch-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cch-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cch-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.cch-card { border: 1px solid var(--cch-line); border-top: 5px solid var(--c); background: #fff; display: flex; flex-direction: column; }
.cch-card__img { display: block; background: #fff; }
.cch-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.cch-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.cch-card h3 { font-size: 1.35rem; margin: 0 0 .3em; }
.cch-card h3 a { color: var(--cch-ink); text-decoration: none; }
.cch-card__hook { color: var(--cch-muted); margin: 0 0 .8em; flex: 1; }
.cch-card__price { font-size: 1.6rem; font-weight: 800; color: var(--c); margin: 0 0 .6em; }
.cch-card .cch-btn { text-align: center; font-size: 1.05rem; }
.cch-card__more { display: block; text-align: center; margin-top: .6em; color: var(--cch-muted); font-weight: 600; }

.cch-cats { margin-top: 36px; }
.cch-cats h3 { font-size: 1.15rem; margin: 0 0 .6em; }
.cch-cats p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.cch-cats a { border: 1px solid var(--cch-green); color: var(--cch-green); padding: .45em .9em; text-decoration: none; font-weight: 600; }
.cch-cats a span { color: var(--cch-muted); font-weight: 400; margin-left: .2em; }
.cch-cats a:hover { background: var(--cch-green); color: #fff; }
.cch-cats a:hover span { color: #CFE3DA; }

/* Ảnh thật */
.cch-real { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 960px) { .cch-real { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.cch-real figure { margin: 0; }
.cch-real img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: #fff; }
.cch-real figcaption { font-size: .9rem; color: var(--cch-muted); padding-top: .4em; }

/* Các bước */
.cch-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 860px) { .cch-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.cch-steps li { border-left: 4px solid var(--cch-green); padding: 4px 0 4px 18px; }
.cch-steps__n { display: block; font-size: 2.4rem; font-weight: 800; color: var(--cch-orange); line-height: 1; margin-bottom: .2em; }
.cch-steps h3 { font-size: 1.2rem; margin: 0 0 .3em; }
.cch-steps p { margin: 0; color: var(--cch-muted); }

/* Khối thanh toán */
.cch-pay { background: var(--cch-green-dark); color: #E3EFEA; padding: 48px 0; }
.cch-pay h2 { color: #fff !important; }
.cch-pay p { max-width: 46em; font-size: 1.08rem; }

/* Lưu ý + câu hỏi */
.cch-two { display: grid; gap: 40px; }
@media (min-width: 960px) { .cch-two { grid-template-columns: 2fr 3fr; gap: 56px; } }
.cch-notes ul { margin: 0; padding-left: 1.2em; }
.cch-notes li { margin-bottom: .6em; }
.cch-faq details { border-bottom: 1px solid var(--cch-line); padding: 14px 0; }
.cch-faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; position: relative; padding-right: 28px; }
.cch-faq summary::-webkit-details-marker { display: none; }
.cch-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--cch-orange); }
.cch-faq details[open] summary::after { content: "–"; }
.cch-faq p { margin: .6em 0 0; color: var(--cch-muted); }

/* Lời mời cuối */
.cch-end { background: var(--cch-orange); color: #fff; padding: 48px 0; text-align: center; }
.cch-end h2 { color: #fff !important; }
.cch-end p { font-size: 1.1rem; margin: 0 0 1.2em; }
.cch-end .cch-btn { background: #fff; color: var(--cch-orange) !important; }
.cch-end .cch-btn:hover { background: #FFE8DA; }

/* Chân trang */
.cch-foot { background: #10241D; color: #B9CBC3; padding: 28px 0; font-size: .92rem; }
.cch-foot p { margin: 0 0 .8em; max-width: 60em; }
.cch-foot__lang { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; max-width: 100%; }
.cch-foot__lang li { margin: 0; white-space: nowrap; }
.cch-foot__lang .current-lang a { text-decoration: underline !important; }
.cch-foot__lang a { color: #fff; }

/* Trang sản phẩm */
.single-product .product .price { color: var(--cch-green) !important; font-size: 1.8rem !important; font-weight: 800; }
.single-product .product_title { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); }
.single-product .cch-order { border-radius: 0; }

/* Bỏ gạch chân link kiểu Astra trong các khối của trang chủ */
.cch-home a, .cch-btn, .cch-foot a { text-decoration: none !important; }
.cch-card__more { text-decoration: underline !important; text-underline-offset: 3px; }

/* Điện thoại: thẻ ngang, ảnh trái, chữ phải */
@media (max-width: 559px) {
	.cch-grid { gap: 12px; }
	.cch-card { display: grid; grid-template-columns: 38% 1fr; border-top-width: 1px; border-left: 5px solid var(--c); }
	.cch-card__img { align-self: center; padding: 6px; }
	.cch-card__body { padding: 12px 12px 14px 8px; }
	.cch-card h3 { font-size: 1.15rem; }
	.cch-card__hook { font-size: .9rem; line-height: 1.4; margin-bottom: .5em; }
	.cch-card__price { font-size: 1.3rem; margin-bottom: .4em; }
	.cch-card .cch-btn { font-size: .95rem; padding: .7em .6em; }
	.cch-card__more { font-size: .9rem; margin-top: .4em; }
	.cch-sec { padding: 36px 0; }
}

.main-header-menu .menu-link, .ast-header-break-point .main-header-menu .menu-link { color: var(--cch-green) !important; }
.main-header-menu .menu-link:hover { color: var(--cch-orange) !important; }
.cch-foot__links a { color: #fff; }
.cch-order__note a { color: inherit; text-decoration: underline; }
.page .entry-content h2 { font-size: 1.35rem; margin-top: 1.6em; }
.cch-real figure img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
/* Bảng trong bài: từ dài (tiếng Đức, Hungary) tự xuống dòng, không làm trang rộng ra trên điện thoại */
.woocommerce div.product .woocommerce-Tabs-panel table { width: 100%; table-layout: auto; }
.woocommerce div.product .woocommerce-Tabs-panel th,
.woocommerce div.product .woocommerce-Tabs-panel td { overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
