:root {
    --brand: #e30613;
    --brand-dark: #b8050f;
    --bs-link-color-rgb: 184, 5, 15;
    --bs-link-hover-color-rgb: 140, 4, 11;
}

body {
    background: #f5f6f8;
}

.bg-brand { background-color: var(--brand) !important; }
.text-brand { color: var(--brand) !important; }

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
    --bs-btn-active-bg: var(--brand-dark);
    --bs-btn-active-border-color: var(--brand-dark);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: .5rem;
    background: #fff;
    color: var(--brand);
    font-weight: 800;
}

@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.navbar .dropdown-menu {
    max-height: 70vh;
    overflow-y: auto;
}

.hero {
    background: linear-gradient(120deg, var(--brand) 0%, #ff5a3c 100%);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: 1rem;
    padding-left: .75rem;
    border-left: 4px solid var(--brand);
}

.leaflet-card {
    transition: transform .15s ease, box-shadow .15s ease;
}

.leaflet-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .12) !important;
}

.leaflet-cover {
    --bs-aspect-ratio: 137.5%;
    background: #eceef1;
    border-top-left-radius: var(--bs-card-inner-border-radius);
    border-top-right-radius: var(--bs-card-inner-border-radius);
    overflow: hidden;
}

.leaflet-cover img {
    object-fit: cover;
}

.shop-logo {
    align-items: center;
    justify-content: center;
    min-height: 70px;
    transition: box-shadow .15s ease;
}

.shop-logo:hover {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .1);
}

.shop-logo img {
    object-fit: contain;
}

.shop-logo-text {
    font-weight: 700;
    font-size: .8rem;
    color: #333;
    text-align: center;
    padding: .5rem;
}

.leaflet-page img {
    width: 100%;
    cursor: zoom-in;
}

.viewer-scroll {
    overflow: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.viewer-img {
    max-height: 100%;
    max-width: 100%;
    margin: auto;
    cursor: zoom-in;
}

.viewer-img.zoomed {
    max-height: none;
    max-width: none;
    width: 180%;
    cursor: zoom-out;
}

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

.seo-text {
    color: #555;
    background: #fff;
    border-radius: .75rem;
    padding: 1.5rem;
}

.page-text summary {
    cursor: pointer;
    text-align: center;
}

.page-text p {
    line-height: 1.4;
    max-height: 12rem;
    overflow-y: auto;
}
