/**
 * Lugano catalogue layer — product cards, category tiles and the sale price.
 * Light, warm palette only: no black or near-black text, no dark surfaces.
 * Loaded last (after ag-amazon.css / ag-slider.css) so it wins the cascade.
 */

/* ---- Price block: discounted price + struck original ---- */
.ag .ag-product-card__price {
	display: flex;
	align-items: baseline;
	gap: .6rem;
	flex-wrap: wrap;
}

.ag .ag-product-card__price .ag-price-now {
	order: 1;
	color: #B45309 !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.ag .ag-product-card__price .ag-price-old {
	order: 3;
	flex-basis: 100%;
	color: #7B6650 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 2.2 !important;
	padding-block: 2px 5px; display: inline-block;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	text-decoration-color: #C08A5A;
	text-decoration-skip-ink: none;
	white-space: nowrap;
}

/* ---- Discount chip ---- */
.ag .ag-product-card__off {
	order: 2;
}

.ag .ag-product-card__off,
.ag .ag-spotlight-card__off {
	display: inline-block;
	background: #FFF4E2 !important;
	color: #8A4B00 !important;
	border: 1px solid #F0C68A !important;
	border-radius: 999px;
	padding: 1px 9px;
	font-size: 11.5px;
	font-weight: 800;
	line-height: 1.7;
	white-space: nowrap;
}

.ag .ag-product-card__off[hidden],
.ag .ag-spotlight-card__off[hidden] {
	display: none !important;
}

.ag .ag-product-card__meta {
	display: flex;
	align-items: center;
	gap: .45rem;
	flex-wrap: wrap;
}

/* ---- Spotlight card ---- */
.ag .ag-spotlight-card__price {
	color: #B45309 !important;
}

.ag .ag-spotlight-card__old {
	color: #8C7A66 !important;
	font-size: 13px !important;
	font-weight: 500;
	text-decoration: line-through;
	text-decoration-thickness: 1.5px;
	text-decoration-color: #D3B491;
	margin-inline-start: .35rem;
}

.ag .ag-spotlight-card__old[hidden] {
	display: none !important;
}

.ag .ag-spotlight-card__row {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-wrap: wrap;
}

/* ---- Category tiles ---- */
.ag .ag-category-tile {
	background: #FFFCF7 !important;
	border: 1px solid #EADCC8 !important;
	border-radius: 10px !important;
	transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ag .ag-category-tile:hover {
	background: #FFF6E8 !important;
	border-color: #E9B978 !important;
	box-shadow: 0 6px 16px rgba(138, 75, 0, .10);
}

.ag .ag-category-tile.is-active {
	background: #FFF1DA !important;
	border-color: #DE9B4B !important;
}

.ag .ag-category-tile__name {
	color: #8A4B00 !important;
	font-weight: 800 !important;
}

.ag .ag-category-tile__top,
.ag .ag-category-tile__meta {
	color: #9A7A57 !important;
}

.ag .ag-category-tile:hover .ag-category-tile__arrow {
	color: #B45309 !important;
}

/* ---- Focus states stay visible on the warm surfaces ---- */
.ag .ag-product-card__off:focus-visible,
.ag .ag-category-tile:focus-visible {
	outline: 2px solid #B45309;
	outline-offset: 2px;
}

/* Spotlight: keep price, chip and struck price on one baseline */
.ag .ag-spotlight-card__prices {
	display: flex;
	align-items: baseline;
	gap: .5rem;
	flex-wrap: wrap;
}
