/* ==========================================================================
   pages-lojas.css — paridade com src/routes/lojas.index.tsx e lojas.$slug.tsx
   Escopo: apenas seletores .awr-lojas*, .awr-lojacard*, .awr-store*
   ========================================================================== */

/* ---------- /lojas/ — hero ---------- */
.awr-lojas__hero {
	background: linear-gradient(135deg, #0a2555 0%, #0a2555 55%, #001a52 100%);
	color: #fff;
	padding: 48px 0;
}

@media (min-width: 768px) {
	.awr-lojas__hero {
		padding: 64px 0;
	}
}

.awr-lojas__hero .awr-breadcrumb {
	margin-bottom: 12px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
}

.awr-lojas__hero .awr-breadcrumb a {
	color: rgba(255, 255, 255, 0.7);
}

.awr-lojas__hero .awr-breadcrumb a:hover {
	color: #ffdf00;
}

.awr-lojas__hero .awr-breadcrumb span {
	color: #fff;
}

.awr-lojas__title {
	font-family: "Plus Jakarta Sans", Inter, sans-serif;
	font-weight: 900;
	line-height: 1.15;
	font-size: 28px;
	margin: 0;
}

@media (min-width: 640px) {
	.awr-lojas__title { font-size: 34px; }
}

@media (min-width: 768px) {
	.awr-lojas__title { font-size: 42px; }
}

.awr-lojas__subtitle {
	margin: 12px 0 0;
	max-width: 640px;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 640px) {
	.awr-lojas__subtitle { font-size: 18px; }
}

/* ---------- /lojas/ — grid de unidades ---------- */
.awr-lojas__grid-section {
	padding: 40px 0;
}

@media (min-width: 768px) {
	.awr-lojas__grid-section { padding: 56px 0; }
}

.awr-lojas__h2 {
	font-family: "Plus Jakarta Sans", Inter, sans-serif;
	font-weight: 900;
	font-size: 22px;
	color: #0a2555;
	margin: 0 0 24px;
}

@media (min-width: 768px) {
	.awr-lojas__h2 { font-size: 28px; }
}

.awr-lojas__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 641px) {
	.awr-lojas__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.awr-lojas__grid { grid-template-columns: repeat(3, 1fr); }
}

.awr-lojacard {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.awr-lojacard:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px -10px rgba(10, 37, 85, 0.25);
}

.awr-lojacard__cover {
	display: block;
	aspect-ratio: 16 / 10;
	width: 100%;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(10, 37, 85, 0.1), rgba(10, 37, 85, 0.05));
}

.awr-lojacard__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.awr-lojacard:hover .awr-lojacard__cover img {
	transform: scale(1.05);
}

.awr-lojacard__rating {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 14px;
	color: #4b5563;
}

.awr-lojacard__rating span[aria-hidden] {
	color: #ffdf00;
}

.awr-lojacard__rating strong {
	color: #0a2555;
}

.awr-lojacard__pin {
	color: rgba(10, 37, 85, 0.45);
	display: inline-flex;
}


.awr-lojacard__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
}

.awr-lojacard__eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #0a2555;
}

.awr-lojacard__title {
	margin: 4px 0 0;
	font-family: "Plus Jakarta Sans", Inter, sans-serif;
	font-weight: 900;
	font-size: 18px;
	color: #0f172a;
}

.awr-lojacard__line {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	color: #64748b;
}

.awr-lojacard__line svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #0a2555;
}

.awr-lojacard__ctas {
	margin-top: auto;
	padding-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.awr-lojacard__cta {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	white-space: nowrap;
	padding: 10px 12px;
	font-size: 14px;
}

.awr-lojacard__whats {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	flex: 0 0 auto;
}

/* ---------- /lojas/{slug}/ — detalhe ---------- */
.awr-store {
	padding: 32px 0 64px;
}

.awr-store__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	margin-top: 12px;
}

@media (min-width: 1024px) {
	.awr-store__grid {
		grid-template-columns: 1.4fr 1fr;
	}
}

.awr-store__cover {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(10, 37, 85, 0.1), rgba(10, 37, 85, 0.05));
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
}

.awr-store__cover iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.awr-store__coverph {
	font-size: 56px;
	color: rgba(10, 37, 85, 0.4);
}

.awr-store__panel {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.awr-store__eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #0a2555;
}

.awr-store__title {
	margin: 4px 0 0;
	font-family: "Plus Jakarta Sans", Inter, sans-serif;
	font-weight: 900;
	font-size: 28px;
	line-height: 1.15;
	color: #0f172a;
}

@media (min-width: 640px) {
	.awr-store__title { font-size: 34px; }
}

.awr-store__rating {
	margin: 8px 0 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #64748b;
}

.awr-store__rating span[aria-hidden] {
	color: #ffdf00;
}

.awr-store__rating strong {
	color: #0f172a;
}

.awr-store__box {
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #fff;
	padding: 16px;
}

.awr-store__addr {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	color: #0f172a;
}

.awr-store__maps {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #0a2555;
	text-decoration: none;
}

.awr-store__maps:hover {
	text-decoration: underline;
}

.awr-store__ctas {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.awr-store__ctas .awr-btn--xl {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 24px;
	font-size: 17px;
	font-weight: 800;
	border-radius: 12px;
}

.awr-store__ctas .awr-btn--gold.awr-btn--xl {
	box-shadow: 0 10px 30px -8px rgba(255, 223, 0, 0.55);
}

.awr-store__boxtitle {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
}

.awr-store__hours {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: #64748b;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.awr-store__cities {
	margin-top: 40px;
}

.awr-store__h2 {
	margin: 0 0 12px;
	font-family: "Plus Jakarta Sans", Inter, sans-serif;
	font-weight: 900;
	font-size: 20px;
	color: #0a2555;
}

.awr-chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.awr-chips .awr-chip {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	background: rgba(10, 37, 85, 0.08);
	padding: 6px 14px;
	font-size: 14px;
	font-weight: 700;
	color: #0a2555;
	text-decoration: none;
}

.awr-chips .awr-chip:hover {
	background: rgba(10, 37, 85, 0.15);
}

.awr-store__back {
	margin-top: 32px;
}

.awr-store__back a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: #0a2555;
	text-decoration: none;
}

.awr-store__back a:hover {
	text-decoration: underline;
}

/* Ensure no horizontal overflow at very small widths */
@media (max-width: 360px) {
	.awr-lojacard__ctas {
		flex-direction: column;
	}
	.awr-lojacard__cta {
		width: 100%;
	}
	.awr-lojacard__whats {
		width: 100%;
	}
}

/* Foto da unidade (paridade com a capa do app) */
.awr-store__media {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.awr-store__photo {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 16px;
	border: 1px solid rgba(10, 37, 85, 0.12);
}
