/* Layout principale "lista" (grande, con elenco puntato, stelle, prezzo/sconto) */
.aawpsb-box {
	position: relative;
	display: flex;
	gap: 32px;
	align-items: flex-start;
	max-width: 960px;
	margin: 2em 0;
	padding: 28px 8px;
	border: none;
	border-bottom: 1px solid #ececec;
	background: #fff;
	font-family: inherit;
	flex-wrap: wrap;
}

.aawpsb-box__ribbon {
	position: absolute;
	top: -6px;
	right: 8px;
	background: #067d62;
	color: #fff;
	font-size: 0.75em;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 5px 12px;
	border-radius: 3px;
}

.aawpsb-box__media {
	flex: 0 0 220px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
}

.aawpsb-box__media img {
	max-width: 220px;
	max-height: 220px;
	height: auto;
	display: block;
	margin-bottom: 10px;
}

.aawpsb-stars {
	position: relative;
	display: inline-block;
	font-size: 16px;
	line-height: 1;
	color: #d6d6d6;
}
.aawpsb-stars::before {
	content: "\2605\2605\2605\2605\2605";
}
.aawpsb-stars-fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
	color: #FFA41C;
	height: 100%;
	display: block;
}
.aawpsb-stars-fill::before {
	content: "\2605\2605\2605\2605\2605";
}

.aawpsb-reviews-count {
	font-size: 0.85em;
	color: #444;
	margin-bottom: 10px;
}

.aawpsb-box__media .aawpsb-disclosure {
	margin: 4px 0 0;
	font-size: 0.75em;
	font-style: italic;
	color: #8a8a8a;
	max-width: none;
}

.aawpsb-box__body {
	flex: 1 1 360px;
	min-width: 240px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.aawpsb-box__title {
	font-weight: 700;
	font-size: 1.4em;
	text-decoration: underline;
	color: #205493;
	line-height: 1.35;
}

.aawpsb-box__title:hover {
	color: #c45500;
}

.aawpsb-box__description {
	margin: 0;
	font-size: 0.95em;
	color: #444;
}

.aawpsb-box__features {
	margin: 6px 0 0;
	padding-left: 22px;
	font-size: 1em;
	color: #222;
}
.aawpsb-box__features li {
	margin-bottom: 6px;
}

.aawpsb-box__footnote {
	margin-top: auto;
	padding-top: 10px;
	font-size: 0.78em;
	color: #767676;
}

.aawpsb-box__buybox {
	flex: 0 0 200px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	text-align: right;
}

.aawpsb-box__old-price {
	font-size: 0.85em;
	color: #767676;
	text-decoration: line-through;
}

.aawpsb-box__discount {
	display: inline-block;
	background: #cc0c39;
	color: #fff;
	font-size: 0.75em;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 3px;
}

.aawpsb-box__price {
	font-size: 1.6em;
	font-weight: 700;
	color: #0f1111;
	white-space: nowrap;
}

.aawpsb-prime-badge {
	display: inline-block;
	margin-left: 6px;
	font-size: 0.45em;
	font-weight: 700;
	color: #fff;
	background: #00A8E1;
	padding: 3px 7px;
	border-radius: 3px;
	vertical-align: middle;
}

.aawpsb-box__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	padding: 12px 20px;
	background: #FFA41C;
	color: #0f1111;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95em;
	white-space: nowrap;
}

.aawpsb-box__button-icon {
	flex: 0 0 auto;
}

.aawpsb-box__button:hover {
	background: #FA8900;
	color: #0f1111;
}

/* Layout compatto per sidebar/widget */
.aawpsb-box--compact {
	max-width: 340px;
	padding: 10px;
	gap: 10px;
	flex-wrap: nowrap;
}
.aawpsb-box--compact .aawpsb-box__image img {
	max-width: 70px;
	height: auto;
	display: block;
	border-radius: 4px;
}
.aawpsb-box--compact .aawpsb-box__body {
	flex: 1 1 auto;
	min-width: 0;
	gap: 6px;
}
.aawpsb-box--compact .aawpsb-box__title {
	font-size: 1em;
}

/* Box con dati mancanti (visibile solo lato contenuto, con avviso per admin) */
.aawpsb-box--missing {
	border-style: dashed;
	background: #fff8f0;
}

.aawpsb-admin-notice {
	font-size: 0.85em;
	color: #9a5b00;
	background: #fff3cd;
	padding: 6px 10px;
	border-radius: 4px;
}

.aawpsb-disclosure {
	font-size: 0.78em;
	color: #767676;
	margin: 0 0 1.2em;
	max-width: 900px;
}
