/*
Theme Name: VNPT Lam Dong
Theme URI: https://vnptlamdong.vn
Author: VNPT Lam Dong
Description: Theme VNPT Lam Dong - giao dien hien dai, gon gang
Version: 2.0.0
Text Domain: vnpt2
*/

:root {
	--primary: #0a5eb8;
	--primary-dark: #084a93;
	--primary-light: #e8f1fb;
	--accent: #f7941d;
	--accent-hover: #e8850a;
	--text: #222;
	--text-light: #666;
	--bg: #f5f7fa;
	--white: #fff;
	--border: #e5e7eb;
	--shadow: 0 2px 12px rgba(0,0,0,.08);
	--shadow-lg: 0 8px 32px rgba(0,0,0,.12);
	--radius: 12px;
	--radius-sm: 8px;
	--container: 1200px;
	--header-h: 70px;
	--transition: .25s ease;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
	font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.3; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===================== HEADER ===================== */
.site-header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; transition: transform .3s ease; }
.site-header.scrolled { transform: translateY(var(--header-top-offset, 0)); }
/* Khi dang nhap: day header xuong bang dung chieu cao thanh #wpadminbar */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
.header-top { background: var(--primary); color: #fff; font-size: 13px; padding: 6px 0; }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; }
.header-top-left { display: flex; align-items: center; gap: 20px; }
.header-top-left a { color: rgba(255,255,255,.9); display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.header-top-left a:hover { color: #fff; }
.header-top-right a { color: rgba(255,255,255,.9); font-size: 13px; }
.header-top-right a:hover { color: #fff; }

.header-main { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.header-logo img { max-height: 50px; }
.header-logo h1 { margin: 0; line-height: 1; }

.header-nav { display: flex; align-items: center; gap: 0; }
.header-nav > ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.header-nav > ul > li { position: relative; }
.header-nav > ul > li > a {
	display: flex; align-items: center; padding: 10px 16px; font-size: 15px; font-weight: 500;
	color: var(--text); transition: all var(--transition); border-radius: var(--radius-sm);
}
.header-nav > ul > li > a:hover,
.header-nav > ul > li.current-menu-item > a { color: var(--primary); background: var(--primary-light); }

.header-nav ul ul {
	display: none; position: absolute; top: 100%; left: 0; background: var(--white);
	min-width: 220px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
	padding: 8px 0; z-index: 200;
}
.header-nav ul li:hover > ul { display: block; }
.header-nav ul ul a { display: block; padding: 8px 20px; font-size: 14px; color: var(--text); }
.header-nav ul ul a:hover { background: var(--primary-light); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-hotline { display: none; align-items: center; gap: 6px; background: var(--accent); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; transition: all var(--transition); }
.header-hotline:hover { background: var(--accent-hover); color: #fff; }
.header-hotline svg { flex-shrink: 0; }
@media (min-width: 1025px) { .header-hotline { display: inline-flex; } }
.header-search { position: relative; }
.header-search-toggle {
	background: none; border: none; cursor: pointer; padding: 8px; border-radius: 50%;
	display: flex; align-items: center; transition: background var(--transition);
}
.header-search-toggle:hover { background: var(--primary-light); }
.header-search-toggle svg { width: 20px; height: 20px; fill: var(--text-light); }
.header-search-form {
	display: none; position: absolute; right: 0; top: 100%; margin-top: 8px;
	background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
	padding: 12px; width: 300px; z-index: 300;
}
.header-search-form.active { display: block; }
.header-search-form input {
	width: 100%; padding: 10px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm);
	font-size: 14px; outline: none; transition: border var(--transition);
}
.header-search-form input:focus { border-color: var(--primary); }
.header-search-form button {
	position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
	background: var(--primary); border: none; color: #fff; padding: 6px 14px;
	border-radius: 6px; cursor: pointer; font-size: 13px;
}

/* Mobile menu */
.mobile-toggle {
	display: none; background: none; border: none; cursor: pointer; padding: 8px;
	flex-direction: column; gap: 5px;
}
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.mobile-menu {
	display: none; position: fixed; inset: 0; background: var(--white); z-index: 999;
	padding: 80px 24px 24px; overflow-y: auto;
}
.mobile-menu.active { display: block; }
.mobile-menu-close {
	position: absolute; top: 20px; right: 20px; background: none; border: none;
	font-size: 28px; cursor: pointer; color: var(--text);
}
.mobile-menu ul { list-style: none; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--border); }
.mobile-menu > ul > li > a { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--text); }
.mobile-menu ul ul { padding-left: 20px; }
.mobile-menu ul ul a { display: block; padding: 10px 0; font-size: 14px; color: var(--text-light); }
.mobile-search-form { margin-bottom: 20px; }
.mobile-search-form input { width: 100%; padding: 10px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; }
.mobile-contact { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.mobile-contact a { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; font-weight: 500; }

/* ===================== HERO SLIDER ===================== */
.hero { padding: 24px 0; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.hero-slider { border-radius: var(--radius); overflow: hidden; position: relative; }
.hero-slider .swiper-slide img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.hero-sidebar { display: flex; flex-direction: column; gap: 16px; }
.hero-sidebar a { display: block; border-radius: var(--radius); overflow: hidden; flex: 1; }
.hero-sidebar img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== FEATURES ===================== */
.features { padding: 40px 0; }
.features-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px;
}
.feature-item {
	background: var(--white); border-radius: var(--radius); padding: 24px 16px;
	text-align: center; transition: all var(--transition); box-shadow: var(--shadow);
	display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-item img { width: 48px; height: 48px; object-fit: contain; }
.feature-item p { font-size: 14px; font-weight: 600; color: var(--text); margin: 0; }

/* ===================== SECTION TITLE ===================== */
.section-title {
	display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
}
.section-title img { width: 32px; height: 32px; }
.section-title h2 { font-size: 24px; font-weight: 700; color: var(--text); margin: 0; }

/* ===================== HOT DEALS ===================== */
.hot-deals { padding: 0 0 48px; }
.deal-card {
	background: var(--white); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); transition: all var(--transition); position: relative; height: 100%;
	display: flex; flex-direction: column;
}
.deal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.deal-badge {
	position: absolute; top: 12px; right: 12px; background: #e53e3e; color: #fff;
	padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; z-index: 2;
}
.deal-card section { padding: 20px; flex: 1; }
.deal-card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.deal-card h3 a { color: var(--primary); }
.deal-poster img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.deal-content { font-size: 13px; color: var(--text-light); max-height: 160px; overflow: hidden; margin: 12px 0; }
.deal-price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.deal-price h4 { font-size: 24px; font-weight: 700; color: var(--accent); margin: 0; }
.deal-price span { font-size: 14px; color: var(--text-light); }
.deal-price h5 { font-size: 13px; color: var(--text-light); margin: 0 0 0 auto; }
.deal-bottom { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; gap: 12px; }
.btn-detail a {
	display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500;
	color: var(--primary); padding: 8px 16px; border-radius: var(--radius-sm);
	border: 1px solid var(--primary); transition: all var(--transition);
}
.btn-detail a:hover { background: var(--primary); color: #fff; }
.btn-detail a svg { width: 14px; height: 14px; fill: currentColor; }
.btn-reg {
	display: inline-flex; align-items: center; padding: 8px 20px; background: var(--accent);
	color: #fff; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
	cursor: pointer; transition: all var(--transition); border: none;
}
.btn-reg:hover { background: var(--accent-hover); }

/* ===================== SIM PACKAGES ===================== */
.sim-packages { padding: 0 0 48px; }
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sim-list { display: flex; flex-direction: column; gap: 12px; }
.sim-pack {
	background: var(--white); border-radius: var(--radius-sm); padding: 16px 20px;
	display: flex; align-items: center; gap: 16px; cursor: pointer;
	border: 2px solid transparent; transition: all var(--transition); box-shadow: var(--shadow);
}
.sim-pack:hover, .sim-pack.active { border-color: var(--primary); }
.sim-pack img.sim-icon { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.sim-pack h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.sim-pack p { font-size: 13px; color: var(--text-light); margin: 0; }
.sim-detail {
	background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
	display: none;
}
.sim-detail.active { display: block; }
.sim-detail h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.sim-detail-content { font-size: 14px; color: var(--text-light); line-height: 1.8; max-height: 350px; overflow-y: auto; }
.sim-detail hr { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.sim-price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.sim-price p { font-size: 28px; font-weight: 700; color: var(--accent); margin: 0; }
.sim-price span { font-size: 14px; color: var(--text-light); }
.sim-btn-group { display: flex; gap: 12px; margin-top: 20px; }
.sim-btn-group span {
	display: inline-flex; align-items: center; padding: 10px 24px; border-radius: var(--radius-sm);
	font-size: 14px; font-weight: 600; cursor: pointer; transition: all var(--transition);
}
.sim-btn-group span:first-child { background: var(--primary); color: #fff; }
.sim-btn-group span:first-child:hover { background: var(--primary-dark); }
.sim-btn-group span:last-child { background: var(--primary-light); color: var(--primary); }

/* ===================== INTERNET PACKAGES ===================== */
.internet-section { padding: 0 0 48px; }
.internet-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.box-internet {
	background: var(--white); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); transition: all var(--transition);
	display: flex; flex-direction: column;
}
.box-internet:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.box-internet h3 {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: #fff; padding: 16px 20px; font-size: 18px; font-weight: 700; margin: 0;
}
.box-internet-body { padding: 20px; flex: 1; }
.box-internet-body p { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.box-internet-price { display: flex; align-items: baseline; gap: 4px; margin-top: 16px; }
.box-internet-price h4 { font-size: 22px; font-weight: 700; color: var(--accent); margin: 0; }
.box-internet-price span { font-size: 13px; color: var(--text-light); }
.box-internet-btn {
	margin: 16px 20px 20px; padding: 10px; text-align: center; background: var(--accent);
	color: #fff; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer;
	transition: all var(--transition);
}
.box-internet-btn:hover { background: var(--accent-hover); }

/* ===================== MOBILE PACKAGES ===================== */
.mobile-section { padding: 0 0 48px; }
.mobile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.box-mobile {
	background: var(--white); border-radius: var(--radius); padding: 24px;
	box-shadow: var(--shadow); transition: all var(--transition);
}
.box-mobile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.box-mobile h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.box-mobile-desc { font-size: 13px; color: var(--text-light); margin-bottom: 16px; min-height: 60px; }
.box-mobile__price { font-size: 22px; font-weight: 700; color: var(--accent); }
.box-mobile__ck { font-size: 13px; color: var(--text-light); display: block; margin: 4px 0 16px; }
.box-mobile__btn {
	display: inline-block; padding: 10px 24px; background: var(--accent); color: #fff;
	border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; transition: all var(--transition);
}
.box-mobile__btn:hover { background: var(--accent-hover); }

/* ===================== NEWS ===================== */
.news-section { padding: 0 0 48px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
	background: var(--white); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); transition: all var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img { aspect-ratio: 16/10; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 20px; }
.news-card-body span { font-size: 12px; color: var(--primary); font-weight: 600; text-transform: uppercase; }
.news-card-body h3 { font-size: 16px; font-weight: 600; margin: 8px 0 0; }
.news-card-body h3 a { color: var(--text); }
.news-card-body h3 a:hover { color: var(--primary); }

/* News list (category/archive) */
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.box-news { display: flex; gap: 16px; background: var(--white); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow); }
.box-news__img { width: 140px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; }
.box-news__img img { width: 100%; height: 100%; object-fit: cover; }
.box-news__content h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.box-news__content h3 a { color: var(--text); }
.box-news__content h3 a:hover { color: var(--primary); }
.box-news__datetime { font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.box-news__description { font-size: 13px; color: var(--text-light); }

/* ===================== SINGLE POST ===================== */
.single-content { padding: 32px 0 48px; }
.single-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.single-main { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.single-main h1 { font-size: 28px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.single-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-light); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.single-meta img { width: 16px; }
.single-body { font-size: 16px; line-height: 1.8; }
.single-body img { border-radius: var(--radius-sm); margin: 16px 0; }
.single-body p { margin-bottom: 16px; }
.single-body h2 { font-size: 22px; margin: 24px 0 12px; }
.single-body h3 { font-size: 18px; margin: 20px 0 10px; }

.single-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.single-tags a {
	background: var(--primary-light); color: var(--primary); padding: 4px 14px;
	border-radius: 20px; font-size: 13px; transition: all var(--transition);
}
.single-tags a:hover { background: var(--primary); color: #fff; }

.related-posts { margin-top: 32px; }
.related-posts h4 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.related-posts ul { list-style: disc; padding-left: 20px; }
.related-posts li { margin-bottom: 8px; }
.related-posts li a { color: var(--text); font-size: 14px; }
.related-posts li a:hover { color: var(--primary); }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-widget {
	background: var(--white); border-radius: var(--radius); padding: 24px;
	box-shadow: var(--shadow); margin-bottom: 24px;
}
.sidebar-widget h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.sidebar-widget ul { list-style: none; }
.sidebar-widget li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-widget li:last-child { border-bottom: none; }
.sidebar-widget li a { color: var(--text); font-size: 14px; }
.sidebar-widget li a:hover { color: var(--primary); }

/* ===================== FOOTER ===================== */
.site-footer { background: #1a2332; color: rgba(255,255,255,.8); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr 1fr; gap: 32px; }
.footer-about .footer-logo { margin-bottom: 16px; }
.footer-about .footer-logo img { max-height: 40px; filter: brightness(10); }
.footer-col h6 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h6::after { content: ''; position: absolute; bottom: 0; left: 0; width: 32px; height: 2px; background: var(--accent); }
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.footer-col p svg { flex-shrink: 0; margin-top: 4px; fill: var(--accent); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col li a { color: rgba(255,255,255,.7); font-size: 14px; transition: all var(--transition); display: inline-flex; align-items: center; gap: 4px; }
.footer-col li a:hover { color: #fff; padding-left: 6px; }
.footer-contact-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.footer-contact-list li svg { flex-shrink: 0; fill: var(--accent); }
.footer-contact-list li a { color: rgba(255,255,255,.9); }
.footer-contact-list li a:hover { color: #fff; padding-left: 0; }
.footer-nav-list { list-style: none; }
.mt-social { margin-top: 20px; }
.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%; transition: all var(--transition); }
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-social img { width: 18px; height: 18px; filter: brightness(10); }

.footer-bottom-bar {
	margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1);
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom-left { display: flex; align-items: center; gap: 12px; }
.footer-bottom-left img { max-height: 28px; filter: brightness(10); opacity: .5; }
.footer-bottom-left span { font-size: 12px; color: rgba(255,255,255,.5); }
.footer-bottom-center span { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-bottom-right img { max-height: 40px; }

/* ===================== CTA SECTION ===================== */
.cta-section { padding: 0 0 48px; }
.cta-box {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	border-radius: var(--radius); padding: 40px 48px; display: flex;
	align-items: center; justify-content: space-between; gap: 24px;
}
.cta-content h2 { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.cta-content p { color: rgba(255,255,255,.8); font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; transition: all var(--transition); }
.cta-btn-primary { background: var(--accent); color: #fff; }
.cta-btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
.cta-btn-secondary { background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(4px); }
.cta-btn-secondary:hover { background: rgba(255,255,255,.25); color: #fff; transform: translateY(-2px); }

/* Section more link */
.section-more { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--primary); }

/* ===================== MODAL ===================== */
.modal-overlay {
	display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000;
	align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
	background: var(--white); border-radius: var(--radius); max-width: 520px; width: 100%;
	box-shadow: var(--shadow-lg); overflow: hidden; animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-header {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: #fff; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
}
.modal-header h4 { font-size: 18px; font-weight: 600; margin: 0; }
.modal-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 0; line-height: 1; }
.modal-body { padding: 24px; }
.modal-info { margin-bottom: 20px; }
.modal-info-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.modal-info-row span:last-child { font-weight: 600; color: var(--primary); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-light); margin-bottom: 4px; }
.form-group input, .form-group textarea {
	width: 100%; padding: 10px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm);
	font-size: 14px; outline: none; transition: border var(--transition);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-note { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.form-note a { color: var(--primary); font-weight: 600; }
.form-submit {
	width: 100%; padding: 12px; background: var(--accent); color: #fff; border: none;
	border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; cursor: pointer;
	transition: background var(--transition);
}
.form-submit:hover { background: var(--accent-hover); }

/* Alert popups */
.alert-popup {
	display: none; position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
	background: var(--white); border-radius: var(--radius-sm); padding: 20px 28px;
	box-shadow: var(--shadow-lg); z-index: 2000; text-align: center; min-width: 300px;
}
.alert-popup p { margin-bottom: 16px; font-size: 14px; }
.alert-popup .alert-ok {
	display: inline-block; padding: 8px 28px; background: var(--primary); color: #fff;
	border-radius: var(--radius-sm); cursor: pointer; font-weight: 600;
}

/* ===================== SCROLL TO TOP ===================== */
.scroll-top {
	position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px;
	background: var(--primary); color: #fff; border-radius: 50%; display: flex;
	align-items: center; justify-content: center; cursor: pointer; opacity: 0;
	transition: all var(--transition); z-index: 90; border: none; box-shadow: var(--shadow);
}
.scroll-top.visible { opacity: 1; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
.scroll-top svg { width: 20px; height: 20px; fill: #fff; }

/* ===================== PAGINATION ===================== */
#pagination { display: flex; gap: 4px; justify-content: center; margin-top: 32px; }
#pagination a, #pagination span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 36px; height: 36px; padding: 0 10px; border-radius: var(--radius-sm);
	font-size: 14px; font-weight: 500; transition: all var(--transition);
}
#pagination a { background: var(--white); color: var(--text); box-shadow: var(--shadow); }
#pagination a:hover { background: var(--primary); color: #fff; }
#pagination span.current { background: var(--primary); color: #fff; }

/* ===================== 404 ===================== */
.page-404 { text-align: center; padding: 80px 20px; }
.page-404 h1 { font-size: 96px; font-weight: 800; color: var(--primary); }
.page-404 p { font-size: 18px; color: var(--text-light); margin: 16px 0 32px; }
.page-404 a {
	display: inline-block; padding: 12px 32px; background: var(--primary); color: #fff;
	border-radius: var(--radius-sm); font-weight: 600;
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ===================== SEARCH ===================== */
.search-results-header { padding: 32px 0 16px; }
.search-results-header h2 { font-size: 24px; }

/* ===================== SWIPER OVERRIDES ===================== */
.swiper-pagination-bullet { width: 10px; height: 10px; background: var(--primary); opacity: .3; }
.swiper-pagination-bullet-active { opacity: 1; }
.swiper-button-next, .swiper-button-prev { background-image: none !important; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 18px; color: var(--primary); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-sidebar { flex-direction: row; }
	.internet-grid { grid-template-columns: repeat(2, 1fr); }
	.sim-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.single-grid { grid-template-columns: 1fr; }
	.cta-box { flex-direction: column; text-align: center; padding: 32px; }
	.cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
	:root { --header-h: 60px; }
	.header-nav { display: none; }
	.header-top-left { gap: 12px; flex-wrap: wrap; }
	.header-top-right { display: none; }
	.mobile-toggle { display: flex; }
	.hero-sidebar { display: none; }
	.features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.hot-deals .swiper-slide { width: 260px !important; }
	.internet-grid { grid-template-columns: 1fr; }
	.mobile-grid { grid-template-columns: 1fr; }
	.news-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom-bar { flex-direction: column; gap: 12px; text-align: center; }
	.section-title h2 { font-size: 20px; }
	.single-main { padding: 20px; }
	.single-main h1 { font-size: 22px; }
	.cta-actions { flex-direction: column; }
	.cta-btn { justify-content: center; }
}

@media (max-width: 480px) {
	.features-grid { grid-template-columns: repeat(2, 1fr); }
	.feature-item { padding: 16px 12px; }
	.feature-item img { width: 36px; height: 36px; }
}

/* Hidden utility */
.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; }
.mt-5 { margin-top: 2rem; }
.d-none { display: none; }
@media (min-width: 992px) { .d-lg-block { display: block !important; } .d-lg-none { display: none !important; } }

/* ============================================================
   Chinh sua cac section trang chu (Hot deal -> Internet)
   ============================================================ */

/* Internet - Truyen hinh: hien thi dang luoi 4 cot thay vi swiper chua init */
.internet .swiper-container { overflow: visible; padding-bottom: 8px; }
.internet .swiper-wrapper { display: flex !important; flex-wrap: wrap; gap: 24px; transform: none !important; }
.internet .swiper-slide { width: calc(25% - 18px); height: auto; }
@media (max-width: 1024px) { .internet .swiper-slide { width: calc(50% - 12px); } }
@media (max-width: 600px)  { .internet .swiper-slide { width: 100%; } }

/* The card san pham (hot deal, internet) - bo goc + do bong + hieu ung hover */
.box-deal, .box-internet {
	border-radius: 14px;
	box-shadow: 0 4px 18px rgba(0,0,0,.06);
	transition: transform .25s ease, box-shadow .25s ease;
	overflow: hidden;
	background: #fff;
	height: 100%;
}
.box-deal:hover, .box-internet:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* Tieu de section can doi khoang cach */
.home__title, .home__title-package { margin-bottom: 28px; }
.home__title h2 { position: relative; }

/* Nut dang ky ro rang hon */
.btn-reg, .box-mobile__btn span {
	transition: filter .2s ease, transform .2s ease;
}
.btn-reg:hover, .box-mobile__btn span:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Khoang cach deu giua cac section vnpt tren trang chu */
.home section.container.mt-5, section.container.mt-5 { margin-top: 3.5rem; }

/* ============================================================
   Can doi lai button + size chu cho cac card trang chu
   ============================================================ */

/* Nut "Dang ky" = CTA cam noi bat, dong bo o moi card */
.box-deal .btn-reg,
.box-internet .btn-reg,
.box-mobile__btn span {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--accent) !important; color: #fff !important;
	font-size: 14px !important; font-weight: 600; line-height: 1;
	padding: 10px 24px !important; width: auto !important; min-width: 112px;
	border-radius: 8px !important; cursor: pointer;
	box-shadow: 0 3px 10px rgba(247,148,29,.30);
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.box-deal .btn-reg:hover,
.box-internet .btn-reg:hover,
.box-mobile__btn span:hover {
	background: var(--accent-hover) !important; transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(247,148,29,.42);
}

/* Nut "Chi tiet" = vien xanh (phu), can xung voi nut Dang ky */
.box-deal .btn-detail a,
.box-internet .btn-detail a {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	border: 1.5px solid var(--primary); color: var(--primary) !important;
	font-size: 14px; font-weight: 600; line-height: 1;
	padding: 9px 18px !important; border-radius: 8px; height: auto;
	transition: all .2s ease;
}
.box-deal .btn-detail a:hover,
.box-internet .btn-detail a:hover { background: var(--primary); color: #fff !important; }
.box-deal .btn-detail a svg,
.box-internet .btn-detail a svg { width: 12px; height: 12px; }

/* Khoang cach 2 nut deu nhau */
.box-internet__btn-wrapper { gap: 10px; padding: 16px 20px !important; }
.box-deal .btn-detail { gap: 10px; }

/* --- Size chu can doi --- */
.box-deal h3 { font-size: 22px !important; line-height: 1.25; }        /* ten goi cuoc */
.box-deal h4,
.box-internet h4 { font-size: 26px !important; font-weight: 700; }     /* gia */
.box-internet h3 { font-size: 17px !important; }                       /* header goi internet */

/* ============================================================
   Section "Goi cuoc di dong" (box-mobile): size + mau chu
   ============================================================ */
/* .box-mobile__price o day chua MO TA (khong phai gia) -> tra ve chu thuong, de doc */
.box-mobile__price {
	font-size: 14px !important; font-weight: 500 !important;
	color: var(--text) !important; line-height: 1.6 !important;
	padding: 0 14px !important; margin: 6px 0 !important; text-align: left;
}
.box-mobile__price span { font-size: 15px !important; color: var(--primary) !important; font-weight: 700; font-family: inherit !important; }
.box-mobile h3 { font-size: 17px !important; }
.box-mobile__content { font-size: 14px; line-height: 1.6; padding: 0 14px; }
.box-mobile__content strong { color: var(--text); }

/* Nut "Tam ngung cung cap" (goi da ngung) -> xam, ro la khong dang ky duoc */
.box-deal .btn-reg.is-suspended,
.box-internet .btn-reg.is-suspended,
.btn-reg.is-suspended,
.box-mobile .box-mobile__btn span.is-suspended,
.box-mobile__btn span.is-suspended {
	background: #eceff3 !important; color: #94a3b8 !important;
	box-shadow: none !important; cursor: not-allowed !important;
	font-weight: 600; pointer-events: none; min-width: 0 !important;
}
.box-internet .btn-reg.is-suspended:hover,
.box-mobile__btn span.is-suspended:hover { transform: none !important; background: #eceff3 !important; }

/* Nut "Chi tiet" gon hon, dong bo voi card */
.box-internet .btn-detail a,
.box-deal .btn-detail a { font-size: 13px; padding: 8px 16px !important; }

/* ============================================================
   Nut "Diem giao dich" tren header menu - dua ra cuoi, noi bat
   ============================================================ */
.header-nav { flex: 1; }
.header__nav-item--shop {
	margin-left: auto;               /* day ra cuoi cung ben phai */
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--accent); color: #fff !important;
	font-size: 15px; font-weight: 700; line-height: 1;
	padding: 11px 20px; border-radius: 8px; white-space: nowrap;
	box-shadow: 0 3px 10px rgba(247,148,29,.30);
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.header__nav-item--shop:hover {
	background: var(--accent-hover); color: #fff !important;
	transform: translateY(-1px); box-shadow: 0 6px 16px rgba(247,148,29,.42);
}
.header__nav-item--shop svg { width: 20px; height: 20px; fill: #fff; }
.header__nav-item--shop span { color: #fff; }
@media (max-width: 1024px) { .header__nav-item--shop { display: none; } }

/* ============================================================
   Fix: chunk vnpt (970adb08) dat html,body{height:100%} lam
   header sticky chi dinh trong 1 man hinh. Tra ve auto de
   header fixed/sticky suot chieu dai trang khi cuon.
   ============================================================ */
html, body { height: auto !important; min-height: 100% !important; }
