
/* 3.1b fix: header__menu ul { display: flex } was unconditionally forcing
   display on every nested <ul>, including Bootstrap dropdown-menus. Restore
   proper show/hide behavior scoped to dropdowns inside the main nav only. */
.header__area .header__menu ul.dropdown-menu {
    display: none;
}
.header__area .header__menu ul.dropdown-menu.show {
    display: block;
}

/* 4.5 fix: main.css sets .text-muted to 60% white (hsl(var(--white)/0.6)), which is
   invisible on the light frontend and dashboard backgrounds. Use Bootstrap's gray. */
.text-muted {
    color: #6c757d !important;
}

/* 6.3c: home category slider. Arrows sit outside the slider so no card is
   covered; on phones they move below it. Swiper sets slide widths per breakpoint. */
.category-section-new .category-slider-new {
    margin: 0 64px;
}
.category-slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: hsl(var(--white));
    color: hsl(var(--base));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}
.category-slider-nav .category-slider-prev {
    left: 12px;
}
.category-slider-nav .category-slider-next {
    right: 12px;
}
.category-slider-nav button:hover {
    background: hsl(var(--base-h) var(--base-s) 35%);
    color: hsl(var(--white));
}
.category-slider-nav button.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.category-slider-nav button.swiper-button-lock {
    display: none;
}
@media (max-width: 767px) {
    .category-section-new .category-slider-new {
        margin: 0;
    }
    .category-slider-nav {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 20px;
    }
    .category-slider-nav button {
        position: static;
        transform: none;
    }
}

/* 6.3e (replaces the 6.3d block): category row as full-tile cards in brand colors.
   Change the blue here only: --cat-blue. Orange is the logo roof orange.
   Tiles are white silhouettes drawn with mask-image (set inline in the blade), so their
   color follows background-color. On hover the card flips to white and the tile, icon and
   name flip to blue in the same frame: background/color changes are not transitioned, so
   there is never an in-between moment of light-on-light. Border and glow still animate. */
.category-section-new {
    --cat-blue: var(--rz-category-blue, #004990);
    --cat-blue-shadow: rgba(6, 20, 60, 0.30);
    --cat-orange: var(--rz-brand-orange, #f66a0e);
    --cat-fg: #fff;
    background-color: var(--cat-blue);
}
.category-section-new .bg-text-overlay {
    color: rgba(255, 255, 255, 0.05);
}
.category-section-new .cat-card {
    padding: 0;
    justify-content: flex-start;
    align-items: stretch;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 18px var(--cat-blue-shadow);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.category-section-new .cat-card:hover,
.category-section-new .cat-card:focus-visible {
    --cat-fg: var(--cat-blue);
    background: #fff;
    border-color: var(--cat-orange);
    box-shadow: 0 0 0 2px var(--cat-orange), 0 10px 26px var(--cat-blue-shadow);
    outline: none;
}
/* image area: about two thirds of the card */
.category-section-new .cat-visual {
    flex: 1 0 auto;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 8px 4px;
}
.category-section-new .cat-tile {
    display: block;
    width: 100%;
    max-width: 170px;
    max-height: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--cat-fg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
/* categories without a tile yet, and the "More" card: Font Awesome icon, no circle */
.category-section-new .cat-visual-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    line-height: 1;
    color: var(--cat-fg);
}
/* name in a band along the bottom; two-line height so every card lines up */
.category-section-new .cat-title {
    margin: 0;
    min-height: 64px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--cat-fg);
    background: rgba(0, 0, 0, 0.16);
}
.category-section-new .cat-card:hover .cat-title,
.category-section-new .cat-card:focus-visible .cat-title {
    background: color-mix(in srgb, var(--cat-blue) 8%, #fff);
}
.category-section-new .category-slider-nav button {
    background: #fff;
    color: var(--cat-blue);
}
.category-section-new .category-slider-nav button:hover,
.category-section-new .category-slider-nav button:focus-visible {
    background: var(--cat-orange);
    color: #fff;
    outline: none;
}
@media (max-width: 575px) {
    .category-section-new .cat-visual {
        height: 160px;
    }
    .category-section-new .cat-visual-icon {
        font-size: 68px;
    }
    .category-section-new .cat-title {
        font-size: 15px;
        min-height: 58px;
    }
}

/* 6.3g: hero stat counters removed; main.css kept 100px below the hero on phones to hold them */
@media screen and (max-width: 575px) {
    .hero__area {
        padding-bottom: 48px;
    }
}

/* 6.3i: hero heading highlight in brand orange */
.hero__area .hero-title .highlight {
    color: var(--rz-brand-orange, #f66a0e);
}

/* 6.3i: contact info cards centered for any count (main.css assumed four grid columns) */
.contact__info .contact__card__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.contact__info .contact__card {
    flex: 0 1 300px;
}

@media screen and (max-width: 460px) {
    .contact__info .contact__card {
        flex-basis: 100%;
    }
}

/* Site Colors (admin > Settings > Site Colors). main.css stays stock: each rule below repeats a
   main.css selector and property, with the colour taken from includes/theme_colors and the old
   hard-coded value as fallback. --base, --base-two, --success and --borrow-primary are set there
   directly, so main.css rules that use them need nothing here. */
.footer-section {
    background-color: var(--rz-footer-bg, #0c211d);
}
.footer-links li a:hover {
    color: var(--rz-footer-accent, #00b67a);
}
.footer-contact-list li a i {
    color: var(--rz-footer-accent, #00b67a);
}
.social-link-item:hover {
    background: var(--rz-footer-accent, #00b67a);
}
.footer-bottom-links .dropdown-menu {
    background-color: var(--rz-footer-dropdown-bg, #1a2e2a);
}
.footer-bottom-links .dropdown-item:hover {
    color: var(--rz-footer-accent, #00b67a);
}
.map-overlay-icon {
    background: rgb(var(--rz-map-accent-rgb, 0 208 148) / 0.15);
    color: var(--rz-map-accent, #00d094);
}
.map-overlay-content span {
    color: var(--rz-map-accent, #00d094);
}
.hero-badge .dot {
    background: var(--rz-map-accent, #00d094);
}
.borrow-status-dot {
    background-color: var(--rz-status-available, #4caf50);
}
.map-collapsed #mapToggleBtn {
    background: var(--rz-listing-accent, #008060);
}

/* Header logo (was an inline height:120px on both <img> tags). main.css caps it at 130px wide;
   the cap goes and the height sets the size. The offcanvas panel
   is 300px wide at every screen size, so its logo stays at the phone height. */
.header__area .header__logo a img,
.offcanvas__area .offcanvas__topbar a img {
    height: 100px;
    width: auto;
    max-width: none;
}
.offcanvas__area .offcanvas__topbar a img {
    height: 56px;
}
@media (max-width: 575px) {
    .header__area .header__logo a img {
        height: 56px;
    }
}

/* Mobile menu: main.css puts the offcanvas at z-index 15 and its overlay at 12, but the header is
   z-index 100 (main.css, borrow section), so the header covered the menu's logo and close X.
   The overlay is shared with the dashboard sidebar, so it is only raised on pages with this header. */
@media (max-width: 991.98px) {
    .offcanvas__area {
        z-index: 1010;
    }
    body:has(> .header__area) .overlay {
        z-index: 1005;
    }
}

/* 992-1199px: logo, nav and widgets need about 1018px but the container gives 928, so the nav
   wrapped to two rows. Slightly smaller logo and nav links in this range only. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .header__area .header__logo a img {
        height: 80px;
    }
    .header__area .header__menu ul li a {
        font-size: 15px;
        padding: 8px 10px;
    }
}

/* Session 7: home "Recently active items" with no listings yet. Shown instead of "No data"
   (sections/product.blade.php); colours come from the theme variables so Site Colors applies. */
.home-empty-state {
    max-width: 560px;
    margin: 0 auto;
    padding: 48px 32px;
    text-align: center;
    background: hsl(var(--section-bg));
    border: 1px dashed hsl(var(--border-color));
    border-radius: 16px;
}
.home-empty-state__icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    font-size: 30px;
    color: hsl(var(--base));
    background: hsl(var(--base) / 0.1);
}
.home-empty-state__title {
    margin-bottom: 10px;
    font-size: 26px;
    font-weight: 800;
    color: hsl(var(--heading-color));
}
.home-empty-state__text {
    margin-bottom: 28px;
    text-wrap: balance;
    font-size: 16px;
    color: hsl(var(--body-color));
}
@media (max-width: 575px) {
    .home-empty-state {
        padding: 36px 20px;
    }
    .home-empty-state__title {
        font-size: 22px;
    }
}

/* Session 7: home hero. main.css fixes the map card at 569.5px wide, which is wider than its
   column at 1200-1399px, so it ran under the headline and clipped the subhead. Cap it at the
   column (no change where the column is wider) and give the text a gap in that range. */
.hero__map__inner {
    max-width: 100%;
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .hero__area .hero__left {
        padding-left: 24px;
    }
}
/* 992-1199px: the map column is full width and came first at 700px tall, pushing the headline
   and search below the fold. Headline and search first; a shorter map below them. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* the hero's own row only, not the search form's row inside it */
    .hero__area > .container > .row > div:first-child {
        order: 2;
    }
    .hero__map__inner {
        width: 100%;
        height: 380px;
    }
}

/* Session 7: home "How Rentoolz works" strip (sections/how_it_works.blade.php; copy in
   Admin > Frontend Manager > How It Works). 4 across on desktop, 2x2 on tablet, stacked on phones. */
.how-it-works {
    padding: 80px 0;
    background: hsl(var(--section-bg));
}
.how-it-works__head {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}
.how-it-works__heading {
    margin-bottom: 10px;
    font-size: 36px;
    font-weight: 800;
    color: hsl(var(--heading-color));
}
.how-it-works__sub {
    margin: 0;
    font-size: 17px;
    color: hsl(var(--body-color));
    text-wrap: balance;
}
.how-it-works__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.how-it-works__step {
    padding: 28px 24px;
    background: hsl(var(--white));
    border: 1px solid hsl(var(--border-color));
    border-radius: 16px;
}
.how-it-works__num {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    color: hsl(var(--white));
    background: var(--rz-brand-orange, #f66a0e);
}
.how-it-works__title {
    margin-bottom: 8px;
    font-size: 19px;
    font-weight: 700;
    color: hsl(var(--heading-color));
}
.how-it-works__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: hsl(var(--body-color));
}
.how-it-works__cta {
    margin: 36px 0 0;
    text-align: center;
    font-size: 17px;
    color: hsl(var(--heading-color));
}
.how-it-works__cta a {
    font-weight: 700;
    color: hsl(var(--base));
    text-decoration: underline;
    text-underline-offset: 3px;
}
.how-it-works__cta a:hover {
    color: var(--rz-brand-orange, #f66a0e);
}
@media (max-width: 991.98px) {
    .how-it-works__steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575.98px) {
    .how-it-works {
        padding: 56px 0;
    }
    .how-it-works__heading {
        font-size: 28px;
    }
    .how-it-works__steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .how-it-works__step {
        padding: 22px 20px;
    }
}

/* Session 7 fixes4: hero badge ("Free to list. Free to rent.", Admin > Frontend Manager > Banner
   Section > topheading) as an orange eyebrow above the headline instead of a black pill. Overrides
   main.css .hero__content>span and .hero-badge (background: none keeps main.css's dark pill off). */
.hero__area .hero__content .hero-badge {
    gap: 0;
    padding: 0;
    margin-bottom: 14px;
    background: none;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rz-brand-orange-text, #c4550b);
}
.hero__area .hero__content .hero-badge .dot {
    display: none;
}
@media (max-width: 575.98px) {
    .hero__area .hero__content .hero-badge {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/* fixes4: hero search at 1200-1399px. The text column is narrow there and the keyword field
   (4/12) cut off "I'm looking for..."; give it 5/12 and the location field 4/12. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .hero-search-form > .row > div:nth-child(1) {
        width: 41.666667%;
    }
    .hero-search-form > .row > div:nth-child(2) {
        width: 33.333333%;
    }
}

/* fixes4: footer newsletter. The email input kept its default min-width, squeezing the Join
   button until it wrapped ("Jo / in") at 992-1199px. Let the input shrink; keep Join on one line. */
.newsletter-input-group input {
    min-width: 0;
}
.newsletter-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Session 7: contact page. Line under "Email our support team" pointing account holders to tickets. */
.contact__ticket-note {
    margin: 16px 0 0;
    text-align: center;
    font-size: 15px;
    color: hsl(var(--body-color));
}
.contact__ticket-note a {
    font-weight: 700;
    color: hsl(var(--base));
    text-decoration: underline;
    text-underline-offset: 3px;
}
.contact__ticket-note a:hover {
    color: var(--rz-brand-orange, #f66a0e);
}

/* B8 S5: "Skip to main content". Off-screen until it gets keyboard focus, then shown at the top left
   above the sticky header. <main id="main-content" tabindex="-1"> is the target in all three layouts;
   it only receives focus from this link, so it shows no focus ring. */
.skip-link {
    position: absolute;
    top: -200px;
    left: 16px;
    z-index: 100000;
    padding: 12px 20px;
    background: #fff;
    color: #0b3d1f;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #0b3d1f;
    border-radius: 8px;
    text-decoration: none;
    transition: none; /* main.css animates every link; show this one at once */
}
.skip-link:focus {
    top: 16px;
    outline: 3px solid var(--rz-focus-ring, #c2410c);
    outline-offset: 2px;
}
#main-content:focus {
    outline: none;
}

/* B8 S5: "Trust & Safety" is now a <button> (was <a href="#">). These repeat the main.css link rules
   for .header__menu and .offcanvas__menu so it looks the same. main.css forces Manrope on buttons
   and removes their focus outline, so both are put back here. On desktop it keeps main.css's
   .dropdown-toggle flex + 7px gap before the caret, as the link had. */
.header__area .header__menu ul li .nav-dropdown-btn {
    color: hsl(var(--heading-color));
    font-family: inherit !important;
    font-size: 16px;
    line-height: inherit;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.3s;
}
.header__area .header__menu ul li .nav-dropdown-btn:hover {
    color: hsl(var(--base));
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .header__area .header__menu ul li .nav-dropdown-btn {
        font-size: 15px;
        padding: 8px 10px;
    }
}
.offcanvas__area .offcanvas__main .offcanvas__menu ul li .nav-dropdown-btn {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
    color: hsl(var(--heading-color));
    font-family: inherit !important;
    font-size: 16px;
    font-weight: inherit;
    line-height: inherit;
    transition: 0.3s;
}
.offcanvas__area .offcanvas__main .offcanvas__menu ul li .nav-dropdown-btn:hover {
    color: hsl(var(--base));
}
.nav-dropdown-btn:focus-visible,
.menu__open:focus-visible,
.menu__close:focus-visible {
    outline: 3px solid var(--rz-focus-ring, #c2410c);
    outline-offset: 2px;
}

/* B8 S5: mobile menu open/close are <button>s now (were <span>s). Clear the browser button padding
   and line-height so the main.css .menu__open / .menu__close sizes apply as before. */
.header__area .header__main button.menu__open,
.offcanvas__area .offcanvas__topbar button.menu__close {
    padding: 0;
    line-height: inherit;
    font-family: inherit !important;
}

/* B8 S5: contact page support address as ordinary text with a mailto link (was a green button),
   styled like the ticket-note link below it so it reads as a link and can be selected and copied. */
.contact__email {
    font-size: 18px;
    color: hsl(var(--heading-color));
    word-break: break-word;
}
.contact__email i {
    color: hsl(var(--base));
    margin-right: 6px;
}
.contact__email a {
    font-weight: 700;
    color: hsl(var(--base));
    text-decoration: underline;
    text-underline-offset: 3px;
}
.contact__email a:hover {
    color: var(--rz-brand-orange, #f66a0e);
}

/* B8 S5 headings. When a heading changes level (or stops being a heading) it keeps the look of its old
   level through .rz-h1..rz-h6. The selectors have element-level specificity (:is() of tags, :where() of
   the class), so they beat main.css's bare h1..h6 / p rules (this file loads later) but never a class
   rule such as .footer-widget-title or .card-title-md, which keep styling the element as before. */
:is(h1, h2, h3, h4, h5, h6, p, div, span):where(.rz-h1, .rz-h2, .rz-h3, .rz-h4, .rz-h5, .rz-h6) {
    margin: 0 0 8px 0;
    font-family: var(--heading-font);
    color: hsl(var(--heading-color));
    font-weight: 700;
    line-height: 1.2; /* Bootstrap's heading line-height */
}
:is(h1, h2, h3, h4, h5, h6, p, div, span):where(.rz-h2) { font-size: 40px; }
:is(h1, h2, h3, h4, h5, h6, p, div, span):where(.rz-h3) { font-size: 32px; }
:is(h1, h2, h3, h4, h5, h6, p, div, span):where(.rz-h4) { font-size: 24px; }
:is(h1, h2, h3, h4, h5, h6, p, div, span):where(.rz-h5) { font-size: 20px; }
:is(h1, h2, h3, h4, h5, h6, p, div, span):where(.rz-h6) { font-size: 16px; }
@media screen and (max-width: 1399px) { :is(h1, h2, h3, h4, h5, h6, p, div, span):where(.rz-h2) { font-size: 32px; } }
@media screen and (max-width: 1199px) { :is(h1, h2, h3, h4, h5, h6, p, div, span):where(.rz-h2) { font-size: 36px; } }
@media screen and (max-width: 991px)  { :is(h1, h2, h3, h4, h5, h6, p, div, span):where(.rz-h2) { font-size: 28px; } }
@media screen and (max-width: 767px) {
    :is(h1, h2, h3, h4, h5, h6, p, div, span):where(.rz-h3) { font-size: 26px; }
    :is(h1, h2, h3, h4, h5, h6, p, div, span):where(.rz-h4) { font-size: 20px; }
    :is(h1, h2, h3, h4, h5, h6, p, div, span):where(.rz-h5) { font-size: 18px; }
}

/* main.css rules written against the old tags, repeated for the new markup */
.map-overlay-content .map-location-name { font-size: 16px; color: white; margin: 0 0 4px; font-weight: 600; }  /* was .map-overlay-content h5 */
.owner-details .owner-name { margin-bottom: 5px; font-weight: 700; }                                            /* was .owner-details h6 */
.reviewer-info .reviewer-name { font-size: 0.95rem; margin-bottom: 2px; }                                       /* was .reviewer-info h6 */
.booking-price-day .booking-price { font-size: 1.5rem; font-weight: 700; }                                       /* was .booking-price-day h3 */
.booking-price-day .booking-price span { font-size: 0.9rem; color: var(--rz-muted-text); font-weight: 400; }
.contact__card .contact__card-title {                                                                            /* was .contact__card h4 */
    font-size: 16px;
    font-weight: 400;
    color: hsl(var(--body-color));
    margin-bottom: 12px;
    font-family: var(--body-font);
}
@media screen and (max-width: 1199px) { .contact__card .contact__card-title { margin-bottom: 8px; } }

/* Bold one-line labels inside .wyg pages that are now headings (Copyright & IP section titles,
   Owner's Guide Pros/Cons, Rental Condition Report questions): same look as the <p><strong> they replace. */
.wyg :is(.rz-boldline, .rz-boldpara, .rz-runin) {
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: inherit;
    color: hsl(var(--body-color));
    letter-spacing: inherit;
    text-transform: none;
    margin: 0;
}
.wyg .rz-boldpara { margin-bottom: 32px; }
@media screen and (max-width: 1199px) { .wyg :is(.rz-boldline, .rz-boldpara, .rz-runin) { font-size: 14px; } } /* as main.css p */   /* stood alone in a <p> (.wyg p has 32px below) */
.wyg .rz-runin { float: left; margin-right: 0.3em; }   /* run-in title: the paragraph text continues on the same line */

/* Owner's Guide payment table: the first column is now <th scope="row">; give it the body-cell look */
.guide-pay-table tbody tr th {
    text-align: left;
    vertical-align: middle;
    padding: 16px;
    font-family: var(--heading-font);
    color: hsl(var(--body-color));
    font-weight: 500;
    max-width: 170px;
    font-size: 16px;
    border: none;
    background-color: hsl(var(--base)/0.08);
    border-radius: 8px 0 0 8px;
}
.guide-pay-table tbody tr th::before {
    content: attr(data-label);
    font-family: var(--heading-font);
    font-size: 15px;
    color: hsl(var(--black));
    font-weight: 500;
    display: none;
    width: 45% !important;
    text-align: left;
}
@media screen and (max-width: 1199px) {
    .guide-pay-table tbody tr th { font-size: 14px; padding: 12px; }
}
@media screen and (max-width: 991px) {
    .guide-pay-table tbody tr th {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        text-align: right;
        padding: 10px 15px;
        border: none;
        max-width: unset;
        border-left: 0;
        border-radius: 0;
    }
    .guide-pay-table tbody tr th::before {
        display: block;
        font-size: 14px;
        color: hsl(var(--black)/0.7);
    }
}

/* B8 S5: keyboard focus ring for every interactive element. main.css removes outlines in nine places
   (including button:focus { outline: none }); this puts a 3px ring back for keyboard focus only
   (:focus-visible), so mouse clicks look as before. #c2410c is about 5:1 against white and above 3:1
   against the dark footer. !important so later theme rules or admin Custom CSS (custom.css, loaded
   after this file) can't remove it by accident. */
:root {
    --rz-focus-ring: #c2410c;
}
/* Light ring where the background is dark: the brand-colour category band and the footer. */
.category-section-new {
    --rz-focus-ring: #ffffff;
}
.footer-section {
    --rz-focus-ring: #fdba74;
}
:is(a[href], button, input:not([type="hidden"]), select, textarea, summary, [tabindex]:not([tabindex="-1"]), .select2-selection, .table-responsive):focus-visible {
    outline: 3px solid var(--rz-focus-ring) !important;
    outline-offset: 2px !important;
    /* main.css animates every property on links and buttons, so the ring would fade in from the text
       colour; leave the outline out of the transition so it appears at once. */
    transition-property: color, background-color, border-color, box-shadow, opacity, transform;
}

/* B8 S5 step 2c: form accessibility. Required marker, "* Required field" note, field hints and per-field server
   errors. #b42318 is about 6.6:1 on white; hint grey #5c6670 about 5.9:1. */
.rz-req {
    color: #b42318 !important;
    margin-left: 2px;
}
.rz-required-note {
    font-size: 0.85rem;
    color: #5c6670;
    margin: 0 0 16px;
}
.rz-field-hint {
    display: block;
    font-size: 0.85rem;
    color: #5c6670;
    margin-top: 6px;
}
.rz-field-error {
    font-size: 0.875rem;
    color: #b42318;
    margin: 6px 0 0;
}
[aria-invalid="true"].form-control,
[aria-invalid="true"] + .select2 .select2-selection {
    border-color: #b42318 !important;
}

/* B8 S5 step 2c: listing "Pick-up date" / "Drop-off date" typed fields inside the old date-picker-grid boxes.
   The input is borderless so the boxes look as before; the whole box shows a red inset line when invalid. */
.rz-date-fields {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.rz-date-fields .date-picker-box {
    cursor: text;
}
.rz-date-fields .date-label {
    margin-bottom: 2px;
}
.rz-date-input {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
}
.rz-date-input::placeholder {
    color: #6b7280;
    opacity: 1;
}
.date-picker-box:has(.rz-date-input[aria-invalid="true"]) {
    box-shadow: inset 0 0 0 2px #b42318;
}

/* main.js adds .required to the label of every required field and main.css draws a "*" after it; where the label
   already has the explicit (aria-hidden) .rz-req marker, don't draw a second one. */
label.required:has(.rz-req)::after {
    content: none;
}

/* B8 S5 step 3b: text colours raised to WCAG AA contrast (4.5:1 for normal text, 3:1 for large text),
   each the smallest shade change that passes. Shared here so each value is set once. */
:root {
    --rz-muted-text: #767676;        /* grey text on white: 4.54:1 (was #777 / #888) */
    --rz-footer-muted: #78869a;      /* footer copyright and legal links on the dark footer: 4.54:1 (was #64748b) */
}
.footer-copyright p,
.footer-bottom-links a {
    color: var(--rz-footer-muted);
}
.product-location,
.owner-details p {
    color: var(--rz-muted-text);
}
/* Days of the previous/next month in the date picker (still clickable); disabled days keep flatpickr's look */
.flatpickr-day.prevMonthDay:not(.flatpickr-disabled):not(.notAllowed),
.flatpickr-day.nextMonthDay:not(.flatpickr-disabled):not(.notAllowed) {
    color: var(--rz-muted-text);
}
/* Bootstrap's .text-muted (#6c757d) was 4.44-4.48:1 on the near-white panels */
.text-muted {
    color: #6b747c !important;
}
/* Same hue as the theme's --info / --warning, darker lightness, so the text reads on their pale tints */
.text--info {
    color: hsl(var(--info-h) var(--info-s) 31%) !important;     /* #00749e, 4.59:1 on #e0f3f7 */
}
.alert--info {
    color: hsl(var(--info-h) var(--info-s) 31%);                 /* same shade for info alert text (main.css sets --info) */
}
.badge--warning {
    color: hsl(var(--warning-h) var(--warning-s) 27%) !important; /* #8a5c00, 5.15:1 on its tint */
}

/* B8 S5 step 3b: "Verification Code" above the six code boxes was white on white (text-white). Same look as
   the other auth form labels (.auth-form label in partials/auth-styles); it labels a group, so it is a span. */
.verification-code-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--auth-secondary, #2d3436);
    margin-bottom: 8px;
}

/* B8 S5 step 3c: one green for every primary button (admin > Site Colors > Primary button green,
   the 'Add Item' colour). White text on #006627 is 7.17:1. */
.btn--base,
.btn-primary,
.btn-success,
.auth-btn,
.newsletter-btn {
    background-color: var(--rz-btn-primary, #006627) !important;
    border-color: var(--rz-btn-primary, #006627) !important;
    color: #fff !important;
}

/* B8 S5 step 3c: hover for the green primary buttons. Background 20% darker (Site Colors: Primary
   button hover, #00521f, white text 9.43:1), a 2px lift with a soft shadow, back down when pressed.
   150ms. The keyboard focus ring is the outline above, so it stays separate and visible. */
:is(.btn--base, .btn-primary, .btn-success, .auth-btn, .newsletter-btn) {
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
}
:is(.btn--base, .btn-primary, .btn-success, .auth-btn, .newsletter-btn):not(:disabled):not(.disabled):hover {
    background-color: var(--rz-btn-primary-hover, #00521f) !important;
    border-color: var(--rz-btn-primary-hover, #00521f) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16) !important;
}
:is(.btn--base, .btn-primary, .btn-success, .auth-btn, .newsletter-btn):not(:disabled):not(.disabled):active {
    transform: translateY(0);
    box-shadow: none !important;
}
@media (prefers-reduced-motion: reduce) {
    :is(.btn--base, .btn-primary, .btn-success, .auth-btn, .newsletter-btn) {
        transition: none !important;
    }
    :is(.btn--base, .btn-primary, .btn-success, .auth-btn, .newsletter-btn):not(:disabled):not(.disabled):hover,
    :is(.btn--base, .btn-primary, .btn-success, .auth-btn, .newsletter-btn):not(:disabled):not(.disabled):active {
        transform: none;
        box-shadow: none !important;
    }
}

/* Green text links: underline on hover and keyboard focus */
:is(.auth-footer a, .auth-meta .forgot-link, .forgot-link, .email-code-link-btn, a.text--base, .view-all-link, main p a:not(.btn)):is(:hover, :focus-visible) {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* B8 S5: the hidden cookie notice (.hide: opacity 0, slid down) kept its two links in the Tab order. visibility:hidden
   takes them out. Visibility switches at once when the notice appears and only after the 0.3s fade when it hides,
   so the fade and slide still show both ways. */
.cookies-card {
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0s;
}
.cookies-card.hide {
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
}

/* B8 S6: status card text on the pale base tint ("Item Returned" card on booking details). main.css's
   body grey (--body-color, #646973) was 4.42:1 on #e1e8e5; same hue, smallest darker shade: 4.52:1.
   Scoped to this card so body text elsewhere keeps #646973. */
.alert--base p {
    color: #626871;
}

/* B8 S7: "Report this listing / user" (partials/report-modal). Link-style button, green like the other links
   (7.17:1 on white); the 911 line in dark red (#9b1c1c, 7.1:1 on its tint). */
.rz-report-link {
    background: none;
    border: 0;
    padding: 0;
    color: var(--rz-btn-primary, #006627);
    text-decoration: underline;
    font-size: 0.9rem;
}
.rz-report-link:hover,
.rz-report-link:focus-visible {
    color: var(--rz-btn-primary-hover, #00521f);
}
.rz-report-visitor {
    font-size: 0.9rem;
}
.rz-report-danger {
    background: #fdecec;
    color: #9b1c1c;
    border-radius: 6px;
    padding: 10px 12px;
}

/* B8 S7: the red "Close my account" buttons (a warning, so not the primary green), with the same hover as the
   primary buttons: 20% darker (Site Colors: Danger button #b42318, white 6.57:1; Danger button hover #901c13,
   white 8.89:1), a 2px lift with a soft shadow, colour only with reduced motion. The focus ring stays separate. */
.rz-btn-danger {
    background-color: var(--rz-btn-danger, #b42318) !important;
    border-color: var(--rz-btn-danger, #b42318) !important;
    color: #fff !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
}
.rz-btn-danger:not(:disabled):not(.disabled):hover {
    background-color: var(--rz-btn-danger-hover, #901c13) !important;
    border-color: var(--rz-btn-danger-hover, #901c13) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16) !important;
}
.rz-btn-danger:not(:disabled):not(.disabled):active {
    transform: translateY(0);
    box-shadow: none !important;
}
@media (prefers-reduced-motion: reduce) {
    .rz-btn-danger {
        transition: none !important;
    }
    .rz-btn-danger:not(:disabled):not(.disabled):hover,
    .rz-btn-danger:not(:disabled):not(.disabled):active {
        transform: none;
        box-shadow: none !important;
    }
}

/* B8 S7 polish: booking action row. The links had mt-2 and the row stretches its items, so the buttons beside them
   grew 8px taller; now one line, centred, the same size (main.css .action__btn .btn padding and font size),
   wrapping with an 8px gap on phones. */
.action__btn {
    align-items: center;
    gap: 8px;
}
.action__btn > .btn {
    margin: 0 !important;
}

/* B8 S7 polish: status card headings on their pale tints, same hue with the smallest passing lightness
   (success follows the Site Colors Success hue): pending orange #eb9c00 1.99:1 -> about #946200 4.62:1 on #f8f0dd;
   picked-up green #1bcc00 1.89:1 -> about #117d00 4.64:1 on #e3f5dd; cancelled red #fb4646 2.89:1 -> about #d60505
   4.53:1 on #f9e7e4 */
.status-card .text--warning {
    color: hsl(var(--warning-h) var(--warning-s) 29%) !important;
}
.status-card .text--success {
    color: hsl(var(--success-h) var(--success-s) 24.5%) !important;
}
.status-card .text--danger {
    color: hsl(var(--danger-h) var(--danger-s) 42.5%) !important;
}
/* Rated and inquiry status titles use Bootstrap's .text-info #0dcaf0: 1.7:1 on the #e0f3f7 card. Same hue at
   29% lightness, #08778d, is 4.54:1, like the headings above. */
.status-card .text-info {
    color: #08778d !important;
}
/* Bootstrap's .text-danger #dc3545 is 4.53:1 on white but less on tints (the cancelled step's "Cancelled" caption on
   #ebefec, 3.9:1; the ticket form's file note on #f9f9f6, 4.29:1). Same hue: #d12435, 4.51:1 on #ebefec. */
.text-danger {
    color: #d12435 !important;
}
/* Condition photo empty-state text: #6c757d was 4.48:1 on #f8fafc; same shade as the .text-muted fix, 4.55:1 */
.empty-photo-state .text-secondary {
    color: #6b747c !important;
}

/* Page title banner (components/breadcrumb, inner pages only): a solid Site Colors background (page_banner_bg,
   default #004990) with the title in page_banner_text (default #ffffff, 8.91:1), replacing main.css's 4% tint
   and vertical-line gradient. main.css sets the background-color with !important, so it is needed here too;
   admin Custom CSS (custom.css) loads after this file and can still override with !important. The header is no
   longer absolute (main.css .header__area: position relative), so main.css's 120px top / 60px bottom padding
   (85px top on phones) left a tall, top-heavy block on a solid colour: padding is now even, 48px (32px on phones). */
.breadcrumb {
    background-color: var(--rz-page-banner-bg, #004990) !important;
    background-image: none;
}
.breadcrumb.pt-120 { padding-top: 48px !important; }
.breadcrumb.pb-60 { padding-bottom: 48px !important; }
.breadcrumb .breadcrumb__title {
    color: var(--rz-page-banner-text, #ffffff);
    margin-bottom: 0;
}
@media screen and (max-width: 767px) {
    .breadcrumb.pt-120 { padding-top: 32px !important; }
    .breadcrumb.pb-60 { padding-bottom: 32px !important; }
}

/* Heading hierarchy: the page-title banner is the largest text on every page, then the lead H1 on pages that
   have their own (rental-condition-report, id-verification, rental-agreements: .rz-lead-h1), then their
   section headings (.rz-lead-page h2 / h3). At every width: banner 36-56px > lead 32-44px > h2 26-36px >
   h3 22-28px. h2/h3 use element+class specificity, so class-sized headings (.rz-boldline etc.) keep their size. */
.breadcrumb .breadcrumb__title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    overflow-wrap: break-word;
    text-wrap: balance;
}
h1.rz-lead-h1 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.2;
}
.rz-lead-page h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
.rz-lead-page h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }

/* Dashboard header menu search: the magnifier button was 16x16px. 24x24 meets WCAG 2.5.8 target size;
   left moves 16px -> 12px so the icon's centre stays where it was. */
.dashboard__header .search__box button {
    left: 12px;
    width: 24px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Signed-in dashboard heading levels (2026-11-21): one h1 per page, h2/h3 below it. Labels that were
   headings are now divs with .rz-h5 (font, colour, 1.2 line-height, 8px bottom margin); these rules
   repeat the main.css rules written against the old tags so every one looks as before. */
.dashboard__card .dashboard__card-title { font-weight: 600; }                                    /* was .dashboard__card h5 */
@media screen and (max-width: 1399px) { .dashboard__card .dashboard__card-title { font-size: 18px; } }
.notification__header .notification__title { margin-bottom: 0; font-size: 18px; font-weight: 600; line-height: 1; } /* was .notification__header h4 */
.profile__wr .profile__username { font-size: 20px; margin-bottom: 0; }                          /* was .profile__wr h4 */

/* .badge--success (listing "Active", ticket "Open"): text at the smallest passing shade of the Site Colors
   Success hue, like .status-card .text--success. The badges sit in table cells (8% dashboard tint), where
   the badge's 15% tint blends to about #ccebcd: #1bcc00 was 1.90:1, 24.5% would be 4.13:1, 23% (#107500)
   is 4.58:1 (5.26:1 on white). The tint behind the text is unchanged. */
.badge--success { color: hsl(var(--success-h) var(--success-s) 23%) !important; }
