/* ============================================================
   SGS UNIFIED TEMPLATE — Complete Professional Stylesheet
   v1.1.0
   ============================================================ */

.has-sgs-unified-template{
	--sgs-primary:#6d28d9;
	--sgs-primary-2:#7c3aed;
	--sgs-accent:#f59e0b;
	--sgs-success:#10b981;
	--sgs-danger:#ef4444;
	--sgs-text:#0f172a;
	--sgs-text-2:#334155;
	--sgs-text-3:#64748b;
	--sgs-bg:#ffffff;
	--sgs-bg-2:#f8fafc;
	--sgs-border:#e2e8f0;
	--sgs-radius:14px;
	--sgs-shadow:0 6px 24px rgba(15,23,42,.08);
	scroll-behavior:smooth;
}

.has-sgs-unified-template .sgs-article,
.has-sgs-unified-template .sgs-article *{box-sizing:border-box;}

.has-sgs-unified-template .sgs-container{
	max-width:1200px;margin:0 auto;padding:0 24px;
}

.has-sgs-unified-template h2[id],
.has-sgs-unified-template h3[id]{scroll-margin-top:80px;}

/* ============== HERO ============== */
.has-sgs-unified-template .sgs-hero{
	background:
		radial-gradient(circle at 20% 20%, rgba(255,255,255,.08) 0%, transparent 40%),
		radial-gradient(circle at 80% 80%, rgba(255,255,255,.06) 0%, transparent 40%),
		linear-gradient(135deg,#5b21b6 0%,#7c3aed 50%,#9333ea 100%);
	color:#fff;padding:84px 0 96px;text-align:center;position:relative;overflow:hidden;
}
.has-sgs-unified-template .sgs-hero__inner{max-width:880px;margin:0 auto;}
.has-sgs-unified-template .sgs-hero__badge{
	display:inline-block;padding:8px 16px;border-radius:999px;
	background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);
	font-size:13px;font-weight:600;letter-spacing:.02em;margin-bottom:18px;
}
.has-sgs-unified-template .sgs-hero__title{
	margin:0 0 16px;color:#fff;font-weight:800;letter-spacing:-.025em;
	font-size:clamp(34px,5vw,58px);line-height:1.08;
}
.has-sgs-unified-template .sgs-hero__subtitle{
	margin:0 auto 22px;max-width:760px;font-size:18px;line-height:1.7;opacity:.94;color:#fff;
}
.has-sgs-unified-template .sgs-hero__rating{
	display:inline-flex;align-items:baseline;gap:8px;
	background:rgba(255,255,255,.12);padding:12px 18px;border-radius:12px;
	margin:6px 0 18px;border:1px solid rgba(255,255,255,.22);
}
.has-sgs-unified-template .sgs-hero__rating-score{font-size:30px;font-weight:800;}
.has-sgs-unified-template .sgs-hero__rating-out{opacity:.8;}
.has-sgs-unified-template .sgs-hero__rating-name{margin-left:8px;opacity:.95;font-weight:600;}
.has-sgs-unified-template .sgs-hero__meta{
	display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;
	font-size:14px;opacity:.96;
}
.has-sgs-unified-template .sgs-hero__meta-item{display:inline-flex;align-items:center;gap:8px;color:#fff;}
.has-sgs-unified-template .sgs-hero__meta-item a{color:#fff;text-decoration:underline;}
.has-sgs-unified-template .sgs-hero__sep{opacity:.5;}
.has-sgs-unified-template .sgs-hero__avatar{border-radius:999px;border:2px solid rgba(255,255,255,.4);}

/* ============== FEATURED IMAGE ============== */
.has-sgs-unified-template .sgs-featured-wrap{padding:28px 0 0;}
.has-sgs-unified-template .sgs-featured{
	margin:0;border-radius:18px;overflow:hidden;background:#fff;box-shadow:var(--sgs-shadow);
}
.has-sgs-unified-template .sgs-featured__img{display:block;width:100%;height:auto;}
.has-sgs-unified-template .sgs-featured__caption{
	padding:12px 16px;font-size:13px;color:var(--sgs-text-3);background:#fff;
	border-top:1px solid var(--sgs-border);
}

/* ============== LAYOUT ============== */
.has-sgs-unified-template .sgs-layout{
	display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;
	padding:48px 24px 72px;align-items:start;
}

/* ============== CONTENT ============== */
.has-sgs-unified-template .sgs-content{
	min-width:0;font-size:18px;line-height:1.85;color:var(--sgs-text);
}
.has-sgs-unified-template .sgs-content p{margin:0 0 1.4em;color:var(--sgs-text-2);}
.has-sgs-unified-template .sgs-content h2{
	margin:2.2em 0 .8em;font-size:32px;font-weight:800;color:var(--sgs-text);
	padding-bottom:10px;border-bottom:3px solid var(--sgs-primary-2);
	display:inline-block;line-height:1.2;letter-spacing:-.02em;
}
.has-sgs-unified-template .sgs-content h3{
	margin:1.8em 0 .6em;font-size:24px;font-weight:700;color:var(--sgs-text);
}
.has-sgs-unified-template .sgs-content h4{margin:1.4em 0 .5em;font-size:20px;font-weight:700;}
.has-sgs-unified-template .sgs-content a{
	color:var(--sgs-primary);text-decoration:underline;text-underline-offset:3px;
	text-decoration-thickness:1px;transition:color .15s,text-decoration-thickness .15s;
}
.has-sgs-unified-template .sgs-content a:hover{
	color:var(--sgs-primary-2);text-decoration-thickness:2px;
}
.has-sgs-unified-template .sgs-content ul,
.has-sgs-unified-template .sgs-content ol{padding-left:24px;margin:0 0 1.4em;}
.has-sgs-unified-template .sgs-content li{margin-bottom:8px;color:var(--sgs-text-2);}
.has-sgs-unified-template .sgs-content img{max-width:100%;height:auto;border-radius:14px;margin:18px 0;}
.has-sgs-unified-template .sgs-content blockquote{
	margin:24px 0;padding:18px 22px;border-left:4px solid var(--sgs-primary-2);
	background:var(--sgs-bg-2);border-radius:0 14px 14px 0;color:var(--sgs-text-2);font-style:italic;
}
.has-sgs-unified-template .sgs-content table{
	width:100%;border-collapse:collapse;margin:22px 0;background:#fff;
	border-radius:14px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.06);
}
.has-sgs-unified-template .sgs-content th{
	background:var(--sgs-primary);color:#fff;padding:14px 18px;text-align:left;
}
.has-sgs-unified-template .sgs-content td{padding:14px 18px;border-bottom:1px solid var(--sgs-border);}
.has-sgs-unified-template .sgs-content tr:nth-child(even) td{background:var(--sgs-bg-2);}

/* ============== DISCLOSURE ============== */
.has-sgs-unified-template .sgs-disclosure{
	background:#fef3c7;border:1px solid #fde68a;color:#854d0e;
	padding:14px 18px;border-radius:12px;margin:0 0 28px;font-size:14px;line-height:1.6;
}

/* ============== BUTTONS ============== */
.has-sgs-unified-template .sgs-btn{
	display:inline-block;padding:14px 24px;border-radius:10px;font-weight:700;
	text-decoration:none;transition:transform .15s,box-shadow .15s;font-size:15px;
}
.has-sgs-unified-template .sgs-btn--primary{background:var(--sgs-primary);color:#fff;}
.has-sgs-unified-template .sgs-btn--secondary{background:var(--sgs-accent);color:#1f2937;}
.has-sgs-unified-template .sgs-btn--outline{background:transparent;color:var(--sgs-primary);border:2px solid var(--sgs-primary);}
.has-sgs-unified-template .sgs-btn--large{padding:18px 36px;font-size:17px;}
.has-sgs-unified-template .sgs-btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(109,40,217,.2);}

/* ============== NOTES ============== */
.has-sgs-unified-template .sgs-note{
	display:flex;gap:14px;align-items:flex-start;padding:16px 18px;
	border-radius:12px;margin:22px 0;border:1px solid var(--sgs-border);background:var(--sgs-bg-2);
}
.has-sgs-unified-template .sgs-note__icon{font-size:22px;line-height:1.2;}
.has-sgs-unified-template .sgs-note__body p{margin:0;}
.has-sgs-unified-template .sgs-note--success{background:#ecfdf5;border-color:#a7f3d0;color:#065f46;}
.has-sgs-unified-template .sgs-note--warning{background:#fffbeb;border-color:#fde68a;color:#92400e;}
.has-sgs-unified-template .sgs-note--danger{background:#fef2f2;border-color:#fecaca;color:#991b1b;}
.has-sgs-unified-template .sgs-note--tip{background:#eef2ff;border-color:#c7d2fe;color:#3730a3;}

/* ============== STEPS ============== */
.has-sgs-unified-template .sgs-step{
	display:grid;grid-template-columns:46px 1fr;gap:14px;align-items:start;
	padding:16px 18px;border:1px solid var(--sgs-border);border-radius:12px;
	background:#fff;margin:14px 0;box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.has-sgs-unified-template .sgs-step__number{
	width:38px;height:38px;border-radius:999px;background:var(--sgs-primary);
	color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;
}
.has-sgs-unified-template .sgs-step__title{margin:0 0 6px;font-size:17px;font-weight:700;color:var(--sgs-text);}
.has-sgs-unified-template .sgs-step__content p{margin:0;color:var(--sgs-text-2);}

/* ============== COMPARISON CARDS ============== */
.has-sgs-unified-template .sgs-vs-wrap{
	display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;margin:32px 0;
}
.has-sgs-unified-template .sgs-vs-card{
	background:#fff;border:2px solid var(--sgs-border);border-radius:var(--sgs-radius);
	padding:26px;text-align:center;transition:transform .25s,box-shadow .25s,border-color .25s;
	box-shadow:0 1px 3px rgba(0,0,0,.05);position:relative;
}
.has-sgs-unified-template .sgs-vs-card:hover{
	transform:translateY(-4px);box-shadow:var(--sgs-shadow);border-color:var(--sgs-primary-2);
}
.has-sgs-unified-template .sgs-vs-card--winner{
	border-color:var(--sgs-success);background:linear-gradient(180deg,#f0fdf4 0%,#fff 100%);
}
.has-sgs-unified-template .sgs-vs-card__badge{
	display:inline-block;background:var(--sgs-success);color:#fff;font-size:12px;
	font-weight:700;padding:4px 10px;border-radius:999px;margin-bottom:10px;
}
.has-sgs-unified-template .sgs-vs-card__img{
	max-width:140px;height:auto;margin:0 auto 12px;display:block;border-radius:8px;
}
.has-sgs-unified-template .sgs-vs-card h3{margin:8px 0;font-size:20px;color:var(--sgs-text);}
.has-sgs-unified-template .sgs-vs-card__specs{margin:0 0 12px;color:var(--sgs-text-3);font-size:13px;}
.has-sgs-unified-template .sgs-vs-card__price{
	font-size:28px;font-weight:800;color:var(--sgs-primary);margin-bottom:14px;
}
.has-sgs-unified-template .sgs-vs-circle{
	width:64px;height:64px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;
	border-radius:50%;display:flex;align-items:center;justify-content:center;
	font-weight:800;font-size:18px;box-shadow:0 8px 20px rgba(239,68,68,.4);
}

/* ============== PROS & CONS ============== */
.has-sgs-unified-template .sgs-proscons{
	display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:28px 0;
}
.has-sgs-unified-template .sgs-proscons__col{
	padding:22px;border-radius:var(--sgs-radius);border:1px solid var(--sgs-border);background:#fff;
}
.has-sgs-unified-template .sgs-proscons__col--pros{background:#f0fdf4;border-color:#bbf7d0;}
.has-sgs-unified-template .sgs-proscons__col--cons{background:#fef2f2;border-color:#fecaca;}
.has-sgs-unified-template .sgs-proscons__col h4{margin:0 0 12px;font-size:18px;font-weight:800;}
.has-sgs-unified-template .sgs-proscons__col ul{margin:0;padding-left:20px;}
.has-sgs-unified-template .sgs-proscons__col li{margin-bottom:6px;color:var(--sgs-text-2);}

/* ============== FAQ ============== */
.has-sgs-unified-template .sgs-faq{
	background:#fff;border:1px solid var(--sgs-border);border-radius:12px;
	margin:14px 0;padding:0;overflow:hidden;
}
.has-sgs-unified-template .sgs-faq__q{
	cursor:pointer;padding:18px 22px;font-weight:700;font-size:17px;
	color:var(--sgs-text);list-style:none;display:flex;justify-content:space-between;align-items:center;
}
.has-sgs-unified-template .sgs-faq__q::after{
	content:'+';font-size:24px;color:var(--sgs-primary);transition:transform .2s;
}
.has-sgs-unified-template .sgs-faq[open] .sgs-faq__q::after{transform:rotate(45deg);}
.has-sgs-unified-template .sgs-faq__a{padding:0 22px 18px;color:var(--sgs-text-2);}
.has-sgs-unified-template .sgs-faq__a p{margin:0;}

/* ============== REVIEW: VERDICT BOX ============== */
.has-sgs-unified-template .sgs-verdict-box{
	background:linear-gradient(135deg,#faf5ff 0%,#f3e8ff 100%);
	border:2px solid #d8b4fe;border-radius:18px;padding:30px;margin:0 0 36px;
	box-shadow:0 8px 24px rgba(124,58,237,.08);
}
.has-sgs-unified-template .sgs-verdict-box__header{
	display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;
	margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #d8b4fe;
}
.has-sgs-unified-template .sgs-verdict-box__title{
	margin:0;font-size:24px;font-weight:800;color:#581c87;border:none;padding:0;
}
.has-sgs-unified-template .sgs-verdict-box__score{display:flex;align-items:baseline;gap:6px;}
.has-sgs-unified-template .sgs-verdict-box__score-num{
	font-size:36px;font-weight:800;color:var(--sgs-primary);line-height:1;
}
.has-sgs-unified-template .sgs-verdict-box__score-out{font-size:18px;color:var(--sgs-text-3);font-weight:600;}
.has-sgs-unified-template .sgs-verdict-box__text{
	font-size:17px;line-height:1.7;color:var(--sgs-text-2);margin:0 0 14px;
}
.has-sgs-unified-template .sgs-verdict-box__best-for{
	background:rgba(255,255,255,.7);padding:12px 16px;border-radius:10px;
	margin:0 0 20px;color:var(--sgs-text-2);
}
.has-sgs-unified-template .sgs-verdict-box__cta{display:inline-block;font-size:16px;padding:16px 32px;}

.has-sgs-unified-template .sgs-stars{
	color:#fbbf24;font-size:18px;margin-left:8px;letter-spacing:2px;
}

/* ============== REVIEW: RATING BREAKDOWN ============== */
.has-sgs-unified-template .sgs-rating-breakdown{
	background:#fff;border:1px solid var(--sgs-border);border-radius:16px;
	padding:24px 28px;margin:32px 0;box-shadow:0 4px 12px rgba(15,23,42,.04);
}
.has-sgs-unified-template .sgs-rating-breakdown__title{
	margin:0 0 18px;font-size:20px;font-weight:800;color:var(--sgs-text);
}
.has-sgs-unified-template .sgs-rating-row{
	display:grid;grid-template-columns:140px 1fr 50px;gap:14px;align-items:center;margin-bottom:12px;
}
.has-sgs-unified-template .sgs-rating-row__label{
	font-weight:600;color:var(--sgs-text-2);font-size:14px;
}
.has-sgs-unified-template .sgs-rating-row__bar{
	height:10px;background:var(--sgs-bg-2);border-radius:999px;overflow:hidden;
}
.has-sgs-unified-template .sgs-rating-row__fill{
	height:100%;background:linear-gradient(90deg,var(--sgs-primary),var(--sgs-primary-2));
	border-radius:999px;transition:width .6s ease;
}
.has-sgs-unified-template .sgs-rating-row__value{
	font-weight:800;color:var(--sgs-primary);text-align:right;font-size:15px;
}

/* ============== REVIEW: FINAL CTA ============== */
.has-sgs-unified-template .sgs-final-cta{
	background:linear-gradient(135deg,var(--sgs-primary) 0%,var(--sgs-primary-2) 100%);
	color:#fff;padding:40px 32px;border-radius:18px;text-align:center;margin:48px 0;
	box-shadow:0 12px 32px rgba(109,40,217,.25);
}
.has-sgs-unified-template .sgs-final-cta h3{
	color:#fff;margin:0 0 12px;font-size:26px;font-weight:800;
}
.has-sgs-unified-template .sgs-final-cta__price{
	font-size:32px;font-weight:800;margin:0 0 20px;color:#fde68a;
}
.has-sgs-unified-template .sgs-final-cta .sgs-btn--primary{background:#fff;color:var(--sgs-primary);}
.has-sgs-unified-template .sgs-final-cta .sgs-btn--primary:hover{background:#fde68a;color:var(--sgs-text);}
.has-sgs-unified-template .sgs-final-cta__note{margin:18px 0 0;font-size:13px;opacity:.85;}

/* ============== AUTHOR + TAXONOMIES ============== */
.has-sgs-unified-template .sgs-article__footer{
	margin-top:48px;padding-top:28px;border-top:1px solid var(--sgs-border);
}
.has-sgs-unified-template .sgs-author-card{
	display:grid;grid-template-columns:72px 1fr;gap:18px;align-items:start;
	padding:22px;border:1px solid var(--sgs-border);border-radius:16px;background:#fff;
	box-shadow:0 4px 16px rgba(15,23,42,.05);
}
.has-sgs-unified-template .sgs-author-card__avatar{border-radius:999px;}
.has-sgs-unified-template .sgs-author-card__name{
	margin:0 0 6px;font-size:18px;font-weight:800;color:var(--sgs-text);
}
.has-sgs-unified-template .sgs-author-card__bio{
	margin:0 0 10px;color:var(--sgs-text-3);font-size:15px;line-height:1.7;
}
.has-sgs-unified-template .sgs-author-card__link{
	font-weight:700;color:var(--sgs-primary);text-decoration:none;
}
.has-sgs-unified-template .sgs-taxonomies{margin-top:22px;display:grid;gap:10px;}
.has-sgs-unified-template .sgs-taxonomies__row{
	display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:var(--sgs-text-3);font-size:14px;
}
.has-sgs-unified-template .sgs-taxonomies__label{font-weight:700;color:var(--sgs-text);}

/* ============== SIDEBAR ============== */
.has-sgs-unified-template .sgs-sidebar{
	position:sticky;top:24px;display:grid;gap:18px;align-self:start;
}
.has-sgs-unified-template .sgs-sidebar__box{
	padding:22px;border:1px solid var(--sgs-border);border-radius:16px;background:#fff;
	box-shadow:0 4px 16px rgba(15,23,42,.04);
}
.has-sgs-unified-template .sgs-sidebar__box--accent{
	background:linear-gradient(135deg,#7c3aed,#5b21b6);color:#fff;border:none;
}
.has-sgs-unified-template .sgs-sidebar__box--accent .sgs-sidebar__title{color:#fff;}
.has-sgs-unified-template .sgs-sidebar__title{
	margin:0 0 14px;font-size:16px;font-weight:800;color:var(--sgs-text);
}
.has-sgs-unified-template .sgs-sidebar__score{font-size:42px;font-weight:800;line-height:1;}
.has-sgs-unified-template .sgs-sidebar__score span{font-size:18px;opacity:.8;margin-left:4px;}
.has-sgs-unified-template .sgs-sidebar__product{margin:8px 0 0;opacity:.95;}

.has-sgs-unified-template .sgs-toc a{
	display:block;padding:8px 0 8px 12px;font-size:14px;color:var(--sgs-text-3);
	text-decoration:none;border-left:2px solid transparent;transition:all .15s;
}
.has-sgs-unified-template .sgs-toc a:hover,
.has-sgs-unified-template .sgs-toc a.active{
	color:var(--sgs-primary);border-left-color:var(--sgs-primary);background:var(--sgs-bg-2);
}

/* ============== RESPONSIVE ============== */
@media (max-width:1024px){
	.has-sgs-unified-template .sgs-layout{grid-template-columns:1fr;}
	.has-sgs-unified-template .sgs-sidebar{position:static;}
}
@media (max-width:640px){
	.has-sgs-unified-template .sgs-hero{padding:60px 0 70px;}
	.has-sgs-unified-template .sgs-layout{padding:34px 16px 56px;}
	.has-sgs-unified-template .sgs-content{font-size:17px;}
	.has-sgs-unified-template .sgs-content h2{font-size:26px;}
	.has-sgs-unified-template .sgs-author-card{grid-template-columns:1fr;}
	.has-sgs-unified-template .sgs-vs-wrap{grid-template-columns:1fr;}
	.has-sgs-unified-template .sgs-vs-circle{margin:0 auto;}
	.has-sgs-unified-template .sgs-proscons{grid-template-columns:1fr;}
	.has-sgs-unified-template .sgs-verdict-box{padding:22px;}
	.has-sgs-unified-template .sgs-verdict-box__title{font-size:20px;}
	.has-sgs-unified-template .sgs-verdict-box__score-num{font-size:28px;}
	.has-sgs-unified-template .sgs-rating-row{grid-template-columns:100px 1fr 40px;font-size:13px;}
	.has-sgs-unified-template .sgs-final-cta{padding:30px 20px;}
	.has-sgs-unified-template .sgs-final-cta h3{font-size:22px;}
	.has-sgs-unified-template .sgs-final-cta__price{font-size:26px;}
}
