/* =========================================================
   Lucian VN – main.css
   BẢNG MÀU: đổi ở đây là đổi cả web.
   #787548 = rgb(120,117,72) do chủ shop chỉ định.
   Độ tương phản: chữ trắng trên #787548 = 4.7:1 (đạt AA cho chữ thường & nút);
   chữ nhỏ trên nền nhạt #f3f2ea dùng --c-dark (#5f5c38, 6:1).
   ========================================================= */
:root {
	--c: #787548;          /* màu chủ đạo: header, nút, giá, nhãn, footer */
	--c-dark: #5f5c38;     /* hover, chữ nhỏ trên nền nhạt */
	--c-darker: #46442a;   /* footer dưới, chữ đậm */
	--c-light: #f3f2ea;    /* nền khối nhạt */
	--c-line: #e3e1d3;     /* đường kẻ */
	--accent: #f2c200;     /* vàng Lucian (nhãn phụ, dùng chữ tối trên nền này) */
	--text: #222;
	--muted: #666;
	--bg: #fff;
	--danger: #c0392b;
	--zalo: #0068ff;
	--radius: 10px;
	--shadow: 0 2px 10px rgba(40, 38, 20, .08);
	--wrap: 1240px;
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 var(--font); color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--c-dark); text-decoration: none; }
a:hover { color: var(--c-darker); text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; color: var(--text); }
button { font-family: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 8px 12px; z-index: 9999; }
.lc-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.lc-ic { flex: none; vertical-align: middle; }
.lc-hp { position: absolute; left: -9999px; }

/* ---------- Nút ---------- */
.lc-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	background: var(--c); color: #fff; border: 1px solid var(--c); border-radius: 8px;
	padding: 10px 16px; font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer; text-decoration: none; transition: background .15s, color .15s;
}
.lc-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--c-dark); border-color: var(--c-dark); color: #fff; text-decoration: none;
}
.lc-btn--ghost { background: #fff; color: var(--c-dark); border-color: var(--c-line); }
.lc-btn--ghost:hover { background: var(--c-light); color: var(--c-darker); border-color: var(--c); }
.lc-btn--light { background: #fff; color: var(--c-darker); border-color: #fff; }
.lc-btn--light:hover { background: var(--accent); border-color: var(--accent); color: #222; }
.woocommerce button.button.alt.disabled, .woocommerce button.button.alt:disabled { background: #b8b6a0; border-color: #b8b6a0; }

/* ---------- Topbar ---------- */
.lc-topbar { background: var(--c-darker); color: #fff; font-size: 13px; }
.lc-topbar__in { display: flex; align-items: center; gap: 8px; min-height: 34px; }
.lc-topbar__in > span { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-topbar a { color: var(--accent); font-weight: 700; }
.lc-topbar__x { background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; opacity: .8; }
.lc-topbar.is-off { display: none; }

/* ---------- Header ---------- */
.lc-header { background: var(--c); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.lc-header__in { display: flex; align-items: center; gap: 12px; min-height: 62px; flex-wrap: wrap; }
.lc-burger { background: none; border: 0; color: #fff; padding: 6px; margin-left: -6px; cursor: pointer; }
.lc-logo { display: flex; align-items: center; flex: 1; min-width: 0; }
.lc-logo img { display: block; height: auto; }
.lc-logo .lc-logo__full { display: none; width: 300px; }
.lc-logo .lc-logo__short { width: 150px; max-width: 100%; }
.lc-header__search { order: 10; flex: 1 1 100%; padding-bottom: 10px; }
.lc-search { display: flex; background: #fff; border-radius: 8px; overflow: hidden; }
.lc-search input[type=search] { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--text); }
.lc-search input[type=search]:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.lc-search button { border: 0; background: var(--accent); color: #222; padding: 0 14px; cursor: pointer; }
.lc-header__hot { display: none; color: #fff; align-items: center; gap: 8px; }
.lc-header__hot small { display: block; font-size: 12px; opacity: .85; }
.lc-header__hot b { font-size: 17px; }
.lc-header__hot:hover { color: #fff; text-decoration: none; }
.lc-header__cart { position: relative; color: #fff; display: flex; align-items: center; gap: 6px; padding: 6px; }
.lc-header__cart:hover { color: #fff; text-decoration: none; }
.lc-header__cartlbl { display: none; font-weight: 600; }
.lc-cart-count { position: absolute; top: -2px; left: 20px; background: var(--accent); color: #222; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

/* Menu: điện thoại = ngăn kéo trái */
.lc-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); background: #fff; color: var(--text); transform: translateX(-105%); transition: transform .25s; z-index: 100; overflow-y: auto; }
.lc-nav.is-open { transform: none; }
.lc-nav__bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 99; display: none; }
.lc-nav__bg.is-open { display: block; }
.lc-nav .lc-wrap { padding: 0; }
.lc-nav__head { display: flex; align-items: center; justify-content: space-between; background: var(--c); color: #fff; padding: 12px 16px; }
.lc-nav__x { background: none; border: 0; color: #fff; cursor: pointer; }
.lc-menu, .lc-menu ul { list-style: none; margin: 0; padding: 0; }
.lc-menu > li > a { display: block; padding: 12px 16px; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--c-line); }
.lc-menu .sub a, .lc-menu .sub-menu a { display: block; padding: 9px 16px 9px 28px; color: var(--c-dark); font-size: 14px; border-bottom: 1px solid #f1f0e8; }

@media (min-width: 992px) {
	.lc-burger, .lc-nav__head { display: none; }
	.lc-header__in { flex-wrap: nowrap; gap: 24px; min-height: 76px; }
	.lc-logo { flex: none; }
	.lc-logo .lc-logo__full { display: block; }
	.lc-logo .lc-logo__short { display: none; }
	.lc-header__search { order: 0; flex: 1; padding: 0; max-width: 560px; }
	.lc-header__hot { display: flex; }
	.lc-header__cartlbl { display: inline; }
	.lc-cart-count { left: 18px; }
	.lc-nav { position: static; transform: none; width: auto; background: var(--c-dark); color: #fff; overflow: visible; }
	.lc-nav .lc-wrap { padding: 0 16px; }
	.lc-menu { display: flex; flex-wrap: wrap; }
	.lc-menu > li { position: relative; }
	.lc-menu > li > a { color: #fff; border: 0; padding: 12px 16px; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
	.lc-menu > li > a:hover { background: var(--c-darker); text-decoration: none; }
	.lc-menu .sub, .lc-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; box-shadow: var(--shadow); border-radius: 0 0 8px 8px; padding: 6px 0; z-index: 60; }
	.lc-menu li:hover > .sub, .lc-menu li:hover > .sub-menu, .lc-menu li:focus-within > .sub, .lc-menu li:focus-within > .sub-menu { display: block; }
	.lc-menu .sub a, .lc-menu .sub-menu a { padding: 9px 16px; border: 0; color: var(--text); }
	.lc-menu .sub a:hover, .lc-menu .sub-menu a:hover { background: var(--c-light); color: var(--c-darker); text-decoration: none; }
}

/* ---------- Khối chung ---------- */
.lc-main { padding-bottom: 32px; }
.lc-sec { padding: 28px 0; }
.lc-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.lc-sec__head h2 { margin: 0; font-size: 21px; text-transform: uppercase; color: var(--c-darker); position: relative; padding-left: 14px; }
.lc-sec__head h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 5px; border-radius: 3px; background: var(--c); }
.lc-sec__head > a { font-weight: 600; display: inline-flex; align-items: center; gap: 2px; }

/* ---------- Slider ---------- */
.lc-slider { position: relative; overflow: hidden; background: var(--c-darker); }
.lc-slider__track { position: relative; min-height: 400px; }
.lc-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s; color: #fff; }
.lc-slide.is-on { opacity: 1; visibility: visible; position: relative; }
.lc-slide--1 { background: radial-gradient(circle at 78% 55%, #a8a46a 0, var(--c) 38%, var(--c-darker) 100%); }
.lc-slide--2 { background: radial-gradient(circle at 78% 55%, #8f8b58 0, var(--c-dark) 40%, #2f2e1c 100%); }
.lc-slide--3 { background: linear-gradient(120deg, var(--c-darker) 0, var(--c) 60%, #a19d63 100%); }
.lc-slide::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px); pointer-events: none; }
.lc-slide__in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 28px; padding-bottom: 46px; }
.lc-slide__eb { display: inline-block; background: var(--accent); color: #222; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 4px; letter-spacing: .04em; align-self: flex-start; }
.lc-slide__h { font-size: 30px; font-weight: 800; margin: 6px 0 0; color: #fff; letter-spacing: .01em; line-height: 1.15; }
.lc-slide__txt p { margin: 8px 0 16px; max-width: 520px; opacity: .95; }
.lc-slide__img { position: relative; height: 190px; }
.lc-slide__img img { position: absolute; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.3); object-fit: contain; }
.lc-slide__p0 { width: 180px; height: 180px; right: 34%; top: 0; }
.lc-slide__p1 { width: 140px; height: 140px; right: 4%; top: 36px; }
.lc-slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.lc-slider__dots button { width: 10px; height: 10px; border-radius: 5px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: width .2s; }
.lc-slider__dots button.is-on { width: 28px; background: var(--accent); }
@media (min-width: 768px) {
	.lc-slide__in { flex-direction: row; align-items: center; min-height: 420px; padding-top: 30px; padding-bottom: 30px; }
	.lc-slide__txt { flex: 1; }
	.lc-slide__h { font-size: 46px; }
	.lc-slide__img { flex: 1; height: 360px; }
	.lc-slide__p0 { width: 320px; height: 320px; right: 30%; top: 10px; }
	.lc-slide__p1 { width: 220px; height: 220px; right: 0; top: 120px; }
}

/* ---------- Chính sách ---------- */
.lc-policy { background: var(--c-light); border-bottom: 1px solid var(--c-line); }
.lc-policy__in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.lc-policy__i { display: flex; align-items: center; gap: 10px; color: var(--c-dark); }
.lc-policy__i b { display: block; font-size: 14px; color: var(--text); }
.lc-policy__i span { font-size: 12px; color: var(--c-dark); }
.lc-policy__i:last-child { grid-column: 1 / -1; justify-content: center; }
@media (min-width: 900px) { .lc-policy__in { grid-template-columns: repeat(5, 1fr); } .lc-policy__i:last-child { grid-column: auto; justify-content: flex-start; } }

/* ---------- Lưới & thẻ sản phẩm ---------- */
.lc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .lc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 992px) { .lc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lc-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.lc-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; min-width: 0; }
.lc-card:hover { box-shadow: var(--shadow); border-color: var(--c); }
.lc-card__img { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.lc-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s, transform .3s; }
.lc-card__b { opacity: 0; object-fit: cover !important; }
@media (hover: hover) { .lc-card:hover .lc-card__b { opacity: 1; } .lc-card:hover .lc-card__a { transform: scale(1.03); } }
.lc-badge { position: absolute; top: 8px; left: 8px; background: var(--c); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 1; }
.lc-badge--2 { top: 32px; background: var(--accent); color: #222; }
.lc-card__body { padding: 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.lc-card__name { font-size: 14px; font-weight: 600; margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.lc-card__name a { color: var(--text); }
.lc-card__model { font-size: 12px; color: var(--muted); }
.lc-card__model b { color: var(--c-dark); }
.lc-card__hl { list-style: none; margin: 2px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.lc-card__hl li { font-size: 11px; background: var(--c-light); color: var(--c-dark); border-radius: 4px; padding: 2px 6px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.lc-card__price { margin-top: auto; font-weight: 800; color: var(--c); font-size: 16px; padding-top: 4px; }
.lc-card__price del { color: #999; font-weight: 400; font-size: 13px; }
.lc-card__price ins { text-decoration: none; }
.lc-price-contact { color: var(--danger); font-weight: 700; }
.lc-from { font-size: 12px; font-weight: 500; color: var(--muted); }
.lc-card__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.lc-card__btns .lc-btn { padding: 8px 4px; font-size: 12px; gap: 4px; min-width: 0; }
.lc-card__btns .lc-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-card__btns .added_to_cart { grid-column: 1 / -1; text-align: center; font-size: 12px; font-weight: 600; }
.lc-card .ajax_add_to_cart.loading { opacity: .6; }
.lc-card .ajax_add_to_cart.added::after { content: " ✓"; }
@media (max-width: 380px) { .lc-card__btns { grid-template-columns: 1fr; } }

/* ---------- Danh mục có ảnh ---------- */
.lc-cats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .lc-cats__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; } }
.lc-cat { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 10px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.lc-cat:hover { border-color: var(--c); box-shadow: var(--shadow); text-decoration: none; color: var(--text); }
.lc-cat__img { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--c-light); overflow: hidden; }
.lc-cat__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.lc-cat b { font-size: 13px; line-height: 1.3; }
.lc-cat small { font-size: 11px; color: var(--c-dark); }

/* ---------- Khối theo nhóm ---------- */
.lc-group:nth-of-type(even) { background: var(--c-light); }
.lc-group__head { align-items: flex-end; }
.lc-tabs { display: flex; gap: 6px; overflow-x: auto; flex: 1 1 100%; order: 3; padding-bottom: 4px; scrollbar-width: thin; }
.lc-tabs button { flex: none; border: 1px solid var(--c-line); background: #fff; color: var(--c-darker); border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.lc-tabs button.is-on, .lc-tabs button:hover { background: var(--c); color: #fff; border-color: var(--c); }
@media (min-width: 992px) { .lc-tabs { flex: 1 1 auto; order: 0; justify-content: flex-end; flex-wrap: wrap; overflow: visible; } }
.lc-group__body { display: grid; gap: 14px; }
.lc-group__banner { display: none; }
@media (min-width: 992px) {
	.lc-group__body { grid-template-columns: 250px 1fr; }
	.lc-group__banner { display: flex; flex-direction: column; gap: 8px; border-radius: var(--radius); padding: 22px 18px; color: #fff; background: radial-gradient(circle at 50% 70%, #a29e66 0, var(--c) 45%, var(--c-darker) 100%); position: relative; overflow: hidden; }
	.lc-group__banner:hover { text-decoration: none; color: #fff; }
	.lc-group__bt { font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1.2; }
	.lc-group__bs { font-size: 14px; opacity: .95; }
	.lc-group__banner img { background: #fff; border-radius: 14px; margin: auto 0 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
	.lc-group__banner .lc-btn { align-self: flex-start; }
}
.lc-panel { display: none; }
.lc-panel.is-on { display: block; }
.lc-panel__more { display: block; text-align: center; margin-top: 14px; font-weight: 600; }

/* ---------- Tin tức ---------- */
.lc-posts { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .lc-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .lc-posts { grid-template-columns: repeat(4, 1fr); } }
.lc-post { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.lc-post__img { display: block; aspect-ratio: 16/10; background: var(--c-light); overflow: hidden; }
.lc-post__img img { width: 100%; height: 100%; object-fit: cover; }
.lc-post__body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.lc-post time { font-size: 12px; color: var(--c-dark); }
.lc-post h3 { font-size: 16px; margin: 0; }
.lc-post h3 a { color: var(--text); }
.lc-post p { margin: 0; font-size: 14px; color: var(--muted); }
.lc-more { margin-top: auto; font-weight: 600; padding-top: 6px; }

/* ---------- Đăng ký KM + footer ---------- */
.lc-news { background: var(--c-dark); color: #fff; }
.lc-news__in { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.lc-news__txt { display: flex; align-items: center; gap: 12px; }
.lc-news h2 { color: #fff; margin: 0; font-size: 19px; }
.lc-news p { margin: 2px 0 0; font-size: 14px; opacity: .95; }
.lc-news__form { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.lc-news__form input[type=text]:not(.lc-hp) { flex: 1; min-width: 0; border: 0; border-radius: 8px; padding: 11px 12px; font: inherit; }
.lc-news__msg { flex-basis: 100%; color: var(--accent); font-weight: 600; margin: 0; }
@media (min-width: 900px) { .lc-news__in { flex-direction: row; align-items: center; justify-content: space-between; } .lc-news__form { width: 480px; } }
.lc-footer { background: var(--c-darker); color: #e9e8dc; font-size: 14px; }
.lc-footer a { color: #fff; }
.lc-footer__grid { display: grid; gap: 22px; padding-top: 30px; padding-bottom: 26px; }
@media (min-width: 768px) { .lc-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.lc-footer h3 { color: #fff; font-size: 15px; text-transform: uppercase; margin: 0 0 10px; }
.lc-footer ul { list-style: none; margin: 0; padding: 0; }
.lc-footer li { margin: 0 0 7px; }
.lc-footer__info li { display: flex; gap: 6px; align-items: flex-start; }
.lc-footer__info .lc-ic { margin-top: 3px; color: var(--accent); }
.lc-footer__slogan { color: var(--accent); font-weight: 800; letter-spacing: .06em; margin: 8px 0 10px; }
.lc-footer__commit { font-size: 13px; opacity: .9; }
.lc-social { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lc-social__t { border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: 6px 10px; font-size: 13px; }
.lc-social__t.is-off { opacity: .45; pointer-events: none; }
.lc-footer__bottom { background: #2f2e1c; padding: 12px 0; font-size: 13px; color: #cfcdb9; padding-bottom: 80px; }
@media (min-width: 992px) { .lc-footer__bottom { padding-bottom: 12px; } }

/* ---------- Nút nổi Gọi + Zalo ---------- */
.lc-float { position: fixed; right: 14px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.lc-float a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.lc-float__zalo { background: var(--zalo); overflow: hidden; }
.lc-float__zalo svg { border-radius: 50%; }
.lc-float__call { background: var(--c); color: #fff; animation: lc-ring 2s infinite; }
.lc-float__call:hover { color: #fff; }
@keyframes lc-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(120,117,72,.6); } 50% { box-shadow: 0 0 0 12px rgba(120,117,72,0); } }
@media (prefers-reduced-motion: reduce) { .lc-float__call { animation: none; } .lc-slide { transition: none; } }
.single-product .lc-float { bottom: 76px; }
@media (min-width: 992px) { .single-product .lc-float { bottom: 18px; } }

/* ---------- Xem nhanh ---------- */
.lc-qvm { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200; display: grid; place-items: center; padding: 16px; }
.lc-qvm[hidden] { display: none; }
.lc-qvm__box { background: #fff; border-radius: 12px; max-width: 760px; width: 100%; max-height: 90vh; overflow: auto; position: relative; }
.lc-qvm__x { position: absolute; right: 8px; top: 8px; background: #fff; border: 0; border-radius: 50%; width: 36px; height: 36px; cursor: pointer; z-index: 2; }
.lc-qvm__body { display: grid; gap: 16px; padding: 18px; }
@media (min-width: 640px) { .lc-qvm__body { grid-template-columns: 1fr 1fr; } }
.lc-qvm__body img { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--c-line); border-radius: 10px; }
.lc-qvm__body h3 { margin: 0 0 6px; font-size: 19px; }
.lc-qvm__price { font-size: 22px; font-weight: 800; color: var(--c); margin: 8px 0; }
.lc-qvm__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- Breadcrumb, trang danh mục ---------- */
.lc-bc { font-size: 13px; color: var(--muted); padding: 12px 0; }
.lc-bc span { margin: 0 4px; color: #aaa; }
.lc-shop__head h1 { font-size: 24px; margin: 4px 0 8px; color: var(--c-darker); }
.lc-shop__desc { color: var(--muted); font-size: 14px; }
.lc-subcats { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 16px; }
.lc-subcats a { border: 1px solid var(--c-line); border-radius: 20px; padding: 6px 12px; font-size: 13px; font-weight: 600; background: #fff; }
.lc-subcats a:hover { background: var(--c); color: #fff; text-decoration: none; border-color: var(--c); }
.woocommerce .woocommerce-result-count { font-size: 13px; color: var(--muted); margin: 6px 0 12px; }
.woocommerce .woocommerce-ordering select { padding: 8px; border-radius: 6px; border: 1px solid var(--c-line); font: inherit; font-size: 14px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border: 1px solid var(--c-line); border-radius: 6px; padding: 8px 12px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--c); color: #fff; }

/* ---------- Trang chi tiết sản phẩm ---------- */
.lc-single div.product { display: grid; gap: 20px; position: relative; }
@media (min-width: 900px) { .lc-single div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; } .lc-single div.product > .woocommerce-tabs, .lc-single div.product > .related, .lc-single div.product > .upsells { grid-column: 1 / -1; } }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.woocommerce div.product div.images img { object-fit: contain; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 8px; margin-top: 8px !important; overflow-x: auto; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 72px !important; flex: none; }
.woocommerce div.product div.images .flex-control-thumbs img { border: 1px solid var(--c-line); border-radius: 6px; aspect-ratio: 1; object-fit: cover; opacity: .7; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active, .woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; border-color: var(--c); }
.woocommerce div.product .product_title { font-size: 23px; margin: 0 0 8px; }
.lc-single__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; font-size: 13px; }
.lc-chip { background: var(--c-light); color: var(--c-darker); padding: 4px 10px; border-radius: 20px; }
.lc-chip b { color: var(--c-darker); }
.lc-single__cats a { color: var(--c-dark); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--c); font-size: 28px; font-weight: 800; margin: 6px 0 12px; }
.woocommerce div.product p.price .lc-price-contact { font-size: 22px; }
.lc-hl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.lc-hl__i { background: var(--c); color: #fff; border-radius: 8px; padding: 8px 12px; border-left: 4px solid var(--accent); min-width: 0; }
.lc-hl__i span { display: block; font-size: 11px; text-transform: uppercase; opacity: .9; letter-spacing: .03em; }
.lc-hl__i b { display: block; font-size: 16px; overflow-wrap: anywhere; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; margin: 0 0 12px; }
.woocommerce div.product form.cart .quantity input { height: 100%; min-height: 44px; width: 64px; border: 1px solid var(--c-line); border-radius: 8px; text-align: center; font: inherit; }
.woocommerce div.product form.cart .button { min-height: 44px; flex: 1; font-size: 15px; }
.woocommerce div.product form.cart .lc-buynow { background: var(--danger); border-color: var(--danger); }
.woocommerce div.product form.cart .lc-buynow:hover { background: #a23023; border-color: #a23023; }
.woocommerce div.product form.variations_form { display: block; }
.woocommerce div.product form.cart table.variations { width: 100%; margin-bottom: 8px; }
.woocommerce div.product form.cart table.variations th { text-align: left; padding: 6px 8px 6px 0; font-size: 14px; white-space: nowrap; }
.woocommerce div.product form.cart table.variations select { width: 100%; min-height: 42px; border: 1px solid var(--c); border-radius: 8px; padding: 6px 10px; font: inherit; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce .reset_variations { font-size: 13px; }
.lc-note { background: #fff8e5; border: 1px solid #f0d37a; border-radius: 8px; padding: 10px 12px; font-size: 14px; color: #5c4300; }
.lc-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.lc-btn--call { background: var(--c-darker); border-color: var(--c-darker); padding: 12px; }
.lc-btn--zalo { background: var(--zalo); border-color: var(--zalo); padding: 12px; }
.lc-btn--zalo:hover { background: #0052cc; border-color: #0052cc; }
.lc-commit { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--c-light); border-radius: var(--radius); padding: 12px; margin-top: 12px; font-size: 13px; }
.lc-commit div { display: flex; align-items: center; gap: 8px; color: var(--c-darker); }
.lc-commit .lc-ic { color: var(--c); }
.lc-commit__txt { font-size: 13px; color: var(--c-dark); margin: 8px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; overflow-x: auto; gap: 4px; padding: 0 !important; margin: 0 0 0 !important; border-bottom: 2px solid var(--c); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { flex: none; margin: 0 !important; border: 0 !important; background: var(--c-light) !important; border-radius: 8px 8px 0 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 16px !important; font-weight: 700; color: var(--c-darker) !important; white-space: nowrap; display: block; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--c) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.woocommerce div.product .woocommerce-tabs .panel { padding: 16px 2px; margin: 0; }
.lc-tab-h, .woocommerce-Tabs-panel > h2:first-child { font-size: 18px; margin: 0 0 12px; }
.lc-specs { width: 100%; border-collapse: collapse; font-size: 14px; max-width: 820px; }
.lc-specs th, .lc-specs td { border: 1px solid var(--c-line); padding: 9px 12px; text-align: left; vertical-align: top; }
.lc-specs th { width: 42%; background: var(--c-light); font-weight: 600; color: var(--c-darker); }
.lc-specs tr:nth-child(even) td { background: #fcfcf8; }
.lc-small { font-size: 13px; color: var(--muted); }
.lc-list { padding-left: 18px; }
.lc-content h2, .woocommerce-Tabs-panel--description h2 { font-size: 19px; margin: 18px 0 8px; color: var(--c-darker); }
.lc-content h3, .woocommerce-Tabs-panel--description h3 { font-size: 16px; margin: 16px 0 6px; }
.woocommerce-Tabs-panel--description ul { padding-left: 20px; }
.related.products > h2, .upsells > h2 { font-size: 20px; text-transform: uppercase; color: var(--c-darker); }
.lc-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,.12); }
.lc-mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 4px; font-weight: 700; font-size: 14px; color: var(--c-darker); }
.lc-mbar a:hover { text-decoration: none; }
.lc-mbar__buy { background: var(--danger); color: #fff !important; }
@media (min-width: 992px) { .lc-mbar { display: none; } }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { border-top-color: var(--c); }
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color: var(--c); }
.woocommerce span.onsale { background: var(--danger); }

/* ---------- Bài viết, trang ---------- */
.lc-article { max-width: 860px; }
.lc-article h1 { font-size: 26px; margin: 6px 0 8px; }
.lc-article__meta { font-size: 13px; color: var(--c-dark); margin-bottom: 14px; }
.lc-article__img img { border-radius: var(--radius); }
.lc-content { font-size: 16px; line-height: 1.7; }
.lc-content table { border-collapse: collapse; width: 100%; }
.lc-content td, .lc-content th { border: 1px solid var(--c-line); padding: 8px; }
.lc-cta { background: var(--c-light); border-left: 4px solid var(--c); padding: 12px 14px; border-radius: 6px; margin-top: 24px; }
.lc-page.lc-article { max-width: var(--wrap); }
.lc-404 { text-align: center; padding: 40px 16px; }
.lc-404 .lc-search { max-width: 480px; margin: 16px auto; border: 1px solid var(--c-line); }
.lc-pager { margin-top: 20px; text-align: center; }
.lc-pager .page-numbers { display: inline-block; padding: 6px 12px; border: 1px solid var(--c-line); border-radius: 6px; margin: 2px; }
.lc-pager .current { background: var(--c); color: #fff; }

/* Giỏ hàng & thanh toán */
.woocommerce table.shop_table { border-radius: var(--radius); border-color: var(--c-line); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1px solid #cfcdb9; border-radius: 6px; padding: 10px; font: inherit; }
.woocommerce-checkout #payment { background: var(--c-light) !important; border-radius: var(--radius); }
@media (max-width: 767px) { .woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: 100%; float: none; } }
@media (max-width: 767px) {
	.lc-card__btns { grid-template-columns: 38px 1fr; }
	.lc-card__btns .lc-qv span { display: none; }
	.lc-card__btns .lc-qv { padding: 8px 0; }
}
@media (max-width: 380px) { .lc-card__btns { grid-template-columns: 38px 1fr; } }
/* Sửa tràn ngang trang sản phẩm trên điện thoại */
.lc-single div.product { grid-template-columns: minmax(0, 1fr); }
.lc-single div.product > * { min-width: 0; max-width: 100%; }
.woocommerce div.product div.images { overflow: hidden; }
.woocommerce div.product div.images img { max-width: 100%; height: auto; }
.woocommerce-product-gallery__image img.zoomImg { max-width: none !important; }
.lc-specs { table-layout: fixed; }
.lc-specs td, .lc-specs th { overflow-wrap: anywhere; }
@media (min-width: 900px) { .lc-single div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Trang Liên hệ: 2 bản đồ */
.lc-maps{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin:24px 0}
@media (min-width:900px){.lc-maps{grid-template-columns:repeat(2,minmax(0,1fr))}}
.lc-map{margin:0;border:1px solid var(--c-line);border-radius:var(--radius);overflow:hidden;background:var(--bg)}
.lc-map figcaption{padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.lc-map figcaption b{color:var(--c-dark)}
.lc-map iframe{display:block;width:100%;height:320px}
.lc-map a{display:block;padding:10px 14px;font-weight:600}
