/*
 * Giao diện Flatsome theo phong cách gọn – thanh thoát: font Roboto, chữ vừa phải, icon nét mảnh màu chính.
 * Dùng design tokens (--bcy-*) do bicycle-core sinh từ Cài đặt › Thương hiệu: đổi "Màu chính" trong Admin
 * là toàn bộ nút, nhãn, icon, điểm nhấn đổi theo. Các class bcy-* được gắn trên phần tử UX Builder.
 */

:root {
	--bcy-ink: var(--bcy-color-text, #111);
	--bcy-body: #333;
	--bcy-muted: #6b7280;
	--bcy-line: #ececec;
	--bcy-red: var(--bcy-color-primary, #d71920);
	--bcy-red-dark: color-mix(in srgb, var(--bcy-red) 80%, #000);
	--bcy-red-soft: color-mix(in srgb, var(--bcy-red) 8%, #fff);
	--bcy-soft-bg: #f4f5f7;
	--bcy-card-border: var(--bcy-line);
	--bcy-r: 8px;
	--bcy-shadow-sm: 0 1px 3px rgb(16 16 16 / .06);
	--bcy-shadow-lg: 0 10px 30px rgb(16 16 16 / .10);
	--bcy-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Chữ ---------- */
body { font-size: 15px; line-height: 1.6; color: var(--bcy-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5, h6, .heading-font { letter-spacing: 0; color: var(--bcy-ink); }
h1 { font-size: 1.9rem; line-height: 1.25; }
h2 { font-size: 1.6rem; line-height: 1.3; }
h3 { font-size: 1.25rem; line-height: 1.35; }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1em; }
::selection { background: var(--bcy-red); color: #fff; }
a, .button, .box, .box-image img, .product-small, .icon-box { transition: all .25s var(--bcy-ease); }

.bcy-title { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 900; line-height: 1.25; margin: 0 0 .4em; }
.bcy-hl { color: var(--bcy-red); }
.bcy-sub { color: var(--bcy-muted); margin: 0 auto; max-width: 40rem; }
.bcy-tag {
	display: inline-block; margin: 0 0 14px !important; padding: 5px 12px; border-radius: 4px;
	background: var(--bcy-red-soft); color: var(--bcy-red); font-size: .75rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
}
.bcy-tag--light { background: rgb(255 255 255 / .16); color: #fff; }

/* Nhãn nhỏ cũ (trang Giới thiệu / Liên hệ). */
.bcy-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 .5em !important; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bcy-red); }
.bcy-kicker::before { content: ""; width: 20px; height: 2px; background: currentColor; }
.bcy-kicker--light { color: rgb(255 255 255 / .9); }

/* ---------- Nút ---------- */
.button, button, input[type="submit"] { border-radius: 6px; font-weight: 700; letter-spacing: 0; }
.button.primary:not(.is-outline):not(.is-link), .button.alt, .single_add_to_cart_button, .checkout-button, #place_order {
	background-color: var(--bcy-red) !important; border-color: var(--bcy-red) !important; color: #fff !important;
}
.button.primary:not(.is-outline):not(.is-link):hover, .button.alt:hover, .single_add_to_cart_button:hover, .checkout-button:hover, #place_order:hover {
	background-color: var(--bcy-red-dark) !important; border-color: var(--bcy-red-dark) !important;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--bcy-red) 30%, transparent);
}
.button.is-outline { border-width: 1px; }
.button.primary.is-outline { color: var(--bcy-red); border-color: var(--bcy-red); }
.button.primary.is-outline:hover { background: var(--bcy-red); color: #fff; }
.button.white.is-outline { border-width: 1.5px; }
.button.white.is-outline:hover { background: #fff; color: var(--bcy-ink) !important; }
.bcy-btn-more { text-transform: none !important; font-size: .88rem !important; margin: 0 !important; }
.bcy-btn-white { background: #fff !important; color: var(--bcy-red) !important; border-color: #fff !important; text-transform: none !important; min-width: 230px; margin: 14px 0 0 !important; }
.bcy-btn-white:hover { background: var(--bcy-ink) !important; color: #fff !important; border-color: var(--bcy-ink) !important; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="password"], select, textarea { border-radius: 6px; box-shadow: none; }
input:focus, select:focus, textarea:focus { border-color: var(--bcy-red) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--bcy-red) 15%, transparent) !important; }

/* ---------- Header ---------- */
.header-main { box-shadow: 0 1px 0 var(--bcy-line); }
.stuck .header-main { box-shadow: 0 4px 20px rgb(16 16 16 / .08); }
.header-nav-main > li > a { font-size: .82rem; font-weight: 700; letter-spacing: .01em; }
.header-nav-main > li > a:hover, .header-nav-main > li.active > a, .header-nav-main > li.current-menu-item > a { color: var(--bcy-red) !important; }
.nav-dropdown { border-radius: 8px; border: 1px solid var(--bcy-line); box-shadow: var(--bcy-shadow-lg); padding: 8px 0; }
.nav-dropdown > li > a { font-size: .88rem; font-weight: 500; }
.nav-dropdown > li > a:hover { color: var(--bcy-red); background: var(--bcy-red-soft); }
.logo a { font-weight: 900; letter-spacing: -.01em; color: var(--bcy-red) !important; }
.bcy-header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--bcy-ink); white-space: nowrap; }
.bcy-header-phone i { font-size: 1rem; color: var(--bcy-red); }
.cart-icon strong { border-radius: 99px; }

/* Header trong suốt (trang chủ): chữ trắng, nền trong; khi cuộn → nền trắng, chữ đậm. */
.transparent .header-main:not(.stuck) { box-shadow: none; }
.transparent #masthead:not(.stuck) .bcy-header-phone,
.transparent #masthead:not(.stuck) .bcy-header-phone i { color: #fff; }
.transparent #masthead:not(.stuck) .logo a { color: #fff !important; }
.transparent .header-wrapper:not(.stuck) .header-bg-color { background: linear-gradient(180deg, rgb(0 0 0 / .45), transparent) !important; }

/* ---------- Hero ---------- */
.bcy-hero .overlay { background: linear-gradient(90deg, rgb(0 0 0 / .62) 0%, rgb(0 0 0 / .35) 45%, rgb(0 0 0 / .05) 75%) !important; }
.bcy-hero__kicker { margin: 0 0 14px !important; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgb(255 255 255 / .92); }
.bcy-hero h1 {
	margin: 0 0 18px; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; font-weight: 900;
	text-transform: uppercase; color: #fff; text-wrap: balance;
}
.bcy-hero h1::after { content: ""; display: block; width: 48px; height: 4px; margin-top: 18px; border-radius: 2px; background: var(--bcy-red); }
.bcy-hero__lead { max-width: 34rem; margin: 0 0 26px !important; font-size: 1rem; line-height: 1.65; color: rgb(255 255 255 / .9); }
.bcy-hero .button { margin: 0 12px 10px 0; padding: 0 28px; min-height: 50px; line-height: 50px; font-size: .9rem; text-transform: uppercase; }

/* ---------- Dải cam kết nổi trên mép hero ---------- */
.bcy-usp-band { position: relative; z-index: 3; margin-top: -48px; background: transparent !important; }
.bcy-usp-row {
	background: #fff; border-top: 3px solid var(--bcy-red); border-radius: var(--bcy-r); box-shadow: var(--bcy-shadow-lg);
	padding: 0 !important; max-width: calc(var(--bcy-container, 1200px) - 60px) !important; margin-inline: auto !important;
}
.bcy-usp-row > .col { padding-bottom: 0 !important; }
.bcy-usp-row > .col + .col .col-inner { border-left: 1px solid var(--bcy-line); }
.bcy-usp .col-inner { padding: 18px 14px; }
.bcy-usp__box { align-items: center; gap: 10px; }
.bcy-usp__box .icon-box-text { padding-left: 0 !important; }
.bcy-usp__box h5 { margin: 0 0 2px; font-size: .76rem !important; white-space: nowrap; font-weight: 700; text-transform: uppercase !important; letter-spacing: .01em; color: var(--bcy-ink); }
.bcy-usp__box p { margin: 0; font-size: .78rem; line-height: 1.45; color: var(--bcy-muted); }

/* ---------- Icon: bcy-icon--{tên}. Mặc định ô màu chính; thêm bcy-icon--line để thành icon nét mảnh. ---------- */
.bcy-icon::before {
	content: ""; flex: none; display: block; width: 46px; height: 46px; border-radius: 10px;
	background: var(--bcy-red) var(--bcy-icon) center / 22px no-repeat;
}
.bcy-icon--line::before {
	width: 30px; height: 30px; border-radius: 0; background: var(--bcy-red);
	-webkit-mask: var(--bcy-icon) center / contain no-repeat; mask: var(--bcy-icon) center / contain no-repeat;
}
.bcy-icon.icon-box-top::before, .bcy-icon.icon-box-center::before { margin: 0 auto 14px; }
.bcy-icon.text-left.icon-box-top::before { margin-left: 0; }
.bcy-icon--shield { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.bcy-icon--qr { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Cpath d='M14 14h3v3h-3zM20 14v.01M14 20h.01M17 20h4v-3'/%3E%3C/svg%3E"); }
.bcy-icon--truck { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4h14v12H1zM15 9h4l3 3v4h-7'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E"); }
.bcy-icon--ruler { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.3 15.3 8.7 2.7a1 1 0 0 0-1.4 0L2.7 7.3a1 1 0 0 0 0 1.4l12.6 12.6a1 1 0 0 0 1.4 0l4.6-4.6a1 1 0 0 0 0-1.4zM7.5 10.5l2-2M10.5 13.5l2-2M13.5 16.5l2-2'/%3E%3C/svg%3E"); }
.bcy-icon--heart { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E"); }
.bcy-icon--eye { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.bcy-icon--pin { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.bcy-icon--phone { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.bcy-icon--mail { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E"); }
.bcy-icon--clock { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.bcy-icon--card { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20M6 15h4'/%3E%3C/svg%3E"); }
.bcy-icon--store { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5M5 9v12h14V9M10 21v-6h4v6'/%3E%3C/svg%3E"); }
.bcy-icon--refresh { --bcy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7L21 8M21 3v5h-5'/%3E%3C/svg%3E"); }

@media (min-width: 850px) {
	.bcy-usp-row--5 > .col { flex: 1 1 0 !important; max-width: none !important; }
}

/* ---------- Giới thiệu ---------- */
.bcy-intro__img, .bcy-intro__img .img-inner { border-radius: 12px; overflow: hidden; box-shadow: var(--bcy-shadow-lg); }
.bcy-intro p { color: var(--bcy-body); }
.bcy-callout {
	position: relative; margin: 18px 0 0 !important; padding: 16px 20px 16px 56px; border-left: 4px solid var(--bcy-red); border-radius: 6px;
	background: var(--bcy-red-soft); color: var(--bcy-ink) !important; font-weight: 500;
}
.bcy-callout strong { color: var(--bcy-red); }
.bcy-callout::before {
	content: ""; position: absolute; left: 18px; top: 50%; width: 24px; height: 24px; margin-top: -12px; background: var(--bcy-red);
	--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	-webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}

/* ---------- Tiêu đề section ---------- */
.bcy-section--soft { background-color: var(--bcy-soft-bg); }
.bcy-center-head { margin-bottom: 8px !important; }
.bcy-bar-head { margin-bottom: 4px !important; }
.bcy-bar-head .col { padding-bottom: 16px; }
.bcy-bar-title { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 900; line-height: 1.3; }
.bcy-bar-head--left .bcy-bar-title { padding-left: 12px; border-left: 4px solid var(--bcy-red); }
.bcy-bar-head--top .bcy-bar-title::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 12px; background: var(--bcy-red); }
/* Tiêu đề kiểu cũ (Giới thiệu/Liên hệ). */
.bcy-section-head { margin-bottom: 6px !important; }
.bcy-section-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 900; margin: 0; }
.bcy-section-head .col { padding-bottom: 16px; }

/* ---------- Thẻ danh mục ---------- */
.bcy-cat-card { border-radius: 12px; overflow: hidden; }
.bcy-cat-card .overlay { background: linear-gradient(0deg, rgb(0 0 0 / .7) 0%, rgb(0 0 0 / 0) 55%) !important; }
.bcy-cat-card h3 { margin: 0 0 2px; font-size: 1.15rem; font-weight: 700; color: #fff; }
.bcy-cat-card p { margin: 0 0 10px; font-size: .82rem; color: rgb(255 255 255 / .85); }
.bcy-cat-card .button { margin: 0; font-size: .8rem; text-transform: none; padding: 0 14px; min-height: 34px; line-height: 34px; }
.bcy-cat-card:hover { box-shadow: var(--bcy-shadow-lg); }
/* Lưới danh mục kiểu cũ (nếu còn dùng). */
.bcy-cat-grid .box { border-radius: 12px; overflow: hidden; }
.bcy-cat-grid .box-text h5, .bcy-cat-grid .header-title { text-transform: none !important; font-size: 1.05rem !important; font-weight: 700; color: #fff; }

/* ---------- Flash sale ---------- */
.bcy-flash .section-bg { background: linear-gradient(120deg, var(--bcy-red) 0%, var(--bcy-red-dark) 100%) !important; }
.bcy-flash__head { margin-bottom: 6px !important; }
.bcy-flash__head > .col:last-child > .col-inner { display: flex; justify-content: flex-end; }
.bcy-flash__title { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 !important; }
.bcy-flash__title > span:last-child { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 900; color: #fff; }
.bcy-flash__pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 6px; background: rgb(255 255 255 / .18);
	font-size: 1.05rem; font-weight: 900; text-transform: uppercase; color: #fff;
}
.bcy-flash__pill::before {
	content: ""; width: 18px; height: 18px; background: #fff;
	--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
	-webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.bcy-flash .ux-timer { display: inline-flex; gap: 8px; font-size: 100% !important; color: #fff; }
.bcy-flash .ux-timer span {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: auto; height: auto;
	min-width: 52px; padding: 8px 6px 6px; margin: 0; border-radius: 6px; background: rgb(0 0 0 / .28) !important;
	font-size: 1.35rem; font-weight: 900; line-height: 1; color: #fff;
}
.bcy-flash .ux-timer span strong { display: block; margin-top: 5px; font-size: .62rem; font-weight: 500; letter-spacing: 0; text-transform: none; opacity: .85; color: #fff; }
.bcy-flash .product-small.box { border-color: transparent; }
/* Thẻ sản phẩm nền trắng trong section tối: giữ màu chữ của thẻ (Flatsome tô trắng mọi chữ trong .dark). */
.dark .product-small.box .box-text { color: var(--bcy-body); }
.dark .product-small.box .product-title a, .dark .product-small.box .name a { color: var(--bcy-ink); }
.dark .product-small.box .bcy-card-brand { color: var(--bcy-red); }
.dark .product-small.box .price .amount { color: var(--bcy-red); }
.dark .product-small.box .price del .amount { color: #9ca3af; }
.dark .product-small.box .bcy-card-specs__label, .dark .product-small.box .bcy-card-sold { color: var(--bcy-muted); }
.dark .product-small.box .bcy-card-specs__value { color: var(--bcy-ink); }

/* ---------- Thẻ sản phẩm ---------- */
.product-small.box { background: #fff; border: 1px solid var(--bcy-line); border-radius: var(--bcy-r); overflow: hidden; }
.product-small.box:hover { box-shadow: var(--bcy-shadow-lg); }
.product-small .box-image { background: #fff; border-radius: 0; }
.product-small .box-text { padding: 12px 12px 10px; text-align: left; }
.product-small .category { display: none; }
.product-small .bcy-card-brand { margin: 0 0 3px; font-size: .68rem; letter-spacing: .02em; }
.product-small .product-title a, .product-small .name a { font-size: .88rem; font-weight: 500; line-height: 1.4; color: var(--bcy-ink); }
.product-small .product-title a:hover { color: var(--bcy-red); }
.product-small .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 2px; font-size: .95rem; line-height: 1.35; }
.price .amount { color: var(--bcy-red); font-weight: 700; }
.price ins { text-decoration: none; order: 1; }
.price del { order: 0; opacity: 1; }
.price del .amount { color: #9ca3af; font-size: .78rem; font-weight: 400; }
.product-small .star-rating { display: none; }

/* Chấm màu. */
.bcy-card-colors { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 6px !important; padding: 0; list-style: none; }
.bcy-card-colors li { width: 16px; height: 16px; margin: 0 !important; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14); }
.bcy-card-colors__more { width: auto !important; background: none !important; box-shadow: none !important; font-size: .72rem; line-height: 16px; color: var(--bcy-muted); }

/* Thông số dạng bảng 2 cột. */
.product-small .bcy-card-specs { margin: 10px 0 0 !important; padding: 8px 0 0 !important; border-top: 1px solid var(--bcy-line); font-size: .78rem; }
.product-small .bcy-card-specs li { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 4px !important; list-style: none; }
.product-small .bcy-card-specs__label { color: var(--bcy-muted); font-weight: 400; white-space: nowrap; }
.product-small .bcy-card-specs__value { color: var(--bcy-ink); font-weight: 600; text-align: right; min-width: 0; }
.product-small .bcy-card-foot { margin-top: 6px; padding-top: 0; border-top: 0; font-size: .72rem; }
.product-small .bcy-compare-btn { min-height: 0; padding: 2px 0; border: 0 !important; background: none !important; font-size: .74rem; font-weight: 600; color: var(--bcy-red) !important; }
.product-small .bcy-compare-btn svg { display: none; }
.product-small .bcy-compare-btn.is-active::before { content: "✓ "; }

/* Thẻ cao bằng nhau (lưới & slider): nội dung co giãn, "Đã bán / So sánh" luôn sát đáy. */
.products:not(.slider) > .product-small.col > .col-inner { height: 100%; }
.product-small.box { display: flex; flex-direction: column; }
.product-small.box > .box-text { flex: 1 1 auto; display: flex; flex-direction: column; }
.product-small.box .price-wrapper { flex: 1 1 auto; display: flex; flex-direction: column; }
.product-small.box .bcy-card-foot { margin-top: auto; }
.product-small.box .bcy-card-specs { margin-top: auto !important; }
.product-small .title-wrapper .product-title,
.product-small .title-wrapper .name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; margin: 0; }
.bcy-product-slider .flickity-prev-next-button { background: #fff; border-radius: 50%; box-shadow: var(--bcy-shadow-sm); color: var(--bcy-ink); width: 40px; height: 40px; }

/* Nhãn sản phẩm: góc phải trên, chữ nhỏ bo nhẹ. */
.product-small .badge-container { margin: 10px; left: auto; right: 0; align-items: flex-end; }
.badge { height: auto; width: auto; }
.badge-inner.bcy-badge { color: #fff; border-color: transparent; border-radius: 4px; padding: 3px 7px; font-size: .68rem; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.badge-inner.bcy-badge--sale { background-color: var(--bcy-color-cta, #f4511e); }
.badge-inner.bcy-badge--new { background-color: var(--bcy-red); }
.badge-inner.bcy-badge--hot { background-color: var(--bcy-color-warning, #b45309); }
.badge-inner.bcy-badge--out { background-color: #6b7280; }
.badge-inner.bcy-badge--custom { background-color: var(--bcy-red-dark); }
.badge + .badge { margin-top: 4px; }
.badge-container .badge { width: auto !important; height: auto !important; }
.badge-container .badge-inner.bcy-badge { width: auto !important; height: auto !important; min-width: 0; border-radius: 4px !important; padding: 3px 7px !important; line-height: 1.3 !important; }

/* ---------- Ưu đãi + form ---------- */
.bcy-offer__row { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--bcy-shadow-lg); max-width: calc(var(--bcy-container, 1200px) - 60px) !important; margin-inline: auto !important; }
.bcy-offer__row > .col { padding: 0 !important; }
.bcy-offer__media .col-inner, .bcy-offer__banner { height: 100%; min-height: 460px; }
.bcy-offer__banner h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 900; color: #fff; }
.bcy-offer__banner p { color: rgb(255 255 255 / .88); }
.bcy-offer__form .col-inner { padding: clamp(22px, 3vw, 40px); }
.bcy-offer__form .bcy-lead__title { text-align: center; font-size: 1.5rem; font-weight: 900; color: var(--bcy-red); }
.bcy-offer__form .bcy-lead__sub { text-align: center; }

/* ---------- Thẻ thông tin (Giới thiệu/Liên hệ) ---------- */
.bcy-card { background: #fff; border: 1px solid var(--bcy-line); border-radius: 12px; padding: 26px 22px; height: 100%; }
.bcy-card:hover { box-shadow: var(--bcy-shadow-lg); }
.bcy-card h5 { text-transform: none !important; font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--bcy-ink); }
.bcy-section--soft .bcy-card { border-color: transparent; box-shadow: var(--bcy-shadow-sm); }
.bcy-why__img, .bcy-why__img .img-inner { position: relative; border-radius: 12px; overflow: hidden; }
.lead { font-size: 1.02rem; line-height: 1.7; }

/* Danh sách ✓ (trang Giới thiệu, nền sáng/tối). */
.bcy-checklist { list-style: none; margin: 1em 0 1.4em !important; padding: 0; }
.bcy-checklist li { position: relative; margin: 0 0 .7em !important; padding-left: 32px; font-weight: 500; color: var(--bcy-ink); }
.bcy-checklist li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--bcy-red) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.bcy-checklist--light li { color: #fff; }
.bcy-checklist--light li::before {
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d71920' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* CTA nền màu chính (nếu dùng). */
.bcy-cta .section-bg { background: linear-gradient(120deg, var(--bcy-red) 0%, var(--bcy-red-dark) 100%) !important; }
.bcy-cta h2 { color: #fff; }

/* ---------- Tin tức ---------- */
.bcy-blog-grid .box { border-radius: var(--bcy-r); overflow: hidden; background: #fff; border: 1px solid var(--bcy-line); height: 100%; }
.bcy-blog-grid .box:hover { box-shadow: var(--bcy-shadow-lg); }
.bcy-blog-grid .box-text { padding: 14px 16px 16px !important; }
.bcy-blog-grid .post-title { font-weight: 700; font-size: .92rem; line-height: 1.45; color: var(--bcy-ink); }
.bcy-blog-grid .is-divider { display: none; }
.bcy-blog-grid .button { margin: 6px 0 0; padding: 0; min-height: 0; line-height: 1.4; border: 0; background: none !important; color: var(--bcy-red) !important; font-size: .8rem; text-transform: none; }

/* ---------- Tiêu đề trang ---------- */
.bcy-page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; color: #fff; }

/* ---------- Footer ---------- */
.bcy-footer { font-size: .88rem; }
.bcy-footer h4 { color: #fff; font-size: .9rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.bcy-footer__brand { font-weight: 900; color: #fff; }
.bcy-footer .ux-menu-link__link { min-height: 30px; padding-left: 0; }
.bcy-footer .ux-menu-link__text { color: rgb(255 255 255 / .7); }
.bcy-footer .ux-menu-link__link:hover .ux-menu-link__text, .bcy-footer a:hover { color: #fff; }
.bcy-footer p { color: rgb(255 255 255 / .72); }
.bcy-footer .social-icons .button { background: rgb(255 255 255 / .08) !important; border: 0 !important; color: #fff !important; box-shadow: none !important; }
.bcy-footer .social-icons .button:hover { background: var(--bcy-red) !important; }
.absolute-footer { font-size: .8rem; }

/* ---------- Cửa hàng & sản phẩm ---------- */
.shop-page-title .page-title-inner, .category-page-title .page-title-inner { padding-top: 18px; }
#shop-sidebar .bcy-filter-shell { background: #fff; border: 1px solid var(--bcy-line); border-radius: 12px; padding: 6px 16px 12px; }
#shop-sidebar .widget_bcy_product_filters .widget-title:empty,
#shop-sidebar .widget_bcy_product_filters .widget-title:empty + .is-divider { display: none; }
.product-info .product-title { font-weight: 700; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.3; }
.product-gallery .woocommerce-product-gallery__wrapper, .product-gallery .slide img { border-radius: 12px; }
.woocommerce-tabs .tabs > li > a { font-weight: 700; text-transform: none; }
.single-product form.cart .button { margin-left: 0; margin-right: 0; }

/* Dòng nhắc "[Nhập …]" trong bố cục khởi tạo. */
.bcy-hint { opacity: .7; font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 849px) {
	body { font-size: 14px; }
	.bcy-hero .overlay { background: linear-gradient(0deg, rgb(0 0 0 / .8) 0%, rgb(0 0 0 / .45) 55%, rgb(0 0 0 / .25) 100%) !important; }
	.bcy-hero h1 { margin-bottom: 14px; }
	.bcy-hero h1::after { margin-top: 14px; }
	.bcy-hero__lead { font-size: .92rem; margin-bottom: 20px !important; }
	.bcy-hero .button { margin: 0 8px 10px 0; padding: 0 18px; min-height: 44px; line-height: 44px; font-size: .82rem; }
	.bcy-usp-band { margin-top: -36px; }
	.bcy-usp-row { margin-inline: 12px !important; }
	.bcy-usp-row > .col + .col .col-inner { border-left: 0; }
	.bcy-usp .col-inner { padding: 12px 10px; }
	.bcy-usp__box { flex-direction: column; align-items: flex-start; gap: 6px; }
	.bcy-usp__box h5 { white-space: normal; }
	.bcy-icon--line::before { width: 26px; height: 26px; }
	.bcy-flash .ux-timer span { min-width: 44px; font-size: 1.1rem; }
	.bcy-flash__head > .col:last-child > .col-inner { justify-content: flex-start; }
	.bcy-offer__media .col-inner, .bcy-offer__banner { min-height: 300px; }
	.bcy-bar-head .button { padding: 0 10px; }
	.single-product form.cart .bcy-buy-now, .single-product form.cart .bcy-installment-btn { width: 100%; margin: 8px 0 0 !important; }
	.single_add_to_cart_button { width: 100%; min-height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
