/* -------------------------------------------------------------------------- */
/* Page Boutique (gabarit page-shop-orl.php)                                   */
/* Calé sur le rendu réel de https://onlinerocklessons.com/shop/ :            */
/* titres Anton, texte Asap Condensed, rouge #C9040F, séparateurs noirs.       */
/* -------------------------------------------------------------------------- */

.orl-shop {
	--orl-red: #c9040f;
	--orl-red-hover: #a3030c;
	--orl-black: #000;
	--orl-grey: #494949;
	--orl-line: #000;
	--orl-max: 1140px;

	font-family: "Asap Condensed", sans-serif;
	color: var(--orl-grey);
	max-width: var(--orl-max);
	margin: 0 auto;
	padding: 0 20px 80px;
	box-sizing: border-box;
}

.orl-shop * {
	box-sizing: border-box;
}

/* ----- Hero ----- */
.orl-shop__hero {
	text-align: center;
	margin-bottom: 40px;
}

/* Bandeau titre + sous-titre, pleine largeur (full-bleed) avec image de fond optionnelle */
.orl-shop__hero-banner {
	position: relative;
	/* déborde le conteneur 1140px pour occuper toute la largeur de l'écran */
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 70px 20px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Overlay blanc 0.8 par-dessus l'image (seulement si une image est définie) */
.orl-shop__hero-banner.has-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.8);
	pointer-events: none;
}

.orl-shop__hero-banner > * {
	position: relative;
	z-index: 1;
}

.orl-shop h1.orl-shop__title {
	font-family: "Anton", sans-serif;
	font-weight: 600;
	color: var(--orl-black);
	font-size: clamp(46px, 8vw, 74px);
	line-height: 0.9;
	margin: 0 0 4px;
}

.orl-shop .orl-shop__subtitle {
	font-family: "Asap Condensed", sans-serif;
	font-weight: 700;
	color: var(--orl-black);
	font-size: clamp(22px, 4vw, 33px);
	line-height: 1;
	margin: 0;
}

/* Barre nav (centrée) + switcher de devise (à droite) */
.orl-shop__hero-bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin-top: 20px;
}

.orl-shop__nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 28px;
	margin: 0;
	padding: 0;
}

.orl-shop__nav a {
	text-decoration: none;
	color: var(--orl-black);
	font-weight: 600;
	font-size: 22px;
}

.orl-shop__nav a:hover {
	color: var(--orl-red);
}

.orl-shop__currency {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

/* ----- Titres de section : Anton 60, MAJ, + séparateur 1px noir ----- */
.orl-shop__section {
	margin-bottom: 56px;
	scroll-margin-top: 120px; /* ancres : compense l'en-tête fixe */
}

.orl-shop h2.orl-shop__section-title {
	display: flex;
	align-items: center;
	gap: 20px;
	font-family: "Anton", sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	color: var(--orl-black);
	font-size: clamp(36px, 6vw, 60px);
	line-height: 1;
	text-align: left;
	margin: 0 0 28px;
}

.orl-shop__section-title span {
	flex: 0 0 auto;
}

/* Diviseur : ligne qui suit le texte (TITRE ————————) */
.orl-shop__section-title::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: var(--orl-line);
}

/* ----- Grille ----- */
.orl-shop__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 30px;
}

/* ----- Carte (bordure grise, contenu aligné à gauche) ----- */
.orl-shop .orl-card {
	flex: 0 1 340px;
	max-width: 360px;
	display: flex;
	flex-direction: column;
	text-align: left;
	border: 3px solid #e3e3e3;
	padding: 10px;
	align-items: center;
}

.orl-card__image {
	display: block;
	margin-bottom: 14px;
}

.orl-card__image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
	display: block;
}

.orl-shop h3.orl-card__title {
	font-family: "Asap Condensed", sans-serif;
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase; /* le live affiche les titres en majuscules */
	color: var(--orl-black);
	line-height: 32px;
	margin: 0 0 2px;
	text-align:center;
}

.orl-shop h3.orl-card__title a {
	color: var(--orl-black);
	text-decoration: none;
}

.orl-shop h3.orl-card__title a:hover {
	color: var(--orl-red);
}

.orl-shop .orl-card__subtitle {
	font-family: "Asap Condensed", sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: var(--orl-grey);
	line-height: 22px;
	margin: 0 0 6px;
}

.orl-shop .orl-card__price,
.orl-shop .orl-card__price .woocommerce-Price-amount {
	font-family: "Asap Condensed", sans-serif;
	font-size: 22px;
	font-weight: 400;
	color: var(--orl-black);
	line-height: 32px;
}

.orl-shop .orl-card__price {
	margin: 2px 0 14px;
	min-height: 24px;
}

.orl-card__price del {
	color: #999;
	font-weight: 400;
	margin-right: 6px;
}

.orl-card__price ins {
	text-decoration: none;
	color: var(--orl-red);
}

.orl-card__price .wmc-cache-loading {
	opacity: 0.85;
}

/* ----- Boutons ----- */
.orl-card__actions {
	margin-top: auto;
	margin-bottom: 25px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
}

/* Boutons : préfixe `.orl-shop .orl-card__actions` (3 classes) pour passer    */
.orl-shop .orl-card__actions .orl-card__btn {
	font-family: "Asap Condensed", sans-serif;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	text-align: center;
	border: none;
	border-radius: 1px!important;
	cursor: pointer;
	transition: all 0.3s;
}

.orl-shop .orl-card__actions .orl-card__btn:hover,
.orl-shop .orl-card__actions .orl-card__btn:focus {
	color: #fff;
}

.orl-shop .orl-card__actions .orl-card__btn--cart {
	background: var(--orl-red);
}

.orl-shop .orl-card__actions .orl-card__btn--cart .orl-card__cart-icon {
	width: 16px;
	height: 16px;
	margin-right: 8px;
	fill: currentColor;
	flex: 0 0 auto;
}

.orl-shop .orl-card__actions .orl-card__btn--cart:hover {
	background: var(--orl-red-hover);
}

.orl-shop .orl-card__actions .orl-card__btn--cart.loading {
	opacity: 0.6;
	pointer-events: none;
}

.orl-shop .orl-card__actions .orl-card__btn--cart.added::after {
	content: " \2713";
}

/* View Product ET Coming Soon : même style (noir, texte blanc) */
.orl-shop .orl-card__actions .orl-card__btn--view,
.orl-shop .orl-card__actions .orl-card__btn--soon {
	background: var(--orl-black);
}

.orl-shop .orl-card__actions .orl-card__btn--view:hover {
	background: var(--orl-grey);
}

.orl-shop .orl-card__actions .orl-card__btn--soon {
	cursor: default;
}

.orl-shop__empty {
	text-align: center;
	color: var(--orl-grey);
	padding: 40px 0;
}

/* ----- Responsive ----- */
@media (max-width: 880px) {
	.orl-shop__hero-bar {
		flex-direction: column;
		gap: 14px;
	}

	.orl-shop__currency {
		position: static;
		transform: none;
	}
}

@media (max-width: 680px) {
	.orl-card {
		flex-basis: 100%;
		max-width: 360px;
	}
}
