/* Theme Parco – front-end styles (scoped to .tp / .tp-layout) */
:root {
	--tp-primary: #104646;
	--tp-accent: #59B5B6;
	--tp-star: #f59e0b;
	--tp-ink: #0f2e2b;
	--tp-muted: #5b7b76;
	--tp-border: #dfe9e6;
	--tp-bg: #f6fbf9;
	--tp-mint: #eef7f5;
	--tp-white: #fff;
	--tp-shadow: 0 8px 24px rgba(16, 53, 46, .08);
	--tp-radius: 12px;
	--tp-gutter: 48px;
	--tp-max: 1440px;
	--tp-font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
.tp, .tp-layout { font-family: var(--tp-font); color: var(--tp-ink); -webkit-font-smoothing: antialiased; }
.tp *, .tp *::before, .tp *::after { box-sizing: border-box; }
.tp-layout { margin: 0; background: var(--tp-bg); }
.tp h1, .tp h2, .tp h3, .tp h4 { font-family: var(--tp-font); color: var(--tp-primary); font-weight: 700; margin: 0; line-height: 1.2; letter-spacing: normal; text-transform: none; }
.tp p { margin: 0; }
.tp a { color: inherit; text-decoration: none; }
.tp img { max-width: 100%; height: auto; display: block; }
.tp ul { margin: 0; padding: 0; list-style: none; }
.tp button { font-family: inherit; }
.tp-muted { color: var(--tp-muted); }
.tp-small { font-size: 12px; }
.tp-xs { font-size: 11px; }
.tp-accent { color: var(--tp-accent) !important; }
.tp-icon { display: block; flex-shrink: 0; }
.tp .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tp-container { max-width: var(--tp-max); margin: 0 auto; padding: 40px var(--tp-gutter); }
.tp-page-title { font-size: 28px; margin-bottom: 24px !important; }
.tp-page-body { background: var(--tp-white); min-height: 50vh; }

/* ---------- Buttons ---------- */
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--tp-accent); color: #fff !important; padding: 12px 24px; border: 0; border-radius: 8px; font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: filter .15s, transform .15s; white-space: nowrap; }
.tp-btn:hover { filter: brightness(.94); }
.tp-btn:active { transform: translateY(1px); }
.tp-btn:focus-visible, .tp a:focus-visible, .tp button:focus-visible, .tp input:focus-visible, .tp select:focus-visible { outline: 2px solid var(--tp-accent); outline-offset: 2px; }
.tp-btn-lg { padding: 14px 36px; font-size: 15px; font-weight: 700; }
.tp-btn-sm { padding: 9px 18px; font-size: 13px; }
.tp-btn-xs { padding: 6px 14px; font-size: 11px; border-radius: 6px; }
.tp-btn-block { display: flex; width: 100%; }
.tp-btn-ghost { background: var(--tp-bg); color: var(--tp-muted) !important; border: 1px solid var(--tp-border); font-weight: 500; }
.tp-btn-outline { background: var(--tp-white); color: var(--tp-primary) !important; border: 1px solid var(--tp-border); }
.tp-link { color: var(--tp-accent) !important; font-weight: 600; font-size: 14px; }
.tp-linkbtn { background: none; border: 0; color: var(--tp-accent); cursor: pointer; font-size: 12px; font-weight: 600; padding: 0; }

/* ---------- Header ---------- */
.tp-announce { background: var(--tp-primary); color: #fff; text-align: center; padding: 8px var(--tp-gutter); font-size: 13px; font-weight: 500; }
.tp-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--tp-gutter); background: var(--tp-white); border-bottom: 1px solid var(--tp-border); flex-wrap: wrap; }
.admin-bar .tp-nav { top: 32px; }
.tp-brand { display: inline-flex; align-items: center; gap: 8px; }
.tp-brand-mark { width: 32px; height: 32px; background: var(--tp-accent); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; }
.tp-brand-name { font-weight: 700; font-size: 18px; color: var(--tp-primary); }
.tp-brand-light .tp-brand-name { color: #fff; font-size: 16px; }
.tp-brand-img { max-height: 36px; width: auto; }
.tp-menu ul { display: flex; gap: 32px; align-items: center; }
.tp-menu li { position: relative; }
.tp-menu a { color: var(--tp-muted); font-size: 14px; font-weight: 500; transition: color .15s; }
.tp-menu a:hover, .tp-menu .current-menu-item > a { color: var(--tp-primary); font-weight: 600; }
.tp-menu .sub-menu { display: none; position: absolute; top: 100%; left: -16px; background: #fff; border: 1px solid var(--tp-border); border-radius: 10px; box-shadow: var(--tp-shadow); padding: 8px; min-width: 200px; flex-direction: column; gap: 0; align-items: stretch; }
.tp-menu li:hover > .sub-menu, .tp-menu li:focus-within > .sub-menu { display: flex; }
.tp-menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 6px; }
.tp-menu .sub-menu a:hover { background: var(--tp-mint); }
.tp-nav-actions { display: flex; gap: 10px; align-items: center; }
.tp-circle { position: relative; width: 36px; height: 36px; background: var(--tp-bg); border: 1px solid var(--tp-border); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--tp-primary); padding: 0; }
.tp-circle .tp-icon { width: 17px; height: 17px; }
.tp-cart-count { position: absolute; top: -3px; right: -3px; min-width: 16px; height: 16px; padding: 0 3px; background: var(--tp-accent); border-radius: 8px; font-size: 9px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; }
.tp-cart-count.is-empty { display: none; }
.tp-avatar { width: 36px; height: 36px; background: var(--tp-accent); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff !important; }
.tp-menu-toggle { display: none; }
.tp-nav-search { flex-basis: 100%; }
.tp-nav-search .tp-search { margin: 6px auto 4px; }

/* ---------- Hero ---------- */
.tp-hero { padding: 80px var(--tp-gutter) 72px; text-align: center; background: var(--tp-mint); }
.tp-hero h1 { font-size: 50px; font-weight: 700; max-width: 780px; margin: 0 auto 18px; line-height: 1.15; letter-spacing: -1px; }
.tp-hero-sub { font-size: 16px; color: var(--tp-muted); max-width: 580px; margin: 0 auto 36px !important; line-height: 1.7; }
.tp-search { display: flex; max-width: 540px; margin: 0 auto; background: #fff; border-radius: 10px; border: 1px solid var(--tp-border); box-shadow: var(--tp-shadow); overflow: hidden; }
.tp-search input { flex: 1; min-width: 0; padding: 15px 20px; background: transparent; border: 0; color: var(--tp-ink); font: 14px var(--tp-font); outline: none; box-shadow: none; margin: 0; }
.tp-search button { background: var(--tp-accent); color: #fff; padding: 15px 28px; border: 0; font-weight: 600; cursor: pointer; font-size: 14px; border-radius: 0; }
.tp-hero .tp-search { margin-bottom: 56px; }
.tp-hero-stats { display: flex; justify-content: center; gap: 72px; flex-wrap: wrap; }
.tp-hero-stats span { display: block; font-size: 11px; color: var(--tp-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 500; }
.tp-hero-stats strong { font-size: 26px; font-weight: 700; color: var(--tp-primary); }

/* ---------- Sections ---------- */
.tp-section { padding: 56px var(--tp-gutter); }
.tp-white { background: var(--tp-white); }
.tp-mint { background: var(--tp-mint); }
.tp-soft { background: var(--tp-bg); }
.tp-bordered { border-top: 1px solid var(--tp-border); border-bottom: 1px solid var(--tp-border); }
.tp-bordered-top { border-top: 1px solid var(--tp-border); }
.tp-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.tp-section-head h2 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.tp-section-head p { color: var(--tp-muted); font-size: 14px; }
.tp-pill { display: inline-block; background: rgba(89, 181, 182, .12); color: var(--tp-accent); padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.tp-tabs-wrap { padding: 40px var(--tp-gutter) 0; background: var(--tp-white); border-bottom: 1px solid var(--tp-border); }
.tp-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.tp-tab, .tp-ptab { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--tp-muted); font-size: 14px; font-weight: 500; padding: 12px 24px; cursor: pointer; white-space: nowrap; border-radius: 0; }
.tp-tab.is-active, .tp-ptab.is-active { color: var(--tp-primary); font-weight: 600; border-bottom-color: var(--tp-accent); }
.tp-grid-target { transition: opacity .2s; }
.tp-grid-target.is-loading { opacity: .4; pointer-events: none; }

/* ---------- Grid + cards ---------- */
.tp-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tp-cols-1 { grid-template-columns: 1fr; }
.tp-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-empty { grid-column: 1 / -1; color: var(--tp-muted); padding: 32px 0; text-align: center; }
.tp-card { background: #fff; border-radius: var(--tp-radius); overflow: hidden; border: 1px solid var(--tp-border); box-shadow: var(--tp-shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.tp-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(16, 53, 46, .12); }
.tp-card-flat { box-shadow: none; }
.tp-card-media { position: relative; height: 195px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tp-card-media-sm { height: 175px; }
.tp-card-media-lg { height: 240px; }
.tp-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.tp-card:hover .tp-card-media img { transform: scale(1.03); }
.tp-card-ph { width: 85%; height: 78%; background: #fff; border-radius: 6px; border: 1px solid var(--tp-border); display: flex; align-items: center; justify-content: center; color: var(--tp-muted); font-size: 12px; box-shadow: 0 2px 8px rgba(16, 53, 46, .06); text-align: center; padding: 8px; }
.tp-badge { position: absolute; top: 10px; left: 10px; background: var(--tp-accent); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; color: #fff; letter-spacing: .3px; }
.tp-badge-right { left: auto; right: 10px; }
.tp-badge-hot, .tp-badge-bestseller, .tp-badge-sale { background: var(--tp-star); }
.tp-badge-plugin { background: var(--tp-primary); }
.tp-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.tp-card-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.tp-card-body h3.tp-h-sm { font-size: 14px; }
.tp-card-body h3 a:hover { color: var(--tp-accent); }
.tp-card-tag { color: var(--tp-muted); font-size: 12px; margin-bottom: 12px !important; }
.tp-card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 11px; }
.tp-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.tp-card-actions { display: flex; gap: 6px; }
.tp-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; }
.tp-stars { color: var(--tp-star); font-size: 12px; letter-spacing: 1px; }
.tp-stars-text { color: var(--tp-star); }
.tp-price { font-size: 18px; font-weight: 700; color: var(--tp-primary); }
.tp-work-result { display: flex; gap: 6px; align-items: center; color: var(--tp-accent); font-size: 13px; font-weight: 600; }
.tp-work-result .tp-icon { width: 16px; height: 16px; }

/* ---------- Trust / CTA / Newsletter ---------- */
.tp-trust { background: #fff; border: 1px solid var(--tp-border); border-radius: var(--tp-radius); padding: 28px; text-align: center; box-shadow: var(--tp-shadow); }
.tp-trust-icon { width: 48px; height: 48px; background: rgba(89, 181, 182, .1); color: var(--tp-accent); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.tp-trust-icon .tp-icon { width: 24px; height: 24px; }
.tp-trust h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.tp-trust p { color: var(--tp-muted); font-size: 13px; line-height: 1.5; }
.tp-cta { background: var(--tp-primary); border-radius: 16px; padding: 56px; text-align: center; }
.tp-cta h2 { font-size: 30px; color: #fff; margin-bottom: 10px; }
.tp-cta p { color: rgba(255, 255, 255, .7); font-size: 15px; margin-bottom: 28px !important; }
.tp-newsletter { padding: 40px var(--tp-gutter); background: var(--tp-mint); border-top: 1px solid var(--tp-border); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.tp-newsletter h3 { font-size: 20px; margin-bottom: 4px; }
.tp-newsletter p { color: var(--tp-muted); font-size: 14px; }
.tp-subscribe { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.tp-subscribe input { padding: 12px 16px; background: #fff; border: 1px solid var(--tp-border); border-radius: 8px; color: var(--tp-ink); font: 14px var(--tp-font); width: 280px; max-width: 100%; outline: none; margin: 0; }
.tp-subscribe-msg { flex-basis: 100%; font-size: 13px; color: var(--tp-primary); min-height: 0; }

/* ---------- Footer ---------- */
.tp-footer { background: var(--tp-primary); padding: 48px var(--tp-gutter); color: #fff; }
.tp-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.tp-footer .tp-brand { margin-bottom: 14px; }
.tp-footer .tp-brand-mark { width: 28px; height: 28px; font-size: 14px; border-radius: 6px; }
.tp-footer p { color: rgba(255, 255, 255, .5); font-size: 13px; line-height: 1.6; max-width: 280px; margin: 0; }
.tp-footer h4 { color: #fff; font-weight: 600; font-size: 14px; margin: 0 0 14px; }
.tp-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tp-footer a, .tp-footer li span { color: rgba(255, 255, 255, .5); font-size: 13px; text-decoration: none; }
.tp-footer a:hover { color: #fff; }
.tp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.tp-footer-bottom p { color: rgba(255, 255, 255, .4); max-width: none; }
.tp-social { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Catalog ---------- */
.tp-catalog { background: var(--tp-bg); }
.tp-catalog-head { padding: 40px var(--tp-gutter) 32px; background: var(--tp-mint); border-bottom: 1px solid var(--tp-border); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.tp-catalog-head h1 { font-size: 32px; }
.tp-catalog-head .tp-search { margin: 0; flex: 0 1 460px; box-shadow: none; }
.tp-catalog-head .tp-search input, .tp-catalog-head .tp-search button { padding-top: 12px; padding-bottom: 12px; }
.tp-catalog-body { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 32px var(--tp-gutter) 56px; align-items: start; }
.tp-filters { background: #fff; border: 1px solid var(--tp-border); border-radius: var(--tp-radius); padding: 20px; position: sticky; top: 90px; }
.tp-filters h3 { font-size: 16px; margin-bottom: 12px; }
.tp-filters fieldset { border: 0; border-top: 1px solid var(--tp-border); padding: 14px 0; margin: 0; }
.tp-filters legend { font-size: 13px; font-weight: 600; color: var(--tp-primary); padding: 14px 0 8px; float: left; width: 100%; }
.tp-filters legend + * { clear: left; }
.tp-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tp-ink); padding: 4px 0; cursor: pointer; }
.tp-check input { accent-color: var(--tp-accent); margin: 0; width: 16px; height: 16px; }
.tp-filters select, .tp-range input, .tp-sort select { width: 100%; padding: 9px 10px; border: 1px solid var(--tp-border); border-radius: 8px; font: 13px var(--tp-font); color: var(--tp-ink); background: #fff; margin: 0; }
.tp-range { display: flex; align-items: center; gap: 8px; }
.tp-filters .tp-btn { margin-top: 8px; }
.tp-reset { display: block; text-align: center; margin-top: 10px; font-size: 12px; color: var(--tp-muted) !important; }
.tp-filter-toggle { display: none; }
.tp-results { min-width: 0; transition: opacity .2s; }
.tp-results.is-loading { opacity: .4; }
.tp-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.tp-results-bar p { color: var(--tp-muted); font-size: 14px; }
.tp-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tp-muted); }
.tp-sort select { width: auto; }
.tp-pagination { margin-top: 32px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.tp-pagination .page-numbers { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--tp-border); border-radius: 8px; background: #fff; color: var(--tp-primary); font-size: 14px; font-weight: 500; }
.tp-pagination .page-numbers.current { background: var(--tp-accent); border-color: var(--tp-accent); color: #fff; }

/* ---------- Single product ---------- */
.tp-breadcrumb { padding: 14px var(--tp-gutter); background: #fff; border-bottom: 1px solid var(--tp-border); font-size: 13px; color: var(--tp-muted); display: flex; flex-wrap: wrap; gap: 6px; }
.tp-breadcrumb a { color: var(--tp-accent); }
.tp-breadcrumb strong { color: var(--tp-primary); font-weight: 500; }
.tp-product { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding: 40px var(--tp-gutter); background: #fff; }
.tp-gallery-main { height: 440px; border-radius: var(--tp-radius); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; border: 1px solid var(--tp-border); overflow: hidden; }
.tp-gallery-main .tp-card-ph { width: 88%; height: 85%; font-size: 14px; }
.tp-gallery-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tp-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tp-thumb { height: 72px; border-radius: 8px; border: 1px solid var(--tp-border); overflow: hidden; padding: 0; cursor: pointer; background: var(--tp-bg); }
.tp-thumb.is-active { border: 2px solid var(--tp-accent); }
.tp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tp-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.tp-tag { background: rgba(89, 181, 182, .12); color: var(--tp-accent); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: .3px; }
.tp-tag-sm { padding: 2px 8px; font-size: 10px; }
.tp-tag-warm { background: rgba(245, 158, 11, .12); color: var(--tp-star); }
.tp-tag-warm-solid { background: var(--tp-star); color: #fff; }
.tp-tag-dark { background: rgba(16, 70, 70, .08); color: var(--tp-primary); }
.tp-tag-muted { background: #eef0f0; color: var(--tp-muted); }
.tp-wish { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--tp-border); background: #fff; color: var(--tp-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.tp-wish.is-active { color: #e0457b; border-color: #f8bbd0; background: #fce4ec; }
.tp-wish.is-active svg { fill: currentColor; }
.tp-info h1 { font-size: 28px; margin-bottom: 8px; }
.tp-by { color: var(--tp-muted); font-size: 13px; margin-bottom: 16px !important; }
.tp-by span { color: var(--tp-accent); font-weight: 500; }
.tp-rating-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--tp-border); color: var(--tp-muted); font-size: 13px; }
.tp-rating-line .tp-stars { font-size: 14px; }
.tp-sep { color: var(--tp-border); }
.tp-lead { font-size: 14px; line-height: 1.7; margin-bottom: 24px !important; }
.tp-buybox { background: var(--tp-mint); border: 1px solid var(--tp-border); border-radius: 10px; padding: 20px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.tp-buybox-row { margin-bottom: 8px; }
.tp-licenses { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.tp-license { flex: 1; cursor: pointer; border: 1px solid transparent; border-radius: 8px; padding: 8px 10px; margin: -8px -10px; transition: background .15s, border-color .15s; }
.tp-license input { position: absolute; opacity: 0; pointer-events: none; }
.tp-license > span { display: flex; flex-direction: column; }
.tp-license-alt > span { align-items: flex-end; text-align: right; }
.tp-license .tp-muted { font-size: 12px; margin-bottom: 2px; }
.tp-license em { font-style: normal; font-size: 11px; color: var(--tp-muted); margin-top: 2px; }
.tp-licenses .tp-license.is-active { background: #fff; border-color: var(--tp-accent); }
.tp-license:has(input:focus-visible) { outline: 2px solid var(--tp-accent); }
.tp-price-xl { font-size: 32px; font-weight: 700; color: var(--tp-primary); line-height: 1.1; }
.tp-price-md { font-size: 20px; font-weight: 700; color: var(--tp-primary); line-height: 1.6; }
.tp-owned { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--tp-primary); margin-top: 4px !important; }
.tp-owned .tp-icon { width: 16px; height: 16px; color: var(--tp-accent); }
.tp-owned a { color: var(--tp-accent); font-weight: 600; }
.tp-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.tp-meta-grid > div { background: var(--tp-bg); border: 1px solid var(--tp-border); border-radius: 8px; padding: 12px; }
.tp-meta-grid span { display: block; color: var(--tp-muted); font-size: 11px; margin-bottom: 2px; }
.tp-meta-grid strong { color: var(--tp-primary); font-weight: 600; font-size: 13px; }
.tp-ptabs { padding: 0 var(--tp-gutter); background: #fff; border-top: 1px solid var(--tp-border); border-bottom: 1px solid var(--tp-border); display: flex; overflow-x: auto; position: sticky; top: 65px; z-index: 10; }
.admin-bar .tp-ptabs { top: 97px; }
.tp-ptab { padding: 16px 24px; }
.tp-pbody { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding: 40px var(--tp-gutter); background: var(--tp-bg); }
.tp-pbody-full { grid-template-columns: minmax(0, 900px); justify-content: center; }
.tp-pmain { min-width: 0; }
.tp-pmain h3 { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.tp-content { font-size: 15px; line-height: 1.8; color: var(--tp-ink); }
.tp-content > * + * { margin-top: 1em; }
.tp-content h2, .tp-content h3 { margin-top: 1.6em; }
.tp-content img { border-radius: var(--tp-radius); border: 1px solid var(--tp-border); }
.tp-content ul { list-style: disc; padding-left: 1.2em; }
.tp-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 28px !important; }
.tp-features-1 { grid-template-columns: 1fr; }
.tp-features li { display: flex; gap: 10px; align-items: center; padding: 12px; background: #fff; border-radius: 8px; border: 1px solid var(--tp-border); font-size: 13px; }
.tp-features .tp-icon { width: 16px; height: 16px; color: var(--tp-accent); stroke-width: 2.5; }
.tp-pmain .tp-features { margin-top: 0 !important; }
.tp-pmain .tp-content + h3 { margin-top: 32px; }
.tp-pside { display: flex; flex-direction: column; gap: 20px; }
.tp-box { background: #fff; border: 1px solid var(--tp-border); border-radius: var(--tp-radius); padding: 20px; }
.tp-box h4 { font-size: 15px; margin-bottom: 12px; }
.tp-author { display: flex; align-items: center; gap: 12px; margin: 10px 0 14px; }
.tp-author strong { display: block; color: var(--tp-primary); font-size: 14px; }
.tp-author-mark { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--tp-accent), var(--tp-primary)); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tp-included { margin: 0; }
.tp-included > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--tp-border); font-size: 13px; }
.tp-included > div:last-child { border-bottom: 0; }
.tp-included dt { color: var(--tp-muted); }
.tp-included dd { margin: 0; color: var(--tp-primary); font-weight: 600; text-align: right; }
.tp-demo-list li { padding: 6px 0; font-size: 14px; }
.tp-demo-list a { color: var(--tp-accent); font-weight: 500; }
.tp-release { background: #fff; border: 1px solid var(--tp-border); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
.tp-release-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tp-release-ver { background: var(--tp-primary); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.tp-release-date { color: var(--tp-muted); font-size: 13px; }
.tp-release ul { list-style: disc; padding-left: 18px; font-size: 14px; line-height: 1.8; }
.tp-faq { background: #fff; border: 1px solid var(--tp-border); border-radius: 10px; margin-bottom: 10px; }
.tp-faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--tp-primary); font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after { content: '+'; color: var(--tp-accent); font-size: 20px; line-height: 1; }
.tp-faq[open] summary::after { content: '–'; }
.tp-faq div { padding: 0 20px 16px; font-size: 14px; line-height: 1.7; color: var(--tp-ink); }
.tp-shot { margin: 24px 0 0; }
.tp-shot img { border-radius: var(--tp-radius); border: 1px solid var(--tp-border); }

/* Reviews */
.tp-review-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.tp-review { background: #fff; border: 1px solid var(--tp-border); border-radius: 10px; padding: 16px 20px; }
.tp-review-reply { margin-left: 32px; }
.tp-review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tp-review-head > div { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tp-review-head strong { color: var(--tp-primary); font-size: 14px; }
.tp-review-body { font-size: 14px; line-height: 1.7; }
.tp-reviews .comment-respond { background: #fff; border: 1px solid var(--tp-border); border-radius: 10px; padding: 20px; }
.tp-reviews .comment-reply-title { font-size: 18px; color: var(--tp-primary); margin: 0 0 12px; }
.tp-reviews label { display: block; font-size: 13px; font-weight: 600; color: var(--tp-primary); margin-bottom: 6px; }
.tp-reviews input[type=text], .tp-reviews input[type=email], .tp-reviews input[type=url], .tp-reviews textarea, .tp-reviews select { width: 100%; padding: 10px 12px; border: 1px solid var(--tp-border); border-radius: 8px; font: 14px var(--tp-font); }
.tp-reviews select { width: auto; color: var(--tp-star); }
.tp-reviews p { margin-bottom: 12px; }
.tp-reviews .comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* ---------- Account (WooCommerce My Account) ---------- */
.tp-layout.woocommerce-account .woocommerce { max-width: none !important; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0; background: #fff; border: 1px solid var(--tp-border); border-radius: var(--tp-radius); overflow: hidden; }
.tp-layout.woocommerce-account .woocommerce > .tp-profile { grid-column: 1; grid-row: 1; }
.tp-layout.woocommerce-account .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 2; float: none; width: auto; padding: 0 20px 28px; border-right: 1px solid var(--tp-border); }
.tp-layout.woocommerce-account .woocommerce > .tp-profile { border-right: 1px solid var(--tp-border); }
.tp-layout.woocommerce-account .woocommerce-MyAccount-content { grid-column: 2; grid-row: 1 / span 3; float: none; width: auto; padding: 28px 32px; background: var(--tp-bg); min-height: 600px; }
.tp-layout.woocommerce-account:not(.logged-in) .woocommerce { display: block; padding: 32px; }
.tp-layout .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tp-layout .woocommerce-MyAccount-navigation li { margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none; }
.tp-layout .woocommerce-MyAccount-navigation a { display: block; text-decoration: none !important; padding: 10px 14px; color: var(--tp-muted); border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; }
.tp-layout .woocommerce-MyAccount-navigation a:hover { background: var(--tp-bg); color: var(--tp-primary); }
.tp-layout .woocommerce-MyAccount-navigation .is-active a { background: rgba(89, 181, 182, .1); color: var(--tp-accent); font-weight: 600; }
.tp-profile { text-align: center; padding: 28px 20px 20px; margin: 0 0 16px; border-bottom: 1px solid var(--tp-border); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tp-profile-avatar { width: 72px; height: 72px; background: linear-gradient(135deg, var(--tp-accent), var(--tp-primary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; font-size: 24px; font-weight: 700; color: #fff; }
.tp-profile strong { color: var(--tp-primary); font-size: 15px; }
.tp-profile .tp-xs { margin-top: 6px; }
.tp-account-head { margin-bottom: 24px; }
.tp-account-head h2 { font-size: 22px; margin-bottom: 4px; }
.tp-account-head p { font-size: 13px; }
.tp-stat-row { margin-bottom: 24px; gap: 16px; }
.tp-stat { background: #fff; border: 1px solid var(--tp-border); border-radius: 10px; padding: 18px; box-shadow: var(--tp-shadow); }
.tp-stat span { display: block; color: var(--tp-muted); font-size: 12px; margin-bottom: 4px; }
.tp-stat strong { font-size: 24px; font-weight: 700; color: var(--tp-primary); }
.tp-dl-list { display: flex; flex-direction: column; gap: 10px; }
.tp-dl { background: #fff; border: 1px solid var(--tp-border); border-radius: 10px; padding: 16px; display: flex; align-items: center; gap: 16px; box-shadow: var(--tp-shadow); }
.tp-dl.has-update { border-color: var(--tp-accent); box-shadow: none; }
.tp-dl-thumb { width: 72px; height: 54px; border-radius: 6px; flex-shrink: 0; overflow: hidden; }
.tp-dl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tp-dl-info { flex: 1; min-width: 0; }
.tp-dl-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.tp-dl-title h4 { font-size: 14px; font-weight: 600; }
.tp-dl-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.tp-empty-box { background: #fff; border: 1px dashed var(--tp-border); border-radius: 10px; padding: 32px; text-align: center; margin-bottom: 16px; }
.tp-empty-box p { color: var(--tp-muted); margin-bottom: 14px !important; }
.tp-lic { background: #fff; border: 1px solid var(--tp-border); border-radius: 10px; padding: 16px 18px; }
.tp-lic-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.tp-lic h4 { font-size: 14px; margin-bottom: 2px; }
.tp-key { display: flex; align-items: center; gap: 10px; background: var(--tp-bg); border: 1px solid var(--tp-border); border-radius: 8px; padding: 8px 8px 8px 14px; }
.tp-key code { flex: 1; font-size: 14px; letter-spacing: .5px; color: var(--tp-primary); background: none; padding: 0; word-break: break-all; }
.tp-sites { margin-top: 10px !important; }
.tp-sites li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--tp-border); font-size: 13px; }
.tp-sites form { margin: 0; }

/* WooCommerce pages inside the layout */
.tp-layout .woocommerce .button, .tp-layout .wc-block-components-button:not(.is-link), .tp-layout .wp-element-button { background: var(--tp-accent) !important; color: #fff !important; border-radius: 8px !important; font-family: var(--tp-font) !important; font-weight: 600 !important; border: 0 !important; }
.tp-layout .woocommerce-message, .tp-layout .woocommerce-info { border-top-color: var(--tp-accent); }
.tp-order-licenses { margin: 24px 0; }
.tp-order-licenses code { font-size: 14px; }

/* ---------- Preview ---------- */
.tp-preview-body { margin: 0; height: 100vh; display: flex; flex-direction: column; background: #1b2b2a; overflow: hidden; }
.tp-preview-bar { height: 60px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; background: var(--tp-primary); color: #fff; }
.tp-pv-left, .tp-pv-right { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.tp-pv-right { justify-content: flex-end; }
.tp-pv-select select { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; padding: 8px 12px; font: 13px var(--tp-font); max-width: 240px; }
.tp-pv-select option { color: var(--tp-ink); }
.tp-pv-devices { display: flex; gap: 4px; background: rgba(255, 255, 255, .08); border-radius: 8px; padding: 4px; }
.tp-pv-devices button { background: none; border: 0; color: rgba(255, 255, 255, .6); width: 38px; height: 32px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.tp-pv-devices button.is-active, .tp-pv-devices button:hover { background: var(--tp-accent); color: #fff; }
.tp-pv-price { font-weight: 700; font-size: 16px; }
.tp-pv-icon { color: rgba(255, 255, 255, .7) !important; display: inline-flex; padding: 6px; border-radius: 6px; }
.tp-pv-icon:hover { color: #fff !important; background: rgba(255, 255, 255, .1); }
.tp-pv-stage { flex: 1; display: flex; justify-content: center; overflow: auto; }
.tp-pv-frame { width: 100%; height: 100%; border: 0; background: #fff; transition: width .3s; }
.tp-pv-stage.is-device { padding: 24px 0; }
.tp-pv-stage.is-device .tp-pv-frame { border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.tp-pv-note { position: fixed; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(16, 70, 70, .92); color: #fff; font-size: 12px; padding: 8px 14px; border-radius: 20px; margin: 0; opacity: .85; }
.tp-pv-note a { color: #bdeaea; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	:root { --tp-gutter: 32px; }
	.tp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tp-cols-3, .tp-results .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	:root { --tp-gutter: 20px; }
	.tp-menu { display: none; flex-basis: 100%; order: 3; }
	.tp-menu.is-open { display: block; }
	.tp-menu ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0; }
	.tp-menu li { width: 100%; }
	.tp-menu a { display: block; padding: 10px 0; font-size: 15px; }
	.tp-menu .sub-menu { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.tp-menu-toggle { display: inline-flex; }
	.tp-hero { padding: 56px var(--tp-gutter) 48px; }
	.tp-hero h1 { font-size: 34px; letter-spacing: -.5px; }
	.tp-hero-stats { gap: 32px; }
	.tp-grid, .tp-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tp-section { padding: 40px var(--tp-gutter); }
	.tp-product, .tp-pbody { grid-template-columns: 1fr; gap: 28px; }
	.tp-gallery-main { height: 300px; }
	.tp-ptabs { top: 0; position: relative; }
	.tp-catalog-body { grid-template-columns: 1fr; }
	.tp-filter-toggle { display: flex; }
	.tp-filters { display: none; position: static; }
	.tp-filters.is-open { display: block; }
	.tp-footer-grid { grid-template-columns: 1fr 1fr; }
	.tp-layout.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.tp-layout.woocommerce-account .woocommerce > .tp-profile, .tp-layout.woocommerce-account .woocommerce-MyAccount-navigation { border-right: 0; }
	.tp-layout.woocommerce-account .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 2; padding-bottom: 12px; }
	.tp-layout.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; }
	.tp-layout.woocommerce-account .woocommerce-MyAccount-navigation a { white-space: nowrap; }
	.tp-layout.woocommerce-account .woocommerce-MyAccount-content { grid-column: 1; grid-row: 3; padding: 20px; }
	.tp-profile { flex-direction: row; flex-wrap: wrap; justify-content: center; text-align: left; }
	.tp-pv-select:nth-child(3), .tp-pv-price { display: none; }
}
@media (max-width: 600px) {
	.tp-grid, .tp-cols-2, .tp-cols-3, .tp-results .tp-grid, .tp-features { grid-template-columns: 1fr; }
	.tp-hero h1 { font-size: 28px; }
	.tp-hero-stats strong { font-size: 20px; }
	.tp-section-head { flex-direction: column; align-items: flex-start; }
	.tp-cta { padding: 36px 20px; }
	.tp-cta h2 { font-size: 22px; }
	.tp-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.tp-subscribe input { width: 100%; }
	.tp-dl { flex-wrap: wrap; }
	.tp-dl-actions { width: 100%; justify-content: space-between; }
	.tp-stat-row { grid-template-columns: 1fr; }
	.tp-info h1 { font-size: 24px; }
	.tp-price-xl { font-size: 26px; }
	.tp-preview-bar { padding: 0 10px; gap: 8px; }
	.tp-pv-devices { display: none; }
	.tp-pv-select select { max-width: 140px; }
	.tp-nav { gap: 12px; }
	.tp-brand-name { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.tp *, .tp *::before, .tp *::after { transition: none !important; }
}
