body {
    background-color: #f4f4f4;
    padding-top: 120px;
}

.environment-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
    background: #7a1832;
    color: #fff;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 8px 12px;
    text-transform: uppercase;
}

body.has-env-banner {
    padding-top: 165px;
}

body.has-env-banner .custom-navbar {
    top: 56px;
}

/* Floating Navbar */
.custom-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 1.5rem);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 3px solid #7a1832;
    box-shadow: 0 6px 18px rgba(122, 24, 50, 0.25);
    z-index: 1000;
    padding: 10px 20px;
}

/* Match Bootstrap container stretch/expand breakpoints */
@media (min-width: 576px) {
    .custom-navbar { max-width: 540px; }
}
@media (min-width: 768px) {
    .custom-navbar { max-width: 720px; }
}
@media (min-width: 992px) {
    .custom-navbar { max-width: 960px; }
}
@media (min-width: 1200px) {
    .custom-navbar { max-width: 1140px; }
}
@media (min-width: 1400px) {
    .custom-navbar { max-width: 1320px; }
}

.custom-navbar .nav-link {
    color: #222;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus {
    color: #7a1832;
}

.custom-navbar .section-menu.active-main > .nav-link {
    color: #7a1832;
    font-weight: 700;
}

.custom-navbar .section-menu .dropdown-menu {
    margin-top: 0;
}

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

.custom-navbar .navbar-toggler {
    border-color: #7a1832;
}

.custom-navbar .btn-lang {
    border: 1px solid #7a1832;
    color: #7a1832;
    background: #fff;
}

.custom-navbar .btn-lang:hover,
.custom-navbar .btn-lang:focus {
    background: #7a1832;
    color: #fff;
}

.nav-logo {
    width: 240px;
    height: auto;
    max-width: 100%;
}

/* Main spacing */
.main-container {
    margin-top: 25px;
}

.main-container .col-lg-3,
.main-container #main-content-column {
    font-size: 0.917rem;
}

/* Box Styling */
.info-box {
    background: #fff;
    margin-bottom: 25px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.box-header {
    padding: 12px 15px;
    font-weight: bold;
    color: #fff;
    background: #7a1832;
}

.box-body {
    padding: 15px;
}

.content-image {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: min-content;
    max-width: none;
    margin: 0 0 1rem;
    padding: 0.55rem;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #f7f7f7;
    box-sizing: border-box;
}

.content-image picture {
    display: block;
    width: fit-content;
    line-height: 0;
}

.content-image img {
    display: block;
    width: auto !important;
    max-width: none !important;
    height: auto;
}

.content-image figcaption {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    line-height: 1.25;
    color: #6a6a6a;
}

.content-image-right {
    display: inline-flex;
    float: right;
    clear: both;
    width: min-content;
    max-width: none;
    text-align: center;
    margin: 0.1rem 0 0.8rem 1rem;
}

.content-image-right picture {
    display: block;
    width: auto;
    margin: 0 auto;
}

.content-image-right img {
    width: auto !important;
    max-width: none !important;
    margin: 0 auto;
}

.content-image-right figcaption {
    text-align: center;
}

.content-image-top {
    margin-top: 0;
}

.content-image-middle {
    display: block;
    width: fit-content;
    clear: both;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.content-image-top picture,
.content-image-middle picture,
.content-image-bottom picture {
    display: inline-block;
    margin: 0 auto;
}

.content-image-top img,
.content-image-middle img,
.content-image-bottom img {
    margin: 0 auto;
}

.content-image-bottom {
    margin-top: 1rem;
    margin-bottom: 0;
}

.box-body > .content-image-right + p {
    margin-top: 0;
}

.box-body::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 767.98px) {
    .content-image-right {
        float: none;
        width: fit-content;
        margin: 0 auto 1rem;
    }
}

.store-hours-loading {
    color: #666;
    font-size: 0.95rem;
}

.store-hours-table th,
.store-hours-table td {
    padding: 0.08rem 0;
    vertical-align: top;
    font-size: 0.93rem;
    line-height: 1.2;
}

.store-hours-table th {
    width: 45%;
    font-weight: 600;
    color: #333;
}

.store-hours-separator hr {
    margin: 0.45rem 0;
    border-top: 1px solid #d3d3d3;
}

.carrier-cutoffs-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    margin: 0.35rem 0 0.2rem;
}

.carrier-cutoffs-table th,
.carrier-cutoffs-table td {
    padding: 0.08rem 0;
    vertical-align: top;
    font-size: 0.92rem;
    line-height: 1.2;
}

.carrier-cutoffs-table th {
    width: 45%;
    font-weight: 600;
    color: #333;
}

.holiday-row,
.holiday-open-main-row th,
.holiday-open-main-row td {
    color: #b00020;
    font-weight: 600;
}

.holiday-closed-row td {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.holiday-day,
.holiday-hours,
.holiday-name {
    color: #b00020;
}

.open-holiday-note {
    padding-left: 0.28rem;
    padding-top: 0;
    padding-bottom: 0.02rem;
    line-height: 1.1;
}

.store-hours-table .holiday-open-note-row td,
.store-hours-table .holiday-closed-note-row td {
    padding-top: 0;
    padding-bottom: 0.02rem;
}

.store-contact-line {
    margin: 0 0 0.2rem;
    line-height: 1.2;
}

.store-contact-phone {
    margin-bottom: 0.02rem;
}

.store-contact-fax {
    margin-bottom: 0;
}

.content-loading {
    opacity: 0.5;
    transition: opacity 0.15s ease-in-out;
}

.section-related-links {
    font-size: 0.95rem;
}

.section-related-title {
    font-weight: 700;
    margin-right: 0.35rem;
}

.social-link {
    text-decoration: none;
    color: #333;
}

.social-link:hover {
    text-decoration: underline;
}

footer {
    background: #222;
    color: #fff;
}
