/**
 * AdamsGames – catalog (shop/category archives): hero, category pills,
 * sidebar filters and product-card styling for the Porto posts grid.
 */

/* ── Hero ── */
.ag-shophero {
	position: relative;
	background: #071820;
	isolation: isolate;
	margin-bottom: 0;
}
.ag-shophero__bg {
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}
.ag-shophero__scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(92deg,
		rgba(5, 19, 26, 0.95) 0%,
		rgba(5, 19, 26, 0.86) 40%,
		rgba(5, 19, 26, 0.62) 70%,
		rgba(5, 19, 26, 0.38) 100%);
}
.ag-shophero__wrap {
	position: relative; z-index: 2;
	padding-top: clamp(34px, 5vw, 56px);
	padding-bottom: clamp(34px, 5vw, 56px);
}
.ag-shophero__crumb {
	display: flex;
	gap: 8px;
	font-size: 0.76rem;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 12px;
}
.ag-shophero__crumb a { color: rgba(255, 255, 255, 0.75) !important; text-decoration: none !important; }
.ag-shophero__crumb a:hover { color: #00d4d4 !important; }
.ag-shophero__crumb em { font-style: normal; color: #00d4d4; }
.ag-shophero__title {
	margin: 0;
	font-size: clamp(1.65rem, 3.4vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #ffffff;
}
.ag-shophero__sub {
	margin: 10px 0 0;
	max-width: 520px;
	font-size: clamp(0.9rem, 1.3vw, 1rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}
.ag-shophero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin-top: 16px;
}
.ag-shophero__meta .ag-shophero__count { margin-top: 0; }
.ag-shophero__en {
	margin: 0;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.62);
}
.ag-shophero__count {
	display: inline-block;
	margin-top: 16px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(0, 212, 212, 0.15);
	border: 1px solid rgba(0, 212, 212, 0.45);
	color: #00d4d4;
	font-size: 0.76rem;
	font-weight: 700;
}

/* ── Category pills ── */
.ag-catpills {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: #ffffff;
	border-bottom: 1px solid #e8edf1;
	box-shadow: 0 8px 22px rgba(13, 35, 49, 0.05);
	position: relative;
	z-index: 3;
}
.ag-catpills__scroll {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 10px 2px;
}
.ag-catpills__scroll::-webkit-scrollbar { display: none; }
.ag-catpill {
	flex: 0 0 auto;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 108px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid transparent;
	color: #3c4b56 !important;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none !important;
	transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.ag-catpill svg { color: #6b7a85; transition: color 0.18s ease; }
.ag-catpill:hover { background: #f2fbfb; color: #00a5a5 !important; }
.ag-catpill:hover svg { color: #00b8b8; }
.ag-catpill.is-active {
	background: #eefafa;
	border-color: rgba(0, 184, 184, 0.4);
	color: #008a8a !important;
	font-weight: 700;
}
.ag-catpill.is-active svg { color: #00b8b8; }

/* ── Shop layout (Elementor section in template 143) ── */
.ag-shop-main > .elementor-container { align-items: flex-start; }

/* ── Sidebar filters ── */
.ag-filters { position: sticky; top: 90px; }
.ag-filters__box {
	background: #ffffff;
	border: 1px solid #e8edf1;
	border-radius: 10px;
	box-shadow: 0 6px 22px rgba(13, 35, 49, 0.06);
	padding: 0 0 8px;
	overflow: hidden;
}
.ag-filters__box summary {
	list-style: none;
	cursor: pointer;
	padding: 15px 18px 13px;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #13232e;
	border-bottom: 1px solid #eef2f5;
	position: relative;
}
.ag-filters__box summary::-webkit-details-marker { display: none; }
.ag-filters__box summary::after {
	content: "";
	position: absolute;
	right: 18px; top: 50%;
	width: 8px; height: 8px;
	border-right: 2px solid #8a98a3;
	border-bottom: 2px solid #8a98a3;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s ease;
}
.ag-filters__box[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ag-filters__list {
	list-style: none;
	margin: 6px 0 0;
	padding: 0 10px;
	max-height: 430px;
	overflow-y: auto;
}
.ag-filters__list li { margin: 0; }
.ag-filters__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 8px;
	border-radius: 7px;
	font-size: 0.83rem;
	color: #3c4b56 !important;
	text-decoration: none !important;
	transition: background 0.15s ease, color 0.15s ease;
}
.ag-filters__list a:hover { background: #f4f8fa; color: #008a8a !important; }
.ag-filters__tick {
	flex: none;
	width: 16px; height: 16px;
	border-radius: 4px;
	border: 1.6px solid #c4cdd4;
	position: relative;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.ag-filters__list a.is-active .ag-filters__tick {
	background: #00b8b8;
	border-color: #00b8b8;
}
.ag-filters__list a.is-active .ag-filters__tick::after {
	content: "";
	position: absolute;
	left: 4.5px; top: 1.5px;
	width: 4px; height: 8px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(40deg);
}
.ag-filters__list a.is-active { color: #008a8a !important; font-weight: 700; }
.ag-filters__name { flex: 1 1 auto; }
.ag-filters__count {
	flex: none;
	font-size: 0.7rem;
	font-weight: 700;
	color: #8a98a3;
	background: #f1f5f7;
	border-radius: 999px;
	padding: 2px 8px;
}
.ag-filters__list a.is-active .ag-filters__count { background: #d9f4f4; color: #008a8a; }

.ag-filters__cta {
	margin-top: 18px;
	background: linear-gradient(160deg, #0a1e29 0%, #081c26 70%);
	border-radius: 10px;
	padding: 22px 20px;
	color: #fff;
}
.ag-filters__cta h3 {
	margin: 0 0 8px;
	font-size: 0.95rem;
	font-weight: 800;
	color: #fff;
}
.ag-filters__cta p {
	margin: 0 0 16px;
	font-size: 0.8rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.75);
}
.ag-filters__cta .ag-btn { width: 100%; }

/* ── Product cards (Porto posts grid) ── */
.archive-products .porto-tb-item.product {
	background: #ffffff;
	border: 1px solid #e8edf1;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(13, 35, 49, 0.05);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.archive-products .porto-tb-item.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(13, 35, 49, 0.12);
}
.archive-products .porto-tb-featured-image {
	position: relative;
	background: #fbfcfd;
	border-bottom: 1px solid #eef2f5;
}
.archive-products .porto-tb-featured-image .img-thumbnail {
	border: none;
	background: transparent;
	padding: 14px;
	display: block;
}

/* NEO badge for the «ΝΕΑ ΠΑΙΧΝΙΔΙΑ» category (term 248) */
.archive-products .porto-tb-item.product_cat-248 .porto-tb-featured-image::before {
	content: "ΝΕΟ";
	position: absolute;
	left: 12px; top: 12px;
	z-index: 3;
	padding: 4px 10px;
	border-radius: 6px;
	background: linear-gradient(135deg, #00d4d4, #00a5a5);
	color: #fff;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	box-shadow: 0 3px 10px rgba(0, 184, 184, 0.4);
}

.archive-products .product-content {
	padding: 14px 16px 16px !important;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	text-align: left;
}
.archive-products .tb-meta-product_cat { margin-bottom: 4px; }
.archive-products .tb-meta-product_cat a {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #8a98a3 !important;
	text-decoration: none !important;
}
.archive-products .tb-meta-product_cat a:hover { color: #00a5a5 !important; }
.archive-products h3.post-title {
	margin: 0 0 10px !important;
	font-size: 0.92rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.01em;
	line-height: 1.35 !important;
	text-transform: uppercase;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.5em;
}
.archive-products h3.post-title a { color: #13232e !important; }
.archive-products h3.post-title a:hover { color: #00a5a5 !important; }
.archive-products .tb-woo-rating:empty,
.archive-products .tb-woo-price:empty { display: none; }

/* Card CTA: quiet text link (the strong CTA lives on the product page) */
:is(.archive-products, .elementor-widget-porto_cp_linked) .cart-action {
	margin-top: auto;
	border-top: 1px solid #eef2f5;
	padding-top: 10px;
}
:is(.archive-products, .elementor-widget-porto_cp_linked) a.add_to_cart_button,
.archive-products a.porto-tb-addcart {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	width: auto;
	padding: 2px 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #7a8892 !important;
	font-size: 0.76rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em;
	text-decoration: none !important;
	text-transform: none;
	transition: color 0.18s ease;
	box-shadow: none !important;
}
:is(.archive-products, .elementor-widget-porto_cp_linked) a.add_to_cart_button::after {
	content: "→";
	font-size: 0.85rem;
	line-height: 1;
	transition: transform 0.18s ease;
}
:is(.archive-products, .elementor-widget-porto_cp_linked) a.add_to_cart_button:hover {
	background: transparent !important;
	color: #009a9a !important;
	box-shadow: none !important;
}
:is(.archive-products, .elementor-widget-porto_cp_linked) a.add_to_cart_button:hover::after { transform: translateX(3px); }

/* Quickview button */
.archive-products .porto-tb-quickview {
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.95) !important;
	color: #13232e !important;
	box-shadow: 0 4px 14px rgba(13, 35, 49, 0.18);
}
.archive-products .porto-tb-quickview:hover {
	background: #00b8b8 !important;
	color: #fff !important;
}

/* Grid spacing */
.archive-products .products-container { row-gap: 22px; }

/* Pagination */
.porto-posts-grid .pagination .page-numbers,
.porto-posts-grid ul.page-numbers .page-numbers {
	border-radius: 8px;
	font-weight: 700;
}
.porto-posts-grid .page-numbers.current {
	background: #00b8b8 !important;
	border-color: #00b8b8 !important;
	color: #fff !important;
}

/* ── Single product: layout ── */
.ag-product-main > .elementor-container { align-items: flex-start; }
.single-product .breadcrumbs-wrap { padding: 14px 0 6px; }
.single-product ul.breadcrumb { font-size: 0.76rem; letter-spacing: 0.04em; }
.single-product ul.breadcrumb a { color: #6b7a85 !important; }
.single-product ul.breadcrumb a:hover { color: #00a5a5 !important; }
.single-product ul.breadcrumb li:last-child,
.single-product ul.breadcrumb li:last-child a { color: #008a8a !important; font-weight: 700; }

/* Gallery card */
.ag-product-main .elementor-widget-porto_cp_image {
	background: #ffffff;
	border: 1px solid #e8edf1;
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 6px 22px rgba(13, 35, 49, 0.06);
}

/* Summary */
.ag-ps__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.ag-ps__eyebrow a {
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #00a5a5 !important;
	text-decoration: none !important;
}
.ag-ps__eyebrow a:hover { color: #008a8a !important; text-decoration: underline !important; }
.ag-ps__new {
	padding: 3px 9px;
	border-radius: 5px;
	background: linear-gradient(135deg, #00d4d4, #00a5a5);
	color: #fff;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}
h1.ag-ps__title {
	margin: 0 0 12px !important;
	font-size: clamp(1.5rem, 2.6vw, 2.05rem);
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.15;
	color: #13232e;
}
.ag-ps__intro {
	margin: 0 0 16px;
	font-size: 0.95rem;
	line-height: 1.7;
	color: #46555f;
}
.ag-ps__dims {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 18px;
}
.ag-ps__dim {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 13px;
	border-radius: 8px;
	background: #f4f8fa;
	border: 1px solid #e2eaef;
	font-size: 0.78rem;
	color: #5a6a75;
}
.ag-ps__dim svg { color: #00a5a5; }
.ag-ps__dim strong { color: #13232e; font-weight: 800; }
.ag-ps__trust {
	list-style: none;
	margin: 18px 0 0;
	padding: 16px 2px 0;
	border-top: 1px solid #e8edf1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 18px;
}
.ag-ps__trust li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #3c4b56;
}
.ag-ps__trust svg { color: #00b8b8; flex: none; }

/* Mobile sticky quote bar */
.ag-ps__bar { display: none; }
@media (max-width: 991px) {
	.ag-ps__bar {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 9999;
		display: flex;
		gap: 10px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, 0.96);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		border-top: 1px solid #e2eaef;
		box-shadow: 0 -6px 24px rgba(13, 35, 49, 0.12);
	}
	.ag-ps__bar-mail {
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 13px 10px;
		border-radius: 8px;
		background: linear-gradient(135deg, #00d4d4 0%, #00b8b8 60%);
		color: #ffffff !important;
		font-size: 0.8rem;
		font-weight: 800;
		letter-spacing: 0.04em;
		text-decoration: none !important;
		box-shadow: 0 4px 14px rgba(0, 184, 184, 0.35);
	}
	.ag-ps__bar-tel {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		border-radius: 8px;
		border: 1.6px solid #00b8b8;
		color: #009a9a !important;
		background: #ffffff;
	}
	.single-product .footer-wrapper { padding-bottom: 74px; }
}

/* Description: lives inside the summary column, under the actions */
.ag-pdesc {
	margin: 22px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid #e8edf1;
}
.ag-pdesc h2 {
	margin: 0 0 4px;
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #13232e;
}
.ag-pdesc h2::after {
	content: "";
	display: block;
	width: 36px;
	height: 3px;
	border-radius: 2px;
	background: #00b8b8;
	margin: 8px 0 14px;
}
.ag-pdesc p { font-size: 0.92rem; line-height: 1.75; color: #46555f; margin: 0 0 12px; }
.ag-pdesc h3,
.ag-pdesc h4,
.ag-pdesc p > strong:only-child {
	display: block;
	margin: 14px 0 8px;
	font-size: 0.86rem;
	font-weight: 800;
	color: #13232e;
}
.ag-pdesc ul {
	list-style: none;
	margin: 8px 0 14px;
	padding: 0;
}
.ag-pdesc ul li {
	position: relative;
	padding-left: 26px;
	margin: 0 0 8px;
	font-size: 0.92rem;
	line-height: 1.6;
	color: #46555f;
}
.ag-pdesc ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(0, 184, 184, 0.14);
}
.ag-pdesc ul li::after {
	content: "";
	position: absolute;
	left: 5.5px;
	top: 6px;
	width: 4px;
	height: 8px;
	border-right: 2px solid #00a5a5;
	border-bottom: 2px solid #00a5a5;
	transform: rotate(40deg);
}
.ag-pdesc a { color: #009a9a !important; font-weight: 600; }
.ag-pdesc a:hover { color: #00b8b8 !important; }

/* Related products: reuse card design + heading style */
.sp-linked-heading {
	text-align: center;
	font-size: clamp(1.05rem, 1.8vw, 1.3rem) !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
	color: #13232e !important;
	margin-bottom: 6px !important;
}
.elementor-widget-porto_cp_linked { margin-top: 18px; }
.elementor-widget-porto_cp_linked .porto-tb-item.product {
	background: #ffffff;
	border: 1px solid #e8edf1;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(13, 35, 49, 0.05);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.elementor-widget-porto_cp_linked .porto-tb-item.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(13, 35, 49, 0.12);
}
.elementor-widget-porto_cp_linked .porto-tb-featured-image {
	position: relative;
	background: #fbfcfd;
	border-bottom: 1px solid #eef2f5;
}
.elementor-widget-porto_cp_linked .porto-tb-featured-image .img-thumbnail {
	border: none;
	background: transparent;
	padding: 14px;
	display: block;
}
.elementor-widget-porto_cp_linked .product-content {
	padding: 14px 16px 16px !important;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	text-align: left;
}
.elementor-widget-porto_cp_linked .tb-meta-product_cat a {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #8a98a3 !important;
	text-decoration: none !important;
}
.elementor-widget-porto_cp_linked h3.post-title {
	margin: 0 0 10px !important;
	font-size: 0.92rem !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	text-transform: uppercase;
}
.elementor-widget-porto_cp_linked h3.post-title a { color: #13232e !important; }
.elementor-widget-porto_cp_linked h3.post-title a:hover { color: #00a5a5 !important; }
.elementor-widget-porto_cp_linked .tb-woo-rating:empty,
.elementor-widget-porto_cp_linked .tb-woo-price:empty { display: none; }

@media (max-width: 991px) {
	.ag-ps__trust { grid-template-columns: 1fr; gap: 10px; }
	.ag-pdesc { padding: 20px 18px; }
}

/* ── Single product: quote action row (quiet) ── */
.ag-pq {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 18px 0 4px;
}
.ag-pq__mail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1.6px solid #00b8b8;
	border-radius: 8px;
	background: transparent;
	color: #009a9a !important;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	transition: background 0.18s ease, color 0.18s ease;
}
.ag-pq__mail:hover {
	background: rgba(0, 184, 184, 0.08);
	color: #008a8a !important;
}
.ag-pq__tel {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #3c4b56 !important;
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none !important;
}
.ag-pq__tel svg { color: #00a5a5; }
.ag-pq__tel:hover { color: #009a9a !important; }
.ag-pq__sep { font-size: 0.8rem; color: #9aa6b0; }
.ag-pq__form {
	color: #6b7a85 !important;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none !important;
	border-bottom: 1px dotted #b7c2ca;
}
.ag-pq__form:hover { color: #009a9a !important; border-bottom-color: #009a9a; }

/* ── Responsive ── */
@media (max-width: 991px) {
	.ag-filters { position: static; margin-bottom: 8px; }
	.ag-filters__box:not([open]) { padding-bottom: 0; }
	.ag-filters__list { max-height: 320px; }
	.ag-filters__cta { display: none; }
}
@media (max-width: 575px) {
	.ag-catpill { min-width: 92px; padding: 10px 10px; font-size: 0.68rem; }
	.archive-products h3.post-title { font-size: 0.82rem !important; }
	.archive-products a.add_to_cart_button { font-size: 0.7rem !important; }
}
@media (prefers-reduced-motion: reduce) {
	.archive-products .porto-tb-item.product,
	.ag-catpill,
	.archive-products a.add_to_cart_button { transition: none !important; }
}

/* ── Space planner (Προσομοίωση Χώρου) ── */
.ag-sp {
	margin: 18px 0 6px;
	background: linear-gradient(160deg, #0a1e29 0%, #081c26 80%);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(8, 28, 38, 0.25);
}
.ag-sp > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 800;
}
.ag-sp > summary::-webkit-details-marker { display: none; }
.ag-sp > summary svg { color: #00d4d4; flex: none; }
.ag-sp > summary em {
	margin-left: auto;
	font-style: normal;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(0, 212, 212, 0.15);
	border: 1px solid rgba(0, 212, 212, 0.45);
	color: #00d4d4;
}
.ag-sp > summary::after {
	content: "";
	width: 9px; height: 9px;
	border-right: 2px solid rgba(255,255,255,0.7);
	border-bottom: 2px solid rgba(255,255,255,0.7);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	flex: none;
}
.ag-sp[open] > summary::after { transform: rotate(-135deg); }
.ag-sp__body {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 26px;
	padding: 6px 20px 22px;
	background: #ffffff;
}
.ag-sp__left { padding-top: 16px; }
.ag-sp__sqmlab {
	display: block;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: #5a6a75;
	margin: 0 0 6px;
}
#ag-sp-sqm, #ag-sp-search {
	width: 100%;
	padding: 11px 14px;
	border: 1.6px solid #dbe4ea;
	border-radius: 8px;
	font-size: 0.9rem;
	margin-bottom: 10px;
	background: #fbfcfd;
}
#ag-sp-sqm:focus, #ag-sp-search:focus {
	outline: none;
	border-color: #00b8b8;
	box-shadow: 0 0 0 3px rgba(0, 184, 184, 0.15);
	background: #fff;
}
.ag-sp__list {
	max-height: 320px;
	overflow-y: auto;
	border: 1px solid #eef2f5;
	border-radius: 8px;
}
.ag-sp__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 12px;
	border-bottom: 1px solid #f1f5f7;
}
.ag-sp__row:last-child { border-bottom: none; }
.ag-sp__row.has-qty { background: #f2fbfb; }
.ag-sp__rowname { min-width: 0; }
.ag-sp__rowname a {
	color: #13232e !important;
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none !important;
}
.ag-sp__rowname a:hover { color: #009a9a !important; }
.ag-sp__rowname small { display: block; font-size: 0.7rem; color: #8a98a3; }
.ag-sp__new {
	font-style: normal;
	font-size: 0.56rem;
	font-weight: 800;
	background: linear-gradient(135deg, #00d4d4, #00a5a5);
	color: #fff;
	border-radius: 4px;
	padding: 2px 5px;
	margin-left: 6px;
	vertical-align: 2px;
}
.ag-sp__qty { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.ag-sp__qty b { min-width: 16px; text-align: center; font-size: 0.85rem; }
.ag-sp__qty button {
	width: 26px; height: 26px;
	border: 1.5px solid #c9d4db;
	border-radius: 6px;
	background: #fff;
	color: #3c4b56;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: all 0.15s ease;
}
.ag-sp__qty button:hover { border-color: #00b8b8; color: #009a9a; background: #f2fbfb; }
.ag-sp__empty { padding: 14px; font-size: 0.84rem; color: #8a98a3; }

.ag-sp__right { padding-top: 16px; }
.ag-sp__meterhead {
	display: flex;
	justify-content: space-between;
	font-size: 0.76rem;
	font-weight: 700;
	color: #5a6a75;
	margin-bottom: 6px;
}
.ag-sp__meter {
	height: 12px;
	border-radius: 999px;
	background: #eef2f5;
	overflow: hidden;
}
.ag-sp__meter span {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 999px;
	transition: width 0.3s ease, background 0.3s ease;
}
.ag-sp__meter span.ok { background: linear-gradient(90deg, #00d4d4, #00a5a5); }
.ag-sp__meter span.warn { background: linear-gradient(90deg, #f5b70a, #e89a00); }
.ag-sp__meter span.over { background: linear-gradient(90deg, #f0642f, #d63c2f); }
.ag-sp__verdict { margin: 14px 0 10px; font-size: 0.9rem; line-height: 1.55; color: #46555f; }
.ag-sp__verdict.is-ok b { color: #00897b; }
.ag-sp__verdict.is-warn b { color: #c77700; }
.ag-sp__verdict.is-over b { color: #c62828; }
.ag-sp__picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ag-sp__pick {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 10px;
	border-radius: 999px;
	background: #f2fbfb;
	border: 1px solid rgba(0, 184, 184, 0.3);
	font-size: 0.76rem;
	font-weight: 700;
	color: #007070;
}
.ag-sp__pick button {
	border: none; background: none; cursor: pointer;
	color: #8a98a3; font-size: 0.85rem; padding: 0 2px;
}
.ag-sp__pick button:hover { color: #c62828; }
.ag-sp__sugg p { margin: 0 0 8px; font-size: 0.78rem; font-weight: 700; color: #5a6a75; }
.ag-sp__sadd {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 6px 8px 0;
	padding: 7px 12px;
	border: 1.5px dashed #b7c9d1;
	border-radius: 8px;
	background: #fbfcfd;
	font-size: 0.76rem;
	font-weight: 700;
	color: #3c4b56;
	cursor: pointer;
	transition: all 0.15s ease;
}
.ag-sp__sadd small { color: #8a98a3; font-weight: 600; }
.ag-sp__sadd:hover { border-color: #00b8b8; color: #009a9a; background: #f2fbfb; }
.ag-sp .ag-pq__mail { margin-top: 6px; }
.ag-sp__note { margin: 14px 0 0; font-size: 0.72rem; line-height: 1.5; color: #8a98a3; }
.ag-sp__note a { color: #009a9a !important; font-weight: 700; }

@media (max-width: 900px) {
	.ag-sp__body { grid-template-columns: 1fr; gap: 16px; }
	.ag-sp__list { max-height: 250px; }
	.ag-sp > summary { font-size: 0.82rem; padding: 14px 14px; }
	.ag-sp > summary em { display: none; }
}
