/* ==========================================================================
   Altek Kabel – giao diện hiện đại (child theme Flatsome)
   ========================================================================== */

:root {
	--ak-red: #d71f26;
	--ak-red-600: #b9161d;
	--ak-red-50: #fdeeee;
	--ak-ink: #0f172a;
	--ak-ink-2: #1e293b;
	--ak-text: #334155;
	--ak-muted: #64748b;
	--ak-line: #e5e7eb;
	--ak-bg: #f4f6f9;
	--ak-surface: #ffffff;
	--ak-blue: #0b5cad;
	--ak-zalo: #0068ff;
	--ak-radius: 14px;
	--ak-radius-sm: 10px;
	--ak-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
	--ak-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
	--ak-font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Nền tảng ---------- */
html body,
html body .nav > li > a,
html body .mobile-sidebar-levels-2 .nav > li > ul > li > a,
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6,
html body .heading-font,
html body .off-canvas-center .nav-sidebar.nav-vertical > li > a,
html body button, html body input, html body select, html body textarea {
	font-family: var(--ak-font);
}
body {
	background: var(--ak-bg);
	color: var(--ak-text);
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--ak-ink); letter-spacing: -.01em; }
a { color: var(--ak-blue); }
a:hover { color: var(--ak-red); }
#wrapper, #main { background: transparent; }
.ak-ico { flex: none; vertical-align: middle; }

.button, button, input[type="submit"], .ux-search-submit {
	border-radius: var(--ak-radius-sm);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 600;
}
input[type="search"], input[type="text"], input[type="email"], input[type="tel"], textarea, select {
	border-radius: var(--ak-radius-sm);
	border-color: var(--ak-line);
	box-shadow: none;
}

/* ---------- Thành phần dùng chung ---------- */
.ak-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ak-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 20px;
	border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
	text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s;
}
.ak-btn:hover { transform: translateY(-1px); }
.ak-btn--primary { background: var(--ak-red); color: #fff; box-shadow: 0 8px 20px -8px rgba(215, 31, 38, .7); }
.ak-btn--primary:hover { background: var(--ak-red-600); color: #fff; }
.ak-btn--zalo { background: var(--ak-zalo); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 104, 255, .6); }
.ak-btn--zalo:hover { background: #0052cc; color: #fff; }
.ak-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.ak-btn--ghost:hover { background: #fff; color: var(--ak-ink); }
.ak-btns--light .ak-btn--primary { background: #fff; color: var(--ak-red); box-shadow: none; }
.ak-btns--light .ak-btn--primary:hover { background: var(--ak-ink); color: #fff; }

.ak-eyebrow {
	display: inline-block; margin-bottom: 6px;
	color: var(--ak-red); font-size: 12px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase;
}
.ak-badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
	color: #fff; font-size: 13px; font-weight: 500;
}
.ak-badge .ak-ico { width: 16px; height: 16px; color: #fca5a5; }

.ak-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ak-heading h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.ak-heading p { margin: 6px 0 0; color: var(--ak-muted); max-width: 620px; }
.ak-heading--center { justify-content: center; text-align: center; }
.ak-heading--center p { margin-left: auto; margin-right: auto; }
.ak-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ak-red); white-space: nowrap; }
.ak-link .ak-ico { width: 18px; height: 18px; transition: transform .15s; }
.ak-link:hover .ak-ico { transform: translateX(3px); }

.ak-card {
	background: var(--ak-surface);
	border: 1px solid var(--ak-line);
	border-radius: var(--ak-radius);
	box-shadow: var(--ak-shadow-sm);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
#top-bar.header-top {
	background: var(--ak-ink) !important;
	font-size: 13px;
	min-height: 38px;
}
#top-bar .nav > li { margin: 0 !important; }
#top-bar .html.custom { display: flex; align-items: center; gap: 22px; color: rgba(255, 255, 255, .78); }
.ak-topbar-item { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .8) !important; text-transform: none; font-weight: 400; letter-spacing: 0; }
.ak-topbar-item strong { color: #fff; font-weight: 600; }
.ak-topbar-item .ak-ico { width: 15px; height: 15px; color: #f87171; }
a.ak-topbar-item:hover { color: #fff !important; }

.header-main {
	background: #fff !important;
	border-bottom: 1px solid var(--ak-line);
}
.header-main .header-inner { gap: 28px; }
#logo img { max-height: 76px; width: auto; }
.header-main .flex-left.flex-grow .header-nav { width: 100%; }
.header-main .header-search-form,
.header-main .header-search-form-wrapper { width: 100%; max-width: 640px; }
.header-search-form .searchform .flex-row { background: var(--ak-bg); border: 1.5px solid var(--ak-line); border-radius: 999px; padding: 4px; transition: border-color .15s, box-shadow .15s, background .15s; }
.header-search-form .searchform .flex-row:focus-within { border-color: var(--ak-red); background: #fff; box-shadow: 0 0 0 4px var(--ak-red-50); }
.header-search-form .search-field {
	height: 42px !important; border: 0 !important; background: transparent !important;
	padding: 0 16px !important; font-size: 15px; box-shadow: none !important;
}
.header-search-form .ux-search-submit {
	width: 42px; height: 42px; min-height: 42px; border-radius: 999px !important;
	background: var(--ak-red) !important; margin: 0;
}

.ak-hcontact { display: flex; align-items: center; gap: 22px; }
.ak-hcontact__item { display: flex; align-items: center; gap: 10px; color: var(--ak-ink) !important; text-decoration: none; }
.ak-hcontact__icon {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--ak-red-50); color: var(--ak-red);
	transition: background .15s, color .15s;
}
.ak-hcontact__icon.is-alt { background: #e8f0ff; color: var(--ak-zalo); }
.ak-hcontact__item:hover .ak-hcontact__icon { background: var(--ak-red); color: #fff; }
.ak-hcontact__item:hover .ak-hcontact__icon.is-alt { background: var(--ak-zalo); }
.ak-hcontact__text { display: flex; flex-direction: column; line-height: 1.25; text-transform: none; letter-spacing: 0; }
.ak-hcontact__text small { font-size: 12px; color: var(--ak-muted); font-weight: 500; }
.ak-hcontact__text strong { font-size: 16px; font-weight: 700; }
.header-main .html_top_right_text { margin: 0; }

/* Thanh menu chính */
.header-bottom.wide-nav {
	background: var(--ak-red) !important;
	min-height: 50px;
	box-shadow: 0 6px 16px -10px rgba(185, 22, 29, .8);
}
.header-bottom .nav > li { margin: 0; }
.header-bottom .nav > li > a {
	color: #fff !important; opacity: 1;
	padding: 15px 16px; font-size: 14px; font-weight: 600;
	text-transform: none; letter-spacing: 0;
	position: relative;
}
.header-bottom .nav > li > a:hover,
.header-bottom .nav > li.active > a { background: rgba(0, 0, 0, .14); }
.header-bottom .header-button .button {
	background: #fff !important; color: var(--ak-red) !important;
	border-radius: 999px; padding: 0 18px; min-height: 36px; line-height: 36px;
	font-weight: 700; border: 0; box-shadow: none;
}
.header-bottom .header-button .button:hover { background: var(--ak-ink) !important; color: #fff !important; }

/* Menu thả xuống */
.nav-dropdown {
	border: 1px solid var(--ak-line) !important;
	border-radius: var(--ak-radius) !important;
	box-shadow: var(--ak-shadow) !important;
	padding: 8px !important;
	min-width: 300px;
	background: #fff !important;
}
.nav-dropdown-bold .nav-column li > a,
.nav-dropdown.nav-dropdown-bold > li > a,
.nav-dropdown > li > a {
	color: var(--ak-ink) !important;
	border-radius: 8px; margin: 0 !important;
	padding: 10px 14px !important; font-size: 14px; font-weight: 500;
	text-transform: none; border: 0 !important;
}
.nav-dropdown > li > a:hover,
.nav-dropdown-bold > li > a:hover { background: var(--ak-red-50) !important; color: var(--ak-red) !important; }
.nav-dropdown > li { border: 0 !important; }

/* Header cố định khi cuộn */
.header-wrapper.stuck { box-shadow: 0 8px 24px -14px rgba(15, 23, 42, .35); }
.stuck .header-main { border-bottom: 0; }

/* Mobile header */
.ak-mobile-call {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--ak-red); color: #fff !important;
}
.ak-mobile-call .ak-ico { width: 18px; height: 18px; }
@media (max-width: 849px) {
	.header-main { border-bottom: 1px solid var(--ak-line); }
	#logo img { max-height: 58px; }
	#top-bar .html.custom { font-size: 12px; justify-content: center; width: 100%; }
	.ak-hide-md { display: none !important; }
}
.off-canvas .nav-vertical li a { text-transform: none; font-weight: 500; }
.off-canvas-left.mfp-ready .mfp-content { background: #fff; }

/* ==========================================================================
   TRANG CHỦ
   ========================================================================== */
.ak-section { padding: clamp(40px, 6vw, 72px) 0; }
.ak-section--white { background: #fff; }

/* Hero */
.ak-hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(1200px 400px at 85% -10%, rgba(215, 31, 38, .55), transparent 60%),
		linear-gradient(100deg, rgba(15, 23, 42, .96) 0%, rgba(15, 23, 42, .88) 45%, rgba(15, 23, 42, .55) 100%),
		var(--ak-hero-img) center / cover no-repeat,
		var(--ak-ink);
}
.ak-hero::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
	background: linear-gradient(90deg, var(--ak-red), #ff7a45);
}
.ak-hero__inner {
	display: grid; grid-template-columns: 1.4fr .8fr; gap: 48px; align-items: center;
	padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px);
}
.ak-hero h1 {
	color: #fff; margin: 18px 0 16px;
	font-size: clamp(30px, 4.4vw, 52px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em;
}
.ak-hero h1 span { color: #ff6b6b; }
.ak-hero p { color: rgba(255, 255, 255, .78); font-size: 17px; max-width: 600px; margin-bottom: 28px; }
.ak-hero__card {
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	border-radius: 20px; padding: 28px; text-align: center;
}
.ak-hero__card img { background: #fff; border-radius: 18px; padding: 10px; width: 120px; height: 120px; object-fit: contain; }
.ak-hero__card ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ak-hero__card li {
	display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0;
	padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06);
}
.ak-hero__card li strong { font-size: 24px; font-weight: 800; color: #fff; }
.ak-hero__card li span { color: rgba(255, 255, 255, .75); font-size: 14px; text-align: right; }
@media (max-width: 849px) {
	.ak-hero__inner { grid-template-columns: 1fr; gap: 28px; }
	.ak-hero__card { display: none; }
	.ak-hero p { font-size: 15px; }
}

/* USP */
.ak-usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ak-usp__item { display: flex; gap: 14px; align-items: flex-start; }
.ak-usp__item strong { display: block; color: var(--ak-ink); font-size: 15px; font-weight: 700; line-height: 1.35; }
.ak-usp__item span { display: block; color: var(--ak-muted); font-size: 13.5px; line-height: 1.5; margin-top: 2px; }
.ak-usp__icon {
	flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
	background: var(--ak-red-50); color: var(--ak-red);
}
.ak-usp--cards .ak-usp__item { background: #fff; border: 1px solid var(--ak-line); border-radius: var(--ak-radius); padding: 20px; box-shadow: var(--ak-shadow-sm); }
.ak-usp--list { grid-template-columns: 1fr 1fr; gap: 14px 18px; padding: 18px; border: 1px dashed #f3b4b6; border-radius: var(--ak-radius); background: #fffafa; }
.ak-usp--list .ak-usp__icon { width: 38px; height: 38px; border-radius: 10px; }
.ak-usp--list .ak-usp__icon .ak-ico { width: 18px; height: 18px; }
.ak-usp--list .ak-usp__item strong { font-size: 14px; }
.ak-usp--list .ak-usp__item span { font-size: 12.5px; }
.ak-usp-wrap { margin-top: -38px; position: relative; z-index: 2; }
@media (max-width: 849px) {
	.ak-usp { grid-template-columns: 1fr 1fr; }
	.ak-usp-wrap { margin-top: 20px; }
}
@media (max-width: 549px) {
	.ak-usp--cards { grid-template-columns: 1fr; gap: 10px; }
	.ak-usp--cards .ak-usp__item { padding: 14px; }
	.ak-usp--list { grid-template-columns: 1fr; }
}

/* Lưới danh mục */
.ak-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ak-cat {
	display: flex; flex-direction: column; gap: 8px;
	background: #fff; border: 1px solid var(--ak-line); border-radius: var(--ak-radius);
	padding: 14px; text-decoration: none; color: var(--ak-ink) !important;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.ak-cat:hover { transform: translateY(-4px); box-shadow: var(--ak-shadow); border-color: #f3b4b6; }
.ak-cat__img { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 10px; background: #f8fafc; overflow: hidden; }
.ak-cat__img img { width: 100%; height: 100%; object-fit: contain; }
.ak-cat__name { font-weight: 700; font-size: 14.5px; line-height: 1.35; min-height: 2.7em; }
.ak-cat__meta { display: flex; align-items: center; justify-content: space-between; color: var(--ak-muted); font-size: 13px; margin-top: auto; }
.ak-cat__meta .ak-ico { width: 16px; height: 16px; color: var(--ak-red); transition: transform .15s; }
.ak-cat:hover .ak-cat__meta .ak-ico { transform: translateX(3px); }
@media (max-width: 1100px) { .ak-cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 549px) { .ak-cats { grid-template-columns: repeat(2, 1fr); gap: 10px; } .ak-cat { padding: 10px; } .ak-cat__name { font-size: 13.5px; } }

/* Giới thiệu */
.ak-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.ak-about__media { position: relative; }
.ak-about__media img { width: 100%; border-radius: 20px; box-shadow: var(--ak-shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.ak-about__media::before {
	content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 20px;
	background: repeating-linear-gradient(45deg, var(--ak-red-50) 0 10px, transparent 10px 20px);
	z-index: -1;
}
.ak-about h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 0 0 14px; }
.ak-about p { font-size: 15.5px; }
.ak-checks { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.ak-checks li { margin: 0; padding-left: 30px; position: relative; font-weight: 500; color: var(--ak-ink); }
.ak-checks li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--ak-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='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 849px) { .ak-about { grid-template-columns: 1fr; } .ak-about__media::before { display: none; } }

/* Tab sản phẩm trang chủ */
.ak-tabs .nav { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 6px; margin-bottom: 18px !important; scrollbar-width: thin; justify-content: flex-start !important; }
.ak-tabs .nav > li { margin: 0 !important; flex: none; }
.ak-tabs .nav > li > a {
	padding: 9px 18px !important; border-radius: 999px !important;
	background: #fff; border: 1px solid var(--ak-line) !important;
	color: var(--ak-ink) !important; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0;
}
.ak-tabs .nav > li.active > a,
.ak-tabs .nav > li > a:hover { background: var(--ak-ink) !important; border-color: var(--ak-ink) !important; color: #fff !important; }
.ak-tabs .nav > li.active > a { display: block !important; }
.ak-tabs .nav-line > li > a::before, .ak-tabs .nav-line > li > a::after { display: none !important; }
.ak-tab-more { text-align: center; margin-top: 8px; }

/* CTA */
.ak-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
	padding: clamp(24px, 4vw, 44px); border-radius: 22px; color: #fff;
	background:
		radial-gradient(600px 220px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%),
		linear-gradient(120deg, var(--ak-red) 0%, #a3121a 100%);
	box-shadow: 0 24px 50px -24px rgba(185, 22, 29, .7);
}
.ak-cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; }
.ak-cta p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 620px; }
.ak-cta .ak-btn--zalo { background: rgba(255, 255, 255, .14); box-shadow: none; border-color: rgba(255, 255, 255, .5); }
.ak-cta .ak-btn--zalo:hover { background: var(--ak-zalo); border-color: var(--ak-zalo); }

/* Tin tức */
.ak-news .box-blog-post { background: #fff; border: 1px solid var(--ak-line); border-radius: var(--ak-radius); overflow: hidden; height: 100%; transition: box-shadow .18s, transform .18s; }
.ak-news .box-blog-post:hover { box-shadow: var(--ak-shadow); transform: translateY(-3px); }
.ak-news .box-blog-post .box-text { padding: 16px 18px 20px; }
.ak-news .post-title { font-size: 16px; font-weight: 700; line-height: 1.4; }
.ak-news .is-divider { display: none; }
.ak-news .from_the_blog_excerpt { color: var(--ak-muted); font-size: 14px; }
.ak-news .box-image .image-cover { padding-top: 60% !important; }

/* ==========================================================================
   THẺ SẢN PHẨM (dùng ở trang chủ, danh mục, sản phẩm liên quan)
   ========================================================================== */
.products .product-small.col { padding-bottom: 16px; }
.product-small.box {
	height: 100%;
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--ak-line); border-radius: var(--ak-radius);
	overflow: hidden; transition: box-shadow .2s ease, transform .2s ease, border-color .2s;
}
.product-small.col > .col-inner { height: 100%; }
.product-small.box:hover { box-shadow: var(--ak-shadow); transform: translateY(-3px); border-color: #f3c3c5; }
.product-small .box-image {
	background: #fff; border-bottom: 1px solid #f1f5f9;
	aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
	min-width: 0 !important; width: auto !important;
}
.product-small .box-image > div,
.product-small .box-image > div > a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.product-small .box-image img {
	width: 100% !important; height: 100% !important; object-fit: contain; padding: 8px;
	transition: transform .35s ease;
}
.product-small.box:hover .box-image img { transform: scale(1.04); }
.product-small .box-text {
	flex: 1; display: flex; flex-direction: column; gap: 8px;
	padding: 12px 14px 14px !important; text-align: left;
}
.product-small .box-text .product-cat {
	display: inline-block; align-self: flex-start;
	font-size: 11px; font-weight: 600; letter-spacing: .04em; opacity: 1 !important;
	color: var(--ak-red); background: var(--ak-red-50); padding: 2px 8px; border-radius: 999px; margin-bottom: 6px;
	max-width: 100%;
}
.product-small .box-text .name,
.product-small .box-text .product-title { font-size: 14px; line-height: 1.45; margin: 0; }
.product-small .box-text .product-title a {
	color: var(--ak-ink); font-weight: 600;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-small .box-text .product-title a:hover { color: var(--ak-red); }
.product-small .price-wrapper { margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--ak-line); }
.product-small .price-wrapper .price { color: var(--ak-red); font-weight: 700; font-size: 15px; }
.product-small .price-wrapper .price:empty::after,
.product-small .price-wrapper:empty::after { content: "Liên hệ báo giá"; color: var(--ak-red); font-weight: 700; font-size: 14px; }
.badge-inner { border-radius: 999px; }

/* ==========================================================================
   TRANG DANH MỤC
   ========================================================================== */
.ak-cat-hero {
	background:
		radial-gradient(700px 240px at 90% -40%, rgba(215, 31, 38, .55), transparent 70%),
		linear-gradient(100deg, var(--ak-ink) 0%, var(--ak-ink-2) 100%);
	color: #fff; padding: 34px 0 30px;
}
.ak-cat-hero .ak-eyebrow { color: #fca5a5; }
.ak-cat-hero h1 { color: #fff; margin: 0 0 6px; font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; }
.ak-cat-hero p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 14.5px; }

.category-page-title.page-title { background: #fff; border-bottom: 1px solid var(--ak-line); }
.category-page-title .page-title-inner { padding-top: 12px; padding-bottom: 12px; min-height: 0; }
.category-page-title .breadcrumbs { font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.breadcrumbs a { color: var(--ak-muted); }
.breadcrumbs a:hover { color: var(--ak-red); }
.breadcrumbs .divider { opacity: .45; margin: 0 6px; }
.woocommerce-result-count { color: var(--ak-muted); font-size: 13.5px; }
.woocommerce-ordering select { min-width: 220px; border-radius: 999px; padding-left: 16px; height: 40px; font-size: 14px; background-color: #fff; }

.category-page-row { padding-top: 28px; }
.category-page-row .large-3 { padding-right: 24px; }

/* Sidebar */
#shop-sidebar .widget,
.product-sidebar .widget,
#product-sidebar .widget {
	background: #fff; border: 1px solid var(--ak-line); border-radius: var(--ak-radius);
	padding: 18px; margin-bottom: 18px; box-shadow: var(--ak-shadow-sm);
}
.widget-title, .widget .widget-title {
	display: block; font-size: 15px; font-weight: 700; color: var(--ak-ink);
	text-transform: none; letter-spacing: 0; margin-bottom: 4px;
}
.widget .is-divider { background: var(--ak-red); height: 3px; width: 32px; border-radius: 3px; margin: 8px 0 12px; max-width: none; }
.widget.block_widget { padding: 0 !important; overflow: hidden; }
.widget.block_widget .section { padding: 18px !important; background: #fff !important; }
.widget.block_widget .section-bg { background: #fff !important; }
.widget.block_widget .section .row { margin: 0 !important; }
.widget.block_widget .section .col { padding: 0 !important; }
.widget.block_widget .section .col + .col { margin-top: 14px; padding-top: 14px !important; border-top: 1px solid var(--ak-line); }
.widget.block_widget .container-width,
.widget.block_widget .section-title-container { margin-bottom: 10px; }
.widget.block_widget .section-title { border: 0 !important; }
.widget.block_widget .section-title-main,
.widget.block_widget .section-title span {
	display: flex !important; align-items: center; gap: 8px;
	background: none !important; color: var(--ak-ink) !important; padding: 0 !important; border: 0 !important;
	font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; margin: 0 !important;
}
.widget.block_widget .section-title i { color: var(--ak-red); }
.widget.block_widget ul { margin: 0; padding: 0; list-style: none; }
.widget.block_widget li { margin: 0 0 6px; font-size: 14px; }
.widget.block_widget li i { width: 20px; color: var(--ak-red); }

.menu-danh-muc { border: 0 !important; border-radius: 0 !important; padding: 8px !important; margin: 0 !important; }
.menu-danh-muc .ux-menu-title {
	font-size: 15px; font-weight: 700; color: var(--ak-ink); text-transform: none; letter-spacing: 0;
	padding: 8px 10px 12px; border-bottom: 1px solid var(--ak-line); margin-bottom: 6px;
}
.menu-danh-muc .ux-menu-link { border: 0 !important; }
.menu-danh-muc .ux-menu-link__link {
	color: var(--ak-text) !important; font-size: 13.5px; font-weight: 500; text-transform: none;
	padding: 9px 10px !important; border-radius: 8px; min-height: 0;
	position: relative; padding-left: 26px !important;
}
.menu-danh-muc .ux-menu-link__text { text-transform: lowercase; }
.menu-danh-muc .ux-menu-link__text::first-letter { text-transform: uppercase; }
.menu-danh-muc .ux-menu-link__link::before {
	content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
	border-radius: 50%; background: #cbd5e1; transition: background .15s;
}
.menu-danh-muc .ux-menu-link__link:hover { background: var(--ak-red-50); color: var(--ak-red) !important; }
.menu-danh-muc .ux-menu-link__link:hover::before { background: var(--ak-red); }

.recent-blog-posts a { color: var(--ak-ink); font-weight: 500; font-size: 13.5px; line-height: 1.45; }
.recent-blog-posts a:hover { color: var(--ak-red); }
.recent-blog-posts .badge-inner { border-radius: 10px !important; }
.recent-blog-posts .badge.post-date { border-radius: 10px; }
.product_list_widget li { border-color: #f1f5f9 !important; }
.product_list_widget .product-title { font-size: 13.5px; color: var(--ak-ink); }

/* Phân trang */
.nav-pagination > li > a,
.nav-pagination > li > span {
	border-radius: 10px !important; border: 1px solid var(--ak-line) !important; background: #fff;
	min-width: 40px; height: 40px; line-height: 38px; font-weight: 600; color: var(--ak-ink);
}
.nav-pagination > li > .current,
.nav-pagination > li > a:hover { background: var(--ak-red) !important; border-color: var(--ak-red) !important; color: #fff !important; }

/* Mô tả danh mục dưới lưới sản phẩm */
.ak-cat-desc {
	position: relative; margin: 28px 0 10px;
	background: #fff; border: 1px solid var(--ak-line); border-radius: var(--ak-radius);
	padding: 24px 24px 64px;
}
.ak-cat-desc__body { font-size: 14.5px; }
.ak-cat-desc__body table { font-size: 13px; }
.ak-cat-desc.is-collapsed .ak-cat-desc__body { max-height: 340px; overflow: hidden; }
.ak-cat-desc.is-collapsed::after {
	content: ""; position: absolute; left: 1px; right: 1px; bottom: 56px; height: 120px;
	background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none;
}
.ak-cat-desc__toggle {
	position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
	margin: 0; background: #fff; color: var(--ak-red); border: 1.5px solid var(--ak-red);
	border-radius: 999px; padding: 0 24px; min-height: 38px; line-height: 36px; font-size: 14px;
}
.ak-cat-desc__toggle:hover { background: var(--ak-red); color: #fff; }

@media (max-width: 849px) {
	.category-page-row { padding-top: 16px; }
	.category-filter-row .filter-button { border: 1px solid var(--ak-line); border-radius: 999px; padding: 6px 14px; background: #fff; text-transform: none; }
	.ak-cat-desc { padding: 18px 16px 60px; }
}

/* ==========================================================================
   TRANG CHI TIẾT SẢN PHẨM
   ========================================================================== */
.ak-pd { padding-top: 18px; }
.ak-pd .product-breadcrumb-container .breadcrumbs { font-size: 13px; text-transform: none; font-weight: 500; letter-spacing: 0; }
.ak-pd-main > .col-inner,
.ak-pd-panel > .col-inner { background: #fff; border: 1px solid var(--ak-line); border-radius: 18px; box-shadow: var(--ak-shadow-sm); }
.ak-pd-main > .col-inner { padding: 22px; }
.ak-pd-panel > .col-inner { padding: 8px 24px 24px; }

.ak-pd .product-gallery-slider,
.ak-pd .woocommerce-product-gallery__wrapper { background: #fff !important; border-radius: 14px; overflow: hidden; border: 1px solid #f1f5f9; }
.ak-pd .product-gallery-slider img { object-fit: contain; }
.ak-pd .product-thumbnails { margin-top: 10px; }
.ak-pd .product-thumbnails .col { padding: 0 4px; }
.ak-pd .product-thumbnails a { border-radius: 10px; overflow: hidden; border: 1.5px solid var(--ak-line); background: #fff; }
.ak-pd .product-thumbnails .is-nav-selected a,
.ak-pd .product-thumbnails a:hover { border-color: var(--ak-red); }
.ak-pd .product-thumbnails img { opacity: 1 !important; }

.ak-pd .product-title-container h1,
/*.ak-pd .product-title {
	font-size: clamp(20px, 2.1vw, 26px) !important; line-height: 1.3; font-weight: 800;
	text-transform: none !important; letter-spacing: -.01em; color: var(--ak-ink); margin-bottom: 12px;
} 
*/
.ak-pd .product-short-description {
	font-size: 14px; color: var(--ak-text);
	background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px;
}
.ak-pd .product-short-description > p:first-child { margin-bottom: 8px; color: var(--ak-ink); }
.ak-pd .product-short-description ul { margin: 0 0 10px; list-style: none; padding: 0; }
.ak-pd .product-short-description li {
	margin: 0 !important; padding: 7px 0; border-bottom: 1px dashed #e2e8f0;
	display: grid; grid-template-columns: minmax(0, 1fr);
}
.ak-pd .product-short-description li:last-child { border-bottom: 0; }
.ak-pd .product-short-description li strong { color: var(--ak-ink); font-weight: 600; }
.ak-pd .product-short-description p:last-child { margin-bottom: 0; }
.ak-pd .product-short-description img[src*="download-now"] { height: 44px; width: auto; border-radius: 8px; }

.ak-price-box {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	background: linear-gradient(120deg, #fff5f5, #fff);
	border: 1px solid #fbd5d6; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px;
}
.ak-price-box__label { color: var(--ak-muted); font-size: 13.5px; font-weight: 500; }
.ak-price-box .product-price-container { margin: 0; }
.ak-price-box .price { margin: 0 !important; font-size: 26px !important; font-weight: 800; color: var(--ak-red) !important; line-height: 1.2; }
.ak-price-box .price-wrapper { margin: 0; }
.ak-price-note { font-size: 12.5px; color: var(--ak-muted); width: 100%; margin-top: -4px; }

.ak-pd-actions { display: grid; gap: 10px; margin-bottom: 16px; }
.ak-pd-actions .show-popup,
.ak-pd-actions .spb-button,
.show-popup {
	width: 100%; min-height: 50px; margin: 0;
	border-radius: 999px !important; border: 0;
	background: var(--ak-ink) !important; color: #fff !important;
	font-size: 15.5px; font-weight: 700; text-transform: none; letter-spacing: 0;
	box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .8);
	transition: background .15s, transform .15s;
}
.ak-pd-actions .show-popup:hover, .show-popup:hover { background: var(--ak-red) !important; transform: translateY(-1px); }
.ak-pd-actions p { margin: 0; }
.ak-pd-actions .ak-btns { display: grid; grid-template-columns: 1fr 1fr; }
.ak-pd-actions .ak-btn { width: 100%; }

/* Tab mô tả */
.ak-pd-panel .woocommerce-tabs { padding: 0 !important; max-width: none; }
.ak-pd-panel .product-tabs { border-bottom: 1px solid var(--ak-line); margin: 0 0 20px !important; gap: 4px; }
.ak-pd-panel .product-tabs > li { margin: 0 !important; }
.ak-pd-panel .product-tabs > li > a,
.ak-pd-panel .product-tabs > li.active > a {
	display: block !important; background: transparent !important; color: var(--ak-muted) !important;
	border-radius: 0 !important; padding: 16px 4px 14px !important; margin-right: 22px;
	font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0;
	border-bottom: 3px solid transparent !important; box-shadow: none !important;
}
.ak-pd-panel .product-tabs > li.active > a { color: var(--ak-ink) !important; border-bottom-color: var(--ak-red) !important; }
.ak-pd-panel .entry-content { font-size: 15px; line-height: 1.75; }
.ak-pd-panel .entry-content img { border-radius: 12px; }
.ak-pd-panel table, .ak-pd-panel .entry-content table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.ak-pd-panel table td, .ak-pd-panel table th { border: 1px solid var(--ak-line); padding: 6px 10px; }
.ak-pd-panel table tr:nth-child(even) td { background: #f8fafc; }
.ak-pd-panel .product_meta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ak-line); font-size: 13px; color: var(--ak-muted); }
.ak-pd-panel .product_meta > span { display: block; margin-bottom: 4px; }
.ak-pd-panel .product_meta .tagged_as { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ak-pd-panel .product_meta a { color: var(--ak-muted); }
.khungmota .kk-star-ratings { margin-bottom: 12px; }

/* Khối "Giới thiệu chung" trong trang sản phẩm */
.ak-pd-intro { margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: #f8fafc; border: 1px solid #eef2f7; font-size: 14px; }
.ak-pd-intro table { max-width: 520px; }
.ak-pd-intro .row { margin: 0 !important; max-width: none !important; }
.ak-pd-intro .col { padding: 0 !important; }
.ak-pd-crumbs .col { padding-bottom: 10px; }

/* Sidebar sản phẩm dính khi cuộn */
@media (min-width: 850px) {
	.ak-pd-side > .col-inner { position: sticky; top: 90px; }
}
.ak-pd-side .widget { margin-bottom: 16px; }

/* Sản phẩm liên quan */
.ak-pd .related, .ak-pd .related-products-wrapper { margin-top: 10px; }
.ak-pd .related .product-section-title,
.ak-pd .related h3 { font-size: 22px; font-weight: 800; text-transform: none; letter-spacing: 0; color: var(--ak-ink); }
.ak-pd .related .product-section-title { border: 0; padding-top: 0; }

@media (max-width: 849px) {
	.ak-pd-main > .col-inner { padding: 14px; border-radius: 14px; }
	.ak-pd-panel > .col-inner { padding: 4px 14px 16px; border-radius: 14px; }
	.ak-pd-actions .ak-btns { grid-template-columns: 1fr; }
	.ak-price-box .price { font-size: 22px !important; }
}

/* Popup báo giá (plugin smart-popup-blaster) */
[class*="overlay-content-"] { border-radius: 18px !important; overflow: hidden; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer.footer-wrapper { background: var(--ak-ink); margin-top: 56px; }
#footer > .gap-element { display: none; }
.ak-footer { color: rgba(255, 255, 255, .72); font-size: 14px; padding: 56px 0 36px; position: relative; }
.ak-footer::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
	background: linear-gradient(90deg, var(--ak-red), #ff7a45);
}
.ak-footer__grid { display: grid; grid-template-columns: 1.35fr .9fr 1fr 1.1fr; gap: 36px; }
.ak-footer h4 {
	color: #fff; font-size: 15px; font-weight: 700; margin: 6px 0 18px; text-transform: none; letter-spacing: 0;
	position: relative; padding-bottom: 12px;
}
.ak-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--ak-red); }
.ak-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.ak-footer a:hover { color: #fff; }
.ak-footer__logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ak-footer__logo img { width: 56px; height: 56px; background: #fff; border-radius: 14px; padding: 5px; object-fit: contain; }
.ak-footer__logo span { color: #fff; font-weight: 800; font-size: 20px; line-height: 1.15; display: flex; flex-direction: column; }
.ak-footer__logo small { font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.ak-footer__company { color: #fff; font-weight: 700; margin-bottom: 10px; letter-spacing: .02em; }
.ak-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ak-footer__list li { display: flex; gap: 10px; margin: 0; line-height: 1.5; }
.ak-footer__list .ak-ico { width: 17px; height: 17px; margin-top: 2px; color: #f87171; }
.ak-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ak-footer__links li { margin: 0; }
.ak-footer__links a { display: inline-block; padding: 4px 0; transition: transform .15s, color .15s; }
.ak-footer__links a::before { content: "›"; margin-right: 8px; color: #f87171; font-weight: 700; }
.ak-footer__links a:hover { transform: translateX(3px); }
.ak-footer__person { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 12px; }
.ak-footer__person strong { color: #fff; font-weight: 700; }
.ak-footer__person a { display: inline-flex; align-items: center; gap: 8px; word-break: break-all; }
.ak-footer__person em { font-style: normal; color: rgba(255, 255, 255, .5); font-size: 12.5px; }
.ak-footer__person .ak-ico { width: 16px; height: 16px; color: #f87171; }
.ak-footer__map { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); line-height: 0; }
.ak-footer__map iframe { width: 100%; height: 220px; filter: grayscale(.2); }

.absolute-footer.dark {
	background: #0a1020 !important; color: rgba(255, 255, 255, .55);
	border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; font-size: 13px;
}
.absolute-footer .footer-nav, .absolute-footer .menu-footer-container { display: none; }
.absolute-footer .copyright-footer { padding: 0; }
.absolute-footer .copyright-footer strong { color: rgba(255, 255, 255, .85); font-weight: 600; }
#top-link { border-radius: 50% !important; }

@media (max-width: 1100px) { .ak-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 549px) {
	.ak-footer { padding: 40px 0 24px; }
	.ak-footer__grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ==========================================================================
   LIÊN HỆ NỔI
   ========================================================================== */
.float-contact { display: none !important; } /* khối cũ */
.ak-float { position: fixed; right: 18px; bottom: 90px; z-index: 990; display: flex; flex-direction: column; gap: 10px; }
.ak-float__btn {
	position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	color: #fff !important; box-shadow: 0 10px 24px -8px rgba(15, 23, 42, .45);
	transition: transform .15s;
}
.ak-float__btn:hover { transform: scale(1.06); }
.ak-float__btn span {
	position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
	background: var(--ak-ink); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap;
	padding: 6px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s;
}
.ak-float__btn:hover span { opacity: 1; }
.ak-float__btn.is-call { background: var(--ak-red); }
.ak-float__btn.is-call::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ak-red);
	animation: ak-ring 1.8s ease-out infinite;
}
.ak-float__btn.is-zalo { background: var(--ak-zalo); }
.ak-float__btn.is-mail { background: var(--ak-ink-2); }
@keyframes ak-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ak-float__btn.is-call::before { animation: none; } }

@media (max-width: 849px) {
	body { padding-bottom: 64px; }
	.ak-float {
		left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0;
		background: #fff; border-top: 1px solid var(--ak-line);
		box-shadow: 0 -8px 20px -12px rgba(15, 23, 42, .35);
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
	}
	.ak-float__btn {
		flex: 1; width: auto; height: 46px; border-radius: 12px; margin: 0 4px;
		display: flex; gap: 8px; justify-content: center; align-items: center; box-shadow: none;
	}
	.ak-float__btn.is-call::before { display: none; }
	.ak-float__btn span { position: static; transform: none; opacity: 1; background: none; padding: 0; font-size: 14px; }
	.ak-float__btn .ak-ico { width: 18px; height: 18px; }
	#top-link { display: none !important; }
}

/* Bỏ thanh gạch mặc định của nav-line (đã dùng border-bottom) */
.ak-pd-panel .product-tabs.nav-line > li > a::before,
.ak-pd-panel .product-tabs.nav-line > li > a::after { display: none !important; }
