/*
Theme Name: Garvitech
Theme URI: https://garvitechsolutions.co.ke/
Author: Garvitech Solutions Limited
Description: Block theme for Garvitech Solutions — Build. Get Found. Get Leads. Get Tools. Every template, header, footer and section is editable in the Site Editor. Includes WooCommerce styling and a pattern library for pages and blog posts.
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.1.15
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garvitech
Tags: block-patterns, full-site-editing, wide-blocks, editor-style, e-commerce
*/

/* ------------------------------------------------------------------
   Supplementary styles. Colours, fonts and spacing come from theme.json
   (Appearance → Editor → Styles). Everything below is exposed as block
   styles (Block → Styles) or applies to WooCommerce/navigation details.
------------------------------------------------------------------- */

:root { --gt-radius: 10px; --gt-radius-lg: 16px; --gt-dur: 180ms; }
@media (prefers-reduced-motion: reduce) { :root { --gt-dur: 0ms; } html { scroll-behavior: auto; } }
html { scroll-padding-top: 90px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { height: auto; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:where(.wp-site-blocks) :focus-visible { outline: 3px solid var(--wp--preset--color--primary); outline-offset: 2px; border-radius: 4px; }
.has-navy-background-color :focus-visible, .wp-block-cover :focus-visible, .gt-footer :focus-visible { outline-color: var(--wp--preset--color--sky); }

/* ---------- Header ---------- */
.gt-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--wp--preset--color--border); }
.admin-bar .gt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .gt-header { top: 46px; } }
.gt-header .wp-block-site-logo img, .gt-header .gt-logo img { width: auto; height: 36px; }
@media (min-width: 768px) { .gt-header .wp-block-site-logo img, .gt-header .gt-logo img { height: 40px; } }
@media (min-width: 1280px) { .gt-header .wp-block-site-logo img, .gt-header .gt-logo img { height: 44px; } }
.gt-header .wp-block-navigation .wp-block-navigation-item__content { padding: 0.4rem 0.6rem; transition: color var(--gt-dur); }
.gt-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--primary); }

/* Menu button (☰) below 1024px: seven links don't fit on one row on phones and tablets,
   so they open in a full-screen menu instead of wrapping onto two rows. */
@media (max-width: 1023px) {
	/* ☰ at the far right, after the account and cart icons. */
	.gt-header .wp-block-navigation { order: 10; }
}
@media (min-width: 600px) and (max-width: 1023px) {
	.gt-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.gt-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.gt-header .wp-block-navigation__responsive-container-open,
.gt-header .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--gt-radius); color: var(--wp--preset--color--navy); transition: background var(--gt-dur); }
.gt-header .wp-block-navigation__responsive-container-open:hover,
.gt-header .wp-block-navigation__responsive-container-close:hover { background: var(--wp--preset--color--primary-soft); }
.gt-header .wp-block-navigation__responsive-container-close { display: flex; top: 1rem; right: 1rem; background: var(--wp--preset--color--base); }
.gt-header .wp-block-navigation__responsive-container-open svg, .gt-header .wp-block-navigation__responsive-container-close svg { width: 26px; height: 26px; }

/* The opened menu: large tap-friendly rows, Services pages as an indented list. */
.gt-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1rem 1.25rem 2.5rem; background: #fff; }
.gt-header .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.75rem !important; align-items: stretch !important; max-width: 640px; margin-inline: auto; width: 100%; }
.gt-header .is-menu-open .wp-block-navigation__container { width: 100%; gap: 0 !important; align-items: stretch !important; }
.gt-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item { width: 100%; align-items: stretch !important; border-bottom: 1px solid var(--wp--preset--color--border); }
.gt-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { display: flex; align-items: center; box-sizing: border-box; min-height: 52px; padding: .6rem .25rem !important; font-size: 1.125rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.gt-header .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; min-width: 0 !important; padding: 0 0 .75rem .25rem !important; gap: 0 !important; align-items: stretch !important; width: 100%; }
.gt-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { width: 100%; align-items: stretch !important; }
.gt-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: flex; align-items: center; justify-content: flex-start; width: 100%; box-sizing: border-box; text-align: left; min-height: 40px; padding: .35rem .85rem !important; font-size: .9375rem; font-weight: 500; color: var(--wp--preset--color--slate); border-left: 2px solid var(--wp--preset--color--border); }
/* The 13 service pages in two columns, so the other menu links stay within reach. */
.gt-header .is-menu-open .wp-block-navigation__submenu-container { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 1.25rem !important; }
@media (max-width: 599px) {
	.gt-header .is-menu-open .wp-block-navigation__submenu-container { column-gap: .5rem !important; }
	.gt-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: .8125rem; padding: .3rem .6rem !important; line-height: 1.3; }
}
.gt-header .is-menu-open .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--primary); }
.gt-header .is-menu-open .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--primary); box-shadow: none !important; border-left-color: var(--wp--preset--color--primary); }
.gt-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--primary); box-shadow: inset 0 -2px 0 var(--wp--preset--color--primary); }
.gt-header .wp-block-navigation__submenu-container { border-radius: var(--gt-radius); border: 1px solid var(--wp--preset--color--border) !important; box-shadow: 0 20px 48px -16px rgba(11,18,32,.25); padding: .5rem !important; min-width: 260px !important; }
@media (max-width: 1079px) { .gt-header .gt-header-cta { display: none; } }

/* ---------- Footer ---------- */
.gt-footer a { color: var(--wp--preset--color--muted-light); text-decoration: none; }
.gt-footer a:hover { color: #fff; text-decoration: underline; }
.gt-footer .wp-block-separator { width: 100%; max-width: 1200px; border: 0; border-top: 1px solid #1b2640; background: none; opacity: 1; margin-block: 2rem 0; }
.gt-footer .gt-footer-logo img { height: 36px; width: auto; }
@media (min-width: 1100px) { .gt-footer .gt-footer-logo img { height: 40px; } }
.gt-footer .wp-block-list { list-style: none; padding-left: 0; }
/* Social icons in the footer: brand-neutral, sky on hover, 44px tap areas. */
.gt-footer .gt-social { gap: .25rem !important; margin: 1rem 0 0 -.6rem; }
.gt-footer .gt-social .wp-social-link { color: var(--wp--preset--color--muted-light) !important; background: none !important; transition: color var(--gt-dur); }
.gt-footer .gt-social .wp-social-link:hover { color: var(--wp--preset--color--sky) !important; transform: none; }
.gt-footer .gt-social .wp-social-link a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0 !important; }
.gt-footer .gt-social .wp-social-link svg { width: 22px; height: 22px; fill: currentColor; }
.gt-footer .wp-block-list li + li { margin-top: .5rem; }

/* Cookie consent banner (inc/consent.php). Accept and Decline are equally prominent. */
.gt-consent { position: fixed; z-index: 9999; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin-left: auto; padding: 1.1rem 1.25rem; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--muted-light); border: 1px solid #1f2b45; border-radius: var(--gt-radius-lg, 16px); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); font-size: .92rem; line-height: 1.55; }
.gt-consent[hidden] { display: none; }
.gt-consent__text { margin: 0 0 .9rem; }
.gt-consent__text strong { color: #fff; }
.gt-consent__text a { color: var(--wp--preset--color--sky); }
.gt-consent__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.gt-consent__btn { flex: 1 1 120px; min-height: 44px; padding: .6rem 1rem; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; border: 1.5px solid transparent; }
.gt-consent__btn--accept { background: var(--wp--preset--color--primary); color: #fff; }
.gt-consent__btn--decline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.gt-consent__btn:hover { filter: brightness(1.08); }
.gt-consent__btn:focus-visible { outline: 2px solid var(--wp--preset--color--sky); outline-offset: 2px; }
@media (max-width: 480px) { .gt-consent { left: .5rem; right: .5rem; bottom: .5rem; } }

/* Product description: readable width, sized headings, check-mark lists, bordered tables. */
.woocommerce-tabs ul.tabs:has(> li:only-child) { display: none; }
.woocommerce-Tabs-panel--description { max-width: 820px; }
.woocommerce-Tabs-panel--description > :first-child { margin-top: 0; }
.woocommerce-Tabs-panel--description > p:first-child { font-size: 1.15rem; line-height: 1.65; }
.woocommerce-Tabs-panel--description h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.25; margin: 2.4rem 0 .9rem; }
.woocommerce-Tabs-panel--description h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.woocommerce-Tabs-panel--description ul { list-style: none; padding-left: 0; margin: 0 0 1rem; }
.woocommerce-Tabs-panel--description ul li { position: relative; padding-left: 2rem; }
.woocommerce-Tabs-panel--description ul li + li { margin-top: .55rem; }
.woocommerce-Tabs-panel--description ul li::before { content: ''; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--wp--preset--color--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.woocommerce-Tabs-panel--description table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; margin: .5rem 0 1.25rem; font-size: .95rem; }
.woocommerce-Tabs-panel--description th, .woocommerce-Tabs-panel--description td { padding: .75rem 1rem; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid #e2e8f0; }
.woocommerce-Tabs-panel--description thead th { background: var(--wp--preset--color--navy); color: #fff; font-weight: 600; }
.woocommerce-Tabs-panel--description tbody tr:nth-child(even) td { background: #f8fafc; }
.woocommerce-Tabs-panel--description tbody tr:last-child td { border-bottom: 0; }
.woocommerce-Tabs-panel--description td:last-child { font-weight: 600; color: var(--wp--preset--color--primary-dark); white-space: nowrap; }
.woocommerce-Tabs-panel--description small { display: block; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #e2e8f0; color: var(--wp--preset--color--slate); line-height: 1.55; }
@media (max-width: 600px) { .woocommerce-Tabs-panel--description td:last-child { white-space: normal; } .woocommerce-Tabs-panel--description th, .woocommerce-Tabs-panel--description td { padding: .6rem .7rem; } }

/* Recent work: featured client websites (dark section, screenshot cards). */
.gt-recent-work { position: relative; overflow: hidden; }
.gt-recent-work::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(37, 99, 235, .28), transparent); pointer-events: none; }
.gt-recent-work > * { position: relative; }
.gt-work-card { position: relative; display: flex; flex-direction: column; background: var(--wp--preset--color--navy-800); border: 1px solid #1b2640; border-radius: var(--gt-radius-lg); overflow: hidden; transition: transform var(--gt-dur), border-color var(--gt-dur), box-shadow var(--gt-dur); }
.gt-work-card:hover, .gt-work-card:focus-within { transform: translateY(-4px); border-color: rgba(56, 189, 248, .55); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.gt-work-card .gt-work-card__shot { margin: 0 !important; overflow: hidden; }
.gt-work-card .gt-work-card__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .6s ease; }
.gt-work-card:hover .gt-work-card__shot img { transform: scale(1.035); }
.gt-work-card__body { display: flex; flex-direction: column; gap: .55rem; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.gt-work-card__body > * { margin: 0 !important; }
.gt-work-card .gt-work-card__industry { color: var(--wp--preset--color--sky); font-size: .75rem; }
.gt-work-card__title a { color: #fff; text-decoration: none; }
/* The whole card is clickable through the title link. */
.gt-work-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.gt-work-card__title a:focus-visible { outline: none; }
.gt-work-card:has(.gt-work-card__title a:focus-visible) { outline: 2px solid var(--wp--preset--color--sky); outline-offset: 3px; }
.gt-work-card .gt-work-card__link { margin-top: auto !important; padding-top: .35rem; font-weight: 600; }
.gt-work-card .gt-work-card__link a { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 44px; color: var(--wp--preset--color--sky); text-decoration: none; }
.gt-work-card .gt-work-card__link a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gt-work-card .gt-work-card__link a span[aria-hidden] { margin-left: .35em; }
.gt-work-cta { margin-top: clamp(1.75rem, 4vw, 2.5rem) !important; }
/* Tablets: one wide card per row, screenshot beside the text (avoids a lone third card). */
@media (min-width: 600px) and (max-width: 1023px) {
	.gt-recent-work .gt-work-grid { grid-template-columns: 1fr !important; }
	.gt-work-card { flex-direction: row; }
	.gt-work-card .gt-work-card__shot { flex: 0 0 54%; }
	.gt-work-card .gt-work-card__shot img { height: 100%; }
	.gt-work-card__body { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .gt-work-card, .gt-work-card .gt-work-card__shot img { transition: none; } .gt-work-card:hover { transform: none; } .gt-work-card:hover .gt-work-card__shot img { transform: none; } }
.gt-tagline { display: flex; flex-wrap: wrap; column-gap: .35em; }
.gt-tagline span { white-space: nowrap; }

/* ---------- Eyebrow text (Paragraph → Styles → Eyebrow) ---------- */
.is-style-eyebrow { font-size: var(--wp--preset--font-size--x-small) !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--primary); }
.has-navy-background-color .is-style-eyebrow, .wp-block-cover .is-style-eyebrow, .is-style-card-dark .is-style-eyebrow, .gt-designed-hero .is-style-eyebrow { color: var(--wp--preset--color--sky); }

/* ---------- Cards (Group → Styles) ---------- */
.is-style-card { background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: var(--gt-radius-lg); padding: 1.5rem; box-shadow: 0 1px 2px rgba(11,18,32,.06); transition: border-color var(--gt-dur), box-shadow var(--gt-dur); }
.is-style-card:has(a:hover) { border-color: var(--wp--preset--color--primary); box-shadow: 0 4px 16px -4px rgba(11,18,32,.10), 0 2px 4px rgba(11,18,32,.04); }
.is-style-card > :last-child { margin-bottom: 0; }
.is-style-card-dark { background: var(--wp--preset--color--navy-800); border: 1px solid #1b2640; border-radius: var(--gt-radius-lg); padding: 1.5rem; color: var(--wp--preset--color--muted-light); }
.is-style-card-dark h3, .is-style-card-dark h4 { color: #fff; }
.is-style-pillar-card { background: #fff; border: 1px solid var(--wp--preset--color--border); border-top: 3px solid var(--wp--preset--color--primary); border-radius: var(--gt-radius-lg); padding: 1.5rem; box-shadow: 0 1px 2px rgba(11,18,32,.06); }
.is-style-callout { background: var(--wp--preset--color--primary-soft); border: 1px solid #dbeafe; border-left: 4px solid var(--wp--preset--color--primary); border-radius: var(--gt-radius); padding: 1rem 1.25rem; }
.is-style-callout > :last-child { margin-bottom: 0; }
.is-style-cta-band { position: relative; overflow: hidden; border-radius: var(--gt-radius-lg); }
.is-style-cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(37,99,235,.25); pointer-events: none; }
.is-style-cta-band > * { position: relative; z-index: 1; }
/* Whole card clickable when its heading contains a link. */
.is-style-card, .is-style-pillar-card { position: relative; }
.is-style-card h3 a, .is-style-pillar-card h3 a { color: var(--wp--preset--color--navy); text-decoration: none; }
.is-style-card h3 a::after, .is-style-pillar-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }

/* Icon badge used in cards (Image → Styles → Icon badge) */
.is-style-icon-badge img { width: 44px !important; height: 44px !important; padding: 10px; border-radius: var(--gt-radius); background: var(--wp--preset--color--primary-soft); }

/* ---------- Lists (List → Styles) ---------- */
ul.is-style-check-list { list-style: none; padding-left: 0; }
ul.is-style-check-list li { position: relative; padding-left: 1.9rem; }
ul.is-style-check-list li + li { margin-top: .6rem; }
ul.is-style-check-list li::before { content: ''; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--wp--preset--color--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/.75rem no-repeat; }
ul.is-style-dash-list { list-style: none; padding-left: 0; }
ul.is-style-dash-list li { position: relative; padding-left: 1.4rem; }
ul.is-style-dash-list li + li { margin-top: .5rem; }
ul.is-style-dash-list li::before { content: ''; position: absolute; left: 0; top: .78em; width: .7rem; height: 2px; background: var(--wp--preset--color--slate); }

/* ---------- Numbered steps (Columns → Styles → Numbered steps) ---------- */
.is-style-steps { counter-reset: gtstep; }
.is-style-steps > .wp-block-column, .is-style-steps > .wp-block-group { counter-increment: gtstep; position: relative; padding-top: 3rem; }
.is-style-steps > .wp-block-group > :first-child { margin-top: 0; }
.is-style-steps > .wp-block-column::before, .is-style-steps > .wp-block-group::before { content: counter(gtstep, decimal-leading-zero); position: absolute; top: 0; left: 0; font: 700 .875rem/1 var(--wp--preset--font-family--heading); color: var(--wp--preset--color--primary); background: var(--wp--preset--color--primary-soft); border: 1px solid #dbeafe; border-radius: 999px; padding: .5rem .75rem; }

/* ---------- Badge (Paragraph → Styles → Badge) ---------- */
.is-style-badge { width: fit-content; font-size: .8125rem !important; font-weight: 600; line-height: 1.4; color: var(--wp--preset--color--primary); background: var(--wp--preset--color--primary-soft); border: 1px solid #dbeafe; border-radius: 999px; padding: .2rem .75rem; }
.gt-launch-card { border: 2px dashed #dbeafe; }
.gt-store-card__price { font: 700 1.25rem/1.3 var(--wp--preset--font-family--heading); color: var(--wp--preset--color--navy); }
.gt-store-card__price .woocommerce-price-suffix { font-size: .875rem; font-weight: 500; color: var(--wp--preset--color--slate); }
.gt-jump-links .wp-block-button__link { min-height: 38px; padding: .4rem .9rem; font-size: .875rem; }

/* ---------- Pipeline (homepage hero card) ---------- */
.is-style-pipeline { background: rgba(17,26,46,.88); border: 1px solid rgba(56,189,248,.18); border-radius: var(--gt-radius-lg); padding: 1.5rem; box-shadow: 0 20px 48px -16px rgba(11,18,32,.25); }
.is-style-pipeline .wp-block-list { list-style: none; padding: 0; margin: 0; position: relative; }
.is-style-pipeline .wp-block-list::before { content: ''; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--wp--preset--color--primary), var(--wp--preset--color--sky)); }
.is-style-pipeline .wp-block-list li { position: relative; padding: .75rem 0 .75rem 64px; margin: 0; color: #94a3b8; font-size: .875rem; }
.is-style-pipeline .wp-block-list li strong { display: block; color: #fff; font-family: var(--wp--preset--font-family--heading); font-size: 1.125rem; }
/* Pillar icons inside the circles (Build, Get Found, Get Leads, Get Tools — in list order). */
.is-style-pipeline .wp-block-list li::after { content: ''; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background: var(--wp--preset--color--sky); -webkit-mask: var(--gt-pipe-icon) center/contain no-repeat; mask: var(--gt-pipe-icon) center/contain no-repeat; }
.is-style-pipeline .wp-block-list li:nth-child(1) { --gt-pipe-icon: url('assets/icons/monitor.svg'); }
.is-style-pipeline .wp-block-list li:nth-child(2) { --gt-pipe-icon: url('assets/icons/search.svg'); }
.is-style-pipeline .wp-block-list li:nth-child(3) { --gt-pipe-icon: url('assets/icons/bot.svg'); }
.is-style-pipeline .wp-block-list li:nth-child(4) { --gt-pipe-icon: url('assets/icons/package.svg'); }
.is-style-pipeline .wp-block-list li:nth-child(n+5) { --gt-pipe-icon: url('assets/icons/check.svg'); }
.is-style-pipeline .wp-block-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--wp--preset--color--navy); border: 2px solid var(--wp--preset--color--primary); box-sizing: border-box; }

/* ---------- Covers (hero sections & industry cards) ---------- */
.wp-block-cover.is-style-hero { border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--sky) 35%, transparent 70%) 1; }
.wp-block-cover.is-style-hero { padding-top: clamp(2.75rem, 2rem + 4vw, 5.5rem); padding-bottom: clamp(2.75rem, 2rem + 4vw, 5.5rem); }
/* Core sets width:auto and margin:0 on positioned covers; keep hero content on the 1200px grid. */
.wp-block-cover.is-style-hero .wp-block-cover__inner-container { width: 100% !important; max-width: 1200px; margin-inline: auto !important; }
/* Left-align hero content on one edge (the constrained layout would centre the narrower heading). */
.wp-block-cover.is-style-hero .wp-block-cover__inner-container > * { margin-left: 0 !important; margin-right: 0 !important; }
.wp-block-cover.is-style-hero .wp-block-cover__inner-container > p { max-width: 68ch; }
.wp-block-cover.is-style-hero h1 { color: #fff; max-width: 22ch; }
@media (max-width: 767px) { .wp-block-cover.is-style-hero .wp-block-cover__background { opacity: .9 !important; } }
.wp-block-cover.is-style-industry-card { border-radius: var(--gt-radius-lg); overflow: hidden; min-height: 340px !important; align-items: flex-end; }
.wp-block-cover.is-style-industry-card .wp-block-cover__inner-container { width: 100%; }
/* Readable captions: dark gradient from the bottom instead of a flat tint over the whole photo. */
.wp-block-cover.is-style-industry-card .wp-block-cover__background { background: linear-gradient(to top, rgba(11,18,32,.96) 0%, rgba(11,18,32,.82) 32%, rgba(11,18,32,.25) 62%, rgba(11,18,32,0) 80%) !important; opacity: 1 !important; }
.wp-block-cover.is-style-industry-card h4 { color: #fff; margin-bottom: .25rem; }
.wp-block-cover.is-style-industry-card p { margin: 0; font-size: .875rem; color: #e2e8f0; }
.gt-designed-hero { position: relative; overflow: hidden; border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--sky) 35%, transparent 70%) 1; }
.gt-designed-hero::before { content: ''; position: absolute; right: -60px; top: 50%; transform: translateY(-50%) rotate(-8deg); width: clamp(220px, 34vw, 460px); aspect-ratio: 1; background: url('assets/brand/garvitech-icon-white.png') center/contain no-repeat; opacity: .06; pointer-events: none; }
.gt-designed-hero > * { position: relative; }
.gt-designed-hero h1 { color: #fff; }
.gt-designed-hero .wp-block-post-terms a, .gt-designed-hero .wp-block-post-author-name a { color: var(--wp--preset--color--sky); text-decoration: none; }
.gt-designed-hero .wp-block-post-terms a:hover { text-decoration: underline; }
/* Phones and tablets: comfortable tap areas for category links on articles and post cards. */
@media (max-width: 781px) {
	.gt-designed-hero .wp-block-post-terms a { display: inline-block; padding: .5rem 0; }
	.gt-post-card .wp-block-post-terms a { display: inline-block; padding: .4rem .8rem !important; }
	.woocommerce-breadcrumb a, .wc-block-breadcrumbs a, .single-product .wp-block-post-terms a, .product_meta a { display: inline-block; padding: .5rem 0; }
}

/* ---------- Buttons (Button → Styles) ---------- */
.wp-block-button.is-style-outline-light .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--primary-soft); }
.wp-block-button.is-style-white .wp-block-button__link { background: #fff; color: var(--wp--preset--color--navy); border-color: #fff; }
.wp-block-button.is-style-white .wp-block-button__link:hover { background: var(--wp--preset--color--primary-soft); }
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; text-align: center; transition: background var(--gt-dur), border-color var(--gt-dur); }
@media (max-width: 539px) {
	.wp-block-cover .wp-block-buttons, .is-style-cta-band .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.wp-block-cover .wp-block-button, .is-style-cta-band .wp-block-button { width: 100%; }
	.wp-block-cover .wp-block-button__link, .is-style-cta-band .wp-block-button__link { width: 100%; }
}

/* ---------- Hero eyebrow (small label above the page heading) ----------
   Accent bar in front, balanced line breaks so nothing is left stranded on phones. */
.wp-block-cover.is-style-hero .is-style-eyebrow, .gt-designed-hero .is-style-eyebrow {
	display: flex; align-items: flex-start; gap: .75rem;
	line-height: 1.55; text-wrap: balance;
}
.wp-block-cover.is-style-hero .is-style-eyebrow::before, .gt-designed-hero .is-style-eyebrow::before {
	content: ''; flex: none; width: 1.75rem; height: 2px; margin-top: .72em; border-radius: 2px;
	background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--sky));
}
@media (max-width: 539px) {
	.wp-block-cover.is-style-hero .is-style-eyebrow, .gt-designed-hero .is-style-eyebrow { font-size: .75rem !important; letter-spacing: .1em; gap: .6rem; }
	.wp-block-cover.is-style-hero .is-style-eyebrow::before, .gt-designed-hero .is-style-eyebrow::before { width: 1.25rem; }
}

/* ---------- Hero text link under the buttons ("Explore Garvitech software →") ----------
   Matches pages saved before the gt-hero-link class existed: the small link paragraph
   that follows the buttons in a page hero. */
.gt-hero-link, .wp-block-cover.is-style-hero .wp-block-buttons + p.has-small-font-size:has(> a:only-child) { margin-top: 1.25rem !important; }
.gt-hero-link > a, .wp-block-cover.is-style-hero .wp-block-buttons + p.has-small-font-size > a:only-child {
	display: inline-flex; align-items: center; min-height: 44px; padding: .25rem 0;
	font-size: .9375rem; font-weight: 600; letter-spacing: .01em; color: var(--wp--preset--color--sky) !important;
	text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .35em;
	transition: color var(--gt-dur), text-decoration-color var(--gt-dur);
}
.gt-hero-link > a:hover, .wp-block-cover.is-style-hero .wp-block-buttons + p.has-small-font-size > a:only-child:hover { color: #fff !important; text-decoration-color: currentColor; }
.gt-hero-link > a:focus-visible, .wp-block-cover.is-style-hero .wp-block-buttons + p.has-small-font-size > a:only-child:focus-visible { outline: 2px solid var(--wp--preset--color--sky); outline-offset: 4px; border-radius: 4px; }
/* Phones: buttons are stacked full width, so the link becomes a soft third button in line with them. */
@media (max-width: 539px) {
	.gt-hero-link, .wp-block-cover.is-style-hero .wp-block-buttons + p.has-small-font-size:has(> a:only-child) { margin-top: .75rem !important; }
	.gt-hero-link > a, .wp-block-cover.is-style-hero .wp-block-buttons + p.has-small-font-size > a:only-child {
		display: flex; justify-content: center; width: 100%; box-sizing: border-box; min-height: 48px; padding: .6rem 1rem;
		border: 1px solid rgba(56,189,248,.35); border-radius: var(--gt-radius); background: rgba(56,189,248,.08);
		text-decoration: none;
	}
	.gt-hero-link > a:hover, .wp-block-cover.is-style-hero .wp-block-buttons + p.has-small-font-size > a:only-child:hover { background: rgba(56,189,248,.16); border-color: var(--wp--preset--color--sky); }
}

/* ---------- Homepage hero on phones ----------
   Clear hierarchy on small screens: a one-line label, a tight headline, a shorter-reading
   paragraph, one primary button, one secondary button and a quiet text link (not a third box). */
@media (max-width: 600px) {
	.home .wp-block-cover.is-style-hero { padding-top: 2.25rem; padding-bottom: 2.5rem; }
	.home .wp-block-cover.is-style-hero .wp-block-cover__background { opacity: .92 !important; }
	.home .wp-block-cover.is-style-hero .is-style-eyebrow { font-size: .6875rem !important; letter-spacing: .09em; gap: .5rem; line-height: 1.4; margin-bottom: .9rem; }
	.home .wp-block-cover.is-style-hero .is-style-eyebrow::before { width: 1rem; margin-top: .62em; }
	.home .wp-block-cover.is-style-hero h1 { font-size: clamp(2.125rem, 9.4vw, 2.625rem) !important; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; margin-top: 0; margin-bottom: 1rem; max-width: none; }
	.home .wp-block-cover.is-style-hero h1 + p { font-size: 1rem !important; line-height: 1.6; color: #cbd5e1; text-wrap: pretty; margin-bottom: 1.6rem; }
	.home .wp-block-cover.is-style-hero .wp-block-buttons { gap: .7rem; }
	.home .wp-block-cover.is-style-hero .wp-block-button__link { min-height: 52px; font-size: 1rem; border-radius: 12px; }
	.home .wp-block-cover.is-style-hero .wp-block-button.is-style-outline-light .wp-block-button__link { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.04); }
	/* The software link: a quiet, centred text link under the two buttons. */
	.home .gt-hero-link, .home .wp-block-cover.is-style-hero .wp-block-buttons + p.has-small-font-size:has(> a:only-child) { margin-top: .4rem !important; text-align: center; }
	.home .gt-hero-link > a, .home .wp-block-cover.is-style-hero .wp-block-buttons + p.has-small-font-size > a:only-child {
		display: inline-flex; width: auto; min-height: 44px; padding: .5rem .25rem; border: 0; background: none;
		font-size: .9375rem; text-decoration: underline; text-decoration-color: rgba(56,189,248,.45); text-decoration-thickness: 1.5px; text-underline-offset: .3em;
	}
	.home .gt-hero-link > a:hover, .home .wp-block-cover.is-style-hero .wp-block-buttons + p.has-small-font-size > a:only-child:hover { background: none; color: #fff !important; text-decoration-color: currentColor; }
	/* Breathing room before the pillars card that follows the text. */
	.home .wp-block-cover.is-style-hero .wp-block-columns { row-gap: 2.25rem; }
}
@media (max-width: 440px) {
	/* Keep the label on one line on every phone width. */
	.home .wp-block-cover.is-style-hero .is-style-eyebrow { white-space: nowrap; font-size: min(.6875rem, 2.8vw) !important; letter-spacing: .07em; }
	.home .wp-block-cover.is-style-hero .is-style-eyebrow::before { display: none; }
}

/* ---------- Images (Image → Styles → Rounded shadow) ---------- */
.is-style-rounded-shadow img { border-radius: var(--gt-radius-lg); box-shadow: 0 4px 16px -4px rgba(11,18,32,.10), 0 2px 4px rgba(11,18,32,.04); }
.wp-block-image figcaption { font-size: .8125rem; }

/* ---------- FAQ (Details block) ---------- */
.wp-block-details summary { cursor: pointer; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.125rem; color: var(--wp--preset--color--navy); list-style: none; position: relative; padding-right: 2.5rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ''; position: absolute; right: .4rem; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--wp--preset--color--primary); border-bottom: 2px solid var(--wp--preset--color--primary); transform: rotate(45deg); transition: transform var(--gt-dur); }
.wp-block-details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.wp-block-details > :not(summary) { margin-top: .75rem; }

/* ---------- Blog ---------- */
.gt-post-card { height: 100%; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: var(--gt-radius-lg); overflow: hidden; position: relative; box-shadow: 0 1px 2px rgba(11,18,32,.06); transition: border-color var(--gt-dur), box-shadow var(--gt-dur); }
.gt-post-card:hover { border-color: var(--wp--preset--color--primary); box-shadow: 0 4px 16px -4px rgba(11,18,32,.10); }
.gt-post-card .wp-block-post-featured-image { margin: 0; }
.gt-post-card .wp-block-post-featured-image img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.gt-post-card .wp-block-post-title a { color: var(--wp--preset--color--navy); text-decoration: none; }
.gt-post-card .wp-block-post-title a::after { content: ''; position: absolute; inset: 0; }
.gt-post-card .wp-block-post-terms a { position: relative; z-index: 1; font-size: .8125rem; font-weight: 600; text-decoration: none; background: var(--wp--preset--color--primary-soft); border: 1px solid #dbeafe; border-radius: 999px; padding: .15rem .6rem; }
.gt-article .wp-block-post-content > * + h2 { margin-top: 2.5rem; }
.gt-article .wp-block-post-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.gt-article .wp-block-post-content th, .gt-article .wp-block-post-content td { border-bottom: 1px solid var(--wp--preset--color--border); padding: .75rem; text-align: left; vertical-align: top; }
.gt-article .wp-block-post-featured-image img { border-radius: var(--gt-radius-lg); }
.wp-block-query-pagination { gap: .5rem; }

/* ---------- Text pages (default page template: policies, simple pages) ---------- */
.gt-prose h2 { font-size: var(--wp--preset--font-size--x-large) !important; margin-top: 2.25rem; }
.gt-prose h3 { font-size: var(--wp--preset--font-size--large) !important; margin-top: 1.75rem; }
.gt-prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.gt-prose th, .gt-prose td { border-bottom: 1px solid var(--wp--preset--color--border); padding: .6rem .75rem; text-align: left; vertical-align: top; }

/* ---------- Search block ---------- */
.wp-block-search__inside-wrapper { gap: .5rem; }
.wp-block-search__input { font: inherit; font-size: 16px; color: var(--wp--preset--color--navy); background: #fff; border: 1.5px solid var(--wp--preset--color--muted-light) !important; border-radius: var(--gt-radius); padding: .65rem .9rem; min-height: 46px; }
.wp-block-search__input:focus { outline: none; border-color: var(--wp--preset--color--primary) !important; box-shadow: 0 0 0 3px rgba(37,99,235,.2); }
.wp-block-search__button { margin-left: 0; border-radius: var(--gt-radius); min-height: 46px; padding: .6rem 1.2rem; font-weight: 600; }
.gt-designed-hero .wp-block-search__input { border-color: rgba(255,255,255,.25) !important; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { padding: .4rem .8rem; border: 1px solid var(--wp--preset--color--border); border-radius: var(--gt-radius); text-decoration: none; }
.wp-block-query-pagination .current { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }

/* ---------- Pricing page: plan cards (Group "gt-plan") and price tables ---------- */
.gt-plans { align-items: stretch; }
.gt-plan { display: flex; flex-direction: column; gap: .8rem; border-top: 3px solid var(--wp--preset--color--primary); }
.gt-plan > * { margin-block: 0 !important; }
.gt-plan-price { font: 700 clamp(1.5rem, 1.25rem + .9vw, 1.875rem)/1.15 var(--wp--preset--font-family--heading); letter-spacing: -.01em; color: var(--wp--preset--color--navy); }
.gt-plan-billing { margin-top: -.55rem !important; }
.gt-plan ul.is-style-check-list li + li { margin-top: .45rem; }
.gt-plan-note { border-top: 1px solid var(--wp--preset--color--border); padding-top: .75rem; }
.gt-plan-cta { margin-top: auto !important; padding-top: .4rem; }
.gt-plan-cta .wp-block-button, .gt-plan-cta .wp-block-button__link { width: 100%; }
.gt-price-table { margin: 0; }
.gt-price-table table { background: #fff; font-size: .9375rem; }
.gt-price-table th { text-align: left; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--wp--preset--color--navy); background: var(--wp--preset--color--primary-soft); }
.gt-price-table td, .gt-price-table th { padding: .75rem 1rem; vertical-align: top; }
.gt-price-table th:first-child { width: 42%; }
.gt-price-table th:nth-child(2) { width: 24%; }
.gt-price-table strong { color: var(--wp--preset--color--navy); }
.gt-price-table thead { border-bottom: 1px solid var(--wp--preset--color--border); }
/* Phones: each row becomes a small stacked block (service, price, how to order). */
@media (max-width: 640px) {
	.gt-price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.gt-price-table table, .gt-price-table tbody, .gt-price-table tr, .gt-price-table td { display: block; width: 100%; box-sizing: border-box; }
	.gt-price-table table { border: 1px solid var(--wp--preset--color--border); border-radius: var(--gt-radius); overflow: hidden; }
	.gt-price-table tr { padding: .8rem 1rem; border-bottom: 1px solid var(--wp--preset--color--border); }
	.gt-price-table tr:last-child { border-bottom: 0; }
	.gt-price-table td { border: 0; padding: .1rem 0; }
	.gt-price-table td:first-child { font-weight: 600; color: var(--wp--preset--color--navy); }
	.gt-price-table td:last-child { font-size: .875rem; }
}

/* ---------- Tables & misc ---------- */
.wp-block-table table { border-collapse: collapse; }
.wp-block-table td, .wp-block-table th { border-color: var(--wp--preset--color--border); }
.gt-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- WooCommerce ---------- */
.woocommerce-store-notice, p.demo_store { background: var(--wp--preset--color--navy); }
.wc-block-components-button:not(.is-link), .woocommerce .button, .woocommerce button.button, .woocommerce a.button { border-radius: var(--gt-radius) !important; font-weight: 600; }
.wc-block-grid__product, .wc-block-product, li.product { border: 1px solid var(--wp--preset--color--border); border-radius: var(--gt-radius-lg); padding: 1rem; background: #fff; }
.wc-block-components-product-price, .woocommerce-Price-amount { font-family: var(--wp--preset--font-family--heading); font-weight: 650; color: var(--wp--preset--color--navy); }
.wc-block-checkout, .wc-block-cart { margin-top: 1rem; }
.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-blocks-components-select select { border-radius: var(--gt-radius) !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; border: 1px solid var(--wp--preset--color--border); border-radius: var(--gt-radius-lg); overflow: hidden; }
.woocommerce-MyAccount-navigation li a { display: block; padding: .75rem 1rem; text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--border); }
/* ---------- M-Pesa Express (Secure M-Pesa Express plugin) in Garvitech colours ----------
 * The checkout popup and waiting page take their colours from the plugin's own
 * Brand colour / Popup background / Popup text settings (set by Garvitech Setup);
 * these rules style the payment field and the status panel on theme pages. */
.woocommerce-ordering select, .woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce-page form .form-row .input-text { font: inherit; font-size: 16px; color: var(--wp--preset--color--navy); background: #fff; border: 1.5px solid var(--wp--preset--color--muted-light); border-radius: var(--gt-radius); padding: .6rem .8rem; min-height: 46px; }
.woocommerce form .form-row .input-text:focus, .woocommerce-ordering select:focus { outline: none; border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.2); }
.woocommerce .woocommerce-breadcrumb { font-size: .875rem; color: var(--wp--preset--color--slate); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--wp--preset--font-family--heading); color: var(--wp--preset--color--navy); }
.woocommerce ul.order_details { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; padding: 0; margin: 1.5rem 0; }
.woocommerce ul.order_details li { border: 1px solid var(--wp--preset--color--border) !important; border-radius: var(--gt-radius); background: #fff; padding: .75rem 1rem !important; margin: 0 !important; float: none !important; }
.woocommerce ul.order_details::before, .woocommerce ul.order_details::after { display: none; }
.woocommerce-checkout #payment { background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: var(--gt-radius-lg); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--wp--preset--color--border); }
.woocommerce-checkout #payment div.payment_box { background: var(--wp--preset--color--primary-soft); color: var(--wp--preset--color--body); border-radius: var(--gt-radius); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--wp--preset--color--primary-soft); }
.woocommerce-checkout #payment div.payment_box .smex-fields { border: 0; padding: 0; margin: .75rem 0 0; }
.woocommerce-checkout #payment div.payment_box .smex-fields label { color: var(--wp--preset--color--navy); font-weight: 600; }
.woocommerce-checkout #payment div.form-row.place-order { padding: 1rem; }
.woocommerce-checkout #place_order { width: 100%; min-height: 50px; font-size: 1rem; background: var(--wp--preset--color--primary); }
.woocommerce-checkout #place_order:hover { background: var(--wp--preset--color--primary-dark); }
.woocommerce form .form-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--wp--preset--color--primary); vertical-align: -3px; margin-right: .4rem; }
.woocommerce-terms-and-conditions-wrapper { font-size: .9375rem; }
.woocommerce form .form-row .description { color: var(--wp--preset--color--slate); font-size: .8125rem; }
.payment_method_secure_mpesa_express label img { max-height: 28px; width: auto; vertical-align: middle; }
.smex-fields input[type="tel"], .smex-blocks-input { border: 1px solid var(--wp--preset--color--muted-light) !important; border-radius: var(--gt-radius) !important; background: #fff; color: var(--wp--preset--color--navy); padding: .65rem .85rem; }
.smex-fields input[type="tel"]:focus, .smex-blocks-input:focus { border-color: var(--wp--preset--color--primary) !important; outline: 2px solid rgba(37,99,235,.25); outline-offset: 1px; }
.smex-help, .smex-status__help { color: var(--wp--preset--color--slate); opacity: 1; }
.smex-status { background: #fff; border: 1px solid var(--wp--preset--color--border); border-left: 4px solid var(--wp--preset--color--primary); border-radius: var(--gt-radius-lg); box-shadow: 0 1px 2px rgba(11,18,32,.06); color: var(--wp--preset--color--body); }
.smex-status--paid { border-left-color: var(--wp--preset--color--primary); }
.smex-status--failed, .smex-status--cancelled, .smex-status--timed_out { border-left-color: #DC2626; }
.smex-status--review { border-left-color: #D97706; }
.smex-status__title { font-family: var(--wp--preset--font-family--heading); color: var(--wp--preset--color--navy); }
.smex-status__spinner { border-top-color: var(--wp--preset--color--primary); }
.smex-status .button, .smex-status button { background: var(--wp--preset--color--primary); color: #fff; border: 1px solid var(--wp--preset--color--primary); border-radius: var(--gt-radius); font-weight: 600; padding: .6rem 1.1rem; }
.smex-status .button:hover, .smex-status button:hover { background: var(--wp--preset--color--primary-dark); border-color: var(--wp--preset--color--primary-dark); }
.smex-status .smex-status__refresh { background: transparent; color: var(--wp--preset--color--primary); }
.smex-status__retry input { border: 1px solid var(--wp--preset--color--muted-light); border-radius: var(--gt-radius); padding: .6rem .8rem; }

.woocommerce-MyAccount-navigation li.is-active a { background: var(--wp--preset--color--primary-soft); font-weight: 600; }
/* My Account on phones and small tablets: a swipeable row of tabs instead of a tall list, so the content starts right away. */
@media (max-width: 781px) {
	.woocommerce-MyAccount-navigation ul { display: flex; gap: .45rem; overflow-x: auto; border: 0; border-radius: 0; padding: .15rem 0 .5rem; margin: 0 0 1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-MyAccount-navigation li { flex: none; }
	.woocommerce-MyAccount-navigation li a { padding: .5rem .95rem; border: 1px solid var(--wp--preset--color--border); border-radius: 999px; background: #fff; white-space: nowrap; font-size: .9rem; text-decoration: none; }
	.woocommerce-MyAccount-navigation li.is-active a { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
	.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--wp--preset--color--slate); }
}

/* WooCommerce notices in brand colours (WooCommerce's defaults are green). */
.woocommerce-message, .woocommerce-info { border-top-color: var(--wp--preset--color--primary); background: var(--wp--preset--color--primary-soft); color: var(--wp--preset--color--navy); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--wp--preset--color--primary); }
.woocommerce-message .button, .woocommerce-info .button { background: var(--wp--preset--color--primary); color: #fff; }
.wc-block-components-notice-banner.is-success, .wc-block-components-notice-banner.is-info { background: var(--wp--preset--color--primary-soft); border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--navy); }
.wc-block-components-notice-banner.is-success > svg, .wc-block-components-notice-banner.is-info > svg { background: var(--wp--preset--color--primary); fill: #fff; }
.wc-block-components-notice-banner .wc-forward, .wc-block-components-notice-banner a { color: var(--wp--preset--color--primary-dark); }
/* ---------- Thank you page (after a quote request) ---------- */
.gt-thanks { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.gt-thanks h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); line-height: 1.12; margin: .4rem 0 1rem; }
.gt-thanks .gt-steps { margin: 1.5rem 0 2.25rem; padding-left: 1.4rem; }
.gt-thanks .gt-steps li { margin: 0 0 .85rem; padding-left: .3rem; }
.gt-thanks .gt-steps li::marker { color: var(--wp--preset--color--primary); font-weight: 700; }
.gt-thanks h2 { margin-top: 2rem; }
.gt-upload { margin: 1.25rem 0 .4rem; }
.gt-upload-note { color: var(--wp--preset--color--muted, #64748b); margin-top: .25rem; }
.gt-upload-fallback { padding: 1rem 1.15rem; border-left: 4px solid var(--wp--preset--color--primary); background: var(--wp--preset--color--primary-soft); border-radius: 8px; }

/* ---------- Funnel: smart links and next-step boxes (inc/funnel.php) ---------- */
.gt-smart-link { color: var(--wp--preset--color--primary); text-decoration: underline; text-decoration-color: rgba(37,99,235,.35); text-underline-offset: .18em; }
.gt-smart-link:hover { text-decoration-color: currentColor; }
.gt-next { margin: 2.25rem 0; padding: 1.5rem 1.6rem; border-radius: var(--gt-radius-lg, 16px); background: var(--wp--preset--color--navy); color: #e2e8f0; border-left: 4px solid var(--wp--preset--color--primary); }
.gt-next p { margin: 0; }
.gt-next__eyebrow { font-size: .75rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--sky); }
.gt-next__title { margin-top: .45rem !important; font-family: var(--wp--preset--font-family--heading, inherit); font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); font-weight: 700; line-height: 1.2; color: #fff; }
.gt-next__text { margin-top: .6rem !important; line-height: 1.6; color: #cbd5e1; }
.gt-next__actions { margin-top: 1.1rem !important; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; }
.gt-next__btn { display: inline-flex; align-items: center; min-height: 46px; padding: .65rem 1.2rem; border-radius: 10px; background: var(--wp--preset--color--primary); color: #fff !important; font-weight: 700; text-decoration: none !important; }
.gt-next__btn:hover { background: var(--wp--preset--color--primary-dark); }
.gt-next__link { color: var(--wp--preset--color--sky) !important; font-weight: 600; text-decoration: none !important; }
.gt-next__link:hover { text-decoration: underline !important; }
.gt-next--short { padding: 1rem 1.2rem; background: var(--wp--preset--color--primary-soft); color: var(--wp--preset--color--navy); border-left-color: var(--wp--preset--color--primary); }
.gt-next--short a { color: var(--wp--preset--color--primary-dark); font-weight: 700; }
.gt-next--service { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 782px) { .gt-next--service { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.gt-next__related ul { margin: .6rem 0 0; padding: 0; list-style: none; }
.gt-next__related li + li { margin-top: .35rem; }
.gt-next__related a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); }
.gt-next__related a:hover { text-decoration-color: #fff; }