/*
 * ThemePort – main stylesheet
 *
 * 1. Tokens & base
 * 2. Layout helpers & buttons
 * 3. Header & navigation
 * 4. Hero
 * 5. Home sections
 * 6. Product cards & grids
 * 7. Catalog
 * 8. Single product
 * 9. Blog, pages, comments
 * 10. Footer, drawer, toasts, lightbox
 * 11. Live demo
 * 12. Plugin output (account, notices)
 * 13. Responsive & motion
 */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
	--tp-primary: #5b47f5;
	--tp-primary-600: #4e3cd3;
	--tp-primary-300: #8f81f8;
	--tp-primary-50: #f3f1fe;
	--tp-accent: #ff7a45;
	--tp-accent-600: #e06a3c;
	--tp-dark: #15123f;
	--tp-dark-700: #3b385f;
	--tp-ink: #16142f;
	--tp-text: #3d3b55;
	--tp-muted: #6e6c86;
	--tp-line: #e9e8f2;
	--tp-soft: #f7f7fc;
	--tp-white: #fff;
	--tp-star: #f6a723;
	--tp-success: #12a46c;
	--tp-danger: #d63b4f;
	--tp-radius-sm: 8px;
	--tp-radius: 12px;
	--tp-radius-lg: 18px;
	--tp-radius-xl: 24px;
	--tp-shadow-sm: 0 1px 2px rgba(22, 20, 47, 0.05);
	--tp-shadow: 0 2px 6px rgba(22, 20, 47, 0.04), 0 10px 30px rgba(22, 20, 47, 0.07);
	--tp-shadow-lg: 0 20px 50px rgba(22, 20, 47, 0.16);
	--tp-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--tp-font-heading: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--tp-font-script: "Caveat", "Segoe Script", "Bradley Hand", cursive;
	--tp-container: 1200px;
	--tp-gutter: 24px;
	--tp-header-h: 76px;
	--tp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tp-system-fonts {
	--tp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--tp-font-heading: var(--tp-font);
	--tp-font-script: "Segoe Script", "Bradley Hand", cursive;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--tp-header-h) + 16px);
}

body {
	margin: 0;
	background: var(--tp-white);
	color: var(--tp-text);
	font-family: var(--tp-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--tp-primary);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--tp-primary-600);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	color: var(--tp-ink);
	font-family: var(--tp-font-heading);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--tp-primary);
	outline-offset: 2px;
}

[hidden] {
	display: none !important;
}

::selection {
	background: var(--tp-primary);
	color: #fff;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	border-radius: var(--tp-radius-sm);
	background: #fff;
	color: var(--tp-ink);
	font-weight: 700;
	box-shadow: var(--tp-shadow-lg);
}

.tp-icon {
	flex-shrink: 0;
	vertical-align: middle;
}

.tp-muted {
	color: var(--tp-muted);
}

/* WordPress core alignment & captions */
.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption,
.wp-block-image figcaption,
.wp-caption-text {
	color: var(--tp-muted);
	font-size: 14px;
	text-align: center;
}

.sticky,
.bypostauthor,
.gallery-caption {
	/* Required WordPress classes. */
	display: revert;
}

/* 2. Layout helpers & buttons --------------------------------------------- */
.tp-container {
	width: 100%;
	max-width: calc(var(--tp-container) + var(--tp-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--tp-gutter);
}

.tp-container--narrow {
	max-width: calc(820px + var(--tp-gutter) * 2);
}

.tp-section {
	padding: 56px 0;
}

.tp-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 24px;
}

.tp-eyebrow {
	display: inline-block;
	margin: 0 0 8px;
	color: var(--tp-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.tp-eyebrow--light {
	color: rgba(255, 255, 255, 0.82);
}

.tp-section-title {
	margin: 0;
	font-size: clamp(24px, 2.6vw, 32px);
}

.tp-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
}

.tp-link-arrow .tp-icon {
	transition: transform 0.2s var(--tp-ease);
}

.tp-link-arrow:hover .tp-icon {
	transform: translateX(3px);
}

.tp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	background: none;
	font-family: var(--tp-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.15s var(--tp-ease), box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tp-btn:hover {
	transform: translateY(-1px);
}

.tp-btn:active {
	transform: translateY(0);
}

.tp-btn:disabled,
.tp-btn[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.tp-btn--primary {
	background: var(--tp-primary);
	color: #fff;
	box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--tp-primary) 60%, transparent);
}

.tp-btn--primary:hover,
.tp-btn--primary:focus-visible {
	background: var(--tp-primary-600);
	color: #fff;
}

.tp-btn--accent {
	background: linear-gradient(135deg, #ff9a5a, var(--tp-accent) 55%, #ff5f6d);
	color: #fff;
	box-shadow: 0 10px 24px -8px rgba(255, 122, 69, 0.7);
}

.tp-btn--accent:hover,
.tp-btn--accent:focus-visible {
	color: #fff;
	filter: saturate(1.1) brightness(1.03);
}

.tp-btn--outline-light {
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

.tp-btn--outline-light:hover,
.tp-btn--outline-light:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff;
}

.tp-btn--ghost {
	border-color: var(--tp-line);
	background: #fff;
	color: var(--tp-ink);
}

.tp-btn--ghost:hover,
.tp-btn--ghost:focus-visible {
	border-color: var(--tp-primary-300);
	color: var(--tp-primary);
}

.tp-btn--soft {
	background: var(--tp-primary-50);
	color: var(--tp-primary);
}

.tp-btn--soft:hover {
	background: color-mix(in srgb, var(--tp-primary) 14%, #fff);
	color: var(--tp-primary-600);
}

.tp-btn--white {
	background: #fff;
	color: var(--tp-ink);
	box-shadow: var(--tp-shadow-sm);
}

.tp-btn--white:hover {
	color: var(--tp-primary);
}

.tp-btn--lg {
	min-height: 52px;
	padding: 12px 24px;
	font-size: 16px;
}

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

.tp-btn--xs {
	min-height: 32px;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 13px;
}

.tp-btn--block {
	display: flex;
	width: 100%;
}

.tp-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--tp-primary-50);
	color: var(--tp-primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.tp-badge--sale {
	background: linear-gradient(135deg, #ff8a4c, #ff4f6d);
	color: #fff;
}

.tp-badge--verified {
	background: #e6f7ef;
	color: #0b7f52;
}

.tp-pill {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--tp-primary-50);
	color: var(--tp-primary);
	font-size: 12px;
	font-weight: 700;
}

.tp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.tp-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border: 1px solid var(--tp-line);
	border-radius: 999px;
	background: #fff;
	color: var(--tp-text);
	font-size: 13px;
	font-weight: 500;
}

.tp-chip .tp-icon {
	color: var(--tp-success);
}

.tp-chip--link:hover {
	border-color: var(--tp-primary-300);
	color: var(--tp-primary);
}

.tp-stars {
	position: relative;
	display: inline-flex;
	vertical-align: middle;
	line-height: 0;
}

.tp-stars__base,
.tp-stars__fill {
	display: inline-flex;
	gap: 1px;
	white-space: nowrap;
}

.tp-stars__base {
	color: #dcdbe6;
}

.tp-stars__fill {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	color: var(--tp-star);
}

.tp-stars .tp-icon {
	stroke-width: 0;
}

.tp-avatar {
	display: inline-block;
	flex-shrink: 0;
	border-radius: 50%;
	object-fit: cover;
}

.tp-avatar--initial {
	display: inline-grid;
	place-items: center;
	background: hsl(var(--tp-avatar-hue, 250) 70% 92%);
	color: hsl(var(--tp-avatar-hue, 250) 55% 35%);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.tp-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 56px 24px;
	border: 1px dashed var(--tp-line);
	border-radius: var(--tp-radius-lg);
	background: var(--tp-soft);
	color: var(--tp-muted);
	text-align: center;
}

.tp-empty-state .tp-icon {
	color: var(--tp-primary);
}

.tp-empty-state h2 {
	margin: 0;
	font-size: 20px;
}

.tp-empty-state p {
	margin: 0;
}

/* 3. Header & navigation --------------------------------------------------- */
.tp-header {
	position: relative;
	z-index: 100;
	background: var(--tp-dark);
	color: #fff;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.tp-sticky-header .tp-header {
	position: sticky;
	top: 0;
}

.admin-bar.tp-sticky-header .tp-header {
	top: 32px;
}

.tp-header--overlay {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	background: transparent;
}

.admin-bar .tp-header--overlay {
	top: 32px;
}

.tp-sticky-header .tp-header--overlay {
	position: fixed;
	left: 0;
	right: 0;
}

.tp-header.is-scrolled {
	background: color-mix(in srgb, var(--tp-dark) 94%, transparent);
	box-shadow: 0 10px 30px rgba(10, 8, 40, 0.25);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.tp-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: var(--tp-header-h);
}

.tp-header__brand {
	flex-shrink: 0;
}

.tp-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none;
}

.tp-logo:hover {
	color: inherit;
}

.tp-logo__image {
	width: auto;
	max-height: 44px;
}

.tp-logo__mark {
	display: inline-flex;
	filter: drop-shadow(0 4px 10px rgba(91, 71, 245, 0.45));
}

.tp-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.tp-logo__name {
	margin: 0;
	font-family: var(--tp-font-heading);
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: inherit;
}

.tp-logo__tagline {
	margin-top: 3px;
	font-size: 11px;
	opacity: 0.7;
}

.tp-header__search {
	flex: 1 1 280px;
	max-width: 300px;
}

.tp-search {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.tp-search__input {
	width: 100%;
	height: 42px;
	padding: 0 46px 0 18px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	background: #fff;
	color: var(--tp-ink);
	font-size: 14px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	-webkit-appearance: none;
	appearance: none;
}

.tp-search__input::placeholder {
	color: #8f8da6;
}

.tp-search__input:focus {
	outline: none;
	border-color: var(--tp-primary-300);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tp-primary) 25%, transparent);
}

.tp-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.tp-search__submit {
	position: absolute;
	top: 50%;
	right: 6px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--tp-muted);
	transform: translateY(-50%);
}

.tp-search__submit:hover {
	color: var(--tp-primary);
}

.tp-search--light .tp-search__input {
	border-color: var(--tp-line);
	box-shadow: none;
}

.tp-header__panel {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
}

.tp-header__panel-search {
	display: none;
}

.tp-nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.tp-nav .menu-item {
	position: relative;
	display: flex;
	align-items: center;
}

.tp-nav .menu > .menu-item > a {
	display: block;
	padding: 10px 10px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	font-weight: 500;
}

.tp-nav .menu > .menu-item > a:hover,
.tp-nav .menu > .current-menu-item > a,
.tp-nav .menu > .current-menu-ancestor > a {
	color: #fff;
}

.tp-nav .menu-item-has-children > a {
	padding-right: 2px !important;
}

.sub-menu-toggle {
	display: grid;
	place-items: center;
	width: 22px;
	height: 28px;
	padding: 0;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, 0.8);
}

.sub-menu-toggle .tp-icon {
	transition: transform 0.2s ease;
}

.sub-menu-toggle[aria-expanded="true"] .tp-icon {
	transform: rotate(180deg);
}

.tp-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: -8px;
	z-index: 20;
	min-width: 220px;
	padding: 8px;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	background: #fff;
	list-style: none;
	box-shadow: var(--tp-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s var(--tp-ease), visibility 0.18s;
}

.tp-nav .sub-menu::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 0;
	right: 0;
	height: 12px;
}

.tp-nav .menu-item-has-children:hover > .sub-menu,
.tp-nav .menu-item-has-children:focus-within > .sub-menu,
.tp-nav .sub-menu-toggle[aria-expanded="true"] + .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tp-nav .sub-menu a {
	display: block;
	width: 100%;
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--tp-text);
	font-size: 14px;
	font-weight: 500;
}

.tp-nav .sub-menu a:hover,
.tp-nav .sub-menu .current-menu-item > a {
	background: var(--tp-primary-50);
	color: var(--tp-primary);
}

.tp-header__account {
	display: flex;
	align-items: center;
	gap: 16px;
}

.tp-header__login {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
}

.tp-header__login:hover {
	color: #fff;
	opacity: 0.85;
}

.tp-header__account .tp-btn--primary {
	border-color: rgba(255, 255, 255, 0.25);
	box-shadow: 0 6px 18px -4px color-mix(in srgb, var(--tp-primary) 80%, transparent);
}

.tp-header__actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.tp-header__cart,
.tp-header__toggle {
	position: relative;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #fff;
}

.tp-header__cart:hover,
.tp-header__toggle:hover {
	background: rgba(255, 255, 255, 0.08);
}

.tp-header__cart-count {
	position: absolute;
	top: 3px;
	right: 2px;
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border: 2px solid var(--tp-dark);
	border-radius: 999px;
	background: var(--tp-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

.tp-header__toggle {
	display: none;
}

.tp-header__toggle-close {
	display: none;
}

.tp-header__toggle[aria-expanded="true"] .tp-header__toggle-open {
	display: none;
}

.tp-header__toggle[aria-expanded="true"] .tp-header__toggle-close {
	display: inline-flex;
}

/* Desktop: brand | search | nav + account | cart */
@media (min-width: 1101px) {
	.tp-header__inner {
		display: grid;
		grid-template-columns: auto minmax(200px, 300px) 1fr auto;
		grid-template-areas: "brand search nav actions";
	}

	.tp-header__brand {
		grid-area: brand;
	}

	.tp-header__search {
		grid-area: search;
		max-width: none;
	}

	.tp-header__panel {
		grid-area: nav;
		justify-self: end;
		gap: 22px;
	}

	.tp-header__actions {
		grid-area: actions;
	}
}

/* Front page: header sits over the hero */
.tp-has-overlay-header .tp-main {
	position: relative;
}

/* 4. Hero ----------------------------------------------------------------- */
.tp-hero {
	position: relative;
	padding: calc(var(--tp-header-h) + 48px) 0 96px;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(700px 420px at 78% 38%, rgba(124, 94, 255, 0.55), transparent 65%),
		radial-gradient(480px 340px at 102% 70%, rgba(255, 102, 196, 0.22), transparent 70%),
		radial-gradient(500px 400px at 0% 100%, rgba(80, 60, 220, 0.35), transparent 70%),
		linear-gradient(180deg, var(--tp-dark) 0%, color-mix(in srgb, var(--tp-dark) 70%, #2a1f8a) 100%);
	isolation: isolate;
}

body:not(.tp-has-overlay-header) .tp-hero {
	padding-top: 48px;
}

.tp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.tp-hero__glow {
	position: absolute;
	right: 8%;
	top: 22%;
	z-index: -1;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(140, 110, 255, 0.5), transparent 70%);
	filter: blur(30px);
}

.tp-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	gap: 40px;
}

.tp-hero__title {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(36px, 4.6vw, 58px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.tp-hero__text {
	max-width: 520px;
	margin: 0 0 30px;
	color: rgba(255, 255, 255, 0.84);
	font-size: 18px;
	line-height: 1.6;
}

.tp-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 40px;
}

.tp-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 36px;
	list-style: none;
}

.tp-hero__stat {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tp-hero__stat-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1.5px solid rgba(160, 145, 255, 0.55);
	border-radius: 11px;
	color: #b6abff;
}

.tp-hero__stat-icon .tp-icon {
	width: 24px;
	height: 24px;
}

.tp-hero__stat-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.tp-hero__stat-text strong {
	color: #fff;
	font-family: var(--tp-font-heading);
	font-size: 18px;
	font-weight: 800;
}

.tp-hero__stat-text span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
}

.tp-hero__visual {
	position: relative;
	min-height: 380px;
}

.tp-hero__image {
	width: 100%;
	border-radius: var(--tp-radius-lg);
	box-shadow: var(--tp-shadow-lg);
}

.tp-hero__curve {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 60px;
	color: #fff;
}

/* Hero mockup collage */
.tp-mock {
	position: relative;
	width: 100%;
	max-width: 560px;
	height: 400px;
	margin-left: auto;
	font-family: var(--tp-font);
	perspective: 1400px;
}

.tp-mock__browser {
	position: absolute;
	top: 22px;
	left: 12%;
	width: 70%;
	height: 300px;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 40px 80px -20px rgba(10, 6, 50, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.4);
	transform: rotateY(-14deg) rotateX(6deg) rotateZ(2deg);
	transform-origin: center;
	animation: tp-float 7s ease-in-out infinite;
}

.tp-mock__bar {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 38px;
	padding: 0 14px;
	border-bottom: 1px solid #f0eff7;
	color: var(--tp-ink);
	font-size: 11px;
	font-weight: 700;
}

.tp-mock__brand {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tp-mock__brand i {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, #7b6bff, #4b37e6);
}

.tp-mock__links {
	display: flex;
	gap: 10px;
	margin-left: auto;
}

.tp-mock__links i {
	width: 22px;
	height: 5px;
	border-radius: 4px;
	background: #e7e5f3;
}

.tp-mock__cta {
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--tp-primary);
	color: #fff;
	font-size: 9px;
}

.tp-mock__screen {
	position: relative;
	height: calc(100% - 38px);
	padding: 26px 26px 0;
	overflow: hidden;
	background: linear-gradient(180deg, #fff 0%, #f6f4ff 100%);
}

.tp-mock__headline {
	max-width: 70%;
	margin: 0 0 8px;
	color: var(--tp-ink);
	font-family: var(--tp-font-heading);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.tp-mock__sub {
	max-width: 65%;
	margin: 0 0 14px;
	color: var(--tp-muted);
	font-size: 10px;
	line-height: 1.4;
}

.tp-mock__button {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--tp-primary);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
}

.tp-mock__wave {
	position: absolute;
	right: -40px;
	bottom: -70px;
	width: 120%;
	height: 200px;
	border-radius: 50% 40% 0 0;
	background: conic-gradient(from 210deg at 60% 60%, #2b1bb0, #7a4dff, #ff6ad5, #6f8bff, #2b1bb0);
	filter: blur(2px);
	transform: rotate(-8deg);
	opacity: 0.95;
}

.tp-mock__wave--2 {
	right: -80px;
	bottom: -110px;
	background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.55), transparent 40%), linear-gradient(120deg, #5b3dff, #b04dff 60%, #ff7bc1);
	opacity: 0.7;
	transform: rotate(-18deg);
}

.tp-mock__card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #fff;
	color: var(--tp-ink);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	box-shadow: 0 24px 50px -16px rgba(10, 6, 50, 0.55);
}

.tp-mock__card--dark {
	top: 96px;
	left: 0;
	flex-direction: column;
	align-items: flex-start;
	width: 112px;
	padding: 16px;
	background: linear-gradient(160deg, #1f1b4d, #0f0c2e);
	color: #fff;
	animation: tp-float 6s ease-in-out infinite reverse;
}

.tp-mock__card--dark strong {
	font-family: var(--tp-font-heading);
	font-size: 13px;
	line-height: 1.25;
}

.tp-mock__wp {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 2px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
}

.tp-mock__card--trust {
	top: 0;
	right: 0;
	max-width: 168px;
	font-size: 11px;
	animation: tp-float 8s ease-in-out infinite;
}

.tp-mock__shield {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(135deg, #7b6bff, #4b37e6);
	color: #fff;
}

.tp-mock__card--income {
	top: 132px;
	right: 2%;
	flex-direction: column;
	align-items: flex-start;
	width: 120px;
	font-size: 11px;
	animation: tp-float 7.5s ease-in-out infinite reverse;
}

.tp-mock__chart {
	display: inline-flex;
	align-items: flex-end;
	gap: 3px;
	height: 26px;
	padding: 6px;
	border-radius: 8px;
	background: var(--tp-primary-50);
}

.tp-mock__chart i {
	width: 5px;
	border-radius: 2px;
	background: var(--tp-primary);
}

.tp-mock__chart i:nth-child(1) {
	height: 40%;
}

.tp-mock__chart i:nth-child(2) {
	height: 70%;
}

.tp-mock__chart i:nth-child(3) {
	height: 100%;
}

.tp-mock__card--person {
	bottom: 18px;
	left: 4%;
	padding: 10px 14px 10px 10px;
	font-size: 11px;
	font-weight: 500;
	color: var(--tp-muted);
	animation: tp-float 6.5s ease-in-out infinite;
}

.tp-mock__avatar svg {
	display: block;
	width: 52px;
	height: 52px;
	border-radius: 10px;
}

.tp-mock__go {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--tp-primary);
	color: #fff;
}

.tp-mock__note {
	position: absolute;
	right: -6px;
	bottom: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: rgba(255, 255, 255, 0.9);
	font-family: var(--tp-font-script);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.05;
	text-align: center;
	transform: rotate(-10deg);
	max-width: 120px;
}

.tp-mock__arrow {
	margin-bottom: 4px;
	transform: scaleX(-1) rotate(10deg);
}

@keyframes tp-float {
	0%,
	100% {
		translate: 0 0;
	}

	50% {
		translate: 0 -8px;
	}
}

/* 5. Home sections ----------------------------------------------------------- */
.tp-section--categories {
	padding-top: 40px;
}

.tp-cat-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
	list-style: none;
}

.tp-cat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	height: 100%;
	padding: 24px 12px 20px;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	background: #fff;
	color: var(--tp-ink);
	text-align: center;
	transition: transform 0.2s var(--tp-ease), box-shadow 0.2s ease, border-color 0.2s ease;
}

.tp-cat-card:hover {
	border-color: color-mix(in srgb, var(--tp-cat) 35%, #fff);
	color: var(--tp-ink);
	box-shadow: 0 16px 34px -14px color-mix(in srgb, var(--tp-cat) 45%, transparent);
	transform: translateY(-4px);
}

.tp-cat-card__icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin-bottom: 8px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--tp-cat) 12%, #fff);
	color: var(--tp-cat);
}

.tp-cat-card__name {
	font-family: var(--tp-font-heading);
	font-size: 15px;
	font-weight: 700;
}

.tp-cat-card__count {
	color: var(--tp-muted);
	font-size: 13px;
}

.tp-section--featured {
	padding-top: 16px;
}

.tp-section--featured .tp-section-title {
	font-family: var(--tp-font);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
}

/* Benefits */
.tp-benefits {
	background: linear-gradient(180deg, var(--tp-soft), #fff);
}

.tp-benefits__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: 48px;
}

.tp-benefits__text {
	margin: 14px 0 26px;
	color: var(--tp-muted);
	font-size: 17px;
}

.tp-benefits__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	list-style: none;
}

.tp-benefit {
	padding: 24px;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	background: #fff;
	box-shadow: var(--tp-shadow-sm);
	transition: transform 0.2s var(--tp-ease), box-shadow 0.2s ease;
}

.tp-benefit:hover {
	box-shadow: var(--tp-shadow);
	transform: translateY(-3px);
}

.tp-benefit__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--tp-primary);
	color: #fff;
	box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--tp-primary) 70%, transparent);
}

.tp-benefit__title {
	margin: 0 0 6px;
	font-size: 17px;
}

.tp-benefit__text {
	margin: 0;
	color: var(--tp-muted);
	font-size: 14px;
}

/* Creators */
.tp-creators {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #f6f5ff, #fbfbff);
}

.tp-creators__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 40px;
}

.tp-creators__text {
	max-width: 520px;
	margin: 14px 0 22px;
	color: var(--tp-muted);
	font-size: 16px;
}

.tp-feature-row {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 26px;
	margin-bottom: 30px;
	list-style: none;
}

.tp-feature-row li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tp-feature-row__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tp-primary);
	color: #fff;
}

.tp-feature-row strong {
	display: block;
	color: var(--tp-ink);
	font-size: 13px;
}

.tp-feature-row small {
	display: block;
	color: var(--tp-muted);
	font-size: 11px;
}

.tp-creators__visual {
	position: relative;
	min-height: 320px;
}

.tp-creators__photo {
	position: relative;
	width: 62%;
	min-height: 300px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 160px 160px 24px 24px;
	background: radial-gradient(circle at 50% 30%, #c9c0ff, #7a68ff 60%, #4a35d8);
}

.tp-creators__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tp-creators__scribble {
	position: absolute;
	top: 20px;
	left: 0;
	max-width: 110px;
	color: var(--tp-ink);
	font-family: var(--tp-font-script);
	font-size: 22px;
	line-height: 1.1;
	transform: rotate(-10deg);
}

.tp-creators__earning {
	position: absolute;
	top: 10px;
	right: 4%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--tp-shadow);
}

.tp-creators__earning strong {
	display: block;
	color: var(--tp-ink);
	font-size: 15px;
}

.tp-creators__earning small {
	color: var(--tp-muted);
	font-size: 11px;
}

.tp-creators__quote {
	position: absolute;
	right: 0;
	bottom: 10px;
	max-width: 200px;
	margin: 0;
	color: var(--tp-text);
	font-size: 13px;
}

.tp-creators__quote p {
	margin-bottom: 8px;
}

.tp-creators__quote footer strong {
	display: block;
	color: var(--tp-ink);
}

.tp-creators__quote footer span {
	color: var(--tp-muted);
	font-size: 12px;
}

/* Deal banner */
.tp-section--deal {
	padding: 24px 0;
}

.tp-deal {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 24px;
	min-height: 230px;
	overflow: hidden;
	padding: 40px 48px;
	border-radius: var(--tp-radius-xl);
	color: #fff;
	background:
		radial-gradient(500px 260px at 82% 40%, rgba(124, 94, 255, 0.55), transparent 70%),
		radial-gradient(400px 200px at 100% 100%, rgba(255, 102, 196, 0.25), transparent 70%),
		linear-gradient(120deg, var(--tp-dark) 0%, color-mix(in srgb, var(--tp-dark) 75%, #2a1f8a) 100%);
	box-shadow: 0 30px 60px -30px rgba(21, 18, 63, 0.7);
	isolation: isolate;
}

.tp-deal::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 22px 22px;
}

.tp-deal__title {
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(24px, 2.6vw, 32px);
}

.tp-deal__text {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.78);
}

.tp-deal__visual {
	position: relative;
	height: 200px;
}

.tp-deal__shot {
	position: absolute;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.55);
}

.tp-deal__shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tp-deal__shot--1 {
	top: 30px;
	left: 4%;
	width: 42%;
	height: 150px;
	transform: rotate(-8deg);
}

.tp-deal__shot--2 {
	top: 6px;
	left: 30%;
	width: 42%;
	height: 160px;
	z-index: 2;
	transform: rotate(-3deg);
}

.tp-deal__shot--3 {
	top: 0;
	right: 0;
	width: 34%;
	height: 150px;
	transform: rotate(6deg);
}

.tp-deal__shot--mock {
	padding: 14px;
	color: var(--tp-ink);
	font-family: var(--tp-font-heading);
	font-size: 14px;
}

.tp-deal__shot--mock i {
	display: block;
	height: 8px;
	margin-top: 10px;
	border-radius: 4px;
	background: #ebe9f6;
}

.tp-deal__shot--mock i + i {
	width: 60%;
}

.tp-deal__shot--glow {
	background: radial-gradient(circle at 50% 55%, #ff7bd3 0%, #7b4dff 35%, #1c1650 70%);
}

.tp-deal__badge {
	position: absolute;
	right: 4%;
	bottom: -6px;
	z-index: 3;
	display: grid;
	place-items: center;
	align-content: center;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	background: linear-gradient(140deg, #ff8a5a, #ff4f8d 55%, #b14dff);
	color: #fff;
	font-family: var(--tp-font-heading);
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	box-shadow: 0 16px 36px -10px rgba(255, 79, 141, 0.75), inset 0 0 0 6px rgba(255, 255, 255, 0.15);
	transform: rotate(-12deg);
}

.tp-deal__badge small {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.tp-deal__badge strong {
	font-size: 34px;
	font-weight: 800;
}

/* Community */
.tp-community {
	padding: 48px 0;
}

.tp-community__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px;
}

.tp-community__text {
	margin: 8px 0 0;
	color: var(--tp-muted);
}

.tp-community__stats {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
}

.tp-community__stat {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 4px 28px;
	border-left: 1px solid var(--tp-line);
}

.tp-community__stat:first-child {
	border-left: 0;
}

.tp-community__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--tp-primary-50);
	color: var(--tp-primary);
}

.tp-community__stat--users .tp-icon,
.tp-community__stat--globe .tp-icon {
	fill: none;
}

.tp-community__stat--star .tp-community__icon {
	background: #fff4dc;
	color: var(--tp-star);
}

.tp-community__stat--star .tp-icon {
	stroke-width: 0;
}

.tp-community__stat--globe .tp-community__icon {
	background: #eaf0ff;
	color: #3f6bff;
}

.tp-community__stat strong {
	display: block;
	color: var(--tp-ink);
	font-family: var(--tp-font-heading);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
}

.tp-community__stat small {
	color: var(--tp-muted);
	font-size: 13px;
}

/* 6. Product cards & grids --------------------------------------------------- */
.tp-product-grid {
	display: grid;
	gap: 20px;
}

.tp-product-grid--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.tp-product-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tp-product-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	background: #fff;
	box-shadow: var(--tp-shadow-sm);
	transition: transform 0.22s var(--tp-ease), box-shadow 0.22s ease, border-color 0.22s ease;
}

.tp-card:hover,
.tp-card:focus-within {
	border-color: color-mix(in srgb, var(--tp-primary) 20%, var(--tp-line));
	box-shadow: var(--tp-shadow);
	transform: translateY(-4px);
}

.tp-card__media {
	position: relative;
	overflow: hidden;
	background: var(--tp-soft);
	aspect-ratio: 3 / 2;
}

.tp-card__image {
	display: block;
	height: 100%;
}

.tp-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--tp-ease);
}

.tp-card:hover .tp-card__image img {
	transform: scale(1.04);
}

.tp-card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	padding: 16px;
	background: linear-gradient(135deg, var(--tp-dark), color-mix(in srgb, var(--tp-primary) 70%, var(--tp-dark)));
	color: #fff;
	font-family: var(--tp-font-heading);
	font-weight: 800;
	text-align: center;
}

.tp-card .tp-badge--sale {
	position: absolute;
	top: 10px;
	left: 10px;
}

.tp-card__quick {
	position: absolute;
	top: 10px;
	right: 10px;
}

.tp-card__overlay {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 28px 10px 12px;
	background: linear-gradient(180deg, transparent, rgba(15, 12, 46, 0.7));
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.25s var(--tp-ease);
}

.tp-card:hover .tp-card__overlay,
.tp-card:focus-within .tp-card__overlay {
	opacity: 1;
	transform: translateY(0);
}

.tp-collect {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: var(--tp-ink);
	box-shadow: 0 4px 12px rgba(15, 12, 46, 0.18);
	transition: transform 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.tp-collect:hover {
	color: var(--tp-primary);
	transform: scale(1.06);
}

.tp-collect--wishlist.is-active {
	color: #ff4f6d;
}

.tp-collect--wishlist.is-active .tp-icon {
	fill: currentColor;
}

.tp-collect--cart.is-active {
	background: var(--tp-primary);
	color: #fff;
}

.tp-collect--button {
	display: inline-flex;
	white-space: nowrap;
	gap: 8px;
	width: auto;
	height: 44px;
	padding: 0 14px;
	border: 1.5px solid var(--tp-line);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	font-size: 14px;
	font-weight: 600;
}

.tp-collect--button:hover {
	border-color: var(--tp-primary-300);
	transform: none;
}

.tp-collect--button.is-active {
	border-color: currentColor;
}

.tp-collect--cart.tp-collect--button.is-active {
	border-color: var(--tp-primary);
}

.tp-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 14px 14px 12px;
}

.tp-card__title {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-family: var(--tp-font-heading);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	min-height: 2.7em;
}

.tp-card__title a {
	color: var(--tp-ink);
}

.tp-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
}

.tp-card__title a:hover {
	color: var(--tp-primary);
}

.tp-card__quick,
.tp-card__overlay,
.tp-card .tp-badge {
	z-index: 2;
}

.tp-card__stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 8px;
	color: var(--tp-muted);
	font-size: 12px;
}

.tp-card__rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tp-card__rating-value {
	color: var(--tp-text);
	font-weight: 600;
}

.tp-card__new {
	color: #0b7f52;
	font-weight: 600;
}

.tp-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--tp-line);
}

.tp-card__author {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	color: var(--tp-muted);
	font-size: 12.5px;
}

.tp-card__author span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tp-price {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	white-space: nowrap;
}

.tp-price__now {
	color: var(--tp-ink);
	font-family: var(--tp-font-heading);
	font-weight: 800;
	text-decoration: none;
}

.tp-price__old {
	color: var(--tp-muted);
	font-size: 0.85em;
}

.tp-card__price .tp-price__now {
	font-size: 17px;
}

/* 7. Catalog ------------------------------------------------------------------ */
.tp-page-header {
	position: relative;
	padding: 40px 0 44px;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(600px 300px at 85% 0%, rgba(124, 94, 255, 0.45), transparent 70%),
		linear-gradient(180deg, var(--tp-dark), color-mix(in srgb, var(--tp-dark) 80%, #2a1f8a));
}

.tp-page-header__title {
	max-width: 860px;
	margin: 6px 0 8px;
	color: #fff;
	font-size: clamp(28px, 3.4vw, 42px);
	text-wrap: balance;
}

.tp-page-header__text {
	max-width: 680px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 17px;
}

.tp-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	font-size: 13px;
}

.tp-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.6);
}

.tp-breadcrumbs li + li::before {
	content: "/";
	opacity: 0.5;
}

.tp-breadcrumbs a {
	color: rgba(255, 255, 255, 0.82);
}

.tp-breadcrumbs a:hover {
	color: #fff;
}

.tp-breadcrumbs [aria-current] {
	max-width: 280px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Yoast SEO / All in One SEO breadcrumbs inside the page header. */
.tp-breadcrumbs--seo {
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.tp-breadcrumbs--seo .aioseo-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tp-breadcrumbs--seo .aioseo-breadcrumb-separator {
	opacity: 0.5;
}

.tp-breadcrumbs--seo .breadcrumb_last,
.tp-breadcrumbs--seo .aioseo-breadcrumb:last-child {
	color: rgba(255, 255, 255, 0.9);
}

.tp-shop {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 32px;
	padding-top: 32px;
	padding-bottom: 64px;
}

.tp-filters {
	position: sticky;
	top: calc(var(--tp-header-h) + 20px);
	padding: 20px;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	background: #fff;
}

.tp-filters__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
	color: var(--tp-ink);
	font-family: var(--tp-font-heading);
	font-weight: 800;
	list-style: none;
	cursor: pointer;
}

.tp-filters__toggle::-webkit-details-marker {
	display: none;
}

.tp-filters__group {
	margin: 0;
	padding: 16px 0;
	border: 0;
	border-bottom: 1px solid var(--tp-line);
}

.tp-filters__group:last-of-type {
	border-bottom: 0;
}

.tp-filters__title {
	margin: 0 0 10px;
	padding: 0;
	color: var(--tp-ink);
	font-family: var(--tp-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tp-filters__cats {
	display: flex;
	flex-direction: column;
	gap: 2px;
	list-style: none;
}

.tp-filters__cats a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 7px 10px;
	border-radius: 8px;
	color: var(--tp-text);
	font-size: 14px;
}

.tp-filters__cats a:hover,
.tp-filters__cats a.is-active {
	background: var(--tp-primary-50);
	color: var(--tp-primary);
}

.tp-filters__count {
	color: var(--tp-muted);
	font-size: 12px;
}

.tp-radio,
.tp-check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	font-size: 14px;
	cursor: pointer;
}

.tp-radio input,
.tp-check input {
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: var(--tp-primary);
}

.tp-filters__price {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tp-filters__price input {
	width: 100%;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--tp-line);
	border-radius: 8px;
}

.tp-filters__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding-top: 16px;
}

.tp-filters__reset {
	color: var(--tp-muted);
	font-size: 13px;
}

.tp-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}

.tp-toolbar__count {
	margin: 0;
	color: var(--tp-muted);
	font-weight: 500;
}

.tp-toolbar__sort {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.tp-toolbar__sort select,
.tp-form select {
	height: 40px;
	padding: 0 36px 0 12px;
	border: 1px solid var(--tp-line);
	border-radius: 10px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6c86' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat;
	-webkit-appearance: none;
	appearance: none;
}

.tp-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 40px;
	list-style: none;
}

.tp-pagination__link {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--tp-line);
	border-radius: 10px;
	background: #fff;
	color: var(--tp-text);
	font-weight: 600;
}

.tp-pagination__link:hover,
.tp-pagination__link.current {
	border-color: var(--tp-primary);
	background: var(--tp-primary);
	color: #fff;
}

.tp-pagination__link.dots {
	border-color: transparent;
	background: none;
}

/* 8. Single product ----------------------------------------------------------- */
.tp-page-header--product {
	padding-bottom: 36px;
}

.tp-product-head__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	margin-top: 16px;
	list-style: none;
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
}

.tp-product-head__meta li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.tp-product-head__meta strong {
	color: #fff;
}

.tp-product-head__meta a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.35);
	text-underline-offset: 3px;
}

.tp-product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 36px;
	align-items: start;
	padding-top: 32px;
	padding-bottom: 32px;
}

.tp-gallery__stage {
	position: relative;
}

.tp-gallery__main {
	display: block;
	overflow: hidden;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	background: var(--tp-soft);
	aspect-ratio: 3 / 2;
	cursor: zoom-in;
}

.tp-gallery__main img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tp-gallery__main--empty {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--tp-dark), var(--tp-primary));
	color: #fff;
	font-family: var(--tp-font-heading);
	font-size: 28px;
	font-weight: 800;
	cursor: default;
}

.tp-gallery__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 16px;
}

.tp-gallery__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	padding-bottom: 4px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: thin;
}

.tp-gallery__thumb {
	display: block;
	width: 96px;
	height: 64px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 10px;
	background: var(--tp-soft);
	opacity: 0.7;
	transition: opacity 0.15s ease, border-color 0.15s ease;
}

.tp-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tp-gallery__thumb:hover,
.tp-gallery__thumb.is-active {
	border-color: var(--tp-primary);
	opacity: 1;
}

.tp-product-nav {
	position: sticky;
	top: calc(var(--tp-header-h) - 1px);
	z-index: 5;
	display: flex;
	gap: 4px;
	margin: 32px 0 0;
	padding: 6px;
	overflow-x: auto;
	border: 1px solid var(--tp-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	scrollbar-width: none;
}

.tp-product-nav a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px;
	border-radius: 10px;
	color: var(--tp-text);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.tp-product-nav a:hover,
.tp-product-nav a.is-active {
	background: var(--tp-primary-50);
	color: var(--tp-primary);
}

.tp-product-section {
	padding: 36px 0 8px;
	scroll-margin-top: calc(var(--tp-header-h) + 70px);
}

.tp-product-section + .tp-product-section {
	border-top: 1px solid var(--tp-line);
}

.tp-product-section__title {
	margin-bottom: 18px;
	font-size: 22px;
}

/* Tabs mode: one section visible at a time. */
.tp-product-body.is-tabbed .tp-product-section {
	padding-top: 28px;
	border-top: 0;
}

.tp-product-body.is-tabbed .tp-product-section:focus {
	outline: none;
}

.tp-product-body.is-tabbed .tp-product-section[hidden] {
	display: none;
}

.tp-product-body.is-tabbed .tp-product-nav a[aria-selected="true"] {
	background: var(--tp-primary);
	color: #fff;
}

.tp-product-body.is-tabbed .tp-product-nav a[aria-selected="true"] .tp-pill {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.tp-product-body.is-tabbed .tp-product-nav a:focus-visible {
	outline-offset: -2px;
}

.tp-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	list-style: none;
}

.tp-features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.tp-features .tp-icon {
	margin-top: 2px;
	color: var(--tp-success);
}

.tp-changelog {
	list-style: none;
}

.tp-changelog__item {
	position: relative;
	padding: 0 0 22px 26px;
	border-left: 2px solid var(--tp-line);
	margin-left: 6px;
}

.tp-changelog__item::before {
	content: "";
	position: absolute;
	top: 4px;
	left: -7px;
	width: 12px;
	height: 12px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #c9c6dc;
	box-shadow: 0 0 0 1px var(--tp-line);
}

.tp-changelog__item.is-latest::before {
	background: var(--tp-primary);
}

.tp-changelog__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.tp-changelog__version {
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--tp-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.tp-changelog__head time {
	color: var(--tp-muted);
	font-size: 13px;
}

.tp-changelog__notes {
	list-style: none;
	font-size: 14.5px;
}

.tp-changelog__notes li {
	position: relative;
	padding: 2px 0 2px 16px;
}

.tp-changelog__notes li::before {
	content: "";
	position: absolute;
	top: 11px;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tp-muted);
}

.tp-changelog__notes .is-new::before,
.tp-changelog__notes .is-added::before {
	background: var(--tp-success);
}

.tp-changelog__notes .is-fixed::before,
.tp-changelog__notes .is-fix::before {
	background: #3f6bff;
}

.tp-changelog__notes .is-improved::before,
.tp-changelog__notes .is-improvement::before,
.tp-changelog__notes .is-changed::before {
	background: var(--tp-primary);
}

.tp-changelog__notes .is-removed::before,
.tp-changelog__notes .is-security::before {
	background: var(--tp-danger);
}

.tp-faq {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tp-faq__item {
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	background: #fff;
}

.tp-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	color: var(--tp-ink);
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.tp-faq__item summary::-webkit-details-marker {
	display: none;
}

.tp-faq__item summary .tp-icon {
	transition: transform 0.2s ease;
}

.tp-faq__item[open] summary .tp-icon {
	transform: rotate(180deg);
}

.tp-faq__answer {
	padding: 0 18px 4px;
	color: var(--tp-text);
}

/* Purchase box */
.tp-product__aside {
	position: sticky;
	top: calc(var(--tp-header-h) + 20px);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tp-buy {
	padding: 24px;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	background: #fff;
	box-shadow: var(--tp-shadow);
	scroll-margin-top: calc(var(--tp-header-h) + 20px);
}

.tp-buy__deal {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: -6px -6px 16px;
	padding: 9px 12px;
	border-radius: 10px;
	background: linear-gradient(135deg, #fff1ea, #ffe7ee);
	color: #c2410c;
	font-size: 13px;
	font-weight: 600;
}

.tp-buy__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	margin-bottom: 18px;
}

.tp-buy__now {
	color: var(--tp-ink);
	font-family: var(--tp-font-heading);
	font-size: 38px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}

.tp-buy__old {
	color: var(--tp-muted);
	font-size: 18px;
}

.tp-buy__suffix {
	color: var(--tp-muted);
	font-size: 14px;
}

.tp-buy__cycles {
	display: flex;
	gap: 4px;
	margin: 0 0 16px;
	padding: 4px;
	border: 0;
	border-radius: 12px;
	background: var(--tp-soft);
}

.tp-seg {
	position: relative;
	flex: 1;
}

.tp-seg input {
	position: absolute;
	opacity: 0;
}

.tp-seg span {
	display: block;
	padding: 8px 10px;
	border-radius: 9px;
	color: var(--tp-muted);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tp-seg input:checked + span {
	background: #fff;
	color: var(--tp-ink);
	box-shadow: var(--tp-shadow-sm), 0 2px 6px rgba(22, 20, 47, 0.08);
}

.tp-seg input:focus-visible + span {
	outline: 2px solid var(--tp-primary);
	outline-offset: 1px;
}

.tp-buy__plans {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}

.tp-buy__legend {
	margin-bottom: 8px;
	padding: 0;
	color: var(--tp-ink);
	font-size: 14px;
	font-weight: 700;
}

.tp-plan {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1.5px solid var(--tp-line);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.tp-plan:hover {
	border-color: var(--tp-primary-300);
}

.tp-plan:has(input:checked) {
	border-color: var(--tp-primary);
	background: var(--tp-primary-50);
}

.tp-plan input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--tp-primary);
}

.tp-plan__label {
	flex: 1;
	color: var(--tp-ink);
	font-weight: 600;
}

.tp-plan__price {
	color: var(--tp-ink);
	font-weight: 700;
}

.tp-plan.is-unavailable {
	opacity: 0.5;
	cursor: not-allowed;
}

.tp-buy__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tp-buy__secondary {
	display: flex;
	gap: 10px;
}

.tp-buy__secondary .tp-collect {
	flex: 1;
}

.tp-buy__trust {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--tp-line);
	list-style: none;
	color: var(--tp-text);
	font-size: 13.5px;
}

.tp-buy__trust li {
	display: flex;
	align-items: center;
	gap: 9px;
}

.tp-buy__trust .tp-icon {
	color: var(--tp-success);
}

.tp-info {
	padding: 22px 24px;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	background: #fff;
}

.tp-info__title {
	margin-bottom: 12px;
	font-size: 17px;
}

.tp-info__subtitle {
	margin: 18px 0 10px;
	font-family: var(--tp-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tp-info__list {
	margin: 0;
}

.tp-info__list div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px dashed var(--tp-line);
	font-size: 14px;
}

.tp-info__list dt {
	color: var(--tp-muted);
}

.tp-info__list dd {
	margin: 0;
	color: var(--tp-ink);
	font-weight: 600;
	text-align: right;
}

.tp-info__reqs,
.tp-info__logins {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.tp-info__reqs li {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.tp-info__reqs .tp-icon {
	flex: none;
	margin-top: 3px;
	color: var(--tp-success);
}

.tp-info__logins li {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	align-items: center;
	padding: 10px 12px;
	border: 1px solid var(--tp-line);
	border-radius: 10px;
}

.tp-info__login-title {
	flex-basis: 100%;
	font-weight: 600;
}

.tp-info__cred {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	min-width: 0;
}

.tp-info__cred-label {
	color: var(--tp-muted);
	font-size: 12px;
}

.tp-info__cred code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--tp-soft);
	font-size: 13px;
	word-break: break-all;
}

.tp-info__copy,
.tp-demo__copy {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 7px;
	background: none;
	color: inherit;
	cursor: pointer;
}

.tp-info__copy:hover {
	background: var(--tp-soft);
}

.tp-info__copy.is-copied,
.tp-demo__copy.is-copied {
	color: var(--tp-success);
}

.tp-info__links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 16px;
}

.tp-info__links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
}

.tp-sticky-buy {
	position: fixed;
	right: 12px;
	bottom: 12px;
	left: 12px;
	z-index: 90;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px 10px 16px;
	border-radius: 16px;
	background: rgba(21, 18, 63, 0.96);
	color: #fff;
	box-shadow: var(--tp-shadow-lg);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.tp-sticky-buy__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 13px;
}

.tp-sticky-buy__info strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tp-sticky-buy .tp-price__now {
	color: #fff;
}

.tp-section--related {
	padding-top: 24px;
	border-top: 1px solid var(--tp-line);
	background: var(--tp-soft);
}

/* Reviews */
.tp-review-summary {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	margin-bottom: 28px;
	padding: 22px;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	background: var(--tp-soft);
}

.tp-review-summary__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}

.tp-review-summary__score strong {
	color: var(--tp-ink);
	font-family: var(--tp-font-heading);
	font-size: 46px;
	font-weight: 800;
	line-height: 1;
}

.tp-review-summary__score span:last-child {
	color: var(--tp-muted);
	font-size: 13px;
}

.tp-review-summary__bars {
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
}

.tp-review-summary__bars li {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) 42px;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}

.tp-review-summary__track {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #e6e4f0;
}

.tp-review-summary__track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--tp-star);
}

.tp-review-summary__pct {
	color: var(--tp-muted);
	text-align: right;
}

.tp-rating-input {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.tp-rating-input__label {
	margin-bottom: 6px;
	padding: 0;
	color: var(--tp-ink);
	font-weight: 600;
}

.tp-rating-input__stars {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 4px;
}

.tp-rating-input__stars input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.tp-rating-input__stars label {
	width: 30px;
	height: 30px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dcdbe6' d='m12 2.8 2.8 5.8 6.4.9-4.6 4.5 1.1 6.3L12 17.3l-5.7 3 1.1-6.3L2.8 9.5l6.4-.9L12 2.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
	cursor: pointer;
	transition: transform 0.1s ease;
}

.tp-rating-input__stars label:hover,
.tp-rating-input__stars label:hover ~ label,
.tp-rating-input__stars input:checked ~ label {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f6a723' d='m12 2.8 2.8 5.8 6.4.9-4.6 4.5 1.1 6.3L12 17.3l-5.7 3 1.1-6.3L2.8 9.5l6.4-.9L12 2.8Z'/%3E%3C/svg%3E");
}

.tp-rating-input__stars label:hover {
	transform: scale(1.1);
}

.tp-rating-input__stars input:focus-visible + label {
	outline: 2px solid var(--tp-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

/* 9. Blog, pages, comments ---------------------------------------------------- */
.tp-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	padding-top: 40px;
	padding-bottom: 64px;
}

.tp-layout--sidebar {
	grid-template-columns: minmax(0, 1fr) 300px;
}

.tp-layout--narrow {
	max-width: calc(820px + var(--tp-gutter) * 2);
}

.tp-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.tp-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	background: #fff;
	transition: transform 0.2s var(--tp-ease), box-shadow 0.2s ease;
}

.tp-post-card:hover {
	box-shadow: var(--tp-shadow);
	transform: translateY(-3px);
}

.tp-post-card__image {
	display: block;
	overflow: hidden;
	background: var(--tp-soft);
	aspect-ratio: 3 / 2;
}

.tp-post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tp-post-card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--tp-primary-300);
}

.tp-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px;
}

.tp-post-card__title {
	margin: 0 0 8px;
	font-size: 19px;
	line-height: 1.3;
}

.tp-post-card__title a {
	color: var(--tp-ink);
}

.tp-post-card__title a:hover {
	color: var(--tp-primary);
}

.tp-post-card__excerpt {
	color: var(--tp-muted);
	font-size: 15px;
}

.tp-post-card .tp-post-meta {
	margin-top: auto;
}

.tp-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: var(--tp-muted);
	font-size: 13px;
}

.tp-page-header .tp-post-meta {
	color: rgba(255, 255, 255, 0.75);
}

.tp-post-meta__avatar {
	border-radius: 50%;
}

.tp-post-meta__author {
	color: inherit;
	font-weight: 600;
}

.tp-article__image {
	margin: 0 0 32px;
	overflow: hidden;
	border-radius: var(--tp-radius-lg);
}

.tp-article__image img {
	display: block;
	width: 100%;
}

.tp-article__footer {
	margin-top: 32px;
}

.tp-prose {
	color: var(--tp-text);
	font-size: 17px;
	line-height: 1.75;
	overflow-wrap: break-word;
}

.tp-prose > * + * {
	margin-top: 1.1em;
}

.tp-prose h2 {
	margin-top: 1.8em;
	font-size: 28px;
}

.tp-prose h3 {
	margin-top: 1.6em;
	font-size: 22px;
}

.tp-prose a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.tp-prose ul,
.tp-prose ol {
	padding-left: 1.4em;
}

.tp-prose li + li {
	margin-top: 0.4em;
}

.tp-prose blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 18px 22px;
	border-left: 4px solid var(--tp-primary);
	border-radius: 0 var(--tp-radius) var(--tp-radius) 0;
	background: var(--tp-primary-50);
	color: var(--tp-ink);
	font-size: 18px;
}

.tp-prose img,
.tp-prose .wp-block-image img {
	border-radius: var(--tp-radius);
}

.tp-prose pre,
.tp-prose code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.88em;
}

.tp-prose :not(pre) > code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--tp-soft);
	color: var(--tp-ink);
}

.tp-prose pre {
	padding: 18px;
	overflow-x: auto;
	border-radius: var(--tp-radius);
	background: var(--tp-dark);
	color: #e5e3ff;
}

.tp-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.tp-prose th,
.tp-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--tp-line);
	text-align: left;
}

.tp-prose hr {
	border: 0;
	border-top: 1px solid var(--tp-line);
}

.tp-prose details,
.tp-prose .wp-block-details {
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tp-prose details + details {
	margin-top: 10px;
}

.tp-prose details[open] {
	border-color: color-mix(in srgb, var(--tp-primary) 25%, var(--tp-line));
	box-shadow: var(--tp-shadow-sm);
}

.tp-prose summary {
	position: relative;
	padding: 16px 48px 16px 18px;
	color: var(--tp-ink);
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.tp-prose summary::-webkit-details-marker {
	display: none;
}

.tp-prose summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	transform: translateY(-50%);
	transition: transform 0.2s ease;
}

.tp-prose details[open] summary::after {
	transform: translateY(-50%) rotate(180deg);
}

.tp-prose details > :not(summary) {
	margin: 0;
	padding: 0 18px 16px;
	color: var(--tp-text);
}

.post-navigation {
	margin-top: 40px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 16px 18px;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	color: var(--tp-ink);
}

.post-navigation a:hover {
	border-color: var(--tp-primary-300);
}

.post-navigation .nav-next {
	text-align: right;
}

.tp-sidebar .widget {
	margin-bottom: 24px;
	padding: 22px;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
}

.tp-sidebar .widget-title {
	font-size: 16px;
}

.tp-sidebar ul {
	list-style: none;
}

.tp-sidebar li {
	padding: 6px 0;
}

.tp-comments {
	margin-top: 32px;
}

.tp-comments--reviews {
	margin-top: 0;
}

.tp-comment-list,
.tp-comment-list .children {
	list-style: none;
}

.tp-comment-list .children {
	margin-left: 48px;
}

.tp-comment {
	display: flex;
	gap: 14px;
	padding: 20px 0;
	border-bottom: 1px solid var(--tp-line);
}

.tp-comment__avatar img {
	border-radius: 50%;
}

.tp-comment__body {
	flex: 1;
	min-width: 0;
}

.tp-comment__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}

.tp-comment__author {
	color: var(--tp-ink);
}

.tp-comment__date {
	color: var(--tp-muted);
	font-size: 13px;
}

.tp-comment__text {
	margin-top: 6px;
}

.tp-comment__text p:last-child {
	margin-bottom: 0;
}

.tp-comment__pending {
	color: var(--tp-accent-600);
	font-size: 13px;
}

.tp-comment__actions {
	display: flex;
	gap: 14px;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
}

.tp-comments__reply-title {
	margin-top: 32px;
	font-size: 20px;
}

.tp-comments__reply-title small {
	margin-left: 8px;
	font-size: 13px;
}

.tp-form p {
	margin-bottom: 16px;
}

.tp-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--tp-ink);
	font-size: 14px;
	font-weight: 600;
}

.tp-form input[type="text"],
.tp-form input[type="email"],
.tp-form input[type="url"],
.tp-form input[type="password"],
.tp-form textarea,
.tp-account input[type="text"],
.tp-account input[type="password"] {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--tp-line);
	border-radius: 10px;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tp-form input:focus,
.tp-form textarea:focus,
.tp-account input:focus {
	outline: none;
	border-color: var(--tp-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tp-primary) 15%, transparent);
}

.tp-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.tp-form .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.tp-page-links {
	display: flex;
	gap: 8px;
	margin-top: 24px;
}

.tp-404 {
	padding: 90px 0;
	text-align: center;
}

.tp-404__inner {
	max-width: 640px;
}

.tp-404__code {
	margin: 0;
	background: linear-gradient(135deg, var(--tp-primary), #ff6ad5);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--tp-font-heading);
	font-size: clamp(90px, 16vw, 160px);
	font-weight: 800;
	line-height: 1;
}

.tp-404__text {
	color: var(--tp-muted);
}

.tp-404__search {
	max-width: 420px;
	margin: 24px auto;
}

.tp-404__search .tp-search__input {
	border-color: var(--tp-line);
}

/* 10. Footer, drawer, toasts, lightbox ---------------------------------------- */
.tp-footer {
	padding: 48px 0 40px;
	border-top: 1px solid var(--tp-line);
	background: #fbfbfe;
	font-size: 14px;
}

.tp-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr repeat(3, minmax(0, 0.8fr)) 1.6fr;
	gap: 32px;
}

.tp-footer .tp-logo {
	color: var(--tp-ink);
}

.tp-footer__copy {
	margin: 18px 0 16px;
	color: var(--tp-muted);
	font-size: 13px;
}

.tp-footer__title {
	margin: 0 0 14px;
	font-family: var(--tp-font);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
}

.tp-footer__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	list-style: none;
}

.tp-footer__links a {
	color: var(--tp-muted);
}

.tp-footer__links a:hover {
	color: var(--tp-primary);
}

.tp-social {
	display: flex;
	gap: 8px;
	list-style: none;
}

.tp-social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	color: var(--tp-ink);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tp-social a:hover {
	background: var(--tp-primary-50);
	color: var(--tp-primary);
}

.tp-newsletter {
	display: flex;
	gap: 10px;
}

.tp-newsletter input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--tp-line);
	border-radius: 10px;
	background: #fff;
}

.tp-newsletter input[type="email"]:focus {
	outline: none;
	border-color: var(--tp-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tp-primary) 15%, transparent);
}

.tp-newsletter .tp-btn {
	min-height: 46px;
}

.tp-newsletter__note {
	margin: 10px 0 0;
	color: var(--tp-muted);
	font-size: 13px;
}

.tp-newsletter__note.is-error {
	color: var(--tp-danger);
}

.tp-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Drawer */
.tp-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
}

.tp-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 12, 46, 0.5);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.tp-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(420px, 100%);
	background: #fff;
	box-shadow: var(--tp-shadow-lg);
	transform: translateX(100%);
	transition: transform 0.3s var(--tp-ease);
}

.tp-drawer.is-open .tp-drawer__backdrop {
	opacity: 1;
}

.tp-drawer.is-open .tp-drawer__panel {
	transform: translateX(0);
}

.tp-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--tp-line);
}

.tp-drawer__title {
	margin: 0;
	font-size: 18px;
}

.tp-drawer__close {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--tp-soft);
	color: var(--tp-ink);
}

.tp-drawer__tabs {
	display: flex;
	gap: 6px;
	padding: 12px 20px 0;
}

.tp-drawer__tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--tp-muted);
	font-weight: 600;
}

.tp-drawer__tab.is-active {
	background: var(--tp-primary-50);
	color: var(--tp-primary);
}

.tp-drawer__count {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: #fff;
	font-size: 11px;
}

.tp-drawer__body {
	flex: 1;
	padding: 12px 20px;
	overflow-y: auto;
}

.tp-drawer__item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--tp-line);
}

.tp-drawer__thumb {
	display: block;
	width: 72px;
	height: 48px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--tp-soft);
}

.tp-drawer__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tp-drawer__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 13px;
}

.tp-drawer__name {
	overflow: hidden;
	color: var(--tp-ink);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tp-drawer__meta {
	color: var(--tp-muted);
}

.tp-drawer__price {
	color: var(--tp-ink);
}

.tp-drawer__actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.tp-drawer__remove {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: none;
	color: var(--tp-muted);
	font-size: 20px;
	line-height: 1;
}

.tp-drawer__remove:hover {
	background: #fdecef;
	color: var(--tp-danger);
}

.tp-drawer__empty {
	padding: 40px 0;
	color: var(--tp-muted);
	text-align: center;
}

.tp-drawer__foot {
	padding: 16px 20px 20px;
	border-top: 1px solid var(--tp-line);
	background: var(--tp-soft);
}

.tp-drawer__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 12px;
	color: var(--tp-muted);
	font-size: 12.5px;
}

.tp-drawer__note .tp-icon {
	margin-top: 2px;
	color: var(--tp-success);
}

.tp-drawer-open,
.tp-lightbox-open,
.tp-menu-open {
	overflow: hidden;
}

/* Toasts */
.tp-toasts {
	position: fixed;
	bottom: 20px;
	left: 50%;
	z-index: 1100;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	transform: translateX(-50%);
	pointer-events: none;
}

.tp-toast {
	max-width: min(440px, calc(100vw - 32px));
	padding: 12px 18px;
	border-radius: 12px;
	background: var(--tp-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	box-shadow: var(--tp-shadow-lg);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s var(--tp-ease);
}

.tp-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.tp-toast--success {
	background: #0f7a52;
}

.tp-toast--error {
	background: var(--tp-danger);
}

.tp-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 80;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--tp-ink);
	color: #fff;
	box-shadow: var(--tp-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.tp-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tp-to-top:hover {
	background: var(--tp-primary);
	color: #fff;
}

/* Lightbox */
.tp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: grid;
	place-items: center;
	padding: 40px 60px;
	background: rgba(10, 8, 32, 0.92);
}

.tp-lightbox__image {
	max-width: 100%;
	max-height: calc(100vh - 80px);
	border-radius: 10px;
	box-shadow: var(--tp-shadow-lg);
}

.tp-lightbox__close,
.tp-lightbox__nav {
	position: absolute;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 28px;
	line-height: 1;
}

.tp-lightbox__close:hover,
.tp-lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.25);
}

.tp-lightbox__close {
	top: 16px;
	right: 16px;
}

.tp-lightbox__nav--prev {
	left: 12px;
}

.tp-lightbox__nav--next {
	right: 12px;
}

/* 11. Live demo ------------------------------------------------------------------ */
.tp-demo-html,
.tp-demo-body {
	height: 100%;
	overflow: hidden;
}

.tp-demo-body {
	margin: 0 !important;
	padding: 0 !important;
}

.tp-demo {
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	background: #e9e8f2;
}

.tp-demo__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 60px;
	padding: 0 16px;
	background: var(--tp-dark);
	color: #fff;
}

.tp-demo__left,
.tp-demo__right {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.tp-demo .tp-logo {
	flex: none;
}

.tp-demo .tp-logo__tagline {
	display: none;
}

.tp-demo .tp-logo__name {
	font-size: 17px;
}

.tp-demo .tp-logo__mark svg {
	width: 28px;
	height: 28px;
}

.tp-demo__divider {
	width: 1px;
	height: 26px;
	background: rgba(255, 255, 255, 0.2);
}

.tp-demo__product {
	overflow: hidden;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tp-demo__product:hover {
	color: #fff;
}

.tp-demo__devices {
	display: flex;
	gap: 4px;
	padding: 4px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
}

.tp-demo__device {
	display: grid;
	place-items: center;
	width: 38px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 7px;
	background: none;
	color: rgba(255, 255, 255, 0.65);
}

.tp-demo__device.is-active,
.tp-demo__device:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.tp-demo__price .tp-price__now {
	color: #fff;
	font-size: 18px;
}

.tp-demo__price .tp-price__old {
	color: rgba(255, 255, 255, 0.55);
}

.tp-demo__close {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 9px;
	color: rgba(255, 255, 255, 0.75);
}

.tp-demo__close:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.tp-demo__pop {
	position: relative;
	flex: none;
}

.tp-demo__chip {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	height: 34px;
	padding: 0 12px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	list-style: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.tp-demo__chip::-webkit-details-marker {
	display: none;
}

.tp-demo__chip:hover,
.tp-demo__pop[open] > .tp-demo__chip {
	background: rgba(255, 255, 255, 0.18);
}

.tp-demo__chip-label {
	overflow: hidden;
	max-width: 180px;
	text-overflow: ellipsis;
}

.tp-demo__panel {
	position: absolute;
	z-index: 20;
	top: calc(100% + 10px);
	min-width: 220px;
	margin: 0;
	padding: 6px;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--tp-shadow-lg);
	color: var(--tp-ink);
	list-style: none;
}

.tp-demo__menu .tp-demo__panel {
	left: 0;
}

.tp-demo__login .tp-demo__panel {
	right: 0;
	width: max-content;
	min-width: 280px;
	max-width: min(420px, calc(100vw - 20px));
	padding: 10px 12px;
}

.tp-demo__option {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	padding: 9px 10px;
	border-radius: 8px;
	color: var(--tp-ink);
	font-size: 14px;
	font-weight: 500;
}

.tp-demo__option:hover,
.tp-demo__option.is-active {
	background: var(--tp-primary-50);
	color: var(--tp-primary);
}

.tp-demo__cred {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	gap: 8px;
	align-items: center;
	padding: 4px 0;
	font-size: 13px;
}

.tp-demo__cred-label {
	color: var(--tp-muted);
}

.tp-demo__cred code {
	padding: 3px 7px;
	border-radius: 6px;
	background: var(--tp-soft);
	font-size: 13px;
	overflow-wrap: anywhere;
	user-select: all;
}

.tp-demo__copy:hover {
	background: var(--tp-soft);
}

.tp-demo__stage {
	display: flex;
	flex: 1;
	justify-content: center;
	min-height: 0;
}

.tp-demo__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
	transition: width 0.35s var(--tp-ease), margin 0.35s var(--tp-ease), border-radius 0.35s ease;
}

.tp-demo[data-device="tablet"] .tp-demo__frame {
	width: 820px;
	height: calc(100% - 40px);
	margin-top: 20px;
	border-radius: 16px;
	box-shadow: var(--tp-shadow-lg);
}

.tp-demo[data-device="phone"] .tp-demo__frame {
	width: 390px;
	height: calc(100% - 40px);
	margin-top: 20px;
	border-radius: 24px;
	box-shadow: var(--tp-shadow-lg);
}

/* 12. Plugin output (account page, notices) --------------------------------------- */
.tp-account {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tp-account__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.tp-account__card {
	padding: 26px;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	background: #fff;
	font-size: 15px;
	line-height: 1.6;
}

.tp-account__card--accent {
	border-color: color-mix(in srgb, var(--tp-primary) 18%, var(--tp-line));
	background: linear-gradient(135deg, var(--tp-primary-50), #fff);
}

.tp-prose .tp-account h2,
.tp-prose .tp-account h3,
.tp-prose .tp-account p,
.tp-prose .tp-account form {
	margin-top: 0;
}

.tp-prose .tp-button,
.tp-prose .tp-btn,
.tp-prose .tp-account__actions a {
	text-decoration: none;
}

.tp-account__title {
	margin: 0 0 12px;
	font-size: 22px;
}

.tp-account__subtitle {
	font-size: 18px;
}

.tp-account__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.tp-account__avatar {
	border-radius: 50%;
}

.tp-account__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-left: auto;
}

.tp-account__muted {
	margin: 0;
	color: var(--tp-muted);
}

.tp-account .login-username,
.tp-account .login-password {
	margin-bottom: 14px;
}

.tp-account label {
	display: block;
	margin-bottom: 6px;
	color: var(--tp-ink);
	font-weight: 600;
}

.tp-account .login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
}

.tp-account .button-primary,
.tp-account input[type="submit"] {
	min-height: 44px;
	padding: 10px 22px;
	border: 0;
	border-radius: 10px;
	background: var(--tp-primary);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.tp-account .tp-button,
.tp-notice .tp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 18px;
	border: 1.5px solid var(--tp-line);
	border-radius: 10px;
	color: var(--tp-ink);
	font-weight: 600;
}

.tp-account .tp-button--primary {
	border-color: var(--tp-primary);
	background: var(--tp-primary);
	color: #fff;
}

.tp-account .tp-button--primary:hover {
	color: #fff;
	background: var(--tp-primary-600);
}

.tp-table-wrap {
	overflow-x: auto;
}

.tp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.tp-table th {
	padding: 10px;
	border-bottom: 1px solid var(--tp-line);
	color: var(--tp-muted);
	font-size: 12px;
	letter-spacing: 0.04em;
	text-align: left;
	text-transform: uppercase;
}

.tp-table td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--tp-line);
}

.tp-account .tp-button--sm {
	min-height: 36px;
	padding: 6px 14px;
	font-size: 13px;
}

.tp-account__license {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	align-items: center;
	margin-top: 6px;
	font-size: 13px;
}

.tp-account__license code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--tp-soft);
	color: var(--tp-ink);
	font-size: 12px;
	word-break: break-all;
	user-select: all;
}

.tp-account__sites {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	align-items: center;
	margin-top: 6px;
	font-size: 13px;
}

.tp-account__site {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
	margin: 0;
}

.tp-account__site code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--tp-soft);
	color: var(--tp-ink);
	font-size: 12px;
	word-break: break-all;
}

.tp-account__release {
	padding: 0;
	border: 0;
	background: none;
	color: var(--tp-danger);
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.tp-account__badge {
	padding: 1px 8px;
	border-radius: 999px;
	background: #fdecef;
	color: #b4253a;
	font-size: 12px;
	font-weight: 600;
}

.tp-account__row-actions {
	white-space: nowrap;
}

.tp-account__row-actions a + a {
	margin-left: 8px;
}

@media (max-width: 640px) {
	.tp-table--stack thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.tp-table--stack,
	.tp-table--stack tbody,
	.tp-table--stack tr,
	.tp-table--stack td {
		display: block;
		width: 100%;
	}

	.tp-table--stack tr {
		padding: 12px 0;
		border-bottom: 1px solid var(--tp-line);
	}

	.tp-table--stack td {
		display: flex;
		gap: 12px;
		justify-content: space-between;
		padding: 4px 0;
		border: 0;
		text-align: right;
	}

	.tp-table--stack td::before {
		content: attr(data-label);
		flex: none;
		color: var(--tp-muted);
		font-size: 12px;
		font-weight: 600;
		letter-spacing: 0.04em;
		text-align: left;
		text-transform: uppercase;
	}

	.tp-table--stack td:first-child {
		display: block;
		text-align: left;
	}

	.tp-table--stack td:first-child::before,
	.tp-table--stack td:last-child::before {
		content: none;
	}

	.tp-table--stack td:last-child {
		align-items: center;
		justify-content: flex-start;
		padding-top: 8px;
	}

	.tp-table--stack td:last-child:empty {
		display: none;
	}
}

[data-tp-checkout].is-loading {
	cursor: progress;
	opacity: 0.7;
}

.tp-notice {
	padding: 14px 18px;
	border-radius: var(--tp-radius);
	background: var(--tp-soft);
}

.tp-notice--success {
	background: #e6f7ef;
	color: #0b6b45;
}

.tp-notice--error {
	background: #fdecef;
	color: #a1263a;
}

/* Auth (login, register, password reset) */
.tp-account-page .tp-layout--narrow {
	max-width: calc(980px + var(--tp-gutter) * 2);
}

.tp-auth {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	overflow: hidden;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-xl);
	background: #fff;
	box-shadow: var(--tp-shadow);
}

.tp-auth__card {
	padding: 36px 40px 32px;
}

.tp-auth__tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 26px;
	padding: 4px;
	border-radius: 12px;
	background: var(--tp-soft);
}

.tp-auth__tab {
	flex: 1;
	padding: 9px 12px;
	border-radius: 9px;
	color: var(--tp-muted);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none !important;
}

.tp-auth__tab:hover {
	color: var(--tp-ink);
}

.tp-auth__tab.is-active {
	background: #fff;
	color: var(--tp-ink);
	box-shadow: var(--tp-shadow-sm), 0 2px 6px rgba(22, 20, 47, 0.08);
}

.tp-prose .tp-auth .tp-auth__title,
.tp-auth__title {
	margin: 0 0 6px;
	font-size: 26px;
}

.tp-prose .tp-auth p,
.tp-prose .tp-auth form {
	margin-top: 0;
}

.tp-auth__lead {
	margin: 0 0 22px;
	color: var(--tp-muted);
	font-size: 15px;
}

.tp-auth__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tp-auth__form--grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

.tp-auth__form--grid > .tp-auth__fieldset,
.tp-auth__form--grid > button {
	grid-column: 1 / -1;
}

.tp-auth__form--grid > button {
	justify-self: start;
}

.tp-field {
	margin: 0;
}

.tp-field label {
	display: block;
	margin-bottom: 6px;
	color: var(--tp-ink);
	font-size: 14px;
	font-weight: 600;
}

.tp-field input {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1.5px solid var(--tp-line);
	border-radius: 11px;
	background: #fff;
	color: var(--tp-ink);
	font-size: 15px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tp-field input:focus {
	outline: none;
	border-color: var(--tp-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tp-primary) 15%, transparent);
}

.tp-field__password {
	position: relative;
	display: block;
}

.tp-field__password input {
	padding-right: 48px;
}

.tp-field__toggle {
	position: absolute;
	top: 50%;
	right: 6px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: none;
	color: var(--tp-muted);
	transform: translateY(-50%);
}

.tp-field__toggle:hover {
	background: var(--tp-soft);
	color: var(--tp-ink);
}

.tp-field__toggle span {
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tp-field__toggle.is-visible span {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 3l18 18M10.6 5.1A10 10 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-3.2 4M6.6 6.6C3.9 8.3 2 12 2 12s3.6 7 10 7a9.6 9.6 0 0 0 5.4-1.6M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 3l18 18M10.6 5.1A10 10 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-3.2 4M6.6 6.6C3.9 8.3 2 12 2 12s3.6 7 10 7a9.6 9.6 0 0 0 5.4-1.6M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
}

.tp-auth__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 14px;
}

.tp-auth__check {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--tp-text);
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
}

.tp-auth__check input {
	width: 17px;
	height: 17px;
	margin: 1px 0 0;
	accent-color: var(--tp-primary);
}

.tp-auth__link,
.tp-auth__switch a {
	font-weight: 600;
	text-decoration: none !important;
}

.tp-auth__switch {
	margin: 22px 0 0 !important;
	color: var(--tp-muted);
	font-size: 14px;
	text-align: center;
}

.tp-auth__fieldset {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
	margin: 6px 0 0;
	padding: 20px 0 0;
	border: 0;
	border-top: 1px solid var(--tp-line);
}

.tp-auth__fieldset legend {
	padding: 0 10px 0 0;
	color: var(--tp-ink);
	font-family: var(--tp-font-heading);
	font-weight: 800;
}

.tp-auth__hint {
	grid-column: 1 / -1;
	margin: -6px 0 0;
	color: var(--tp-muted);
	font-size: 13px;
}

.tp-auth__fieldset .tp-field:first-of-type {
	grid-column: 1 / -1;
}

.tp-button--block {
	width: 100%;
}

.tp-auth .tp-button--primary,
.tp-account .tp-button--primary {
	min-height: 50px;
	border: 0;
	border-radius: 11px;
	background: var(--tp-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--tp-primary) 80%, transparent);
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.tp-auth .tp-button--primary:hover {
	background: var(--tp-primary-600);
	color: #fff;
	transform: translateY(-1px);
}

.tp-strength {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: -8px;
	font-size: 12.5px;
	color: var(--tp-muted);
}

.tp-strength__bar {
	position: relative;
	height: 6px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--tp-soft);
}

.tp-strength__bar span {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	border-radius: inherit;
	transition: width 0.25s ease, background-color 0.25s ease;
}

.tp-strength[data-score="0"] .tp-strength__bar span { width: 12%; background: #e5484d; }
.tp-strength[data-score="1"] .tp-strength__bar span { width: 30%; background: #f2711c; }
.tp-strength[data-score="2"] .tp-strength__bar span { width: 55%; background: #f5b400; }
.tp-strength[data-score="3"] .tp-strength__bar span { width: 80%; background: #3fae68; }
.tp-strength[data-score="4"] .tp-strength__bar span { width: 100%; background: #12a46c; }

.tp-turnstile {
	min-height: 65px;
}

.tp-auth__aside {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	padding: 40px 36px;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.86);
	background:
		radial-gradient(360px 240px at 90% 0%, rgba(124, 94, 255, 0.6), transparent 70%),
		radial-gradient(300px 200px at 0% 100%, rgba(255, 102, 196, 0.25), transparent 70%),
		linear-gradient(160deg, var(--tp-dark), color-mix(in srgb, var(--tp-dark) 70%, #2a1f8a));
}

.tp-auth__aside::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 22px 22px;
	pointer-events: none;
}

.tp-prose .tp-auth__aside-title,
.tp-auth__aside-title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #fff;
	font-family: var(--tp-font-heading);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
}

.tp-auth__aside ul {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.tp-prose .tp-auth__aside li + li {
	margin-top: 0;
}

.tp-auth__aside li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tp-auth__aside li::before {
	content: "";
	flex: 0 0 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14) 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'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.tp-prose .tp-auth__secure,
.tp-auth__secure {
	position: relative;
	z-index: 1;
	margin: 6px 0 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 12.5px;
}

.tp-alert {
	padding: 12px 16px;
	border-radius: 11px;
	background: var(--tp-soft);
	color: var(--tp-text);
	font-size: 14px;
	line-height: 1.5;
}

.tp-alert + .tp-alert {
	margin-top: 10px;
}

.tp-auth .tp-alert,
.tp-account .tp-alert {
	margin-bottom: 18px;
}

.tp-alert ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tp-prose .tp-alert li + li {
	margin-top: 4px;
}

.tp-alert--success {
	border: 1px solid #bfe8d3;
	background: #ecfaf3;
	color: #0b6b45;
}

.tp-alert--warning {
	border: 1px solid #f3dca6;
	background: #fff8e8;
	color: #7a4f00;
}

.tp-auth__pending {
	grid-column: 1 / -1;
	margin: -8px 0 0 !important;
	color: #7a4f00;
}

.tp-alert--error {
	border: 1px solid #f6c9d0;
	background: #fdf0f2;
	color: #a1263a;
}

.tp-account__nav {
	display: flex;
	gap: 6px;
	padding: 5px;
	border: 1px solid var(--tp-line);
	border-radius: 14px;
	background: #fff;
}

.tp-account__nav-link {
	padding: 9px 16px;
	border-radius: 10px;
	color: var(--tp-text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
}

.tp-account__nav-link:hover,
.tp-account__nav-link.is-active {
	background: var(--tp-primary-50);
	color: var(--tp-primary);
}

@media (max-width: 480px) {
	.tp-account__nav {
		flex-wrap: wrap;
	}

	.tp-account__nav-link {
		flex: 1 1 auto;
		padding: 9px 10px;
		text-align: center;
	}
}

/* Support tickets (account page) */
.tp-prose .tp-support__list,
.tp-prose .tp-support__thread,
.tp-prose .tp-support__files-list {
	padding-left: 0;
}

.tp-prose .tp-support li + li {
	margin-top: 0;
}

.tp-support__head,
.tp-support__ticket-head {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.tp-support__head .tp-account__subtitle,
.tp-support__ticket-head .tp-account__subtitle {
	margin: 0;
	overflow-wrap: anywhere;
}

.tp-support__back {
	margin: 0 0 12px !important;
	font-size: 14px;
}

.tp-support__back a {
	font-weight: 600;
	text-decoration: none !important;
}

.tp-support__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tp-support__list li {
	margin: 0;
}

.tp-support__item {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border: 1px solid var(--tp-line);
	border-radius: 12px;
	color: var(--tp-ink);
	text-decoration: none !important;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.tp-support__item:hover {
	border-color: color-mix(in srgb, var(--tp-primary) 35%, var(--tp-line));
	background: var(--tp-primary-50);
}

.tp-support__item-main {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.tp-support__item-title {
	font-weight: 600;
	overflow-wrap: anywhere;
}

.tp-support__item-meta,
.tp-support__meta {
	color: var(--tp-muted);
	font-size: 13px;
}

.tp-support__meta {
	margin: -6px 0 18px !important;
}

.tp-support__status {
	flex: none;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--tp-soft);
	color: var(--tp-muted);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.tp-support__status--open {
	background: #fff4e0;
	color: #8a5300;
}

.tp-support__status--answered {
	background: color-mix(in srgb, var(--tp-success) 14%, #fff);
	color: #0b7a4f;
}

.tp-support__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

.tp-support__form select,
.tp-support__form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid var(--tp-line);
	border-radius: 11px;
	background: #fff;
	color: var(--tp-ink);
	font: inherit;
	font-size: 15px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tp-support__form select {
	height: 48px;
	padding-block: 0;
}

.tp-support__form textarea {
	min-height: 150px;
	line-height: 1.55;
	resize: vertical;
}

.tp-support__form select:focus,
.tp-support__form textarea:focus {
	outline: none;
	border-color: var(--tp-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tp-primary) 15%, transparent);
}

.tp-support__form .tp-auth__hint {
	display: block;
	margin: 6px 0 0;
}

.tp-support__files input[type="file"] {
	height: auto;
	padding: 10px;
	border-style: dashed;
	font-size: 14px;
}

.tp-support__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.tp-support__thread {
	display: grid;
	gap: 14px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.tp-support__msg {
	margin: 0;
	padding: 16px 18px;
	border: 1px solid var(--tp-line);
	border-radius: 14px;
	background: #fff;
}

.tp-support__msg--staff {
	margin-left: clamp(12px, 6%, 48px);
	border-color: color-mix(in srgb, var(--tp-primary) 22%, var(--tp-line));
	background: var(--tp-primary-50);
}

.tp-support__msg--customer {
	margin-right: clamp(12px, 6%, 48px);
}

.tp-support__msg-head {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 8px;
	font-size: 14px;
}

.tp-support__msg-head time {
	color: var(--tp-muted);
	font-size: 12px;
}

.tp-support__msg-body {
	font-size: 15px;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.tp-support__files-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 12px 0 0;
	padding: 10px 0 0;
	border-top: 1px dashed var(--tp-line);
	list-style: none;
	font-size: 14px;
}

.tp-support__files-list li {
	margin: 0;
	overflow-wrap: anywhere;
}

.tp-support__reply {
	padding-top: 20px;
	border-top: 1px solid var(--tp-line);
	scroll-margin-top: 100px;
}

.tp-support__close {
	margin: 14px 0 0;
}

.tp-support__link-button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--tp-muted);
	font: inherit;
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}

.tp-support__link-button:hover {
	color: var(--tp-ink);
}

.tp-account__portal {
	margin-top: 18px !important;
	color: var(--tp-muted);
	font-size: 14px;
	text-align: center;
}

.tp-newsletter {
	flex-wrap: wrap;
}

.tp-newsletter .tp-turnstile {
	flex-basis: 100%;
	order: 3;
}

@media (max-width: 760px) {
	.tp-auth {
		grid-template-columns: minmax(0, 1fr);
	}

	.tp-auth__aside {
		display: none;
	}

	.tp-auth__card {
		padding: 28px 20px 24px;
	}

	.tp-auth__form--grid,
	.tp-auth__fieldset {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 13. Responsive & motion ------------------------------------------------------------ */
@media (max-width: 1200px) {
	.tp-product-grid--5 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.tp-product-grid--5 > :nth-child(n + 5) {
		display: none;
	}

	.tp-footer__grid {
		grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
	}

	.tp-footer__newsletter {
		grid-column: 1 / -1;
		max-width: 520px;
	}
}

@media (max-width: 1100px) {
	:root {
		--tp-header-h: 68px;
	}

	.tp-header__inner {
		gap: 14px;
	}

	.tp-header__search {
		display: none;
	}

	.tp-header__actions {
		margin-left: auto;
	}

	.tp-header__toggle {
		display: grid;
	}

	.tp-header__panel {
		position: fixed;
		top: var(--tp-header-h);
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 18px;
		padding: 20px var(--tp-gutter) 32px;
		overflow-y: auto;
		background: var(--tp-dark);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s ease, transform 0.25s var(--tp-ease), visibility 0.2s;
	}

	.admin-bar .tp-header__panel {
		top: calc(var(--tp-header-h) + 46px);
	}

	.tp-header__panel.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.tp-header__panel-search {
		display: block;
	}

	.tp-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.tp-nav .menu-item {
		flex-wrap: wrap;
		justify-content: space-between;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.tp-nav .sub-menu .menu-item {
		border-bottom: 0;
	}

	.tp-nav .menu > .menu-item > a {
		flex: 1;
		padding: 14px 0;
		font-size: 16px;
	}

	.sub-menu-toggle {
		width: 44px;
		height: 44px;
	}

	.tp-nav .sub-menu {
		position: static;
		display: none;
		width: 100%;
		min-width: 0;
		margin-bottom: 10px;
		padding: 4px;
		border: 0;
		background: rgba(255, 255, 255, 0.06);
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.tp-nav .menu-item-has-children:hover > .sub-menu,
	.tp-nav .menu-item-has-children:focus-within > .sub-menu {
		display: none;
	}

	.tp-nav .sub-menu-toggle[aria-expanded="true"] + .sub-menu {
		display: block;
	}

	.tp-nav .sub-menu a {
		color: rgba(255, 255, 255, 0.85);
	}

	.tp-nav .sub-menu a:hover {
		background: rgba(255, 255, 255, 0.08);
		color: #fff;
	}

	.tp-header__account {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding-top: 6px;
	}

	.tp-header__account .tp-btn,
	.tp-header__login {
		justify-content: center;
		min-height: 46px;
		border: 1px solid rgba(255, 255, 255, 0.2);
		border-radius: 10px;
	}

	.tp-header__account .tp-btn {
		border-color: transparent;
	}

	.tp-hero__grid,
	.tp-benefits__grid,
	.tp-creators__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tp-hero {
		padding-bottom: 80px;
	}

	.tp-hero__visual {
		min-height: 0;
	}

	.tp-mock {
		margin: 0 auto;
	}

	.tp-cat-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tp-product {
		grid-template-columns: minmax(0, 1fr);
	}

	.tp-product__aside {
		position: static;
	}

	.tp-sticky-buy {
		display: flex;
	}

	.tp-sticky-buy[hidden] {
		display: none !important;
	}

	.tp-community__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 1023px) {
	.tp-shop {
		grid-template-columns: minmax(0, 1fr);
	}

	.tp-filters {
		position: static;
	}

	.tp-filters:not([open]) {
		padding: 14px 18px;
	}

	.tp-filters__toggle {
		cursor: pointer;
	}

	.tp-product-grid--3,
	.tp-product-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tp-layout--sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.tp-deal {
		grid-template-columns: minmax(0, 1fr);
		padding: 36px 32px;
	}

	.tp-deal__visual {
		height: 190px;
	}
}

@media (max-width: 900px) {
	.tp-product-grid--5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tp-product-grid--5 > :nth-child(n + 5) {
		display: flex;
	}

	.tp-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tp-footer__brand {
		grid-column: 1 / -1;
	}

	.tp-community__stats {
		gap: 18px 0;
	}

	.tp-features {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 782px) {
	.admin-bar.tp-sticky-header .tp-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	:root {
		--tp-gutter: 16px;
	}

	body {
		font-size: 15px;
	}

	.tp-section {
		padding: 40px 0;
	}

	.tp-hero {
		padding-top: calc(var(--tp-header-h) + 28px);
	}

	.tp-hero__text {
		font-size: 16px;
	}

	.tp-hero__buttons .tp-btn {
		flex: 1 1 100%;
	}

	.tp-hero__stats {
		gap: 16px;
	}

	.tp-hero__stat {
		flex: 1 1 100%;
	}

	.tp-mock {
		height: 320px;
		transform: scale(0.92);
		transform-origin: top center;
	}

	.tp-mock__browser {
		left: 6%;
		width: 82%;
		height: 240px;
	}

	.tp-mock__headline {
		font-size: 16px;
	}

	.tp-mock__card--dark,
	.tp-mock__note {
		display: none;
	}

	.tp-mock__card--income {
		top: auto;
		bottom: 0;
		right: 0;
	}

	.tp-mock__card--person {
		bottom: 0;
		left: 0;
	}

	.tp-cat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.tp-product-grid--3,
	.tp-product-grid--4,
	.tp-product-grid--5 {
		grid-template-columns: minmax(0, 1fr);
	}

	.tp-card__overlay {
		opacity: 1;
		transform: none;
	}

	.tp-benefits__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.tp-deal {
		padding: 28px 22px;
	}

	.tp-deal__visual {
		height: 160px;
	}

	.tp-deal__badge {
		width: 92px;
		height: 92px;
	}

	.tp-deal__badge strong {
		font-size: 26px;
	}

	.tp-community__stat {
		flex: 1 1 100%;
		padding: 4px 0;
		border-left: 0;
	}

	.tp-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.tp-newsletter {
		flex-direction: column;
	}

	.tp-newsletter input[type="email"] {
		flex: none;
		width: 100%;
	}

	.tp-review-summary {
		grid-template-columns: minmax(0, 1fr);
	}

	.tp-account__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tp-account__actions {
		margin-left: 0;
	}

	.tp-comment-list .children {
		margin-left: 16px;
	}

	.post-navigation .nav-links {
		grid-template-columns: minmax(0, 1fr);
	}

	.tp-demo__devices,
	.tp-demo__divider,
	.tp-demo__price {
		display: none;
	}

	.tp-support__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.tp-support__item {
		flex-direction: column;
		gap: 8px;
		align-items: flex-start;
	}

	.tp-support__item .tp-support__status {
		order: -1;
	}

	/* Visually hidden but still the link's accessible name. */
	.tp-demo .tp-logo__text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.tp-demo__bar {
		gap: 10px;
		padding: 0 10px;
	}

	.tp-demo__left {
		flex: 1;
		gap: 10px;
	}

	.tp-demo__left:has(.tp-demo__menu) .tp-demo__product {
		display: none;
	}

	.tp-demo__login .tp-demo__chip-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.tp-demo__menu {
		flex: 0 1 auto;
		min-width: 0;
	}

	.tp-demo__menu .tp-demo__chip {
		max-width: 100%;
	}

	.tp-demo__chip-label {
		min-width: 0;
		max-width: 120px;
	}

	.tp-demo__login .tp-demo__panel {
		position: fixed;
		top: 66px;
		right: 10px;
		left: 10px;
		width: auto;
		min-width: 0;
		max-width: none;
	}

	.tp-lightbox {
		padding: 60px 10px;
	}

	.tp-buy__now {
		font-size: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

@media print {
	.tp-header,
	.tp-footer,
	.tp-drawer,
	.tp-toasts,
	.tp-to-top,
	.tp-sticky-buy,
	.tp-product__aside,
	.tp-product-nav {
		display: none !important;
	}

	.tp-product-body.is-tabbed .tp-product-section[hidden] {
		display: block !important;
	}

	.tp-page-header {
		background: none;
		color: #000;
	}

	.tp-page-header__title {
		color: #000;
	}
}
