/*
 * Polvere di Stelle Store: componenti con misure proprie (brand.css resta "solo aspetto").
 * - pulsante delle card del catalogo su mobile, allineato a quello di "I più amati" in home (snippet 19);
 * - conferma dell'aggiunta al carrello sulla scheda prodotto (inc/aggiunta-carrello.php).
 */

/* Card del catalogo su mobile: Botiga mette il testo in maiuscolo a 14 px con 24 px di margine
   interno, su tre righe in un pulsante di 108 px. Come in home: 12 px, semigrassetto, minuscolo,
   largo quanto la card. Gli !important servono contro gli stili del Customizer di Botiga. */
@media (max-width: 700px) {
	/* La card ha 30 px di margine interno per lato: su un telefono di 390 px restano 110 px per il
	   pulsante. Si allarga solo la sua riga (152 px), foto e prezzi restano dove sono. */
	ul.products li.product .loop-button-wrap {
		margin-left: -22px;
		margin-right: -22px;
	}
	ul.products li.product .loop-button-wrap .button {
		box-sizing: border-box;
		width: 100% !important;
		max-width: 220px;
		padding: 10px 8px !important;
		font-size: 12px !important;
		font-weight: 600 !important;
		line-height: 1.4 !important;
		letter-spacing: normal !important;
		text-transform: none !important;
	}
}

/* Conferma sotto il pulsante della scheda: stesso linguaggio del riquadro della Promo 2 charm. */
.pds-aggiunto {
	box-sizing: border-box;
	margin: 14px 0 4px;
	padding: 14px 16px;
	background: #fffaf0;
	border: 1px solid #ecd9b3;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.45;
	color: #57534e;
}
.pds-aggiunto[hidden] {
	display: none !important;
}
.pds-aggiunto p {
	margin: 0 0 8px;
}
.pds-aggiunto__ok {
	font-weight: 700;
	color: #15803d;
}
.pds-aggiunto__attesa {
	color: #78716c;
}
.pds-aggiunto__promo strong {
	color: #8a5d22;
}
.pds-aggiunto__vai {
	display: block;
	box-sizing: border-box;
	margin-top: 10px;
	padding: 12px 16px;
	background: #1c1917;
	color: #fff !important;
	border-radius: 999px;
	text-align: center;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 600;
}
.pds-aggiunto__vai:hover {
	opacity: .88;
}
.pds-aggiunto--errore {
	background: #fff;
	border-color: #fecaca;
	color: #b91c1c;
	font-weight: 600;
}
.pds-aggiunto--errore p:last-child {
	margin-bottom: 0;
}
