/* ==========================================================================
   DOKIMI FarmTech 3D – main.css
   ========================================================================== */

:root {
	--dk-brown: #3B2416;
	--dk-brown-2: #5A3A22;
	--dk-brown-deep: #22140B;
	--dk-cream: #FFF8EC;
	--dk-cream-2: #FBF1DE;
	--dk-line: #EBDCC7;
	--dk-muted: #6E5340;
	--dk-gold: #F6C93C;
	--dk-gold-deep: #C98E12;
	--dk-gold-soft: #FFE9A6;
	--dk-accent: #A0561E;
	--dk-teal: #1FA5B8;
	--dk-ink: #22333A;
	--dk-ok: #2F7D46;
	--dk-radius: 28px;
	--dk-radius-lg: 40px;
	--dk-shadow: 0 2px 0 rgba(59, 36, 22, .06), 0 14px 30px -12px rgba(59, 36, 22, .28);
	--dk-shadow-3d: 0 8px 0 #E4D3BA, 0 18px 34px -14px rgba(59, 36, 22, .35);
	--dk-font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--dk-display: 'Baloo 2', var(--dk-font);
	--dk-header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--dk-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	overflow-x: clip;
	font-family: var(--dk-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--dk-brown);
	background: var(--dk-cream);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--dk-accent); text-underline-offset: 3px; }
a:hover { color: var(--dk-brown); }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--dk-teal); outline-offset: 3px; border-radius: 10px; }

.dk-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.dk-sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dk-skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--dk-brown); color: #fff; padding: 10px 16px; border-radius: 12px; }
.dk-skip:focus { top: 12px; color: #fff; }
.dk-hp { position: absolute; left: -9999px; }
.dk-flip { transform: scaleX(-1); }
.dk-center { display: flex; justify-content: center; margin-top: 28px; }

/* Typography ------------------------------------------------------------ */
.dk-h1, .dk-h2, .dk-h3 { font-family: var(--dk-display); font-weight: 800; margin: 0; letter-spacing: -.01em; }
.dk-h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.02; }
.dk-h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.06; }
.dk-h3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; }
.dk-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .28em; color: var(--kick, var(--dk-accent)); text-transform: uppercase; margin: 0; }
.dk-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--fg-soft, var(--dk-muted)); margin: 0; max-width: 560px; }
.dk-subtitle { color: var(--dk-muted); margin: 0; max-width: 640px; }
.dk-gold-text { color: var(--dk-gold); }
.dk-accent { color: var(--dk-accent); }

/* Pills / chips --------------------------------------------------------- */
.dk-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.dk-pill-gold { background: var(--dk-gold); color: var(--dk-brown); }
.dk-pill-soft { background: var(--dk-gold-soft); color: var(--dk-brown); border: 1.5px solid #F2D77F; }
.dk-pill-outline { border: 1.5px solid rgba(255, 255, 255, .35); color: #FFF3D6; }
.dk-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.dk-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--chip, #fff); font-weight: 700; font-size: 14px; }
.dk-chip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--dk-line); background: #fff; color: var(--dk-brown); font-weight: 600; font-size: 14px; cursor: pointer; flex-shrink: 0; }

/* 3D buttons ------------------------------------------------------------ */
.dk-btn {
	--shade: #E4D3BA;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
	font-family: var(--dk-display); font-weight: 800; font-size: 17px; line-height: 1;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	box-shadow: 0 5px 0 var(--shade), 0 12px 22px -10px rgba(59, 36, 22, .45);
	transform: translateY(0);
	transition: transform .12s ease, box-shadow .12s ease, filter .2s ease;
}
.dk-btn:hover { filter: brightness(1.04); transform: translateY(-2px); box-shadow: 0 7px 0 var(--shade), 0 16px 26px -10px rgba(59, 36, 22, .45); }
.dk-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--shade), 0 4px 10px -6px rgba(59, 36, 22, .45); }
.dk-btn-lg { min-height: 58px; padding: 0 30px; font-size: 19px; }
.dk-btn-block { width: 100%; }
.dk-btn-gold { --shade: var(--dk-gold-deep); background: var(--dk-gold); color: var(--dk-brown); }
.dk-btn-gold:hover { color: var(--dk-brown); }
.dk-btn-brown { --shade: var(--dk-brown-deep); background: var(--dk-brown); color: var(--dk-cream); }
.dk-btn-brown:hover { color: #fff; }
.dk-btn-ghost { --shade: #E4D3BA; background: #fff; color: var(--dk-brown); border: 1.5px solid var(--dk-line); }
.dk-btn-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--dk-brown); color: var(--dk-gold); display: inline-flex; align-items: center; justify-content: center; margin-right: -12px; }

.dk-icon-btn {
	--shade: #E4D3BA;
	position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--dk-line);
	background: #fff; color: var(--dk-brown); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 0 var(--shade); transition: transform .12s, box-shadow .12s; text-decoration: none; flex-shrink: 0;
}
.dk-icon-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--shade); }
.dk-icon-btn-gold { --shade: var(--dk-gold-deep); background: var(--dk-gold); border-color: var(--dk-gold); }
.dk-round { --shade: #E4D3BA; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--dk-line); background: #fff; color: var(--dk-brown); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 var(--shade); transition: transform .12s, box-shadow .12s; }
.dk-round:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--shade); }
.dk-round-dark { --shade: var(--dk-brown-deep); background: var(--dk-brown); border-color: var(--dk-brown); color: var(--dk-gold); }

/* Glow + ripple khi nhấn ------------------------------------------------ */
.dk-glow { position: relative; isolation: isolate; }
.dk-glow:not(.dk-doki):not(.dk-mascot):not(.dk-doki-card):not(.dk-fab):not(.dk-dock-item):not(.dk-cart):not(.dk-cart-btn):not(.dk-act) { overflow: hidden; }
.dk-ripple {
	position: absolute; z-index: 2; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(255, 246, 196, .95) 0%, rgba(246, 201, 60, .55) 38%, rgba(246, 201, 60, 0) 70%);
	transform: translate(-50%, -50%) scale(0); animation: dkRipple .7s ease-out forwards;
}
@keyframes dkRipple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.is-lit { animation: dkLit .75s ease-out; }
@keyframes dkLit {
	0% { box-shadow: 0 0 0 0 rgba(246, 201, 60, .0); }
	25% { box-shadow: 0 0 0 5px rgba(246, 201, 60, .65), 0 0 34px 10px rgba(246, 201, 60, .7); }
	100% { box-shadow: 0 0 0 14px rgba(246, 201, 60, 0), 0 0 0 0 rgba(246, 201, 60, 0); }
}
.dk-doki.is-lit img, .dk-mascot.is-lit img { animation: dkDokiLit .8s ease-out; }
@keyframes dkDokiLit {
	0% { filter: drop-shadow(0 0 0 rgba(255, 214, 80, 0)); transform: scale(1); }
	30% { filter: drop-shadow(0 0 22px rgba(255, 214, 80, .95)) brightness(1.12); transform: scale(1.05) rotate(-2deg); }
	100% { filter: drop-shadow(0 0 0 rgba(255, 214, 80, 0)); transform: scale(1); }
}
.dk-flip.is-lit, .dk-doki.is-lit .dk-flip, .dk-mascot.is-lit .dk-flip { animation-name: dkDokiLitFlip; }
@keyframes dkDokiLitFlip {
	0% { transform: scaleX(-1); }
	30% { filter: drop-shadow(0 0 22px rgba(255, 214, 80, .95)) brightness(1.12); transform: scaleX(-1) scale(1.05) rotate(2deg); }
	100% { transform: scaleX(-1); }
}

/* Cards + tilt 3D ------------------------------------------------------- */
.dk-card { background: #fff; border: 1px solid var(--dk-line); border-radius: var(--dk-radius); box-shadow: var(--dk-shadow); }
.dk-tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .18s ease, box-shadow .2s ease; transform-style: preserve-3d; will-change: transform; }
.dk-tilt:hover { --ty: -4px; }

/* Announce bar ---------------------------------------------------------- */
.dk-announce { background: var(--dk-brown); color: #FFF3D6; font-size: 15px; }
.dk-announce-in { display: flex; align-items: center; gap: 12px; min-height: 48px; padding-top: 8px; padding-bottom: 8px; }
.dk-announce a { color: #FFF3D6; text-decoration: none; }
.dk-announce a:hover { color: var(--dk-gold); }

/* Header ---------------------------------------------------------------- */
.dk-header { position: sticky; top: 0; z-index: 60; background: var(--dk-cream); border-bottom: 1px solid var(--dk-line); }
.admin-bar .dk-header { top: 32px; }
.dk-header-in { position: relative; display: flex; align-items: center; gap: 16px; min-height: var(--dk-header-h); }
.dk-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dk-brown); border-radius: 20px; padding: 4px 8px 4px 4px; }
.dk-brand-logo { width: 54px; height: 54px; border-radius: 18px; object-fit: contain; flex-shrink: 0; }
.dk-brand-doki { display: inline-flex; align-items: flex-end; justify-content: center; background: var(--dk-gold); box-shadow: 0 4px 0 var(--dk-gold-deep); overflow: hidden; }
.dk-brand-doki img { width: 44px; height: auto; margin-bottom: -4px; }
.dk-brand-text { display: flex; flex-direction: column; line-height: 1; }
.dk-brand-name { font-family: var(--dk-display); font-weight: 800; font-size: 26px; line-height: 1; }
.dk-brand-tag { font-size: 11px; font-weight: 700; letter-spacing: .26em; color: var(--dk-accent); margin-top: 4px; }
.dk-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.dk-cart-count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--dk-brown); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
#dk-voice-toggle .dk-voice-off { display: none; }
#dk-voice-toggle[aria-pressed="false"] .dk-voice-on { display: none; }
#dk-voice-toggle[aria-pressed="false"] .dk-voice-off { display: inline-flex; }
#dk-voice-toggle[aria-pressed="false"] { color: var(--dk-muted); }
.dk-search { border-top: 1px solid var(--dk-line); background: var(--dk-cream); padding: 14px 0; }
.dk-search-form { display: flex; gap: 10px; }
.dk-search-form input { flex: 1; min-width: 0; min-height: 50px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--dk-line); font: inherit; background: #fff; color: var(--dk-brown); }

/* Menu – chung ---------------------------------------------------------- */
.dk-menu, .dk-menu ul { list-style: none; margin: 0; padding: 0; }
.dk-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dk-brown); font-weight: 700; border-radius: 14px; }
.dk-sub-toggle { border: 0; background: transparent; color: var(--dk-brown); cursor: pointer; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.dk-sub-toggle .dk-ic { transition: transform .2s; }
.dk-item.is-open > .dk-sub-toggle .dk-ic { transform: rotate(180deg); }
.dk-mega-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--dk-gold-soft); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: inset 0 -3px 0 rgba(201, 142, 18, .25); }
.dk-mega-svg { width: 34px; height: 34px; }
.dk-promo-card { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 18px; border-radius: 22px; background: var(--dk-brown); color: #FFF3D6; height: 100%; position: relative; overflow: hidden; }
.dk-promo-card img { width: 96px; height: auto; align-self: flex-end; margin: -6px -4px -10px 0; order: 3; }
.dk-promo-kicker { font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--dk-gold); }
.dk-promo-title { font-family: var(--dk-display); font-weight: 800; font-size: 20px; line-height: 1.15; }
.dk-promo-card .dk-btn { font-size: 16px; min-height: 44px; padding: 0 18px; }
.dk-nav-head, .dk-nav-foot { display: none; }

/* Menu – desktop ---------------------------------------------------------- */
@media (min-width: 1024px) {
	.dk-nav { flex: 1; display: flex; justify-content: center; }
	.dk-menu { display: flex; align-items: center; gap: 4px; }
	.dk-menu > .dk-item { position: relative; display: flex; align-items: center; }
	.dk-menu > .dk-item > .dk-link { padding: 12px 16px; font-size: 16px; letter-spacing: .01em; }
	.dk-menu > .dk-item.has-sub > .dk-link { padding-right: 4px; }
	.dk-menu > .dk-item > .dk-sub-toggle { width: 28px; height: 40px; margin-right: 4px; }
	.dk-menu > .dk-item.is-open > .dk-link,
	.dk-menu > .dk-item:hover > .dk-link,
	.dk-menu > .dk-item.is-current > .dk-link { background: var(--dk-gold-soft); }

	.dk-sub {
		position: absolute; z-index: 70; min-width: 250px; padding: 10px;
		background: #fff; border: 1px solid var(--dk-line); border-radius: 22px; box-shadow: var(--dk-shadow-3d);
		opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: top left;
		transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
	}
	.dk-sub-1 { top: calc(100% + 8px); left: 0; }
	.dk-sub-2 { top: -10px; left: calc(100% + 8px); }
	.dk-sub { pointer-events: none; }
	.dk-item.is-open > .dk-sub, .dk-item.is-kbd > .dk-sub {
		opacity: 1; visibility: visible; transform: none; transition-delay: 0s; pointer-events: auto;
	}
	.dk-sub .dk-item { position: relative; display: flex; align-items: center; }
	.dk-sub .dk-link { flex: 1; padding: 11px 14px; font-weight: 600; font-size: 15px; }
	.dk-sub .dk-link:hover { background: var(--dk-cream-2); }
	.dk-sub .dk-sub-toggle { transform: rotate(-90deg); width: 34px; height: 34px; }
	.dk-sub-1::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

	/* Mega */
	.dk-menu > .dk-mega { position: static; }
	.dk-mega-panel {
		left: 20px; right: 20px; width: calc(100% - 40px); top: calc(100% - 4px); padding: 22px;
		display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 260px; gap: 8px 18px; transform-origin: top center;
	}
	.dk-mega-panel::before { top: -14px; height: 14px; }
	.dk-mega-panel > .dk-item { display: block; padding: 6px; border-radius: 18px; }
	.dk-mega-panel > .dk-item > .dk-link { font-family: var(--dk-display); font-weight: 800; font-size: 19px; padding: 6px; }
	.dk-mega-panel > .dk-item > .dk-sub-toggle { display: none; }
	.dk-mega-panel .dk-sub-2 {
		position: static; opacity: 1; visibility: inherit; pointer-events: inherit; transform: none; box-shadow: none; border: 0; padding: 4px 0 0 62px; min-width: 0; background: transparent;
	}
	.dk-mega-panel .dk-sub-2 .dk-link { padding: 6px 8px; font-size: 14px; color: var(--dk-muted); }
	.dk-mega-panel .dk-sub-2 .dk-link:hover { color: var(--dk-brown); background: var(--dk-gold-soft); }
	.dk-mega-promo { grid-column: 4; grid-row: 1 / span 2; }
	.dk-burger { display: none; }
	.dk-scrim { display: none !important; }
}

/* Menu – mobile (drawer, accordion 3 cấp) --------------------------------- */
@media (max-width: 1023.98px) {
	:root { --dk-header-h: 68px; }
	.dk-brand-tag { display: none; }
	.dk-brand-name { font-size: 22px; }
	.dk-brand-logo { width: 46px; height: 46px; border-radius: 15px; }
	.dk-actions { gap: 8px; }
	.dk-actions .dk-icon-btn { width: 42px; height: 42px; }
	.dk-nav {
		position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(390px, 90vw);
		background: var(--dk-cream); border-left: 1px solid var(--dk-line); box-shadow: -20px 0 40px -20px rgba(59, 36, 22, .4);
		display: none; flex-direction: column;
	}
	.dk-nav.is-open { display: flex; animation: dkSlideNav .28s ease; }
	.dk-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--dk-line); }
	.dk-nav-foot { display: block; padding: 16px; border-top: 1px solid var(--dk-line); }
	.dk-nav-foot .dk-btn { width: 100%; }
	.dk-nav .dk-menu { flex: 1; overflow-y: auto; padding: 10px 12px 24px; }
	.dk-item { display: flex; flex-wrap: wrap; align-items: center; }
	.dk-item > .dk-link { flex: 1; min-height: 50px; padding: 0 12px; }
	.dk-d0 > .dk-link { font-family: var(--dk-display); font-weight: 800; font-size: 21px; }
	.dk-d0 { border-bottom: 1px solid var(--dk-line); }
	.dk-sub { display: none; width: 100%; padding: 0 0 10px 12px; }
	.dk-item.is-open > .dk-sub { display: block; animation: dkDrop .22s ease; }
	.dk-sub-2 { padding-left: 24px; border-left: 2px dashed var(--dk-line); margin-left: 22px; }
	.dk-sub .dk-link { font-size: 16px; font-weight: 600; min-height: 46px; }
	.dk-mega-ic { width: 38px; height: 38px; border-radius: 12px; }
	.dk-mega-svg { width: 28px; height: 28px; }
	.dk-mega-promo { margin: 10px 0 4px; list-style: none; }
	.dk-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(34, 20, 11, .45); }
}
@keyframes dkSlideNav { from { transform: translateX(100%); } to { transform: none; } }
@keyframes dkDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Theme palettes cho slide / banner -------------------------------------- */
.dk-t-cream { --bg: #FFF1C9; --fg: var(--dk-brown); --fg-soft: #6E5340; --kick: #A0561E; --chip: #fff; }
.dk-t-gold { --bg: #FFE08A; --fg: var(--dk-brown); --fg-soft: #5E4634; --kick: #8A4A12; --chip: #FFF3C9; }
.dk-t-ink { --bg: #22333A; --fg: #FFF8EC; --fg-soft: #CFDCE0; --kick: var(--dk-gold); --chip: rgba(255, 255, 255, .12); }
.dk-t-sky { --bg: #CDEAF0; --fg: #143C45; --fg-soft: #32606B; --kick: #136474; --chip: #EAF7FA; }
.dk-t-mint { --bg: #D5EFDF; --fg: #183D2A; --fg-soft: #355E48; --kick: #24704A; --chip: #EEF9F2; }
.dk-t-orange { --bg: #FFD7A1; --fg: #442608; --fg-soft: #6B4520; --kick: #8A4A12; --chip: #FFEBCC; }
.dk-t-forest { --bg: #2F5D3A; --fg: #FFFFFF; --fg-soft: #D4E8D8; --kick: var(--dk-gold); --chip: rgba(255, 255, 255, .14); }
[class*="dk-t-"] { background-color: var(--bg); color: var(--fg); }

/* Hero slider ----------------------------------------------------------- */
.dk-hero { padding: 24px 0 8px; }
.dk-hero-track { position: relative; }
.dk-slide {
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 12px;
	border-radius: var(--dk-radius-lg); padding: 48px 48px 0; min-height: 520px; overflow: hidden;
	box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .05), 0 24px 40px -26px rgba(59, 36, 22, .5);
}
.dk-slide[hidden] { display: none; }
.dk-slide.is-active { animation: dkSlideIn .5s ease; }
@keyframes dkSlideIn { from { opacity: .3; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.dk-slide-text { display: flex; flex-direction: column; gap: 18px; padding-bottom: 48px; align-self: center; }
.dk-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.dk-live { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--dk-line); font-weight: 700; font-size: 15px; box-shadow: 0 4px 0 #EFE1C9; }
.dk-dot { width: 10px; height: 10px; border-radius: 50%; background: #3CBF7A; box-shadow: 0 0 0 4px rgba(60, 191, 122, .2); animation: dkPulse 1.8s infinite; }
@keyframes dkPulse { 50% { box-shadow: 0 0 0 8px rgba(60, 191, 122, 0); } }

.dk-stage { position: relative; align-self: end; min-height: 420px; display: flex; align-items: flex-end; justify-content: center; }
.dk-podium { position: absolute; left: 8%; right: 8%; bottom: -40px; height: 120px; border-radius: 50%; background: radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%), radial-gradient(ellipse at 50% 60%, rgba(59, 36, 22, .28), rgba(59, 36, 22, 0) 70%); }
.dk-stage-device { position: absolute; right: 0; top: 24px; width: 42%; max-width: 230px; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .25)); }
.dk-doki { position: relative; z-index: 2; border: 0; background: transparent; padding: 0; cursor: pointer; border-radius: 30px; display: block; }
.dk-doki img { display: block; filter: drop-shadow(0 24px 22px rgba(59, 36, 22, .35)); transition: transform .25s ease; }
.dk-doki:hover img { transform: translateY(-6px) rotate(-1.5deg); }
.dk-doki:hover .dk-flip { transform: scaleX(-1) translateY(-6px) rotate(1.5deg); }
.dk-stage .dk-doki { width: 72%; max-width: 380px; margin-right: 22%; }
.dk-tap { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--dk-brown); color: #FFF3D6; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 0 var(--dk-brown-deep); }
.dk-float { animation: dkFloat 3.4s ease-in-out infinite; }
@keyframes dkFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.dk-slider-ui { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.dk-dots { display: flex; gap: 2px; }
.dk-dots button { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dk-dots button span { display: block; width: 10px; height: 10px; border-radius: 6px; background: #D9C3A6; transition: width .25s, background .25s; }
.dk-dots button[aria-current="true"] span { width: 30px; background: var(--dk-brown); }

.dk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.dk-stat { padding: 20px 24px; display: flex; flex-direction: column; }
.dk-stat strong { font-family: var(--dk-display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; }
.dk-stat span { color: var(--dk-muted); font-size: 15px; }

/* Sections -------------------------------------------------------------- */
.dk-section { padding: 72px 0; }
.dk-section-alt { background: var(--dk-cream-2); }
.dk-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

/* 6 Doki grid */
.dk-doki-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.dk-doki-card { display: flex; flex-direction: column; text-decoration: none; color: var(--dk-brown); background: #fff; border: 1px solid var(--dk-line); border-radius: var(--dk-radius); overflow: hidden; box-shadow: var(--dk-shadow-3d); }
.dk-doki-card-media { position: relative; height: 200px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.dk-doki-card-media img { height: 180px; width: auto; max-width: 92%; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .22)); transition: transform .25s; }
.dk-doki-card:hover .dk-doki-card-media img { transform: translateY(-6px) scale(1.04); }
.dk-doki-card:hover .dk-doki-card-media img.dk-flip { transform: scaleX(-1) translateY(-6px) scale(1.04); }
.dk-doki-card-device { position: absolute; top: 12px; right: 10px; width: 54px; opacity: .95; }
.dk-doki-card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.dk-num { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--dk-brown); color: #FFF3D6; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.dk-doki-card-name { font-family: var(--dk-display); font-weight: 800; font-size: 20px; line-height: 1.15; margin-top: 6px; }
.dk-doki-card-sub { font-size: 13px; color: var(--dk-muted); }

/* Tabs + banner + rail */
.dk-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: none; }
.dk-tabs::-webkit-scrollbar { display: none; }
.dk-tab { flex-shrink: 0; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--dk-line); background: #fff; color: var(--dk-brown); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 4px 0 #E4D3BA; transition: transform .12s, box-shadow .12s; }
.dk-tab:active { transform: translateY(3px); box-shadow: 0 1px 0 #E4D3BA; }
.dk-tab[aria-selected="true"] { background: var(--dk-brown); border-color: var(--dk-brown); color: #FFF3D6; box-shadow: 0 4px 0 var(--dk-brown-deep); }
.dk-panel[hidden] { display: none; }
.dk-panel:not([hidden]) { animation: dkSlideIn .4s ease; }
.dk-banner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 12px; border-radius: var(--dk-radius-lg); padding: 40px 40px 0; overflow: hidden; margin-top: 8px; box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .05); }
.dk-banner-text { display: flex; flex-direction: column; gap: 14px; padding-bottom: 40px; align-self: center; }
.dk-banner-text p { margin: 0; color: var(--fg-soft); font-size: 17px; max-width: 540px; }
.dk-banner-art { position: relative; min-height: 300px; display: flex; align-items: flex-end; justify-content: center; }
.dk-banner-device { position: absolute; right: 2%; top: 18px; width: 40%; max-width: 190px; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .22)); }
.dk-banner-art .dk-doki { width: 64%; max-width: 280px; margin-right: 26%; }

.dk-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 36px 0 16px; }
.dk-row-ui { display: flex; gap: 10px; }
.dk-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; scrollbar-color: #D9C3A6 transparent; }
.dk-rail > * { scroll-snap-align: start; }

.dk-product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dk-line); border-radius: 26px; overflow: hidden; box-shadow: var(--dk-shadow-3d); }
.dk-product-media { position: relative; height: 190px; display: flex; align-items: center; justify-content: center; }
.dk-product-media img { width: 100%; height: 100%; object-fit: cover; }
.dk-product-media .dk-device { width: 46%; max-width: 130px; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .2)); }
.dk-product-tag { position: absolute; left: 12px; top: 12px; }
.dk-product-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dk-product-name { font-family: var(--dk-display); font-weight: 800; font-size: 20px; line-height: 1.2; margin: 0; }
.dk-product-name a { color: var(--dk-brown); text-decoration: none; }
.dk-product-spec { margin: 0; color: var(--dk-muted); font-size: 14px; }
.dk-product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.dk-price { font-family: var(--dk-display); font-weight: 800; font-size: 24px; color: var(--dk-brown); }
.dk-product-price del { color: #9A8573; font-size: 14px; }
.dk-product .dk-btn { margin-top: auto; min-height: 46px; font-size: 16px; }

/* Mascot universe */
.dk-dark { background: var(--dk-brown); color: #FFF3D6; }
.dk-dark .dk-subtitle { color: #E6D3BB; }
.dk-mascot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dk-mascot { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 0 20px; border: 0; border-radius: var(--dk-radius); background: #fff; color: var(--dk-brown); text-align: left; cursor: pointer; overflow: hidden; box-shadow: 0 8px 0 #22140B, 0 24px 30px -18px rgba(0, 0, 0, .6); }
.dk-mascot .dk-num { position: absolute; top: 14px; left: 14px; z-index: 2; }
.dk-mascot-media { width: 100%; height: 240px; display: flex; align-items: flex-end; justify-content: center; background: #FFF3D1; margin-bottom: 12px; }
.dk-mascot:nth-child(2) .dk-mascot-media { background: #FFE8A3; }
.dk-mascot:nth-child(3) .dk-mascot-media { background: #FCE6D2; }
.dk-mascot:nth-child(4) .dk-mascot-media { background: #E2F0E2; }
.dk-mascot:nth-child(5) .dk-mascot-media { background: #E3ECF7; }
.dk-mascot:nth-child(6) .dk-mascot-media { background: #FFE8A3; }
.dk-mascot-media img { height: 220px; width: auto; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .22)); }
.dk-mascot-name { font-family: var(--dk-display); font-weight: 800; font-size: 22px; padding: 0 20px; }
.dk-mascot-sub { font-size: 14px; color: var(--dk-muted); padding: 0 20px; }
.dk-mascot .dk-tap { left: auto; right: 14px; bottom: auto; top: 14px; transform: none; }

/* Combo */
.dk-combo { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 32px; align-items: start; }
.dk-combo-main { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.dk-strike { color: #9A8573; text-decoration-color: var(--dk-gold); text-decoration-thickness: 6px; }
.dk-table-wrap { width: 100%; overflow-x: auto; border-radius: var(--dk-radius); box-shadow: var(--dk-shadow-3d); border: 1px solid var(--dk-line); }
.dk-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 520px; }
.dk-table th, .dk-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--dk-line); font-size: 15px; }
.dk-table thead th { background: var(--dk-brown); color: #FFF3D6; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.dk-table tbody th { font-weight: 500; }
.dk-table td { color: var(--dk-muted); white-space: nowrap; }
.dk-table .dk-col-combo { background: #FFF6DA; color: var(--dk-brown); font-weight: 800; }
.dk-table thead .dk-col-combo { background: var(--dk-gold); color: var(--dk-brown); }
.dk-table tfoot th, .dk-table tfoot td { background: var(--dk-gold-soft); border-bottom: 0; font-weight: 800; }
.dk-table tfoot .dk-col-combo strong { font-family: var(--dk-display); font-size: 22px; color: var(--dk-accent); }
.dk-combo-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--dk-header-h) + 20px); }
.dk-combo-card-head { display: flex; align-items: center; gap: 14px; }
.dk-combo-card-head img { width: 72px; height: auto; border-radius: 50%; background: var(--dk-gold-soft); }
.dk-combo-card-head strong { display: block; font-family: var(--dk-display); font-size: 21px; line-height: 1.15; }
.dk-combo-card-head span { font-size: 14px; color: var(--dk-muted); }
.dk-checks { list-style: none; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--dk-line); border-radius: 20px; background: var(--dk-cream); }
.dk-checks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.dk-checks .dk-ic { flex-shrink: 0; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--dk-brown); color: var(--dk-gold); }
.dk-combo-price { font-family: var(--dk-display); font-weight: 800; font-size: 44px; line-height: 1; }

/* Brands marquee */
.dk-brands { padding-bottom: 80px; }
.dk-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.dk-marquee-track { display: flex; gap: 16px; width: max-content; animation: dkMarquee 34s linear infinite; padding: 6px 0 12px; }
.dk-marquee:hover .dk-marquee-track { animation-play-state: paused; }
@keyframes dkMarquee { to { transform: translateX(-50%); } }
.dk-brand-chip { min-width: 170px; height: 84px; padding: 0 26px; border-radius: 22px; background: #fff; border: 1px solid var(--dk-line); box-shadow: 0 5px 0 #EADBC4; display: inline-flex; align-items: center; justify-content: center; font-family: var(--dk-display); font-weight: 800; font-size: 24px; color: var(--dk-brown-2); white-space: nowrap; }

/* Footer */
.dk-footer { background: #fff; border-top: 1px solid var(--dk-line); padding: 64px 0 24px; }
.dk-footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 32px; align-items: start; }
.dk-footer-brand p { color: var(--dk-muted); margin: 14px 0 18px; }
.dk-footer .dk-kicker { margin-bottom: 14px; color: var(--dk-brown); }
.dk-social { display: flex; flex-wrap: wrap; gap: 10px; }
.dk-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dk-contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.dk-contact-list .dk-ic { flex-shrink: 0; color: var(--dk-accent); margin-top: 3px; }
.dk-contact-list a { color: var(--dk-brown); }
.dk-footer-menu { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.dk-signup { padding: 24px; background: var(--dk-cream); }
.dk-signup-title { font-family: var(--dk-display); font-weight: 800; font-size: 22px; margin: 0 0 4px; }
.dk-signup p { margin: 0 0 14px; color: var(--dk-muted); }
.dk-signup-form { display: flex; gap: 10px; }
.dk-signup-form input[type="tel"] { flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--dk-line); font: inherit; background: #fff; color: var(--dk-brown); }
.dk-signup-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0 !important; font-size: 14px; }
.dk-signup-note img { width: 28px; height: auto; }
.dk-note { padding: 10px 14px; border-radius: 14px; font-weight: 600; }
.dk-note-ok { background: #E3F4E8; color: var(--dk-ok); }
.dk-note-err { background: #FCE4DC; color: #9A3412; }
.dk-copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--dk-line); color: var(--dk-muted); font-size: 14px; }

/* Doki FAB + chat + bubble ---------------------------------------------- */
.dk-fab {
	position: fixed; right: 18px; bottom: 18px; z-index: 75; width: 78px; height: 78px; padding: 0; border-radius: 50%;
	border: 3px solid #fff; background: var(--dk-gold); cursor: pointer; display: flex; align-items: flex-end; justify-content: center;
	box-shadow: 0 6px 0 var(--dk-gold-deep), 0 18px 30px -10px rgba(59, 36, 22, .55); transition: transform .15s;
}
.dk-fab img { width: 60px; height: auto; margin-bottom: -2px; animation: dkFloat 2.8s ease-in-out infinite; }
.dk-fab:active { transform: translateY(4px); }
.dk-nav-open .dk-fab, .dk-nav-open .dk-chat, .dk-nav-open .dk-bubble { display: none; }
.dk-fab-badge { position: absolute; top: -8px; left: -8px; padding: 3px 10px; border-radius: 999px; background: var(--dk-brown); color: #fff; font-size: 12px; font-weight: 800; }
.dk-chat {
	position: fixed; right: 18px; bottom: 110px; z-index: 76; width: 370px; max-width: calc(100vw - 28px); height: 540px; max-height: calc(100dvh - 140px);
	background: #fff; border: 1px solid var(--dk-line); border-radius: 28px; display: flex; flex-direction: column; overflow: hidden;
	box-shadow: 0 8px 0 #E4D3BA, 0 30px 60px -20px rgba(59, 36, 22, .55); animation: dkPop .25s ease;
}
.dk-chat[hidden] { display: none; }
@keyframes dkPop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.dk-chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--dk-brown); color: #FFF3D6; }
.dk-chat-head img { width: 44px; height: 44px; border-radius: 50%; background: var(--dk-gold); object-fit: contain; object-position: bottom; }
.dk-chat-head div { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.dk-chat-head strong { font-family: var(--dk-display); font-size: 19px; }
.dk-online { font-size: 12px; color: #A8E6B0; }
.dk-chat-head .dk-icon-btn { --shade: #1E120A; background: #5A3A22; border-color: #5A3A22; color: #FFF3D6; width: 42px; height: 42px; }
.dk-chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--dk-cream); }
.dk-msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
.dk-msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--dk-line); border-bottom-left-radius: 6px; }
.dk-msg-me { align-self: flex-end; background: var(--dk-brown); color: #FFF3D6; border-bottom-right-radius: 6px; }
.dk-msg-typing { color: var(--dk-muted); font-style: italic; }
.dk-chat-quick { display: flex; gap: 6px; padding: 10px 12px 0; overflow-x: auto; scrollbar-width: none; }
.dk-chat-form { display: flex; gap: 8px; padding: 10px 12px; }
.dk-chat-form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--dk-line); font: inherit; font-size: 15px; color: var(--dk-brown); }
.dk-chat-zalo { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; font-size: 14px; font-weight: 700; border-top: 1px solid var(--dk-line); text-decoration: none; }
.dk-bubble {
	position: fixed; right: 108px; bottom: 34px; z-index: 77; max-width: min(320px, calc(100vw - 140px));
	padding: 12px 16px; border-radius: 20px 20px 6px 20px; background: #fff; border: 2px solid var(--dk-gold); color: var(--dk-brown);
	font-weight: 600; font-size: 15px; line-height: 1.45; box-shadow: 0 6px 0 #EADBC4, 0 20px 30px -16px rgba(59, 36, 22, .5); animation: dkPop .25s ease;
}
.dk-bubble[hidden] { display: none; }
.dk-bubble::before { content: "Doki"; display: block; font-family: var(--dk-display); font-weight: 800; color: var(--dk-accent); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.dk-chat:not([hidden]) ~ .dk-bubble { display: none; }

/* Trang con, bài viết, Woo ---------------------------------------------- */
.dk-page-hero { background: var(--dk-gold-soft); border-bottom: 1px solid var(--dk-line); }
.dk-page-hero-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: 40px; }
.dk-page-hero-in > div { padding-bottom: 40px; display: flex; flex-direction: column; gap: 10px; }
.dk-page-hero .dk-doki { width: 180px; }
.dk-prose { max-width: 820px; }
.dk-prose > * + * { margin-top: 1.1em; }
.dk-prose h2, .dk-prose h3 { font-family: var(--dk-display); }
.dk-prose img, .dk-cover { border-radius: 22px; }
.dk-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dk-post { overflow: hidden; display: flex; flex-direction: column; }
.dk-post-media { display: block; aspect-ratio: 16 / 10; background: var(--dk-gold-soft); }
.dk-post-media img { width: 100%; height: 100%; object-fit: cover; }
.dk-post-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.dk-post-body p { margin: 0; color: var(--dk-muted); }
.dk-post-body a:not(.dk-btn) { color: var(--dk-brown); text-decoration: none; }
.dk-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 40px 24px; }
.dk-empty .dk-doki { width: 240px; }
.dk-pagination .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.dk-pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: #fff; border: 1px solid var(--dk-line); color: var(--dk-brown); text-decoration: none; font-weight: 700; }
.dk-pagination .current { background: var(--dk-brown); color: #fff; }

.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit {
	border-radius: 999px !important; background: var(--dk-brown) !important; color: #FFF3D6 !important; font-weight: 800 !important; padding: 14px 24px !important; box-shadow: 0 5px 0 var(--dk-brown-deep); border: 0 !important;
}
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt { background: var(--dk-gold) !important; color: var(--dk-brown) !important; box-shadow: 0 5px 0 var(--dk-gold-deep); }
.woocommerce ul.products li.product { background: #fff; border: 1px solid var(--dk-line); border-radius: 24px; padding: 14px !important; box-shadow: var(--dk-shadow-3d); }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--dk-accent) !important; font-family: var(--dk-display); font-weight: 800; }
.woocommerce span.onsale { background: var(--dk-gold) !important; color: var(--dk-brown) !important; font-weight: 800; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
	.dk-doki-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.dk-slide, .dk-banner { grid-template-columns: minmax(0, 1fr); padding: 30px 24px 0; }
	.dk-slide { min-height: 0; }
	.dk-slide-text, .dk-banner-text { padding-bottom: 0; }
	.dk-stage { min-height: 330px; }
	.dk-stage .dk-doki { width: 62%; margin-right: 26%; }
	.dk-banner-art { min-height: 250px; }
	.dk-combo { grid-template-columns: minmax(0, 1fr); }
	.dk-combo-card { position: static; }
	.dk-footer-grid { grid-template-columns: minmax(0, 1fr); }
	.dk-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dk-mascot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.dk-section { padding: 52px 0; }
	.dk-wrap { padding: 0 16px; }
	.dk-announce { font-size: 13.5px; }
	.dk-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.dk-stat { padding: 14px; }
	.dk-stat strong { font-size: 20px; }
	.dk-stat span { font-size: 12.5px; line-height: 1.35; }
	.dk-brand { gap: 8px; padding: 0; }
	.dk-brand-name { font-size: 19px; }
	.dk-brand-logo { width: 40px; height: 40px; border-radius: 13px; }
	.dk-brand-doki img { width: 34px; }
	.dk-actions { gap: 6px; }
	.dk-actions .dk-icon-btn { width: 40px; height: 40px; }
	.dk-doki-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.dk-doki-card-media { height: 160px; }
	.dk-doki-card-media img { height: 145px; }
	.dk-doki-card-device { width: 40px; }
	.dk-mascot-media { height: 180px; }
	.dk-mascot-media img { height: 165px; }
	.dk-mascot-name { font-size: 18px; padding: 0 14px; }
	.dk-mascot-sub { padding: 0 14px; font-size: 13px; }
	.dk-mascot .dk-tap { display: none; }
	.dk-post-grid { grid-template-columns: 1fr; }
	.dk-btn-lg { min-height: 54px; font-size: 17px; padding: 0 22px; }
	.dk-cta-row .dk-btn { width: 100%; }
	.dk-rail { grid-auto-columns: 78%; }
	.dk-signup-form { flex-direction: column; }
	.dk-combo-price { font-size: 38px; }
	.dk-table { min-width: 0; }
	.dk-table th, .dk-table td { padding: 12px 10px; font-size: 13.5px; white-space: normal; }
	.dk-table thead th { font-size: 11px; letter-spacing: .08em; }
	.dk-table tfoot .dk-col-combo strong { font-size: 17px; }
	.dk-bubble { right: 16px; bottom: 108px; max-width: calc(100vw - 32px); border-radius: 20px 20px 6px 20px; }
	.dk-page-hero .dk-doki { width: 120px; }
}
@media (max-width: 380px) {
	.dk-actions [data-dk-search] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.dk-marquee-track { animation: none; }
	.dk-tilt { transform: none !important; }
}

/* ==========================================================================
   Slide sản phẩm lật trang (giữ từ bản Trang chủ trước)
   ========================================================================== */
.dk-soft-cream { background: #FFF3D1; }
.dk-soft-gold { background: #FFEAB0; }
.dk-soft-ink { background: #E3E9EC; }
.dk-soft-sky { background: #D6EDF1; }
.dk-soft-mint { background: #E0F2E7; }
.dk-soft-orange { background: #FFE6C4; }
.dk-soft-forest { background: #E2F1DA; }

.dk-pager { margin-top: 4px; }
.dk-page-label { font-size: 14px; font-weight: 600; color: var(--dk-muted); margin-right: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dk-pgrid { --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 18px; padding: 6px 2px 10px; }
.dk-pgrid > [hidden] { display: none; }
.dk-pgrid.is-turning > :not([hidden]) { animation: dkSlideIn .35s ease; }
.dk-more-row { gap: 12px; flex-wrap: wrap; }
.dk-pager:not(.is-paged) [data-dk-page], .dk-pager:not(.is-paged) [data-dk-more] { display: none; }
.dk-pager.is-all [data-dk-page] { visibility: hidden; }

.dk-product-media { height: 180px; }
.dk-product-media .dk-device { width: 50%; max-width: 130px; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .18)); transition: transform .25s ease; }
.dk-product:hover .dk-product-media .dk-device { transform: translateY(-6px) scale(1.04); }
.dk-product-tag { position: absolute; left: 12px; top: 12px; padding: 4px 11px; border-radius: 999px; background: var(--dk-accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.dk-product .dk-price { color: var(--dk-accent); }
.dk-btn-cart { --shade: var(--dk-brown-deep); width: 100%; background: var(--dk-cream); color: var(--dk-brown); border: 1.5px solid var(--dk-brown); box-shadow: 0 4px 0 var(--dk-brown); }
.dk-btn-cart:hover { background: var(--dk-gold-soft); color: var(--dk-brown); box-shadow: 0 6px 0 var(--dk-brown); }
.dk-btn-cart:active { box-shadow: 0 1px 0 var(--dk-brown); }
.dk-btn-cart.added { background: var(--dk-gold); }
.dk-product a.added_to_cart { display: block; text-align: center; margin-top: 8px; font-weight: 700; font-size: 14px; }
.dk-cat-hero .dk-banner { margin-top: 0; }

@media (max-width: 1100px) { .dk-pgrid { --cols: 3; } }
@media (max-width: 700px) {
	.dk-pgrid { --cols: 2; gap: 12px; }
	.dk-pgrid .dk-product-media { height: 130px; }
	.dk-pgrid .dk-product-body { padding: 12px 12px 14px; }
	.dk-pgrid .dk-product-name { font-size: 16px; }
	.dk-pgrid .dk-product-spec { font-size: 12.5px; }
	.dk-pgrid .dk-price { font-size: 18px; }
	.dk-pgrid .dk-product .dk-btn { min-height: 42px; font-size: 14px; padding: 0 10px; }
	.dk-pgrid .dk-product-tag { left: 8px; top: 8px; font-size: 11px; }
	.dk-row-head { flex-wrap: wrap; }
	.dk-more-row .dk-btn { width: 100%; }
}

/* ==========================================================================
   Video hướng dẫn · Dự án · Blog
   ========================================================================== */
.dk-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.dk-head-row .dk-head { margin-bottom: 0; }
.dk-head-row > .dk-row-ui { margin-bottom: 28px; }
.dk-rail-wide { grid-auto-columns: minmax(280px, 360px); }
.dk-card-title { display: block; font-family: var(--dk-display); font-weight: 800; font-size: 19px; line-height: 1.25; margin: 0; color: var(--dk-brown); }
.dk-card-title a { color: inherit; text-decoration: none; }
.dk-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--dk-accent); }
.dk-demo-tag { position: absolute; right: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(59, 36, 22, .82); color: #FFF3D6; font-size: 11px; font-weight: 700; letter-spacing: .04em; }

.dk-video { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dk-line); border-radius: 24px; overflow: hidden; box-shadow: var(--dk-shadow-3d); }
.dk-video-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; width: 100%; border: 0; padding: 0; cursor: pointer; background: var(--dk-ink); }
.dk-video-media img { width: 100%; height: 100%; object-fit: cover; }
.dk-video-media .dk-device { width: 34%; max-width: 120px; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .18)); }
.dk-play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--dk-gold); color: var(--dk-brown); display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 0 var(--dk-gold-deep), 0 0 0 8px rgba(255, 255, 255, .45); transition: transform .2s; }
.dk-play .dk-ic { margin-left: 4px; }
.dk-video-media:hover .dk-play { transform: scale(1.1); }
.dk-video-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.dk-video-body p { margin: 0; font-size: 14px; color: var(--dk-muted); }

.dk-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dk-project { display: flex; flex-direction: column; text-decoration: none; color: var(--dk-brown); background: #fff; border: 1px solid var(--dk-line); border-radius: 24px; overflow: hidden; box-shadow: var(--dk-shadow-3d); }
.dk-project.is-big { grid-column: span 2; grid-row: span 2; }
.dk-project-media { position: relative; flex: 1; min-height: 170px; display: flex; align-items: center; justify-content: center; }
.dk-project.is-big .dk-project-media { min-height: 300px; }
.dk-project-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dk-project-media .dk-device { width: 30%; max-width: 140px; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .18)); }
.dk-project-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.dk-project-scale { font-size: 14px; color: var(--dk-muted); }

.dk-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.dk-filter { min-height: 46px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--dk-line); background: #fff; color: var(--dk-brown); font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 0 #EADBC4; transition: transform .12s, box-shadow .12s; }
.dk-filter:active { transform: translateY(3px); box-shadow: 0 1px 0 #EADBC4; }
.dk-filter[aria-pressed="true"] { background: var(--dk-brown); border-color: var(--dk-brown); color: #FFF3D6; box-shadow: 0 4px 0 var(--dk-brown-deep); }
.dk-blog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 14px; }
.dk-link-more { font-weight: 700; font-size: 16px; color: var(--dk-accent); text-decoration: none; }
.dk-link-more:hover { text-decoration: underline; }
.dk-post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dk-line); border-radius: 24px; overflow: hidden; box-shadow: var(--dk-shadow-3d); }
.dk-post-card[hidden] { display: none; }
.dk-post-card-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; }
.dk-post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.dk-post-card-media .dk-device { width: 32%; max-width: 110px; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .18)); }
.dk-post-card-body { padding: 14px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.dk-post-card-body p { margin: 0; font-size: 14px; color: var(--dk-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dk-post-card .dk-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.dk-lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(34, 20, 11, .78); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dk-lightbox[hidden] { display: none; }
.dk-lightbox-box { width: min(960px, 100%); background: var(--dk-brown); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); animation: dkPop .25s ease; }
.dk-lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; color: #FFF3D6; font-family: var(--dk-display); font-size: 18px; }
.dk-lightbox-frame { aspect-ratio: 16 / 9; background: #000; }
.dk-lightbox-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.dk-lightbox-empty { height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: #FFF3D6; background: var(--dk-ink); }
.dk-lightbox-empty p { max-width: 460px; margin: 0; }
.dk-embed { aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; }
.dk-embed iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Thanh liên hệ nhanh: Zalo · Messenger · Gọi · Giỏ · Lên đầu
   ========================================================================== */
.dk-dock { position: fixed; z-index: 74; display: flex; }
.dk-dock-item { line-height: 1.2; font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--dk-brown); text-decoration: none; cursor: pointer; font-family: inherit; padding: 0; border-radius: 16px; }
.dk-dock-ic { position: relative; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--dk-brown); color: var(--dk-gold); box-shadow: 0 4px 0 var(--dk-brown-deep); transition: transform .12s, box-shadow .12s; }
.dk-dock-item:active .dk-dock-ic { transform: translateY(3px); box-shadow: 0 1px 0 var(--dk-brown-deep); }
.dk-dock-zalo { font-family: var(--dk-display); font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.dk-dock-label { font-size: 13px; font-weight: 600; white-space: nowrap; }
.dk-dock-call .dk-dock-ic { width: 60px; height: 60px; background: var(--dk-gold); color: var(--dk-brown); box-shadow: 0 5px 0 var(--dk-gold-deep), 0 0 0 6px #fff; animation: dkRing 2.4s ease-in-out infinite; }
.dk-dock-call:active .dk-dock-ic { box-shadow: 0 1px 0 var(--dk-gold-deep), 0 0 0 6px #fff; }
@keyframes dkRing { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
.dk-dock .dk-cart-count { top: -4px; right: -6px; background: var(--dk-gold); color: var(--dk-brown); }

@media (max-width: 1023.98px) {
	.dk-dock {
		left: 0; right: 0; bottom: 0; justify-content: space-around; align-items: flex-end;
		padding: 10px 6px calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff;
		border-top: 1px solid var(--dk-line); box-shadow: 0 -10px 30px -18px rgba(59, 36, 22, .45);
	}
	.dk-dock-item { flex: 1; min-width: 0; }
	.dk-dock-call { margin-top: -26px; }
	body.dk-theme { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
	.dk-fab { bottom: calc(104px + env(safe-area-inset-bottom, 0px)); width: 66px; height: 66px; }
	.dk-fab img { width: 50px; }
	.dk-chat { bottom: calc(180px + env(safe-area-inset-bottom, 0px)); max-height: calc(100dvh - 210px); }
	.dk-bubble { bottom: calc(118px + env(safe-area-inset-bottom, 0px)); right: 96px; }
	.dk-nav-open .dk-dock { display: none; }
}
@media (max-width: 600px) {
	.dk-bubble { right: 16px; bottom: calc(182px + env(safe-area-inset-bottom, 0px)); }
	.dk-project-grid { grid-template-columns: minmax(0, 1fr); }
	.dk-project.is-big { grid-column: auto; grid-row: auto; }
	.dk-project.is-big .dk-project-media { min-height: 200px; }
	.dk-filter { min-height: 44px; padding: 0 16px; font-size: 14px; }
	.dk-rail-wide { grid-auto-columns: 84%; }
	.dk-head-row > .dk-row-ui { display: none; }
}
@media (min-width: 601px) and (max-width: 900px) {
	.dk-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.dk-dock {
		left: 18px; top: 50%; transform: translateY(-50%); flex-direction: column; gap: 14px;
		padding: 14px 10px; background: #fff; border: 1px solid var(--dk-line); border-radius: 30px; box-shadow: var(--dk-shadow-3d);
	}
	.dk-dock-label { font-size: 11px; }
	.dk-dock-call .dk-dock-ic { width: 52px; height: 52px; box-shadow: 0 5px 0 var(--dk-gold-deep); }
}
@media (min-width: 1024px) and (max-width: 1360px) {
	.dk-dock { left: 8px; padding: 10px 6px; gap: 10px; }
	.dk-dock-label { display: none; }
	.dk-dock-ic { width: 42px; height: 42px; }
	.dk-dock-call .dk-dock-ic { width: 48px; height: 48px; }
}

/* Blog: khung bài đẹp, đồng đều (v1.1) ---------------------------------- */
.dk-blog { background: var(--dk-cream-2); }
.dk-blog .dk-rail { grid-auto-columns: minmax(260px, 300px); align-items: stretch; }
.dk-post-card { padding: 12px; border-radius: 26px; background: #fff; }
.dk-post-card-media { border-radius: 18px; overflow: hidden; }
.dk-post-card-media:not([class*="dk-soft-"]) { background-color: var(--dk-gold-soft); }
.dk-post-card-media img { display: block; transition: transform .35s ease; }
.dk-post-card:hover .dk-post-card-media img { transform: scale(1.05); }
.dk-post-card-body { padding: 14px 6px 6px; gap: 8px; flex: 1; }
.dk-post-card .dk-card-title { font-size: 18px; line-height: 1.3; -webkit-line-clamp: 3; }
.dk-blog .dk-card-title a, .dk-blog .dk-card-title a:hover { color: var(--dk-brown); text-decoration: none; }
.dk-blog .dk-card-title a:hover { color: var(--dk-accent); }
.dk-post-card-body p { -webkit-line-clamp: 3; line-height: 1.55; }
.dk-post-card .dk-meta { color: var(--dk-accent); text-transform: none; }
.dk-project-media { overflow: hidden; }
.dk-device { max-width: 100%; height: auto; }
.dk-project-media .dk-device, .dk-video-media .dk-device, .dk-post-card-media .dk-device, .dk-product-media .dk-device { max-height: 70%; }
@media (max-width: 600px) { .dk-blog .dk-rail { grid-auto-columns: 82%; } }

/* ==========================================================================
   v1.2 – Woo danh mục, tab sản phẩm, logo hãng, dock phải, chính sách
   ========================================================================== */
/* Tab Nổi bật / Bán chạy / Mới về */
.dk-modes { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--dk-line); box-shadow: 0 4px 0 #EADBC4; }
.dk-mode { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--dk-brown); font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.dk-mode[aria-selected="true"] { background: var(--dk-gold); box-shadow: inset 0 -3px 0 var(--dk-gold-deep); }
.dk-pager-bar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: -6px 0 10px; }
.dk-pager:not(.is-paged) .dk-pager-bar { display: none; }
.dk-pager[hidden] { display: none; }
.dk-empty-row { margin-top: 24px; padding: 22px; border-radius: 22px; background: #fff; border: 1px dashed var(--dk-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.dk-empty-row p { margin: 0; color: var(--dk-muted); }

/* Ảnh sản phẩm thật */
.dk-product-media { background: #fff; }
.dk-product-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; transition: transform .3s ease; }
.dk-product:hover .dk-product-media img { transform: scale(1.04); }
.dk-product .dk-price { font-size: 20px; line-height: 1.2; }
.dk-product .dk-price del { color: #9A8573; font-size: 14px; font-weight: 500; margin-right: 6px; }
.dk-product .dk-price ins { text-decoration: none; }
.dk-product-name a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dk-banner-thumb { position: absolute; right: 2%; top: 16px; width: 42%; max-width: 200px; aspect-ratio: 1; object-fit: contain; border-radius: 24px; background: rgba(255, 255, 255, .7); padding: 10px; box-sizing: border-box; box-shadow: 0 14px 24px -14px rgba(0, 0, 0, .35); }

/* Logo hãng: chạy bằng JS (không phụ thuộc cài đặt hiệu ứng của Windows) */
.dk-marquee-track { animation: none; will-change: transform; }
.dk-marquee { cursor: grab; touch-action: pan-y; }
.dk-marquee.is-drag { cursor: grabbing; }
.dk-brand-chip { text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; user-select: none; -webkit-user-drag: none; }
.dk-brand-chip:hover { transform: translateY(-3px); box-shadow: 0 8px 0 #EADBC4; color: var(--dk-brown); }
.dk-brand-chip.has-logo { padding: 12px 22px; }
.dk-brand-chip img { max-height: 52px; max-width: 140px; width: auto; object-fit: contain; pointer-events: none; }

/* Chân trang: chính sách + menu */
.dk-policy { margin-top: 22px; }
.dk-policy .dk-kicker { margin-bottom: 10px; color: var(--dk-brown); }
.dk-policy-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 4px 16px; }
.dk-policy-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--dk-brown); text-decoration: none; font-size: 15px; }
.dk-policy-list a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dk-gold); box-shadow: 0 0 0 3px var(--dk-gold-soft); flex-shrink: 0; }
.dk-policy-list a:hover { color: var(--dk-accent); }
.dk-policy-list em { color: var(--dk-muted); font-size: 12px; }
.dk-footer-menu { gap: 8px; }
.dk-footer-menu a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--dk-cream); border: 1px solid var(--dk-line); color: var(--dk-brown); text-decoration: none; font-size: 14px; }
.dk-footer-menu a:hover { background: var(--dk-gold-soft); }
.dk-project-info { list-style: none; margin: 0 0 1.5em; padding: 16px 20px; border-radius: 20px; background: var(--dk-cream-2); border: 1px solid var(--dk-line); display: grid; gap: 8px; }
.dk-project-info li { display: flex; gap: 12px; flex-wrap: wrap; }
.dk-project-info strong { min-width: 140px; }
@media (max-width: 600px) { .dk-policy-list { grid-template-columns: minmax(0, 1fr); } .dk-modes { width: 100%; } .dk-mode { flex: 1; padding: 0 8px; font-size: 14px; } }

/* Thanh liên hệ máy tính: bên phải, nền trong suốt, chữ hiện khi rê chuột */
@media (min-width: 1024px) {
	.dk-dock {
		left: auto; right: 22px; top: 50%; bottom: auto; transform: translateY(-50%);
		flex-direction: column; gap: 12px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none;
	}
	.dk-dock-item { position: relative; }
	.dk-dock-ic { width: 50px; height: 50px; box-shadow: 0 4px 0 var(--dk-brown-deep), 0 10px 18px -8px rgba(59, 36, 22, .55); }
	.dk-dock-call .dk-dock-ic { width: 56px; height: 56px; box-shadow: 0 5px 0 var(--dk-gold-deep), 0 10px 18px -8px rgba(59, 36, 22, .55); }
	.dk-dock-label {
		display: block; position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); opacity: 0; pointer-events: none;
		padding: 6px 12px; border-radius: 999px; background: var(--dk-brown); color: #FFF3D6; font-size: 13px; font-weight: 700; transition: opacity .15s, transform .15s;
	}
	.dk-dock-item:hover .dk-dock-label, .dk-dock-item:focus-visible .dk-dock-label { opacity: 1; transform: translate(0, -50%); }
	.dk-fab { right: 18px; }
}
@media (min-width: 1024px) and (max-width: 1360px) {
	.dk-dock { left: auto; right: 10px; padding: 0; gap: 10px; }
	.dk-dock-label { display: block; }
}
@media (min-width: 1024px) and (max-height: 760px) {
	.dk-dock { top: auto; bottom: 112px; transform: none; gap: 8px; }
	.dk-dock-ic { width: 44px; height: 44px; }
	.dk-dock-call .dk-dock-ic { width: 48px; height: 48px; }
}

/* ==========================================================================
   v1.3 – Thẻ sản phẩm: ảnh vuông lớn, Thêm giỏ + Mua ngay, hiệu ứng chọn
   ========================================================================== */
.dk-product { position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.dk-product::after { content: ""; position: absolute; inset: -2px; border-radius: 28px; pointer-events: none; box-shadow: 0 0 0 0 rgba(246, 201, 60, 0); transition: box-shadow .25s ease; }
.dk-product:hover::after, .dk-product:focus-within::after { box-shadow: 0 0 0 3px var(--dk-gold), 0 0 26px 4px rgba(246, 201, 60, .55); }
.dk-product.is-picked::after { animation: dkPick .9s ease-out; }
@keyframes dkPick { 0% { box-shadow: 0 0 0 3px var(--dk-gold), 0 0 0 0 rgba(246, 201, 60, .9); } 100% { box-shadow: 0 0 0 3px var(--dk-gold), 0 0 0 26px rgba(246, 201, 60, 0); } }
.dk-product-media { height: auto !important; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; border-bottom: 1px solid var(--dk-line); }
.dk-product-media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.dk-product-art { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.dk-product-art .dk-device { width: 46%; max-width: 140px; }
.dk-product-body { padding: 14px 16px 16px; gap: 6px; }
.dk-product-name { font-size: 17px; line-height: 1.3; min-height: 2.6em; }
.dk-product-spec { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; }
.dk-product-price { margin: 4px 0 8px; min-height: 26px; }
.dk-product-actions { margin-top: auto; display: flex; gap: 8px; align-items: stretch; }
.dk-product-actions > .dk-btn { flex: 1; min-height: 46px; font-size: 16px; padding: 0 12px; }
.dk-btn-buy { --shade: var(--dk-gold-deep); background: var(--dk-gold); color: var(--dk-brown); }
.dk-btn-buy:hover { color: var(--dk-brown); }
.dk-cart-btn { --shade: var(--dk-brown-deep); position: relative; flex: 0 0 52px; height: 46px; border-radius: 16px; background: var(--dk-brown); color: var(--dk-gold); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 var(--dk-brown-deep); transition: transform .12s, box-shadow .12s; text-decoration: none; }
.dk-cart-btn:hover { color: #fff; }
.dk-cart-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--dk-brown-deep); }
.dk-cart-plus { position: absolute; top: 4px; right: 6px; font-size: 13px; font-weight: 800; line-height: 1; }
.dk-cart-btn.loading { opacity: .6; pointer-events: none; }
.dk-cart-btn.loading .dk-ic { animation: dkSpin .8s linear infinite; }
@keyframes dkSpin { to { transform: rotate(360deg); } }
.dk-cart-btn.added { background: var(--dk-ok); color: #fff; box-shadow: 0 4px 0 #1E5530; }
.dk-cart-btn.added .dk-cart-plus { display: none; }
.dk-product-actions a.added_to_cart { display: none; }
.dk-fly { position: fixed; z-index: 200; pointer-events: none; border-radius: 18px; object-fit: contain; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .75s cubic-bezier(.5, -0.2, .7, 1), opacity .75s ease; }
.dk-bump { animation: dkBump .5s ease; }
@keyframes dkBump { 30% { transform: scale(1.35); } 60% { transform: scale(.9); } }
.dk-toast { position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 18px; background: var(--dk-brown); color: #FFF3D6; font-weight: 600; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .5); animation: dkPop .25s ease; max-width: calc(100vw - 32px); }
.dk-toast[hidden] { display: none; }
.dk-toast a { padding: 8px 14px; border-radius: 999px; background: var(--dk-gold); color: var(--dk-brown); text-decoration: none; font-weight: 800; white-space: nowrap; }
@media (max-width: 1023.98px) { .dk-toast { bottom: calc(104px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 700px) {
	.dk-pgrid .dk-product-media { height: auto; }
	.dk-product-name { font-size: 15px; }
	.dk-product-actions { gap: 6px; }
	.dk-cart-btn { flex-basis: 44px; height: 42px; border-radius: 14px; }
	.dk-product-actions > .dk-btn { min-height: 42px; font-size: 14px; padding: 0 8px; }
}

/* Doki grid: ảnh danh mục */
.dk-doki-card-thumb { position: absolute; top: 10px; right: 10px; width: 56px; height: 56px; object-fit: cover; border-radius: 16px; background: #fff; border: 2px solid #fff; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .35); }

/* Kể chuyện */
.dk-story-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.dk-story-cta span { color: #E6D3BB; font-size: 14px; }
.dk-story { position: fixed; inset: 0; z-index: 125; background: rgba(34, 20, 11, .82); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dk-story[hidden] { display: none; }
.dk-story-box { width: min(620px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--dk-brown); color: #FFF3D6; border-radius: 30px; padding: 16px 20px 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); display: flex; flex-direction: column; gap: 14px; animation: dkPop .25s ease; }
.dk-story-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--dk-display); font-size: 20px; }
.dk-story-head .dk-icon-btn { --shade: #1E120A; background: #5A3A22; border-color: #5A3A22; color: #FFF3D6; }
.dk-story-stage { position: relative; height: 260px; display: flex; align-items: flex-end; justify-content: center; border-radius: 24px; background: radial-gradient(circle at 50% 70%, #5C3B20, #2B190D 70%); overflow: hidden; }
.dk-story-glow { position: absolute; left: 50%; bottom: -40px; width: 300px; height: 160px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(246, 201, 60, .55), rgba(246, 201, 60, 0) 70%); }
.dk-story.is-playing .dk-story-glow { animation: dkPulseGlow 1.6s ease-in-out infinite; }
@keyframes dkPulseGlow { 50% { opacity: .55; transform: translateX(-50%) scale(1.08); } }
.dk-story-doki { position: relative; height: 240px; width: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.dk-story-doki.is-in { animation: dkStoryIn .45s ease; }
@keyframes dkStoryIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.dk-story.is-playing .dk-story-doki:not([hidden]) { animation: dkTalk .9s ease-in-out infinite; }
@keyframes dkTalk { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-5px) rotate(-1.5deg); } 60% { transform: translateY(-2px) rotate(1deg); } }
.dk-story-text { margin: 0; min-height: 5.2em; font-size: 18px; line-height: 1.6; text-align: center; text-wrap: balance; }
.dk-story-dots { display: flex; justify-content: center; gap: 2px; }
.dk-story-dots button { width: 34px; height: 30px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dk-story-dots span { display: block; width: 24px; height: 6px; border-radius: 3px; background: #6E4C32; transition: background .2s; }
.dk-story-dots .is-done span { background: #B88A3A; }
.dk-story-dots [aria-current="true"] span { background: var(--dk-gold); }
.dk-story-ctrl { display: flex; justify-content: center; align-items: center; gap: 12px; }
.dk-story-ctrl .dk-btn { min-width: 150px; }

/* Combo slide */
.dk-combos { background: linear-gradient(180deg, var(--dk-cream) 0%, var(--dk-cream-2) 100%); }
.dk-combo-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: none; }
.dk-combo-tabs::-webkit-scrollbar { display: none; }
.dk-combo-tab { flex-shrink: 0; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--dk-line); background: #fff; color: var(--dk-brown); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 4px 0 #EADBC4; }
.dk-combo-tab[aria-selected="true"] { background: var(--dk-gold); border-color: var(--dk-gold); box-shadow: 0 4px 0 var(--dk-gold-deep); }
.dk-combo-slide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; background: #fff; border: 1px solid var(--dk-line); border-radius: var(--dk-radius-lg); overflow: hidden; box-shadow: var(--dk-shadow-3d); }
.dk-combo-slide[hidden] { display: none; }
.dk-combo-slide:not([hidden]) { animation: dkSlideIn .45s ease; }
.dk-combo-media { position: relative; min-height: 380px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.dk-combo-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 24px; box-sizing: border-box; background: #fff; }
.dk-combo-device { position: absolute; right: 8%; top: 28px; width: 34%; max-width: 170px; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .25)); }
.dk-combo-media .dk-doki { width: 58%; max-width: 280px; margin-right: 22%; }
.dk-combo-count { position: absolute; left: 18px; top: 16px; padding: 4px 12px; border-radius: 999px; background: rgba(59, 36, 22, .85); color: #FFF3D6; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dk-combo-info { padding: 32px 34px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.dk-combo-info .dk-checks { width: 100%; }
.dk-combo-info .dk-combo-price { font-size: 38px; color: var(--dk-accent); }
.dk-combo-info .dk-combo-price del { font-size: 18px; color: #9A8573; margin-right: 8px; }
.dk-combo-info .dk-combo-price ins { text-decoration: none; }
.dk-combo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dk-note-small { margin: 0; font-size: 13px; color: var(--dk-muted); }
@media (max-width: 900px) {
	.dk-combo-slide { grid-template-columns: minmax(0, 1fr); }
	.dk-combo-media { min-height: 260px; }
	.dk-combo-info { padding: 22px 20px 24px; }
	.dk-combo-info .dk-combo-price { font-size: 30px; }
	.dk-combo-actions .dk-btn { flex: 1; }
	.dk-story-stage { height: 210px; }
	.dk-story-doki { height: 190px; }
	.dk-story-text { font-size: 16px; }
}

/* ==========================================================================
   Dự án & video (v1.3)
   ========================================================================== */
.dk-head .dk-pill { align-self: flex-start; }
.dk-status { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--dk-brown); font-size: 12.5px; font-weight: 800; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .3); }
.dk-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9A8573; }
.dk-status-running .dk-status-dot { background: #2FB264; box-shadow: 0 0 0 3px rgba(47, 178, 100, .25); animation: dkPulse 1.8s infinite; }
.dk-status-done .dk-status-dot { background: #2F7D46; }
.dk-status-build .dk-status-dot { background: #E0A21B; }
.dk-status-paused .dk-status-dot { background: #8A8F98; }
.dk-status-failed .dk-status-dot { background: #C2410C; }
.dk-project { position: relative; }
.dk-project[hidden] { display: none; }
.dk-project-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: 14px; color: var(--dk-accent); }
.dk-proj-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.dk-proj-cards .dk-project-media { min-height: 200px; }
.dk-proj-tags .dk-status { position: static; box-shadow: none; }
.dk-empty-filter { margin-top: 18px; color: var(--dk-muted); }

.dk-proj-hero { background: var(--dk-gold-soft); border-bottom: 1px solid var(--dk-line); }
.dk-proj-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.dk-proj-hero-text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.dk-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--dk-brown); }
.dk-proj-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dk-proj-cover { padding: 0; border: 0; border-radius: 28px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: #fff; box-shadow: var(--dk-shadow-3d); }
.dk-proj-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk-proj-body { display: flex; flex-direction: column; gap: 36px; padding-top: 36px; padding-bottom: 60px; }
.dk-proj-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.dk-proj-facts li { display: flex; gap: 12px; padding: 16px 18px; align-items: flex-start; }
.dk-proj-facts small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dk-muted); }
.dk-proj-facts strong { display: block; font-size: 16px; line-height: 1.4; }
.dk-proj-ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--dk-gold-soft); color: var(--dk-brown); display: flex; align-items: center; justify-content: center; }
.dk-proj-outcome { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.dk-proj-outcome .dk-card { padding: 22px 24px; }
.dk-proj-outcome p { margin: 10px 0 0; line-height: 1.7; }
.dk-proj-result { border-top: 6px solid #2F7D46 !important; }
.dk-proj-lessons { border-top: 6px solid var(--dk-gold) !important; }
.dk-gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 14px; }
.dk-gal-item { padding: 0; border: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; cursor: zoom-in; background: var(--dk-cream-2); }
.dk-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.dk-gal-item:hover img { transform: scale(1.06); }
.dk-proj-video .dk-embed { margin-top: 14px; }
.dk-proj-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 22px 26px; border-radius: 28px; background: var(--dk-brown); color: #FFF3D6; }
.dk-proj-cta img { width: 90px; height: auto; }
.dk-proj-cta div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; }
.dk-proj-cta strong { font-family: var(--dk-display); font-size: 24px; }
.dk-gal-box { flex-direction: column; }
.dk-gal-fig { margin: 0; max-width: min(1100px, 100%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dk-gal-fig img { max-width: 100%; max-height: calc(100dvh - 140px); border-radius: 16px; object-fit: contain; }
.dk-gal-fig figcaption { color: #FFF3D6; font-size: 14px; }
.dk-gal-close { position: absolute; top: 16px; right: 16px; }
.dk-gal-prev, .dk-gal-next { position: absolute; top: 50%; transform: translateY(-50%); }
.dk-gal-prev { left: 16px; }
.dk-gal-next { right: 16px; }
.dk-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.dk-filters a.dk-filter { display: inline-flex; align-items: center; text-decoration: none; }
.dk-filters a.dk-filter[aria-current="page"] { background: var(--dk-brown); border-color: var(--dk-brown); color: #FFF3D6; }
.dk-lightbox-head { gap: 12px; }
.dk-lightbox-head strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-lightbox-count { font-size: 13px; color: #E6D3BB; font-variant-numeric: tabular-nums; }
.dk-lightbox-nav { display: flex; justify-content: space-between; gap: 10px; padding: 12px; }
.dk-lightbox-nav .dk-btn { min-height: 44px; font-size: 15px; }
.dk-lightbox-nav [hidden] { display: none; }
@media (max-width: 800px) {
	.dk-proj-hero-in { grid-template-columns: minmax(0, 1fr); }
	.dk-gal-prev { left: 6px; } .dk-gal-next { right: 6px; }
}

/* Chat: thẻ sản phẩm + gợi ý */
.dk-chat-quick { flex-wrap: nowrap; }
.dk-chat-quick a.dk-chip { display: inline-flex; align-items: center; text-decoration: none; }
.dk-chat-products { align-self: stretch; max-width: 100%; padding: 0 !important; background: transparent !important; border: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.dk-chat-prod { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--dk-line); text-decoration: none; color: var(--dk-brown); transition: border-color .15s, transform .15s; }
.dk-chat-prod:hover { border-color: var(--dk-gold); transform: translateX(2px); color: var(--dk-brown); }
.dk-chat-prod img { width: 54px; height: 54px; object-fit: contain; border-radius: 10px; background: var(--dk-cream); flex-shrink: 0; }
.dk-chat-prod span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dk-chat-prod strong { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dk-chat-prod em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--dk-accent); }

/* Slide tự chạy + chấm (blog, video) */
.dk-rail-dots { display: flex; justify-content: center; gap: 2px; margin-top: 4px; }
.dk-rail-dots button { width: 30px; height: 28px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dk-rail-dots span { display: block; width: 8px; height: 8px; border-radius: 4px; background: #D9C3A6; transition: width .25s, background .25s; }
.dk-rail-dots [aria-current="true"] span { width: 26px; background: var(--dk-brown); }
.dk-blog .dk-rail { scrollbar-width: none; }
.dk-blog .dk-rail::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .dk-blog .dk-rail { grid-auto-columns: calc((100% - 3 * 18px) / 4); } }
@media (min-width: 700px) and (max-width: 1099.98px) { .dk-blog .dk-rail { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }

/* Máy tính: chừa chỗ cho thanh liên hệ bên phải, không đè nội dung */
@media (min-width: 1024px) {
	.dk-main .dk-wrap, .dk-footer .dk-wrap { padding-right: max(20px, calc(100px - (100vw - 1240px) / 2)); }
}

/* Tên web dài trên điện thoại */
@media (max-width: 600px) {
	.dk-brand { min-width: 0; flex: 1 1 auto; }
	.dk-brand-text { min-width: 0; }
	.dk-brand-name { font-size: 16px; line-height: 1.05; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 130px; }
	.dk-header-in { gap: 8px; }
}
@media (max-width: 380px) { .dk-brand-name { font-size: 15px; } }

/* ==========================================================================
   v1.4 – Thẻ sản phẩm bằng nhau + hàng icon, Xem nhanh, Dịch vụ, slide danh mục, form tư vấn chat
   ========================================================================== */

/* Thẻ sản phẩm: khung bằng nhau */
.dk-pgrid { align-items: stretch; }
.dk-product { height: 100%; }
.dk-product-media { height: auto !important; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.dk-product-media img { object-fit: contain; padding: 8px; transition: transform .3s ease; }
.dk-product:hover .dk-product-media img { transform: scale(1.04); }
.dk-product-body { gap: 4px; }
.dk-product-name { font-size: 17px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2em * 1.3 / 1); height: 2.6em; }
.dk-product-spec { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; height: 1.4em; }
.dk-product-price { min-height: 30px; margin: 4px 0 10px; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dk-product-price .dk-price { font-size: 18px; overflow: hidden; text-overflow: ellipsis; }
.dk-product-price .dk-price del { font-size: 13px; color: #9A8573; font-weight: 600; }
.dk-product-price .dk-price ins { text-decoration: none; }

/* Hàng 3 nút icon bằng nhau */
.dk-product-actions { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.dk-act { --shade: #D9C3A6; position: relative; height: 44px; border-radius: 14px; border: 1.5px solid var(--dk-line); background: var(--dk-cream); color: var(--dk-brown); display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 800; font-size: 14px; box-shadow: 0 3px 0 var(--shade); transition: transform .12s, box-shadow .12s, background .15s, color .15s, border-color .15s; flex: initial; }
.dk-act:hover { background: var(--dk-gold-soft); border-color: var(--dk-gold); color: var(--dk-brown); }
.dk-act:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--shade); }
.dk-act:focus-visible { outline: 3px solid var(--dk-teal); outline-offset: 2px; }
.dk-act-cart { --shade: var(--dk-brown-deep); background: var(--dk-brown); border-color: var(--dk-brown); color: var(--dk-gold); }
.dk-act-cart:hover { background: var(--dk-brown-2); border-color: var(--dk-brown-2); color: #fff; }
.dk-act-buy { --shade: var(--dk-gold-deep); background: var(--dk-gold); border-color: var(--dk-gold); color: var(--dk-brown); }
.dk-act-buy:hover { background: #FFD65A; border-color: #FFD65A; }
.dk-act-qv { background: #fff; }
.dk-act.loading { opacity: .6; pointer-events: none; }
.dk-act.loading .dk-ic { animation: dkSpin .8s linear infinite; }
.dk-act.added { --shade: #1E5530; background: var(--dk-ok); border-color: var(--dk-ok); color: #fff; }
.dk-product-actions a.added_to_cart, li.dk-loop-card a.added_to_cart { display: none !important; }
/* tooltip nhỏ khi rê chuột */
@media (hover: hover) and (min-width: 701px) {
	.dk-act[title]::after { content: attr(title); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); padding: 5px 9px; border-radius: 8px; background: var(--dk-brown); color: #FFF3D6; font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s, transform .15s; z-index: 3; }
	.dk-act[title]:hover::after { opacity: 1; transform: translate(-50%, 0); }
	.dk-product-actions .dk-act:first-child[title]::after { left: 0; transform: translate(0, 4px); }
	.dk-product-actions .dk-act:first-child[title]:hover::after { transform: translate(0, 0); }
	.dk-product-actions .dk-act:last-child[title]::after { left: auto; right: 0; transform: translate(0, 4px); }
	.dk-product-actions .dk-act:last-child[title]:hover::after { transform: translate(0, 0); }
}
.dk-product, li.dk-loop-card { overflow: visible; }
.dk-product .dk-product-media { border-radius: 26px 26px 0 0; }

@media (max-width: 700px) {
	.dk-product-name { font-size: 14.5px; }
	.dk-product-actions { gap: 6px; }
	.dk-act { height: 40px; border-radius: 12px; }
	.dk-act .dk-ic { width: 18px; height: 18px; }
	.dk-pgrid .dk-product-media { height: auto !important; }
	.dk-product-price .dk-price { font-size: 16px; }
}

/* Lưới sản phẩm WooCommerce (Cửa hàng / danh mục / liên quan) */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 0 24px !important; padding: 0; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product.dk-loop-card { width: auto !important; float: none !important; margin: 0 !important; display: flex; flex-direction: column; padding: 12px !important; border-radius: 24px; position: relative; }
.woocommerce ul.products li.dk-loop-card a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--dk-brown); }
.woocommerce ul.products li.dk-loop-card a img { width: 100% !important; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 0 10px !important; border-radius: 16px; background: #fff; }
.woocommerce ul.products li.dk-loop-card .woocommerce-loop-product__title { font-family: var(--dk-display); font-weight: 800; font-size: 16px !important; line-height: 1.3 !important; padding: 0 !important; margin: 0 0 6px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.6em; color: var(--dk-brown); }
.woocommerce ul.products li.dk-loop-card .star-rating { margin: 0 0 4px; font-size: 12px; }
.woocommerce ul.products li.dk-loop-card .price { display: block; margin: auto 0 10px !important; min-height: 26px; font-size: 17px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.woocommerce ul.products li.dk-loop-card .price del { font-size: 13px; opacity: .7; }
.woocommerce ul.products li.dk-loop-card .price ins { text-decoration: none; }
.woocommerce ul.products li.dk-loop-card .onsale { top: 18px !important; left: 18px !important; right: auto !important; margin: 0 !important; min-height: 0; min-width: 0; padding: 4px 10px; line-height: 1.3; border-radius: 999px; font-size: 12px; }
.woocommerce ul.products li.dk-loop-card .dk-product-actions { margin-top: 0; }
/* Nút cũ to (Chọn / Xem nhanh của plugin khác) → ẩn, đã có icon kính lúp */
.woocommerce ul.products li.dk-loop-card:has(.dk-product-actions) > a.button:not(.dk-act),
.woocommerce ul.products li.dk-loop-card:has(.dk-product-actions) > .button:not(.dk-act),
.woocommerce ul.products li.dk-loop-card:has(.dk-product-actions) [class*="quick-view"]:not(.dk-act),
.woocommerce ul.products li.dk-loop-card:has(.dk-product-actions) [class*="quickview"]:not(.dk-act),
.woocommerce ul.products li.dk-loop-card:has(.dk-product-actions) [class*="quick_view"]:not(.dk-act),
.woocommerce ul.products li.dk-loop-card:has(.dk-product-actions) .yith-wcqv-button { display: none !important; }
/* Trình duyệt cũ: nếu vẫn hiện nút to thì thu nhỏ lại */
.woocommerce ul.products li.dk-loop-card a.button:not(.dk-act) { padding: 9px 14px !important; font-size: 14px !important; min-height: 0; line-height: 1.2; margin: 6px 0 0 !important; text-align: center; box-shadow: 0 3px 0 var(--dk-brown-deep); }
@media (max-width: 1100px) { .woocommerce ul.products, .woocommerce ul.products.columns-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
	.woocommerce ul.products, .woocommerce ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.woocommerce ul.products li.product.dk-loop-card { padding: 8px !important; border-radius: 18px; }
	.woocommerce ul.products li.dk-loop-card .woocommerce-loop-product__title { font-size: 14px !important; }
	.woocommerce ul.products li.dk-loop-card .price { font-size: 15px !important; }
}

/* Xem nhanh */
.dk-qv { position: fixed; inset: 0; z-index: 160; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dk-qv[hidden] { display: none; }
.dk-qv-backdrop { position: absolute; inset: 0; background: rgba(34, 20, 11, .6); backdrop-filter: blur(3px); }
.dk-qv-box { position: relative; width: min(920px, 100%); max-height: calc(100dvh - 32px); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; background: #fff; border-radius: 28px; box-shadow: 0 10px 0 #E4D3BA, 0 30px 60px -20px rgba(0, 0, 0, .5); animation: dkPop .22s ease; outline: none; }
.dk-qv-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--dk-cream); color: var(--dk-brown); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dk-qv-close:hover { background: var(--dk-gold-soft); }
.dk-qv-main { aspect-ratio: 1 / 1; border-radius: 20px; background: var(--dk-cream); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dk-qv-main img { width: 100%; height: 100%; object-fit: contain; }
.dk-qv-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.dk-qv-thumbs button { flex: 0 0 60px; height: 60px; padding: 0; border-radius: 12px; border: 2px solid var(--dk-line); background: #fff; cursor: pointer; overflow: hidden; }
.dk-qv-thumbs button[aria-current="true"] { border-color: var(--dk-gold); }
.dk-qv-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.dk-qv-info { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-right: 24px; }
.dk-qv-tag { align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--dk-accent); color: #fff; font-size: 12px; font-weight: 800; }
.dk-qv-tag[hidden] { display: none; }
.dk-qv-name { font-family: var(--dk-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; margin: 0; }
.dk-qv-price { font-family: var(--dk-display); font-weight: 800; font-size: 24px; color: var(--dk-accent); }
.dk-qv-price .dk-price, .dk-qv-price .price { font-size: inherit; color: inherit; }
.dk-qv-price del { font-size: 16px; color: #9A8573; margin-right: 6px; }
.dk-qv-price ins { text-decoration: none; }
.dk-qv-stock { margin: 0; font-size: 14px; font-weight: 700; }
.dk-qv-stock[hidden] { display: none; }
.dk-qv-stock.is-in { color: var(--dk-ok); }
.dk-qv-stock.is-out { color: #B23A2B; }
.dk-qv-desc { font-size: 15px; color: var(--dk-muted); line-height: 1.6; max-height: 220px; overflow: auto; }
.dk-qv-desc p { margin: 0 0 8px; }
.dk-qv-desc ul { margin: 0 0 8px; padding-left: 20px; }
.dk-qv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.dk-qv-actions .dk-act { height: 50px; padding: 0 18px; flex: 1 1 150px; font-size: 15px; }
.dk-qv-actions .dk-act::after { display: none !important; }
.dk-qv-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; color: var(--dk-accent); }
html.dk-qv-open { overflow: hidden; }
@media (max-width: 700px) {
	.dk-qv { padding: 0; align-items: flex-end; }
	.dk-qv-box { grid-template-columns: 1fr; gap: 14px; padding: 16px; border-radius: 24px 24px 0 0; max-height: 92dvh; }
	.dk-qv-main { aspect-ratio: 4 / 3; }
	.dk-qv-info { padding-right: 0; }
	.dk-qv-actions .dk-act { flex-basis: 120px; }
}

/* Dịch vụ (thay ô 500mm/s…) */
.dk-services { margin-top: 28px; }
.dk-services-title { font-family: var(--dk-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); text-align: center; margin: 0 0 16px; }
.dk-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dk-service { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; background: #EAF4FA; border: 1px solid #D3E6F2; color: var(--dk-brown); text-decoration: none; transition: transform .18s, box-shadow .18s, background .18s; }
a.dk-service:hover, .dk-service:hover { transform: translateY(-3px); background: #E0EFF8; box-shadow: 0 14px 24px -16px rgba(31, 90, 130, .55); color: var(--dk-brown); }
.dk-service-ic { flex: 0 0 56px; height: 56px; display: flex; align-items: center; justify-content: center; color: #1D5E86; }
.dk-service-ic .dk-ic { width: 44px; height: 44px; stroke-width: 1.5; }
.dk-service-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dk-service-text strong { font-family: var(--dk-display); font-weight: 800; font-size: 16.5px; line-height: 1.25; text-transform: uppercase; letter-spacing: .01em; color: #17384F; }
.dk-service-text span { font-size: 14px; line-height: 1.45; color: #4C6170; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1023.98px) { .dk-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 600px) {
	.dk-services-grid { grid-template-columns: 1fr; gap: 10px; }
	.dk-service { padding: 14px 16px; gap: 12px; }
	.dk-service-ic { flex-basis: 44px; height: 44px; }
	.dk-service-ic .dk-ic { width: 36px; height: 36px; }
	.dk-service-text strong { font-size: 15px; }
	.dk-service-text span { font-size: 13px; }
}

/* Slide danh mục Doki (tự chạy) */
.dk-doki-rail { grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; padding: 6px 4px 26px; }
.dk-doki-rail .dk-doki-card { height: 100%; }
.dk-doki-rail .dk-doki-card-media { height: 190px; }
.dk-doki-card-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.3em; font-size: 18px; }
.dk-doki-card-sub { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; min-height: 1.4em; }
.dk-doki-card-body { flex: 1; }
.dk-doki-card-go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--dk-accent); }
.dk-doki-card:hover .dk-doki-card-go .dk-ic { transform: translateX(3px); }
.dk-doki-card-go .dk-ic { transition: transform .15s; }
#nganh .dk-head-row { align-items: flex-end; }
@media (max-width: 1100px) { .dk-doki-rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); } }
@media (max-width: 800px) { .dk-doki-rail { grid-auto-columns: calc((100% - 2 * 12px) / 3); gap: 12px; } }
@media (max-width: 600px) {
	.dk-doki-rail { grid-auto-columns: calc((100% - 12px) / 2.15); }
	.dk-doki-rail .dk-doki-card-media { height: 150px; }
	.dk-doki-rail .dk-doki-card-media img:not(.dk-doki-card-thumb) { height: 135px; }
	.dk-doki-card-name { font-size: 16px; }
}

/* Chat: form để lại thông tin tư vấn */
.dk-chat-foot { display: flex; align-items: center; gap: 8px; padding: 8px 12px 10px; border-top: 1px solid var(--dk-line); }
.dk-chat-foot .dk-chat-zalo { border: 0; padding: 8px 10px; flex: 0 0 auto; }
.dk-chat-leadbtn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--dk-brown); background: var(--dk-gold-soft); color: var(--dk-brown); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.dk-chat-leadbtn:hover { background: var(--dk-gold); }
.dk-msg.dk-msg-form { max-width: 100%; width: 100%; padding: 0; background: transparent; border: 0; }
.dk-lead-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: #fff; border: 1.5px solid var(--dk-gold); box-shadow: 0 6px 0 var(--dk-gold-soft); }
.dk-lead-title { font-family: var(--dk-display); font-weight: 800; font-size: 16px; line-height: 1.25; }
.dk-lead-card label { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; font-weight: 700; color: var(--dk-muted); }
.dk-lead-card label b { color: #B23A2B; }
.dk-lead-card input, .dk-lead-card select, .dk-lead-card textarea { width: 100%; min-height: 42px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--dk-line); background: var(--dk-cream); font: inherit; font-size: 15px; color: var(--dk-brown); }
.dk-lead-card textarea { min-height: 60px; resize: vertical; }
.dk-lead-card input:focus, .dk-lead-card select:focus, .dk-lead-card textarea:focus { outline: none; border-color: var(--dk-gold-deep); background: #fff; }
.dk-lead-card .dk-btn { min-height: 46px; width: 100%; font-size: 16px; }
.dk-lead-card small { font-size: 11.5px; color: var(--dk-muted); text-align: center; }
.dk-lead-err { margin: 0; font-size: 13px; color: #B23A2B; font-weight: 700; }
.dk-lead-err[hidden] { display: none; }
.dk-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.dk-lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dk-lead-card { gap: 6px; padding: 12px; }
.dk-lead-card input, .dk-lead-card select { min-height: 40px; padding: 6px 10px; }
.dk-lead-card textarea { min-height: 48px; }
@media (max-width: 700px) {
	.dk-product-price, .woocommerce ul.products li.dk-loop-card .price { white-space: normal !important; overflow: visible; min-height: 2.5em; line-height: 1.25; display: block; margin-bottom: 8px !important; }
	.dk-product-price .dk-price { display: block; font-size: 15.5px; }
	.dk-product-price .dk-price del, .woocommerce ul.products li.dk-loop-card .price del { display: block; font-size: 12px; line-height: 1.3; }
	.dk-product-price > del { display: none; }
	.woocommerce ul.products li.dk-loop-card .price { font-size: 15px !important; }
}
.dk-qv-actions a.added_to_cart { display: none !important; }
.dk-qv-actions .dk-act { white-space: nowrap; }
.dk-toast { z-index: 170; }

/* ==========================================================================
   v1.5 – chọn phiên bản trong Xem nhanh, Mua ngay trang sản phẩm, ảnh không cắt
   ========================================================================== */
.dk-qv-vars { display: flex; flex-direction: column; gap: 10px; }
.dk-qv-vars[hidden] { display: none; }
.dk-qv-var-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--dk-muted); margin-bottom: 6px; }
.dk-qv-var-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dk-qv-opt { min-height: 42px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--dk-line); background: #fff; color: var(--dk-brown); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: border-color .15s, background .15s; }
.dk-qv-opt:hover { border-color: var(--dk-gold); }
.dk-qv-opt[aria-pressed="true"] { border-color: #D2472F; background: #FFF4EE; box-shadow: inset 0 0 0 1px #D2472F; }
.dk-qv-actions .dk-act:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.dk-qv-actions .dk-act.is-want:not(:disabled) { animation: dkBump .6s ease 1; }
.dk-qv-hint { flex-basis: 100%; margin: 0; font-size: 13px; font-weight: 700; color: var(--dk-accent); }
.dk-qv-hint[hidden] { display: none; }
.dk-qv-desc { order: 9; }

/* Ảnh trong lưới: luôn thấy trọn ảnh, emoji trong tên không bị phóng to */
li.dk-loop-card a img:not(.emoji), li.dk-loop-card .wp-post-image { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain !important; max-height: 340px; background: #fff; border-radius: 16px; }
li.dk-loop-card img.emoji, .dk-product img.emoji { display: inline !important; width: 1em !important; height: 1em !important; aspect-ratio: auto; margin: 0 .1em 0 0 !important; vertical-align: -0.1em; background: none; border-radius: 0; }
.dk-product-media img { object-fit: contain !important; }

/* Trang chi tiết sản phẩm: hàng số lượng + Thêm giỏ + Mua ngay */
.single-product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.single-product form.cart.variations_form { display: block; }
.single-product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.single-product form.cart .quantity { margin: 0 !important; float: none !important; }
.single-product form.cart .quantity .qty { width: 78px; height: 54px; border-radius: 14px; border: 1.5px solid var(--dk-line); background: #fff; font: inherit; font-size: 18px; font-weight: 700; text-align: center; color: var(--dk-brown); }
.single-product form.cart .single_add_to_cart_button { float: none !important; flex: 1 1 170px; min-height: 54px; margin: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; font-size: 17px !important; padding: 0 18px !important; }
.single-product form.cart .single_add_to_cart_button:not(.dk-buy-now) { background: var(--dk-brown) !important; color: var(--dk-gold) !important; box-shadow: 0 5px 0 var(--dk-brown-deep) !important; }
.single-product form.cart .dk-buy-now { background: #E8442E !important; color: #fff !important; box-shadow: 0 5px 0 #A92B1A !important; }
.single-product form.cart .single_add_to_cart_button.disabled { opacity: .55; }
.single-product .compare, .single-product a.compare.button, .single-product .woocommerce-product-compare, .single-product .yith-compare a, .single-product [class*="compare"] > a.button {
	display: inline-flex !important; align-items: center; gap: 6px; padding: 8px 16px !important; min-height: 0 !important; font-size: 14px !important; font-weight: 700 !important; background: transparent !important; color: var(--dk-brown) !important; border: 1.5px solid var(--dk-line) !important; box-shadow: none !important; margin: 12px 0 6px !important; }
.single-product .product_meta { font-size: 14px; color: var(--dk-muted); display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
@media (max-width: 600px) {
	.single-product form.cart .single_add_to_cart_button { flex-basis: calc(50% - 50px); font-size: 15.5px !important; padding: 0 10px !important; }
}
.single-product form.cart .single_add_to_cart_button { flex: 1 1 0; min-width: 0; white-space: nowrap; }
.single-product form.cart { flex-wrap: nowrap; }
.single-product form.cart .woocommerce-variation-add-to-cart { flex-wrap: nowrap; }
@media (max-width: 600px) { .single-product form.cart .quantity .qty { width: 62px; } .single-product form.cart .single_add_to_cart_button { font-size: 15px !important; padding: 0 8px !important; gap: 6px; } }

/* ==========================================================================
   v1.6 – ô chọn phiên bản (swatch) không cắt ảnh + viền vàng khi chọn, combo có giọng Doki
   ========================================================================== */
/* Ảnh trong ô chọn phiên bản: thấy trọn ảnh */
form.variations_form [class*="swatch"] img,
form.variations_form [class*="variable-item"] img,
form.variations_form [class*="wpvs"] img,
form.variations_form [class*="cfvsw"] img,
form.variations_form .variations img {
	object-fit: contain !important; object-position: center !important; max-width: 100% !important; background: #fff; border-radius: 10px;
}
form.variations_form [class*="variable-item"][style*="background-image"],
form.variations_form [class*="wpvs"][style*="background-image"],
form.variations_form [class*="swatch"][style*="background-image"] { background-size: contain !important; background-repeat: no-repeat !important; background-position: center !important; }

/* Ô chọn phiên bản: hover + đang chọn (viền vàng đậm, nổi lên, nảy nhẹ) */
form.variations_form .variable-item,
form.variations_form [class*="wpvs-option-wrap"],
form.variations_form .cfvsw-swatches-option,
form.variations_form [class*="swatch-item"],
form.variations_form [class*="swatches-option"] {
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease !important; cursor: pointer;
}
form.variations_form .variable-item:hover,
form.variations_form [class*="wpvs-option-wrap"]:hover,
form.variations_form .cfvsw-swatches-option:hover,
form.variations_form [class*="swatch-item"]:hover { border-color: var(--dk-gold) !important; transform: translateY(-2px); box-shadow: 0 10px 18px -12px rgba(201, 142, 18, .7) !important; }
form.variations_form .variable-item.selected,
form.variations_form [class*="wpvs-option-wrap"][class*="selected"],
form.variations_form .cfvsw-swatches-option.cfvsw-selected-swatch,
form.variations_form [class*="swatch-item"].selected,
form.variations_form [class*="swatch-item"].active,
form.variations_form [class*="swatch"][aria-checked="true"],
form.variations_form .variable-item[aria-checked="true"] {
	border: 3px solid var(--dk-gold-deep) !important; outline: 0 !important;
	background-color: #FFF6D6 !important;
	box-shadow: 0 0 0 4px rgba(246, 201, 60, .45), 0 14px 26px -14px rgba(201, 142, 18, .9) !important;
	transform: translateY(-3px);
	animation: dkSwatchPick .4s ease;
}
@keyframes dkSwatchPick { 0% { transform: scale(.96); } 60% { transform: translateY(-4px) scale(1.03); } 100% { transform: translateY(-3px); } }
/* dấu tích của plugin → màu vàng thương hiệu */
form.variations_form .variable-item.selected::before,
form.variations_form [class*="wpvs-option-wrap"][class*="selected"]::before { background-color: var(--dk-gold-deep) !important; border-color: var(--dk-gold-deep) !important; }
form.variations_form .variable-item.selected .variable-item-span,
form.variations_form [class*="wpvs-option-wrap"][class*="selected"] [class*="option-name"],
form.variations_form [class*="wpvs-option-wrap"][class*="selected"] span { color: var(--dk-brown) !important; font-weight: 800; }
@media (prefers-reduced-motion: reduce) { form.variations_form .variable-item.selected, form.variations_form [class*="wpvs-option-wrap"][class*="selected"] { animation: none; transform: none; } }

/* Combo: nút Doki giới thiệu */
.dk-combo-talk { min-height: 46px; padding: 0 16px; font-size: 15px; gap: 8px; }
.dk-combo-talk .dk-talk-off { display: none; }
.dk-combos.is-talking .dk-combo-talk { background: var(--dk-gold); border-color: var(--dk-gold-deep); }
.dk-combos.is-talking .dk-combo-talk .dk-talk-on { display: none; }
.dk-combos.is-talking .dk-combo-talk .dk-talk-off { display: inline; }
.dk-combos.is-talking .dk-combo-talk .dk-ic { animation: dkTalkPulse 1s ease-in-out infinite; }
@keyframes dkTalkPulse { 50% { transform: scale(1.25); } }
.dk-combos.is-talking .dk-combo-slide:not([hidden]) .dk-combo-media { box-shadow: 0 0 0 4px rgba(246, 201, 60, .55); }
@media (max-width: 600px) { .dk-combo-talk { padding: 0 12px; font-size: 14px; } }
@media (max-width: 700px) {
	.dk-combos .dk-head-row > .dk-row-ui { display: flex; margin: -8px 0 16px; }
	.dk-combos .dk-head-row > .dk-row-ui .dk-round { display: none; }
	.dk-combos .dk-combo-talk { width: 100%; justify-content: center; }
}

/* ==========================================================================
   v1.7 – slide danh mục không cắt thẻ, ảnh ô phiên bản không cắt, gallery đồng bộ
   ========================================================================== */
.dk-rail { scroll-padding-inline: 4px; }
@media (max-width: 600px) {
	.dk-doki-rail { grid-auto-columns: calc((100% - 12px) / 2); padding-left: 0; padding-right: 0; scroll-padding-inline: 0; }
}
/* Ảnh trong ô chọn phiên bản: mọi plugin swatch – luôn thấy trọn ảnh */
.single-product form.variations_form img,
.single-product .summary [class*="swatch"] img,
.single-product .summary [class*="variation"] img {
	object-fit: contain !important; object-position: center !important; max-width: 100% !important; height: auto; background: #fff;
}
.single-product form.variations_form [style*="background-image"] { background-size: contain !important; background-repeat: no-repeat !important; background-position: center !important; background-color: #fff; }
/* Ô đang chọn: thêm các kiểu class phổ biến khác */
.single-product form.variations_form .variations td.value [class*="-selected"]:not(select):not(option):not(span):not(img),
.single-product form.variations_form .variations td.value .selected:not(select):not(option):not(span):not(img),
.single-product form.variations_form .variations td.value .active:not(select):not(option):not(span):not(img) {
	border: 3px solid var(--dk-gold-deep) !important; outline: 0 !important; background-color: #FFF6D6 !important;
	box-shadow: 0 0 0 4px rgba(246, 201, 60, .45), 0 14px 26px -14px rgba(201, 142, 18, .9) !important;
}
/* Ảnh nhỏ đang xem trong gallery */
.single-product .dk-gal-nav .slick-slide.dk-thumb-on img { outline: 3px solid var(--dk-gold-deep); outline-offset: -3px; }

/* v1.8 – menu dính đỉnh trên điện thoại khi đăng nhập (thanh admin WordPress) */
@media (max-width: 782px) { .admin-bar .dk-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .dk-header { top: 0; } }

/* v1.9 – ô tìm kiếm cạnh tab Nổi bật / Bán chạy / Mới về */
.dk-row-head { flex-wrap: wrap; }
.dk-row-head .dk-h3 { margin-right: auto; }
.dk-cat-search { display: flex; align-items: center; gap: 4px; flex: 0 1 300px; min-width: 220px; height: 52px; padding: 4px 4px 4px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--dk-line); box-shadow: 0 4px 0 #EADBC4; transition: border-color .15s, box-shadow .15s; }
.dk-cat-search:focus-within { border-color: var(--dk-gold-deep); box-shadow: 0 4px 0 #EADBC4, 0 0 0 4px rgba(246, 201, 60, .35); }
.dk-cat-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--dk-brown); outline: none; }
.dk-cat-search input::-webkit-search-cancel-button { cursor: pointer; }
.dk-cat-search button { flex: 0 0 44px; height: 44px; border-radius: 50%; border: 0; background: var(--dk-gold); color: var(--dk-brown); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 3px 0 var(--dk-gold-deep); }
.dk-cat-search button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--dk-gold-deep); }
.dk-filter-empty { margin: 8px 0 0; padding: 16px; border-radius: 18px; background: #fff; border: 1px dashed var(--dk-line); text-align: center; color: var(--dk-muted); font-weight: 600; }
.dk-filter-empty[hidden] { display: none; }
@media (max-width: 900px) {
	.dk-row-head .dk-h3 { flex-basis: 100%; }
	.dk-row-head .dk-modes { flex: 1 1 auto; }
	.dk-cat-search { flex: 1 1 100%; min-width: 0; }
}

/* ==========================================================================
   v2.0 – mega menu gọn (không tràn màn hình) + Kho file in 3D
   ========================================================================== */
@media (min-width: 1024px) {
	.dk-mega-panel {
		grid-template-columns: repeat(4, minmax(0, 1fr)) 230px; gap: 4px 14px; padding: 16px 18px;
		max-height: calc(100vh - var(--dk-header-h) - 24px); max-height: calc(100dvh - var(--dk-header-h) - 24px);
		overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #D9C3A6 transparent; align-items: start;
	}
	.admin-bar .dk-mega-panel { max-height: calc(100dvh - var(--dk-header-h) - 56px); }
	.dk-mega-panel > .dk-item { padding: 4px; }
	.dk-mega-panel > .dk-item > .dk-link { font-size: 16px; padding: 4px; gap: 10px; }
	.dk-mega-panel .dk-mega-ic { width: 36px; height: 36px; border-radius: 11px; }
	.dk-mega-panel .dk-mega-svg { width: 26px; height: 26px; }
	.dk-mega-panel .dk-sub-2 { padding: 2px 0 6px 50px; }
	.dk-mega-panel .dk-sub-2 .dk-link { padding: 4px 8px; font-size: 13.5px; line-height: 1.3; }
	.dk-mega-panel .dk-sub-2 .dk-deep .dk-link { padding-left: 16px; font-size: 13px; }
	.dk-mega-panel .dk-sub-2 .dk-more-link .dk-link { color: var(--dk-accent); font-weight: 800; }
	.dk-mega-promo { grid-column: 5; grid-row: 1 / span 3; position: sticky; top: 0; align-self: start; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
	.dk-mega-panel { grid-template-columns: repeat(3, minmax(0, 1fr)) 210px; }
	.dk-mega-promo { grid-column: 4; }
}

/* Kho file in 3D */
.dk-fs-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: center; padding: 34px 36px; border-radius: var(--dk-radius-lg); box-shadow: var(--dk-shadow-3d); overflow: hidden; }
.dk-fs-hero p { font-size: 16.5px; max-width: 56ch; }
.dk-fs-hero-art { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 220px; }
.dk-fs-hero-art .dk-device { position: absolute; left: 6%; top: 8%; width: 42%; max-width: 170px; }
.dk-fs-hero-art img { width: min(230px, 70%); height: auto; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .2)); }
.dk-fs-search { margin-top: 14px; max-width: 520px; }
.dk-fs-filters { margin: 26px 0 10px; }
.dk-fs-title { margin: 26px 0 12px; }
.dk-fs-note { margin: -4px 0 14px; color: var(--dk-muted); font-size: 14.5px; }
.dk-fs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dk-fs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dk-line); border-radius: 24px; box-shadow: var(--dk-shadow-3d); overflow: hidden; }
.dk-fs-card[hidden], [data-dk-fs-sec][hidden] { display: none !important; }
.dk-fs-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--dk-line); }
.dk-fs-media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.dk-fs-media .dk-device { width: 50%; }
.dk-fs-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #1D5E86; background: linear-gradient(135deg, #EAF4FA, #F6FBFE); }
.dk-fs-ph .dk-ic { width: 64px; height: 64px; stroke-width: 1.4; }
.dk-fs-badge { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--dk-brown); color: #FFF3D6; font-size: 12px; font-weight: 800; }
.dk-fs-badge.is-free { background: var(--dk-ok); color: #fff; }
.dk-fs-badge.is-src { background: #17384F; color: #fff; }
.dk-fs-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.dk-fs-name { margin: 0; font-family: var(--dk-display); font-weight: 800; font-size: 16.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.dk-fs-name a { color: var(--dk-brown); text-decoration: none; }
.dk-fs-desc { margin: 0; font-size: 13.5px; color: var(--dk-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dk-fs-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--dk-muted); }
.dk-fs-price { font-family: var(--dk-display); font-weight: 800; font-size: 17px; color: var(--dk-accent); }
.dk-fs-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 6px; }
.dk-fs-actions .dk-btn { width: 100%; min-height: 44px; font-size: 14.5px; padding: 0 12px; gap: 6px; }
.dk-fs-empty, .dk-fs-none { padding: 22px; border-radius: 22px; background: #fff; border: 1px dashed var(--dk-line); text-align: center; color: var(--dk-muted); }
@media (max-width: 1100px) { .dk-fs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.dk-fs-hero { grid-template-columns: 1fr; padding: 24px 20px; border-radius: 28px; }
	.dk-fs-hero-art { min-height: 160px; }
	.dk-fs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.dk-fs-body { padding: 10px 10px 12px; }
	.dk-fs-name { font-size: 14.5px; }
	.dk-fs-actions .dk-btn { min-height: 40px; font-size: 13px; }
}
/* Mega: xếp cột kiểu báo (masonry) – không còn khoảng trống giữa các hàng */
@media (min-width: 1024px) {
	.dk-mega-panel { display: block !important; column-count: 4; column-gap: 14px; padding: 16px 262px 16px 18px !important; position: absolute; min-height: 270px; box-sizing: border-box; }
	.dk-mega-panel > .dk-item { break-inside: avoid; display: block; margin-bottom: 6px; }
	.dk-mega-promo { position: absolute; top: 16px; right: 18px; width: 230px; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
	.dk-mega-panel { column-count: 3; padding-right: 238px !important; }
	.dk-mega-promo { width: 210px; }
}

/* ==========================================================================
   v2.2 – Mega kiểu "store": danh sách trái + sản phẩm phải (giống store Bambu)
   ========================================================================== */
@media (min-width: 1024px) {
	.dk-mega-panel.dk-mstore {
		column-count: auto !important; display: block !important; padding: 18px !important; min-height: 460px;
		grid-template-columns: none; max-height: calc(100dvh - var(--dk-header-h) - 24px); overflow: hidden;
	}
	.dk-mstore::after { content: ""; position: absolute; left: 300px; top: 18px; bottom: 18px; width: 1px; background: var(--dk-line); pointer-events: none; }
	.dk-mstore > .dk-item.dk-mstore-item { position: static; display: block; width: 270px; margin: 0 0 2px; padding: 0; break-inside: auto; }
	.dk-mstore > .dk-mstore-item > .dk-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px !important; border-radius: 14px; font-family: var(--dk-display); font-weight: 800; font-size: 15.5px !important; color: var(--dk-brown); transition: background .15s; }
	.dk-mstore > .dk-mstore-item > .dk-link .dk-link-text { flex: 1; }
	.dk-mstore .dk-mega-ic { width: 34px; height: 34px; border-radius: 10px; }
	.dk-mstore .dk-mega-svg { width: 24px; height: 24px; }
	.dk-mstore-chev { color: #B79C80; display: inline-flex; transition: transform .15s, color .15s; }
	.dk-mstore > .dk-mstore-item.is-active > .dk-link { background: var(--dk-cream-2); }
	.dk-mstore > .dk-mstore-item.is-active .dk-mstore-chev { color: var(--dk-brown); transform: translateX(3px); }
	.dk-mstore > .dk-mstore-item > .dk-sub-toggle { display: none; }
	.dk-mstore-all { width: 270px; list-style: none; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--dk-line); }
	.dk-mstore-all a { display: flex; align-items: center; gap: 6px; padding: 8px 10px; font-weight: 800; font-size: 14px; color: var(--dk-accent); text-decoration: none; }

	/* Khung phải */
	.dk-mstore-pane { display: none; position: absolute; left: 324px; right: 18px; top: 18px; bottom: 18px; overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
	.dk-mstore-item.is-active > .dk-mstore-pane { display: block; animation: dkMPane .2s ease; }
	@keyframes dkMPane { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
	.dk-mstore-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
	.dk-mstore-head strong { font-family: var(--dk-display); font-weight: 800; font-size: 20px; color: var(--dk-brown); }
	.dk-mstore-head a { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 14px; color: var(--dk-accent); text-decoration: none; }
	.dk-mstore-pane > .dk-sub-2 { position: static !important; display: flex !important; flex-wrap: wrap; gap: 8px; padding: 0 !important; margin: 0 0 14px; opacity: 1 !important; visibility: inherit !important; transform: none !important; box-shadow: none !important; border: 0 !important; background: transparent !important; pointer-events: inherit !important; }
	.dk-mstore-pane > .dk-sub-2 > .dk-item { display: block; }
	.dk-mstore-pane > .dk-sub-2 .dk-link { display: inline-flex; padding: 7px 14px !important; border-radius: 999px; background: #fff; border: 1px solid var(--dk-line); font-size: 13.5px !important; font-weight: 700; color: var(--dk-brown) !important; }
	.dk-mstore-pane > .dk-sub-2 .dk-link:hover { background: var(--dk-gold-soft) !important; border-color: var(--dk-gold); }
	.dk-mstore-pane > .dk-sub-2 .dk-sub-toggle, .dk-mstore-pane .dk-sub-3 { display: none !important; }
	.dk-mstore-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
	.dk-mcard { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--dk-line); text-decoration: none; color: var(--dk-brown); transition: transform .18s, box-shadow .18s, border-color .18s; }
	.dk-mcard:hover { transform: translateY(-3px); border-color: var(--dk-gold); box-shadow: 0 14px 24px -16px rgba(59, 36, 22, .5); color: var(--dk-brown); }
	.dk-mcard-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 12px; background: #fff; overflow: hidden; margin-bottom: 4px; }
	.dk-mcard-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
	.dk-mcard:hover .dk-mcard-img img { transform: scale(1.05); }
	.dk-mcard-img .dk-device { width: 55%; }
	.dk-mcard-tag { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: #E8442E; color: #fff; font-size: 11.5px; font-weight: 800; }
	.dk-mcard-name { font-weight: 800; font-size: 14px; line-height: 1.3; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
	.dk-mcard-spec { font-size: 12.5px; color: var(--dk-muted); text-align: center; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.dk-mcard-price { margin-top: auto; text-align: center; font-family: var(--dk-display); font-weight: 800; font-size: 15px; color: var(--dk-accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.dk-mcard-price del { display: none; }
	.dk-mcard-price ins { text-decoration: none; }
	.dk-mstore-empty { color: var(--dk-muted); }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
	.dk-mstore-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dk-mstore-cards .dk-mcard:nth-child(4) { display: none; }
	.dk-mstore > .dk-item.dk-mstore-item, .dk-mstore-all { width: 240px; }
	.dk-mstore::after { left: 270px; }
	.dk-mstore-pane { left: 292px; }
}
/* Điện thoại: giữ kiểu xổ xuống – chỉ hiện link con, ẩn khung sản phẩm */
@media (max-width: 1023.98px) {
	.dk-mstore-pane { display: none; width: 100%; }
	.dk-mstore-item.is-open > .dk-mstore-pane { display: block; }
	.dk-mstore-pane > .dk-sub { display: block; }
	.dk-mstore-head, .dk-mstore-cards, .dk-mstore-chev, .dk-mstore-empty { display: none !important; }
	.dk-mstore-all { list-style: none; padding: 8px 12px; }
	.dk-mstore-all a { font-weight: 800; color: var(--dk-accent); text-decoration: none; }
}

/* v2.4 – Ô dịch vụ màu vàng đậm + hiệu ứng */
.dk-service {
	position: relative; overflow: hidden; width: 100%; font: inherit; text-align: left; cursor: pointer;
	background: linear-gradient(135deg, #FFE48A 0%, #F6C93C 55%, #E9B12A 100%); border: 2px solid #D79E14;
	box-shadow: 0 6px 0 #B98208, 0 16px 26px -16px rgba(150, 100, 0, .7); color: var(--dk-brown);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.dk-service::before {
	content: ""; position: absolute; top: -40%; bottom: -40%; left: -60%; width: 40%; transform: rotate(20deg);
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); pointer-events: none;
	animation: dkShine 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .6s);
}
@keyframes dkShine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.dk-services-grid > .dk-service:nth-child(2) { --i: 1; } .dk-services-grid > .dk-service:nth-child(3) { --i: 2; }
.dk-services-grid > .dk-service:nth-child(4) { --i: 3; } .dk-services-grid > .dk-service:nth-child(5) { --i: 4; }
.dk-services-grid > .dk-service:nth-child(6) { --i: 5; }
a.dk-service:hover, .dk-service:hover {
	background: linear-gradient(135deg, #FFE48A 0%, #F6C93C 50%, #E2A41C 100%); transform: translateY(-4px);
	box-shadow: 0 10px 0 #B98208, 0 22px 34px -14px rgba(201, 142, 18, .85), 0 0 0 4px rgba(246, 201, 60, .35); color: var(--dk-brown);
}
.dk-service:active { transform: translateY(3px); box-shadow: 0 2px 0 #B98208; }
.dk-service:focus-visible { outline: 3px solid var(--dk-brown); outline-offset: 3px; }
.dk-service-ic { flex: 0 0 60px; height: 60px; border-radius: 18px; background: var(--dk-brown); color: var(--dk-gold); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25), 0 6px 12px -6px rgba(0, 0, 0, .5); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.dk-service-ic .dk-ic { width: 34px; height: 34px; stroke-width: 1.7; }
.dk-service:hover .dk-service-ic { transform: rotate(-8deg) scale(1.08); }
.dk-service-text strong { color: var(--dk-brown); }
.dk-service-text span { color: #5A3A22; }
.dk-service-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-style: normal; font-size: 13px; font-weight: 800; color: var(--dk-brown); opacity: .75; transition: gap .2s, opacity .2s; }
.dk-service:hover .dk-service-go { gap: 8px; opacity: 1; }
@media (max-width: 600px) {
	.dk-service-ic { flex-basis: 48px; height: 48px; border-radius: 14px; }
	.dk-service-ic .dk-ic { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .dk-service::before { animation: none; display: none; } }

/* v2.4.1 – mega chỉ bắt chuột khi đang mở (tránh tự bung khi rê gần menu) */
@media (min-width: 1024px) {
	.dk-item:not(.is-open):not(.is-kbd) > .dk-mega-panel, .dk-item:not(.is-open):not(.is-kbd) > .dk-mega-panel * { pointer-events: none !important; }
}
