/*!
 * SaigonContainer — main stylesheet
 * 1. Tokens  2. Base  3. Layout  4. Buttons & forms  5. Header  6. Mega menu  7. Mobile nav
 * 8. Page hero  9. Home sections  10. Cards  11. Content  12. Sidebar  13. Footer  14. Utilities
 */

/* 1. Tokens ------------------------------------------------------------ */
:root {
	--sgc-primary: #0B4DA2;
	--sgc-accent: #D0171F;
	--sgc-dark: #0A3570;
	--sgc-primary-d: color-mix(in srgb, var(--sgc-primary) 82%, #000);
	--sgc-accent-l: color-mix(in srgb, var(--sgc-accent) 85%, #fff);
	--sgc-dark-d: color-mix(in srgb, var(--sgc-dark) 88%, #000);
	--sgc-sky: #9CC4FF;
	--sgc-ink: #13202E;
	--sgc-text: #3B4A5C;
	--sgc-muted: #5B6878;
	--sgc-line: #DDE3EA;
	--sgc-line-d: #C5CFDA;
	--sgc-light: #F4F6F8;
	--sgc-mist: #EEF1F5;
	--sgc-white: #FFFFFF;
	--sgc-font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--sgc-head: 'Montserrat', 'Be Vietnam Pro', sans-serif;
	--sgc-wrap: 1240px;
	--sgc-gutter: 24px;
	--sgc-section: 80px;
	--sgc-bar-h: 56px;
}

/* 2. Base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sgc-bar-h) + 16px); }
body { margin: 0; background: var(--sgc-white); color: var(--sgc-ink); font-family: var(--sgc-font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
a { color: var(--sgc-primary); text-decoration: none; }
a:hover { color: var(--sgc-accent); }
h1, h2, h3, h4, h5, h6 { font-family: var(--sgc-head); font-weight: 600; color: var(--sgc-primary); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
input, select, textarea, button { font: inherit; font-size: 15px; color: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--sgc-sky); outline-offset: 2px; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
.sgc-icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: var(--sgc-white); clip: auto !important; clip-path: none; color: var(--sgc-primary); display: block; font-weight: 700; height: auto; left: 8px; padding: 14px 20px; top: 8px; width: auto; z-index: 100000; }
.site-main:focus { outline: 0; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .wp-block-image figcaption { font-size: 14px; color: var(--sgc-muted); }
.wp-caption-text { margin-top: 6px; }
.sticky .post-card__title::after { content: " ★"; color: var(--sgc-accent); }
.bypostauthor > .comment-body .fn::after { content: " ✓"; color: var(--sgc-primary); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gallery-caption { font-size: 13px; }

/* 3. Layout ------------------------------------------------------------ */
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container { width: 100%; max-width: var(--sgc-wrap); margin-inline: auto; padding-inline: var(--sgc-gutter); }
.section { padding-block: var(--sgc-section); }
.section--tight-top { padding-top: calc(var(--sgc-section) / 2); }
.section--tight-bottom { padding-bottom: calc(var(--sgc-section) / 2); }
.section--alt { background: var(--sgc-light); }
.section--dark { background: var(--sgc-dark-d); color: var(--sgc-white); }
.section--primary { background: var(--sgc-dark); color: var(--sgc-white); }
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.layout-sidebar--left { grid-template-columns: 260px minmax(0, 1fr); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-row--2 > * { flex: 1 1 180px; }
.muted { color: var(--sgc-muted); }
.lead { font-size: 16px; line-height: 1.7; color: var(--sgc-text); max-width: 720px; text-wrap: pretty; }

/* Section heading */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head--stack { display: block; }
.section-head .lead { margin: 12px 0 0; }
.eyebrow { display: inline-block; color: var(--sgc-accent); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow--sm { font-size: 12px; letter-spacing: 1.5px; }
a.eyebrow:hover { color: var(--sgc-primary); }
.section-title { margin: 8px 0 0; font-family: var(--sgc-head); font-weight: 600; font-size: clamp(28px, 3.2vw, 37px); color: var(--sgc-primary); line-height: 1.1; text-wrap: balance; }
.section-title--sm { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 20px; }
.section > .container > .section-title { margin-bottom: 28px; }
.section-head--light .eyebrow, .section--dark .eyebrow, .section--primary .eyebrow { color: var(--sgc-sky); }
.section-head--light .section-title, .section--dark .section-title, .section--primary .section-title { color: var(--sgc-white); }
.link-more { font-weight: 700; color: var(--sgc-primary); border-bottom: 2px solid currentColor; padding-bottom: 4px; white-space: nowrap; }

/* Image placeholder */
.sgc-ph { width: 100%; height: 100%; min-height: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--sgc-light); border: 1px dashed #A9B4C2; color: #6B7888; font-size: 13px; text-align: center; padding: 12px; }
.sgc-ph .sgc-icon { width: 26px; height: 26px; stroke-width: 1.5; }
.sgc-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 4. Buttons & forms --------------------------------------------------- */
.btn, .button, button.button, a.button, input[type="submit"], .wp-element-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border: 2px solid transparent; border-radius: 0; background: var(--sgc-primary); color: var(--sgc-white); font-weight: 700; font-size: 14px; line-height: 1.2; text-align: center; text-transform: uppercase; letter-spacing: .4px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover, .button:hover, input[type="submit"]:hover { background: var(--sgc-primary-d); color: var(--sgc-white); }
.btn--primary { background: var(--sgc-primary); }
.btn--accent, a.btn--accent, button.btn--accent { background: var(--sgc-accent); }
.btn--accent:hover, a.btn--accent:hover, button.btn--accent:hover { background: var(--sgc-accent-l); }
.btn--outline, a.btn--outline, button.btn--outline { background: transparent; color: var(--sgc-primary); border-color: var(--sgc-primary); }
.btn--outline:hover, a.btn--outline:hover, button.btn--outline:hover { background: var(--sgc-primary); color: var(--sgc-white); }
.btn--ghost { background: transparent; border-color: var(--sgc-white); color: var(--sgc-white); }
.btn--ghost:hover { background: var(--sgc-white); color: var(--sgc-primary); }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 13px; }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 15px; }
.btn--block { width: 100%; }

.field, input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="date"], select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #8A99AB; border-radius: 0; background: var(--sgc-white); color: var(--sgc-ink); }
textarea { min-height: 110px; resize: vertical; }
.field:focus, input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sgc-primary); box-shadow: 0 0 0 2px var(--sgc-sky); }
::placeholder { color: #6B7888; opacity: 1; }
label { font-weight: 600; font-size: 14px; }
.search-form { display: flex; gap: 0; max-width: 560px; }
.search-form .field { flex: 1; }
.search-form .btn { min-height: 48px; }

/* Form card (contact, rent) */
.form-card { background: var(--sgc-light); border-top: 6px solid var(--sgc-accent); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.form-card__title, .form-card .wp-block-heading { margin: 0; font-family: var(--sgc-head); font-size: 26px; color: var(--sgc-primary); line-height: 1.1; }
.quote-fallback { display: flex; flex-direction: column; gap: 10px; }

/* Quote form (SaigonContainer Core plugin) */
.sgc-qf { display: flex; flex-direction: column; gap: 12px; }
.sgc-qf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sgc-qf__note { margin: 0; font-size: 12px; color: var(--sgc-muted); }
.sgc-qf__error { margin: 0; padding: 10px 12px; background: #FDF0F0; color: var(--sgc-accent); font-size: 14px; }
.sgc-qf__submit { min-height: 52px; }
.sgc-qf__thanks { background: var(--sgc-light); padding: 16px; line-height: 1.6; font-weight: 600; color: var(--sgc-primary); }
.sgc-qf--band { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.sgc-qf--band .sgc-qf__field { flex: 1 1 180px; width: auto; border-color: transparent; }
.sgc-qf--band .sgc-qf__submit { min-height: 48px; padding-inline: 26px; }
.sgc-qf--band .sgc-qf__error { flex-basis: 100%; }
.qband .sgc-qf__thanks { background: rgba(255, 255, 255, .12); color: var(--sgc-white); }
.form-card .sgc-qf__thanks { background: var(--sgc-white); }
.sgc-deposit { background: var(--sgc-light); border-left: 4px solid var(--sgc-accent); padding: 18px 22px; margin: 24px 0; }
.sgc-deposit h2 { font-size: 20px; margin: 0 0 8px; }
.sgc-deposit ul { margin: 0 0 8px; padding-left: 18px; }

/* 5. Header ------------------------------------------------------------ */
.topbar { background: var(--sgc-mist); }
.topbar__in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; padding: 10px 0; flex-shrink: 0; color: var(--sgc-primary); }
.brand:hover { color: var(--sgc-primary); }
.brand__mark { width: 40px; height: 40px; background: var(--sgc-primary); background-image: repeating-linear-gradient(90deg, transparent 0 6px, rgba(255, 255, 255, .45) 6px 8px); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { margin: 0; font-family: var(--sgc-head); font-size: 19px; text-transform: uppercase; color: var(--sgc-primary); }
.brand__strong { font-weight: 700; }
.brand__light { font-weight: 500; }
.brand__tag { font-size: 10px; letter-spacing: 2px; color: var(--sgc-muted); margin-top: 5px; text-transform: uppercase; }
.custom-logo-link { display: flex; align-items: center; padding: 10px 0; flex-shrink: 0; max-width: 100%; }
.custom-logo { height: var(--sgc-logo-h, 44px); width: auto; max-width: 100%; object-fit: contain; }
.custom-logo--mobile { display: none; }
.custom-logo-link--footer { padding: 0 0 10px; }
.custom-logo-link--footer .custom-logo { height: 40px; }
@media (max-width: 640px) {
	.custom-logo-link { padding: 6px 0; }
	.custom-logo { height: min(var(--sgc-logo-h, 44px), 36px); }
	.has-mobile-logo .custom-logo:not(.custom-logo--mobile) { display: none; }
	.has-mobile-logo .custom-logo--mobile { display: block; }
}
.hsearch { flex: 1 1 220px; max-width: 380px; margin-left: auto; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #9AA7B6; padding: 4px 2px; }
.hsearch:focus-within { border-bottom-color: var(--sgc-primary); }
.hsearch__btn { background: none; border: 0; padding: 4px; color: var(--sgc-text); display: flex; font-size: 18px; }
.hsearch input { flex: 1; min-width: 0; min-height: 36px; border: 0; background: transparent; padding: 4px 0; font-size: 14px; box-shadow: none; }
.hsearch input:focus { box-shadow: none; }
.hotline { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--sgc-line-d); padding-left: 20px; }
.hotline__label { font-size: 10px; font-weight: 600; color: var(--sgc-text); letter-spacing: .3px; text-transform: uppercase; }
.hotline__nums { display: flex; gap: 16px; flex-wrap: wrap; }
.hotline__nums a { color: var(--sgc-accent); font-weight: 600; font-size: 16px; }

/* 6. Mega menu --------------------------------------------------------- */
.mm-bar { background: var(--sgc-primary); position: sticky; top: 0; z-index: 40; }
.admin-bar .mm-bar { top: 32px; }
.mm-inner { max-width: var(--sgc-wrap); margin: 0 auto; padding: 0 var(--sgc-gutter); display: flex; align-items: center; gap: 20px; min-height: var(--sgc-bar-h); }
.mm-nav { flex: 1 1 auto; min-width: 0; }
.mm-list, .mm-drop { list-style: none; margin: 0; padding: 0; }
.mm-list { display: flex; flex-wrap: wrap; }
.mm-item { position: static; display: flex; }
.mm-item.has-drop { position: relative; }
.mm-btn, .mm-link { display: flex; align-items: center; gap: 8px; height: var(--sgc-bar-h); padding: 0 18px; font-size: 15px; font-weight: 500; color: var(--sgc-white); background: transparent; border: 0; box-shadow: inset 0 -3px 0 transparent; white-space: nowrap; }
.mm-btn.is-active, .mm-link.is-active { box-shadow: inset 0 -3px 0 var(--sgc-white); }
.mm-btn:hover, .mm-link:hover, .mm-item:hover > .mm-btn, .mm-item:focus-within > .mm-btn { background: var(--sgc-primary-d); color: var(--sgc-white); box-shadow: inset 0 -3px 0 var(--sgc-accent); }
.mm-caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.mm-item:hover .mm-caret, .mm-item:focus-within .mm-caret { transform: rotate(-135deg) translateY(-2px); }
.mm-toggle { display: none; }
.mm-cta { background: var(--sgc-accent); color: var(--sgc-white); font-weight: 600; font-size: 13px; padding: 10px 18px; white-space: nowrap; flex-shrink: 0; }
.mm-cta:hover { background: var(--sgc-accent-l); color: var(--sgc-white); }
.mm-panel, .mm-drop { position: absolute; top: 100%; background: var(--sgc-white); border-top: 3px solid var(--sgc-accent); box-shadow: 0 18px 36px rgba(11, 37, 64, .22); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease .12s, transform .15s ease .12s, visibility 0s linear .27s; z-index: 5; }
.mm-panel { left: 0; right: 0; max-height: calc(100vh - 140px); overflow-y: auto; }
.mm-drop { left: 0; min-width: 240px; padding: 10px 16px; }
.mm-item:hover > .mm-panel, .mm-item:focus-within > .mm-panel, .mm-item:hover > .mm-drop, .mm-item:focus-within > .mm-drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mm-grid { max-width: var(--sgc-wrap); margin: 0 auto; padding: 32px var(--sgc-gutter) 36px; display: grid; gap: 36px; align-items: start; }
.mm-grid-1 { grid-template-columns: minmax(0, 1fr) 300px; }
.mm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) 300px; }
.mm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) 300px; }
.mm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) 300px; }
.mm-grid--nopromo { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.mm-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mm-h { display: block; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--sgc-primary); font-family: var(--sgc-head); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sgc-primary); }
.mm-row { display: block; width: calc(100% + 16px); padding: 10px 8px; margin: 0 -8px; color: var(--sgc-ink); font-size: 15px; font-weight: 500; }
.mm-row:hover, .mm-row[aria-current] { background: var(--sgc-light); color: var(--sgc-primary); }
.mm-plain { display: flex; gap: 10px; padding: 9px 0; font-size: 15px; color: var(--sgc-ink); }
.mm-plain b { color: var(--sgc-accent); }
.mm-promo { background: var(--sgc-primary); color: var(--sgc-white); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.mm-promo .k { color: var(--sgc-sky); font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.mm-promo .t { font-family: var(--sgc-head); font-weight: 600; font-size: 24px; line-height: 1.1; }
.mm-promo .d { font-size: 14px; line-height: 1.6; color: #DCE4EC; }
.mm-promo .tel { color: var(--sgc-white); font-weight: 700; font-size: 18px; }
.mm-promo .tel:hover { color: var(--sgc-sky); }
.mm-promo .go { align-self: flex-start; background: var(--sgc-accent); color: var(--sgc-white); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; padding: 12px 18px; }
.mm-promo .go:hover { background: var(--sgc-accent-l); color: var(--sgc-white); }
.mm-cart { position: relative; flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--sgc-white); }
.mm-cart:hover { background: rgba(255, 255, 255, .14); color: var(--sgc-white); }
.mm-cart .sgc-icon { width: 24px; height: 24px; }
.mm-badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sgc-accent); color: var(--sgc-white); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mob-cta, .mm-burger { display: none; }

@media (max-width: 1100px) {
	.mm-btn, .mm-link { padding: 0 12px; font-size: 14px; }
	.mm-grid-3, .mm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mm-grid-3 .mm-promo, .mm-grid-4 .mm-promo { grid-column: 1 / -1; }
}

/* 7. Mobile nav -------------------------------------------------------- */
@media (max-width: 900px) {
	.mm-inner { gap: 12px; }
	.mm-burger { display: flex; align-items: center; gap: 10px; height: var(--sgc-bar-h); background: transparent; border: 0; color: var(--sgc-white); font-weight: 600; font-size: 15px; padding: 0; }
	.mm-bars { width: 20px; height: 14px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; display: block; }
	.mm-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; }
	.mm-burger[aria-expanded="true"] .mm-bars { border-color: transparent; }
	.mm-burger[aria-expanded="true"] .mm-bars::after { top: 4px; transform: rotate(45deg); box-shadow: none; }
	.mm-burger[aria-expanded="true"] .mm-bars::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid var(--sgc-white); transform: rotate(-45deg); }
	.mm-cta { margin-left: auto; }
	.mm-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--sgc-primary-d); border-top: 1px solid rgba(255, 255, 255, .2); max-height: calc(100vh - 130px); overflow-y: auto; }
	.mm-nav.is-open { display: block; }
	.mm-list { flex-direction: column; flex-wrap: nowrap; }
	.mm-item { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .14); }
	.mm-btn, .mm-link { flex: 1; height: auto; min-height: 52px; padding: 0 var(--sgc-gutter); font-size: 16px; box-shadow: none !important; }
	.mm-btn.is-active, .mm-link.is-active { background: rgba(255, 255, 255, .08); }
	.mm-caret { display: none; }
	.mm-toggle { display: flex; align-items: center; justify-content: center; width: 60px; min-height: 52px; background: transparent; border: 0; border-left: 1px solid rgba(255, 255, 255, .14); color: var(--sgc-white); }
	.mm-toggle::before { content: "+"; font-size: 22px; line-height: 1; }
	.mm-toggle[aria-expanded="true"]::before { content: "−"; }
	.mm-panel, .mm-drop { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; transition: none; box-shadow: none; border-top: 0; max-height: none; background: var(--sgc-dark); }
	.mm-item.is-open > .mm-panel, .mm-item.is-open > .mm-drop { display: block; }
	.mm-grid, .mm-grid-1, .mm-grid-2, .mm-grid-3, .mm-grid-4 { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px var(--sgc-gutter) 20px; }
	.mm-h { color: var(--sgc-sky); border-color: rgba(255, 255, 255, .2); }
	.mm-row, .mm-plain { color: #DCE4EC; }
	.mm-row:hover { background: rgba(255, 255, 255, .08); color: var(--sgc-white); }
	.mm-promo { display: none; }
	.mob-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px var(--sgc-gutter); }
	.mob-cta__tel { color: var(--sgc-white); font-weight: 700; font-size: 18px; }
}
@media (max-width: 782px) { .admin-bar .mm-bar { top: 0; } }
@media (max-width: 640px) {
	:root { --sgc-gutter: 16px; --sgc-section: 56px; }
	.topbar__in { gap: 6px 16px; min-height: 0; padding-block: 6px 10px; }
	.brand { padding: 4px 0; }
	.hotline { border-left: 0; padding-left: 0; margin-left: auto; }
	.hotline__label { display: none; }
	.hotline__nums { flex-direction: column; gap: 0; text-align: right; }
	.hotline__nums a { font-size: 14px; }
	.brand__tag { letter-spacing: 1px; }
	.topbar__in.is-hotline-wrapped .hotline { display: none; }
	.hsearch { max-width: none; order: 3; flex-basis: 100%; }
	.mm-cta { padding: 9px 14px; }
}

/* 8. Page hero --------------------------------------------------------- */
.page-hero { background: var(--sgc-primary); color: var(--sgc-white); padding: 48px 0; }
.page-hero__title { margin: 12px 0 0; color: var(--sgc-white); font-size: clamp(30px, 4vw, 44px); line-height: 1; text-wrap: balance; }
.page-hero__sub { margin: 12px 0 0; color: #DCE4EC; max-width: 720px; }
.crumbs { font-size: 13px; color: #C9D4E0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #C9D4E0; }
.crumbs a { color: #E3EAF2; }
.crumbs a:hover { color: var(--sgc-white); text-decoration: underline; }
.crumbs [aria-current], .crumbs .last, .crumbs .breadcrumb_last { color: var(--sgc-sky); }
.crumbs p { margin: 0; font-size: inherit; color: inherit; }
.crumbs .separator { margin: 0 6px; color: #C9D4E0; }
.crumbs.rank-math-breadcrumb a, .crumbs .breadcrumb_last { text-decoration: none; }

/* 9. Home sections ----------------------------------------------------- */
/* Hero slider */
.sl { position: relative; background: var(--sgc-primary); color: var(--sgc-white); overflow: hidden; }
.sl-stage { display: grid; min-height: 620px; }
.sl-slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.sl-slide.on { opacity: 1; visibility: visible; transition: opacity .5s ease, visibility 0s; }
.sl-slide:nth-child(1) { background: var(--sgc-primary); }
.sl-slide:nth-child(2) { background: var(--sgc-primary-d); }
.sl-slide:nth-child(3) { background: var(--sgc-dark); }
.sl-body { max-width: var(--sgc-wrap); margin: 0 auto; padding: 56px var(--sgc-gutter) 150px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.sl--single .sl-body { padding-bottom: 64px; }
.sl--single .sl-stage { min-height: 0; }
.sl-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.sl-eyebrow { color: var(--sgc-sky); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.sl-h { margin: 0; font-family: var(--sgc-head); font-weight: 600; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.02; color: var(--sgc-white); text-wrap: balance; }
.sl-p { margin: 0; font-size: 17px; line-height: 1.6; color: #DCE4EC; max-width: 520px; text-wrap: pretty; }
.sl-tel { display: flex; gap: 12px; flex-wrap: wrap; }
.sl-tel a { border: 2px solid var(--sgc-white); color: var(--sgc-white); font-weight: 700; padding: 12px 22px; font-size: 16px; }
.sl-tel a:hover { background: var(--sgc-white); color: var(--sgc-primary); }
.sl-facts { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.sl-fact { display: flex; flex-direction: column; gap: 4px; }
.sl-fact b { font-family: var(--sgc-head); font-weight: 600; font-size: 36px; color: var(--sgc-sky); line-height: 1; }
.sl-fact span { color: #DCE4EC; font-size: 14px; }
.sl-form { background: var(--sgc-white); color: var(--sgc-ink); padding: 32px; display: flex; flex-direction: column; gap: 14px; max-width: 440px; justify-self: end; width: 100%; border-top: 6px solid var(--sgc-accent); }
.sl-form h2 { margin: 0; font-size: 26px; color: var(--sgc-primary); line-height: 1.1; }
.sl-full { min-height: 620px; }
.sl-fill { position: absolute; inset: 0; }
.sl-fill .sgc-ph { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: #C9DDFA; }
.sl-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(0deg, rgba(7, 26, 46, .78), rgba(7, 26, 46, 0)); pointer-events: none; }
.sl-ctrl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none; }
.sl-ctrl-in { max-width: var(--sgc-wrap); margin: 0 auto; padding: 0 var(--sgc-gutter) 28px; display: flex; align-items: flex-end; gap: 32px; }
.sl-tabs { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: repeat(var(--sl-count, 3), minmax(0, 1fr)); gap: 16px; }
.sl-tab, .sl-arrow { pointer-events: auto; }
.sl-tab { position: relative; background: transparent; border: 0; border-top: 3px solid rgba(255, 255, 255, .35); padding: 14px 0 0; text-align: left; color: #E3EAF2; display: flex; flex-direction: column; gap: 2px; }
.sl-tab:hover, .sl-tab.on { color: var(--sgc-white); }
.sl-tab small { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #C9DDFA; }
.sl-tab span { font-weight: 600; font-size: 15px; }
.sl-tab i { position: absolute; left: 0; top: -3px; height: 3px; width: 0; background: var(--sgc-white); }
.sl.is-auto .sl-tab.on i { animation: slfill 6s linear forwards; }
.sl:hover .sl-tab.on i, .sl:focus-within .sl-tab.on i { animation-play-state: paused; }
.sl:not(.is-auto) .sl-tab.on i { width: 100%; }
@keyframes slfill { to { width: 100%; } }
.sl-arrows { display: flex; flex-shrink: 0; background: rgba(7, 26, 46, .5); border: 1px solid rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sl-arrow { width: 56px; height: 52px; background: transparent; border: 0; color: var(--sgc-white); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.sl-arrow + .sl-arrow { border-left: 1px solid rgba(255, 255, 255, .5); }
.sl-arrow .sgc-icon { width: 22px; height: 22px; stroke-width: 2.5; stroke-linecap: square; stroke-linejoin: miter; }
.sl-arrow:hover { background: var(--sgc-accent); }
@media (max-width: 720px) {
	.sl-stage, .sl-full { min-height: 760px; }
	.sl--single .sl-stage { min-height: 0; }
	.sl-body { padding: 36px var(--sgc-gutter) 190px; gap: 28px; }
	.sl-form { padding: 24px; justify-self: stretch; max-width: none; }
	.sl-facts { gap: 24px; }
	.sl-ctrl-in { padding: 0 var(--sgc-gutter) 20px; flex-direction: column; align-items: stretch; gap: 16px; }
	.sl-tabs { gap: 10px; }
	.sl-tab span { font-size: 13px; }
	.sl-arrows { align-self: flex-end; }
}

/* Stats */
.stats { border-bottom: 1px solid var(--sgc-line); }
.stats__grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.st-cell { padding: 32px 24px; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--sgc-line); }
.st-cell:first-child { border-left: 0; padding-left: 0; }
.st-n { font-family: var(--sgc-head); font-weight: 600; font-size: clamp(36px, 4.2vw, 52px); line-height: 1; color: var(--sgc-primary); }
.st-l { font-size: 15px; line-height: 1.5; color: var(--sgc-text); max-width: 240px; }
@media (max-width: 900px) { .st-cell { padding: 24px 14px; } .st-l { font-size: 14px; } }
@media (max-width: 640px) { .st-cell { padding: 18px 8px; gap: 6px; } .st-n { font-size: clamp(17px, 5.3vw, 28px); white-space: nowrap; } .st-l { font-size: 11.5px; line-height: 1.35; hyphens: auto; overflow-wrap: anywhere; } }
@media (max-width: 380px) { .st-cell { padding: 16px 6px; } .st-l { font-size: 10.5px; } }

/* Category card */
.cat-card { border: 1px solid var(--sgc-line); background: var(--sgc-white); display: flex; flex-direction: column; color: inherit; transition: border-color .15s; }
.cat-card:hover { border-color: var(--sgc-sky); color: inherit; }
.cat-card__media { display: block; height: 180px; overflow: hidden; }
.cat-card__body { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cat-card__body > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.cat-card__title { font-weight: 700; font-size: 16px; color: var(--sgc-primary); }
.cat-card__from { font-size: 13px; color: var(--sgc-muted); }
.cat-card__from b { color: var(--sgc-accent); }
.cat-card__go { width: 32px; height: 32px; flex-shrink: 0; background: var(--sgc-light); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--sgc-primary); transition: background .15s, color .15s; }
.cat-card:hover .cat-card__go { background: var(--sgc-primary); color: var(--sgc-white); }

/* Videos */
.vd { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.vd-player { position: relative; flex: 2 1 560px; aspect-ratio: 16 / 9; background: #0A2A55; overflow: hidden; min-width: 0; }
.vd-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .3s ease; }
.vd-slide.on { opacity: 1; visibility: visible; }
.vd-slide .sgc-ph { background: #10305C; border-color: rgba(255, 255, 255, .2); color: #9DB3CE; }
.vd-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(0deg, rgba(7, 26, 46, .85), rgba(7, 26, 46, 0)); pointer-events: none; }
.vd-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--sgc-accent); color: var(--sgc-white); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(255, 255, 255, .22); transition: transform .15s, background .15s; z-index: 2; }
.vd-play:hover { background: var(--sgc-accent-l); color: var(--sgc-white); transform: scale(1.06); }
.vd-play .sgc-icon { width: 30px; height: 30px; margin-left: 4px; }
.vd-cap { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.vd-cap span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--sgc-sky); font-weight: 700; }
.vd-cap b { font-family: var(--sgc-head); font-weight: 600; font-size: clamp(18px, 2.4vw, 26px); line-height: 1.15; }
.vd-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.vd-list { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.vd-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; text-align: left; width: 100%; padding: 16px; color: var(--sgc-white); background: transparent; border: 1px solid rgba(156, 196, 255, .35); }
.vd-item:hover { border-color: var(--sgc-sky); }
.vd-item.on { background: var(--sgc-primary); border-color: var(--sgc-sky); }
.vd-ico { width: 44px; height: 44px; background: var(--sgc-accent); display: flex; align-items: center; justify-content: center; }
.vd-ico .sgc-icon { width: 16px; height: 16px; }
.vd-item b { display: block; font-size: 16px; line-height: 1.3; }
.vd-item small { display: block; margin-top: 2px; font-size: 13px; color: #C9D4E0; }

/* Feature split */
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.feature__media { height: 420px; overflow: hidden; }
.feature__body { display: flex; flex-direction: column; gap: 20px; }
.feature__body .section-title { margin: 0; }
.feature__body .lead { margin: 0; }
.feature__foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.price-from { font-size: 15px; color: var(--sgc-muted); }
.price-from b { font-family: var(--sgc-head); font-size: 27px; color: var(--sgc-accent); }
.ticks, .is-style-sgc-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 24px; }
.ticks--2 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ticks li, .is-style-sgc-ticks li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; }
.ticks li::before, .is-style-sgc-ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sgc-accent); font-weight: 700; }

/* Band */
.band { background: var(--sgc-mist); }
.band__in { padding-block: 40px; display: flex; gap: 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.band__title { margin: 0 0 6px; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.1; color: var(--sgc-primary); }
.band__text { margin: 0; color: var(--sgc-primary); }

/* Process */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 32px; border-top: 3px solid var(--sgc-primary); }
.step { padding-top: 24px; }
.step__n { display: block; font-family: var(--sgc-head); font-weight: 600; font-size: 48px; line-height: 1; color: var(--sgc-sky); margin-bottom: 12px; }
.step__t { margin: 0 0 10px; font-family: var(--sgc-font); font-size: 18px; font-weight: 700; color: var(--sgc-primary); }
.step__d { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sgc-muted); }

/* Testimonials */
.testi { margin: 0; background: var(--sgc-white); color: var(--sgc-ink); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.testi__stars { color: #E07B00; font-size: 20px; letter-spacing: 4px; }
.testi__quote { margin: 0; font-size: 16px; line-height: 1.75; color: var(--sgc-ink); }
.testi__quote p { margin: 0 0 .6em; }
.testi__who { margin-top: auto; display: flex; gap: 14px; align-items: center; }
.testi__avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--sgc-mist); color: var(--sgc-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.testi__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi__who b { display: block; color: var(--sgc-primary); }
.testi__who small { display: block; color: var(--sgc-muted); font-size: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: stretch; }
.contact-grid--page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 32px; }
.contact-intro { margin-bottom: 32px; }
.info-card { border: 1px solid var(--sgc-line); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.info-list { margin: 0; display: flex; flex-direction: column; }
.info-list > div { padding: 16px 0; border-bottom: 1px solid var(--sgc-line); }
.info-list > div:first-child { padding-top: 0; }
.info-list dt { font-weight: 700; color: var(--sgc-primary); margin-bottom: 4px; }
.info-list dd { margin: 0; }
.info-list__tels a { font-weight: 700; font-size: 17px; }
.map-box { position: relative; min-height: 380px; border: 1px solid var(--sgc-line); background: var(--sgc-mist); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box .sgc-ph, .map-box .sgc-img { position: absolute; inset: 0; }
.map-box__link { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--sgc-white); padding: 10px 18px; font-weight: 700; font-size: 14px; box-shadow: 0 4px 14px rgba(7, 26, 46, .18); }
@media (max-width: 860px) { .contact-grid, .contact-grid--page { grid-template-columns: minmax(0, 1fr); } }

/* 10. Cards ------------------------------------------------------------ */
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card__media { display: block; aspect-ratio: 19 / 10; overflow: hidden; background: var(--sgc-mist); }
.post-card__media .sgc-img { transition: transform .4s ease; }
.post-card:hover .post-card__media .sgc-img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; gap: 8px; }
.post-card__title { margin: 0; font-size: 21px; line-height: 1.25; text-wrap: balance; }
.post-card__title a { color: var(--sgc-primary); }
.post-card__title a:hover { color: var(--sgc-accent); }
.post-meta { font-size: 13px; color: var(--sgc-muted); }

/* Project card */
.pj-card { display: flex; flex-direction: column; border: 1px solid var(--sgc-line); background: var(--sgc-white); min-width: 0; }
.pj-media, .pj-big { position: relative; background: var(--sgc-mist); overflow: hidden; }
.pj-media { height: 250px; }
.pj-big { height: clamp(280px, 56vw, 640px); }
.pj-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .3s ease; }
.pj-slide.on { opacity: 1; visibility: visible; }
.pj-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 10px; z-index: 3; display: flex; align-items: center; padding: 2px 8px; background: rgba(7, 26, 46, .62); border-radius: 14px; }
.pj-big .pj-dots { bottom: 16px; }
.pj-dot { width: 20px; height: 20px; background: none; border: 0; padding: 0; display: flex; align-items: center; justify-content: center; transition: width .2s; }
.pj-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #FF8A1F; transition: all .2s; }
.pj-dot.on { width: 30px; }
.pj-dot.on::before { width: 22px; border-radius: 6px; background: #FF8A1F; }
.pj-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pj-title { margin: 0; font-family: var(--sgc-font); font-weight: 600; font-size: 18px; }
.pj-title a { color: var(--sgc-ink); }
.pj-title a:hover { color: var(--sgc-primary); }
.pj-desc { margin: 0; font-size: 14px; line-height: 1.65; color: var(--sgc-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pj-meta { margin: auto 0 0; display: flex; flex-direction: column; }
.pj-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-top: 1px solid #E6EBF1; font-size: 14px; line-height: 1.45; }
.pj-row dt { color: var(--sgc-muted); }
.pj-row dd { margin: 0; font-weight: 600; color: var(--sgc-ink); }
.pj-more { align-self: flex-start; border-bottom: 2px solid var(--sgc-primary); padding: 0 0 3px; font-weight: 700; font-size: 14px; color: var(--sgc-primary); }
.pj-more:hover { border-color: var(--sgc-accent); }
.pj-arr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 56px; height: 68px; background: rgba(7, 26, 46, .6); border: 0; color: var(--sgc-white); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.pj-arr:hover { background: var(--sgc-accent); }
.pj-arr .sgc-icon { width: 24px; height: 24px; stroke-width: 2.5; }
.pj-arr.l { left: 0; }
.pj-arr.r { right: 0; }
.pj-count { position: absolute; left: 16px; bottom: 16px; z-index: 3; background: rgba(7, 26, 46, .7); color: var(--sgc-white); font-size: 13px; font-weight: 600; padding: 6px 12px; font-variant-numeric: tabular-nums; }
.pj-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 32px; align-items: start; }
.pj-facts { display: flex; flex-direction: column; gap: 16px; }
.related { margin-top: 64px; }
@media (max-width: 860px) { .pj-detail { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .pj-arr { width: 40px; height: 52px; } }

/* Spec table (projects, products) */
.spec-table, .woocommerce-product-attributes { width: 100%; border: 1px solid var(--sgc-line); font-size: 14px; }
.spec-table caption { caption-side: top; text-align: left; background: var(--sgc-primary); color: var(--sgc-white); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; padding: 12px 14px; }
.spec-table th, .spec-table td, .woocommerce-product-attributes th, .woocommerce-product-attributes td { padding: 11px 14px; border-top: 1px solid var(--sgc-line); text-align: left; vertical-align: top; }
.spec-table th, .woocommerce-product-attributes th { width: 45%; font-weight: 400; color: var(--sgc-muted); background: var(--sgc-light); }
.spec-table td, .woocommerce-product-attributes td { font-weight: 600; }
.woocommerce-product-attributes td p { margin: 0; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { padding: 9px 16px; border: 1px solid var(--sgc-line-d); background: var(--sgc-white); color: var(--sgc-primary); font-weight: 600; font-size: 14px; }
.chip:hover { border-color: var(--sgc-primary); color: var(--sgc-primary); }
.chip.is-active { background: var(--sgc-primary); border-color: var(--sgc-primary); color: var(--sgc-white); }

/* 11. Content ---------------------------------------------------------- */
.entry-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.entry-lead { font-weight: 600; font-size: 17px; line-height: 1.65; color: var(--sgc-ink); }
.entry-thumb { margin: 0 0 28px; }
.entry-thumb img { width: 100%; }
.entry-content { font-size: 16px; line-height: 1.8; color: #2B3A4C; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 36px 0 14px; font-size: 24px; }
.entry-content .section-title { font-size: clamp(28px, 3.2vw, 37px); margin: 8px 0 12px; }
.entry-content .eyebrow { margin: 0; }
.entry-content h3 { margin: 28px 0 12px; font-size: 20px; }
.entry-content ul:not([class]), .entry-content ol:not([class]) { padding-left: 1.3em; }
.entry-content li { margin-bottom: 6px; }
.entry-content blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sgc-accent); color: var(--sgc-ink); font-size: 17px; }
.entry-content > table td, .entry-content > table th, .entry-content .wp-block-table:not(.is-style-sgc-price) td, .entry-content .wp-block-table:not(.is-style-sgc-price) th { border: 1px solid var(--sgc-line); padding: 10px 14px; }
.entry-content a:not(.btn):not(.wp-element-button) { text-decoration: underline; text-underline-offset: 3px; }
.entry-content--full > .alignwide { max-width: var(--sgc-wrap); margin-inline: auto; padding-inline: var(--sgc-gutter); }
.entry-content--full > .alignfull { max-width: none; }
.entry-content--full > :not(.alignwide):not(.alignfull) { max-width: 820px; margin-inline: auto; padding-inline: var(--sgc-gutter); }
.entry--full .entry-content--full, .entry--landing .entry-content--full { padding-block: 40px; }
.entry--page { max-width: 860px; }
.entry-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--sgc-line); font-size: 14px; }
.tags a { display: inline-block; padding: 4px 10px; margin: 0 4px 4px 0; background: var(--sgc-light); font-size: 13px; }
.page-links { margin-top: 24px; font-weight: 600; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 40px; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--sgc-line-d); font-weight: 600; }
.page-numbers.current { background: var(--sgc-primary); border-color: var(--sgc-primary); color: var(--sgc-white); }
.page-numbers.dots { border: 0; }

/* Block styles */
.is-style-sgc-price table { border: 1px solid var(--sgc-line); }
.is-style-sgc-price thead { border: 0; }
.is-style-sgc-price th { background: var(--sgc-primary); color: var(--sgc-white); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; text-align: left; border: 0 !important; padding: 14px 18px !important; }
.is-style-sgc-price td { border: 0 !important; border-top: 1px solid var(--sgc-line) !important; padding: 15px 18px !important; }
.is-style-sgc-price td strong { color: var(--sgc-primary); }
.is-style-sgc-price td mark strong, .is-style-sgc-price mark { color: var(--sgc-accent); background: none; }
.is-style-sgc-price tr:hover td { background: var(--sgc-light); }
.has-accent-color { color: var(--sgc-accent) !important; }
.pt-rent__cols { gap: 32px; align-items: flex-start !important; }
.faq-item, .wp-block-details { border-bottom: 1px solid var(--sgc-line); }
.wp-block-details summary { cursor: pointer; font-weight: 700; color: var(--sgc-primary); font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--sgc-accent); }
.wp-block-details[open] summary::after { content: "−"; }
.wp-block-details > :not(summary) { margin-top: 10px; color: var(--sgc-text); }
.svc-card { border: 1px solid var(--sgc-line); padding: 28px; gap: 10px !important; height: 100%; }
.svc-card__n { margin: 0; font-family: var(--sgc-head); font-size: 36px; font-weight: 600; color: var(--sgc-sky); line-height: 1; }
.svc-card h3 { margin: 0; font-size: 20px; }
.svc-card p:last-child { margin: 0; color: var(--sgc-text); font-size: 15px; }
.pt-band { padding: 40px var(--sgc-gutter); }
.pt-band .band__title { margin: 0; }

/* Comments */
.comments { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--sgc-line); }
.comment-meta { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.comment-meta img { border-radius: 50%; }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; }

/* Empty / 404 */
.empty-state { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.search-top { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between; margin-bottom: 32px; }
.nf { padding: 96px 0; }
.nf__in { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 760px; }
.nf__code { font-family: var(--sgc-head); font-weight: 700; font-size: clamp(90px, 16vw, 180px); line-height: .9; color: var(--sgc-mist); -webkit-text-stroke: 2px var(--sgc-primary); }
.nf .search-form { width: 100%; }

/* 12. Sidebar ---------------------------------------------------------- */
.sidebar { display: flex; flex-direction: column; gap: 32px; position: sticky; top: calc(var(--sgc-bar-h) + 24px); }
.widget-title { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--sgc-primary); font-family: var(--sgc-font); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sgc-primary); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--sgc-line); }
.cta-box { background: var(--sgc-primary); color: var(--sgc-white); padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-box__title { margin: 0; color: var(--sgc-white); font-size: 22px; }
.cta-box p { margin: 0; color: #DCE4EC; font-size: 14px; }
.cta-box__tel { color: var(--sgc-white); font-weight: 700; font-size: 20px; }
.side-post { padding: 14px 0; border-bottom: 1px solid var(--sgc-line); display: flex; flex-direction: column; gap: 4px; }
.side-post__title { font-weight: 600; line-height: 1.35; }
@media (max-width: 960px) {
	.layout-sidebar, .layout-sidebar--left { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: static; }
}

/* 13. Footer ----------------------------------------------------------- */
.qband { background: var(--sgc-primary); color: var(--sgc-white); }
.qband__in { padding-block: 44px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.qband__title { margin: 0 0 6px; color: var(--sgc-white); font-size: clamp(24px, 2.6vw, 32px); }
.qband__sub { margin: 0; color: #DCE4EC; }
.qband__sub a { color: var(--sgc-sky); font-weight: 700; }
.qband__form { flex: 1 1 520px; max-width: 580px; }
.qband .quote-fallback { flex-direction: row; flex-wrap: wrap; }
.qband .quote-fallback .btn { flex: 1 1 160px; background: var(--sgc-accent); }
.qband .quote-fallback .btn--outline { background: transparent; border-color: var(--sgc-white); color: var(--sgc-white); }

.site-footer { background: var(--sgc-dark); color: #C9D4E0; font-size: 14px; }
.footer-grid { padding-block: 56px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.footer-col p { margin: 0; line-height: 1.6; }
.brand--footer { padding: 0 0 6px; }
.brand--footer .brand__name { color: var(--sgc-white); font-size: 20px; }
.brand--footer .brand__light { color: var(--sgc-sky); }
.footer-h { margin: 0 0 6px; font-family: var(--sgc-font); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sgc-white); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: #C9D4E0; }
.site-footer a:hover { color: var(--sgc-white); }
.site-footer .footer-tel { color: var(--sgc-white); font-weight: 700; font-size: 18px; }
.footer-bottom { border-top: 1px solid rgba(156, 196, 255, .25); }
.footer-bottom__in { padding-block: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* Floating buttons */
.float-btns { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 50; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; box-shadow: 0 6px 18px rgba(7, 26, 46, .28); transition: transform .15s; }
.float-btn:hover { transform: scale(1.06); }
.float-btn--zalo { background: var(--sgc-white); color: var(--sgc-primary); border: 2px solid var(--sgc-primary); }
.float-btn--call { background: var(--sgc-accent); color: var(--sgc-white); animation: sgcpulse 2.4s infinite; }
.float-btn--call:hover { color: var(--sgc-white); }
@keyframes sgcpulse { 0% { box-shadow: 0 0 0 0 rgba(208, 23, 31, .5); } 70% { box-shadow: 0 0 0 14px rgba(208, 23, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(208, 23, 31, 0); } }

/* 14. Utilities / motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
	.topbar, .mm-bar, .qband, .site-footer, .float-btns, .sidebar { display: none !important; }
}

/* 14. Page building blocks (patterns) ---------------------------------- */
.wp-block-media-text__media:empty { min-height: 300px; background: var(--sgc-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%238A99AB' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='1.6'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center / 28px no-repeat; border: 1px dashed #C5CFDA; }
.wp-block-media-text.pt-split { gap: 48px; grid-template-columns: 1fr 1fr !important; align-items: center; padding-block: 56px; }
.wp-block-media-text.pt-split .wp-block-media-text__content { padding: 0 !important; display: flex; flex-direction: column; gap: 14px; }
.wp-block-media-text.pt-split .wp-block-media-text__content > * { margin: 0; }
.wp-block-media-text.pt-split .section-title { margin-top: 4px; }
.wp-block-media-text.pt-split p { line-height: 1.7; }
.wp-block-media-text.pt-split .wp-block-media-text__media img { width: 100%; height: 100%; object-fit: cover; }
.pt-lead { max-width: 760px; font-size: 17px; line-height: 1.7; margin: 8px 0 24px; }
.pt-row.wp-block-media-text { padding-block: 28px; }
.pt-row__n { font-family: var(--sgc-head); font-size: 40px; font-weight: 600; line-height: 1; color: var(--sgc-sky); }
.entry-content .pt-row__t { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; color: var(--sgc-primary); }
.pt-row .ticks li { font-size: 14px; }
.pt-row .wp-block-buttons .wp-element-button { text-transform: uppercase; letter-spacing: .5px; font-size: 13px; }
.wp-block-button.is-style-outline .wp-element-button { background: transparent; color: var(--sgc-primary); border: 2px solid var(--sgc-primary); }
.wp-block-button.is-style-outline .wp-element-button:hover { background: var(--sgc-primary); color: var(--sgc-white); }
.wp-block-button.btn--accent .wp-element-button { background: var(--sgc-accent); }
.wp-block-button.btn--accent .wp-element-button:hover { background: var(--sgc-accent-l); }
.pluses { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pluses li { position: relative; padding: 11px 0 11px 24px; border-bottom: 1px solid var(--sgc-line); font-size: 15px; }
.pluses li::before { content: "+"; position: absolute; left: 0; top: 9px; color: var(--sgc-primary); font-weight: 700; font-size: 18px; }
.pt-equip__list.ticks { gap: 0; }
.pt-equip__list.ticks li { padding: 11px 0 11px 24px; border-bottom: 1px solid var(--sgc-line); }
.pt-equip__list.ticks li::before { top: 11px; }
.pt-equip { gap: 48px; padding-block: 56px; }
.entry-content .pt-equip__t { margin: 0 0 14px; font-size: 24px; color: var(--sgc-primary); }
.pt-models { background: var(--sgc-light); padding: 56px var(--sgc-gutter); }
.pt-models .section-title { margin: 0 0 28px; }
.pt-values { background: var(--sgc-primary); color: var(--sgc-white); padding: 48px var(--sgc-gutter); }
.pt-values__cols { gap: 32px; margin: 0; }
.entry-content .pt-values__t { margin: 0 0 8px; color: var(--sgc-white); font-size: 24px; }
.pt-values__d { margin: 0; color: #DCE4EC; font-size: 15px; line-height: 1.6; }
.pt-values--lined .wp-block-column { border-top: 2px solid var(--sgc-sky); padding-top: 20px; }
.pt-steps { padding-block: 64px; }
.entry-content .pt-steps__title { margin: 0 0 24px; padding-bottom: 16px; border-bottom: 2px solid var(--sgc-primary); font-size: clamp(26px, 3vw, 32px); color: var(--sgc-primary); }
.pt-steps__cols { gap: 32px; margin: 0; }
.pt-steps__n { margin: 0 0 6px; font-family: var(--sgc-head); font-size: 40px; font-weight: 600; line-height: 1; color: var(--sgc-sky); }
.entry-content .pt-steps__t { margin: 0 0 6px; font-size: 18px; color: var(--sgc-primary); }
.pt-steps__d { margin: 0; color: var(--sgc-text); font-size: 15px; line-height: 1.6; }
.pt-faq { padding-block: 24px 8px; }
.pt-faq .wp-block-details { padding: 20px 0; }
.pt-faq__more { margin-top: 40px; padding: 28px 32px; background: var(--sgc-light); }
.entry-content .pt-faq__more h3 { margin: 0; font-size: 24px; color: var(--sgc-primary); }
@media (max-width: 782px) { .wp-block-media-text.pt-split { grid-template-columns: 1fr !important; gap: 24px; } }
.post-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; margin-bottom: 40px; }
.post-feature__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sgc-mist); }
.post-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature__body { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.post-feature__title { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
.post-feature__title a { color: var(--sgc-primary); }
.post-feature__excerpt { margin: 0; color: var(--sgc-text); line-height: 1.7; }
.post-card__excerpt { margin: 0; color: var(--sgc-text); font-size: 14px; line-height: 1.6; }
@media (max-width: 782px) { .post-feature { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.entry--policy { max-width: 820px; margin-inline: auto; }
.entry--policy .entry-content { max-width: none; }
.entry--policy .entry-content h2 { font-size: 22px; color: var(--sgc-primary); margin: 28px 0 10px; }
.entry--policy .entry-content h3 { font-size: 18px; margin: 22px 0 8px; }
.sgc-jobs { border-top: 1px solid var(--sgc-line); margin: 24px 0 48px; }
.sgc-job { border-bottom: 1px solid var(--sgc-line); }
.sgc-job summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
.sgc-job summary::-webkit-details-marker { display: none; }
.sgc-job summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--sgc-accent); }
.sgc-job[open] summary::after { content: "−"; }
.sgc-job__head { display: flex; flex-direction: column; gap: 4px; }
.sgc-job__title { font-size: 18px; color: var(--sgc-primary); }
.sgc-job__meta { font-size: 13px; color: var(--sgc-muted); }
.sgc-job__body { padding: 0 0 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.sgc-job__body p { margin: 0; }
.sgc-apply { margin-top: 40px; padding: 32px; background: var(--sgc-light); border-top: 6px solid var(--sgc-accent); }
.entry-content .sgc-apply__title { margin: 0 0 18px; font-size: 24px; color: var(--sgc-primary); }
.sgc-apply .sgc-qf__note a { font-weight: 700; }

/* Pages built from patterns use the full container width */
.entry--page:has(> .entry-content > .alignwide, > .entry-content > .alignfull) { max-width: none; }
.section:has(> .entry--page > .entry-content > .alignwide, > .entry--page > .entry-content > .alignfull) { padding-block: 0; }
.entry-content > .alignfull { margin-inline: calc(50% - 50vw); width: 100vw; max-width: 100vw; }
.entry-content > .alignwide { max-width: none; }
body { overflow-x: clip; }
.pt-lead { margin-top: 48px; }
.pt-steps-band { background: var(--sgc-light); }
.pt-steps-band { padding-inline: var(--sgc-gutter); }
.pt-steps-band .pt-steps { padding-block: 56px; }
.pt-steps__n, .pt-steps__t { margin-block-start: 0; }
.pt-steps__cols .wp-block-column { flex-basis: 0 !important; }
.entry-content .entry-content .pt-steps__t { font-size: 17px; line-height: 1.3; }
.wp-block-media-text__media:empty { min-height: 400px; }
.pt-row .wp-block-media-text__media:empty { min-height: 330px; }
.entry-content .wp-block-media-text.pt-split .section-title { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; }
.entry-content .wp-block-media-text.pt-split p:not(.eyebrow):not(.pt-row__n) { font-size: 15px; line-height: 1.65; }
.pt-values { padding-block: 56px; }
.entry-content p.pt-steps__n { font-size: 44px; margin-bottom: 8px; }
.entry-content .pt-steps__title { font-size: clamp(28px, 3vw, 34px); margin-bottom: 28px; }
.entry-content .product-card a { text-decoration: none; }
.entry-content .product-card__title a, .entry-content .product-card h3 a { text-decoration: none; }
.entry-content .pt-models .section-title, .entry-content .pt-two .section-title { font-size: clamp(24px, 2.4vw, 28px); margin-bottom: 22px; }
.entry-content .pt-two h2, .entry-content .pt-two h3 { font-size: 20px; }

/* ==========================================================================
   15. Home variant B
   ========================================================================== */
.hb-hero { position: relative; background: var(--sgc-primary); color: #fff; min-height: 620px; overflow: hidden; }
.hb-hero__bg, .hb-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-hero__bg:empty { background: var(--sgc-primary); }
.hb-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 37, 64, .94) 0%, rgba(11, 37, 64, .8) 55%, rgba(11, 37, 64, .35) 100%); }
.hb-hero__in { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; padding-block: 80px; }
.hb-hero__text { display: flex; flex-direction: column; gap: 22px; }
.hb-eyebrow { color: #9cc4ff; font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.hb-hero__h { margin: 0; font-family: var(--sgc-font-head, inherit); font-weight: 600; font-size: clamp(32px, 4.4vw, 56px); line-height: .95; text-wrap: balance; color: #fff; }
.hb-hero__p { margin: 0; font-size: 17px; line-height: 1.6; color: #dce4ec; max-width: 520px; }
.hb-hero__tel { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--ghost { border: 2px solid #fff; color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--sgc-primary); }
.hb-form { background: #fff; color: var(--sgc-text, #13202e); padding: 32px; display: flex; flex-direction: column; gap: 14px; max-width: 440px; justify-self: end; width: 100%; border-top: 6px solid var(--sgc-primary); }
.hb-form h2 { margin: 0; font-size: 26px; line-height: 1; color: var(--sgc-primary); }
.hb-table-wrap { overflow-x: auto; border: 1px solid var(--sgc-line, #dde3ea); }
.hb-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.hb-table th { background: var(--sgc-primary); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; text-align: left; padding: 14px 18px; }
.hb-table td { padding: 14px 18px; border-top: 1px solid var(--sgc-line, #dde3ea); color: #3b4a5c; vertical-align: middle; }
.hb-table tbody tr:hover { background: #f4f6f8; }
.hb-table__name { display: block; font-weight: 700; color: var(--sgc-primary); text-decoration: none; }
.hb-table small { display: block; font-size: 12px; color: #5b6878; }
.hb-table__price, .hb-table__price .amount { font-weight: 700; color: var(--sgc-accent); }
.hb-services { background: #f4f6f8; padding-block: 72px; }
.hb-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.hb-svc { background: #fff; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .15s; }
.hb-svc:hover { box-shadow: 0 0 0 2px var(--sgc-primary); }
.hb-svc__media { display: block; height: 220px; background: #e9eef4; overflow: hidden; }
.hb-svc__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-svc__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.hb-svc__t { font-weight: 600; font-size: 26px; color: var(--sgc-primary); line-height: 1; }
.hb-svc__d { color: #5b6878; line-height: 1.6; }
.hb-svc__cta { font-weight: 700; color: var(--sgc-accent); margin-top: 6px; }
@media (max-width: 720px) {
	.hb-hero__in { padding-block: 48px; }
	.hb-form { justify-self: stretch; max-width: none; padding: 22px; }
}

/* Comments (off by default in the demo, styled for sites that turn them on) */
.comments-area { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--sgc-line); }
.comments-area .comments-title, .comments-area .comment-reply-title { font-size: 22px; color: var(--sgc-primary); margin: 0 0 18px; }
.comment-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 18px; }
.comment-list .comment-body { border: 1px solid var(--sgc-line); padding: 18px; background: var(--sgc-white); }
.comment-list .children { list-style: none; margin: 18px 0 0 24px; padding: 0; display: grid; gap: 18px; }
.comment-meta { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: var(--sgc-muted); margin-bottom: 8px; }
.comment-author .fn { color: var(--sgc-primary); font-style: normal; font-weight: 700; }
.comment-form { display: grid; gap: 14px; max-width: 720px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-size: 13px; font-weight: 600; color: var(--sgc-text); margin-bottom: 6px; }
.comment-form .comment-notes, .comment-form .form-submit { margin: 0; }
.comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sgc-muted); }
.comment-form .comment-form-cookies-consent input { width: auto; min-height: 0; }
.comment-form .submit { width: auto; }
.no-comments { color: var(--sgc-muted); font-size: 14px; }

/* Home: rental price table beside the quote form */
.rent-cols { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.pt-rent--home .lead { margin-bottom: 24px; }
@media (max-width: 900px) { .rent-cols { grid-template-columns: minmax(0, 1fr); } }

/* Header cart dropdown (mini cart) */
.mm-cartwrap { position: relative; flex-shrink: 0; }
.mm-cartwrap.is-open .mm-cart { background: rgba(255, 255, 255, .14); }
.mm-minicart { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; width: min(360px, calc(100vw - 32px)); background: var(--sgc-white); color: var(--sgc-ink); border: 1px solid var(--sgc-line); border-top: 4px solid var(--sgc-accent); box-shadow: 0 16px 40px rgba(11, 37, 64, .18); }
.mm-minicart[hidden] { display: none; }
.mm-minicart__head { padding: 14px 18px; border-bottom: 1px solid var(--sgc-line); font-family: var(--sgc-head); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--sgc-primary); }
.mm-minicart .widget_shopping_cart_content { padding: 16px 18px 18px; max-height: min(60vh, 520px); overflow-y: auto; }
.mm-minicart ul.cart_list, .mm-minicart ul.product_list_widget { list-style: none; margin: 0; padding: 0; }
.mm-minicart ul.cart_list li { position: relative; padding: 12px 26px 12px 0; border-bottom: 1px solid var(--sgc-line); font-size: 14px; }
.mm-minicart ul.cart_list li:first-child { padding-top: 0; }
.mm-minicart ul.cart_list li a:not(.remove) { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 700; color: var(--sgc-primary); line-height: 1.35; text-decoration: none; }
.mm-minicart ul.cart_list li a:not(.remove):hover { color: var(--sgc-accent); }
.mm-minicart ul.cart_list li img { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--sgc-line); margin: 0; float: none; }
.mm-minicart .quantity { display: block; margin-top: 4px; padding-left: 68px; color: var(--sgc-muted); font-size: 13px; }
.mm-minicart .quantity .amount { color: var(--sgc-ink); font-weight: 600; }
.mm-minicart a.remove { position: absolute; top: 14px; right: 0; width: 22px; height: 22px; line-height: 20px; text-align: center; border: 1px solid var(--sgc-line); color: var(--sgc-muted); font-size: 15px; text-decoration: none; }
.mm-minicart a.remove:hover { border-color: var(--sgc-accent); background: var(--sgc-accent); color: var(--sgc-white); }
.mm-minicart .total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 14px 0 0; padding-top: 14px; border-top: 2px solid var(--sgc-primary); font-size: 14px; }
.mm-minicart .total strong { font-weight: 600; color: var(--sgc-text); }
.mm-minicart .total .amount { font-family: var(--sgc-head); font-size: 20px; font-weight: 700; color: var(--sgc-accent); }
.mm-minicart .buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 0; }
.mm-minicart .buttons .button { width: 100%; min-height: 44px; padding: 10px 12px; font-size: 13px; background: transparent; border: 2px solid var(--sgc-primary); color: var(--sgc-primary); }
.mm-minicart .buttons .button:hover { background: var(--sgc-primary); color: var(--sgc-white); }
.mm-minicart .buttons .checkout { background: var(--sgc-accent); border-color: var(--sgc-accent); color: var(--sgc-white); }
.mm-minicart .buttons .checkout:hover { background: var(--sgc-accent-l); border-color: var(--sgc-accent-l); color: var(--sgc-white); }
.mm-minicart .woocommerce-mini-cart__empty-message { margin: 0; padding: 12px 0; color: var(--sgc-muted); text-align: center; }
@media (max-width: 480px) { .mm-minicart { right: -8px; } .mm-minicart .buttons { grid-template-columns: 1fr; } }

/* Responsive: wide tables scroll inside their block instead of widening the page */
.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
@media (max-width: 640px) {
  .is-style-sgc-price th, .is-style-sgc-price td { padding: 11px 12px !important; font-size: 14px; }
  .is-style-sgc-price table { min-width: 0; }
}

/* Very narrow phones: the hotline never fits beside the logo, so hide it in the header (still in the menu bar, floating buttons and footer). */
@media (max-width: 400px) { .topbar__in:not(:has(.has-mobile-logo)) .hotline { display: none; } }
