:root {
	--bs-primary: #9d2930;
	--bs-primary-rgb: 157, 41, 48;
	--km-primary: #9d2930;
	--km-secondary: #854442;
	--km-accent: #9c6767;
	--km-dark: #3c2f2f;
	--km-light: #f1ece0;
	--km-text: #4a4a4a;
	--km-shadow: 0 1rem 2.5rem rgba(60, 47, 47, 0.12);
}

html {
	scroll-behavior: smooth;
}

body {
	background: #fff;
	color: var(--km-text);
	font-family: "Open Sans", Arial, sans-serif;
	line-height: 1.65;
}

a {
	color: var(--km-primary);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--km-secondary);
}

img {
	max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--km-dark);
	font-weight: 700;
}

.btn {
	--bs-btn-border-radius: 0.5rem;
	font-weight: 600;
}

.btn-primary {
	--bs-btn-bg: var(--km-primary);
	--bs-btn-border-color: var(--km-primary);
	--bs-btn-hover-bg: var(--km-secondary);
	--bs-btn-hover-border-color: var(--km-secondary);
	--bs-btn-active-bg: var(--km-dark);
	--bs-btn-active-border-color: var(--km-dark);
}

.btn-outline-primary {
	--bs-btn-color: var(--km-primary);
	--bs-btn-border-color: var(--km-primary);
	--bs-btn-hover-bg: var(--km-primary);
	--bs-btn-hover-border-color: var(--km-primary);
	--bs-btn-active-bg: var(--km-secondary);
	--bs-btn-active-border-color: var(--km-secondary);
}

.site-header {
	background: rgba(157, 41, 48, 0.97);
	box-shadow: 0 0.3rem 1rem rgba(60, 47, 47, 0.18);
	min-height: 5rem;
	padding: 0.35rem 0;
}

.site-header .nav-link,
.site-header-icon {
	border-radius: 0.4rem;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	padding: 0.65rem 0.85rem;
	text-transform: uppercase;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header-icon:hover,
.site-header-icon:focus {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.site-header .navbar-brand {
	line-height: 1;
	padding: 0;
}

.site-header .navbar-brand img {
	height: auto;
	max-height: 6.2rem;
	object-fit: contain;
	width: auto;
}

.site-header .navbar-toggler {
	border: 0;
	box-shadow: none;
}

.offcanvas {
	--bs-offcanvas-width: min(86vw, 22rem);
}

.offcanvas-header {
	background: var(--km-primary);
	color: #fff;
}

.offcanvas-header .offcanvas-title {
	color: #fff;
}

.offcanvas-header .btn-close {
	filter: invert(1) grayscale(1) brightness(2);
}

.offcanvas .nav-link {
	border-bottom: 1px solid rgba(60, 47, 47, 0.1);
	color: var(--km-dark);
	font-weight: 600;
	padding: 0.75rem 0;
}

.hero-carousel {
	background: var(--km-dark);
}

.hero-carousel .carousel-item {
	aspect-ratio: 1920 / 720;
}

.hero-carousel .carousel-item img {
	height: 100%;
	object-fit: cover;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
	width: 8%;
}

.section-space {
	padding-bottom: clamp(3.5rem, 7vw, 6rem);
	padding-top: clamp(3.5rem, 7vw, 6rem);
}

.section-heading {
	max-width: 58rem;
}

.section-heading h2,
.section-title {
	font-size: clamp(1.7rem, 4vw, 2.4rem);
	margin-bottom: 1rem;
}

.section-heading h2::after,
.section-title::after {
	background: var(--km-primary);
	content: "";
	display: block;
	height: 0.2rem;
	margin: 0.8rem auto 0;
	width: 4rem;
}

.product-category-card,
.product-card {
	background: #fff;
	border: 1px solid rgba(60, 47, 47, 0.1);
	border-radius: 0.75rem;
	box-shadow: 0 0.4rem 1.2rem rgba(60, 47, 47, 0.06);
	color: var(--km-dark);
	display: block;
	height: 100%;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-category-card:hover,
.product-category-card:focus,
.product-card:hover,
.product-card:focus {
	box-shadow: var(--km-shadow);
	color: var(--km-primary);
	transform: translateY(-0.25rem);
}

.product-category-card img,
.product-card img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
}

.product-category-card span,
.product-card-name {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	padding: 0.85rem;
	text-align: center;
}

.stores-section {
	background: var(--km-light);
}

.store-card {
	background: #fff;
	border-radius: 0.75rem;
	box-shadow: 0 0.5rem 1.5rem rgba(60, 47, 47, 0.08);
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.store-card:hover {
	box-shadow: var(--km-shadow);
	transform: translateY(-0.25rem);
}

.store-card > a {
	color: var(--km-text);
}

.store-card img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.store-card-body {
	padding: 1.25rem;
}

.store-card-body i {
	color: var(--km-primary);
	margin-right: 0.4rem;
	width: 1rem;
}

.benefits {
	background: #fff;
}

.benefit-card {
	padding: 1rem;
}

.benefit-card .round {
	align-items: center;
	background: var(--km-secondary);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 2rem;
	height: 5rem;
	justify-content: center;
	margin-bottom: 1.25rem;
	transition: background-color 0.2s ease, transform 0.2s ease;
	width: 5rem;
}

.benefit-card:hover .round {
	background: var(--km-primary);
	transform: translateY(-0.25rem);
}

.history-section {
	background: var(--km-dark);
	color: rgba(255, 255, 255, 0.88);
}

.history-section .section-title {
	color: #fff;
}

.history-section .section-title::after {
	background: var(--km-light);
}

.history-list {
	border-radius: 0.75rem;
	overflow: hidden;
}

.history-item + .history-item {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.history-toggle {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	display: block;
	padding: 1rem 3rem 1rem 1.25rem;
	position: relative;
}

.history-toggle:hover,
.history-toggle:focus {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.history-toggle::after {
	content: "\2212";
	font-size: 1.5rem;
	position: absolute;
	right: 1.25rem;
	top: 0.65rem;
}

.history-toggle.collapsed::after {
	content: "+";
}

.history-body {
	background: rgba(255, 255, 255, 0.04);
	padding: 0 1.25rem;
}

.testimonial-section {
	background: var(--km-light);
}

.testimonial-card {
	background: #fff;
	border-left: 0.35rem solid var(--km-primary);
	border-radius: 0.75rem;
	box-shadow: var(--km-shadow);
	padding: clamp(1.5rem, 4vw, 3rem);
	position: relative;
}

.testimonial-card blockquote {
	font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.testimonial-icon {
	color: rgba(157, 41, 48, 0.14);
	font-size: 4rem;
	position: absolute;
	right: 1.25rem;
	top: 1rem;
}

.testimonial-logo {
	border-radius: 50%;
	height: 3.5rem;
	object-fit: cover;
	width: 3.5rem;
}

.membership-cta {
	background: var(--km-primary);
	color: #fff;
}

.membership-cta h2 {
	color: #fff;
}

.membership-cta .btn-light {
	color: var(--km-primary);
}

.contact-section {
	background: var(--km-light);
}

.contact-card {
	background: #fff;
	border-radius: 0.8rem;
	box-shadow: var(--km-shadow);
	overflow: hidden;
}

.contact-card-heading {
	background: var(--km-secondary);
	color: #fff;
	padding: clamp(1.5rem, 4vw, 3rem);
}

.contact-card-heading h2 {
	color: #fff;
}

.contact-card-body {
	padding: clamp(1.5rem, 4vw, 3rem);
}

.contact-card-body p {
	align-items: flex-start;
	display: flex;
	gap: 1rem;
}

.contact-card-body i {
	color: var(--km-primary);
	font-size: 1.3rem;
	margin-top: 0.2rem;
	min-width: 1.25rem;
}

.site-footer {
	background: var(--km-dark);
	color: rgba(255, 255, 255, 0.78);
	padding: 4rem 0 2rem;
}

.site-footer strong,
.site-footer u {
	color: #fff;
}

.site-footer a {
	color: var(--km-light);
}

.site-footer a:hover,
.site-footer a:focus {
	color: #fff;
}

.site-footer .border-top {
	border-color: rgba(255, 255, 255, 0.16) !important;
}

.back-to-top {
	align-items: center;
	background: var(--km-primary);
	border-radius: 50%;
	bottom: 1rem;
	box-shadow: 0 0.4rem 1rem rgba(60, 47, 47, 0.25);
	color: #fff;
	display: flex;
	height: 2.8rem;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 1rem;
	transform: translateY(1rem);
	transition: opacity 0.2s ease, transform 0.2s ease;
	width: 2.8rem;
	z-index: 1030;
}

.back-to-top:hover,
.back-to-top:focus {
	background: var(--km-secondary);
	color: #fff;
}

.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.bg-menu {
	background: var(--km-light);
	height: 1rem;
}

main {
	min-height: 40vh;
}

main > .container,
main > .container-lg {
	padding-bottom: clamp(3rem, 6vw, 5rem);
	padding-top: clamp(2rem, 5vw, 4rem);
}

.breadcrumb {
	--bs-breadcrumb-divider-color: #8a7a78;
	--bs-breadcrumb-item-active-color: #6c5d5b;
	background: var(--km-light);
	border-radius: 0.5rem;
	margin-bottom: 2rem;
	padding: 0.75rem 1rem;
}

.detail {
	overflow-wrap: anywhere;
}

.detail img,
.detail video,
.detail iframe {
	height: auto;
	max-width: 100%;
}

.detail table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	width: 100% !important;
}

.detail td,
.detail th {
	min-width: 6rem;
}

.detail iframe {
	aspect-ratio: 16 / 9;
	width: 100%;
}

.member-card {
	background: var(--km-light);
}

.member-card .container-lg {
	background: #fff;
	border-radius: 0.8rem;
	box-shadow: var(--km-shadow);
	margin-bottom: clamp(3rem, 6vw, 5rem);
	margin-top: clamp(2rem, 5vw, 4rem);
	padding: clamp(1.25rem, 4vw, 3rem);
}

.member-card-icon {
	color: var(--km-primary);
	font-size: 3rem;
}

.loyalty-card {
	background: #fff;
	border: 1px solid rgba(60, 47, 47, 0.12);
	border-radius: 0.75rem;
	box-shadow: 0 0.5rem 1.5rem rgba(60, 47, 47, 0.08);
	margin: 1rem auto;
	max-width: 38rem;
	padding: 1.5rem;
}

.form-control:focus,
.form-select:focus {
	border-color: rgba(157, 41, 48, 0.55);
	box-shadow: 0 0 0 0.25rem rgba(157, 41, 48, 0.16);
}

.store-local-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.store-local-list li + li {
	border-top: 1px solid rgba(60, 47, 47, 0.1);
}

.store-local-list a {
	display: block;
	padding: 0.75rem 0;
}

@media (max-width: 991.98px) {
	.site-header {
		min-height: 4.7rem;
	}

	.site-header .navbar-brand img {
		max-height: 3.9rem;
	}

	.hero-carousel .carousel-item {
		aspect-ratio: 16 / 8;
	}
}

@media (max-width: 575.98px) {
	.hero-carousel .carousel-item {
		aspect-ratio: 4 / 3;
	}

	.product-category-card span,
	.product-card-name {
		font-size: 0.86rem;
		padding: 0.65rem;
	}

	.section-space {
		padding-bottom: 3.25rem;
		padding-top: 3.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
