/* Scoopdeals look for Content Egg product cards in posts (SDH_Egg). Same purple, card and button as /deals. */
.cegg5-container .eggb-block {
	--eggb-accent: #7000f4;
	--eggb-btn-filled-fg: #fff;
	--eggb-surface: #fff;
	--eggb-border: #ebe6f5;
	--eggb-text-muted: #6b7280;
	--eggb-radius: 14px;
	--eggb-radius-chip: 999px;
	--eggb-positive: #16a34a;
}

/* The card */
.cegg5-container .eggb-block.eggb-product-card {
	background: #fff;
	border: 1px solid #ebe6f5;
	border-radius: 16px;
	box-shadow: 0 6px 24px rgba(60, 30, 120, .07);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.cegg5-container .eggb-block.eggb-product-card:hover {
	box-shadow: 0 10px 32px rgba(60, 30, 120, .13);
	transform: translateY(-2px);
}
.cegg5-container .eggb-block.eggb-product-card,
.cegg5-container .eggb-block.eggb-product-card--featured {
	border: 2px solid #e4d6ff; /* same frame for every card */
}

/* Picture: a soft panel, white product shots blend in */
.cegg5-container .eggb-pc-featured-img-zone,
.cegg5-container .eggb-pc-img-col {
	background: #f7f5fc;
	border: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}
.cegg5-container .eggb-pc-featured-img,
.cegg5-container .eggb-pc-img {
	mix-blend-mode: multiply;
	transition: transform .25s ease;
}
.cegg5-container .eggb-product-card:hover .eggb-pc-featured-img,
.cegg5-container .eggb-product-card:hover .eggb-pc-img {
	transform: scale(1.04);
}

/* Label ("Best Laptop Deal") */
.cegg5-container .eggb-block .eggb-award {
	background: linear-gradient(90deg, #7000f4, #a855f7);
	border: 0;
	color: #fff;
	font-weight: 700;
	padding: .28rem .7rem;
	box-shadow: 0 2px 8px rgba(112, 0, 244, .25);
}

/* Title */
.cegg5-container .eggb-block .eggb-pc-featured-title,
.cegg5-container .eggb-block .eggb-pc-title {
	color: #1f2430;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}
.cegg5-container .eggb-block .eggb-pc-featured-title:hover,
.cegg5-container .eggb-block .eggb-pc-title:hover {
	color: #7000f4;
}

/* Chips */
.cegg5-container .eggb-block .eggb-chip {
	border: 0;
	background: #f3effb;
	color: #4b4466;
	font-size: .75rem;
	font-weight: 600;
	padding: .2rem .65rem;
}

/* Price: purple badge, old price, % off */
.cegg5-container .eggb-block .eggb-price {
	background: #f1e9ff;
	color: #7000f4;
	border-radius: 8px;
	padding: .3rem .6rem;
	font-weight: 800;
}
.cegg5-container .eggb-block .eggb-price-old {
	color: #9ca3af;
	font-size: .9rem;
}
.cegg5-container .eggb-block .sdh-egg-off {
	color: #16a34a;
	font-weight: 700;
	font-size: .85rem;
	white-space: nowrap;
}
.cegg5-container .eggb-block .eggb-pc-featured-store,
.cegg5-container .eggb-block .eggb-pc-store {
	color: #6b7280;
	font-size: .8rem;
}
.cegg5-container .eggb-block .eggb-pc-featured-rule {
	border-top: 1px dashed #e7e1f3;
}

/* Button: like "Scoop the deal" on /deals */
.cegg5-container .eggb-block .eggb-btn.eggb-btn--filled {
	background: #7000f4;
	border-color: #7000f4;
	color: #fff;
	border-radius: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
	padding: .75em 1.4em;
	box-shadow: 0 4px 14px rgba(112, 0, 244, .28);
	transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cegg5-container .eggb-block .eggb-btn.eggb-btn--filled:hover {
	background: #5b00c7;
	border-color: #5b00c7;
	color: #fff;
	box-shadow: 0 6px 18px rgba(112, 0, 244, .38);
	transform: translateY(-1px);
}

/* Amazon's deal badge, end date, Prime, claimed bar; "You save", lowest in 90 days */
.cegg5-container .sdh-egg-dealrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}
.cegg5-container .sdh-egg-deal {
	background: #cc0c39;
	color: #fff;
	font-size: .75rem;
	font-weight: 800;
	padding: .25rem .6rem;
	border-radius: 6px;
	letter-spacing: .01em;
}
.cegg5-container .sdh-egg-ends {
	color: #cc0c39;
	font-size: .8rem;
	font-weight: 700;
}
.cegg5-container .sdh-egg-prime {
	color: #1a73e8;
	font-size: .8rem;
	font-weight: 700;
}
.cegg5-container .sdh-egg-claimed {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #6b7280;
	font-size: .78rem;
	font-weight: 600;
}
.cegg5-container .sdh-egg-bar {
	width: 70px;
	height: 6px;
	border-radius: 9px;
	background: #f1e9ff;
	overflow: hidden;
}
.cegg5-container .sdh-egg-bar > span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #a855f7, #7000f4);
	border-radius: 9px;
}
.cegg5-container .sdh-egg-save {
	color: #16a34a;
	font-size: .8rem;
	font-weight: 700;
}
.cegg5-container .sdh-egg-low90 {
	background: #e8f8ee;
	color: #0f7a3d;
	font-size: .75rem;
	font-weight: 700;
	padding: .2rem .55rem;
	border-radius: 999px;
}

/* "Updated 27 minutes ago" */
.cegg5-container .eggb-price-meta {
	color: #9ca3af;
	font-size: .75rem;
}

/* FAQ block */
.cegg5-container .eggb-block.eggb-faq .eggb-faq-item {
	border: 1px solid #ebe6f5;
	border-radius: 12px;
	background: #fff;
	margin-bottom: .6rem;
}
.cegg5-container .eggb-block.eggb-faq .eggb-faq-item > summary {
	font-weight: 700;
	color: #1f2430;
}
.cegg5-container .eggb-block.eggb-faq details[open] > summary,
.cegg5-container .eggb-block.eggb-faq .eggb-faq-chevron {
	color: #7000f4;
}

/* One size for every card: the standard Content Egg card matches the featured one (picture panel 220px,
   description, price row, then the full-width button) */
.cegg5-container .eggb-block .eggb-pc-img-col,
.cegg5-container .eggb-block .eggb-pc-featured-img-zone {
	flex: 0 0 220px;
	width: 220px;
	max-height: none;
	padding: 20px 18px;
}
.cegg5-container .eggb-block .eggb-pc-img,
.cegg5-container .eggb-block .eggb-pc-featured-img {
	width: 100%;
	max-height: 200px;
	object-fit: contain;
}
.cegg5-container .eggb-block .eggb-pc-body,
.cegg5-container .eggb-block .eggb-pc-featured-body {
	padding: 18px 22px !important;
	gap: .55rem !important;
}
.cegg5-container .eggb-block .eggb-pc-title {
	font-size: 1.15rem;
}
.cegg5-container .eggb-block .eggb-pc-footer,
.cegg5-container .eggb-block .eggb-pc-featured-rule {
	flex-direction: column;
	align-items: stretch !important;
	gap: 12px !important;
	padding-top: 12px;
	border-top: 1px dashed #e7e1f3;
}
.cegg5-container .eggb-block .eggb-pc-footer .eggb-btn,
.cegg5-container .eggb-block .eggb-pc-featured-rule .eggb-btn {
	width: 100%;
	margin-left: 0;
	justify-content: center;
}

/* Phones: picture on top, full-width button */
@media (max-width: 700px) {
	.cegg5-container .eggb-block.eggb-product-card {
		flex-direction: column;
	}
	.cegg5-container .eggb-pc-featured-img-zone,
	.cegg5-container .eggb-pc-img-col {
		width: 100% !important;
		max-width: none !important;
	}
	.cegg5-container .eggb-pc-featured-img,
	.cegg5-container .eggb-pc-img {
		max-height: 170px;
	}
	.cegg5-container .eggb-block .eggb-btn.eggb-btn--filled {
		width: 100%;
	}
}
