/* ClarioReview Pro Site Builder — front-end styles */
:root {
	--cpro-primary: #4f46e5;
	--cpro-primary-dark: #3730a3;
	--cpro-accent: #f97316;
	--cpro-accent-dark: #ea580c;
	--cpro-ink: #0f172a;
	--cpro-muted: #475569;
	--cpro-line: #e2e8f0;
	--cpro-soft: #f8fafc;
	--cpro-good: #16a34a;
	--cpro-bad: #dc2626;
	--cpro-star: #f59e0b;
	--cpro-radius: 14px;
	--cpro-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
}

/* ---------- GeneratePress polish ---------- */
.cpro-site { color: var(--cpro-ink); }
.cpro-site .site-header { border-bottom: 1px solid var(--cpro-line); }
.cpro-site .main-title a,
.cpro-site .main-title a:hover { color: var(--cpro-ink); font-weight: 800; letter-spacing: -.02em; }
.cpro-site .site-description { color: var(--cpro-muted); }
.cpro-site .main-navigation,
.cpro-site .main-navigation ul ul { background: #fff; }
.cpro-site .main-navigation .main-nav ul li a { color: var(--cpro-ink); font-weight: 600; }
.cpro-site .main-navigation .main-nav ul li:hover > a,
.cpro-site .main-navigation .main-nav ul li.current-menu-item > a { color: var(--cpro-primary); }
.cpro-site .main-navigation ul ul { box-shadow: var(--cpro-shadow); border-radius: 10px; }
.cpro-site a { color: var(--cpro-primary); }
.cpro-site a:hover { color: var(--cpro-primary-dark); }
.cpro-site .entry-content h2 { letter-spacing: -.01em; }
.cpro-site .site-info { background: var(--cpro-ink); color: #cbd5e1; padding: 0; }
.cpro-site .site-info .inside-site-info { padding: 0; display: block; }
.cpro-site .site-info .copyright-bar { width: 100%; }
.cpro-home.full-width-content .container.grid-container { max-width: 100%; }
.cpro-home .entry-header { display: none; }
.cpro-home .entry-content { margin-top: 0; }
.cpro-home .inside-article { padding: 0; }
.cpro-home .site-main > article { margin-bottom: 0; }

/* ---------- layout helpers ---------- */
.cpro-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.cpro-section { padding: 56px 0; }
.cpro-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.cpro-section__title { font-size: 28px; line-height: 1.2; font-weight: 800; margin: 0 0 24px; color: var(--cpro-ink); letter-spacing: -.02em; }
.cpro-section__head .cpro-section__title { margin: 0; }
.cpro-section__more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.entry-content .cpro-section > .cpro-wrap > :last-child { margin-bottom: 0; }

/* ---------- buttons ---------- */
.cpro-btn,
.entry-content a.cpro-btn {
	display: inline-block; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 16px; line-height: 1.2;
	text-decoration: none; text-align: center; transition: background .15s ease, transform .15s ease; border: 2px solid transparent;
}
.cpro-btn:hover { transform: translateY(-1px); }
.cpro-btn--primary, .entry-content a.cpro-btn--primary { background: var(--cpro-accent); color: #fff; }
.cpro-btn--primary:hover, .entry-content a.cpro-btn--primary:hover { background: var(--cpro-accent-dark); color: #fff; }
.cpro-btn--secondary, .entry-content a.cpro-btn--secondary { background: #fff; color: var(--cpro-primary); border-color: var(--cpro-primary); }
.cpro-btn--secondary:hover, .entry-content a.cpro-btn--secondary:hover { background: var(--cpro-primary); color: #fff; }
.cpro-btn--light, .entry-content a.cpro-btn--light { background: #fff; color: var(--cpro-primary-dark); }
.cpro-btn--light:hover, .entry-content a.cpro-btn--light:hover { background: #eef2ff; color: var(--cpro-primary-dark); }
.entry-content a.cpro-btn + a.cpro-btn { margin-left: 10px; }

/* ---------- hero ---------- */
.cpro-hero {
	background: radial-gradient(1200px 400px at 85% -10%, rgba(249, 115, 22, .25), transparent 60%),
		linear-gradient(135deg, #312e81 0%, #4f46e5 55%, #6366f1 100%);
	color: #fff; padding: 88px 0 80px; text-align: center;
}
.cpro-eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.cpro-hero__title { color: #fff; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; max-width: 860px; margin: 0 auto 18px; }
.cpro-hero__text { font-size: 19px; line-height: 1.6; color: #e0e7ff; max-width: 680px; margin: 0 auto 30px; }
.cpro-search { display: flex; max-width: 620px; margin: 0 auto 26px; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 12px 40px rgba(15, 23, 42, .25); }
.cpro-search input[type="search"] { flex: 1; border: 0; background: transparent; padding: 12px 14px; font-size: 16px; color: var(--cpro-ink); min-width: 0; outline: none; }
.cpro-search button { border: 0; border-radius: 8px; background: var(--cpro-accent); color: #fff; font-weight: 700; padding: 12px 24px; cursor: pointer; font-size: 16px; }
.cpro-search button:hover { background: var(--cpro-accent-dark); }
.cpro-hero__actions { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }
.cpro-hero__link, .entry-content a.cpro-hero__link { color: #fff; font-weight: 600; text-decoration: none; }
.cpro-hero__link:hover { color: #fde68a; }
.cpro-hero__points { list-style: none; margin: 34px 0 0; padding: 0; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font-size: 15px; color: #e0e7ff; }
.cpro-hero__points li { margin: 0; }
.cpro-hero__points li::before { content: "\2713"; color: #fde68a; font-weight: 800; margin-right: 8px; }

/* ---------- categories ---------- */
.cpro-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cpro-cat, .entry-content a.cpro-cat {
	display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--cpro-line); border-radius: var(--cpro-radius);
	background: #fff; text-decoration: none; color: var(--cpro-ink); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cpro-cat:hover { border-color: var(--cpro-primary); box-shadow: var(--cpro-shadow); transform: translateY(-2px); color: var(--cpro-ink); }
.cpro-cat__icon { width: 44px; height: 44px; border-radius: 12px; background: #eef2ff; color: var(--cpro-primary); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; margin-bottom: 6px; }
.cpro-cat__name { font-size: 18px; font-weight: 700; }
.cpro-cat__desc { font-size: 14.5px; color: var(--cpro-muted); line-height: 1.5; }
.cpro-cat__count { font-size: 13px; font-weight: 600; color: var(--cpro-primary); margin-top: auto; padding-top: 8px; }

/* ---------- cards ---------- */
.cpro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cpro-card { background: #fff; border: 1px solid var(--cpro-line); border-radius: var(--cpro-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.cpro-card:hover { box-shadow: var(--cpro-shadow); transform: translateY(-2px); }
.cpro-card__thumb { display: block; aspect-ratio: 16 / 9; background: #eef2ff; overflow: hidden; }
.cpro-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpro-card__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #6366f1, #4f46e5); }
.cpro-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cpro-card__cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cpro-primary); }
.cpro-card__title { font-size: 19px; line-height: 1.35; margin: 0; font-weight: 700; }
.cpro-card__title a, .entry-content .cpro-card__title a { color: var(--cpro-ink); text-decoration: none; }
.cpro-card__title a:hover { color: var(--cpro-primary); }
.cpro-card__excerpt { font-size: 15px; color: var(--cpro-muted); line-height: 1.55; margin: 0; }
.cpro-card__meta { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.cpro-card__score { font-weight: 700; }
.cpro-card__more, .entry-content a.cpro-card__more { margin-left: auto; font-weight: 600; text-decoration: none; }

/* ---------- stars ---------- */
.cpro-stars { position: relative; display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 2px; vertical-align: middle; }
.cpro-stars::before { content: "\2605\2605\2605\2605\2605"; color: #e2e8f0; }
.cpro-stars__fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; }
.cpro-stars__fill::before { content: "\2605\2605\2605\2605\2605"; color: var(--cpro-star); }

/* ---------- trust ---------- */
.cpro-trust { background: var(--cpro-soft); border-top: 1px solid var(--cpro-line); border-bottom: 1px solid var(--cpro-line); }
.cpro-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cpro-trust__item { background: #fff; border: 1px solid var(--cpro-line); border-radius: var(--cpro-radius); padding: 22px; }
.cpro-trust__num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--cpro-primary); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 12px; }
.cpro-trust__item h3 { font-size: 17px; margin: 0 0 6px; font-weight: 700; }
.cpro-trust__item p { font-size: 15px; color: var(--cpro-muted); margin: 0; line-height: 1.55; }
.cpro-trust__link { margin: 24px 0 0; font-weight: 600; }

/* ---------- CTA band ---------- */
.cpro-band { background: linear-gradient(135deg, #1e1b4b, #3730a3); color: #fff; padding: 48px 0; }
.cpro-band .cpro-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cpro-band h2 { color: #fff; margin: 0 0 6px; font-size: 26px; font-weight: 800; }
.cpro-band p { margin: 0; color: #c7d2fe; }

/* ---------- empty state ---------- */
.cpro-empty { border: 1px dashed #cbd5e1; border-radius: var(--cpro-radius); padding: 28px; text-align: center; color: var(--cpro-muted); background: #fff; }
.cpro-empty small { display: block; margin-top: 6px; color: #94a3b8; }

/* ---------- All Reviews page ---------- */
.cpro-catsecs { padding: 0; }
.cpro-catsec { padding: 28px 0 36px; border-bottom: 1px solid var(--cpro-line); }
.cpro-catsec:last-child { border-bottom: 0; }
.cpro-catsec .cpro-section__head { margin-bottom: 6px; }
.cpro-catsec__desc { color: var(--cpro-muted); margin: 0 0 20px; }

/* ---------- disclosure ---------- */
.cpro-disclosure { font-size: 14px; line-height: 1.55; color: var(--cpro-muted); background: var(--cpro-soft); border: 1px solid var(--cpro-line); border-left: 4px solid var(--cpro-primary); border-radius: 8px; padding: 12px 16px; margin: 0 0 28px; }

/* ---------- review box ---------- */
.cpro-review { display: flex; gap: 24px; align-items: center; border: 2px solid var(--cpro-primary); border-radius: var(--cpro-radius); padding: 24px; margin: 0 0 32px; background: linear-gradient(180deg, #f5f7ff, #fff); }
.cpro-review__img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.cpro-review__main { flex: 1; min-width: 0; }
.cpro-review__label { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--cpro-primary); }
.cpro-review__name { margin: 2px 0 6px; font-size: 24px; font-weight: 800; line-height: 1.2; }
.cpro-review__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cpro-review__rating .cpro-stars { font-size: 20px; }
.cpro-review__verdict { margin: 0 0 10px; color: var(--cpro-ink); }
.cpro-review__facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.cpro-review__facts div { display: flex; gap: 6px; font-size: 15px; }
.cpro-review__facts dt { font-weight: 700; margin: 0; }
.cpro-review__facts dd { margin: 0; color: var(--cpro-muted); }
.cpro-review__cta { flex-shrink: 0; }

/* ---------- pros / cons ---------- */
.cpro-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 32px; }
.cpro-pc__col { border-radius: var(--cpro-radius); padding: 20px 22px; border: 1px solid var(--cpro-line); }
.cpro-pc__pros { background: #f0fdf4; border-color: #bbf7d0; }
.cpro-pc__cons { background: #fef2f2; border-color: #fecaca; }
.cpro-pc__title { font-weight: 800; margin: 0 0 10px; font-size: 17px; }
.cpro-pc__list { list-style: none; margin: 0; padding: 0; }
.cpro-pc__list li { position: relative; padding-left: 26px; margin: 0 0 8px; line-height: 1.5; }
.cpro-pc__pros li::before { content: "\2713"; position: absolute; left: 0; color: var(--cpro-good); font-weight: 800; }
.cpro-pc__cons li::before { content: "\2715"; position: absolute; left: 0; color: var(--cpro-bad); font-weight: 800; }

/* ---------- comparison table ---------- */
.cpro-table-wrap { overflow-x: auto; margin: 0 0 32px; border: 1px solid var(--cpro-line); border-radius: var(--cpro-radius); }
.cpro-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; border: 0; }
.cpro-table th, .cpro-table td { padding: 13px 16px; text-align: left; border: 0; border-bottom: 1px solid var(--cpro-line); vertical-align: middle; }
.cpro-table thead th { background: var(--cpro-ink); color: #fff; font-weight: 700; font-size: 14px; }
.cpro-table tbody th { font-weight: 700; }
.cpro-table tbody tr:nth-child(even) { background: var(--cpro-soft); }
.cpro-table tbody tr:last-child th, .cpro-table tbody tr:last-child td { border-bottom: 0; }
.cpro-table__score { font-weight: 700; margin-left: 4px; }

/* ---------- ranked product ---------- */
.cpro-product { position: relative; border: 1px solid var(--cpro-line); border-radius: var(--cpro-radius); padding: 24px; margin: 0 0 24px; background: #fff; box-shadow: var(--cpro-shadow); }
.cpro-product__rank { position: absolute; top: -14px; left: 20px; background: var(--cpro-primary); color: #fff; font-weight: 800; padding: 4px 12px; border-radius: 999px; font-size: 14px; }
.cpro-product__head { display: flex; gap: 16px; align-items: center; margin: 6px 0 8px; }
.cpro-product__head img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cpro-product__name { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.cpro-product__badge { display: inline-block; background: #fff7ed; color: var(--cpro-accent-dark); border: 1px solid #fed7aa; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.cpro-product__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cpro-product__price { margin-left: 8px; color: var(--cpro-muted); font-weight: 600; }
.cpro-product__text p:last-child { margin-bottom: 16px; }

/* ---------- notes, FAQ ---------- */
.cpro-note { border-radius: var(--cpro-radius); padding: 18px 20px; margin: 0 0 28px; border: 1px solid; }
.cpro-note--info { background: #eff6ff; border-color: #bfdbfe; }
.cpro-note--tip { background: #f0fdf4; border-color: #bbf7d0; }
.cpro-note--warning { background: #fffbeb; border-color: #fde68a; }
.cpro-note__title { font-weight: 800; margin: 0 0 6px; }
.cpro-note__body p:last-child { margin-bottom: 0; }
.cpro-faq { border: 1px solid var(--cpro-line); border-radius: 10px; margin: 0 0 12px; background: #fff; }
.cpro-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; position: relative; padding-right: 44px; }
.cpro-faq summary::-webkit-details-marker { display: none; }
.cpro-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--cpro-primary); }
.cpro-faq[open] summary::after { content: "\2212"; }
.cpro-faq__a { padding: 0 18px 4px; color: var(--cpro-muted); }

/* ---------- author box, related ---------- */
.cpro-author { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--cpro-line); background: var(--cpro-soft); border-radius: var(--cpro-radius); padding: 22px; margin: 40px 0 0; }
.cpro-author img { border-radius: 50%; flex-shrink: 0; }
.cpro-author__label { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--cpro-muted); font-weight: 700; }
.cpro-author__name { margin: 2px 0 6px; font-weight: 800; font-size: 18px; }
.cpro-author__bio { margin: 0 0 8px; color: var(--cpro-muted); font-size: 15px; }
.cpro-author__link { font-weight: 600; font-size: 14px; text-decoration: none; }
.cpro-related { margin: 40px 0 0; }
.cpro-related h2 { font-size: 24px; margin: 0 0 18px; }
.cpro-related .cpro-card__title { font-size: 17px; }

/* ---------- contact form ---------- */
.cpro-form { max-width: 620px; }
.cpro-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.cpro-form input[type="text"], .cpro-form input[type="email"], .cpro-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 16px; box-sizing: border-box; background: #fff; }
.cpro-form input:focus, .cpro-form textarea:focus { border-color: var(--cpro-primary); outline: 2px solid #c7d2fe; }
.cpro-form button { border: 0; cursor: pointer; }
.cpro-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cpro-alert { padding: 14px 16px; border-radius: 10px; margin: 0 0 20px; font-weight: 600; }
.cpro-alert--ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.cpro-alert--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- footer ---------- */
.cpro-footer { max-width: 1180px; margin: 0 auto; padding: 36px 20px; text-align: center; color: #cbd5e1; }
.cpro-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 16px; }
.cpro-footer__links a, .cpro-site .site-info .cpro-footer__links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.cpro-footer__links a:hover { color: #fde68a; }
.cpro-footer__note { font-size: 13px; color: #94a3b8; max-width: 760px; margin: 0 auto 10px; line-height: 1.6; }
.cpro-footer__copy { font-size: 13px; color: #94a3b8; margin: 0; }
.cpro-footer-fallback { background: var(--cpro-ink); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
	.cpro-cats, .cpro-grid { grid-template-columns: repeat(2, 1fr); }
	.cpro-trust__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.cpro-section { padding: 40px 0; }
	.cpro-hero { padding: 56px 0 52px; }
	.cpro-hero__text { font-size: 17px; }
	.cpro-search { flex-direction: column; gap: 6px; }
	.cpro-search button { width: 100%; }
	.cpro-grid, .cpro-trust__grid, .cpro-pc { grid-template-columns: 1fr; }
	.cpro-cats { grid-template-columns: 1fr 1fr; gap: 12px; }
	.cpro-cat, .entry-content a.cpro-cat { padding: 16px; }
	.cpro-cat__desc { display: none; }
	.cpro-cat__name { font-size: 16px; }
	.cpro-section__title { font-size: 24px; }
	.cpro-review { flex-direction: column; align-items: stretch; text-align: left; }
	.cpro-review__cta .cpro-btn { width: 100%; box-sizing: border-box; }
	.cpro-band .cpro-wrap { flex-direction: column; align-items: flex-start; }
	.cpro-author { flex-direction: column; }
	.entry-content a.cpro-btn + a.cpro-btn { margin: 10px 0 0; }
}
