/*
Theme Name: TabApp
Theme URI: https://tabapp.store
Author: TabApp.store
Description: A bold, animated WooCommerce theme for selling single-file HTML apps. Deep-navy hero, electric blue and bright green accents, a filterable app shelf, live-demo support, a streamlined digital checkout with instant downloads, and a journal. Colors, motion and all homepage copy are editable in Appearance → Customize → TabApp theme.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tabapp
Tags: e-commerce, blog, custom-colors, custom-logo, custom-menu, featured-images, block-styles, wide-blocks, translation-ready
WC requires at least: 8.0
WC tested up to: 11.1
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--ta-blue: #2B5BFF;
	--ta-green: #22C77A;
	--ta-ink: #0C1A2B;
	--ta-ink-2: #13263B;
	--ta-ink-3: #0A1622;
	--ta-line-dark: #2A425C;
	--ta-line-dark-2: #22384F;
	--ta-ground: #F3F6F4;
	--ta-surface: #FFFFFF;
	--ta-line: #E1E8E4;
	--ta-line-2: #D3DCE2;
	--ta-text: #2D3E4F;
	--ta-muted: #4A5B6C;
	--ta-muted-dark: #8FA3B8;
	--ta-soft-dark: #B8C7D6;
	--ta-soft-dark-2: #C9D6E3;
	--ta-green-tint: #D3F5E3;
	--ta-green-ink: #05603A;
	--ta-blue-tint: #E3EAFF;
	--ta-blue-tint-2: #DDE5FF;
	--ta-blue-ink: #1D3FB8;
	--ta-red-tint: #FFE1E1;
	--ta-red-ink: #9B1C1C;
	--ta-display: 'Bricolage Grotesque', ui-rounded, system-ui, sans-serif;
	--ta-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ta-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
	--ta-gutter: clamp(16px, 5.5vw, 80px);
	--ta-ease: cubic-bezier(.2, .8, .2, 1);
	--ta-radius: 24px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ta-ground);
	color: var(--ta-ink);
	font: 400 17px/1.6 var(--ta-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--ta-blue-ink); }
a:hover { color: var(--ta-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ta-green); outline-offset: 3px; border-radius: 6px; }
.site-main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--ta-display); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	left: 12px; top: 12px; padding: 12px 18px; background: var(--ta-green); color: var(--ta-ink);
	border-radius: 12px; font-weight: 700; text-decoration: none;
}

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--ta-gutter); }
.dots { background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; }
.dots-dark { background-image: radial-gradient(rgba(12,26,43,.08) 1px, transparent 1px); background-size: 22px 22px; }

/* ==========================================================================
   3. Type helpers
   ========================================================================== */
.display-xl { font: 800 clamp(46px, 7vw, 88px)/.96 var(--ta-display); letter-spacing: -.035em; margin: 0; }
.display-l  { font: 800 clamp(34px, 4.6vw, 60px)/1.02 var(--ta-display); letter-spacing: -.03em; margin: 0; }
.display-m  { font: 800 clamp(28px, 3.4vw, 48px)/1.05 var(--ta-display); letter-spacing: -.03em; margin: 0; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ta-muted); max-width: 640px; }
.lead--dark { color: var(--ta-soft-dark); }
.mono-label { font: 700 12px/1.3 var(--ta-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ta-muted); }
.mono-label--green { color: var(--ta-green-ink); }
.mono-label--blue, .mono-label--dark { color: var(--ta-blue-ink); }
.mono-small { font: 500 13px/1.4 var(--ta-mono); color: var(--ta-muted); }

.hl { position: relative; white-space: nowrap; color: var(--ta-green); }
.hl--ink { color: inherit; }
.hl__line { position: absolute; left: 0; bottom: -.16em; width: 100%; height: .2em; overflow: visible; }
.hl__line path { stroke: var(--ta-blue); stroke-dasharray: 320; animation: draw 1.4s .8s cubic-bezier(.6,0,.2,1) both; }
.hl--ink .hl__line path { stroke: var(--ta-green); }

.tag {
	display: inline-flex; align-items: center; align-self: flex-start; gap: 8px;
	padding: 7px 14px; border-radius: 999px;
	font: 700 12px/1.2 var(--ta-mono); letter-spacing: .12em; text-transform: uppercase;
}
.tag--green { background: var(--ta-green-tint); color: var(--ta-green-ink); }
.tag--blue { background: var(--ta-blue-tint-2); color: var(--ta-blue-ink); }
.tag--plain { background: var(--ta-ground); color: var(--ta-muted); }
.section--white .tag--plain, .how .tag--plain { background: var(--ta-ground); }
.tag--dark { background: var(--ta-ink); color: var(--ta-green); }
.tag--greenfill { background: var(--ta-green); color: var(--ta-ink); }
.tag--glass { background: rgba(255,255,255,.18); color: #fff; }
.mini-pill { padding: 6px 11px; border-radius: 999px; background: var(--ta-ground); font: 700 11px/1.2 var(--ta-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ta-muted); }

/* ==========================================================================
   4. Buttons & links
   ========================================================================== */
.btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: 16px;
	background: var(--ta-blue); color: #fff;
	font: 700 17px/1.1 var(--ta-body); text-decoration: none; text-align: center; cursor: pointer;
	transition: transform .2s var(--ta-ease), box-shadow .2s, background-color .2s, color .2s;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .wp-element-button:hover, .wp-block-button__link:hover {
	transform: translateY(-3px); color: #fff; box-shadow: 0 12px 28px rgba(43,91,255,.35);
}
.btn:active { transform: scale(.97); }
.btn--blue { background: var(--ta-blue); color: #fff; }
.btn--green, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order, .checkout-button, .woocommerce a.button.btn--green,
.is-style-tabapp-green .wp-block-button__link { background: var(--ta-green); color: var(--ta-ink); }
.btn--green:hover, .woocommerce a.button.btn--green:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover,
.is-style-tabapp-green .wp-block-button__link:hover { color: var(--ta-ink); box-shadow: 0 12px 28px rgba(34,199,122,.45); }
.btn--outline, .is-style-outline .wp-block-button__link { background: transparent; border-color: var(--ta-ink); color: var(--ta-ink); }
.btn--outline:hover { color: var(--ta-ink); box-shadow: 0 10px 24px rgba(12,26,43,.12); }
.btn--dark { background: var(--ta-ink); color: #fff; }
.btn--lg { min-height: 60px; padding: 0 30px; border-radius: 18px; font-size: 18px; }
.btn--sm, .app-card .button { min-height: 44px; padding: 0 16px; border-radius: 13px; font-size: 15px; }
.btn--block { width: 100%; }
.woocommerce .button.loading { opacity: .7; }
.woocommerce .button.added::after { content: "✓"; margin-left: 4px; }
a.added_to_cart { font-size: 14px; font-weight: 700; color: var(--ta-blue-ink); margin-left: 4px; }
.button:disabled, .button.disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ta-ink); text-decoration: none; }
.arrow-link svg { transition: transform .2s var(--ta-ease); }
.arrow-link:hover svg { transform: translateX(4px); }
.arrow-link--blue { color: var(--ta-blue-ink); }
.text-link { font-weight: 700; color: var(--ta-ink); }

.icon-btn {
	width: 48px; height: 48px; flex-shrink: 0; border-radius: 16px; border: 0;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none;
	transition: transform .2s var(--ta-ease), background-color .2s;
}
.icon-btn:hover { transform: translateY(-3px); }
.icon-btn--blue { background: var(--ta-blue); color: #fff; }
.icon-btn--blue:hover { color: #fff; }
.icon-btn--ghost { background: var(--ta-ink-2); border: 1px solid #274058; color: #fff; }
.icon-btn--outline { width: 44px; height: 44px; border-radius: 13px; border: 1.5px solid var(--ta-line-2); color: var(--ta-ink); background: transparent; }
.icon-btn--soft { width: 46px; height: 46px; border-radius: 14px; background: var(--ta-surface); color: var(--ta-ink); }
.icon-btn--soft:hover { background: var(--ta-blue-tint); color: var(--ta-ink); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills--end { justify-content: flex-end; }
.pill {
	display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px;
	border-radius: 999px; border: 1.5px solid var(--ta-line-2); background: var(--ta-surface); color: var(--ta-ink);
	font: 700 15px/1 var(--ta-body); text-decoration: none; cursor: pointer;
	transition: transform .2s, background-color .2s, color .2s, border-color .2s;
}
.pill:hover { transform: translateY(-2px); color: var(--ta-ink); }
.pill.is-active, .pill[aria-pressed="true"] { background: var(--ta-ink); border-color: var(--ta-ink); color: #fff; }
.chip { display: inline-flex; padding: 8px 16px; border-radius: 999px; background: var(--ta-surface); border: 1px solid var(--ta-line-2); color: var(--ta-ink); font-size: 14px; font-weight: 700; text-decoration: none; }

/* ==========================================================================
   5. Header
   ========================================================================== */
.site-top { position: relative; z-index: 40; background-color: var(--ta-ink); color: #fff; }
.site-header { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); padding-block: 24px; }
.site-header__spacer { flex-grow: 1; }
.brand, .custom-logo-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand__word { font: 800 24px/1 var(--ta-display); letter-spacing: -.02em; }
.brand__tld { color: var(--ta-green); }
.custom-logo { max-height: 44px; width: auto; }
.primary-nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: var(--ta-soft-dark); text-decoration: none; font-weight: 500; transition: color .2s; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: #fff; }
.header-link { color: var(--ta-soft-dark); text-decoration: none; font-weight: 500; white-space: nowrap; }
.header-link:hover { color: #fff; }
.search-pill {
	display: flex; align-items: center; gap: 10px; width: 260px; height: 46px; padding: 0 16px;
	border-radius: 999px; background: var(--ta-ink-2); border: 1px solid #274058; color: var(--ta-muted-dark);
}
.search-pill input { flex-grow: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font-size: 15px; }
.search-pill input::placeholder { color: var(--ta-muted-dark); }
.search-pill:focus-within { border-color: var(--ta-green); }
.search-pill--nav { display: none; }
.cart-btn { position: relative; }
.cart-count {
	position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px;
	border-radius: 11px; background: var(--ta-green); color: var(--ta-ink);
	font: 700 12px/22px var(--ta-body); text-align: center;
}
.cart-count[data-count="0"] { display: none; }
.menu-toggle { display: none; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-flex; }

.site-top--min .site-header { padding-block: 18px; }
.secure-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--ta-ink-2); border: 1px solid var(--ta-line-dark); font-size: 14px; color: var(--ta-soft-dark-2); }
.secure-pill svg { color: var(--ta-green); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ta-soft-dark-2); font-weight: 700; text-decoration: none; }
.back-link:hover { color: #fff; }

@media (max-width: 1100px) {
	.search-pill--header { display: none; }
}
@media (max-width: 960px) {
	.menu-toggle { display: inline-flex; }
	.header-link { display: none; }
	.primary-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--ta-ink-2); border-top: 1px solid var(--ta-line-dark);
		padding: 12px var(--ta-gutter) 24px; box-shadow: 0 30px 60px rgba(0,0,0,.35);
	}
	.site-top.nav-open .primary-nav { display: block; animation: rise .35s var(--ta-ease) both; }
	.primary-nav ul { flex-direction: column; gap: 0; }
	.primary-nav a { display: block; padding: 14px 0; font-size: 19px; border-bottom: 1px solid var(--ta-line-dark-2); }
	.search-pill--nav { display: flex; width: 100%; margin-top: 16px; height: 52px; }
	.site-header { gap: 10px; padding-block: 16px; }
	.brand__word { font-size: 21px; }
	.brand__mark { width: 34px; height: 34px; }
	.icon-btn { width: 44px; height: 44px; border-radius: 14px; }
	.back-link span { display: none; }
	.secure-pill { display: none; }
}

.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--ta-green); transform-origin: left; transform: scaleX(0); }
.admin-bar .read-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .read-progress { top: 46px; } }

/* ==========================================================================
   6. Sections & shared layout
   ========================================================================== */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight-top { padding-top: clamp(24px, 4vw, 56px); }
.section--white { background: var(--ta-surface); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head__text { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.section-head--center .tag { align-self: center; }
.center-row { display: flex; justify-content: center; margin-top: 40px; }
.section-white-pad { background: var(--ta-surface); padding-bottom: clamp(56px, 8vw, 104px); }
.section-pad-bottom { padding-bottom: clamp(56px, 8vw, 104px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-3 { grid-template-columns: 1fr; } }

.deco { position: absolute; pointer-events: none; }
.deco--ring { left: -120px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; border: 2px dashed var(--ta-line-dark-2); }
.deco--ring-right { right: 6%; top: 40px; width: 300px; height: 300px; border-radius: 50%; border: 2px dashed var(--ta-line-dark-2); }
.deco--ring-tr { right: -140px; top: -160px; width: 400px; height: 400px; border-radius: 50%; border: 2px dashed var(--ta-line-dark-2); }
.deco--square { left: 50%; top: 110px; width: 22px; height: 22px; border-radius: 6px; border: 3px solid var(--ta-blue); }
.deco--dot { left: 45%; bottom: 90px; width: 14px; height: 14px; border-radius: 50%; background: var(--ta-green); }
.deco--dot-blue { left: 62%; top: 180px; width: 14px; height: 14px; border-radius: 50%; background: var(--ta-blue); }
.deco--tile { right: calc(6% + 120px); top: 130px; width: 56px; height: 56px; border-radius: 16px; background: var(--ta-green); }
@media (max-width: 800px) { .deco--square, .deco--dot, .deco--dot-blue, .deco--tile { display: none; } }

/* ==========================================================================
   7. Hero (homepage)
   ========================================================================== */
.hero { position: relative; overflow: hidden; background-color: var(--ta-ink); color: #fff; margin-top: -1px; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: clamp(32px, 5vw, 64px) clamp(72px, 9vw, 120px); }
.hero__copy { display: flex; flex-direction: column; gap: 28px; max-width: 640px; }
.eyebrow { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 18px 8px 12px; border: 1px solid var(--ta-line-dark); border-radius: 999px; font-size: 15px; color: var(--ta-soft-dark-2); }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ta-green); animation: pulse 1.6s ease-out infinite; flex-shrink: 0; }
.pulse-dot--sm { width: 8px; height: 8px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--ta-soft-dark-2); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { color: var(--ta-green); }

/* Browser mock */
.mock { position: relative; width: 100%; max-width: 620px; justify-self: end; padding: 30px 30px 44px; }
.mock__window { background: var(--ta-ink-2); border: 1px solid var(--ta-line-dark); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.mock__tabs { display: flex; align-items: flex-end; gap: 6px; height: 54px; padding: 0 14px; background: var(--ta-ink-3); overflow: hidden; }
.mock__lights { display: flex; gap: 7px; align-self: center; padding-right: 10px; }
.mock__lights i { width: 11px; height: 11px; border-radius: 50%; background: #FF6B6B; }
.mock__lights i:nth-child(2) { background: #FFC857; }
.mock__lights i:nth-child(3) { background: var(--ta-green); }
.mock__tab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; font-size: 13px; color: var(--ta-muted-dark); white-space: nowrap; }
.mock__tab.is-active { background: var(--ta-ink-2); border-radius: 12px 12px 0 0; color: #fff; font-weight: 700; }
.mock__tab.is-active svg { color: var(--ta-green); }
.mock__bar { padding: 10px 16px; border-bottom: 1px solid var(--ta-line-dark-2); }
.mock__url { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 10px; background: var(--ta-ink); font: 500 13px var(--ta-mono); color: var(--ta-muted-dark); white-space: nowrap; overflow: hidden; }
.mock__url i { width: 2px; height: 16px; background: var(--ta-muted-dark); }
.mock__body { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 44px); padding: clamp(20px, 3vw, 36px); }
.ring { position: relative; width: clamp(150px, 16vw, 200px); aspect-ratio: 1; flex-shrink: 0; }
.ring svg { width: 100%; height: 100%; }
.ring__track { fill: none; stroke: var(--ta-line-dark-2); stroke-width: 14; }
.ring__bar { fill: none; stroke: var(--ta-green); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 503; }
.ring__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring__label b { font: 800 clamp(32px, 3.4vw, 44px)/1 var(--ta-display); letter-spacing: -.02em; }
.ring__label small { font: 500 12px var(--ta-mono); letter-spacing: .1em; color: var(--ta-muted-dark); margin-top: 4px; }
.mock__side { display: flex; flex-direction: column; gap: 14px; width: 190px; }
.mock__side strong { font: 700 26px/1.1 var(--ta-display); }
.mock__row { display: flex; gap: 8px; }
.mock__btn { flex-grow: 1; height: 44px; border-radius: 12px; background: var(--ta-green); color: var(--ta-ink); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mock__sq { width: 44px; height: 44px; border-radius: 12px; background: var(--ta-line-dark-2); display: flex; align-items: center; justify-content: center; }
.mock__segs { display: flex; gap: 6px; }
.mock__segs i { flex-grow: 1; height: 6px; border-radius: 3px; background: var(--ta-line-dark-2); }
.mock__segs i.g { background: var(--ta-green); }
.mock__segs i.b { background: var(--ta-blue); }
.mock__tile { position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.mock__tile--a { left: 0; bottom: 70px; width: 76px; height: 76px; background: var(--ta-blue); color: #fff; }
.mock__tile--b { right: 0; top: 34%; width: 68px; height: 68px; border-radius: 20px; background: var(--ta-green); color: var(--ta-ink); }
.mock__tile--c { right: 22%; bottom: 0; width: 64px; height: 64px; border-radius: 20px; background: #fff; color: var(--ta-ink); }

.spin-badge { position: absolute; right: 2%; top: -8px; width: 124px; height: 124px; border-radius: 50%; background: var(--ta-green); box-shadow: 0 16px 36px rgba(0,0,0,.35); z-index: 3; }
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spin-badge text { font: 700 11.5px var(--ta-mono); letter-spacing: 2px; fill: var(--ta-ink); }
.spin-badge__icon path { fill: var(--ta-ink); }

@media (max-width: 1024px) {
	.hero__inner { grid-template-columns: minmax(0, 1fr); }
	.mock { justify-self: center; }
}
@media (max-width: 600px) {
	.hero__ctas .btn { width: 100%; }
	.mock { padding: 24px 0 36px; }
	.mock__side { display: none; }
	.mock__tab--hide-sm { display: none; }
	.mock__tile--a { width: 56px; height: 56px; bottom: 20px; }
	.mock__tile--a svg { width: 26px; height: 26px; }
	.mock__tile--b, .mock__tile--c { width: 52px; height: 52px; }
	.spin-badge { width: 92px; height: 92px; right: -6px; top: 0; }
}

/* ==========================================================================
   8. Marquee
   ========================================================================== */
.marquee { position: relative; height: clamp(110px, 12vw, 170px); overflow: hidden; }
.marquee__band { position: absolute; left: -40px; right: -40px; overflow: hidden; }
.marquee__band--green { top: 14%; transform: rotate(-2deg); padding: 18px 0; background: var(--ta-green); box-shadow: 0 12px 30px rgba(12,26,43,.12); }
.marquee__band--blue { top: 60%; transform: rotate(1.6deg); padding: 14px 0; background: var(--ta-blue); }
.marquee__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 32s linear infinite; font: 800 clamp(22px, 2.4vw, 30px)/1 var(--ta-display); color: var(--ta-ink); }
.marquee__track--rev { animation: marquee-rev 40s linear infinite; gap: 36px; font: 700 clamp(13px, 1.2vw, 16px)/1 var(--ta-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.marquee__track svg { color: var(--ta-ink); flex-shrink: 0; }

/* ==========================================================================
   9. App cards & grids
   ========================================================================== */
.app-grid, ul.products {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
	list-style: none; margin: 0; padding: 0;
}
ul.products::before, ul.products::after { display: none; }
.app-item { margin: 0; list-style: none; }
.app-item[hidden] { display: none; }
.app-card {
	height: 100%; min-height: 262px; background: var(--ta-surface); border: 1px solid var(--ta-line); border-radius: 24px; padding: 24px;
	display: flex; flex-direction: column; gap: 12px;
	transition: transform .35s var(--ta-ease), box-shadow .35s;
}
.app-card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: 0 24px 48px rgba(12,26,43,.12); }
.app-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-card__title { font: 700 23px/1.15 var(--ta-display); letter-spacing: -.02em; }
.app-card__title a { color: var(--ta-ink); text-decoration: none; }
.app-card__title a::after { content: ""; }
.app-card__desc { font-size: 15px; line-height: 1.5; color: var(--ta-muted); }
.app-card__foot { display: flex; align-items: center; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.app-card__price { flex-grow: 1; font: 800 21px/1 var(--ta-display); }
.app-card__price del { font-size: 15px; color: var(--ta-muted); font-weight: 500; margin-right: 6px; }
.app-card__price ins { text-decoration: none; }
.app-card.pop, .app-item.pop .app-card { animation: pop .5s var(--ta-ease) both; }

.app-ico { width: 58px; height: 58px; flex-shrink: 0; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; transition: transform .35s var(--ta-ease); }
.app-card:hover .app-ico, .free-card:hover .app-ico-anim { transform: rotate(-10deg) scale(1.1); }
.app-ico--green { background: var(--ta-green-tint); color: var(--ta-green-ink); }
.app-ico--blue { background: var(--ta-blue-tint); color: var(--ta-blue-ink); }
.app-ico--greenfill { background: var(--ta-green); color: var(--ta-ink); width: 48px; height: 48px; border-radius: 15px; }
.app-ico--white-green { background: #fff; color: var(--ta-green-ink); box-shadow: 0 16px 36px rgba(5,96,58,.18); }
.app-ico--white-blue { background: #fff; color: var(--ta-blue-ink); box-shadow: 0 16px 36px rgba(29,63,184,.18); }
.app-ico--lg { width: 72px; height: 72px; border-radius: 22px; }
.app-ico--xl { width: 104px; height: 104px; border-radius: 30px; }

.price-free { font-weight: 800; }

/* Free cards */
.free-card { background: var(--ta-surface); border: 1px solid var(--ta-line); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ta-ease), box-shadow .35s; }
.free-card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: 0 24px 48px rgba(12,26,43,.12); }
.free-card__art { position: relative; height: 210px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--ta-green-tint); }
.free-card--blue .free-card__art { background: var(--ta-blue-tint); }
.free-card__ring { position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 2px dashed #9DE3BF; }
.free-card--blue .free-card__ring { border-color: #B3C5FF; }
.free-sticker { position: absolute; top: 20px; right: 20px; padding: 8px 14px; border-radius: 999px; background: var(--ta-ink); color: var(--ta-green); font: 700 13px var(--ta-mono); letter-spacing: .1em; text-transform: uppercase; }
.free-card__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.free-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.free-card__head h3 { font: 700 28px/1.1 var(--ta-display); }
.free-card__head a { color: var(--ta-ink); text-decoration: none; }
.free-card__body p { font-size: 16px; line-height: 1.55; color: var(--ta-muted); }
.free-card__actions { display: flex; align-items: center; gap: 20px; margin-top: auto; padding-top: 10px; flex-wrap: wrap; }

.filter-empty { margin-top: 24px; padding: 40px; border: 2px dashed #C5D0DA; border-radius: 24px; text-align: center; font-weight: 700; }

@media (max-width: 1024px) { .app-grid, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
	.app-grid, ul.products { grid-template-columns: 1fr; gap: 14px; }
	.app-card { min-height: 0; }
	#catalog .pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--ta-gutter) * -1); padding-inline: var(--ta-gutter); scrollbar-width: none; }
	#catalog .pills .pill { flex-shrink: 0; }
}

/* ==========================================================================
   10. How it works
   ========================================================================== */
.how { background: var(--ta-surface); }
.steps-row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; counter-reset: none; }
.steps-row::before { content: ""; position: absolute; left: 16%; right: 16%; top: 46px; height: 3px; background: repeating-linear-gradient(90deg, #C5D0DA 0 12px, transparent 12px 22px); background-size: 22px 3px; animation: ants-x 1.2s linear infinite; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.step__num { width: 96px; height: 96px; border-radius: 30px; display: flex; align-items: center; justify-content: center; font: 800 40px var(--ta-display); transition: transform .3s var(--ta-ease); }
.step:hover .step__num { transform: scale(1.1) rotate(-6deg); }
.step__num--1 { background: var(--ta-blue); color: #fff; }
.step__num--2 { background: var(--ta-green); color: var(--ta-ink); }
.step__num--3 { background: var(--ta-ink); color: #fff; }
.step h3 { font: 700 28px/1.1 var(--ta-display); }
.step p { font-size: 17px; line-height: 1.55; color: var(--ta-muted); max-width: 320px; }
@media (max-width: 800px) {
	.steps-row { grid-template-columns: 1fr; gap: 28px; }
	.steps-row::before { left: 31px; right: auto; top: 40px; bottom: 40px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, #C5D0DA 0 10px, transparent 10px 18px); animation: none; }
	.step { flex-direction: row; align-items: flex-start; text-align: left; gap: 18px; }
	.step__num { width: 64px; height: 64px; border-radius: 20px; font-size: 28px; flex-shrink: 0; }
	.step h3 { font-size: 22px; padding-top: 6px; }
	.step > h3, .step > p { grid-column: 2; }
	.step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; row-gap: 6px; }
	.step__num { grid-row: span 2; }
}

/* ==========================================================================
   11. Newsletter / CTA bands
   ========================================================================== */
.nl-section { padding-top: 0; }
.cta-band { position: relative; overflow: hidden; background: var(--ta-blue); color: #fff; border-radius: 40px; padding: clamp(32px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-band__ring { position: absolute; right: -90px; bottom: -150px; width: 380px; height: 380px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); }
.cta-band__orbit { position: absolute; right: -90px; bottom: -150px; width: 380px; height: 380px; }
.cta-band__orbit i { position: absolute; left: -8px; top: 182px; width: 16px; height: 16px; border-radius: 50%; background: var(--ta-green); }
.cta-band__square { position: absolute; left: 44%; top: 36px; width: 20px; height: 20px; border-radius: 6px; border: 3px solid var(--ta-green); }
.cta-band__text { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 600px; }
.cta-band__text p { font-size: 19px; line-height: 1.55; }
.nl-form { position: relative; display: flex; flex-direction: column; gap: 10px; width: min(100%, 480px); flex-shrink: 0; }
.nl-form label { font-size: 15px; font-weight: 700; }
.nl-form__row { display: flex; gap: 10px; padding: 8px; border-radius: 20px; background: #fff; }
.nl-form__row input { flex-grow: 1; min-width: 0; border: 0; outline: none; padding: 0 14px; font-size: 17px; color: var(--ta-ink); background: transparent; }
.nl-form__small { font-size: 14px; }
.nl-form__admin { position: relative; max-width: 360px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.15); font-size: 14px; }
.nl-form--plugin input[type="email"], .nl-form--plugin input[type="text"] { border-radius: 14px; border: 0; min-height: 52px; padding: 0 16px; }
@media (max-width: 900px) {
	.cta-band { flex-direction: column; align-items: stretch; border-radius: 28px; }
	.nl-form { width: 100%; }
}
@media (max-width: 480px) {
	.nl-form__row { flex-direction: column; background: transparent; padding: 0; }
	.nl-form__row input { background: #fff; border-radius: 14px; min-height: 52px; }
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer { background: var(--ta-ink); color: #fff; padding-block: 72px 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 40px; margin-bottom: 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand p { color: var(--ta-soft-dark); line-height: 1.6; max-width: 380px; }
.footer-brand__mail { display: inline-flex; align-items: center; gap: 8px; color: var(--ta-soft-dark-2); text-decoration: none; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col__title { font: 500 12px var(--ta-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ta-muted-dark); }
.footer-col ul, .site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer a { color: var(--ta-soft-dark-2); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--ta-line-dark-2); font-size: 14px; color: var(--ta-muted-dark); }
.site-footer--min { padding-block: 32px; }
.site-footer--min .site-footer__bottom { border-top: 0; padding-top: 0; }
.site-footer--min nav ul { flex-direction: row; gap: 24px; }
@media (max-width: 900px) {
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   13. Page heroes (shop, pages, 404)
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; background-color: var(--ta-ink); color: #fff; margin-top: -1px; }
.page-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; padding-block: clamp(32px, 4vw, 48px) clamp(48px, 6vw, 72px); }
.page-hero__inner > * { max-width: 1000px; }
.page-hero__inner--center { align-items: center; text-align: center; }
.page-hero__meta { font-size: 18px; color: var(--ta-soft-dark); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--ta-muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--ta-muted-dark); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ta-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ta-ink); font-weight: 700; }
.page-hero .crumbs ol { color: var(--ta-muted-dark); }
.page-hero .crumbs a:hover, .page-hero .crumbs [aria-current] { color: #fff; }
.err-code { font: 800 clamp(90px, 16vw, 200px)/.9 var(--ta-display); color: var(--ta-green); letter-spacing: -.05em; }
.err-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 8px; }

.search-box { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 8px 0 18px; border-radius: 18px; background: #fff; border: 1.5px solid var(--ta-line-2); color: var(--ta-muted); max-width: 520px; width: 100%; }
.search-box input { flex-grow: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 17px; color: var(--ta-ink); }
.search-box--big { min-height: 64px; border: 0; border-radius: 20px; }
.page-hero .search-box { border-color: transparent; }

/* ==========================================================================
   14. Shop
   ========================================================================== */
.shop-hero { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px 60px; flex-wrap: wrap; padding-block: clamp(32px, 4vw, 48px) clamp(48px, 6vw, 72px); }
.shop-hero__text { display: flex; flex-direction: column; gap: 18px; max-width: 700px; }
.shop-hero__search { width: min(100%, 460px); }
.shop-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 56px 88px; }
.filter-drawer { display: flex; flex-direction: column; gap: 32px; }
.filter-drawer__toggle { display: none; }
.filter-drawer > summary { list-style: none; }
.filter-drawer > summary::-webkit-details-marker { display: none; }
.filter-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 32px; }
.filter-group__title { font: 700 13px var(--ta-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ta-muted); margin-bottom: 8px; }
.filter-link { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 16px; border-radius: 14px; color: var(--ta-ink); font-weight: 700; text-decoration: none; transition: background-color .2s, transform .2s, color .2s; }
.filter-link:hover { transform: translateX(4px); color: var(--ta-ink); background: #E9EFEC; }
.filter-link.is-active { background: var(--ta-ink); color: #fff; }
.filter-link__count { min-width: 28px; padding: 3px 8px; border-radius: 999px; background: #E4EAE7; color: var(--ta-ink); font: 500 12px var(--ta-mono); text-align: center; }
.filter-link.is-active .filter-link__count { background: var(--ta-green); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 16px; background: #E4EAE7; }
.seg__opt { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; color: var(--ta-ink); font-weight: 700; text-decoration: none; }
.seg__opt.is-active { background: #fff; box-shadow: 0 2px 8px rgba(12,26,43,.12); }
.side-promo { position: relative; overflow: hidden; padding: 24px; border-radius: 22px; background: var(--ta-ink); color: #fff; display: flex; flex-direction: column; gap: 12px; }
.side-promo strong { position: relative; font: 700 22px/1.15 var(--ta-display); }
.side-promo a { position: relative; color: var(--ta-green); font-weight: 700; }
.side-promo__ring { position: absolute; right: -60px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; border: 2px dashed var(--ta-line-dark-2); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.woocommerce-result-count { margin: 0; color: var(--ta-muted); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, .shop-main select { height: 46px; padding: 0 40px 0 14px; border-radius: 14px; border: 1.5px solid var(--ta-line-2); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230C1A2B' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-weight: 500; }
.empty-box { min-height: 320px; border-radius: 28px; border: 2px dashed #C5D0DA; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 32px; }
.empty-box strong { font: 800 30px var(--ta-display); }

.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul, .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.woocommerce-pagination .page-numbers, .nav-links .page-numbers {
	min-width: 48px; height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border-radius: 14px; background: #fff; border: 1.5px solid var(--ta-line-2); color: var(--ta-ink); font-weight: 700; text-decoration: none;
}
.woocommerce-pagination ul .page-numbers { border: 1.5px solid var(--ta-line-2); }
.woocommerce-pagination .page-numbers.current, .nav-links .page-numbers.current { background: var(--ta-ink); border-color: var(--ta-ink); color: #fff; }
.woocommerce-pagination li { margin: 0; }
.pagination { margin-top: 48px; }

.bundle-wrap { padding-bottom: clamp(56px, 8vw, 104px); }
.bundle { position: relative; overflow: hidden; border-radius: 36px; background: var(--ta-blue); color: #fff; padding: clamp(32px, 4vw, 60px) clamp(28px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.bundle__ring { position: absolute; right: 30%; top: -150px; width: 300px; height: 300px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); }
.bundle__text { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.bundle__text p { font-size: 18px; }
.bundle__cta { position: relative; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.bundle__tiles { display: flex; }
.bundle__tiles > span { width: 76px; height: 76px; border-radius: 22px; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.bundle__tiles > span + span { margin-left: -14px; }
.bundle__tiles > span:nth-child(1) { background: #fff; color: var(--ta-green-ink); }
.bundle__tiles > span:nth-child(2) { background: var(--ta-green); color: var(--ta-ink); }
.bundle__tiles > span:nth-child(3) { background: var(--ta-ink); color: #fff; }

@media (max-width: 960px) {
	.shop-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
	.filter-drawer__toggle { display: inline-flex; align-self: flex-start; }
	.filter-drawer:not([open]) > :not(summary) { display: none; }
	.filter-drawer[open] .filter-drawer__toggle { margin-bottom: 8px; }
}

/* ==========================================================================
   15. Single product
   ========================================================================== */
.product-notices:empty { display: none; }
.product-crumbs { padding-top: 28px; }
.product-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 28px clamp(56px, 7vw, 96px); }
.gallery { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gallery__stage { position: relative; aspect-ratio: 16 / 11; border-radius: 32px; background-color: var(--ta-ink); padding: clamp(16px, 2.6vw, 36px); scroll-margin-top: 24px; }
.gallery__frame { width: 100%; height: 100%; display: flex; flex-direction: column; background: var(--ta-ink-2); border: 1px solid var(--ta-line-dark); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.gallery__chrome { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; background: var(--ta-ink-3); flex-shrink: 0; }
.gallery__file { flex-grow: 1; height: 30px; display: flex; align-items: center; padding: 0 12px; border-radius: 9px; background: var(--ta-ink); font: 500 12px var(--ta-mono); color: var(--ta-muted-dark); overflow: hidden; white-space: nowrap; }
.gallery__view { position: relative; flex-grow: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.gallery__main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gallery__main.is-swapping { opacity: 0; }
.gallery__launch { position: absolute; left: 50%; bottom: clamp(24px, 4vw, 52px); transform: translateX(-50%); z-index: 2; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.gallery__launch:hover { transform: translateX(-50%) translateY(-3px); }
.gallery__stage .spin-badge { right: -24px; top: -30px; width: 118px; height: 118px; }
.gallery__stage.is-live { padding: 0; aspect-ratio: 16 / 11; }
.gallery__stage.is-live > :not(.demo-frame):not(.demo-close) { display: none; }
.demo-frame { width: 100%; height: 100%; border: 0; border-radius: 32px; background: #fff; }
.demo-close { position: absolute; top: 12px; right: 12px; z-index: 3; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.thumb { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 8px 14px 8px 8px; border-radius: 18px; border: 2px solid var(--ta-line); background: #fff; cursor: pointer; font-weight: 700; font-size: 14px; text-align: left; transition: transform .25s var(--ta-ease), border-color .2s; }
.thumb:hover { transform: translateY(-4px); }
.thumb.is-active { border-color: var(--ta-blue); }
.thumb img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.thumb span { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.buy-panel { background: #fff; border: 1px solid var(--ta-line); border-radius: 32px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.buy-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.version { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--ta-mono); color: var(--ta-muted); }
.buy-panel__title { font: 800 clamp(42px, 5vw, 66px)/.95 var(--ta-display); letter-spacing: -.035em; }
.buy-panel__desc p { font-size: 19px; line-height: 1.55; color: var(--ta-muted); }
.buy-panel__desc p + p { margin-top: 10px; }
.buy-panel__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-lg { font: 800 48px/1 var(--ta-display); letter-spacing: -.02em; }
.price-lg del { font-size: 24px; color: var(--ta-muted); font-weight: 500; }
.price-lg ins { text-decoration: none; }
.price-note { font-size: 16px; color: var(--ta-muted); }
.buy-panel__actions { display: flex; flex-direction: column; gap: 12px; }
.buy-panel form.cart { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.buy-panel form.cart .quantity { display: none; }
.buy-panel form.cart .single_add_to_cart_button { width: 100%; min-height: 62px; border-radius: 18px; font-size: 18px; }
.buy-panel .stock { margin: 0; font-weight: 700; color: var(--ta-green-ink); }
.buy-panel .stock.out-of-stock { color: var(--ta-red-ink); }
.buy-panel table.variations { width: 100%; border-collapse: collapse; }
.buy-panel table.variations td, .buy-panel table.variations th { padding: 6px 0; text-align: left; }
.buy-panel table.variations select { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid var(--ta-line-2); padding: 0 12px; }
.includes { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--ta-line); }
.includes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.includes li { display: flex; gap: 12px; font-size: 16px; }
.includes li svg { color: var(--ta-green-ink); flex-shrink: 0; margin-top: 2px; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; padding: 16px 18px; border-radius: 16px; background: var(--ta-ground); font-size: 14px; color: var(--ta-muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { color: var(--ta-ink); }

.product-tabs { padding-block: clamp(48px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.tablist { display: flex; gap: clamp(20px, 3vw, 36px); border-bottom: 2px solid var(--ta-line); margin-bottom: 44px; overflow-x: auto; scrollbar-width: none; }
.tablist__tab { position: relative; flex-shrink: 0; height: 60px; padding: 0; border: 0; background: transparent; cursor: pointer; font: 700 18px var(--ta-body); color: #5B6B7A; transition: color .2s; }
.tablist__tab:hover { color: var(--ta-ink); }
.tablist__tab[aria-selected="true"] { color: var(--ta-ink); }
.tablist__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; border-radius: 2px; background: var(--ta-green); transform-origin: left; animation: bar-in .35s var(--ta-ease) both; }
.tabpanel { min-height: 240px; animation: pop .45s var(--ta-ease) both; }
.overview { display: flex; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.overview__content { flex-grow: 1; max-width: 760px; }
.kbd-card { width: 420px; flex-shrink: 0; padding: 32px; border-radius: 28px; background: var(--ta-ink); color: #fff; display: flex; flex-direction: column; gap: 16px; }
.kbd-card .mono-label { color: var(--ta-muted-dark); }
.kbd-card__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
kbd { min-width: 36px; text-align: center; padding: 6px 10px; border-radius: 9px; background: var(--ta-ink-2); border: 1px solid var(--ta-line-dark); border-bottom-width: 3px; font: 500 13px var(--ta-mono); color: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature-card { padding: 30px; border-radius: 24px; background: var(--ta-ground); display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ta-ease), box-shadow .3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(12,26,43,.1); }
.feature-card h3 { font: 700 24px/1.15 var(--ta-display); }
.feature-card p { font-size: 16px; line-height: 1.55; color: var(--ta-muted); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; max-width: 1100px; margin: 0; }
.specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ta-line); }
.specs dt { color: var(--ta-muted); }
.specs dd { margin: 0; font-weight: 700; text-align: right; }
.timeline { list-style: none; margin: 0 0 0 10px; padding: 0; max-width: 820px; border-left: 3px solid var(--ta-line); }
.timeline__item { position: relative; padding: 0 0 40px 40px; display: flex; flex-direction: column; gap: 10px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; left: -12px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid #C5D0DA; }
.timeline__item.is-latest .timeline__dot { background: var(--ta-green); border-color: var(--ta-green); }
.timeline__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.timeline__head strong { font: 800 28px var(--ta-display); }
.timeline__date { color: var(--ta-muted); }
.timeline p { font-size: 17px; line-height: 1.6; color: var(--ta-muted); }
.faq { display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
.faq details, .entry-content details { border-radius: 20px; background: var(--ta-ground); padding: 22px 26px; }
.faq summary, .entry-content summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; cursor: pointer; font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker, .entry-content summary::-webkit-details-marker { display: none; }
.faq__chev { font-size: 28px; line-height: 1; transition: transform .25s; }
.faq details[open] .faq__chev { transform: rotate(45deg); }
.faq details p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ta-muted); }

.related-wrap { padding-block: clamp(56px, 7vw, 96px); }
.related-wrap .related > h2 { font: 800 clamp(34px, 4vw, 52px)/1 var(--ta-display); letter-spacing: -.03em; margin-bottom: 40px; }
.related-wrap .up-sells > h2 { font: 800 36px var(--ta-display); margin-bottom: 24px; }

.buy-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 22px; background: var(--ta-ink); color: #fff; box-shadow: 0 18px 40px rgba(12,26,43,.35); }
.buy-bar.is-visible { display: flex; animation: slide-up .45s var(--ta-ease) both; }
.buy-bar__info { flex-grow: 1; display: flex; flex-direction: column; font-size: 13px; color: var(--ta-soft-dark); }
.buy-bar__info b { font: 800 20px var(--ta-display); color: #fff; }
@media (min-width: 961px) { .buy-bar, .buy-bar.is-visible { display: none; } }

@media (max-width: 1100px) {
	.product-hero { grid-template-columns: minmax(0, 1fr); }
	.overview { flex-direction: column; }
	.kbd-card { width: 100%; }
	.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.gallery__stage { aspect-ratio: 4 / 3.4; border-radius: 26px; }
	.gallery__stage .spin-badge { width: 84px; height: 84px; right: -8px; top: -18px; }
	.gallery__thumbs { grid-template-columns: repeat(4, 64px); overflow-x: auto; }
	.thumb { padding: 4px; min-height: 0; }
	.thumb span { display: none; }
	.feature-grid, .specs { grid-template-columns: 1fr; }
	.tablist__tab { font-size: 16px; }
}

/* ==========================================================================
   16. Demo stage (shortcode)
   ========================================================================== */
.demo-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; background-color: var(--ta-ink); background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; margin: 32px 0; }
.demo-stage__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.demo-stage__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.demo-stage__newtab { color: var(--ta-soft-dark-2); font-size: 14px; }
.demo-stage.is-live .demo-stage__overlay, .demo-stage.is-live .demo-stage__poster { display: none; }
.demo-stage .demo-frame { position: absolute; inset: 0; border-radius: 0; }

/* ==========================================================================
   17. Blog
   ========================================================================== */
.blog-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 72px) clamp(32px, 4vw, 48px); }
.blog-hero__text { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.blog-hero .pills { max-width: 540px; }
.feature-wrap { padding-bottom: 56px; }
.feature-post { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 480px; border-radius: 36px; overflow: hidden; background: #fff; border: 1px solid var(--ta-line); text-decoration: none; color: var(--ta-ink); transition: transform .35s var(--ta-ease), box-shadow .35s; }
.feature-post:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(12,26,43,.14); color: var(--ta-ink); }
.feature-post__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.feature-post__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-post__title { font: 800 clamp(32px, 3.6vw, 50px)/1.02 var(--ta-display); letter-spacing: -.03em; }
.feature-post__excerpt { font-size: 18px; line-height: 1.6; color: var(--ta-muted); }
.byline { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ta-muted); }
.byline b { color: var(--ta-ink); }
.byline--center { justify-content: center; }
.byline__avatar { border-radius: 50%; flex-shrink: 0; }
.post-grid-wrap { padding-bottom: 80px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { min-width: 0; }
.post-card__link { display: flex; flex-direction: column; height: 100%; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--ta-line); text-decoration: none; color: var(--ta-ink); transition: transform .35s var(--ta-ease), box-shadow .35s; }
.post-card__link:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(12,26,43,.12); color: var(--ta-ink); }
.post-card__cover { height: 210px; }
.post-card__body { padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.post-card__title { font: 700 25px/1.12 var(--ta-display); letter-spacing: -.02em; }
.post-card__meta { margin-top: auto; font-size: 14px; color: var(--ta-muted); }
.related .post-card__link { background: var(--ta-ground); border: 0; }

.cover { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background-color: var(--ta-green-tint); background-image: radial-gradient(rgba(12,26,43,.08) 1px, transparent 1px); background-size: 22px 22px; }
.cover--image { background: var(--ta-ink); }
.cover--image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ta-ease); }
.post-card__link:hover .cover--image img, .feature-post:hover .cover--image img { transform: scale(1.05); }
.cover--blue { background-color: var(--ta-blue-tint); }
.cover--dark, .cover--dark-force:not(.cover--image) { background-color: var(--ta-ink); background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; }
.cover__ring { position: absolute; width: 62%; aspect-ratio: 1; min-width: 240px; border-radius: 50%; border: 2px dashed #9DE3BF; }
.cover--blue .cover__ring { border-color: #B3C5FF; }
.cover--dark .cover__ring, .cover--dark-force .cover__ring { border-color: var(--ta-line-dark); }
.cover__dot { position: absolute; }
.cover__dot--a { left: 14%; top: 16%; width: 26px; height: 26px; border-radius: 8px; background: var(--ta-blue); }
.cover__dot--b { right: 16%; bottom: 18%; width: 18px; height: 18px; border-radius: 50%; background: var(--ta-ink); }
.cover--blue .cover__dot--a { background: var(--ta-green); }
.cover--dark .cover__dot--b, .cover--dark-force .cover__dot--b { background: var(--ta-green); }
.cover__tile { position: relative; width: 92px; height: 92px; border-radius: 28px; background: #fff; color: var(--ta-green-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 36px rgba(12,26,43,.2); transition: transform .5s var(--ta-ease); }
.cover--blue .cover__tile { color: var(--ta-blue-ink); }
.cover--dark .cover__tile, .cover--dark-force .cover__tile { background: var(--ta-green); color: var(--ta-ink); }
.post-card__link:hover .cover__tile, .feature-post:hover .cover__tile { transform: scale(1.12) rotate(-8deg); }
.feature-post__cover { min-height: 320px; }
.feature-post__cover .cover__tile { width: 120px; height: 120px; border-radius: 34px; }
.empty-state { padding-block: 40px 80px; display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 1024px) {
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feature-post { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
	.post-grid { grid-template-columns: 1fr; }
	.blog-hero .pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--ta-gutter) * -1); padding-inline: var(--ta-gutter); max-width: none; justify-content: flex-start; scrollbar-width: none; }
	.blog-hero .pill { flex-shrink: 0; }
}

/* Single post */
.post-header { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 48px); }
.post-header .crumbs ol { justify-content: center; }
.post-header .crumbs li:last-child { display: none; }
.post-header .crumbs li:nth-last-child(2)::after { content: none; }
.post-header__title { max-width: 1000px; font: 800 clamp(38px, 5.6vw, 76px)/1 var(--ta-display); letter-spacing: -.035em; }
.post-cover-wrap { padding-bottom: clamp(40px, 5vw, 72px); }
.post-cover { height: clamp(240px, 36vw, 480px); border-radius: clamp(24px, 3vw, 40px); }
.post-cover .cover__tile { width: 130px; height: 130px; border-radius: 36px; }
.post-cover .cover__tile svg { width: 60px; height: 60px; }
.post-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 80px; justify-content: center; align-items: start; padding-bottom: 80px; }
.post-aside { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.admin-bar .post-aside, .admin-bar .doc-aside { top: 60px; }
.post-main { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.toc { display: flex; flex-direction: column; border-left: 2px solid var(--ta-line-2); }
.toc__title { display: block; padding: 0 0 10px 16px; font: 700 12px var(--ta-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ta-muted); }
.share .toc__title { padding-left: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc a { position: relative; display: block; padding: 8px 16px; color: var(--ta-muted); text-decoration: none; line-height: 1.35; transition: color .2s, padding-left .2s; }
.toc a:hover { color: var(--ta-ink); padding-left: 20px; }
.toc a.is-active { color: var(--ta-ink); font-weight: 700; }
.toc a.is-active::before { content: ""; position: absolute; left: -2px; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: var(--ta-green); }
.share__row { display: flex; gap: 8px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.author-box { display: flex; gap: 22px; align-items: center; padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--ta-line); }
.author-box__avatar { border-radius: 50%; flex-shrink: 0; }
.author-box > div { display: flex; flex-direction: column; gap: 6px; }
.author-box__name { font: 700 22px var(--ta-display); }
.author-box p { color: var(--ta-muted); line-height: 1.5; }
@media (max-width: 1024px) {
	.post-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.post-aside { position: static; order: 2; }
	.post-aside .toc { display: none; }
}

/* ==========================================================================
   18. Entry content (posts, pages, product descriptions)
   ========================================================================== */
.entry-content { font-size: 20px; line-height: 1.75; color: var(--ta-text); }
.entry-content > * + * { margin-top: 26px; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > p:first-child { font-size: 1.2em; line-height: 1.55; color: var(--ta-ink); font-weight: 500; }
.overview__content.entry-content > p:first-child, .doc-content > p:first-child { font-size: inherit; color: inherit; font-weight: 400; }
.entry-content h2 { margin-top: 48px; font: 800 clamp(28px, 3vw, 38px)/1.1 var(--ta-display); letter-spacing: -.025em; color: var(--ta-ink); scroll-margin-top: 24px; }
.entry-content h3 { margin-top: 36px; font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--ta-display); color: var(--ta-ink); }
.entry-content h4 { margin-top: 28px; font: 700 20px var(--ta-body); color: var(--ta-ink); }
.entry-content a { color: var(--ta-blue-ink); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: 8px; }
.entry-content img, .entry-content .wp-block-image img { border-radius: 22px; }
.entry-content figcaption { margin-top: 10px; font-size: 15px; color: var(--ta-muted); text-align: center; }
.entry-content hr { border: 0; height: 2px; background: var(--ta-line); margin-block: 48px; }
.entry-content blockquote:not(.is-style-tabapp-pull) { margin-inline: 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--ta-green); font-style: italic; color: var(--ta-ink); }
.entry-content blockquote cite { display: block; margin-top: 10px; font-size: 15px; font-style: normal; color: var(--ta-muted); }
.entry-content pre, .entry-content .wp-block-code {
	padding: 28px 32px; border-radius: 22px; background: var(--ta-ink-2); color: var(--ta-soft-dark-2);
	font: 500 16px/1.7 var(--ta-mono); overflow-x: auto; white-space: pre;
}
.entry-content :not(pre) > code { padding: 2px 7px; border-radius: 7px; background: #E8EEEB; font: 500 .85em var(--ta-mono); color: var(--ta-ink); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 17px; }
.entry-content th, .entry-content td { padding: 14px 12px; border-bottom: 1px solid var(--ta-line); text-align: left; }
.entry-content th { font-weight: 700; color: var(--ta-ink); }
.entry-content .alignwide { max-width: 1100px; }
.entry-content .wp-block-embed iframe { border-radius: 22px; }
.entry-content--wide { max-width: 1000px; }
.entry-content--canvas > * { max-width: none; }
.entry-content--canvas { padding-block: 0; }

/* Block styles */
.is-style-tabapp-pull, .entry-content .wp-block-pullquote {
	position: relative; overflow: hidden; margin: 16px 0; padding: 40px 40px 36px 68px; border: 0 !important;
	border-radius: 28px; background: var(--ta-ink); color: #fff; text-align: left;
}
.is-style-tabapp-pull::before { content: "“"; position: absolute; left: 18px; top: 6px; font: 800 90px/1 var(--ta-display); color: var(--ta-green); }
.is-style-tabapp-pull p, .entry-content .wp-block-pullquote p { font: 700 clamp(24px, 2.6vw, 32px)/1.25 var(--ta-display); color: #fff; font-style: normal; }
.is-style-tabapp-pull cite, .entry-content .wp-block-pullquote cite { color: var(--ta-soft-dark); }
.is-style-tabapp-summary { padding: 32px 36px; border-radius: 26px; background: var(--ta-green-tint); color: var(--ta-ink); }
.is-style-tabapp-note { padding: 20px 24px; border-radius: 18px; background: var(--ta-blue-tint); color: var(--ta-ink); font-size: 17px; }
.is-style-tabapp-dark { padding: 32px 36px; border-radius: 26px; background: var(--ta-ink); color: #fff; }
.is-style-tabapp-dark h2, .is-style-tabapp-dark h3, .is-style-tabapp-dark a { color: #fff; }
.is-style-tabapp-summary > * + *, .is-style-tabapp-note > * + *, .is-style-tabapp-dark > * + * { margin-top: 12px; }
ul.is-style-tabapp-checks, ul.is-style-tabapp-crosses { list-style: none; padding-left: 0; }
.is-style-tabapp-checks li, .is-style-tabapp-crosses li { position: relative; padding-left: 40px; }
.is-style-tabapp-checks li::before, .is-style-tabapp-crosses li::before {
	content: ""; position: absolute; left: 0; top: .28em; width: 26px; height: 26px; border-radius: 8px;
	background: var(--ta-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230C1A2B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") no-repeat center;
}
.is-style-tabapp-crosses li::before {
	background: var(--ta-red-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239B1C1C' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") no-repeat center;
}

/* Featured app callout shortcode */
.app-callout { display: flex; align-items: center; gap: 24px; padding: 26px; border-radius: 28px; background: var(--ta-green-tint); }
.app-callout--blue { background: var(--ta-blue-tint); }
.app-callout .app-ico { background: #fff; }
.app-callout__text { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; }
.app-callout__kicker { font: 700 12px var(--ta-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ta-green-ink); }
.app-callout--blue .app-callout__kicker { color: var(--ta-blue-ink); }
.app-callout__name { font: 800 26px/1.1 var(--ta-display); color: var(--ta-ink); }
.app-callout__desc { font-size: 16px; line-height: 1.5; }
.app-callout .btn { color: #fff; }
@media (max-width: 600px) { .app-callout { flex-direction: column; align-items: flex-start; } .app-callout .btn { width: 100%; } }

.page-links { margin-top: 32px; font-weight: 700; }

/* Comments */
.comments { margin-top: 16px; display: flex; flex-direction: column; gap: 24px; }
.comments__title { font: 800 30px var(--ta-display); }
.comment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.comment-list .children { list-style: none; margin: 16px 0 0 32px; padding: 0; }
.comment-body { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--ta-line); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--ta-muted); margin-bottom: 10px; }
.comment-meta img { border-radius: 50%; }
.comment-author .fn { font-weight: 700; color: var(--ta-ink); }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; }

/* ==========================================================================
   19. Text pages
   ========================================================================== */
.doc-layout { padding-block: clamp(48px, 6vw, 72px) clamp(64px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, 820px); justify-content: center; gap: 80px; align-items: start; }
.doc-layout--toc { grid-template-columns: 280px minmax(0, 800px); justify-content: start; }
.doc-aside { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 24px; }
.help-card { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--ta-line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ta-muted); }
.help-card strong { font: 700 20px var(--ta-display); color: var(--ta-ink); }
.doc-content { font-size: 18px; }
.doc-content > h2 { padding-top: 36px; border-top: 1px solid var(--ta-line); margin-top: 36px; font-size: 32px; }
.doc-content > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.doc-content--numbered { counter-reset: doc; }
.doc-content--numbered > h2 { display: flex; align-items: baseline; gap: 14px; }
.doc-content--numbered > h2::before { counter-increment: doc; content: counter(doc, decimal-leading-zero); font: 700 16px var(--ta-mono); color: var(--ta-green-ink); }
.doc-comments { padding-bottom: 80px; max-width: 820px; }
@media (max-width: 960px) {
	.doc-layout--toc { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.doc-aside { position: static; }
}

/* ==========================================================================
   20. Woo flow: cart, checkout, account, thank-you
   ========================================================================== */
.woo-flow { padding-block: 40px 96px; }
.woo-flow__title { margin: 24px 0 28px; }
.steps { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; font-weight: 700; }
.steps__item { display: flex; align-items: center; gap: 10px; }
.steps__item.is-todo { color: #5B6B7A; }
.steps__dot { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; border: 2px solid #C5D0DA; }
.is-current .steps__dot { background: var(--ta-ink); border-color: var(--ta-ink); color: #fff; }
.is-done .steps__dot { background: var(--ta-green); border-color: var(--ta-green); color: var(--ta-ink); }
.steps__line { width: 60px; height: 3px; border-radius: 2px; background: #C5D0DA; overflow: hidden; }
.steps__line span { display: block; height: 100%; background: var(--ta-green); transform: scaleX(0); transform-origin: left; }
.steps__line.is-done span { animation: bar-in .9s .3s var(--ta-ease) both; }
@media (max-width: 480px) { .steps__line { width: 24px; } .steps { gap: 10px; font-size: 14px; } }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 24px; padding: 18px 22px; border-radius: 18px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	background: var(--ta-green-tint); color: var(--ta-ink); font-weight: 500; border: 0;
}
.woocommerce-info { background: var(--ta-blue-tint); }
.woocommerce-error { background: var(--ta-red-tint); display: block; }
.woocommerce-error li + li { margin-top: 6px; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 42px; font-size: 15px; }

/* Forms (classic cart/checkout/account) */
.woocommerce form .form-row { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row label { font-size: 15px; font-weight: 700; }
.woocommerce form .form-row .required { color: var(--ta-red-ink); text-decoration: none; }
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select, .woocommerce-page input.input-text,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.woocommerce form .form-row .select2-container .select2-selection--single {
	width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--ta-line-2); background: #fff;
	font-size: 17px; color: var(--ta-ink); transition: border-color .2s, box-shadow .2s;
}
.woocommerce textarea, .comment-form textarea { padding: 14px 16px; min-height: 120px; }
.woocommerce input.input-text:focus, .woocommerce textarea:focus, .woocommerce select:focus, .comment-form input:focus, .comment-form textarea:focus {
	outline: none; border-color: var(--ta-blue); box-shadow: 0 0 0 4px rgba(43,91,255,.18);
}
.woocommerce form .form-row .select2-container .select2-selection--single { display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 52px; right: 10px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); display: inline-flex; vertical-align: top; }
.woocommerce form .form-row-first { margin-right: 12px; }
@media (max-width: 600px) { .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; margin-right: 0; } }
.woocommerce-invalid input.input-text { border-color: var(--ta-red-ink); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ta-green); width: 20px; height: 20px; }

/* Tables */
.woocommerce table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--ta-line); border-radius: 24px; overflow: hidden; font-size: 16px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 18px 20px; border-bottom: 1px solid var(--ta-line); text-align: left; vertical-align: middle; }
.woocommerce table.shop_table tr:last-child > * { border-bottom: 0; }
.woocommerce table.shop_table thead th { font: 700 12px var(--ta-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ta-muted); background: var(--ta-ground); }
.woocommerce table.shop_table .product-thumbnail img { width: 64px; border-radius: 16px; }
.woocommerce table.shop_table .product-name a { font: 700 20px var(--ta-display); color: var(--ta-ink); text-decoration: none; }
.woocommerce a.remove { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: var(--ta-ground); color: var(--ta-ink) !important; font-size: 22px; text-decoration: none; transition: background-color .2s, transform .2s; }
.woocommerce a.remove:hover { background: #FFE4E4; transform: rotate(90deg); }
.woocommerce .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce .coupon .input-text { width: auto; flex-grow: 1; min-width: 180px; }
.woocommerce .cart-collaterals { margin-top: 32px; display: flex; justify-content: flex-end; }
.woocommerce .cart_totals { width: min(100%, 460px); padding: 32px; border-radius: 30px; background: #fff; border: 1px solid var(--ta-line); }
.woocommerce .cart_totals h2 { font: 800 28px var(--ta-display); margin-bottom: 16px; }
.woocommerce .cart_totals table.shop_table { border: 0; border-radius: 0; }
.woocommerce .cart_totals table.shop_table th, .woocommerce .cart_totals table.shop_table td { padding: 12px 0; }
.woocommerce .cart_totals .order-total .amount { font: 800 32px var(--ta-display); }
.woocommerce .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 64px; margin-top: 16px; font-size: 19px; border-radius: 18px; }
.woocommerce-cart-form .quantity .qty { width: 72px; min-height: 44px; text-align: center; border-radius: 12px; border: 1.5px solid var(--ta-line-2); }

/* Classic checkout */
.woocommerce-checkout #customer_details { display: grid; gap: 24px; }
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr; gap: 24px; }
.woocommerce-checkout .woocommerce-billing-fields, .woocommerce-checkout .woocommerce-additional-fields, .woocommerce-checkout .woocommerce-account-fields {
	padding: 30px; border-radius: 26px; background: #fff; border: 1px solid var(--ta-line);
}
.woocommerce-checkout h3 { font: 700 24px var(--ta-display); margin-bottom: 16px; }
@media (min-width: 1025px) {
	form.checkout.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 16px 48px; align-items: start; }
	form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
	form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; }
	form.checkout #order_review { position: sticky; top: 24px; }
}
#order_review_heading { font: 800 26px var(--ta-display); margin: 0; }
#order_review { padding: 30px; border-radius: 30px; background: #fff; border: 1px solid var(--ta-line); }
#order_review table.shop_table { border: 0; border-radius: 0; }
#order_review table.shop_table th, #order_review table.shop_table td { padding: 12px 0; }
#order_review .order-total .amount { font: 800 32px var(--ta-display); }
#payment { margin-top: 20px; }
#payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#payment ul.payment_methods > li { padding: 16px 18px; border-radius: 16px; border: 2px solid var(--ta-line-2); }
#payment ul.payment_methods > li:has(input:checked) { border-color: var(--ta-blue); background: #F1F4FF; }
#payment .payment_box { margin-top: 12px; padding: 16px; border-radius: 14px; background: #F7F9F8; font-size: 15px; }
#payment #place_order { width: 100%; min-height: 64px; font-size: 19px; border-radius: 18px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 14px; color: var(--ta-muted); margin-bottom: 16px; }

/* Cart & Checkout blocks */
.wc-block-cart, .wc-block-checkout { font-size: 16px; }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 0; }
.wp-block-woocommerce-cart .wc-block-cart-items, .wc-block-checkout__main .wc-block-components-checkout-step,
.wc-block-components-sidebar .wc-block-components-panel, .wc-block-cart__sidebar, .wc-block-checkout__sidebar {
	background: #fff; border-radius: 26px;
}
.wc-block-checkout__main .wc-block-components-checkout-step { padding: 24px 28px; border: 1px solid var(--ta-line); margin-bottom: 20px; }
.wc-block-checkout__main .wc-block-components-checkout-step::after { display: none; }
.wc-block-components-checkout-step__title { font: 700 24px var(--ta-display) !important; }
.wc-block-cart__sidebar, .wc-block-checkout__sidebar { padding: 28px; border: 1px solid var(--ta-line); }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select__select, .wc-block-components-textarea {
	border-radius: 14px !important; border: 1.5px solid var(--ta-line-2) !important; min-height: 54px;
}
.wc-block-components-text-input.is-active input:focus { border-color: var(--ta-blue) !important; box-shadow: 0 0 0 4px rgba(43,91,255,.18); }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	min-height: 60px !important; border-radius: 18px !important; background: var(--ta-green) !important; color: var(--ta-ink) !important;
	font: 700 18px var(--ta-body) !important; border: 0 !important; transition: transform .2s var(--ta-ease), box-shadow .2s;
}
.wc-block-components-button:not(.is-link):hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(34,199,122,.45); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font: 800 30px var(--ta-display); }
.wc-block-components-product-name { font: 700 19px var(--ta-display); color: var(--ta-ink); text-decoration: none; }
.wc-block-components-radio-control__option { border-radius: 14px; }
.wc-block-cart-items__row .wc-block-cart-item__image img { border-radius: 16px; }
.wc-block-components-quantity-selector { border-radius: 12px; }

/* Account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-radius: 14px; color: var(--ta-ink); font-weight: 700; text-decoration: none; }
.woocommerce-MyAccount-navigation a:hover { background: #E9EFEC; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ta-ink); color: #fff; }
.woocommerce-MyAccount-content { padding: 32px; border-radius: 28px; background: #fff; border: 1px solid var(--ta-line); }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 520px; }
.woocommerce-form-login, .woocommerce-form-register { padding: 32px; border-radius: 28px; background: #fff; border: 1px solid var(--ta-line); }
.woocommerce .u-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
@media (max-width: 800px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }

/* Thank-you */
.woo-flow--step-3 .steps { margin-bottom: 8px; }
.ty { position: relative; }
.ty__hero { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding-block: 40px 16px; }
.ty__hero .lead { max-width: 760px; }
.ty__hero b { color: var(--ta-ink); }
.ty__check-bg { fill: var(--ta-green); opacity: .18; }
.ty__check-ring { fill: none; stroke: var(--ta-green); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 340; }
.ty__check-tick { fill: none; stroke: var(--ta-ink); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; }
.draw-ring { animation: draw-ring 1s .2s cubic-bezier(.6,0,.2,1) both; }
.draw-tick { animation: draw-tick .5s 1s cubic-bezier(.6,0,.2,1) both; }
.pop-in { animation: pop-in .8s var(--ta-ease) both; }
.ty__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ty__card { position: relative; max-width: 960px; margin: 40px auto 0; padding: clamp(22px, 3vw, 36px); border-radius: 32px; background: #fff; border: 1px solid var(--ta-line); display: flex; flex-direction: column; gap: 14px; }
.ty__card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 8px; }
.ty__card-head h2 { font: 800 30px var(--ta-display); }
.ty__card-head span { font-size: 15px; color: var(--ta-muted); }
.dl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dl-row { display: flex; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 22px; background: var(--ta-ground); }
.dl-row__text { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dl-row__text strong { font: 700 22px var(--ta-display); }
.dl-row__btn:hover svg { animation: bob .6s ease-in-out infinite; }
.ty__pending { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--ta-blue-tint); }
.ty__tips { max-width: 960px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tip { padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--ta-line); display: flex; flex-direction: column; gap: 12px; transition: transform .3s var(--ta-ease); }
.tip:hover { transform: translateY(-6px) rotate(-.5deg); }
.tip h3 { font: 700 22px var(--ta-display); }
.tip p { font-size: 15px; line-height: 1.55; color: var(--ta-muted); }
.tip .app-ico { width: 48px; height: 48px; border-radius: 15px; }
.tip--dark { background: var(--ta-ink); border-color: var(--ta-ink); color: #fff; }
.tip--dark p { color: var(--ta-soft-dark); }
.tip--blue { background: var(--ta-blue); border-color: var(--ta-blue); color: #fff; }
.tip--blue p { color: #fff; }
.confetti { position: absolute; left: 0; right: 0; top: -40px; height: 640px; overflow: hidden; pointer-events: none; z-index: 0; }
.confetti i { position: absolute; top: 0; animation: fall 3.6s cubic-bezier(.3,.6,.4,1) infinite; }
.ty__hero, .ty__card, .ty__tips { z-index: 1; }
.woocommerce-order-downloads, .woocommerce-order-details, .woocommerce-customer-details { max-width: 960px; margin: 40px auto 0; }
.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-order-downloads__title { font: 800 26px var(--ta-display); margin-bottom: 16px; }
@media (max-width: 800px) {
	.ty__tips { grid-template-columns: 1fr; }
	.dl-row { flex-wrap: wrap; }
	.dl-row__btn { width: 100%; }
}

/* ==========================================================================
   21. Motion
   ========================================================================== */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatTilt { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(12px) rotate(5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes tabIn { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,199,122,.65); } 100% { box-shadow: 0 0 0 14px rgba(34,199,122,0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes draw { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
@keyframes ring { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 503; } }
@keyframes ants-x { to { background-position: 22px 0; } }
@keyframes wiggle { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes slide-up { from { transform: translateY(120%); } to { transform: none; } }
@keyframes fall { 0% { transform: translateY(-40px) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(620px) rotate(540deg); opacity: 0; } }
@keyframes draw-ring { from { stroke-dashoffset: 340; } to { stroke-dashoffset: 0; } }
@keyframes draw-tick { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }
@keyframes pop-in { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

.float { animation: floatY 6s ease-in-out infinite; }
.float-b { animation: floatY 7s ease-in-out -2s infinite; }
.tilt { animation: floatTilt 8s ease-in-out infinite; }
.tilt-b { animation: floatTilt 9s ease-in-out -3s infinite; }
.spin { animation: spin 16s linear infinite; }
.spin-slow { animation: spin 40s linear infinite; }
.tab-in { animation: tabIn .6s var(--ta-ease) both; }
.rise { animation: rise .8s var(--ta-ease) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .4s; }
.d4 { animation-delay: .55s; } .d5 { animation-delay: .7s; } .d6 { animation-delay: .85s; }
.pulse { animation: pulse 1.6s ease-out infinite; }
.ring-anim { animation: ring 14s linear infinite; }
.wiggle { animation: wiggle 2.4s ease-in-out infinite; }
.blink { animation: blink 1s steps(1) infinite; }

/* Scroll reveal (only when JS is running, so content never hides without it) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ta-ease), transform .8s var(--ta-ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* Motion off: Customizer switch or the visitor's OS setting */
body.no-motion *, body.no-motion *::before, body.no-motion *::after { animation: none !important; transition: none !important; }
body.no-motion .reveal { opacity: 1 !important; transform: none !important; }
body.no-motion .confetti { display: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
	.confetti { display: none; }
}

/* ==========================================================================
   22. Misc WordPress
   ========================================================================== */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-inline: auto; display: block; }
.wp-caption-text, .gallery-caption { font-size: 15px; color: var(--ta-muted); }
.sticky, .bypostauthor { outline: none; }
.onsale { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: var(--ta-ink); color: var(--ta-green); font: 700 12px var(--ta-mono); text-transform: uppercase; }
.star-rating { overflow: hidden; position: relative; height: 1em; line-height: 1; width: 5.4em; font-size: 1em; }
.star-rating::before { content: "★★★★★"; color: #D3DCE2; position: absolute; left: 0; top: 0; letter-spacing: .1em; }
.star-rating span { overflow: hidden; position: absolute; left: 0; top: 0; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; color: var(--ta-green); position: absolute; left: 0; top: 0; letter-spacing: .1em; }
#reviews .commentlist { list-style: none; padding: 0; }
