/* ==========================================================================
   Dandy Hats: main styles
   Palette: black / bone / white with a red accent (see Customizer)
   ========================================================================== */

:root {
	/* Brand palette */
	--dh-sky: #97d7ff;
	--dh-accent: #4d8dba;        /* steel blue */
	--dh-teal: #55a9a0;
	--dh-soft: #eeeeee;
	--dh-mint: #70ffd2;
	/* Supporting shades for readable text */
	--dh-primary: #0e2a3b;       /* deep navy ink: text, headings, dark surfaces */
	--dh-accent-text: #2e6e99;   /* darker steel for small accent text */
	--dh-text: #1a2b36;
	--dh-muted: #5b6b75;
	--dh-bg: #ffffff;
	--dh-line: #dde3e7;
	--dh-footer-bg: #0e2a3b;
	--dh-footer-text: #eeeeee;
	--dh-announce-bg: #70ffd2;
	--dh-announce-text: #0e2a3b;
	--dh-shop-cols: 4;

	--dh-font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
	--dh-font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--dh-font-gothic: "UnifrakturCook", "Old English Text MT", serif;

	--dh-container: 1320px;
	--dh-gutter: 20px;
	--dh-header-h: 76px;
	--dh-radius: 0px;
	--dh-ease: cubic-bezier(.2, .7, .2, 1);
	--dh-shadow: 0 18px 50px -18px rgba(0, 0, 0, .28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--dh-bg);
	color: var(--dh-text);
	font-family: var(--dh-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.dh-lock { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--dh-accent); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--dh-font-display);
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.05;
	letter-spacing: .01em;
	margin: 0 0 .5em;
	color: var(--dh-primary);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--dh-sky); color: var(--dh-primary); }
:focus-visible { outline: 2px solid var(--dh-accent); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100000; top: 8px; left: 8px;
	padding: 12px 18px; background: var(--dh-primary); color: #fff; margin: 0;
}

.dh-container { width: 100%; max-width: var(--dh-container); margin-inline: auto; padding-inline: var(--dh-gutter); }
.dh-container--narrow { max-width: 860px; }
.dh-section { padding-block: 56px 80px; }
.dh-eyebrow {
	font-family: var(--dh-font-body); font-weight: 700; font-size: 12px;
	letter-spacing: .22em; text-transform: uppercase; color: var(--dh-accent-text); margin-bottom: 10px;
}
.dh-eyebrow a { color: inherit; }
.dh-link {
	display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px;
	letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.dh-link .dh-icon { transition: transform .25s var(--dh-ease); }
.dh-link:hover .dh-icon { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.dh-btn, :where(.button, button[type="submit"]:not(.dh-iconbtn):not([class*="wc-block"]):not(.elementor-button), input[type="submit"]) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 14px 30px;
	background: var(--dh-primary); color: #fff; border: 2px solid var(--dh-primary);
	border-radius: var(--dh-radius); cursor: pointer;
	font-family: var(--dh-font-body); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
	transition: background .25s, border-color .25s, color .25s, transform .2s;
}
.dh-btn:hover, :where(.button, button[type="submit"]:not(.dh-iconbtn):not([class*="wc-block"]):not(.elementor-button), input[type="submit"]):hover {
	background: var(--dh-sky); border-color: var(--dh-sky); color: var(--dh-primary);
}
.dh-btn--ghost { background: transparent; color: var(--dh-primary); }
.dh-btn--ghost:hover { background: var(--dh-primary); border-color: var(--dh-primary); }

.dh-iconbtn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--dh-primary);
	transition: color .2s, transform .2s;
}
.dh-iconbtn:hover { color: var(--dh-accent); }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"],
input[type="password"], input[type="number"], select, textarea {
	width: 100%; min-height: 48px; padding: 12px 14px;
	background: #fff; border: 1.5px solid var(--dh-line); border-radius: var(--dh-radius);
	transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--dh-primary); outline: none; }
label { font-weight: 600; font-size: 14px; }

/* ---------- Announcement bar ---------- */
.dh-announce {
	background: var(--dh-announce-bg); color: var(--dh-announce-text); overflow: hidden; white-space: nowrap;
	font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; height: 36px;
}
.dh-announce__link, .dh-announce__link:hover { color: var(--dh-announce-text); display: block; }
.dh-announce__track { display: flex; width: max-content; animation: dh-marquee 38s linear infinite; }
.dh-announce:hover .dh-announce__track { animation-play-state: paused; }
.dh-announce__list { display: flex; margin: 0; padding: 0; list-style: none; }
.dh-announce__list li { display: flex; align-items: center; height: 36px; padding: 0 28px; }
.dh-announce__list li::after { content: "\2726"; margin-left: 56px; font-size: 10px; opacity: .8; }
@keyframes dh-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.dh-header {
	position: relative; z-index: 90; background: var(--dh-bg);
	border-bottom: 1px solid var(--dh-line); transition: box-shadow .3s, transform .3s;
}
.dh-sticky-on .dh-header { position: sticky; top: 0; }
.admin-bar.dh-sticky-on .dh-header { top: 32px; }
.dh-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }

.dh-header__inner {
	display: grid; align-items: center; gap: 24px;
	grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav icons";
	min-height: var(--dh-header-h); transition: min-height .3s;
}
.dh-header.is-scrolled .dh-header__inner { min-height: 64px; }
.dh-burger { grid-area: burger; display: none; margin-left: -10px; }
.dh-logo--header { grid-area: logo; }
.dh-nav { grid-area: nav; justify-self: center; }
.dh-header__icons { grid-area: icons; display: flex; align-items: center; gap: 2px; justify-self: end; }

.dh-header-center .dh-header__inner {
	grid-template-columns: 1fr auto 1fr; grid-template-areas: "search logo icons" "nav nav nav"; gap: 0 24px; padding-top: 12px;
}
.dh-header-center .dh-logo--header { justify-self: center; }
.dh-header-center .dh-nav { padding-bottom: 6px; }
.dh-header-center .dh-burger { display: none; }

.dh-logo { margin: 0; line-height: 1; }
.dh-logo img, .dh-logo .custom-logo { display: block; width: auto; max-height: 56px; transition: max-height .3s; }
.dh-header.is-scrolled .dh-logo img { max-height: 46px; }
.dh-logo__text { display: inline-block; color: var(--dh-primary); white-space: nowrap; }
.dh-logo__text:hover { color: var(--dh-primary); }
.dh-logo__text--gothic { font-family: var(--dh-font-gothic); font-weight: 700; font-size: 34px; letter-spacing: 0; }
.dh-logo__text--display { font-family: var(--dh-font-display); font-size: 30px; text-transform: uppercase; letter-spacing: .02em; }

/* Desktop menu */
.dh-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.dh-menu > li { position: relative; }
.dh-menu > li > a {
	position: relative; display: flex; align-items: center; gap: 4px; padding: 26px 14px;
	font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dh-primary);
}
.dh-header.is-scrolled .dh-menu > li > a { padding-block: 20px; }
.dh-menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 2px;
	background: var(--dh-accent); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--dh-ease);
}
.dh-header.is-scrolled .dh-menu > li > a::after { bottom: 13px; }
.dh-menu > li:hover > a::after, .dh-menu > .current-menu-item > a::after, .dh-menu > .current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }
.dh-menu > li > a:hover { color: var(--dh-primary); }
.dh-menu__chev { display: inline-flex; transition: transform .25s; }
.dh-menu li:hover > a .dh-menu__chev { transform: rotate(180deg); }

.dh-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px; margin: 0; padding: 10px 0; list-style: none;
	background: #fff; border: 1px solid var(--dh-line); box-shadow: var(--dh-shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--dh-ease); z-index: 20;
}
.dh-menu li:hover > .sub-menu, .dh-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.dh-menu .sub-menu .sub-menu { top: -11px; left: 100%; }
.dh-menu .sub-menu a {
	display: block; padding: 9px 22px; font-size: 14px; font-weight: 600; color: var(--dh-text);
	transition: background .2s, color .2s, padding .2s;
}
.dh-menu .sub-menu a:hover { background: var(--dh-soft); color: var(--dh-accent-text); padding-left: 28px; }

/* Cart count */
.dh-cart-count {
	position: absolute; top: 4px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
	display: inline-flex; align-items: center; justify-content: center; border-radius: 9px;
	background: var(--dh-mint); color: var(--dh-primary); font-size: 11px; font-weight: 800; line-height: 1;
}
.dh-cart-count[data-count="0"] { background: var(--dh-primary); color: #fff; }
.dh-cart-count--inline { position: static; vertical-align: middle; margin-left: 6px; }
.dh-cart-toggle.is-bump { animation: dh-bump .5s var(--dh-ease); }
@keyframes dh-bump { 30% { transform: scale(1.25); } 60% { transform: scale(.92); } }

/* ---------- Search overlay ---------- */
.dh-search {
	position: fixed; inset: 0 0 auto 0; z-index: 120; background: var(--dh-bg);
	padding: 34px 0 28px; box-shadow: var(--dh-shadow); animation: dh-drop .35s var(--dh-ease);
}
.dh-search[hidden] { display: none; }
@keyframes dh-drop { from { transform: translateY(-100%); } to { transform: none; } }
.dh-search__form { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--dh-primary); padding-bottom: 8px; }
.dh-search__form input[type="search"] {
	border: 0; padding: 10px 0; min-height: 0; font-family: var(--dh-font-display); font-size: clamp(1.6rem, 4vw, 2.6rem);
	text-transform: uppercase; background: transparent;
}
.dh-search__form input::placeholder { color: #bdb7ae; }
.dh-search__popular { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 18px; font-size: 13px; }
.dh-search__popular span { color: var(--dh-muted); font-weight: 600; margin-right: 6px; }
.dh-search__popular a { padding: 6px 14px; border: 1px solid var(--dh-line); font-weight: 600; }
.dh-search__popular a:hover { background: var(--dh-primary); border-color: var(--dh-primary); color: #fff; }

/* ---------- Overlay & drawers ---------- */
.dh-overlay {
	position: fixed; inset: 0; z-index: 110; background: rgba(14, 42, 59, .55);
	backdrop-filter: blur(2px); animation: dh-fade .3s;
}
.dh-overlay[hidden] { display: none; }
@keyframes dh-fade { from { opacity: 0; } }

.dh-drawer {
	position: fixed; top: 0; bottom: 0; z-index: 130; width: min(420px, 92vw);
	display: flex; flex-direction: column; background: var(--dh-bg);
	transition: transform .4s var(--dh-ease); visibility: hidden;
}
.dh-drawer--left { left: 0; transform: translateX(-102%); }
.dh-drawer--right { right: 0; transform: translateX(102%); }
.dh-drawer.is-open { transform: none; visibility: visible; box-shadow: var(--dh-shadow); }
.dh-drawer__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 14px 18px 14px 24px; border-bottom: 1px solid var(--dh-line);
}
.dh-drawer__title { margin: 0; font-size: 24px; display: flex; align-items: center; }
.dh-drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
.dh-drawer__foot { padding: 20px 24px 28px; border-top: 1px solid var(--dh-line); }
.dh-drawer .dh-logo__text--gothic { font-size: 28px; }
.dh-drawer .dh-logo img { max-height: 44px; }

/* Mobile menu */
.dh-mmenu, .dh-mmenu .sub-menu { list-style: none; margin: 0; padding: 0; }
.dh-mmenu > li { border-bottom: 1px solid var(--dh-line); }
.dh-mmenu li { position: relative; }
.dh-mmenu a { display: block; padding: 16px 48px 16px 0; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.dh-mmenu .sub-menu { display: none; padding: 0 0 12px 14px; border-left: 2px solid var(--dh-accent); margin-bottom: 12px; }
.dh-mmenu .sub-menu a { padding: 8px 0; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 15px; }
.dh-mmenu li.is-open > .sub-menu { display: block; }
.dh-mmenu .dh-menu__chev { display: none; }
.dh-subtoggle {
	position: absolute; top: 6px; right: -10px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
	display: flex; align-items: center; justify-content: center; transition: transform .25s;
}
.dh-mmenu li.is-open > .dh-subtoggle { transform: rotate(180deg); }
.dh-drawer__account { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 16px; }

/* ---------- Social & payments ---------- */
.dh-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dh-social a {
	width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid currentColor; border-radius: 50%; opacity: .85; transition: all .25s;
}
.dh-social a:hover { background: var(--dh-mint); border-color: var(--dh-mint); color: var(--dh-primary); opacity: 1; }
.dh-payments { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dh-payments li {
	padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .25); font-size: 11px; font-weight: 800;
	letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .06);
}
.dh-payments__img { max-height: 30px; width: auto; }

/* ---------- Footer ---------- */
.dh-footer { background: var(--dh-footer-bg); color: var(--dh-footer-text); }
.dh-footer a { color: var(--dh-footer-text); }
.dh-footer a:hover { color: #fff; }
.dh-benefits { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.dh-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.dh-benefit {
	display: flex; align-items: center; gap: 14px; padding: 28px 18px;
	font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.35;
}
.dh-benefit + .dh-benefit { border-left: 1px solid rgba(255, 255, 255, .12); }
.dh-benefit__icon { color: var(--dh-mint); flex-shrink: 0; display: inline-flex; }

.dh-footer__main { padding: 72px 0 56px; }
.dh-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; }
.dh-footer .dh-logo__text { color: #fff; }
.dh-footer .dh-logo__text--gothic { font-size: 40px; }
.dh-footer .dh-logo img { max-height: 70px; }
.dh-footer__about { margin: 18px 0 20px; color: rgba(244, 242, 238, .72); font-size: 15px; max-width: 360px; }
.dh-footer__contact { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.dh-footer__contact li { display: flex; align-items: flex-start; gap: 10px; color: rgba(244, 242, 238, .85); }
.dh-footer__contact .dh-icon { margin-top: 3px; color: var(--dh-sky); flex-shrink: 0; }
.dh-footer__title {
	font-family: var(--dh-font-body); font-weight: 800; font-size: 14px; letter-spacing: .16em;
	color: #fff; margin: 6px 0 22px; position: relative; padding-bottom: 14px;
}
.dh-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--dh-mint); }
.dh-flinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.dh-flinks a { font-size: 15px; color: rgba(244, 242, 238, .78); display: inline-block; transition: color .2s, transform .2s; }
.dh-flinks a:hover { color: #fff; transform: translateX(4px); }
.dh-footer__news p { color: rgba(244, 242, 238, .72); font-size: 15px; }

.dh-news__row { display: flex; border: 1.5px solid rgba(255, 255, 255, .35); transition: border-color .2s; }
.dh-news__row:focus-within { border-color: #fff; }
.dh-news input[type="email"] { border: 0; background: transparent; color: inherit; min-height: 52px; }
.dh-news input[type="email"]::placeholder { color: rgba(244, 242, 238, .55); }
.dh-news button[type="submit"] {
	min-height: 52px; min-width: 56px; padding: 0 18px; border: 0; background: var(--dh-mint); color: var(--dh-primary);
}
.dh-news button[type="submit"]:hover { background: var(--dh-sky); color: var(--dh-primary); }
.dh-news-block .dh-news__row { border-color: var(--dh-primary); max-width: 520px; margin-inline: auto; }
.dh-news-block .dh-news input[type="email"] { color: var(--dh-text); }
.dh-news-block .dh-news input::placeholder { color: var(--dh-muted); }
.dh-hp { position: absolute !important; left: -9999px !important; }
.dh-news__msg { margin: 10px 0 0; font-size: 14px; font-weight: 700; }
.dh-news__msg--ok { color: var(--dh-mint); }
.dh-news__msg--err { color: #ff8a9a; }

.dh-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; font-size: 13px; }
.dh-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.dh-copy { margin: 0; color: rgba(244, 242, 238, .65); }
.dh-legal { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.dh-legal a { color: rgba(244, 242, 238, .65); }

/* ---------- Back to top ---------- */
.dh-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 46px; height: 46px; border: 0; cursor: pointer;
	background: var(--dh-primary); color: #fff; display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--dh-ease);
}
.dh-totop .dh-icon { transform: rotate(180deg); }
.dh-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.dh-totop:hover { background: var(--dh-sky); color: var(--dh-primary); }

/* ---------- Modal (quick view) ---------- */
.dh-modal {
	position: fixed; inset: 0; z-index: 140; display: flex; align-items: center; justify-content: center;
	padding: 20px; background: rgba(14, 42, 59, .6); animation: dh-fade .25s;
}
.dh-modal[hidden] { display: none; }
.dh-modal__box {
	position: relative; width: min(1000px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
	background: var(--dh-bg); animation: dh-pop .35s var(--dh-ease);
}
@keyframes dh-pop { from { transform: translateY(20px) scale(.98); opacity: 0; } }
.dh-modal__close { position: absolute; top: 8px; right: 8px; z-index: 3; background: #fff; }
.dh-modal.is-loading .dh-modal__content { min-height: 360px; display: flex; align-items: center; justify-content: center; }
.dh-spinner {
	width: 38px; height: 38px; border: 3px solid var(--dh-line); border-top-color: var(--dh-accent);
	border-radius: 50%; animation: dh-spin .8s linear infinite;
}
@keyframes dh-spin { to { transform: rotate(360deg); } }

/* ---------- Pages, blog ---------- */
.dh-page-head { margin-bottom: 32px; }
.dh-page-title { margin: 0; }
.dh-page-desc { color: var(--dh-muted); max-width: 680px; margin-top: 12px; }
.dh-content { font-size: 17px; line-height: 1.75; }
.dh-content h2 { margin-top: 1.6em; }
.dh-content h3 { margin-top: 1.4em; font-family: var(--dh-font-body); font-weight: 800; text-transform: none; letter-spacing: 0; }
.dh-content a { color: var(--dh-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.dh-content ul, .dh-content ol { padding-left: 1.3em; }
.dh-content li { margin-bottom: .4em; }
.dh-content blockquote { margin: 1.6em 0; padding: 8px 0 8px 22px; border-left: 4px solid var(--dh-accent); font-size: 1.15em; font-weight: 600; }
.dh-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.dh-content th, .dh-content td { padding: 12px 14px; border: 1px solid var(--dh-line); text-align: left; }
.dh-content th { background: var(--dh-soft); }
.dh-content img { height: auto; }

.dh-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.dh-post__thumb { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--dh-soft); margin-bottom: 16px; }
.dh-post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--dh-ease); }
.dh-post:hover .dh-post__thumb img { transform: scale(1.05); }
.dh-post__ph { display: flex; height: 100%; align-items: center; justify-content: center; font-family: var(--dh-font-gothic); font-size: 90px; color: var(--dh-line); }
.dh-post__title { font-size: 22px; margin: 6px 0 10px; }
.dh-post__excerpt { color: var(--dh-muted); font-size: 15px; }
.dh-meta { display: flex; gap: 12px; color: var(--dh-muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.dh-single__head { padding-top: 56px; text-align: center; }
.dh-single__head .dh-meta { justify-content: center; }
.dh-single__thumb { margin: 32px auto 40px; }
.dh-single__thumb img { width: 100%; }
.dh-single .dh-content { padding-bottom: 40px; }
.dh-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.dh-tags a { padding: 5px 12px; border: 1px solid var(--dh-line); font-size: 13px; text-decoration: none; color: var(--dh-text); }
.dh-postnav { padding-block: 20px 60px; }
.dh-postnav .nav-links { display: flex; justify-content: space-between; gap: 20px; font-weight: 700; }
.dh-pagination, .navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers {
	min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px;
	border: 1.5px solid var(--dh-line); font-weight: 700;
}
.page-numbers.current, .page-numbers:hover { background: var(--dh-primary); border-color: var(--dh-primary); color: #fff; }
.dh-empty { text-align: center; padding: 40px 0; }
.dh-searchform { display: flex; max-width: 520px; margin: 20px auto 0; }
.dh-searchform button { min-width: 56px; border: 0; background: var(--dh-primary); color: #fff; cursor: pointer; }
.dh-comments { margin-top: 40px; }
.dh-comments__list { list-style: none; padding: 0; }
.dh-comments__list .comment-body { padding: 20px 0; border-bottom: 1px solid var(--dh-line); }

/* 404 */
.dh-404 { padding: 100px 0 120px; text-align: center; }
.dh-404__code { font-family: var(--dh-font-gothic); font-size: clamp(7rem, 22vw, 14rem); line-height: .9; margin: 0; color: var(--dh-accent); }
.dh-404__title { max-width: 760px; margin: 20px auto 12px; }
.dh-404__text { color: var(--dh-muted); }
.dh-404__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 28px 0 10px; }

/* ---------- Elementor helpers (used by the homepage template) ---------- */
.dh-elementor-page .dh-main, .dh-fullwidth { overflow: hidden; }
.elementor-page .dh-main > .elementor { width: 100%; }
.dh-el-gothic .elementor-heading-title { text-transform: none !important; letter-spacing: 0; }
.dh-el-hero { position: relative; overflow: hidden; }
.dh-el-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(45% 60% at 76% 48%, rgba(255, 255, 255, .75), transparent 70%),
		radial-gradient(30% 40% at 8% 100%, rgba(77, 141, 186, .35), transparent 70%);
}
.dh-el-hero > .elementor-container { position: relative; z-index: 1; }
.dh-el-heroimg img {
	width: 100%; max-height: 72vh; object-fit: contain; filter: drop-shadow(0 34px 44px rgba(14, 42, 59, .35));
	animation: dh-float 6s ease-in-out infinite;
}
@keyframes dh-float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.dh-el-btn .elementor-button { transition: all .25s var(--dh-ease); }
.dh-el-viewall .elementor-button { border-bottom: 2px solid currentColor !important; }
.dh-el-viewall .elementor-button-icon { transition: transform .25s var(--dh-ease); }
.dh-el-viewall .elementor-button:hover .elementor-button-icon { transform: translateX(4px); }
.dh-el-sec .elementor-widget-shortcode .woocommerce { margin: 0; }
.dh-el-feat .elementor-icon-box-wrapper { padding: 22px; border: 1px solid rgba(255, 255, 255, .12); transition: border-color .25s, background .25s; }
.dh-el-feat:hover .elementor-icon-box-wrapper { border-color: var(--dh-mint); background: rgba(255, 255, 255, .03); }
.dh-el-feat .elementor-icon-box-title { margin-bottom: 6px; }

.dh-ticker { overflow: hidden; white-space: nowrap; color: #fff; }
.dh-ticker li::after { color: var(--dh-mint); }
.dh-ticker__track { display: flex; width: max-content; animation: dh-marquee 32s linear infinite; }
.dh-ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.dh-ticker li {
	display: flex; align-items: center; padding: 18px 26px; font-family: var(--dh-font-display);
	font-size: 24px; text-transform: uppercase; letter-spacing: .03em;
}
.dh-ticker li::after { content: "\2726"; margin-left: 52px; font-size: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.dh-menu > li > a { padding-inline: 10px; font-size: 12px; }
	.dh-footer__grid { grid-template-columns: 1fr 1fr; }
	.dh-benefits__grid { grid-template-columns: repeat(2, 1fr); }
	.dh-benefit:nth-child(3) { border-left: 0; }
	.dh-benefit:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
	.dh-posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	:root { --dh-header-h: 64px; }
	.dh-nav { display: none; }
	.dh-burger, .dh-header-center .dh-burger { display: inline-flex; }
	.dh-header__inner, .dh-header-center .dh-header__inner {
		grid-template-columns: 1fr auto 1fr; grid-template-areas: "burger logo icons"; gap: 8px; padding-top: 0;
	}
	.dh-logo--header { justify-self: center; }
	.dh-burger { justify-self: start; }
	.dh-account-link { display: none; }
	.dh-logo__text--gothic { font-size: 28px; }
	.dh-logo img, .dh-logo .custom-logo { max-height: 44px; }
}
@media (max-width: 782px) {
	.admin-bar.dh-sticky-on .dh-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar.dh-sticky-on .dh-header { top: 0; }
}
@media (max-width: 680px) {
	:root { --dh-gutter: 16px; }
	.dh-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.dh-footer__main { padding: 52px 0 40px; }
	.dh-benefits__grid { grid-template-columns: 1fr 1fr; }
	.dh-benefit { padding: 18px 10px; font-size: 11px; gap: 10px; flex-direction: column; text-align: center; }
	.dh-footer__bottom-inner { flex-direction: column; text-align: center; }
	.dh-posts { grid-template-columns: 1fr; }
	.dh-ticker li { font-size: 18px; padding: 14px 18px; }
	.dh-ticker li::after { margin-left: 36px; }
	.dh-announce__list li { padding: 0 18px; }
	.dh-announce__list li::after { margin-left: 36px; }
	.dh-totop { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
