/* ==========================================================================
   Studio layer: builder blocks, section styles, header/footer variants.
   Colours/fonts/radius come from CSS variables printed by inc/brand.php.
   ========================================================================== */

/* Section backgrounds & spacing ------------------------------------------- */

.section--compact { padding: 40px 0; }
.section--pad-none { padding-top: 0 !important; padding-bottom: 0 !important; }
.section--pad-sm { padding-top: 32px !important; padding-bottom: 32px !important; }
.section--pad-lg { padding-top: 96px !important; padding-bottom: 96px !important; }
.section--brand { background: var(--brand); color: var(--brand-text); }
.section--dark { background: color-mix(in srgb, var(--heading) 88%, #000); color: rgba(255, 255, 255, .8); }
.section--image { position: relative; isolation: isolate; background-size: cover; background-position: center; background-color: #222; }
.section--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, var(--overlay, .45)); }

.is-dark > .container > .section-header .section-heading,
.is-dark .hero-title,
.is-dark .dtc-stat strong,
.is-dark .dtc-cta:not(.dtc-cta--banner) .dtc-cta__title { color: #fff; }
.section--brand > .container > .section-header .section-heading,
.section--brand .hero-title,
.section--brand .dtc-stat strong { color: var(--brand-text); }
.is-dark > .container > .section-header .section-label,
.is-dark > .container > .section-header .section-sub,
.is-dark .hero-subtext,
.is-dark .hero-eyebrow,
.is-dark .hero-title em,
.is-dark .dtc-stat span,
.is-dark .dtc-cta:not(.dtc-cta--banner) .dtc-cta__text,
.is-dark .dtc-cta:not(.dtc-cta--banner) .section-label { color: inherit; opacity: .9; }
.section--brand .btn-primary { background: var(--brand-text); color: var(--brand); }
.is-dark:not(.section--brand) :is(.hero-actions, .steps-cta, .dtc-cta:not(.dtc-cta--banner) .dtc-cta__actions) .btn-primary { background: #fff; color: var(--heading); border-color: #fff; }
.is-dark:not(.section--brand) :is(.hero-actions, .steps-cta, .dtc-cta:not(.dtc-cta--banner) .dtc-cta__actions) .btn-primary:hover { background: color-mix(in srgb, #fff 86%, var(--heading)); }
.is-dark .btn-secondary { background: transparent; color: inherit; border-color: currentColor; }
.is-dark .btn-secondary:hover { background: rgba(255, 255, 255, .1); }

.section-header--left { text-align: left; margin-left: 0; }

.dtc-hide-mobile { display: none !important; }
@media (min-width: 768px) {
	.dtc-hide-mobile { display: block !important; }
	.dtc-hide-desktop { display: none !important; }
}

/* Generic grid ------------------------------------------------------------ */

.dtc-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
	.dtc-grid.dtc-cols-2, .dtc-grid.dtc-cols-3, .dtc-grid.dtc-cols-4, .dtc-grid.dtc-cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
	.dtc-grid.dtc-cols-3 { grid-template-columns: repeat(3, 1fr); }
	.dtc-grid.dtc-cols-4 { grid-template-columns: repeat(4, 1fr); }
	.dtc-grid.dtc-cols-5 { grid-template-columns: repeat(5, 1fr); }
	.ws-themes-grid--dtc-cols-2 { grid-template-columns: repeat(2, 1fr); }
	.ws-themes-grid--dtc-cols-3 { grid-template-columns: repeat(3, 1fr); }
	.ws-themes-grid--dtc-cols-5 { grid-template-columns: repeat(5, 1fr); }
	.ws-inspiration-grid--dtc-cols-2 { grid-template-columns: repeat(2, 1fr); }
	.ws-inspiration-grid--dtc-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.ws-inspiration-card { border-radius: var(--radius, 12px); }
.filter-chips--block { margin: -12px 0 28px; }

/* Hero variants ------------------------------------------------------------- */

.hero-eyebrow { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hero--split { text-align: left; }
.hero-split { display: grid; gap: 40px; align-items: center; }
.hero--split .hero-title, .hero--split .hero-subtext { margin-left: 0; }
.hero--split .hero-actions { justify-content: flex-start; margin-top: 32px; }
.hero-split__list { display: grid; gap: 14px; margin-top: 28px; }
.hero-split__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.hero-split__list .dtc-icon { margin-top: 2px; color: var(--mint); }
.hero-split__list strong { display: block; font-weight: 600; }
.hero-split__list small { display: block; font-size: 14px; color: var(--muted); }
.hero-split__media { display: flex; justify-content: center; }
.hero-split__media > img { width: 100%; max-height: 640px; object-fit: cover; border-radius: calc(var(--radius, 12px) * 1.5); box-shadow: var(--shadow-card); }
.hero-split__media .phone-frame__screen { height: 560px; }

.hero--cover { display: flex; align-items: center; min-height: 72vh; }
.hero--cover .feature-card { background: rgba(255, 255, 255, .94); }
.hero--minimal { padding: 56px 0 40px; }
.hero--minimal .hero-title { font-size: 30px; }
.hero--minimal .hero-actions { margin-top: 28px; }

@media (min-width: 768px) {
	.hero-split { grid-template-columns: 1.1fr .9fr; gap: 56px; }
	.hero--minimal { padding: 80px 0 56px; }
	.hero--minimal .hero-title { font-size: 42px; }
}

/* Steps: any number of items */
@media (min-width: 768px) {
	.steps-grid[style*="--steps"] { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* Features block ------------------------------------------------------------ */

.dtc-feature { display: flex; flex-direction: column; gap: 14px; }
.dtc-feature__icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--radius-sm, 10px); background: var(--accent-soft); color: var(--accent); }
.dtc-feature h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); }
.dtc-feature p { margin-top: 6px; font-size: 14.5px; line-height: 1.65; color: var(--text); }
.dtc-features--card .dtc-feature { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); transition: box-shadow .25s ease, transform .25s ease; }
.dtc-features--card .dtc-feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.dtc-features--centered .dtc-feature { align-items: center; text-align: center; padding: 12px; }
.dtc-features--centered .dtc-feature__icon { width: 60px; height: 60px; border-radius: 50%; }
.dtc-features--minimal .dtc-feature { flex-direction: row; align-items: flex-start; }
.dtc-features--minimal .dtc-feature__icon { width: 42px; height: 42px; }

/* Pricing ----------------------------------------------------------------- */

.price-cards { align-items: stretch; max-width: 1080px; margin: 0 auto; }
.price-cards.dtc-cols-1 { max-width: 420px; }
.price-cards.dtc-cols-2 { max-width: 780px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); color: var(--text); }
.price-card.is-featured { border: 2px solid var(--brand); box-shadow: var(--shadow-card); }
.price-card__badge { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; white-space: nowrap; vertical-align: middle; }
.price-card > .price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: var(--brand-text); }
.price-card__name { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); }
.price-card__desc { margin-top: 6px; font-size: 14px; color: var(--muted); }
.price-card__price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.price-card__price strong { font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: 1.1; color: var(--ink); letter-spacing: -0.02em; }
.price-card__price span { font-size: 14px; color: var(--muted); }
.price-card__old { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.price-card > .btn { margin-top: 22px; }
.price-card__features { display: grid; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.price-card__features li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.price-card__features .dtc-icon { width: 18px; height: 18px; margin-top: 2px; color: var(--mint); }
.price-card__features .is-excluded { color: var(--muted); text-decoration: line-through; }
.price-card__features .is-excluded .dtc-icon { color: var(--line-strong); }
.price-note { margin-top: 24px; text-align: center; font-size: 14px; color: var(--muted); }

.price-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); }
.price-table { width: 100%; min-width: 640px; border-collapse: collapse; color: var(--text); }
.price-table th, .price-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: 14.5px; }
.price-table tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.price-table thead th { vertical-align: bottom; padding-top: 28px; }
.price-table thead .price-card__price { justify-content: center; margin-top: 8px; }
.price-table thead .price-card__price strong { font-size: 26px; }
.price-table__name { display: block; margin-top: 8px; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); }
.price-table .is-featured { background: var(--accent-soft); }
.price-table .is-yes { color: var(--mint); margin: 0 auto; }
.price-table .is-no { color: var(--line-strong); margin: 0 auto; }
.price-table tfoot td { border-bottom: 0; }

.price-list { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.price-list__item { display: grid; gap: 14px; align-items: center; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); color: var(--text); }
.price-list__item.is-featured { border-color: var(--brand); box-shadow: var(--shadow-card); }
.price-list__info h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); }
.price-list__info p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.price-list__price .price-card__price { margin-top: 0; }
.price-list__price .price-card__price strong { font-size: 26px; }
@media (min-width: 768px) {
	.price-list__item { grid-template-columns: 1fr auto auto; gap: 28px; }
}

/* Testimonials ------------------------------------------------------------- */

.testimonial-card { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); color: var(--text); }
.testimonial-card blockquote, .testimonial-featured blockquote { flex: 1; margin: 0; }
.testimonial-card blockquote p { font-size: 15px; line-height: 1.75; color: var(--ink); }
.testimonial-card figcaption, .testimonial-featured figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-card figcaption strong, .testimonial-featured figcaption strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.testimonial-card figcaption small, .testimonial-featured figcaption small { display: block; font-size: 13px; color: var(--muted); }
.dtc-avatar { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.dtc-avatar--initial { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.dtc-stars { display: flex; gap: 2px; color: #f5b301; }
.dtc-stars .dtc-icon { width: 17px; height: 17px; }
.dtc-stars .is-on { fill: currentColor; }
.testimonial-featured { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.testimonial-featured__mark { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--accent); }
.testimonial-featured blockquote p { font-family: var(--font-serif); font-size: 22px; font-style: italic; line-height: 1.6; color: var(--ink); }
.testimonial-featured figcaption { justify-content: center; margin-top: 24px; text-align: left; }
.is-dark .testimonial-featured blockquote p, .is-dark .testimonial-featured figcaption strong { color: #fff; }
@media (min-width: 768px) { .testimonial-featured blockquote p { font-size: 28px; } }

/* Stats --------------------------------------------------------------------- */

.dtc-stats { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 768px) {
	.dtc-stats.dtc-cols-3 { grid-template-columns: repeat(3, 1fr); }
	.dtc-stats.dtc-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.dtc-stats.dtc-cols-1 { grid-template-columns: 1fr; }
.dtc-stat { display: flex; flex-direction: column; gap: 4px; padding: 8px; }
.dtc-stat strong { font-family: var(--font-display); font-size: 32px; font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: -0.02em; }
.dtc-stat span { font-size: 14px; color: var(--muted); }
.dtc-stats--cards .dtc-stat { padding: 24px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); }
.dtc-stats--cards .dtc-stat strong { color: var(--accent); }
.is-dark .dtc-stats--cards .dtc-stat { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.dtc-stats--divided .dtc-stat + .dtc-stat { border-left: 1px solid var(--line); }
@media (min-width: 768px) { .dtc-stat strong { font-size: 42px; } }

/* CTA ----------------------------------------------------------------------- */

.dtc-cta { display: grid; gap: 24px; align-items: center; }
.dtc-cta__title { font-family: var(--font-display); font-size: 26px; font-weight: var(--heading-weight, 620); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.dtc-cta__text { margin-top: 12px; font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.dtc-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.dtc-cta--banner { padding: 44px 24px; text-align: center; background: var(--brand); color: var(--brand-text); border-radius: calc(var(--radius, 12px) * 1.5); }
.dtc-cta--banner .dtc-cta__title, .dtc-cta--banner .dtc-cta__text, .dtc-cta--banner .section-label { color: inherit; }
.dtc-cta--banner .dtc-cta__text, .dtc-cta--banner .section-label { opacity: .85; }
.dtc-cta--banner .dtc-cta__copy { max-width: 720px; margin: 0 auto; }
.dtc-cta--banner .dtc-cta__actions { justify-content: center; }
.dtc-cta--banner .btn-primary { background: var(--brand-text); color: var(--brand); }
.dtc-cta--banner .btn-secondary { background: transparent; color: inherit; border-color: currentColor; }
.dtc-cta--split { padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); }
.is-dark .dtc-cta--split { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); }
.dtc-cta--split .dtc-cta__actions { margin-top: 0; }
.dtc-cta--image.has-image .dtc-cta__media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius, 12px); }
@media (min-width: 768px) {
	.dtc-cta--banner { padding: 64px 48px; }
	.dtc-cta__title { font-size: 34px; }
	.dtc-cta--split { grid-template-columns: 1fr auto; padding: 40px 48px; }
	.dtc-cta--image.has-image { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* Contact ------------------------------------------------------------------- */

.dtc-contact { display: grid; gap: 28px; align-items: start; }
.dtc-contact__list { display: grid; gap: 18px; }
.dtc-contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.dtc-contact__list small { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dtc-contact__list a, .dtc-contact__list span > span { color: var(--ink); font-weight: 500; }
.dtc-contact__list li > span:last-child { color: var(--ink); line-height: 1.55; }
.dtc-contact__icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.dtc-contact__social { margin-top: 24px; }
.dtc-contact__social .site-footer__social-link { width: 40px; height: 40px; color: var(--accent); background: var(--accent-soft, #fff); border: 1px solid var(--line); }
.dtc-contact__social .site-footer__social-link:hover { color: var(--brand-text, #fff); background: var(--brand); border-color: var(--brand); }
.is-dark .dtc-contact__social .site-footer__social-link { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.dtc-contact__map { margin-top: 24px; overflow: hidden; border-radius: var(--radius, 12px); border: 1px solid var(--line); }
.dtc-contact__map iframe { display: block; width: 100%; height: 280px; border: 0; }
.dtc-contact__map--wide { margin-top: 40px; }
.dtc-contact__map--wide iframe { height: 380px; }
.dtc-contact-form { display: grid; gap: 16px; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); box-shadow: var(--shadow-card); color: var(--text); }
.dtc-contact-form__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); }
.dtc-contact-form__msg { font-size: 14px; }
.dtc-contact-form__msg.is-error { color: #b91c1c; }
.dtc-contact-form__msg.is-success { color: var(--mint); }
.dtc-contact--centered { max-width: 720px; margin: 0 auto; }
.dtc-contact--centered .dtc-contact__info { order: 2; text-align: center; }
.dtc-contact--centered .dtc-contact__list { justify-content: center; }
.dtc-contact--centered .dtc-contact__social { justify-content: center; }
.dtc-contact--cards .dtc-contact__list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dtc-contact--cards .dtc-contact__list li { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); }
.dtc-contact--cards .dtc-contact__form { max-width: 760px; width: 100%; margin: 0 auto; }
.is-dark .dtc-contact__list li > span:last-child, .is-dark .dtc-contact__list a { color: #fff; }
.is-dark .dtc-contact--cards .dtc-contact__list li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
@media (min-width: 768px) {
	.dtc-contact--split { grid-template-columns: 1fr 1.15fr; gap: 56px; }
	.dtc-contact--centered .dtc-contact__list { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
	.dtc-contact-form { padding: 34px 32px; }
}

/* Posts --------------------------------------------------------------------- */

.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.post-card__meta time { font-size: 12.5px; color: var(--muted); }
.post-card__cat { padding: 2px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; }
.post-card__title { margin-top: 8px; font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.post-card__title a:hover, .post-card__body h2 a:hover { color: var(--accent); }
.post-card { transition: box-shadow .25s ease, transform .25s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.post-list, .post-featured { display: grid; gap: 18px; }
.post-card--list { display: grid; grid-template-columns: 38% 1fr; }
.post-card--list .post-card__media { aspect-ratio: auto; height: 100%; min-height: 140px; }
.post-card--list .post-card__body { padding: 16px 18px; }
.post-card--featured .post-card__title { font-size: 22px; }
@media (min-width: 900px) {
	.post-featured { grid-template-columns: 1.2fr 1fr; }
	.post-featured > .post-card--featured { grid-row: span 3; }
	.post-featured > .post-card--featured .post-card__media { aspect-ratio: 16 / 11; }
	.post-featured .post-card--list .post-card__title { font-size: 16px; }
	.post-featured .post-card--list p { display: none; }
}
.blog-layout--grid2 .post-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (min-width: 768px) { .blog-layout--grid2 .post-grid { grid-template-columns: repeat(2, 1fr); } }
.blog-layout--list .post-grid, .blog-layout--magazine .post-grid { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
@media (min-width: 640px) {
	.blog-layout--list .post-card, .blog-layout--magazine .post-card:not(:first-child) { display: grid; grid-template-columns: 38% 1fr; }
	.blog-layout--list .post-card__media, .blog-layout--magazine .post-card:not(:first-child) .post-card__media { aspect-ratio: auto; height: 100%; min-height: 160px; }
	.blog-layout--magazine .post-card:first-child .post-card__body h2 { font-size: 24px; }
}

/* Single post extras */
.entry-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.entry-meta a { color: var(--accent); }
.related-posts { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.related-posts h2 { margin-bottom: 20px; font-family: var(--font-display); font-size: 22px; color: var(--ink); }

/* FAQ columns */
@media (min-width: 900px) {
	.faq-list--columns { grid-template-columns: 1fr 1fr; align-items: start; max-width: none; }
}

/* Header variants ------------------------------------------------------------ */

.topbar { background: var(--heading); color: rgba(255, 255, 255, .85); font-size: 13px; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding-top: 7px; padding-bottom: 7px; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.topbar .dtc-icon { width: 15px; height: 15px; }

.nav-toggle { display: none; place-items: center; width: 42px; height: 42px; padding: 0; background: none; border: 1px solid var(--line); border-radius: var(--radius-btn, 6px); color: var(--ink); cursor: pointer; }
.dtc-header-static .header { position: relative; top: auto; }

@media (max-width: 767px) {
	.dtc-no-tabbar .mobile-tabbar { display: none; }
	.dtc-no-tabbar { padding-bottom: 0; }
	.dtc-no-tabbar .support-widget, .dtc-no-tabbar .float-contact { bottom: 20px; }
	.dtc-no-tabbar .nav-toggle { display: inline-grid; }
	.dtc-no-tabbar .header-inner { flex-wrap: wrap; }
	.dtc-no-tabbar .nav-menu.is-open { display: flex; flex-direction: column; gap: 0; order: 10; width: 100%; padding: 8px 0; }
	.dtc-no-tabbar .nav-menu.is-open .nav-link { padding: 12px 0; border-top: 1px solid var(--line); }
	.dtc-no-tabbar .header-account { margin-left: auto; }
	.dtc-no-tabbar .header-account__cta { padding: 9px 12px; font-size: 13.5px; }
}

@media (min-width: 768px) {
	.dtc-header--minimal .nav-menu { margin-left: auto; }
	.dtc-header--minimal .header-inner { justify-content: flex-start; }
	.dtc-header--centered .header-inner { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
	.dtc-header--centered .header__logo { display: flex; justify-content: center; flex-basis: 100%; }
	.dtc-header--centered .nav-menu { justify-content: center; }
}

.dtc-header-style--solid .header { background: var(--bg, #fff); -webkit-backdrop-filter: none; backdrop-filter: none; }
.dtc-header-style--brand .header { background: var(--brand); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dtc-header-style--brand .header .nav-link,
.dtc-header-style--brand .header .dtc-logo,
.dtc-header-style--brand .header .nav-toggle { color: var(--brand-text); }
.dtc-header-style--brand .header .nav-link:hover { color: var(--brand-text); opacity: .8; }
.dtc-header-style--brand .header .header-account__cta { background: var(--brand-text); color: var(--brand); }

.dtc-header-style--transparent.home .site-main { margin-top: calc(-1 * var(--header-h)); }
.dtc-header-style--transparent.home .site-main > :first-child:not(.dtc-canvas),
.dtc-header-style--transparent.home .site-main > .dtc-canvas:first-child > :first-child { padding-top: calc(var(--header-h) + 48px); }
.dtc-header-style--transparent.home .header:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dtc-header-style--transparent.home:has(.site-main > .is-dark:first-child) .header:not(.is-scrolled) :is(.nav-link, .dtc-logo, .nav-toggle) { color: #fff; }
@media (min-width: 768px) {
	.dtc-header-style--transparent.home .site-main > :first-child:not(.dtc-canvas),
	.dtc-header-style--transparent.home .site-main > .dtc-canvas:first-child > :first-child { padding-top: calc(var(--header-h) + 80px); }
}

/* Footer variants ------------------------------------------------------------ */

.site-footer__contact { display: grid; gap: 12px; margin-top: 18px; font-size: 14.4px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .dtc-icon { width: 17px; height: 17px; margin-top: 3px; opacity: .8; }
.site-footer__contact a:hover { color: var(--footer-heading, var(--ink-2)); }

.site-footer__body--centered { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.site-footer__body--centered .site-footer__brand { padding-right: 0; border-right: 0; }
.site-footer__body--centered .site-footer__brand-copy { margin-left: auto; margin-right: auto; }
.site-footer__body--centered .site-footer__social { justify-content: center; }
.site-footer__body--centered .site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 0; }
.site-footer__body--centered .site-footer__contact { justify-items: center; margin-top: 0; }
.site-footer--centered .site-footer__meta { text-align: center; }

/* Floating call / Zalo --------------------------------------------------------- */

.float-contact { position: fixed; left: 16px; bottom: 88px; z-index: 94; display: grid; gap: 10px; }
.float-contact a { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); transition: transform .2s ease; }
.float-contact a:hover { transform: scale(1.06); }
.float-contact__phone { background: #16a34a; }
.float-contact__zalo { background: #0068ff; }
.float-contact__messenger { background: #7b3fe4; }
.float-contact .dtc-icon { width: 24px; height: 24px; }
@media (min-width: 768px) { .float-contact { left: 24px; bottom: 24px; } }

/* Builder canvas (page template "Trang kéo thả") ------------------------------ */

.dtc-canvas > :not(.dtc-section):not(.alignfull):not(script) { width: 100%; max-width: var(--container, 1200px); margin: 40px auto; padding-left: 12px; padding-right: 12px; }
.dtc-canvas > .alignfull { max-width: none; margin-top: 0; margin-bottom: 0; }
.dtc-canvas :where(p, ul, ol, blockquote) + :where(p, ul, ol, blockquote, h2, h3, h4) { margin-top: 1em; }
.dtc-canvas :where(ul:not([class]), ol:not([class])) { padding-left: 1.4em; list-style: disc; }
.dtc-canvas :where(h2:not([class*="heading"]), h3:not([class]):not([class*="title"])) { font-family: var(--font-display); color: var(--ink); }
.dtc-canvas .wp-block-image img { border-radius: var(--radius, 12px); }
@media (min-width: 768px) {
	.dtc-canvas > :not(.dtc-section):not(.alignfull):not(script) { padding-left: 24px; padding-right: 24px; }
}

/* Editor canvas preview */
.dtc-block-preview { margin-top: 0 !important; margin-bottom: 0 !important; max-width: none !important; }
.dtc-block-preview > div > * { pointer-events: none; }
.dtc-block-preview .reveal { opacity: 1; transform: none; }
.dtc-block-empty { padding: 32px; text-align: center; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 14px; }
.editor-styles-wrapper .is-root-container > :not(.dtc-block-preview):not(.alignfull) { max-width: var(--container, 1200px); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

/* =============================================================================
   Homepage template kits: hero artwork, template displays, extra block styles
   ========================================================================== */

.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }

/* Hero text pieces */
.hero-eyebrow--pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; box-shadow: 0 6px 18px rgba(15, 23, 42, .06); }
.hero-eyebrow--pill .dtc-icon { width: 16px; height: 16px; color: #f5b301; fill: currentColor; }
.hero-eyebrow--plain { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--muted); font-size: 14.5px; }
.is-dark .hero-eyebrow--pill { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }

.hero-title .hl--script { font-family: var(--font-script); font-weight: 400; font-size: 1.35em; line-height: 1; letter-spacing: 0; text-transform: none; }
.hero-title .hl--serif { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: -0.01em; }
.hero-title .hl--gradient { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: -0.01em; background: linear-gradient(90deg, var(--accent), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-title .hl--underline { position: relative; display: inline-block; z-index: 0; }
.hero-title .hl--underline::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; z-index: -1; height: .32em; border-radius: 4px; background: color-mix(in srgb, var(--accent) 28%, transparent); }
.hero-title--upper { text-transform: uppercase; letter-spacing: 0; }
.hero-title--lg { font-size: 36px; }
.hero-title--xl { font-size: 40px; }
@media (min-width: 768px) {
	.hero-title--lg { font-size: 52px; }
	.hero-title--xl { font-size: 64px; line-height: 1.08; }
}

.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.hero-badges .dtc-icon { width: 18px; height: 18px; color: var(--mint); }
.hero-badges--chips { gap: 10px; }
.hero-badges--chips li { padding: 8px 16px; border-radius: 99px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(15, 23, 42, .06); }
.hero-badges--chips .dtc-icon { color: var(--accent); }
.is-dark .hero-badges--checks li { color: #fff; }
.is-dark .hero-badges--checks .dtc-icon { color: #fff; }
.hero--split .hero-badges { justify-content: flex-start; }

.hero--showcase .hero-actions, .hero--devices .hero-actions, .hero--collage .hero-actions, .hero--cover .hero-actions { margin-top: 36px; }

/* Showcase: fan of template cards */
.hero--showcase { overflow: hidden; }
.hero-fan { display: flex; justify-content: center; align-items: flex-start; margin: 44px auto 0; padding: 8px 0 30px; }
.hero-fan__card {
	--thumb-h: 300px;
	position: relative; flex: 0 0 auto;
	width: 190px; height: 300px; margin: 0 -26px;
	overflow: hidden; border-radius: 18px; background: #fff;
	border: 6px solid #fff;
	box-shadow: 0 24px 50px rgba(15, 23, 42, .18);
	transform: translateY(calc(var(--a) * 26px)) rotate(calc(var(--o) * 7deg));
	transition: transform .35s ease, box-shadow .35s ease;
}
.hero-fan__card:hover { transform: translateY(calc(var(--a) * 26px - 10px)) rotate(calc(var(--o) * 7deg)); box-shadow: 0 30px 60px rgba(15, 23, 42, .24); }
.hero-fan__card > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-fan__card > .dtc-mock { font-size: 8.5px; }
.hero-fan__eye { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 23, 42, .28); color: #fff; opacity: 0; transition: opacity .25s ease; }
.hero-fan__eye .dtc-icon { width: 34px; height: 34px; padding: 8px; box-sizing: content-box; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.hero-fan__card:hover .hero-fan__eye { opacity: 1; }
@media (min-width: 768px) {
	.hero-fan__card { --thumb-h: 420px; width: 270px; height: 420px; margin: 0 -34px; }
	.hero-fan__card > .dtc-mock { font-size: 11px; }
}

/* Devices: laptop + phone mockup */
.hero-devices { position: relative; max-width: 860px; margin: 44px auto 0; padding-right: 8%; }
.hero-laptop { position: relative; }
.hero-laptop__screen { --thumb-h: 520px; aspect-ratio: 16 / 10; overflow: hidden; border: 10px solid #1f2430; border-bottom-width: 14px; border-radius: 16px 16px 0 0; background: #fff; }
.hero-laptop__screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-laptop__screen > .dtc-mock { font-size: 12px; }
.hero-laptop__base { position: relative; width: 116%; height: 16px; margin-left: -8%; border-radius: 0 0 16px 16px; background: linear-gradient(#e5e7eb, #9ca3af); box-shadow: 0 18px 30px rgba(15, 23, 42, .18); }
.hero-laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #c4c8cf; }
.hero-phone { --thumb-h: 420px; position: absolute; right: 0; bottom: -18px; width: 24%; aspect-ratio: 9 / 19; overflow: hidden; border: 7px solid #111827; border-radius: 28px; background: #fff; box-shadow: 0 24px 50px rgba(15, 23, 42, .28); }
.hero-phone__screen { height: 100%; overflow: hidden; }
.hero-phone__screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-phone__screen > .dtc-mock { font-size: 7px; }
@media (max-width: 600px) { .hero-phone { border-width: 4px; border-radius: 16px; } }

/* Collage: faded template wall behind the copy */
.hero--collage { position: relative; overflow: hidden; padding: 88px 0 80px; }
.hero--collage > .container { position: relative; z-index: 1; }
.hero-collage {
	position: absolute; inset: -10% -6%;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-content: center;
	opacity: .5; transform: rotate(-8deg);
	pointer-events: none;
	-webkit-mask-image: radial-gradient(ellipse 46% 44% at 50% 50%, transparent 35%, #000 100%);
	mask-image: radial-gradient(ellipse 46% 44% at 50% 50%, transparent 35%, #000 100%);
}
.hero-collage__item { --thumb-h: 280px; height: 280px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(15, 23, 42, .1); }
.hero-collage__item:nth-child(even) { transform: translateY(40px); }
.hero-collage__item > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-collage__item > .dtc-mock { font-size: 7.5px; }
@media (min-width: 768px) {
	.hero--collage { padding: 140px 0 128px; }
	.hero-collage { grid-template-columns: repeat(6, 1fr); gap: 22px; }
}

/* Templates: phone cards + horizontal scroll */
.tpl-phones { gap: 32px 24px; }
.tpl-phones.dtc-cols-2 { max-width: 760px; margin: 0 auto; }
.tpl-phone { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tpl-phone__device { --thumb-h: 440px; position: relative; display: block; width: 100%; max-width: 260px; aspect-ratio: 9 / 17; overflow: hidden; border: 8px solid #111827; border-radius: 34px; background: #fff; box-shadow: 0 22px 46px rgba(15, 23, 42, .16); transition: transform .3s ease, box-shadow .3s ease; }
.tpl-phone__device::before { content: ""; position: absolute; top: 8px; left: 50%; z-index: 2; width: 34%; height: 16px; transform: translateX(-50%); border-radius: 99px; background: #111827; }
.tpl-phone__device:hover { transform: translateY(-4px); box-shadow: 0 30px 56px rgba(15, 23, 42, .22); }
.tpl-phone__screen { display: block; height: 100%; overflow: hidden; }
.tpl-phone__screen > img { width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top; transition: transform 6s cubic-bezier(.45, .05, .55, .95); }
.tpl-phone__device:hover .tpl-phone__screen > img { transform: translateY(calc(-100% + 440px)); }
.tpl-phone__screen > .dtc-mock { font-size: 9.5px; }
.tpl-phone__badge { position: absolute; top: 34px; right: 10px; z-index: 2; padding: 3px 10px; border-radius: 99px; background: var(--brand); color: var(--brand-text); font-size: 11px; font-weight: 600; }
.tpl-phone__title { margin-top: 18px; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--heading); }
.tpl-phone__desc { max-width: 280px; margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.tpl-phone__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.section--brand .tpl-phone__title, .is-dark .tpl-phone__title { color: inherit; }
.section--brand .tpl-phone__desc, .is-dark .tpl-phone__desc { color: inherit; opacity: .8; }
.section--brand .tpl-phone__actions .btn-secondary { background: transparent; color: var(--brand-text); border-color: currentColor; }

.ws-themes-grid--scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; grid-template-columns: none; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: thin; }
.ws-themes-grid--scroll > * { scroll-snap-align: start; }
@media (min-width: 480px) { .ws-themes-grid--scroll { grid-auto-columns: 44%; } }
@media (min-width: 960px) { .ws-themes-grid--scroll { grid-auto-columns: calc((100% - 3 * 18px) / 4); } }

/* Steps: numbers / cards */
.steps-grid--numbers .step-card, .steps-grid--cards .step-card { text-align: left; align-items: flex-start; }
.step-num { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.steps-grid--numbers .step-card:nth-child(3n+2) .step-num { background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); }
.steps-grid--numbers .step-card:nth-child(3n) .step-num { background: color-mix(in srgb, var(--mint) 16%, #fff); color: var(--mint); }
.step-kicker { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 18px; }
.step-kicker span { display: inline-block; padding: 5px 14px; border-radius: 99px; background: var(--brand); color: var(--brand-text); font-size: 13px; font-weight: 600; }
.step-kicker .dtc-icon { width: 30px; height: 30px; color: var(--accent); }
.steps-grid--cards .step-card { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); }

/* Features: bento / checklist */
@media (min-width: 960px) {
	.dtc-features--bento.dtc-cols-3 > :nth-child(5n+1), .dtc-features--bento.dtc-cols-4 > :nth-child(7n+1) { grid-column: span 2; }
}
.dtc-features--bento .dtc-feature { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); }
.dtc-features--bento .dtc-feature:first-child { background: var(--heading); border-color: var(--heading); }
.dtc-features--bento .dtc-feature:first-child h3 { color: #fff; }
.dtc-features--bento .dtc-feature:first-child p { color: rgba(255, 255, 255, .75); }
.dtc-features--bento .dtc-feature:first-child .dtc-feature__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.dtc-features--checklist { gap: 12px 32px; max-width: 920px; margin: 0 auto; }
.dtc-features--checklist .dtc-feature { flex-direction: row; align-items: flex-start; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); }
.dtc-features--checklist .dtc-feature__icon { width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: #fff; }
.dtc-features--checklist .dtc-feature__icon .dtc-icon { width: 16px; height: 16px; }
.dtc-features--checklist h3 { font-family: var(--font); font-size: 15.5px; }
.dtc-features--checklist p { margin-top: 2px; font-size: 14px; }

/* Testimonials: rating summary */
.testimonial-score { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin: -8px auto 32px; }
.testimonial-score strong { font-family: var(--font-display); font-size: 54px; font-weight: 700; line-height: 1; color: var(--heading); letter-spacing: -0.03em; }
.testimonial-score__meta { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.testimonial-score__meta .dtc-icon { width: 20px; height: 20px; }
.testimonial-score__meta small { font-size: 14px; color: var(--muted); }
.is-dark .testimonial-score strong, .is-dark .testimonial-score__meta small { color: #fff; }

/* Problem & solution */
.dtc-problem__hook { position: relative; max-width: 640px; margin: 0 auto 32px; text-align: center; }
.dtc-problem__lead { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--heading); }
.dtc-problem__number { margin-top: 4px; color: var(--accent); }
.dtc-problem__number strong { font-family: var(--font-script); font-size: 76px; font-weight: 400; line-height: 1.1; }
.dtc-problem__number span { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--heading); text-transform: uppercase; }
.dtc-problem__arrow { position: absolute; right: 4%; bottom: -26px; width: 70px; color: var(--accent); opacity: .7; }
.dtc-problem__items { max-width: 1000px; margin: 0 auto; }
.dtc-problem__item { padding: 26px 24px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 12px); box-shadow: 0 8px 22px rgba(15, 23, 42, .04); }
.dtc-problem__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.dtc-problem__item h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); }
.dtc-problem__item p { margin-top: 6px; font-size: 14.5px; line-height: 1.65; color: var(--text); }
.dtc-problem__solution { max-width: 700px; margin: 32px auto 0; text-align: center; font-size: 17px; line-height: 1.7; color: var(--ink); }
.dtc-problem__actions { margin-top: 24px; }
@media (min-width: 768px) {
	.dtc-problem__lead { font-size: 22px; }
	.dtc-problem__number strong { font-size: 104px; }
}

/* Header: floating pill + topbar colours */
.dtc-header-style--floating .header { padding: 12px 0; background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dtc-header-style--floating .header-inner { max-width: calc(var(--container, 1200px) - 24px); padding: 10px 12px 10px 22px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--bg, #fff) 88%, transparent); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 12px 34px rgba(15, 23, 42, .08); }
.dtc-header-style--transparent { --header-h: 68px; }
.dtc-header-style--floating { --header-h: 90px; }
.dtc-header-style--floating.home .site-main { margin-top: calc(-1 * var(--header-h)); }
.dtc-header-style--floating.home .site-main > :first-child:not(.dtc-canvas),
.dtc-header-style--floating.home .site-main > .dtc-canvas:first-child > :first-child { padding-top: calc(var(--header-h) + 48px); }
@media (min-width: 768px) {
	.dtc-header-style--floating.home .site-main > :first-child:not(.dtc-canvas),
	.dtc-header-style--floating.home .site-main > .dtc-canvas:first-child > :first-child { padding-top: calc(var(--header-h) + 80px); }
}
@media (max-width: 767px) {
	.dtc-header-style--floating .header-inner { margin: 0 12px; padding-left: 16px; border-radius: 22px; }
	.dtc-header-style--floating.dtc-no-tabbar .header-inner:has(.nav-menu.is-open) { border-radius: 22px; }
}

.dtc-topbar--brand .topbar { background: var(--brand); color: color-mix(in srgb, var(--brand-text) 85%, transparent); }
.dtc-topbar--brand .topbar a { color: var(--brand-text); }
.dtc-topbar--light .topbar { background: var(--tint); color: var(--text); border-bottom: 1px solid var(--line); }
.dtc-topbar--light .topbar a { color: var(--ink); }
