/* ==========================================================================
   Điện Máy Giá Kho — Modern UI layer (on top of Flatsome + legacy child CSS)
   Mobile-first. Scoped under body.dmgk; !important only where legacy CSS forces it.
   ========================================================================== */

:root {
	--dm-brand: #d0111b;
	--dm-brand-600: #b20d16;
	--dm-brand-700: #8f0a11;
	--dm-brand-50: #fff1f1;
	--dm-accent: #ffc20e;
	--dm-blue: #1652a8;
	--dm-ink: #15181e;
	--dm-ink-2: #3b414c;
	--dm-muted: #6b7280;
	--dm-line: #e7e9ee;
	--dm-surface: #f4f5f8;
	--dm-card: #ffffff;
	--dm-success: #15803d;
	--dm-radius-sm: 10px;
	--dm-radius: 14px;
	--dm-radius-lg: 20px;
	--dm-shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .06);
	--dm-shadow: 0 6px 24px -8px rgba(16, 24, 40, .18);
	--dm-shadow-lg: 0 18px 40px -12px rgba(16, 24, 40, .25);
	--dm-font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--dm-wrap: 1240px;
	--dm-gutter: 16px;
	--dm-tabbar-h: 64px;
	--dm-ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 850px) {
	:root { --dm-gutter: 24px; }
}

/* ---------- Base ---------- */
body.dmgk {
	font-family: var(--dm-font) !important;
	font-size: 15px !important;
	color: var(--dm-ink-2);
	background: var(--dm-surface);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.dmgk h1, body.dmgk h2, body.dmgk h3, body.dmgk h4, body.dmgk h5, body.dmgk h6,
body.dmgk .heading-font, body.dmgk .nav > li > a, body.dmgk .button, body.dmgk button,
body.dmgk input, body.dmgk select, body.dmgk textarea {
	font-family: var(--dm-font) !important;
	letter-spacing: -.01em;
}
body.dmgk h1, body.dmgk h2, body.dmgk h3, body.dmgk h4 { color: var(--dm-ink); }
body.dmgk a { color: var(--dm-blue); }
body.dmgk a:hover { color: var(--dm-brand); }
body.dmgk :focus-visible { outline: 2px solid var(--dm-blue); outline-offset: 2px; border-radius: 6px; }
body.dmgk #wrapper, body.dmgk #main { background: var(--dm-surface); }
body.dmgk img { max-width: 100%; }

.dmgk-wrap {
	width: 100%;
	max-width: var(--dm-wrap);
	margin-inline: auto;
	padding-inline: var(--dm-gutter);
	box-sizing: border-box;
}
.dmgk-ico { flex: none; display: inline-block; vertical-align: middle; }

/* ---------- Buttons ---------- */
.dmgk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 18px;
	border-radius: 999px; border: 1.5px solid transparent;
	font: 600 15px/1 var(--dm-font); text-decoration: none !important;
	white-space: nowrap; cursor: pointer;
	transition: transform .15s var(--dm-ease), background-color .15s, color .15s, box-shadow .15s, border-color .15s;
}
.dmgk-btn:active { transform: scale(.97); }
.dmgk-btn--sm { min-height: 36px; padding: 0 12px; font-size: 13px; gap: 6px; }
.dmgk-btn--lg { min-height: 50px; padding: 0 22px; font-size: 16px; }
.dmgk-btn--primary { background: var(--dm-brand); color: #fff !important; box-shadow: 0 6px 16px -6px rgba(208, 17, 27, .6); }
.dmgk-btn--primary:hover { background: var(--dm-brand-600); color: #fff !important; }
.dmgk-btn--ghost { background: #fff; color: var(--dm-blue) !important; border-color: #cfdcf0; }
.dmgk-btn--ghost:hover { border-color: var(--dm-blue); background: #f3f7fd; }
.dmgk-btn--dark { background: var(--dm-ink); color: #fff !important; }
.dmgk-btn--dark:hover { background: #000; }
.dmgk-btn--light { background: #fff; color: var(--dm-brand) !important; }
.dmgk-btn--outline-light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.dmgk-btn--outline-light:hover { background: rgba(255, 255, 255, .12); }

.dmgk-link {
	display: inline-flex; align-items: center; gap: 4px;
	font-weight: 600; font-size: 14px; color: var(--dm-brand) !important; text-decoration: none;
	white-space: nowrap;
}
.dmgk-link:hover .dmgk-ico { transform: translateX(3px); }
.dmgk-link .dmgk-ico { transition: transform .2s var(--dm-ease); }

.dmgk-eyebrow {
	margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: var(--dm-brand);
}

/* ==========================================================================
   HEADER (Flatsome markup)
   ========================================================================== */
body.dmgk #header { box-shadow: none; transition: box-shadow .2s; }
body.dmgk #header.dmgk-scrolled, body.dmgk #header .stuck { box-shadow: 0 6px 20px -10px rgba(16, 24, 40, .35); }

/* Top bar: slim red promo strip */
body.dmgk #top-bar { background: var(--dm-brand-700) !important; min-height: 0; }
body.dmgk #top-bar .flex-row { min-height: 34px; }
body.dmgk #top-bar img { max-height: 34px; width: auto; }

body.dmgk .header-main { background: #fff !important; border-bottom: 1px solid var(--dm-line); }
body.dmgk .header-main .header-inner { gap: 20px; }
body.dmgk #logo img { max-height: 58px; width: auto; object-fit: contain; }

/* Search: pill */
body.dmgk .header-search-form-wrapper form {
	border: 1.5px solid var(--dm-line) !important; border-radius: 999px !important;
	background: var(--dm-surface); transition: border-color .15s, box-shadow .15s, background .15s;
}
body.dmgk .header-search-form-wrapper form:focus-within {
	border-color: var(--dm-brand) !important; background: #fff; box-shadow: 0 0 0 4px rgba(208, 17, 27, .1);
}
body.dmgk .header-search-form-wrapper input.search-field {
	height: 44px !important; background: transparent !important; box-shadow: none !important;
	padding-left: 20px !important; font-size: 14px; color: var(--dm-ink);
}
body.dmgk .header-search-form-wrapper button {
	height: 36px !important; width: 52px !important; margin: 4px !important;
	border-radius: 999px !important; background: var(--dm-brand) !important; color: #fff !important;
}
body.dmgk .header-main .flex-left.flex-grow .header-search-form { width: 100%; max-width: 620px; }
body.dmgk .header-main .flex-left.flex-grow .header-nav { width: 100%; }

/* Header contact block */
body.dmgk .header-block-block-1 { display: flex; gap: 18px; }
body.dmgk .header-block-block-1 .icon-box { align-items: center; }
body.dmgk .header-block-block-1 .icon-box-img { width: 34px !important; }
body.dmgk .header-block-block-1 .icon-box-text p { margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--dm-muted); text-transform: none; }
body.dmgk .header-block-block-1 .icon-box-text strong { color: var(--dm-ink); font-size: 14px; }
body.dmgk .header-block-block-1 .icon-box-text .text strong { color: var(--dm-brand); font-size: 16px; }

/* Main category nav: one line, scrollable, sentence case */
body.dmgk #wide-nav {
	background: var(--dm-brand) !important;
	background-image: linear-gradient(90deg, var(--dm-brand-600), var(--dm-brand)) !important;
	min-height: 0 !important;
}
body.dmgk #wide-nav .flex-row { min-height: 48px; }
body.dmgk #wide-nav .flex-left { min-width: 0; flex: 1 1 auto; }
body.dmgk #wide-nav .header-bottom-nav {
	flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; gap: 2px;
	-webkit-mask-image: linear-gradient(90deg, #000 94%, transparent);
	mask-image: linear-gradient(90deg, #000 94%, transparent);
}
body.dmgk #wide-nav .header-bottom-nav::-webkit-scrollbar { display: none; }
body.dmgk #wide-nav .header-bottom-nav > li { margin: 0 !important; flex: none; }
body.dmgk #wide-nav .header-bottom-nav > li > a {
	text-transform: none !important; font-weight: 600; font-size: 14.5px !important;
	color: #fff !important; padding: 8px 14px !important; border-radius: 999px;
	line-height: 1.2; transition: background .15s;
}
body.dmgk #wide-nav .header-bottom-nav > li > a:hover,
body.dmgk #wide-nav .header-bottom-nav > li.active > a { background: rgba(255, 255, 255, .16); }
body.dmgk #wide-nav .header-bottom-nav > li:last-child > a,
body.dmgk #wide-nav .header-bottom-nav > li#menu-item-3156 > a { color: var(--dm-accent) !important; }

/* Mobile header */
@media (max-width: 849px) {
	body.dmgk #logo img { max-height: 44px; }
	body.dmgk .header-main { height: 60px !important; }
	body.dmgk .header-main .header-inner { min-height: 60px; }
	body.dmgk #wide-nav { background: #fff !important; background-image: none !important; border-bottom: 1px solid var(--dm-line); }
	body.dmgk #wide-nav .flex-row { min-height: 0; padding-block: 8px; }
	body.dmgk #wide-nav .header-search-form, body.dmgk #wide-nav .searchform-wrapper { width: 100%; }
	body.dmgk .mobile-nav .icon-menu { font-size: 22px; color: var(--dm-ink); }
}

/* Off-canvas mobile menu */
body.dmgk .off-canvas .sidebar-menu { padding-top: 12px; }
body.dmgk .off-canvas .nav-vertical > li > a {
	font-weight: 600 !important; text-transform: none !important; font-size: 15px !important;
	color: var(--dm-ink) !important; padding-block: 14px !important;
}
body.dmgk .off-canvas .nav-vertical > li { border-color: var(--dm-line) !important; }

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */
body.dmgk.home #main, body.dmgk .dmgk-home { background: var(--dm-surface); }
.dmgk-home { padding-bottom: 32px; }

/* Hero */
.dmgk-hero { display: grid; gap: 16px; padding-top: 16px; }
.dmgk-hero__slider {
	position: relative; border-radius: var(--dm-radius-lg); overflow: hidden;
	background: #fff; box-shadow: var(--dm-shadow-sm); aspect-ratio: 2560 / 1068;
}
.dmgk-hero__track {
	display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: none; overscroll-behavior-x: contain;
}
.dmgk-hero__track::-webkit-scrollbar { display: none; }
.dmgk-hero__slide { flex: 0 0 100%; scroll-snap-align: start; }
.dmgk-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dmgk-hero__dots {
	position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
	display: flex; gap: 6px; padding: 5px 8px; border-radius: 999px; background: rgba(0, 0, 0, .28);
	backdrop-filter: blur(6px);
}
.dmgk-hero__dots button {
	width: 8px; height: 8px; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 999px;
	background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .25s var(--dm-ease), background .25s;
}
.dmgk-hero__dots button[aria-selected="true"] { width: 22px; background: #fff; }

.dmgk-hero__panel {
	background: #fff; border-radius: var(--dm-radius-lg); padding: 20px; box-shadow: var(--dm-shadow-sm);
	position: relative; overflow: hidden;
}
.dmgk-hero__panel::after {
	content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 194, 14, .35), transparent 70%); pointer-events: none;
}
.dmgk-hero__title { font-size: 22px; line-height: 1.25; font-weight: 800; margin: 0 0 10px; color: var(--dm-ink); }
.dmgk-hero__title span { color: var(--dm-brand); }
.dmgk-hero__lead { margin: 0 0 16px; color: var(--dm-muted); line-height: 1.55; }
.dmgk-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.dmgk-hero__cta .dmgk-btn { flex: 1 1 160px; }

@media (min-width: 850px) {
	/* Banner keeps its native ratio (text is baked into the artwork); the panel adapts to it. */
	.dmgk-hero { grid-template-columns: minmax(0, 1fr) 300px; padding-top: 20px; align-items: start; }
	.dmgk-hero__slider { align-self: start; }
	.dmgk-hero__panel { display: flex; flex-direction: column; justify-content: center; padding: 20px 22px; align-self: stretch; }
	.dmgk-hero__title { font-size: 20px; }
	.dmgk-hero__lead { font-size: 13.5px; margin-bottom: 14px; }
	.dmgk-hero__cta { flex-direction: column; gap: 8px; }
	.dmgk-hero__cta .dmgk-btn { flex: none; width: 100%; min-height: 44px; font-size: 15px; }
}
@media (min-width: 1100px) {
	.dmgk-hero { grid-template-columns: minmax(0, 1fr) 330px; }
	.dmgk-hero__title { font-size: 23px; }
	.dmgk-hero__panel { padding: 24px 26px; }
}

/* Trust strip */
.dmgk-trust {
	list-style: none; margin: 16px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.dmgk-trust li {
	display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px;
	background: #fff; border-radius: var(--dm-radius); box-shadow: var(--dm-shadow-sm);
}
.dmgk-trust__ico {
	display: grid; place-items: center; width: 40px; height: 40px; flex: none;
	border-radius: 12px; background: var(--dm-brand-50); color: var(--dm-brand);
}
.dmgk-trust strong { display: block; font-size: 13.5px; color: var(--dm-ink); line-height: 1.3; }
.dmgk-trust small { display: block; font-size: 12px; color: var(--dm-muted); line-height: 1.35; }
@media (min-width: 850px) {
	.dmgk-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.dmgk-trust li { padding: 16px; }
	.dmgk-trust strong { font-size: 15px; }
	.dmgk-trust small { font-size: 13px; }
}

/* Sections */
.dmgk-section { margin-top: 28px; }
.dmgk-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dmgk-section__title { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 800; color: var(--dm-ink); }
.dmgk-section__title small { font-size: 13px; font-weight: 500; color: var(--dm-muted); margin-left: 6px; }
@media (min-width: 850px) {
	.dmgk-section { margin-top: 40px; }
	.dmgk-section__title { font-size: 24px; }
}

/* Categories */
.dmgk-cats {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
}
.dmgk-cats li { margin: 0; }
.dmgk-cats a {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; height: 100%;
	padding: 10px 4px; border-radius: var(--dm-radius); background: #fff; box-shadow: var(--dm-shadow-sm);
	text-decoration: none; transition: transform .2s var(--dm-ease), box-shadow .2s;
}
.dmgk-cats a:hover { transform: translateY(-3px); box-shadow: var(--dm-shadow); }
.dmgk-cats__img {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: var(--dm-surface); overflow: hidden;
}
.dmgk-cats__img img { width: 80%; height: 80%; object-fit: contain; }
.dmgk-cats__name { font-size: 12px; font-weight: 600; color: var(--dm-ink); line-height: 1.3; }
.dmgk-cats__count { display: none; font-size: 12px; color: var(--dm-muted); }
@media (min-width: 600px) { .dmgk-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 850px) {
	.dmgk-cats { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
	.dmgk-cats a { padding: 18px 10px; gap: 8px; }
	.dmgk-cats__img { width: 84px; height: 84px; }
	.dmgk-cats__name { font-size: 14px; }
	.dmgk-cats__count { display: block; }
}

/* Rails (horizontal product lists) */
.dmgk-rail-wrap { position: relative; }
.dmgk-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 10px) / 2.15);
	gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--dm-gutter);
	margin-inline: calc(var(--dm-gutter) * -1); padding: 4px var(--dm-gutter) 14px;
	scrollbar-width: none; overscroll-behavior-x: contain;
}
.dmgk-rail::-webkit-scrollbar { display: none; }
.dmgk-rail > * { scroll-snap-align: start; }
@media (min-width: 600px) { .dmgk-rail { grid-auto-columns: calc((100% - 30px) / 3.2); } }
@media (min-width: 850px) {
	.dmgk-rail { grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
}
@media (min-width: 1100px) { .dmgk-rail { grid-auto-columns: calc((100% - 64px) / 5); } }

.dmgk-rail__btn {
	display: none; position: absolute; top: 40%; z-index: 3; width: 42px; height: 42px; min-height: 0;
	margin: 0; padding: 0; border-radius: 50%; border: 1px solid var(--dm-line);
	background: #fff; color: var(--dm-ink); box-shadow: var(--dm-shadow); cursor: pointer;
	place-items: center; transition: opacity .2s, transform .2s;
}
.dmgk-rail__btn:hover { color: var(--dm-brand); transform: scale(1.06); }
.dmgk-rail__btn--prev { left: -18px; }
.dmgk-rail__btn--next { right: -18px; }
.dmgk-rail-wrap.is-start .dmgk-rail__btn--prev, .dmgk-rail-wrap.is-end .dmgk-rail__btn--next { opacity: 0; pointer-events: none; }
.dmgk-rail-wrap.is-static .dmgk-rail__btn { display: none !important; }
@media (hover: hover) and (min-width: 850px) { .dmgk-rail__btn { display: grid; } }

/* Product card (homepage) */
.dmgk-card {
	display: flex; flex-direction: column; min-width: 0; height: 100%;
	background: var(--dm-card); border-radius: var(--dm-radius); box-shadow: var(--dm-shadow-sm);
	overflow: hidden; transition: transform .2s var(--dm-ease), box-shadow .2s;
}
.dmgk-card:hover { transform: translateY(-4px); box-shadow: var(--dm-shadow-lg); }
.dmgk-card__media {
	position: relative; display: block; aspect-ratio: 1 / 1; padding: 12px; background: #fff;
}
.dmgk-card__media img {
	width: 100% !important; height: 100% !important; object-fit: contain; transform: none !important;
	transition: transform .35s var(--dm-ease) !important;
}
.dmgk-card:hover .dmgk-card__media img { transform: scale(1.05) !important; }
.dmgk-badge {
	position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 6px;
	font-size: 11px; font-weight: 700; color: #fff; background: var(--dm-brand);
}
.dmgk-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 10px 12px 12px; border-top: 1px solid var(--dm-line); }
.dmgk-card__title { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; min-height: 2.8em; }
.dmgk-card__title a {
	color: var(--dm-ink) !important; text-decoration: none;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dmgk-card__title a:hover { color: var(--dm-brand) !important; }
.dmgk-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }
.dmgk-card__price { font-weight: 700; color: var(--dm-brand); }
.dmgk-stock { font-size: 11.5px; color: var(--dm-success); font-weight: 600; }
.dmgk-stock::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.dmgk-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dmgk-card__actions .dmgk-btn { padding: 0 6px; box-shadow: none; }
@media (min-width: 850px) { .dmgk-card__title { font-size: 14.5px; } .dmgk-card__body { padding: 12px 14px 14px; } }

/* "Liên hệ báo giá" pill (homepage + Flatsome loop) */
.dmgk-price-call {
	display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
	background: var(--dm-brand-50); color: var(--dm-brand); font-size: 12.5px; font-weight: 700; line-height: 1.3;
}

/* About / store card */
.dmgk-about { display: grid; gap: 16px; }
.dmgk-about__text, .dmgk-about__card { background: #fff; border-radius: var(--dm-radius-lg); padding: 20px; box-shadow: var(--dm-shadow-sm); }
.dmgk-about__text p { line-height: 1.7; }
.dmgk-about__text .dmgk-section__title { margin-bottom: 12px; }
.dmgk-checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.dmgk-checks li { position: relative; margin: 0; padding-left: 30px; line-height: 1.5; color: var(--dm-ink-2); }
.dmgk-checks li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--dm-brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d0111b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.dmgk-about__card {
	background: linear-gradient(160deg, #1a1d24, #2a2f3a); color: #d8dce4;
}
body.dmgk .dmgk-about__card h3 { display: flex; align-items: center; gap: 8px; color: #fff; margin: 0 0 12px; font-size: 18px; }
.dmgk-about__card address { font-style: normal; line-height: 1.6; margin-bottom: 12px; }
.dmgk-about__card address strong { color: #fff; }
.dmgk-about__card p { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.dmgk-about__card a:not(.dmgk-btn) { color: var(--dm-accent) !important; font-weight: 700; }
.dmgk-about__card .dmgk-btn { margin-top: 10px; background: #fff; color: var(--dm-ink) !important; }
@media (min-width: 850px) {
	.dmgk-about { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
	.dmgk-about__text, .dmgk-about__card { padding: 32px; }
}

/* FAQ */
.dmgk-faq { display: grid; gap: 10px; }
.dmgk-faq details { background: #fff; border-radius: var(--dm-radius); box-shadow: var(--dm-shadow-sm); overflow: hidden; }
.dmgk-faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 600; color: var(--dm-ink); line-height: 1.45;
}
.dmgk-faq summary::-webkit-details-marker { display: none; }
.dmgk-faq summary .dmgk-ico { color: var(--dm-muted); transition: transform .2s var(--dm-ease); }
.dmgk-faq details[open] summary .dmgk-ico { transform: rotate(180deg); color: var(--dm-brand); }
.dmgk-faq details p { margin: 0; padding: 0 18px 16px; line-height: 1.7; }
@media (min-width: 850px) { .dmgk-faq { grid-template-columns: 1fr 1fr; align-items: start; gap: 14px; } }

/* News */
.dmgk-news.dmgk-rail { grid-auto-columns: 78%; }
@media (min-width: 600px) { .dmgk-news.dmgk-rail { grid-auto-columns: calc((100% - 20px) / 2.2); } }
@media (min-width: 850px) { .dmgk-news.dmgk-rail { grid-auto-columns: calc((100% - 48px) / 4); } }
.dmgk-post { background: #fff; border-radius: var(--dm-radius); overflow: hidden; box-shadow: var(--dm-shadow-sm); display: flex; flex-direction: column; }
.dmgk-post__media { display: block; aspect-ratio: 16 / 10; background: var(--dm-surface); overflow: hidden; }
.dmgk-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--dm-ease); }
.dmgk-post:hover .dmgk-post__media img { transform: scale(1.04); }
.dmgk-post__body { padding: 12px 14px 16px; }
.dmgk-post time { font-size: 12px; color: var(--dm-muted); }
.dmgk-post h3 { margin: 4px 0 0; font-size: 15px; line-height: 1.45; }
.dmgk-post h3 a { color: var(--dm-ink) !important; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dmgk-post h3 a:hover { color: var(--dm-brand) !important; }

/* ==========================================================================
   WOOCOMMERCE — archive cards (Flatsome .product-small)
   ========================================================================== */
body.dmgk .products .product-small.col { padding-bottom: 16px; }
body.dmgk .products .product-small.col > .col-inner {
	height: 100%; background: #fff; border-radius: var(--dm-radius); overflow: hidden;
	box-shadow: var(--dm-shadow-sm); transition: transform .2s var(--dm-ease), box-shadow .2s;
}
body.dmgk .products .product-small.col > .col-inner:hover { transform: translateY(-4px); box-shadow: var(--dm-shadow-lg); }
body.dmgk .product-small.box { box-shadow: none !important; border: 0 !important; background: transparent !important; height: 100%; display: flex; flex-direction: column; }
body.dmgk .product-small .box-image { aspect-ratio: 1 / 1; padding: 12px; background: #fff; display: flex; align-items: center; justify-content: center; }
body.dmgk .product-small .box-image::before { display: none !important; }
body.dmgk .product-small .box-image .image-none, body.dmgk .product-small .box-image .image-fade_in_back,
body.dmgk .product-small .box-image a { width: 100%; height: 100%; display: block; }
body.dmgk .product-small.box img {
	width: 100% !important; height: 100% !important; object-fit: contain; top: auto !important; transform: none !important;
}
body.dmgk .product-small .box-text {
	padding: 10px 12px 14px !important; border-top: 1px solid var(--dm-line); text-align: left !important; flex: 1;
	display: flex; flex-direction: column; gap: 8px;
}
body.dmgk .product-small .product-title { margin: 0 !important; min-height: 2.8em; }
body.dmgk .product-small .product-title a {
	font-weight: 600 !important; font-size: 13.5px; line-height: 1.4; color: var(--dm-ink) !important;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.dmgk .product-small .product-title a:hover { color: var(--dm-brand) !important; }
body.dmgk .product-small .price-wrapper { margin-top: auto; }
body.dmgk .product-small .price { color: var(--dm-brand); font-weight: 700; }
body.dmgk .product-small .category { display: none; }
body.dmgk .badge-container .badge-inner { border-radius: 6px !important; background: var(--dm-brand) !important; }
/* The hover tooltip plugin overlays cards and blocks taps on touch screens */
@media (hover: none) { body.dmgk .cdc_shop_loop_box { display: none !important; } }
@media (min-width: 850px) { body.dmgk .product-small .product-title a { font-size: 14.5px; } }

/* Mobile grid: 2 equal columns, no overflow */
@media (max-width: 549px) {
	body.dmgk .products.row { margin-left: -5px !important; margin-right: -5px !important; }
	body.dmgk .products .product-small.col { padding: 0 5px 10px !important; flex-basis: 50% !important; max-width: 50% !important; }
}

body.dmgk .products .product-small.col { border: 0 !important; box-shadow: none !important; background: transparent !important; }
body.dmgk .products[class*="row-box-shadow"] .product-small.col > .col-inner { box-shadow: var(--dm-shadow-sm) !important; }
body.dmgk .products[class*="row-box-shadow"] .product-small.col > .col-inner:hover { box-shadow: var(--dm-shadow-lg) !important; }
body.dmgk .products .box-image, body.dmgk .products .box-text { box-shadow: none !important; }

/* Section titles (legacy red tab style → clean heading) */
body.dmgk .section-title-normal, body.dmgk .section-title-container .section-title {
	border-bottom: 0 !important; margin-bottom: 0;
}
body.dmgk .section-title-normal span.section-title-main, body.dmgk .section-title-container .section-title-main {
	background: none !important; color: var(--dm-ink) !important; padding: 0 !important; margin: 0 !important;
	font-size: 24px !important; font-weight: 800 !important; text-transform: none !important; letter-spacing: -.01em; border: 0 !important;
}
body.dmgk .section-title-normal span.section-title-main::before, body.dmgk .section-title-normal span.section-title-main::after,
body.dmgk .section-title-normal::before, body.dmgk .section-title-normal::after { display: none !important; }
body.dmgk .section-title b { display: none; }
body.dmgk .section-category { padding-top: 18px; }

/* Sidebar widget titles (legacy solid red bar) */
body.dmgk .widget-title, body.dmgk span.widget-title.shop-sidebar, body.dmgk #secondary span.widget-title {
	display: block; background: none !important; color: var(--dm-ink) !important; padding: 0 0 10px !important;
	font-size: 15px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important;
	border-bottom: 1px solid var(--dm-line) !important; margin-bottom: 6px;
}
body.dmgk .widget-title::before, body.dmgk .widget-title::after, body.dmgk #secondary span.widget-title span::before, body.dmgk #secondary span.widget-title span::after { display: none !important; }
body.dmgk .widget .is-divider { display: none; }
body.dmgk .widget_product_categories ul li { border-color: var(--dm-line) !important; }
body.dmgk .widget_product_categories ul li a { color: var(--dm-ink-2) !important; font-size: 14.5px; padding-block: 8px; display: inline-block; }
body.dmgk .widget_product_categories ul li a:hover, body.dmgk .widget_product_categories .current-cat > a { color: var(--dm-brand) !important; font-weight: 700; }

/* Category page header, toolbar, sidebar */
body.dmgk .shop-page-title, body.dmgk .page-title { background: transparent !important; }
body.dmgk .shop-page-title .page-title-inner { padding-block: 16px 8px !important; }
body.dmgk .shop-page-title h1, body.dmgk .page-title h1 { font-size: 24px !important; font-weight: 800; text-transform: none !important; color: var(--dm-ink); }
body.dmgk .breadcrumbs, body.dmgk .rank-math-breadcrumb, body.dmgk .woocommerce-breadcrumb {
	font-size: 13px !important; text-transform: none !important; font-weight: 500 !important; color: var(--dm-muted);
}
body.dmgk .breadcrumbs a, body.dmgk .rank-math-breadcrumb a { color: var(--dm-muted) !important; }
body.dmgk .woocommerce-ordering select {
	border-radius: 999px !important; border: 1.5px solid var(--dm-line) !important; box-shadow: none !important;
	padding: 0 34px 0 14px !important; height: 40px; font-size: 14px; background-color: #fff;
}
body.dmgk #shop-sidebar .widget, body.dmgk .category-page-row #shop-sidebar > aside {
	background: #fff; border-radius: var(--dm-radius); padding: 16px; box-shadow: var(--dm-shadow-sm); margin-bottom: 16px;
}
body.dmgk #shop-sidebar .widget-title { font-size: 15px !important; font-weight: 700; text-transform: none !important; color: var(--dm-ink); }
body.dmgk .woocommerce-pagination .page-numbers li > * {
	border-radius: 10px !important; min-width: 40px; height: 40px; line-height: 38px !important; border: 1.5px solid var(--dm-line) !important;
	background: #fff; color: var(--dm-ink) !important; font-weight: 600;
}
body.dmgk .woocommerce-pagination .page-numbers li > .current { background: var(--dm-brand) !important; border-color: var(--dm-brand) !important; color: #fff !important; }

/* ==========================================================================
   SINGLE PRODUCT
   ========================================================================== */
body.dmgk.single-product .product-main { padding-top: 16px !important; }
body.dmgk.single-product .product-main > .row,
body.dmgk.single-product .product-container > .product-main .row.content-row {
	background: #fff; border-radius: var(--dm-radius-lg); box-shadow: var(--dm-shadow-sm); padding-block: 16px;
	margin-inline: 0 !important;
}
body.dmgk.single-product .product-gallery .woocommerce-product-gallery__image img { border-radius: var(--dm-radius); }
body.dmgk.single-product .product-info .product-title {
	font-size: 22px !important; line-height: 1.3; font-weight: 800 !important; color: var(--dm-ink) !important; text-transform: none !important;
}
body.dmgk.single-product .product-info .is-divider { display: none; }
body.dmgk.single-product .product-short-description { line-height: 1.7; color: var(--dm-ink-2); }
body.dmgk.single-product .single_add_to_cart_button, body.dmgk.single-product .buy_now_button {
	border-radius: 999px !important; font-weight: 700 !important; text-transform: none !important;
}
body.dmgk.single-product .product-footer, body.dmgk.single-product .woocommerce-tabs {
	background: #fff; border-radius: var(--dm-radius-lg); box-shadow: var(--dm-shadow-sm);
}
body.dmgk.single-product .product-footer .woocommerce-tabs { padding: 8px 20px 20px; }
body.dmgk.single-product .product-footer .woocommerce-tabs .tabs > li > a {
	text-transform: none !important; font-weight: 700; font-size: 15px;
}
body.dmgk.single-product .entry-content, body.dmgk.single-product .woocommerce-Tabs-panel { line-height: 1.75; }
body.dmgk.single-product .woocommerce-Tabs-panel img { border-radius: var(--dm-radius-sm); height: auto; }
body.dmgk.single-product .woocommerce-Tabs-panel table { display: block; overflow-x: auto; }
body.dmgk.single-product .related h3, body.dmgk.single-product .related .product-section-title {
	font-size: 20px !important; font-weight: 800; text-transform: none !important; color: var(--dm-ink);
}
@media (min-width: 850px) {
	body.dmgk.single-product .product-info .product-title { font-size: 28px !important; }
}

/* Buy box */
.dmgk-buybox { display: grid; gap: 12px; margin-top: 4px; }
.dmgk-buybox__price { margin: 0; }
.dmgk-buybox__price .dmgk-price-call { font-size: 14px; padding: 6px 12px; }
.dmgk-buybox__actions { display: grid; gap: 8px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.dmgk-buybox__actions .dmgk-btn { min-width: 0; padding: 0 12px; }
@media (max-width: 549px) { .dmgk-buybox__actions { grid-template-columns: 1fr; } }
.dmgk-buybox__tragop {
	display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--dm-radius);
	background: linear-gradient(90deg, #fff7db, #fffbea); border: 1px solid #ffe08a; color: var(--dm-ink) !important; text-decoration: none;
}
.dmgk-buybox__tragop strong { color: #8a5a00; }
.dmgk-buybox__tragop span { margin-left: auto; font-size: 13px; font-weight: 600; color: #8a5a00; }
.dmgk-buybox__tragop .dmgk-ico { color: #8a5a00; }
.dmgk-buybox__promises { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dmgk-buybox__promises li {
	display: flex; align-items: center; gap: 8px; margin: 0 !important; padding: 10px; border-radius: 12px;
	background: var(--dm-surface); font-size: 13px; font-weight: 600; color: var(--dm-ink-2); line-height: 1.3;
}
.dmgk-buybox__promises .dmgk-ico { color: var(--dm-brand); }
.dmgk-buybox__hotline { margin: 0; font-size: 13.5px; color: var(--dm-muted); }
.dmgk-buybox__hotline a { font-weight: 700; color: var(--dm-brand) !important; }

/* Product description tabs (legacy #title_tab_scroll_pro anchors) */
body.dmgk #title_tab_scroll_pro {
	display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 14px 16px !important;
	height: auto !important; float: none !important; margin-bottom: 0 !important; box-sizing: border-box;
	background: #fff !important; border: 0 !important; border-bottom: 1px solid var(--dm-line) !important; border-radius: var(--dm-radius-lg) var(--dm-radius-lg) 0 0;
}
body.dmgk #title_tab_scroll_pro::-webkit-scrollbar { display: none; }
body.dmgk #title_tab_scroll_pro a {
	flex: none; padding: 8px 16px !important; border-radius: 999px !important; border: 1.5px solid var(--dm-line) !important;
	background: #fff !important; color: var(--dm-ink-2) !important; font-weight: 600; font-size: 14px; margin: 0 !important; line-height: 1.3 !important;
	float: none !important; display: inline-flex !important; align-items: center;
}
body.dmgk #title_tab_scroll_pro a.current, body.dmgk #title_tab_scroll_pro a:hover {
	background: var(--dm-ink) !important; border-color: var(--dm-ink) !important; color: #fff !important;
}
body.dmgk.single-product .product-footer { padding: 0 !important; margin-top: 16px; overflow: hidden; }
body.dmgk.single-product .product-page-accordian { padding: 8px 20px 24px; }
body.dmgk .title-tab {
	font-size: 20px !important; font-weight: 800 !important; text-transform: none !important; color: var(--dm-ink) !important;
	border: 0 !important; padding: 12px 0 0 !important; margin-bottom: 8px !important; background: none !important;
}
body.dmgk .title-tab::before, body.dmgk .title-tab::after { display: none !important; }
body.dmgk.single-product .product-page-accordian h3:not(.title-tab) { font-size: 17px; font-weight: 700; margin-top: 1.2em; }
body.dmgk.single-product .product-page-accordian ul li { margin-bottom: 6px; }
body.dmgk.single-product .product-page-accordian ul.active {
	background: var(--dm-surface); border-radius: var(--dm-radius); padding: 14px 14px 14px 34px; margin-left: 0;
}

/* Product sidebar (legacy red headings) */
body.dmgk #product-sidebar .widget { background: #fff; border-radius: var(--dm-radius-lg); padding: 16px; box-shadow: var(--dm-shadow-sm); }
body.dmgk h3.title-chi-tiet {
	background: none !important; color: var(--dm-ink) !important; padding: 0 0 10px !important; margin: 0 0 12px !important;
	font-size: 15px !important; font-weight: 800 !important; text-transform: none !important; text-align: left !important;
	border-bottom: 1px solid var(--dm-line) !important;
}
body.dmgk h3.title-chi-tiet:not(:first-child) { margin-top: 20px !important; }
body.dmgk #product-sidebar .icon-box h6 { font-size: 12px; font-weight: 600; text-transform: none; color: var(--dm-ink-2); line-height: 1.35; }
body.dmgk #product-sidebar .icon-box h6 span { font-size: 100% !important; }
body.dmgk #product-sidebar .product-small .box-image { aspect-ratio: 4 / 3; }

/* Sticky purchase CTA on product pages (mobile) */
.dmgk-cta-bar { display: none; }
@media (max-width: 849px) {
	.dmgk-cta-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
		display: grid; grid-template-columns: auto 1fr; gap: 8px;
		padding: 10px var(--dm-gutter) calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
		border-top: 1px solid var(--dm-line); box-shadow: 0 -8px 24px -12px rgba(16, 24, 40, .25);
	}
	.dmgk-cta-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
	.dmgk-cta-bar .dmgk-btn { min-height: 48px; min-width: 0; padding: 0 12px; }
	.dmgk-cta-bar .dmgk-btn small { font-size: 12px; font-weight: 500; opacity: .85; }
	body.dmgk.single-product { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   BLOG / PAGES
   ========================================================================== */
body.dmgk .blog-archive .post-item .col-inner, body.dmgk .blog-wrapper .post-item .col-inner {
	background: #fff; border-radius: var(--dm-radius); overflow: hidden; box-shadow: var(--dm-shadow-sm);
}
body.dmgk .post-item .box-image::before { display: none !important; }
body.dmgk .blog-archive .post-item .post-title, body.dmgk .post-item .post-title { font-weight: 700 !important; line-height: 1.45; color: var(--dm-ink); }
body.dmgk.single-post .article-inner, body.dmgk.page:not(.home) .page-wrapper .col-inner > .entry-content {
	background: #fff; border-radius: var(--dm-radius-lg); box-shadow: var(--dm-shadow-sm); padding: 20px;
}
body.dmgk.single-post .entry-content { font-size: 16px; line-height: 1.8; color: var(--dm-ink-2); }
body.dmgk.single-post .entry-content img { border-radius: var(--dm-radius-sm); height: auto; }
body.dmgk.single-post h1.entry-title { font-size: 26px !important; font-weight: 800; line-height: 1.3; text-transform: none !important; }
body.dmgk #secondary .widget, body.dmgk .post-sidebar .widget { background: #fff; border-radius: var(--dm-radius); padding: 16px; box-shadow: var(--dm-shadow-sm); }

/* Forms */
body.dmgk input[type="text"], body.dmgk input[type="email"], body.dmgk input[type="tel"], body.dmgk input[type="search"],
body.dmgk input[type="password"], body.dmgk input[type="number"], body.dmgk textarea, body.dmgk select {
	border-radius: 10px; border-color: var(--dm-line); box-shadow: none;
}
body.dmgk input:focus, body.dmgk textarea:focus, body.dmgk select:focus { border-color: var(--dm-brand) !important; box-shadow: 0 0 0 3px rgba(208, 17, 27, .1) !important; }
body.dmgk .button.primary, body.dmgk button.primary, body.dmgk input[type="submit"].primary, body.dmgk .checkout-button {
	border-radius: 999px !important; text-transform: none !important; font-weight: 700 !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
body.dmgk #footer { background: #12141a; }
body.dmgk #footer .absolute-footer { display: none; }
.dmgk-footer { color: #aab1bd; font-size: 14px; }
.dmgk-footer a { color: #d9dee6 !important; text-decoration: none; }
.dmgk-footer a:hover { color: #fff !important; }
.dmgk-footer__cta { background: linear-gradient(100deg, var(--dm-brand-700), var(--dm-brand)); color: #fff; }
.dmgk-footer__cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
.dmgk-footer p.dmgk-footer__cta-title { margin: 0; font-size: 19px; font-weight: 800; color: #fff; line-height: 1.3; }
.dmgk-footer p.dmgk-footer__cta-sub { margin: 4px 0 0; color: rgba(255, 255, 255, .88); }
.dmgk-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dmgk-footer__cta-actions .dmgk-btn--light { color: var(--dm-brand) !important; }
.dmgk-footer__cta-actions .dmgk-btn--outline-light { color: #fff !important; }

.dmgk-footer__grid { display: grid; gap: 28px; padding-block: 36px 24px; }
body.dmgk .dmgk-footer h2 { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0; }
.dmgk-footer ul { list-style: none; margin: 0; padding: 0; }
.dmgk-footer li { margin: 0 0 10px; }
.dmgk-footer p { color: #aab1bd; line-height: 1.7; margin: 0 0 12px; }
.dmgk-footer__logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 14px; }
.dmgk-footer__logo img { display: block; max-height: 48px; width: auto; }
.dmgk-footer__nap { font-style: normal; display: grid; gap: 10px; }
.dmgk-footer__nap span { display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.dmgk-footer__nap .dmgk-ico { color: var(--dm-accent); margin-top: 2px; }
.dmgk-footer__nap a { font-weight: 600; }
.dmgk-footer__inline { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px !important; }
.dmgk-footer__inline li { margin: 0; }
.dmgk-footer__form form p { display: flex; gap: 8px; margin: 0; }
.dmgk-footer__form .wpcf7-form-control-wrap { flex: 1; min-width: 0; }
.dmgk-footer__form input[type="email"] {
	height: 46px; margin: 0; width: 100%; border-radius: 999px !important; background: #1f232c !important; border: 1px solid #343a46 !important;
	color: #fff !important; padding-inline: 18px;
}
.dmgk-footer__form input[type="email"]::placeholder { color: #8a93a3; }
.dmgk-footer__form input[type="submit"] {
	height: 46px; margin: 0; padding: 0 20px; border-radius: 999px !important; background: var(--dm-brand) !important; color: #fff !important;
	font-weight: 700; text-transform: none; border: 0;
}
.dmgk-footer__form .wpcf7-spinner { position: absolute; }
.dmgk-footer__form .wpcf7-response-output { margin: 8px 0 0 !important; border-radius: 10px; font-size: 13px; color: #d9dee6; }
.dmgk-footer__bottom { border-top: 1px solid #242833; }
.dmgk-footer__bottom .dmgk-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-block: 16px; }
.dmgk-footer__bottom p { margin: 0; font-size: 13px; color: #7c8594; }
.dmgk-footer__brand > p { margin-bottom: 16px; }
@media (max-width: 849px) {
	/* Two link columns side by side on phones instead of one long list */
	.dmgk-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
	.dmgk-footer__brand, .dmgk-footer__grid > section:last-child { grid-column: 1 / -1; }
}
@media (min-width: 850px) {
	.dmgk-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-block: 48px 32px; }
	.dmgk-footer__cta-title { font-size: 22px; }
}
@media (max-width: 849px) {
	body.dmgk #footer { padding-bottom: calc(var(--dm-tabbar-h) + env(safe-area-inset-bottom)); }
	.dmgk-footer__cta-actions { width: 100%; }
	.dmgk-footer__cta-actions .dmgk-btn { flex: 1; }
}

/* ==========================================================================
   MOBILE TAB BAR
   ========================================================================== */
.dmgk-tabbar { display: none; }
@media (max-width: 849px) {
	.dmgk-tabbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
		display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
		height: calc(var(--dm-tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
		background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px);
		border-top: 1px solid var(--dm-line); box-shadow: 0 -8px 24px -14px rgba(16, 24, 40, .3);
	}
	.dmgk-tabbar a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
		height: var(--dm-tabbar-h); font-size: 11px; font-weight: 600; color: var(--dm-muted) !important; text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}
	.dmgk-tabbar a[aria-current="page"] { color: var(--dm-brand) !important; }
	.dmgk-tabbar__call { position: relative; }
	.dmgk-tabbar__fab {
		display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%;
		background: var(--dm-brand); color: #fff; border: 4px solid #fff; box-shadow: 0 8px 18px -6px rgba(208, 17, 27, .7);
		animation: dmgk-pulse 2.4s infinite;
	}
	.dmgk-tabbar__call span:last-child { color: var(--dm-brand); }
	body.dmgk:not(.single-product) { padding-bottom: 0; }
	body.dmgk:not(.single-product) #wrapper { padding-bottom: 0; }

	/* The tab bar already offers call + Zalo: hide duplicate floating buttons, lift the rest above it. */
	body.dmgk #ws247-aio-ct-button-show-all-container, body.dmgk #ft-contact-icons { display: none !important; }
	body.dmgk .zalo-chat-widget { bottom: calc(var(--dm-tabbar-h) + 14px + env(safe-area-inset-bottom)) !important; }
	body.dmgk .back-to-top { bottom: calc(var(--dm-tabbar-h) + 14px + env(safe-area-inset-bottom)) !important; }
}
@keyframes dmgk-pulse {
	0%, 100% { box-shadow: 0 8px 18px -6px rgba(208, 17, 27, .7), 0 0 0 0 rgba(208, 17, 27, .35); }
	50% { box-shadow: 0 8px 18px -6px rgba(208, 17, 27, .7), 0 0 0 10px rgba(208, 17, 27, 0); }
}
@media (prefers-reduced-motion: reduce) {
	.dmgk-tabbar__fab { animation: none; }
	.dmgk-card, .dmgk-cats a, body.dmgk .products .product-small.col > .col-inner { transition: none; }
}

/* ==========================================================================
   PRODUCT REVIEWS
   ========================================================================== */
.dmgk-tab-section { scroll-margin-top: 90px; padding-top: 8px; }
.dmgk-tab-section + .dmgk-tab-section { border-top: 1px solid var(--dm-line); margin-top: 20px; padding-top: 20px; }
body.dmgk #reviews { margin: 0 !important; }
body.dmgk #reviews .woocommerce-Reviews-title { display: none; } /* tab title already says "Đánh giá (n)" */
body.dmgk #reviews #comments, body.dmgk #reviews #review_form_wrapper { padding: 0 !important; flex-basis: 100% !important; max-width: 100% !important; }
body.dmgk #reviews .woocommerce-noreviews { margin: 0 0 12px; color: var(--dm-muted); }
body.dmgk #reviews .commentlist { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
body.dmgk #reviews .commentlist li { margin: 0; padding: 14px 16px; border-radius: var(--dm-radius); background: var(--dm-surface); }
body.dmgk #reviews .commentlist .avatar { border-radius: 50%; }
body.dmgk #reviews .review-form-inner.has-border {
	border: 1px solid var(--dm-line) !important; border-radius: var(--dm-radius-lg); padding: 20px !important; background: #fff;
}
body.dmgk #reviews .comment-reply-title { font-size: 17px !important; font-weight: 800; color: var(--dm-ink); margin: 0 0 6px; text-transform: none; }
body.dmgk .dmgk-review-note { font-size: 13px; color: var(--dm-muted); margin: 0 0 14px; }
body.dmgk #reviews label { font-size: 14px; font-weight: 600; color: var(--dm-ink); text-transform: none; }
body.dmgk #reviews .required { color: var(--dm-brand); }
body.dmgk #reviews textarea { min-height: 110px; border-radius: 12px; padding: 12px 14px; }
body.dmgk #reviews input[type="text"], body.dmgk #reviews input[type="email"] { height: 46px; border-radius: 12px; }
body.dmgk #reviews .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
body.dmgk #reviews .comment-form-cookies-consent label { font-weight: 400; color: var(--dm-muted); font-size: 13px; }
body.dmgk #reviews .form-submit input[type="submit"] { min-height: 46px; padding: 0 26px !important; font-size: 15px; margin: 0; }
/* Big, tappable stars */
body.dmgk #reviews p.stars { margin: 4px 0 14px; }
body.dmgk #reviews p.stars span { display: inline-flex; gap: 4px; }
body.dmgk #reviews p.stars a {
	position: relative; width: 36px !important; height: 36px; border: 0 !important; margin: 0 !important; padding: 0 !important;
	text-indent: -9999px; overflow: hidden; color: #d7dbe2;
}
body.dmgk #reviews p.stars a::before {
	content: "\2605" !important; font-family: inherit !important; position: absolute; inset: 0; text-indent: 0;
	font-size: 32px; line-height: 36px; text-align: center; color: inherit; opacity: 1 !important; transition: transform .15s, color .15s;
}
body.dmgk #reviews p.stars a:hover::before { transform: scale(1.12); }
body.dmgk #reviews p.stars:hover a::before, body.dmgk #reviews p.stars.selected a::before { color: #f5a524; }
body.dmgk #reviews p.stars:hover a:hover ~ a::before,
body.dmgk #reviews p.stars.selected a.active ~ a::before { color: #d7dbe2; }
body.dmgk #reviews p.stars.selected a.active::before { color: #f5a524; }
.dmgk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   CONTENT PAGES (about / contact / promo / news)
   ========================================================================== */
body.dmgk-page #main { background: var(--dm-surface); }
body.dmgk-page .page-title, body.dmgk-page .page-header { display: none; }
.dmgk-pagewrap { padding-bottom: 32px; }
.dmgk-muted { color: var(--dm-muted); }
.dmgk-center { text-align: center; margin-top: 14px; }

/* Hero */
.dmgk-phero { padding: 18px 0 22px; background: linear-gradient(180deg, #fff, var(--dm-surface)); border-bottom: 1px solid var(--dm-line); }
.dmgk-phero__title { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 800; color: var(--dm-ink); }
.dmgk-phero__title span { color: var(--dm-brand); }
.dmgk-phero__lead { margin: 10px 0 0; max-width: 720px; font-size: 15.5px; line-height: 1.65; color: var(--dm-muted); }
.dmgk-crumbs { font-size: 13px; color: var(--dm-muted); margin-bottom: 14px; }
.dmgk-crumbs a { color: var(--dm-muted) !important; text-decoration: none; }
.dmgk-crumbs a:hover { color: var(--dm-brand) !important; }
.dmgk-crumbs .separator { margin: 0 6px; opacity: .6; }
.dmgk-crumbs p { margin: 0; }
@media (min-width: 850px) {
	.dmgk-phero { padding: 26px 0 34px; }
	.dmgk-phero__title { font-size: 40px; }
}

/* Panes / splits */
.dmgk-card-pane { background: #fff; border-radius: var(--dm-radius-lg); padding: 20px; box-shadow: var(--dm-shadow-sm); }
.dmgk-card-pane > p { line-height: 1.75; }
.dmgk-card-pane .dmgk-section__title { margin-bottom: 12px; }
.dmgk-card-pane--flush { padding: 0; overflow: hidden; }
.dmgk-split { display: grid; gap: 16px; }
@media (min-width: 850px) {
	.dmgk-card-pane { padding: 32px; }
	.dmgk-card-pane--flush { padding: 0; }
	.dmgk-split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
	.dmgk-split--map { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
	.dmgk-split--contact { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

/* Stats */
.dmgk-stats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dmgk-stats li { margin: 0; background: #fff; border-radius: var(--dm-radius); padding: 16px; box-shadow: var(--dm-shadow-sm); text-align: center; }
.dmgk-stats strong { display: block; font-size: 26px; font-weight: 800; color: var(--dm-brand); line-height: 1.1; }
.dmgk-stats span { font-size: 13px; color: var(--dm-muted); font-weight: 500; }
@media (min-width: 850px) { .dmgk-stats { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; } .dmgk-stats li { padding: 22px; } .dmgk-stats strong { font-size: 34px; } }

/* Brand card */
.dmgk-brandcard {
	border-radius: var(--dm-radius-lg); padding: 24px; color: #fff; display: flex; flex-direction: column; gap: 14px; justify-content: center;
	background: radial-gradient(circle at 85% 10%, rgba(255, 194, 14, .35), transparent 45%), linear-gradient(150deg, var(--dm-brand), var(--dm-brand-700));
	box-shadow: var(--dm-shadow);
}
.dmgk-brandcard__logo { background: #fff; border-radius: 14px; padding: 10px 14px; align-self: flex-start; }
.dmgk-brandcard__logo img { display: block; max-height: 56px; width: auto; }
.dmgk-brandcard__slogan { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.35; color: #fff; }
.dmgk-brandcard address { font-style: normal; display: grid; gap: 8px; }
.dmgk-brandcard address span { display: flex; align-items: center; gap: 8px; }
.dmgk-brandcard a { color: #fff !important; font-weight: 700; }

/* Feature cards */
.dmgk-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dmgk-features li { margin: 0; background: #fff; border-radius: var(--dm-radius); padding: 16px; box-shadow: var(--dm-shadow-sm); }
.dmgk-features__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--dm-brand-50); color: var(--dm-brand); margin-bottom: 10px; }
.dmgk-features h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.dmgk-features p { margin: 0; font-size: 13.5px; color: var(--dm-muted); line-height: 1.5; }
@media (min-width: 850px) {
	.dmgk-features { grid-template-columns: repeat(4, 1fr); gap: 16px; }
	.dmgk-features--6 { grid-template-columns: repeat(3, 1fr); }
	.dmgk-features li { padding: 22px; }
	.dmgk-features h3 { font-size: 17px; }
}

/* Steps */
.dmgk-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.dmgk-steps li { counter-increment: s; position: relative; margin: 0; background: #fff; border-radius: var(--dm-radius); padding: 18px 18px 18px 66px; box-shadow: var(--dm-shadow-sm); }
.dmgk-steps li::before {
	content: counter(s); position: absolute; left: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%;
	display: grid; place-items: center; background: var(--dm-ink); color: #fff; font-weight: 800;
}
.dmgk-steps h3 { margin: 0 0 4px; font-size: 16px; }
.dmgk-steps p { margin: 0; font-size: 14px; color: var(--dm-muted); line-height: 1.55; }
@media (min-width: 850px) {
	.dmgk-steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
	.dmgk-steps li { padding: 64px 20px 22px; }
	.dmgk-steps li::before { left: 20px; top: 20px; }
}

/* Brands */
.dmgk-brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dmgk-brands li { margin: 0; }
.dmgk-brands a {
	display: grid; place-items: center; height: 72px; padding: 10px; background: #fff; border-radius: var(--dm-radius);
	box-shadow: var(--dm-shadow-sm); text-decoration: none; transition: transform .2s var(--dm-ease), box-shadow .2s;
}
.dmgk-brands a:hover { transform: translateY(-3px); box-shadow: var(--dm-shadow); }
.dmgk-brands img { max-height: 44px; width: auto; object-fit: contain; }
.dmgk-brands span { font-weight: 800; font-size: 15px; color: var(--dm-ink); letter-spacing: .02em; text-transform: uppercase; }
@media (min-width: 600px) { .dmgk-brands { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 850px) { .dmgk-brands { grid-template-columns: repeat(6, 1fr); gap: 14px; } .dmgk-brands a { height: 88px; } }

/* NAP + map */
.dmgk-nap { font-style: normal; display: grid; gap: 10px; margin: 0 0 16px; line-height: 1.5; }
.dmgk-nap strong { color: var(--dm-ink); font-size: 16px; }
.dmgk-nap span { display: flex; gap: 8px; align-items: flex-start; }
.dmgk-nap .dmgk-ico { color: var(--dm-brand); margin-top: 2px; }
.dmgk-nap a { font-weight: 700; color: var(--dm-brand) !important; }
.dmgk-nap--pad { padding: 18px 20px 20px; margin: 0; }
.dmgk-mapbox { border-radius: var(--dm-radius-lg); overflow: hidden; min-height: 260px; background: #e9ecf1; box-shadow: var(--dm-shadow-sm); }
.dmgk-card-pane--flush .dmgk-mapbox { border-radius: 0; box-shadow: none; }
.dmgk-mapbox--tall { min-height: 300px; }
.dmgk-map { display: block; width: 100%; height: 100%; min-height: inherit; border: 0; }

/* CTA band */
.dmgk-ctaband {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px;
	border-radius: var(--dm-radius-lg); color: #fff; box-shadow: var(--dm-shadow);
	background: radial-gradient(circle at 90% 0%, rgba(255, 194, 14, .3), transparent 40%), linear-gradient(110deg, var(--dm-brand-700), var(--dm-brand));
}
body.dmgk .dmgk-ctaband h2 { margin: 0; color: #fff; font-size: 20px; font-weight: 800; }
.dmgk-ctaband p { margin: 4px 0 0; color: rgba(255, 255, 255, .88); }
.dmgk-ctaband__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dmgk-ctaband .dmgk-btn--light { color: var(--dm-brand) !important; }
@media (max-width: 599px) { .dmgk-ctaband__actions { width: 100%; } .dmgk-ctaband__actions .dmgk-btn { flex: 1; } }
@media (min-width: 850px) { .dmgk-ctaband { padding: 32px 36px; } body.dmgk .dmgk-ctaband h2 { font-size: 24px; } }

/* Contact channels */
.dmgk-channels { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dmgk-channels li { margin: 0; }
.dmgk-channel {
	display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; background: #fff; border-radius: var(--dm-radius);
	box-shadow: var(--dm-shadow-sm); text-decoration: none !important; color: var(--dm-ink-2) !important; transition: transform .2s var(--dm-ease), box-shadow .2s;
}
.dmgk-channel:hover { transform: translateY(-3px); box-shadow: var(--dm-shadow); }
.dmgk-channel__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--dm-brand-50); color: var(--dm-brand); margin-bottom: 6px; }
.dmgk-channel__ico--blue { background: #eaf1fb; color: var(--dm-blue); }
.dmgk-channel__ico--dark { background: #eceef2; color: var(--dm-ink); }
.dmgk-channel__label { font-size: 12.5px; font-weight: 600; color: var(--dm-muted); }
.dmgk-channel strong { font-size: 16px; color: var(--dm-ink); line-height: 1.35; word-break: break-word; }
.dmgk-channel small { font-size: 12.5px; color: var(--dm-muted); }
.dmgk-channel--primary { background: linear-gradient(150deg, var(--dm-brand), var(--dm-brand-700)); color: #fff !important; }
.dmgk-channel--primary .dmgk-channel__ico { background: rgba(255, 255, 255, .18); color: #fff; }
.dmgk-channel--primary .dmgk-channel__label, .dmgk-channel--primary small { color: rgba(255, 255, 255, .85); }
.dmgk-channel--primary strong { color: #fff; font-size: 19px; }
@media (min-width: 850px) { .dmgk-channels { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; } .dmgk-channel { padding: 20px; } }

/* Forms (Contact Form 7) */
.dmgk-form label { display: block; font-size: 14px; font-weight: 600; color: var(--dm-ink); margin-bottom: 12px; }
.dmgk-form input[type="text"], .dmgk-form input[type="email"], .dmgk-form input[type="tel"], .dmgk-form textarea {
	width: 100%; margin-top: 6px; height: 48px; border-radius: 12px !important; background: var(--dm-surface); border: 1.5px solid transparent !important; box-shadow: none;
	padding: 0 14px; font-size: 15px;
}
.dmgk-form textarea { height: 130px; padding: 12px 14px; }
.dmgk-form input:focus, .dmgk-form textarea:focus { background: #fff; }
.dmgk-form input[type="submit"] {
	min-height: 48px; padding: 0 28px; border-radius: 999px !important; background: var(--dm-brand) !important; color: #fff !important;
	font-weight: 700; text-transform: none; border: 0; margin: 4px 0 0;
}
.dmgk-form input[type="submit"]:hover { background: var(--dm-brand-600) !important; }
.dmgk-form .wpcf7-response-output { border-radius: 12px; margin: 12px 0 0 !important; padding: 10px 14px !important; font-size: 14px; }
.dmgk-form--inline form p { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.dmgk-form--inline .wpcf7-form-control-wrap { flex: 1 1 200px; }
.dmgk-form--inline input[type="tel"] { margin: 0; background: #fff; }
.dmgk-form--inline input[type="submit"] { margin: 0; }

/* Promo hero */
.dmgk-promohero {
	color: #fff; padding: 22px 0 30px;
	background: radial-gradient(circle at 85% 20%, rgba(255, 194, 14, .45), transparent 40%), linear-gradient(120deg, var(--dm-brand-700), var(--dm-brand) 60%, #e5392f);
}
.dmgk-promohero .dmgk-eyebrow { color: var(--dm-accent); }
body.dmgk .dmgk-promohero h1 { margin: 0; color: #fff; font-size: 30px; line-height: 1.2; font-weight: 800; }
.dmgk-promohero h1 span { color: var(--dm-accent); }
.dmgk-promohero p { color: rgba(255, 255, 255, .9); max-width: 640px; line-height: 1.6; margin: 10px 0 0; }
.dmgk-promohero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dmgk-promohero .dmgk-btn--light { color: var(--dm-brand) !important; }
.dmgk-crumbs--light, .dmgk-crumbs--light a { color: rgba(255, 255, 255, .8) !important; }
@media (min-width: 850px) { .dmgk-promohero { padding: 30px 0 48px; } body.dmgk .dmgk-promohero h1 { font-size: 44px; } }
@media (max-width: 599px) { .dmgk-promohero__cta .dmgk-btn { flex: 1 1 100%; } }

.dmgk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 850px) { .dmgk-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .dmgk-grid { grid-template-columns: repeat(5, 1fr); } }

.dmgk-empty { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--dm-radius-lg); padding: 20px; box-shadow: var(--dm-shadow-sm); border: 1.5px dashed #f3c1c3; }
.dmgk-empty__ico { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--dm-brand-50); color: var(--dm-brand); }
body.dmgk .dmgk-empty h2 { margin: 0 0 6px; font-size: 18px; }
.dmgk-empty p { margin: 0; line-height: 1.6; }
.dmgk-empty a { font-weight: 700; color: var(--dm-brand) !important; }

.dmgk-subscribe { display: grid; gap: 14px; align-items: center; padding: 22px; border-radius: var(--dm-radius-lg); background: #1a1d24; color: #cfd4dc; }
body.dmgk .dmgk-subscribe h2 { margin: 0; color: #fff; font-size: 20px; }
.dmgk-subscribe p { margin: 4px 0 0; }
@media (min-width: 850px) { .dmgk-subscribe { grid-template-columns: 1fr 1.1fr; padding: 32px 36px; } }

/* News */
.dmgk-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 16px 0 4px; }
.dmgk-chips::-webkit-scrollbar { display: none; }
.dmgk-chips a {
	flex: none; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--dm-line);
	color: var(--dm-ink-2) !important; font-weight: 600; font-size: 14px; text-decoration: none;
}
.dmgk-chips a small { color: var(--dm-muted); font-weight: 500; margin-left: 2px; }
.dmgk-chips a[aria-current="page"] { background: var(--dm-ink); border-color: var(--dm-ink); color: #fff !important; }
.dmgk-chips a[aria-current="page"] small { color: rgba(255, 255, 255, .7); }

.dmgk-postgrid { display: grid; gap: 14px; margin-top: 16px; }
@media (min-width: 600px) { .dmgk-postgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 850px) { .dmgk-postgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; } }

.dmgk-pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--dm-radius-lg); overflow: hidden; box-shadow: var(--dm-shadow-sm); transition: transform .2s var(--dm-ease), box-shadow .2s; }
.dmgk-pcard:hover { transform: translateY(-4px); box-shadow: var(--dm-shadow-lg); }
.dmgk-pcard__media { display: block; aspect-ratio: 16 / 10; background: var(--dm-surface); overflow: hidden; }
.dmgk-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--dm-ease); }
.dmgk-pcard:hover .dmgk-pcard__media img { transform: scale(1.04); }
.dmgk-pcard__ph { display: grid; place-items: center; height: 100%; color: #c3c8d1; }
.dmgk-pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; flex: 1; }
.dmgk-pcard__meta { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 12.5px; color: var(--dm-muted); }
.dmgk-pcard__cat { padding: 2px 8px; border-radius: 6px; background: var(--dm-brand-50); color: var(--dm-brand); font-weight: 700; }
body.dmgk .dmgk-pcard__title { margin: 0; font-size: 17px; line-height: 1.4; font-weight: 700; }
.dmgk-pcard__title a { color: var(--dm-ink) !important; text-decoration: none; }
.dmgk-pcard__title a:hover { color: var(--dm-brand) !important; }
.dmgk-pcard__excerpt { margin: 0; color: var(--dm-muted); line-height: 1.6; font-size: 14px; }
.dmgk-pcard .dmgk-link { margin-top: auto; }
@media (min-width: 850px) {
	.dmgk-pcard--lead { grid-column: 1 / -1; flex-direction: row; }
	.dmgk-pcard--lead .dmgk-pcard__media { flex: 0 0 58%; aspect-ratio: auto; min-height: 340px; }
	.dmgk-pcard--lead .dmgk-pcard__body { padding: 32px; justify-content: center; }
	body.dmgk .dmgk-pcard--lead .dmgk-pcard__title { font-size: 26px; }
	.dmgk-pcard--lead .dmgk-pcard__excerpt { font-size: 15.5px; }
}

.dmgk-pagination { margin-top: 24px; }
.dmgk-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.dmgk-pagination .page-numbers {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; background: #fff;
	border: 1.5px solid var(--dm-line); color: var(--dm-ink) !important; font-weight: 600; text-decoration: none;
}
.dmgk-pagination .page-numbers.current { background: var(--dm-brand); border-color: var(--dm-brand); color: #fff !important; }

.dmgk-prose { line-height: 1.8; }
.dmgk-prose img { border-radius: var(--dm-radius-sm); height: auto; }

/* ==========================================================================
   BLOG LAYOUT + SIDEBAR + ARTICLE
   ========================================================================== */
.dmgk-layout { display: grid; gap: 20px; margin-top: 16px; }
.dmgk-layout__main { min-width: 0; }
@media (min-width: 1000px) {
	.dmgk-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; margin-top: 24px; }
	.dmgk-sidebar { position: sticky; top: 96px; }
	.dmgk-layout .dmgk-postgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
	.dmgk-layout .dmgk-pcard--lead .dmgk-pcard__media { flex-basis: 52%; min-height: 300px; }
}
@media (min-width: 850px) and (max-width: 999px) { .dmgk-layout .dmgk-postgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dmgk-postgrid--2 { margin-top: 0; }
@media (min-width: 600px) { .dmgk-postgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sidebar */
.dmgk-sidebar { display: grid; gap: 16px; align-content: start; }
.dmgk-sbox { background: #fff; border-radius: var(--dm-radius-lg); padding: 18px; box-shadow: var(--dm-shadow-sm); }
body.dmgk .dmgk-sbox__title {
	margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--dm-line);
	font-size: 15px; font-weight: 800; color: var(--dm-ink); display: flex; align-items: center; gap: 8px;
}
body.dmgk .dmgk-sbox__title::before { content: ""; width: 4px; height: 16px; border-radius: 4px; background: var(--dm-brand); }

.dmgk-search { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; }
.dmgk-search .dmgk-ico { color: var(--dm-muted); }
body.dmgk .dmgk-search input[type="search"] {
	flex: 1; min-width: 0; height: 42px; margin: 0; border: 0 !important; box-shadow: none !important; background: transparent; padding: 0; font-size: 14.5px;
}

.dmgk-sbox--cta {
	color: #fff; background: radial-gradient(circle at 90% 0%, rgba(255, 194, 14, .35), transparent 45%), linear-gradient(150deg, var(--dm-brand), var(--dm-brand-700));
	display: grid; gap: 8px;
}
.dmgk-sbox--cta .dmgk-eyebrow { color: var(--dm-accent); margin: 0; }
body.dmgk .dmgk-sbox--cta h2 { margin: 0; font-size: 19px; color: #fff; line-height: 1.3; }
.dmgk-sbox--cta p { margin: 0 0 6px; color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.55; }
.dmgk-sbox--cta .dmgk-btn { width: 100%; }
.dmgk-sbox--cta .dmgk-btn--light { color: var(--dm-brand) !important; }

.dmgk-mini-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dmgk-mini-posts li { margin: 0; }
.dmgk-mini-posts a { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.dmgk-mini-posts__img { flex: none; display: grid; place-items: center; width: 72px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--dm-surface); color: #c3c8d1; }
.dmgk-mini-posts__img img { width: 100%; height: 100%; object-fit: cover; }
.dmgk-mini-posts__txt { min-width: 0; display: grid; gap: 2px; }
.dmgk-mini-posts strong { font-size: 13.5px; line-height: 1.4; color: var(--dm-ink); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dmgk-mini-posts a:hover strong { color: var(--dm-brand); }
.dmgk-mini-posts time { font-size: 12px; color: var(--dm-muted); }

.dmgk-list { list-style: none; margin: 0; padding: 0; }
.dmgk-list li { margin: 0; }
.dmgk-list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--dm-line); color: var(--dm-ink-2) !important; text-decoration: none; font-size: 14.5px; }
.dmgk-list li:last-child a { border-bottom: 0; }
.dmgk-list a:hover { color: var(--dm-brand) !important; }
.dmgk-list small { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--dm-surface); color: var(--dm-muted); font-size: 12px; text-align: center; }

.dmgk-sb-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dmgk-sb-cats li { margin: 0; }
.dmgk-sb-cats a {
	display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; background: var(--dm-surface);
	font-size: 12.5px; font-weight: 600; color: var(--dm-ink) !important; text-decoration: none; line-height: 1.3; transition: background .15s;
}
.dmgk-sb-cats a:hover { background: var(--dm-brand-50); color: var(--dm-brand) !important; }
.dmgk-sb-cats__img { flex: none; width: 30px; height: 30px; display: grid; place-items: center; }
.dmgk-sb-cats__img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.dmgk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dmgk-tags a { padding: 5px 10px; border-radius: 8px; background: var(--dm-surface); color: var(--dm-ink-2) !important; font-size: 13px; text-decoration: none; }
.dmgk-tags a:hover { background: var(--dm-ink); color: #fff !important; }

/* Article */
.dmgk-phero--article .dmgk-pcard__cat { display: inline-block; margin-bottom: 10px; text-decoration: none; }
.dmgk-article__title { max-width: 900px; }
@media (min-width: 850px) { .dmgk-article__title { font-size: 36px !important; } }
.dmgk-article__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: 13.5px; color: var(--dm-muted); }
.dmgk-article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.dmgk-article__card { background: #fff; border-radius: var(--dm-radius-lg); box-shadow: var(--dm-shadow-sm); padding: 18px; }
@media (min-width: 850px) { .dmgk-article__card { padding: 36px 40px; } }
.dmgk-article__cover { margin: -18px -18px 20px; }
.dmgk-article__cover img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: var(--dm-radius-lg) var(--dm-radius-lg) 0 0; }
@media (min-width: 850px) { .dmgk-article__cover { margin: -36px -40px 28px; } }
.dmgk-article__lead { font-size: 17px; line-height: 1.7; color: var(--dm-ink); font-weight: 500; margin: 0 0 20px; }

.dmgk-article__content { font-size: 16.5px; line-height: 1.85; color: var(--dm-ink-2); }
.dmgk-article__content > * { max-width: 100%; }
body.dmgk .dmgk-article__content h2 { font-size: 23px; line-height: 1.35; margin: 1.8em 0 .6em; scroll-margin-top: 100px; font-weight: 800; }
body.dmgk .dmgk-article__content h3 { font-size: 19px; line-height: 1.4; margin: 1.5em 0 .5em; scroll-margin-top: 100px; font-weight: 700; }
.dmgk-article__content p { margin: 0 0 1.1em; }
.dmgk-article__content a { color: var(--dm-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(22, 82, 168, .35); }
.dmgk-article__content img { display: block; margin: 1.4em auto; border-radius: var(--dm-radius); height: auto; }
.dmgk-article__content figure, .dmgk-article__content .wp-caption { max-width: 100% !important; margin: 1.4em auto; }
.dmgk-article__content figcaption, .dmgk-article__content .wp-caption-text {
	text-align: center; font-size: 13.5px; color: var(--dm-muted); font-style: italic; margin-top: 8px; background: none !important; padding: 0 !important;
}
.dmgk-article__content ul, .dmgk-article__content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.dmgk-article__content li { margin-bottom: .45em; }
.dmgk-article__content blockquote {
	margin: 1.5em 0; padding: 16px 20px; border-left: 4px solid var(--dm-brand); background: var(--dm-brand-50); border-radius: 0 var(--dm-radius) var(--dm-radius) 0; font-style: normal; color: var(--dm-ink);
}
.dmgk-article__content table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 1.4em 0; }
.dmgk-article__content th, .dmgk-article__content td { border: 1px solid var(--dm-line); padding: 10px 12px; }
.dmgk-article__content th { background: var(--dm-surface); color: var(--dm-ink); }

/* TOC */
.dmgk-toc { margin: 0 0 24px; border: 1px solid var(--dm-line); border-radius: var(--dm-radius); background: var(--dm-surface); }
.dmgk-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 700; color: var(--dm-ink); }
.dmgk-toc summary::-webkit-details-marker { display: none; }
.dmgk-toc summary > span { display: inline-flex; align-items: center; gap: 8px; }
.dmgk-toc summary .dmgk-ico { color: var(--dm-brand); }
.dmgk-toc details[open] summary > .dmgk-ico { transform: rotate(180deg); }
.dmgk-toc ol { list-style: none; margin: 0; padding: 0 16px 14px; counter-reset: toc; }
.dmgk-toc li { margin: 0; }
.dmgk-toc a { display: block; padding: 6px 0; color: var(--dm-ink-2) !important; text-decoration: none; font-size: 14.5px; line-height: 1.45; }
.dmgk-toc a:hover { color: var(--dm-brand) !important; }
.dmgk-toc__l2 { counter-increment: toc; }
.dmgk-toc__l2 > a::before { content: counter(toc) ". "; font-weight: 700; color: var(--dm-brand); }
.dmgk-toc__l3 > a { padding-left: 20px; font-size: 13.5px; color: var(--dm-muted) !important; }

/* Article footer + share */
.dmgk-article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--dm-line); }
.dmgk-share { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--dm-muted); }
.dmgk-share a, .dmgk-share button {
	position: relative; display: grid; place-items: center; width: 38px; height: 38px; min-height: 0; margin: 0; padding: 0; border-radius: 50%;
	background: var(--dm-surface); color: var(--dm-ink-2) !important; border: 0; cursor: pointer; transition: background .15s, color .15s;
}
.dmgk-share a:hover, .dmgk-share button:hover { background: var(--dm-ink); color: #fff !important; }
.dmgk-share__ok { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 8px; border-radius: 6px; background: var(--dm-ink); color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.dmgk-share button.is-copied .dmgk-share__ok { opacity: 1; }

/* In-article CTA */
.dmgk-article__cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding: 20px;
	border-radius: var(--dm-radius-lg); background: #fff; box-shadow: var(--dm-shadow-sm); border: 1.5px solid #f6d0d2;
}
body.dmgk .dmgk-article__cta h2 { margin: 0; font-size: 18px; }
.dmgk-article__cta p { margin: 4px 0 0; color: var(--dm-muted); font-size: 14px; }
.dmgk-article__cta-actions { display: flex; gap: 8px; }
@media (max-width: 599px) { .dmgk-article__cta-actions { width: 100%; } .dmgk-article__cta-actions .dmgk-btn { flex: 1; } }

/* Comments on posts */
.dmgk-article__comments { background: #fff; border-radius: var(--dm-radius-lg); box-shadow: var(--dm-shadow-sm); padding: 20px; }
.dmgk-article__comments .comment-reply-title { font-size: 18px; font-weight: 800; }
.dmgk-article__comments input[type="submit"] { border-radius: 999px !important; background: var(--dm-brand) !important; color: #fff !important; text-transform: none; font-weight: 700; }

/* Old Flatsome blog chrome we replace */
body.dmgk-page--single .blog-single, body.dmgk-page--news .blog-archive { display: none; }

/* Contact: map fills its pane */
.dmgk-split--contact .dmgk-card-pane--flush { display: flex; flex-direction: column; }
.dmgk-split--contact .dmgk-card-pane--flush .dmgk-mapbox { flex: 1 1 auto; }
.dmgk-crumbs a + .separator, .dmgk-crumbs .separator { margin: 0 6px; opacity: .6; }
.dmgk-crumbs [aria-current="page"] { color: var(--dm-ink-2); }

/* ==========================================================================
   TOP BAR (replaces broken image)
   ========================================================================== */
body.dmgk #top-bar .flex-row { min-height: 36px; }
body.dmgk #top-bar .flex-left, body.dmgk #top-bar .flex-right { display: none; }
body.dmgk #top-bar .flex-center { flex: 1 1 auto; max-width: none; }
body.dmgk #top-bar .flex-center > .nav { width: 100%; justify-content: stretch; }
body.dmgk #top-bar .html_nav_position_text_top { width: 100%; padding: 0 !important; margin: 0 !important; }
.dmgk-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; font-size: 12.5px; color: rgba(255, 255, 255, .88); }
.dmgk-topbar__usp { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.dmgk-topbar__usp li { display: inline-flex; align-items: center; gap: 6px; margin: 0; white-space: nowrap; }
.dmgk-topbar__usp .dmgk-ico { color: var(--dm-accent); }
.dmgk-topbar__links { display: flex; align-items: center; gap: 2px; }
.dmgk-topbar__links a {
	padding: 4px 10px; border-radius: 999px; color: rgba(255, 255, 255, .9) !important; font-weight: 500; text-decoration: none; white-space: nowrap;
	text-transform: none; font-size: 12.5px; line-height: 1.4;
}
.dmgk-topbar__links a:hover { background: rgba(255, 255, 255, .14); color: #fff !important; }
.dmgk-topbar__links .dmgk-topbar__hot { margin-left: 6px; display: inline-flex; align-items: center; gap: 5px; background: var(--dm-accent); color: #3a2600 !important; font-weight: 700; }
.dmgk-topbar__links .dmgk-topbar__hot:hover { background: #ffd247; color: #3a2600 !important; }
@media (max-width: 1100px) { .dmgk-topbar__usp li:nth-child(3) { display: none; } }

/* ==========================================================================
   SEARCH SUGGESTIONS
   ========================================================================== */
body.dmgk .searchform { position: relative; }
.dmgk-suggest {
	display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; padding: 14px 16px;
	background: #fff; border-radius: var(--dm-radius); box-shadow: var(--dm-shadow-lg); border: 1px solid var(--dm-line); text-align: left;
}
.dmgk-suggest-open .dmgk-suggest { display: block; }
.dmgk-suggest__title { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-muted); }
.dmgk-suggest__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dmgk-suggest__chips a {
	padding: 6px 12px; border-radius: 999px; background: var(--dm-surface); color: var(--dm-ink) !important; font-size: 13.5px;
	font-weight: 600; text-decoration: none; text-transform: none;
}
.dmgk-suggest__chips a:hover { background: var(--dm-brand-50); color: var(--dm-brand) !important; }
.dmgk-suggest__hint { margin: 12px 0 0; font-size: 12.5px; color: var(--dm-muted); line-height: 1.5; text-transform: none; }
.dmgk-suggest__hint a { color: var(--dm-brand) !important; font-weight: 700; }
/* Flatsome live results look consistent with the panel */
body.dmgk .live-search-results { border-radius: var(--dm-radius) !important; overflow: hidden; box-shadow: var(--dm-shadow-lg) !important; margin-top: 8px; }
body.dmgk .live-search-results .autocomplete-suggestion { padding: 10px 14px !important; border-color: var(--dm-line) !important; }
body.dmgk .live-search-results .autocomplete-selected { background: var(--dm-surface) !important; }
body.dmgk .live-search-results .search-name { font-weight: 600; color: var(--dm-ink); text-transform: none; }

/* ==========================================================================
   MOBILE OFF-CANVAS MENU
   ========================================================================== */
body.dmgk .off-canvas-left .mfp-content, body.dmgk #main-menu.mobile-sidebar { background: #fff !important; }
body.dmgk #main-menu .sidebar-menu { padding: 0 0 24px !important; }
.dmgk-mm-head { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--dm-line); }
.dmgk-mm-head__logo img { display: block; max-height: 40px; width: auto; }
body.dmgk #main-menu .header-search-form { padding: 12px 16px 4px !important; }
body.dmgk #main-menu .nav-sidebar > li { border-top: 0 !important; }
body.dmgk #main-menu .nav-sidebar > li > a {
	display: flex !important; align-items: center; padding: 12px 16px !important; font-size: 15px !important; font-weight: 600 !important;
	text-transform: none !important; color: var(--dm-ink) !important; border-bottom: 1px solid #f1f2f5;
}
body.dmgk #main-menu .nav-sidebar > li.active > a, body.dmgk #main-menu .nav-sidebar > li > a:hover { color: var(--dm-brand) !important; background: var(--dm-brand-50); }
body.dmgk #main-menu .nav-sidebar .toggle { color: var(--dm-muted); }
body.dmgk #main-menu .nav-sidebar .children a, body.dmgk #main-menu .nav-sidebar .sub-menu a { text-transform: none !important; font-size: 14px !important; color: var(--dm-ink-2) !important; }
.dmgk-mm { padding: 18px 16px 0; }
.dmgk-mm__title { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dm-muted); }
.dmgk-mm__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dmgk-mm__links li { margin: 0; }
.dmgk-mm__links a {
	display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 12px; background: var(--dm-surface);
	color: var(--dm-ink) !important; font-weight: 600; font-size: 14px; text-decoration: none;
}
.dmgk-mm__links .dmgk-ico { color: var(--dm-brand); }
.dmgk-mm__contact { margin-top: 16px; padding: 14px; border-radius: var(--dm-radius); border: 1px solid var(--dm-line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dmgk-mm__contact .dmgk-btn { min-height: 44px; padding: 0 10px; }
.dmgk-mm__contact p { grid-column: 1 / -1; display: flex; gap: 6px; align-items: flex-start; margin: 4px 0 0; font-size: 13px; color: var(--dm-muted); line-height: 1.5; }
.dmgk-mm__contact p .dmgk-ico { color: var(--dm-brand); margin-top: 2px; }
.dmgk-mm__contact p a { font-weight: 700; color: var(--dm-brand) !important; }

/* Category intro + FAQ */
.dmgk-catintro { margin: 0 0 16px; padding: 14px 16px; border-radius: var(--dm-radius); background: #fff; box-shadow: var(--dm-shadow-sm); border-left: 4px solid var(--dm-brand); }
.dmgk-catintro p { margin: 0; line-height: 1.6; color: var(--dm-ink-2); font-size: 14.5px; }
.dmgk-catintro a { font-weight: 700; color: var(--dm-brand) !important; }
.dmgk-catfaq { margin: 24px 0 8px; }
.dmgk-catfaq .dmgk-section__title { margin-bottom: 14px; font-size: 20px; }
