/*
Theme Name: Star S Theme
Theme URI: https://camerasieugia.com
Author: TCK
Author URI: https://camerasieugia.com
Description: Theme riêng cho camerasieugia.com — lắp đặt camera quan sát. Tương thích WooCommerce, có CPT Dự án, thiết kế theo brand xanh #0B4FA8 / đỏ #E53935. Không phụ thuộc plugin bắt buộc.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: camerasieugia
*/

/* =========================================================
   1. Biến + reset
   ========================================================= */
:root {
	--c-primary: #0B4FA8;
	--c-primary-dark: #083A7D;
	--c-primary-light: #E8F0FB;
	--c-accent: #E53935;
	--c-accent-dark: #C62828;
	--c-text: #1F2937;
	--c-muted: #6B7280;
	--c-line: #E5E7EB;
	--c-bg: #F5F7FA;
	--c-white: #FFFFFF;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow: 0 4px 16px rgba(15, 23, 42, .08);
	--shadow-lg: 0 10px 30px rgba(15, 23, 42, .14);
	--container: 1200px;
	--font: 'Be Vietnam Pro', 'Roboto', -apple-system, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--font);
	color: var(--c-text);
	background: var(--c-white);
	font-size: 15.5px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: .2s; }
a:hover { color: var(--c-accent); }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--c-text); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* =========================================================
   2. Nút + tiêu đề khối
   ========================================================= */
.btn {
	display: inline-flex; align-items: center; gap: 8px; justify-content: center;
	padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
	border: 2px solid transparent; cursor: pointer; transition: .2s; line-height: 1.2;
}
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: var(--c-accent-dark); color: #fff; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: #fff; }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-white { background: #fff; color: var(--c-primary); }
.btn-white:hover { color: var(--c-accent); }

.csg-section { padding: 64px 0; }
.csg-section--gray { background: var(--c-bg); }
.csg-section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.csg-section-head h2 { font-size: clamp(24px, 3.2vw, 32px); position: relative; padding-bottom: 14px; }
.csg-section-head h2::after {
	content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 64px; height: 4px; border-radius: 4px; background: var(--c-accent);
}
.csg-section-head p { color: var(--c-muted); margin-top: 10px; }

/* =========================================================
   3. Topbar + Header
   ========================================================= */
.csg-topbar { background: var(--c-primary-dark); color: #cfe0f5; font-size: 13px; padding: 7px 0; }
.csg-topbar .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.csg-topbar a { color: #fff; }
.csg-topbar span + span::before { content: "•"; margin: 0 8px; opacity: .5; }

.csg-header { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: 0 2px 10px rgba(15,23,42,.06); transition: box-shadow .25s; }
.csg-header.is-stuck { box-shadow: var(--shadow-lg); }
.csg-header .container { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.csg-logo img { max-height: 56px; width: auto; }
.csg-logo .csg-logo-text { font-size: 22px; font-weight: 800; color: var(--c-primary); line-height: 1.15; }
.csg-logo .csg-logo-text small { display: block; font-size: 11px; font-weight: 600; color: var(--c-muted); letter-spacing: .4px; }

.csg-nav ul { display: flex; gap: 4px; }
.csg-nav a { display: block; padding: 10px 14px; font-weight: 600; color: var(--c-text); border-radius: 8px; font-size: 15px; }
.csg-nav a:hover, .csg-nav .current-menu-item > a, .csg-nav .current_page_item > a { color: var(--c-primary); background: var(--c-primary-light); }
/* dropdown */
.csg-nav ul ul { position: absolute; display: none; min-width: 230px; background: #fff; box-shadow: var(--shadow-lg); border-radius: 10px; padding: 8px 0; }
.csg-nav li { position: relative; }
.csg-nav li:hover > ul, .csg-nav li:focus-within > ul { display: block; }
.csg-nav ul ul a { padding: 9px 16px; font-weight: 500; border-radius: 0; }
.csg-nav ul ul a:hover { background: var(--c-primary-light); }

.csg-header-call { margin-left: auto; }
.csg-header-call a { display: flex; align-items: center; gap: 10px; background: var(--c-accent); color: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 800; }
.csg-header-call a:hover { background: var(--c-accent-dark); color: #fff; }
.csg-header-call small { display: block; font-weight: 600; font-size: 11px; opacity: .85; }

.csg-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.csg-burger span { display: block; width: 26px; height: 3px; background: var(--c-primary); border-radius: 3px; margin: 5px 0; transition: .25s; }

/* =========================================================
   4. Hero
   ========================================================= */
.csg-hero {
	position: relative; min-height: 520px; display: flex; align-items: center;
	background: linear-gradient(115deg, var(--c-primary-dark) 0%, var(--c-primary) 60%, #1565C0 100%);
	color: #fff; overflow: hidden;
}
.csg-hero::after {
	content: ""; position: absolute; inset: 0;
	background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px);
	pointer-events: none;
}
.csg-hero.has-img { background-size: cover; background-position: center; }
.csg-hero .container { position: relative; z-index: 2; max-width: 720px; padding: 90px 16px; }
.csg-hero h1 { color: #fff; font-size: clamp(28px, 4.4vw, 46px); margin-bottom: 16px; }
.csg-hero p { font-size: 17px; opacity: .92; max-width: 560px; margin-bottom: 28px; }
.csg-hero .csg-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.csg-hero .btn-outline { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.csg-hero .btn-outline:hover { background: #fff; color: var(--c-primary); }

/* =========================================================
   5. Danh mục sản phẩm
   ========================================================= */
.csg-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.csg-cat-card {
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
	padding: 26px 14px; text-align: center; font-weight: 700; color: var(--c-text);
	transition: .25s; overflow: hidden;
}
.csg-cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--c-primary); border-color: var(--c-primary-light); }
.csg-cat-card img { width: 92px; height: 92px; object-fit: contain; }
.csg-cat-placeholder {
	width: 92px; height: 92px; display: flex; align-items: center; justify-content: center;
	background: var(--c-primary-light); color: var(--c-primary); border-radius: 50%; font-size: 34px; font-weight: 800;
}
.csg-cat-card .csg-count { font-size: 12.5px; color: var(--c-muted); font-weight: 600; }

/* =========================================================
   6. Sản phẩm
   ========================================================= */
.csg-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.csg-product-card {
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
	overflow: hidden; display: flex; flex-direction: column; transition: .25s; position: relative;
}
.csg-product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.csg-product-thumb { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.csg-product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: .3s; }
.csg-product-card:hover .csg-product-thumb img { transform: scale(1.05); }
.csg-sale {
	position: absolute; top: 12px; left: 12px; background: var(--c-accent); color: #fff;
	font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.csg-product-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.csg-product-body h3 { font-size: 15px; font-weight: 600; line-height: 1.4; }
.csg-product-body h3 a { color: var(--c-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.csg-product-body h3 a:hover { color: var(--c-primary); }
.csg-price { font-size: 17px; font-weight: 800; color: var(--c-accent); min-height: 24px; }
.csg-price del { color: var(--c-muted); font-weight: 500; font-size: 13.5px; margin-right: 6px; }
.csg-product-actions { display: flex; gap: 8px; margin-top: auto; }

/* =========================================================
   7. Dịch vụ + Quy trình
   ========================================================= */
.csg-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.csg-service {
	background: #fff; border-radius: var(--radius-lg); padding: 30px 26px;
	border: 1px solid var(--c-line); transition: .25s;
}
.csg-service:hover { border-color: var(--c-primary); box-shadow: var(--shadow); }
.csg-service .csg-ico {
	width: 54px; height: 54px; border-radius: 14px; background: var(--c-primary-light);
	color: var(--c-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.csg-service h3 { font-size: 17px; margin-bottom: 8px; }
.csg-service p { color: var(--c-muted); font-size: 14.5px; }

.csg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.csg-step { text-align: center; padding: 26px 18px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--c-line); position: relative; counter-increment: step; }
.csg-step::before {
	content: counter(step); width: 44px; height: 44px; border-radius: 50%;
	background: var(--c-primary); color: #fff; font-weight: 800; font-size: 18px;
	display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.csg-step h3 { font-size: 16px; margin-bottom: 6px; }
.csg-step p { color: var(--c-muted); font-size: 14px; }

/* =========================================================
   8. Dự án
   ========================================================= */
.csg-projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.csg-project-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; display: block; aspect-ratio: 16/11; background: var(--c-bg); }
.csg-project-card img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.csg-project-card:hover img { transform: scale(1.06); }
.csg-project-card figcaption {
	position: absolute; inset: auto 0 0 0; padding: 36px 16px 14px; color: #fff;
	background: linear-gradient(transparent, rgba(8, 24, 48, .85)); font-weight: 700; font-size: 14.5px;
}
.csg-project-card figcaption small { display: block; font-weight: 500; opacity: .85; font-size: 12.5px; }

/* =========================================================
   9. Giới thiệu + số liệu
   ========================================================= */
.csg-about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.csg-about h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 14px; }
.csg-about p { color: var(--c-muted); margin-bottom: 12px; }
.csg-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.csg-stat { background: var(--c-primary-light); border-radius: var(--radius-lg); padding: 26px 18px; text-align: center; }
.csg-stat b { display: block; font-size: clamp(26px, 3vw, 36px); color: var(--c-primary); }
.csg-stat span { color: var(--c-muted); font-weight: 600; font-size: 13.5px; }

/* =========================================================
   10. CTA strip
   ========================================================= */
.csg-cta { background: linear-gradient(100deg, var(--c-accent) 0%, var(--c-accent-dark) 100%); color: #fff; padding: 48px 0; }
.csg-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.csg-cta h2 { color: #fff; font-size: clamp(20px, 2.6vw, 28px); }
.csg-cta p { opacity: .92; }
.csg-cta .btn { background: #fff; color: var(--c-accent); font-size: 17px; padding: 14px 34px; }
.csg-cta .btn:hover { color: var(--c-primary); }

/* =========================================================
   11. Blog
   ========================================================= */
.csg-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.csg-post-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.csg-post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.csg-post-card .csg-post-img { aspect-ratio: 16/9.6; overflow: hidden; }
.csg-post-card .csg-post-img img { width: 100%; height: 100%; object-fit: cover; }
.csg-post-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.csg-post-body time { color: var(--c-muted); font-size: 12.5px; font-weight: 600; }
.csg-post-body h3 { font-size: 16px; line-height: 1.45; }
.csg-post-body p { color: var(--c-muted); font-size: 14px; }
.csg-post-body .csg-more { font-weight: 700; margin-top: auto; }

/* Blog layout + sidebar */
.csg-blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.csg-sidebar { font-size: 14.5px; }
.csg-blog-layout .csg-posts { grid-template-columns: repeat(2, 1fr); }
.widget { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 22px; }
.widget-title { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--c-primary-light); }
.widget ul { list-style: none; }
.widget li { padding: 7px 0; border-bottom: 1px dashed var(--c-line); }
.widget li:last-child { border-bottom: 0; }

/* =========================================================
   12. Page head + breadcrumb + nội dung trang
   ========================================================= */
.csg-page-head { background: var(--c-primary); color: #fff; padding: 46px 0 40px; text-align: center; }
.csg-page-head h1 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); }
.csg-page-head p { opacity: .88; margin-top: 6px; }
.csg-breadcrumb { background: var(--c-bg); border-bottom: 1px solid var(--c-line); font-size: 13.5px; padding: 10px 0; color: var(--c-muted); }
.csg-breadcrumb .container { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.csg-breadcrumb a { color: var(--c-primary); font-weight: 600; }
.csg-content { padding: 44px 0 64px; }
.entry > * + * { margin-top: 14px; }
.csg-content h2 { font-size: 22px; margin-top: 26px; }
.csg-content h3 { font-size: 18px; margin-top: 20px; }
.csg-content ul { list-style: disc; padding-left: 22px; }
.csg-content ol { list-style: decimal; padding-left: 22px; }
.csg-content img { border-radius: var(--radius); }
.csg-content table { width: 100%; border-collapse: collapse; }
.csg-content td, .csg-content th { border: 1px solid var(--c-line); padding: 9px 12px; }

/* Liên hệ */
.csg-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.csg-contact-info { background: var(--c-primary-light); border-radius: var(--radius-lg); padding: 30px; }
.csg-contact-info li { display: flex; gap: 12px; padding: 10px 0; align-items: flex-start; font-weight: 600; }
.csg-contact-info li b { color: var(--c-primary); }
.csg-map { border-radius: var(--radius-lg); overflow: hidden; margin-top: 28px; box-shadow: var(--shadow); }
.csg-map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* =========================================================
   13. Footer
   ========================================================= */
.csg-footer { background: #0A2540; color: #B7C3D0; margin-top: 0; }
.csg-footer a { color: #DDE6EF; }
.csg-footer a:hover { color: #fff; }
.csg-footer-widgets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 56px 0 40px; }
.csg-footer .widget { background: none; border: 0; padding: 0; margin: 0; }
.csg-footer .widget-title { color: #fff; font-size: 16px; border: 0; padding: 0 0 12px; margin-bottom: 6px; position: relative; }
.csg-footer .widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--c-accent); }
.csg-footer .widget li { border: 0; padding: 5px 0; font-size: 14px; }
.csg-footer-brand strong { color: #fff; font-size: 16px; display: block; margin-bottom: 10px; }
.csg-footer-social { display: flex; gap: 10px; margin-top: 14px; }
.csg-footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.csg-footer-social a:hover { background: var(--c-accent); }
.csg-footer-social svg { width: 18px; height: 18px; fill: #fff; }
.csg-copyright { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; text-align: center; }

/* =========================================================
   14. Thanh gọi máy khiêm (mobile) + back-to-top
   ========================================================= */
.csg-callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998; grid-template-columns: 1fr 1fr; box-shadow: 0 -4px 18px rgba(0,0,0,.18); }
.csg-callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; color: #fff; font-weight: 800; font-size: 15px; }
.csg-callbar .csg-call { background: var(--c-accent); }
.csg-callbar .csg-zalo { background: #0180C7; }
.csg-backtop {
	position: fixed; right: 18px; bottom: 84px; z-index: 998; width: 46px; height: 46px;
	border-radius: 50%; background: var(--c-primary); color: #fff; display: flex; align-items: center;
	justify-content: center; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow-lg);
}
.csg-backtop.show { opacity: 1; pointer-events: auto; }
.csg-backtop:hover { background: var(--c-accent); color: #fff; }

/* =========================================================
   15. WooCommerce pages
   ========================================================= */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0 !important; }
.woocommerce ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important; text-align: left !important;
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden;
	transition: .25s; display: flex; flex-direction: column; position: relative;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.woocommerce ul.products li.product img { width: 100% !important; aspect-ratio: 1; object-fit: contain; padding: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; padding: 0 16px !important; font-weight: 600; }
.woocommerce ul.products li.product .price { padding: 0 16px !important; color: var(--c-accent) !important; font-weight: 800 !important; font-size: 16px !important; }
.woocommerce ul.products li.product .button { background: var(--c-primary) !important; border-radius: 999px !important; margin: 6px 16px 16px !important; font-weight: 700 !important; }
.woocommerce ul.products li.product .button:hover { background: var(--c-accent) !important; }
.woocommerce span.onsale { background: var(--c-accent) !important; border-radius: 999px !important; min-height: auto; min-width: auto; padding: 5px 14px; font-weight: 800; }
.woocommerce div.product .product_title { font-size: 26px; }
.woocommerce div.product p.price { color: var(--c-accent) !important; font-weight: 800; font-size: 24px; }
.woocommerce div.product form.cart .button, .woocommerce a.button, .woocommerce button.button {
	background: var(--c-primary) !important; color: #fff !important; border-radius: 999px !important; font-weight: 700 !important; padding: 11px 26px !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--c-accent) !important; color: #fff !important; }
.woocommerce .woocommerce-message { border-top-color: var(--c-primary) !important; border-radius: var(--radius); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 20px; }
.woocommerce-pagination ul { display: flex; gap: 6px; justify-content: center; margin-top: 34px; }
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span {
	min-width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--c-line); border-radius: 10px; font-weight: 700; background: #fff;
}
.woocommerce-pagination ul li span.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.csg-shop-wrap .woocommerce-products-header__title { font-size: 28px; margin-bottom: 6px; }

/* =========================================================
   16. 404 + tìm kiếm + form
   ========================================================= */
.csg-404 { text-align: center; padding: 90px 16px; }
.csg-404 b { font-size: 90px; color: var(--c-primary); display: block; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select {
	width: 100%; padding: 11px 14px; border: 1.5px solid var(--c-line); border-radius: 10px;
	font-family: inherit; font-size: 14.5px; background: #fff; transition: .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-light); }
.csg-search-form { display: flex; gap: 8px; }

/* Pagination thường */
nav.pagination { margin-top: 36px; text-align: center; }
nav.pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--c-line); border-radius: 10px; margin: 0 3px; font-weight: 700; background: #fff; }
nav.pagination .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* =========================================================
   17. Responsive
   ========================================================= */
@media (max-width: 1024px) {
	.csg-cats, .csg-products { grid-template-columns: repeat(3, 1fr); }
	.csg-projects { grid-template-columns: repeat(2, 1fr); }
	.csg-services { grid-template-columns: repeat(2, 1fr); }
	.csg-about, .csg-contact-grid { grid-template-columns: 1fr; }
	.csg-blog-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.csg-nav {
		display: none; position: fixed; inset: 0; top: 0; background: #fff; z-index: 1000;
		padding: 80px 24px 24px; overflow-y: auto;
	}
	.csg-nav.open { display: block; }
	.csg-nav ul { display: block; }
	.csg-nav ul ul { position: static; display: block; box-shadow: none; padding: 0 0 0 18px; }
	.csg-nav a { padding: 13px 10px; font-size: 17px; border-bottom: 1px solid var(--c-line); }
	.csg-burger { display: block; z-index: 1001; position: relative; }
	.csg-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.csg-burger.open span:nth-child(2) { opacity: 0; }
	.csg-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
	.csg-header-call { display: none; }
	.csg-topbar { display: none; }
}
@media (max-width: 760px) {
	.csg-section { padding: 46px 0; }
	.csg-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.csg-products, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.csg-posts { grid-template-columns: 1fr; }
	.csg-blog-layout .csg-posts { grid-template-columns: 1fr; }
	.csg-steps { grid-template-columns: repeat(2, 1fr); }
	.csg-services { grid-template-columns: 1fr; }
	.csg-footer-widgets { grid-template-columns: repeat(2, 1fr); gap: 26px; padding: 44px 0 32px; }
	.csg-hero { min-height: 420px; }
	.csg-hero .container { padding: 64px 16px; }
	.csg-callbar { display: grid; }
	body { padding-bottom: 52px; }
	.csg-backtop { bottom: 66px; }
}
@media (max-width: 420px) {
	.csg-steps { grid-template-columns: 1fr; }
}

/* Preserve the existing long catalog menu on desktop. */
@media (min-width:861px){
 .csg-header .container{flex-wrap:wrap;gap:12px;padding-top:12px;}
 .csg-logo{flex:0 0 260px;}
 .csg-header-call{order:2;margin-left:auto;flex-shrink:0;}
 .csg-nav{order:3;flex:0 0 100%;border-top:1px solid var(--c-line);}
 .csg-nav>ul{flex-wrap:wrap;gap:0;justify-content:center;}
 .csg-nav a{white-space:nowrap;padding:9px 12px;font-size:14px;}
}
/* 1.2.0 — information pages and content protection */
.csg-page-content{padding-top:48px;padding-bottom:64px}.csg-page-intro{max-width:820px;margin-bottom:32px}.csg-page-intro h2,.csg-company-layout h2{font-size:clamp(26px,3vw,40px);line-height:1.2;margin:12px 0 20px}.csg-kicker{font-size:12px;font-weight:800;color:var(--c-primary);letter-spacing:1.8px}.csg-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}.csg-info-card,.csg-panel{background:#f5f8fc;border:1px solid #e1e8f1;border-radius:18px;padding:28px}.csg-info-card h3{margin:18px 0 12px}.csg-info-card a{font-weight:700}.csg-panel{margin:28px 0}.csg-panel h2{margin-bottom:22px}.csg-company-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:start}.csg-company-layout>section>p{margin-bottom:20px}.csg-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.csg-detail{display:flex;flex-direction:column;gap:8px;padding:18px 0;border-bottom:1px solid #dae3ef}.csg-detail:first-child{padding-top:0}.csg-detail span{font-size:12px;text-transform:uppercase;color:#53647a;letter-spacing:1px}.csg-detail strong{font-size:16px}.csg-process{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-left:20px}.csg-category-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.csg-category-links a{padding:24px;border:1px solid #dae3ef;border-radius:12px;display:flex;flex-direction:column;gap:12px}.csg-category-links a:hover{background:#eff5ff}.csg-category-links span{font-size:13px;color:#53647a}.csg-faq{margin-top:52px}.csg-faq h2{margin:12px 0 24px}.csg-faq details{padding:20px 0;border-bottom:1px solid #dce4ef}.csg-faq summary{font-weight:700;cursor:pointer}.csg-faq details p{margin:14px 0 0;max-width:850px}.csg-protected .entry,.csg-protected .csg-page-content,.csg-protected .csg-product-card,.csg-protected .woocommerce-product-details__short-description,.csg-protected .woocommerce-Tabs-panel{-webkit-user-select:none;user-select:none}.csg-protected input,.csg-protected textarea,.csg-protected [contenteditable],.csg-protected .csg-detail,.csg-protected .csg-contact-mail{-webkit-user-select:text;user-select:text}
@media(max-width:760px){.csg-company-layout{grid-template-columns:1fr;gap:16px}.csg-process{grid-template-columns:1fr 1fr}.csg-page-content{padding-top:30px}.csg-panel,.csg-info-card{padding:22px}.csg-info-grid{grid-template-columns:1fr}}
.csg-new-hero{background:linear-gradient(120deg,#eef4ff,#fff 65%);padding:72px 0;border-bottom:1px solid #dce5f2}.csg-hero-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:64px;align-items:center}.csg-new-hero h1{font-size:clamp(34px,4vw,56px);line-height:1.12;color:#102b55;letter-spacing:-1.5px;margin:20px 0 24px}.csg-new-hero p{font-size:17px;line-height:1.8;color:#46566c;max-width:630px}.csg-hero-catalog{padding:32px;background:#fff;box-shadow:0 18px 60px #1e407014;border:1px solid #dae5f2;border-radius:22px}.csg-hero-catalog h2{font-size:25px;margin:12px 0 22px}.csg-hero-catalog>a{display:flex;flex-direction:column;gap:8px;padding:20px 0;border-top:1px solid #e3eaf3}.csg-hero-catalog>a span{font-size:14px;color:#607087}.csg-text-link{font-weight:700}.csg-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.csg-section-heading h2,.csg-section-title{font-size:clamp(25px,3vw,36px);margin:10px 0 24px;line-height:1.25}.csg-section-note{margin-bottom:30px;color:#53647a}.csg-bottom-cta{background:#edf4ff;padding:56px 0}.csg-bottom-cta h2{font-size:32px;margin:12px 0 18px}.csg-bottom-cta p{max-width:700px}.csg-legacy-section{margin:18px 0}.csg-legacy-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:760px){.csg-hero-grid{grid-template-columns:1fr;gap:30px}.csg-new-hero{padding:36px 0}.csg-hero-catalog{padding:24px}.csg-section-heading{align-items:start;flex-direction:column}.csg-new-hero h1{letter-spacing:-.7px}.csg-legacy-posts{grid-template-columns:1fr}}

.csg-protected main{-webkit-user-select:none;user-select:none}.csg-protected main input,.csg-protected main textarea,.csg-protected main .csg-detail,.csg-protected main .csg-contact-mail{-webkit-user-select:text;user-select:text}
