:root {
    --moorah-red: #9b0505;
    --moorah-border: #e00012;
    --moorah-navy: #060c3b;
    --moorah-muted: #6f7281;
    --moorah-surface: #f7f8fb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #111827;
    background: #fff;
    font-family: Figtree, Inter, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.promo-strip {
    overflow: hidden;
    padding: 9px 0;
    background: var(--moorah-red);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.promo-marquee {
    display: flex;
    width: max-content;
    animation: promo-marquee 28s linear infinite;
}

.promo-marquee-group {
    display: flex;
    gap: 160px;
    padding-right: 160px;
}

@keyframes promo-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.promo-strip:hover .promo-marquee {
    animation-play-state: paused;
}

.referral-strip {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    box-shadow: 0 2px 8px rgb(15 23 42 / 6%);
}

.desktop-header-main {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 90px;
}

.brand-link {
    width: 168px;
}




.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-actions img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.language-button {
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 14px;
}

.primary-nav {
    display: flex;
    gap: 48px;
    min-height: 50px;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 90px;
    font-size: 14px;
    font-weight: 600;
}

.mobile-header {
    display: none;
}

.mobile-view-all {
    display: none;
}

.banner-carousel {
    position: relative;
    margin: 36px auto 0;
    width: min(1080px, calc(100vw - 180px));
}

.banner-track {
    display: grid;
    grid-auto-columns: 100%;
    grid-auto-flow: column;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.banner-track::-webkit-scrollbar {
    display: none;
}

.banner-slide {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    scroll-snap-align: start;
}

.banner-slide img {
    width: 100%;
    aspect-ratio: 16 / 4.9;
    object-fit: cover;
}

.carousel-dot {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: #eef0f3;
    color: #9ca3af;
    transform: translateY(-50%);
}

.carousel-dot.left {
    left: -82px;
}

.carousel-dot.right {
    right: -82px;
}

.offer-bar {
    margin-top: 28px;
    padding: 16px;
    background: #000;
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.category-carousel {
    display: flex;
    justify-content: center;
    gap: 34px;
    width: min(1080px, calc(100vw - 180px));
    margin: 36px auto 0;
}

.category-pill {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-width: 82px;
    color: #4b5563;
    font-size: 12px;
    text-align: center;
}

.category-pill img {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
}

.product-section {
    width: min(980px, calc(100vw - 220px));
    margin: 86px auto 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.section-controls {
    display: flex;
    gap: 22px;
    color: #6b7280;
    font-size: 18px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    min-width: 0;
}

.product-image-frame {
    display: block;
    overflow: hidden;
    border: 2px solid var(--moorah-border);
    background: #fff;
}

.product-image-frame img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-name {
    display: block;
    margin-top: 10px;
    min-height: 34px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.product-price {
    display: inline-block;
    margin: 7px 0 0;
    color: var(--moorah-red);
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.product-price:hover,
.product-price:focus-visible {
    color: var(--moorah-navy);
}

.view-all-button {
    display: block;
    width: fit-content;
    margin: 32px auto 0;
    border: 1px solid var(--moorah-navy);
    border-radius: 999px;
    padding: 9px 24px;
    color: var(--moorah-navy);
    font-size: 12px;
    font-weight: 700;
}

.canyon-feature {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;
    align-items: center;
    width: min(980px, calc(100vw - 220px));
    margin: 94px auto 70px;
}

.canyon-copy h2 {
    max-width: 390px;
    margin: 0;
    color: var(--moorah-navy);
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.06;
}

.canyon-copy p {
    max-width: 430px;
    margin: 28px 0 22px;
    color: var(--moorah-muted);
    font-size: 15px;
    line-height: 1.7;
}

.canyon-copy a {
    display: inline-flex;
    border-radius: 6px;
    background: var(--moorah-navy);
    padding: 12px 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.canyon-feature img {
    border-radius: 8px;
}

.service-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    width: min(980px, calc(100vw - 220px));
    margin: 0 auto 42px;
}

.service-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
}

.service-item img {
    width: 42px;
    height: 42px;
}

.service-item h3 {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
}

.service-item p {
    margin: 4px 0 0;
    color: var(--moorah-muted);
    font-size: 11px;
    line-height: 1.35;
}

.site-footer {
    background: var(--moorah-surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 58px 90px 38px;
}

.footer-logo {
    width: 72px;
}

.footer-brand p {
    margin: 24px 0 12px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links img {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 76px;
    font-size: 13px;
}

.footer-accordion {
    display: none;
}

.app-badges {
    display: grid;
    justify-content: end;
    gap: 12px;
}

.app-badges img {
    width: 176px;
}

.copyright {
    border-top: 1px solid #e5e7eb;
    padding: 24px;
    color: #9ca3af;
    text-align: center;
    font-size: 12px;
}

.floating-moorah {
    position: fixed;
    right: 28px;
    bottom: 24px;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 999px;
    background: #a71a18;
    box-shadow: 0 12px 26px rgb(0 0 0 / 18%);
}

.floating-moorah img {
    width: 32px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.listing-page {
    width: min(1160px, calc(100vw - 180px));
    margin: 46px auto 88px;
}

.listing-page h1 {
    margin: 0 0 46px;
    font-size: 26px;
    font-weight: 700;
}

.listing-layout {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 48px;
    align-items: start;
}

.filter-sidebar {
    max-height: 1180px;
    overflow-y: auto;
    padding-right: 28px;
    border-right: 1px solid #e5e7eb;
}

.filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 0 20px;
    font-size: 15px;
}

.filter-heading button {
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 11px;
    font-weight: 700;
}

.filter-group {
    border-bottom: 1px solid #e5e7eb;
    padding: 22px 0;
}

.filter-group-title {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    padding: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    text-align: left;
}

.range-label {
    margin: 18px 0 30px;
    font-size: 14px;
}

.range-track {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: var(--moorah-navy);
}

.range-handle {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    border: 4px solid var(--moorah-navy);
    border-radius: 999px;
    background: #fff;
    transform: translateY(-50%);
}

.range-handle.start {
    left: 0;
}

.range-handle.end {
    right: 0;
}

.checkbox-list {
    display: grid;
    gap: 19px;
    margin-top: 22px;
}

.checkbox-list label {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #374151;
    font-size: 15px;
}

.checkbox-list input {
    width: 18px;
    height: 18px;
    accent-color: var(--moorah-navy);
}

.listing-results {
    min-width: 0;
}

.product-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.select-shell select {
    min-width: 168px;
    border: 1px solid #dfe3ea;
    border-radius: 8px;
    background: #fff;
    padding: 14px 18px;
    color: #111827;
    font-size: 15px;
}

.select-shell.compact select {
    min-width: 78px;
}

.view-toggle {
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 24px;
    line-height: 1;
}

.view-toggle.active {
    font-weight: 900;
}

.listing-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px 38px;
}

.listing-product-grid .product-image-frame {
    border-width: 3px;
    border-radius: 4px;
}

.listing-product-grid .product-name {
    margin-top: 13px;
    min-height: 44px;
    font-size: 16px;
    line-height: 1.22;
}

.listing-product-grid .product-price {
    margin-top: 12px;
    font-size: 17px;
}

.load-more-button {
    display: block;
    width: fit-content;
    text-align: center;
    margin: 78px auto 0;
    border: 1px solid var(--moorah-navy);
    border-radius: 12px;
    background: #fff;
    padding: 14px 42px;
    color: var(--moorah-navy);
    font-size: 14px;
    font-weight: 700;
}

.mobile-filter-sort-bar,
.mobile-panel-placeholder {
    display: none;
}

.mobile-drawer-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mobile-drawer-backdrop,
.mobile-drawer {
    display: none;
}

@media (max-width: 900px) {
    .desktop-header-main,
    .primary-nav,
    .footer-grid {
        padding-right: 24px;
        padding-left: 24px;
    }

    .banner-carousel,
    .category-carousel,
    .product-section,
    .canyon-feature,
    .service-strip {
        width: calc(100vw - 32px);
    }

    .product-grid,
    .service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .listing-page {
        width: calc(100vw - 32px);
    }

    .listing-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        display: none;
    }

    .listing-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body {
        min-width: 0;
        overflow-x: hidden;
    }

    .promo-strip {
        padding: 8px 0;
        font-size: 13px;
    }

    .promo-marquee {
        animation-duration: 20s;
    }

    .promo-marquee-group {
        gap: 96px;
        padding-right: 96px;
    }

    .referral-strip,
    .desktop-header-main,
    .primary-nav {
        display: none;
    }

    .site-header {
        position: sticky;
        top: 0;
        box-shadow: 0 1px 0 #eef0f3;
    }

    .mobile-header {
        display: block;
        padding: 14px 14px 12px;
        background: #fff;
    }

    .mobile-header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 38px;
    }

    .mobile-icon-button {
        border: 0;
        background: transparent;
        padding: 0;
        color: #111827;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-brand-link {
        width: 31px;
        margin-left: 8px;
    }

    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 17px;
        margin-left: auto;
    }

    .mobile-actions img {
        width: 23px;
        height: 23px;
        object-fit: contain;
    }




    .mobile-drawer-backdrop {
        position: fixed;
        inset: 0;
        z-index: 60;
        display: block;
        background: rgb(17 24 39 / 18%);
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease;
    }

    .mobile-drawer {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 61;
        display: flex;
        width: min(100vw, 430px);
        min-height: 100dvh;
        flex-direction: column;
        background: #fff;
        transform: translateX(-100%);
        transition: transform .2s ease;
    }

    .mobile-drawer-toggle:checked ~ .mobile-drawer-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-drawer-toggle:checked ~ .mobile-drawer {
        transform: translateX(0);
    }

    .mobile-drawer-close {
        align-self: flex-end;
        padding: 18px 24px 34px;
        color: #111827;
        cursor: pointer;
        font-size: 25px;
        line-height: 1;
    }

    .drawer-account-card {
        display: grid;
        grid-template-columns: 62px 1fr auto;
        gap: 18px;
        align-items: center;
        margin: 0 16px 18px;
        border: 1px solid #d9dee7;
        border-radius: 10px;
        padding: 12px 16px 12px 10px;
        color: #000;
        font-size: 16px;
        font-weight: 600;
    }

    .drawer-account-card img {
        width: 62px;
        height: 62px;
        border-radius: 999px;
        object-fit: cover;
    }

    .drawer-account-card strong {
        color: #000;
        font-size: 25px;
        font-weight: 500;
        letter-spacing: -6px;
    }

    .drawer-nav {
        display: grid;
        gap: 0;
        padding: 0 16px;
    }

    .drawer-nav-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 40px;
        color: #000;
        font-size: 16px;
        font-weight: 700;
    }

    .drawer-nav-item strong {
        font-size: 26px;
        font-weight: 400;
        line-height: 1;
    }

    .drawer-language-switcher {
        display: flex;
        justify-content: center;
        gap: 14px;
        margin-top: auto;
        border-top: 1px solid #e5e7eb;
        padding: 16px;
        color: #000;
        font-size: 15px;
        font-weight: 700;
    }

    .drawer-language-switcher span {
        font-size: 18px;
        font-weight: 500;
    }

    .banner-carousel {
        width: calc(100vw - 28px);
        margin-top: 16px;
    }

    .banner-track {
        grid-auto-columns: 92%;
        gap: 12px;
        overflow-x: auto;
    }

    .banner-slide img {
        aspect-ratio: 16 / 7.1;
        border-radius: 6px;
    }

    .carousel-dot {
        display: none;
    }

    .offer-bar {
        margin-top: 14px;
        padding: 8px 10px;
        font-size: 10px;
        line-height: 1.4;
    }

    .category-carousel {
        justify-content: flex-start;
        gap: 18px;
        width: 100vw;
        margin-top: 16px;
        overflow-x: auto;
        padding: 0 14px 4px;
        scrollbar-width: none;
    }

    .category-carousel::-webkit-scrollbar {
        display: none;
    }

    .category-pill {
        min-width: 72px;
        gap: 6px;
        font-size: 10px;
    }

    .category-pill img {
        width: 34px;
        height: 34px;
    }

    .product-section {
        width: calc(100vw - 28px);
        margin-top: 34px;
    }

    .section-header {
        margin-bottom: 12px;
    }

    .section-header h2 {
        font-size: 15px;
    }

    .section-controls {
        display: none;
    }

    .mobile-view-all {
        display: inline-flex;
        align-items: center;
        color: #111827;
        font-size: 11px;
        font-weight: 600;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .product-image-frame {
        border-width: 2px;
        border-radius: 5px;
    }

    .product-name {
        min-height: 36px;
        margin-top: 6px;
        font-size: 11px;
        line-height: 1.22;
    }

    .product-price {
        margin-top: 5px;
        font-size: 11px;
    }

    .view-all-button {
        display: none;
    }

    .canyon-feature {
        display: flex;
        flex-direction: column-reverse;
        gap: 14px;
        width: calc(100vw - 28px);
        margin: 36px auto 26px;
        text-align: center;
    }

    .canyon-feature img {
        width: 100%;
    }

    .canyon-copy h2 {
        max-width: none;
        font-size: 16px;
        line-height: 1.2;
    }

    .canyon-copy p {
        max-width: 300px;
        margin: 8px auto 13px;
        font-size: 11px;
        line-height: 1.45;
    }

    .canyon-copy a {
        padding: 9px 16px;
        font-size: 10px;
    }

    .service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 10px;
        width: calc(100vw - 28px);
        margin-bottom: 28px;
    }

    .service-item {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 8px;
        text-align: center;
    }

    .service-item img {
        width: 42px;
        height: 42px;
    }

    .service-item h3 {
        font-size: 10px;
    }

    .service-item p {
        max-width: 150px;
        font-size: 9px;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 28px 14px 20px;
        text-align: center;
    }

    .footer-logo {
        width: 70px;
        margin: 0 auto;
    }

    .footer-brand p {
        margin: 18px 0 12px;
        font-size: 14px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        display: none;
    }

    .footer-accordion {
        display: block;
        width: 100%;
        border: 1px solid #d9dee7;
        border-radius: 6px;
        background: #fff;
        text-align: left;
    }

    .footer-accordion summary {
        cursor: pointer;
        list-style: none;
        padding: 12px 14px;
        font-size: 12px;
        font-weight: 600;
    }

    .footer-accordion nav {
        display: grid;
        gap: 10px;
        border-top: 1px solid #e5e7eb;
        padding: 12px 14px;
        font-size: 12px;
    }

    .app-badges {
        display: flex;
        justify-content: center;
        gap: 10px;
        order: -1;
    }

    .app-badges img {
        width: 158px;
        max-width: calc((100vw - 42px) / 2);
    }

    .copyright {
        padding: 20px 72px 22px 14px;
        text-align: left;
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
    }

    .floating-moorah {
        right: 14px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }

    .listing-page {
        width: 100%;
        margin: 0 0 46px;
        padding: 18px 14px 0;
    }

    .listing-page h1 {
        margin: 0 0 18px;
        font-size: 16px;
        font-weight: 700;
    }

    .listing-layout {
        display: block;
    }

    .listing-results {
        width: 100%;
    }

    .product-toolbar {
        display: none;
    }

    .mobile-filter-sort-bar {
        position: sticky;
        top: 128px;
        z-index: 15;
        display: grid;
        grid-template-columns: 1fr 1px 1fr;
        align-items: center;
        margin: 8px -14px 18px;
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        background: #fff;
    }

    .mobile-filter-sort-bar button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 50px;
        border: 0;
        background: #fff;
        color: #111827;
        font-size: 14px;
        font-weight: 700;
    }

    .mobile-control-divider {
        display: block;
        width: 1px;
        height: 30px;
        background: #dfe3ea;
    }

    .filter-icon,
    .sort-icon {
        position: relative;
        display: inline-block;
        width: 20px;
        height: 20px;
    }

    .filter-icon::before {
        position: absolute;
        inset: 3px 2px 2px;
        border: 2px solid var(--moorah-navy);
        border-top: 0;
        clip-path: polygon(0 0, 100% 0, 58% 45%, 58% 100%, 42% 100%, 42% 45%);
        content: "";
    }

    .sort-icon::before,
    .sort-icon::after {
        position: absolute;
        left: 3px;
        height: 2px;
        border-radius: 999px;
        background: var(--moorah-navy);
        content: "";
    }

    .sort-icon::before {
        top: 6px;
        width: 15px;
        box-shadow: 3px 6px 0 var(--moorah-navy);
    }

    .sort-icon::after {
        top: 18px;
        width: 8px;
    }

    .mobile-panel-placeholder {
        display: none;
    }

    .listing-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
    }

    .listing-product-grid .product-image-frame {
        border-width: 2px;
        border-radius: 5px;
    }

    .listing-product-grid .product-name {
        min-height: 42px;
        margin-top: 7px;
        font-size: 12px;
        line-height: 1.18;
        overflow-wrap: anywhere;
    }

    .listing-product-grid .product-price {
        margin-top: 6px;
        font-size: 13px;
    }

    .load-more-button {
        margin-top: 42px;
        border-radius: 8px;
        padding: 12px 34px;
        font-size: 13px;
    }
}

/* Shared site navigation. */
.site-menu { list-style: none; margin: 0; padding: 0; }
.primary-nav > .site-menu { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-menu .sidebar-item { display: flex; align-items: center; gap: 8px; }
.sidebar-item-caret { border: 0; background: transparent; cursor: pointer; color: inherit; padding: 8px; }
.sidebar-item-caret .bi-chevron-left { display: block; }
.sidebar-item-caret[aria-expanded="true"] .bi-chevron-left { transform: rotate(-90deg); }
.menu-group { position: relative; }
.submenu-list { list-style: none; margin: 0; padding: 12px; background: white; }
.submenu-list[hidden] { display: none; }
.primary-nav .submenu-list { position: absolute; top: 100%; left: 0; z-index: 20; width: 220px; box-shadow: 0 4px 16px #0002; max-height: 60vh; overflow-y: auto; }
.submenu-item { display: block; padding: 8px; }
.drawer-nav .sidebar-item { padding: 12px 0; }

/* Menu toggle and logo share the header row on every screen. */
.desktop-header-main.navbar { flex-wrap: nowrap; }
.header-brand-group { display: flex; align-items: center; gap: 24px; }
.brand-link { flex-shrink: 0; }
.site-header .navbar-toggler { border: 0; padding: 8px; color: #111827; }
.site-header .navbar-toggler:focus { box-shadow: 0 0 0 3px #9b050533; }
.site-header .navbar-toggler-icon { width: 24px; height: 24px; }
.site-navigation { --bs-offcanvas-width: min(380px, 100vw); color: #111827; }
.site-navigation .offcanvas-title { font-size: 24px; }
.site-navigation .sidebar-item { padding: 10px 0; justify-content: space-between; }
.site-navigation .sidebar-item-link { flex: 1; }
.site-navigation .submenu-list { padding: 0 0 0 16px; }
.site-navigation .drawer-account-card { display: flex; gap: 16px; align-items: center; margin: 0 0 20px; padding: 12px; border: 1px solid #d9dee7; border-radius: 10px; }
.site-navigation .drawer-account-card img { width: 52px; height: 52px; border-radius: 50%; }
.site-navigation .drawer-language-switcher { margin-top: 24px; }
@media (max-width: 640px) {
    .mobile-header-row.navbar { flex-wrap: nowrap; padding: 0; }
    .mobile-header-row .mobile-icon-button { padding: 4px; }
}

.language-switcher .language-button { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.language-switcher .dropdown-item { color: #111827; }
.language-switcher .dropdown-item.active { background: var(--moorah-red); color: #fff; }

/* Keep the header and promotion strip outside the sidebar overlay. */
.site-navigation.offcanvas-start,
.offcanvas-backdrop { top: var(--site-navigation-top, 0px); }

/* Fluid header and home sections without page-wide horizontal overflow. */
.desktop-header-main { padding-inline: clamp(16px, 5vw, 90px); gap: clamp(16px, 3vw, 36px); }
.header-brand-group { min-width: 0; gap: clamp(12px, 2vw, 24px); }
.header-actions { flex-shrink: 0; gap: clamp(12px, 2vw, 24px); }
.banner-carousel, .category-carousel { width: min(1080px, calc(100% - 32px)); }
.banner-slide img { height: auto; aspect-ratio: auto; object-fit: contain; }
.category-carousel { justify-content: flex-start; gap: clamp(18px, 2.5vw, 34px); overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.category-pill { flex: 0 0 82px; min-width: 0; }
.category-carousel::-webkit-scrollbar { display: none; }
.canyon-feature { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 64px); }
.canyon-copy, .service-item > div { min-width: 0; }
.service-item p { overflow-wrap: anywhere; }
.site-navigation .offcanvas-body { min-height: 0; overflow-x: hidden; }
@media (min-width: 641px) and (max-width: 1100px) {
    .carousel-dot.left { left: 8px; }
    .carousel-dot.right { right: 8px; }
    .brand-link { width: clamp(120px, 17vw, 168px); }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-inline: 24px; }
    .footer-links { gap: 16px 24px; }
    .app-badges { grid-column: 1 / -1; display: flex; justify-content: center; }
    .canyon-copy h2 { font-size: clamp(26px, 3.4vw, 38px); }
}
@media (max-width: 640px) {
    .desktop-header-main.navbar { display: none; }
    .mobile-header { padding: 12px 14px; }
    .mobile-header-row { gap: 8px; }
    .mobile-brand-link { flex: 0 0 34px; margin-left: 0; }
    .mobile-actions { gap: 12px; }
    .mobile-actions .language-button { font-size: 12px; gap: 4px; white-space: nowrap; }
    .mobile-actions .language-button > span[aria-hidden] { display: none; }
    .banner-carousel { width: calc(100% - 28px); }
    .banner-track { grid-auto-columns: 100%; }
    .category-carousel { width: 100%; padding-inline: 14px; gap: 18px; }
    .category-pill { flex-basis: 72px; }
    .copyright { white-space: normal; overflow-wrap: anywhere; }
}

/* Keep each promotion together, stacking the offers on small screens. */
.offer-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; width: 100%; min-width: 0; white-space: normal; }
.offer-bar > span { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
    .offer-bar { padding: 12px 14px; font-size: 12px; line-height: 1.5; }
    .offer-bar > span { flex-basis: 100%; }
}

/* Responsive home layout uses its container rather than viewport-sized sections. */
html, body { width: 100%; min-width: 0; margin: 0; }
#main, .home-page { width: 100%; min-width: 0; max-width: 100%; }
.home-page { --home-gutter: clamp(14px, 3vw, 40px); }
.home-page > .banner-carousel,
.home-page > .category-carousel,
.home-page > .canyon-feature { width: min(1080px, calc(100% - 2 * var(--home-gutter))); margin-inline: auto; }
.home-page > .banner-carousel { margin-top: clamp(16px, 3vw, 36px); }
.home-page .banner-track { min-width: 0; grid-auto-columns: 100%; }
.home-page .banner-slide { min-width: 0; }
.home-page .banner-slide img { display: block; width: 100%; height: auto; }
.home-page > .offer-bar { width: 100%; max-width: 100%; padding-inline: var(--home-gutter); }
.home-page > .category-carousel { scroll-padding-inline: 0; padding-inline: 0; }
.home-page > .canyon-feature { margin-block: clamp(28px, 5vw, 64px); }
.home-page > .home-live-feed { width: min(1080px, calc(100% - 2 * var(--home-gutter))); min-width: 0; margin: 0 auto clamp(32px, 5vw, 64px); }
.home-page .canyon-copy h2 { font-size: clamp(24px, 3.5vw, 42px); line-height: 1.15; }
.home-page .canyon-copy p { font-size: 14px; line-height: 1.6; }
.home-page .canyon-copy a { font-size: 13px; padding: 12px 20px; }
.service-strip { width: min(1080px, calc(100% - 28px)); }
.service-item h3 { font-size: 13px; line-height: 1.4; }
.service-item p { font-size: 12px; line-height: 1.5; }
.site-header, .promo-strip, .referral-strip { width: 100%; max-width: 100%; }
.header-actions .language-button { white-space: nowrap; }
@media (max-width: 991px) {
    .desktop-header-main.navbar { display: none; }
    .mobile-header { display: block; padding: 12px clamp(14px, 3vw, 24px); }
    .mobile-header-row.navbar { display: flex; flex-wrap: nowrap; gap: 8px; padding: 0; min-height: 40px; }
    .mobile-brand-link { display: block; flex: 0 0 36px; width: 36px; margin-left: 0; }
    .mobile-brand-link img { width: 100%; height: auto; }
    .mobile-actions { display: flex; align-items: center; margin-left: auto; gap: clamp(10px, 2vw, 18px); }
    .mobile-actions img { width: 23px; height: 23px; object-fit: contain; }
    .mobile-actions .language-button { font-size: 13px; gap: 4px; }
    .mobile-actions .language-button > span[aria-hidden] { display: none; }
    .home-page .carousel-dot.left { left: 8px; }
    .home-page .carousel-dot.right { right: 8px; }
}
@media (max-width: 767px) {
    .home-page > .canyon-feature { display: flex; flex-direction: column-reverse; gap: 20px; text-align: center; }
    .home-page .canyon-copy h2 { max-width: none; }
    .home-page .canyon-copy p { max-width: 440px; margin: 12px auto 16px; }
    .home-page .canyon-feature img { width: 100%; height: auto; }
    .service-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .service-item { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .service-item p { max-width: 240px; }
    .footer-grid { display: flex; flex-direction: column; gap: 24px; padding: 28px 14px; text-align: center; }
    .footer-logo { margin-inline: auto; }
    .social-links { justify-content: center; }
    .footer-links { display: none; }
    .footer-accordion { display: block; width: 100%; border: 1px solid #d9dee7; border-radius: 6px; padding: 12px; text-align: left; }
    .footer-accordion nav { display: grid; gap: 12px; padding-top: 12px; }
    .app-badges { display: flex; justify-content: center; gap: 12px; }
    .app-badges img { width: min(158px, calc((100vw - 40px) / 2)); }
}
@media (max-width: 480px) {
    .site-navigation { --bs-offcanvas-width: 100%; }
    .home-page .offer-bar { font-size: 12px; line-height: 1.5; }
    .service-strip { gap: 22px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .promo-marquee { animation: none; width: 100%; }
    .promo-marquee-group { gap: 24px; padding-inline: 14px; overflow-x: auto; }
    .promo-marquee-group[aria-hidden="true"] { display: none; }
    .banner-track { scroll-behavior: auto; }
}

/* Content pages (livewire/frontend) — page title and intro above the cta-cards */
#main > h1 {
    width: min(980px, calc(100% - 2 * clamp(14px, 3vw, 40px)));
    margin: clamp(24px, 4vw, 40px) auto 12px;
    color: var(--moorah-navy);
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

#main > h1 + h1 {
    margin-top: 0;
}

#main > .cta-intro {
    width: min(820px, calc(100% - 2 * clamp(14px, 3vw, 40px)));
    margin: 0 auto clamp(20px, 3vw, 32px);
    text-align: center;
}

#main > .cta-intro p {
    margin: 0;
    color: #374151;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

/* Official catalog: bounded columns and working category navigation. */
.listing-page { width: min(1160px, calc(100% - 28px)); min-width: 0; margin: 32px auto 64px; }
.listing-page h1 { margin-bottom: 24px; }
.catalog-navigation { position: relative; margin-bottom: 28px; }
.catalog-tabs { display: flex; align-items: stretch; min-width: 0; border-bottom: 1px solid #f3f3f3; }
.catalog-tabs a, .catalog-categories-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 10px 20px; border: 0; border-bottom: 4px solid transparent; background: white; color: #111; font-size: 16px; font-weight: 400; text-transform: uppercase; text-decoration: none; }
.catalog-tabs a[aria-current], .catalog-categories-toggle[aria-expanded="true"] { border-bottom-color: var(--moorah-navy); }
.catalog-tabs:has(.catalog-categories-toggle[aria-expanded="true"]) a[aria-current] { border-bottom-color: transparent; }
.catalog-categories-toggle svg { flex-shrink: 0; }
.catalog-tabs a:focus-visible, .catalog-categories-toggle:focus-visible, .catalog-sidebar a:focus-visible { outline: 2px solid var(--moorah-navy); outline-offset: -2px; }
.listing-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
.catalog-sidebar { position: absolute; top: 100%; left: 0; z-index: 20; width: min(960px, 100%); max-width: 100%; min-width: 0; background: white; border-top: 1px solid #f3f3f3; box-shadow: 0 6px 6px 1px rgb(0 0 0 / 30%); }
.catalog-sidebar.collapse:not(.show) { display: none; }
.catalog-sidebar.collapse.show { overflow: auto; }
.catalog-category-list, .catalog-category-item .submenu-list, .catalog-mega-children { list-style: none; margin: 0; padding: 0; }
.catalog-category-item .submenu-list { padding-left: 16px; }
.category-menu-row { display: flex; align-items: center; min-width: 0; }
.category-menu-row a { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.category-menu-row .sidebar-item-caret { flex: 0 0 36px; padding: 10px; }
.catalog-category-item .submenu-item { display: block; padding: 10px 0; font-size: 14px; line-height: 1.4; }
.catalog-category-item .submenu-item.active { color: #ae0000; font-weight: 700; }
.catalog-sidebar .catalog-category-list { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; width: max-content; min-width: 100%; padding: 24px; }
.catalog-sidebar .catalog-category-list > li { flex: 0 0 auto; width: max-content; }
.catalog-sidebar .submenu-item { padding: 4px 0; color: var(--moorah-navy); font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.catalog-sidebar .catalog-category-list > li > .category-menu-row a { padding-block: 6px; font-weight: 600; }
.catalog-sidebar .catalog-mega-children { border-left: 1px solid #dfe3ea; padding-left: 12px; margin-left: 12px; }
.catalog-sidebar .submenu-item:hover, .catalog-sidebar .submenu-item.active { color: var(--moorah-red); }
.listing-page .product-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.listing-page .toolbar-right { gap: 12px; }
.listing-page .select-shell select { min-width: 0; max-width: 100%; padding: 10px 12px; font-size: 14px; }
.catalog-result-count { color: #64748b; font-size: 13px; margin-bottom: 20px; }
.listing-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
.listing-page .product-card { min-width: 0; }
.listing-page .product-image-frame { display: block; aspect-ratio: 1; width: 100%; height: auto; padding: 0; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.listing-page .product-image-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.listing-page .product-name { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; min-height: 42px; }
.listing-page .product-price { font-size: 16px; line-height: 1.4; color: #ae0000; display: inline-block; margin-top: 6px; }
.catalog-empty { grid-column: 1 / -1; padding: 32px 0; }
.listing-product-grid.is-list { grid-template-columns: minmax(0, 1fr); }
.listing-product-grid.is-list .product-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 20px; align-items: center; text-align: left; }
.listing-product-grid.is-list .product-image-frame { grid-row: span 2; }
.listing-product-grid.is-list .product-name { align-self: end; min-height: 0; }
.listing-product-grid.is-list .product-price { align-self: start; margin: 0; }
@media (max-width: 991px) {
    .catalog-tabs a, .catalog-categories-toggle { font-size: 14px; padding-inline: 16px; }
}
@media (max-width: 640px) {
    .listing-page { margin-top: 24px; }
    .listing-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
    .listing-page .product-name { font-size: 12px; min-height: 36px; }
    .listing-page .product-price { font-size: 13px; }
    .listing-page .select-shell select { font-size: 12px; padding: 9px 8px; }
    .listing-page .toolbar-right { gap: 10px; }
    .listing-page .view-toggle { font-size: 22px; }
    .catalog-tabs a, .catalog-categories-toggle { gap: 5px; min-height: 48px; padding: 10px 8px; font-size: 10px; }
    .catalog-categories-toggle svg { width: 12px; height: 12px; }
    .catalog-sidebar { width: 100%; max-width: 100%; max-height: 65dvh; }
    .catalog-sidebar .catalog-category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; width: 100%; padding: 20px 16px; }
    .catalog-sidebar .catalog-category-list > li { width: auto; min-width: 0; }
    .catalog-sidebar .submenu-item { font-size: 12px; line-height: 18px; white-space: normal; overflow-wrap: anywhere; }
    .catalog-sidebar .catalog-mega-children { margin-left: 0; padding-left: 10px; }
    .listing-product-grid.is-list .product-card { grid-template-columns: 90px minmax(0, 1fr); gap: 8px 14px; }
}
