/* SeoCore front — composer output blocks (product cards / takeaways / FAQ).
   Self-contained + theme-agnostic: everything namespaced, accent via --scpl-ac. */

/* ---------------------------------------------------------------- products */
.scpl {
	--scpl-ac: #f0521b;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
	margin: 1.6em 0;
	padding: 0;
}
.scpl-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e2e5ea;
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none !important;
	color: #1b1e24;
	box-shadow: 0 1px 2px rgba(15, 20, 30, .04);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.scpl-card:hover {
	border-color: var(--scpl-ac);
	box-shadow: 0 10px 26px -12px rgba(15, 20, 30, .28);
	transform: translateY(-2px);
	color: #1b1e24;
}
.scpl-thumb {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: #f6f7f9;
}
.scpl-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	margin: 0 !important;
	mix-blend-mode: multiply;
}
.scpl-noimg {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 42px;
	color: #c6cbd4;
}
.scpl-stock {
	position: absolute;
	bottom: 8px;
	inset-inline-start: 8px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 8px;
	border-radius: 99px;
	background: rgba(255, 255, 255, .92);
	border: 1px solid #e2e5ea;
	color: #8a919d;
	backdrop-filter: blur(2px);
}
.scpl-stock i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #b6bcc6;
}
.scpl-stock.is-in { color: #0f7a3d; border-color: #bfe6cf; }
.scpl-stock.is-in i { background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.scpl-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px 14px;
	flex: 1 1 auto;
}
.scpl-name {
	font-size: 14px;
	font-weight: 800;
	line-height: 1.7;
	color: #1b1e24;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.4em;
}
.scpl-rate { font-size: 12px; color: #c98a04; font-weight: 700; }
.scpl-rate i { color: #8a919d; font-style: normal; font-weight: 400; }
.scpl-price {
	font-size: 14px;
	font-weight: 800;
	color: #1b1e24;
	margin-top: auto;
}
.scpl-price del { color: #a2a8b3; font-weight: 400; font-size: 12px; margin-inline-end: 6px; }
.scpl-price ins { text-decoration: none; }
.scpl-ask { color: #6a7078; font-weight: 700; font-size: 13px; }
.scpl-cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--scpl-ac);
	margin-top: 2px;
}
.scpl-card:hover .scpl-cta svg { transform: translateX(-3px); }
.scpl-cta svg { transition: transform .18s ease; }

@media (max-width: 680px) {
	.scpl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.scpl-body { padding: 10px 11px 12px; }
	.scpl-name { font-size: 12.5px; }
	.scpl-price { font-size: 13px; }
}

/* ------------------------------------------------------------- takeaways */
.sc-take {
	margin: 1.6em 0;
	padding: 18px 20px 16px;
	border: 1px solid #e2e5ea;
	border-inline-start: 4px solid var(--scpl-ac, #f0521b);
	border-radius: 12px;
	background: linear-gradient(180deg, #fbfbfc, #f5f6f8);
}
.sc-take > strong:first-child,
.sc-take-title {
	display: block;
	font-size: 14px;
	font-weight: 900;
	margin-bottom: 8px;
	color: #1b1e24;
}
.sc-take ul { margin: 0 !important; padding: 0 18px 0 0; }
.sc-take li { margin: 4px 0; line-height: 1.9; font-size: 14px; }
.sc-take li::marker { color: var(--scpl-ac, #f0521b); }

/* ------------------------------------------------------------------- FAQ */
.seocore-faq { margin: 1.8em 0; }
.seocore-faq > .sc-faq-h {
	font-size: 1.15em;
	font-weight: 900;
	margin: 0 0 10px;
}
.seocore-faq details {
	border: 1px solid #e2e5ea;
	border-radius: 12px;
	background: #fff;
	margin: 8px 0;
	overflow: hidden;
}
.seocore-faq details[open] { border-color: var(--scpl-ac, #f0521b); }
.seocore-faq summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 13px 16px;
	font-weight: 800;
	font-size: 14px;
	line-height: 1.8;
	color: #1b1e24;
}
.seocore-faq summary::-webkit-details-marker { display: none; }
.seocore-faq summary::after {
	content: "+";
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 7px;
	border: 1px solid #e2e5ea;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #6a7078;
	transition: transform .18s ease;
}
.seocore-faq details[open] summary::after {
	content: "–";
	color: var(--scpl-ac, #f0521b);
	border-color: var(--scpl-ac, #f0521b);
}
.seocore-faq .sc-faq-a {
	padding: 0 16px 14px;
	font-size: 14px;
	line-height: 2;
	color: #3a3f48;
}

/* ------------------------------------------------- composer content polish */
.sc-figure { margin: 1.6em 0; }
.sc-figure img { border-radius: 12px; }
.sc-figure figcaption {
	font-size: 12.5px;
	color: #6a7078;
	margin-top: 8px;
	padding-inline-start: 10px;
	border-inline-start: 3px solid var(--scpl-ac, #f0521b);
}
.sc-tablewrap { overflow-x: auto; margin: 1.6em 0; }
.sc-tablewrap table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sc-tablewrap th {
	background: #1b1e24;
	color: #fff;
	font-weight: 800;
	padding: 10px 12px;
	text-align: right;
}
.sc-tablewrap td { padding: 9px 12px; border-bottom: 1px solid #e9ebef; }
.sc-tablewrap tr:nth-child(even) td { background: #f8f9fb; }
