/* Raw Rides Enhancements — shared frontend stylesheet.
   Feature-specific blocks are appended below as features are added. */

/* =============================================================
   Sticky action bar (Book Now / Call / WhatsApp)
   - Desktop: vertical cluster bottom-right
   - Mobile:  fixed bottom bar, three equal tap targets
   ============================================================= */

.rr-bar {
    position: fixed;
    z-index: 99990;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 200px;
    font-family: inherit;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.rr-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    will-change: transform;
    border: 0;
}

.rr-bar__btn:hover,
.rr-bar__btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.rr-bar__btn:focus-visible {
    outline: 3px solid #ffd400;
    outline-offset: 2px;
}

.rr-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.rr-bar__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.rr-bar__label {
    display: inline-block;
}

/* Book Now — primary CTA in brand red */
.rr-bar__btn--book {
    background: #ED1C24;
    color: #fff !important;
    font-size: 16px;
    text-transform: uppercase;
    min-height: 56px;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.rr-bar__btn--book:hover,
.rr-bar__btn--book:focus-visible {
    background: #c8161d;
    color: #fff !important;
}

/* Call — white pill with red accent */
.rr-bar__btn--call {
    background: #fff;
    color: #ED1C24 !important;
    font-size: 14px;
}
.rr-bar__btn--call:hover,
.rr-bar__btn--call:focus-visible {
    background: #fff5f5;
    color: #ED1C24 !important;
}

/* WhatsApp — official brand green */
.rr-bar__btn--wa {
    background: #25D366;
    color: #fff !important;
    font-size: 14px;
}
.rr-bar__btn--wa:hover,
.rr-bar__btn--wa:focus-visible {
    background: #1ebe5b;
    color: #fff !important;
}

/* Mobile layout — fixed bottom bar, three tap targets */
@media (max-width: 767px) {
    .rr-bar {
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        flex-direction: row;
        gap: 0;
        background: #fff;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding: 0;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.10);
    }
    .rr-bar__btn {
        flex: 1 1 0;
        flex-direction: column;
        gap: 2px;
        min-height: 60px;
        padding: 8px 4px;
        border-radius: 0;
        box-shadow: none;
        font-size: 13px;
    }
    .rr-bar__btn:hover,
    .rr-bar__btn:focus-visible {
        transform: none;
        box-shadow: none;
    }
    .rr-bar__btn--book {
        font-size: 14px;
        min-height: 60px;
        letter-spacing: 0.06em;
    }
    .rr-bar__btn--call,
    .rr-bar__btn--wa {
        font-size: 12px;
    }
    .rr-bar__icon {
        width: 22px;
        height: 22px;
    }

    /* Ensure footer / page bottom never hides behind the bar */
    body {
        padding-bottom: 64px;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .rr-bar__btn {
        transition: none;
    }
    .rr-bar__btn:hover,
    .rr-bar__btn:focus-visible {
        transform: none;
    }
}

/* Don't print the bar */
@media print {
    .rr-bar {
        display: none !important;
    }
}

/* =============================================================
   Checkout custom field: "How did you find us?"
   ============================================================= */

#rr_heard_about_us_other_field {
    display: none;
}

.rr-heard-block {
    margin-top: 1.25em;
    padding-top: 1em;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* =============================================================
   Mobile pass — cart and checkout at narrow widths.
   No template overrides; pure CSS so it survives WC updates.
   ============================================================= */
@media (max-width: 600px) {

    /* Inputs: full-width, generous padding, 16px font to stop iOS zoom-on-focus */
    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row textarea,
    .woocommerce form .form-row select,
    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout input[type="password"],
    .woocommerce-checkout textarea,
    .woocommerce-checkout select {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        font-size: 16px !important;
        box-sizing: border-box;
    }

    /* Two-col rows (first/last name) collapse to single column */
    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    /* Action buttons: tappable */
    .woocommerce #payment #place_order,
    .woocommerce-checkout button[type="submit"],
    .woocommerce .button,
    .woocommerce a.button {
        min-height: 52px;
        padding: 14px 20px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Cart table: horizontal scroll guard for tiny widths */
    .woocommerce-cart-form .shop_table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Coupon row should stack neatly */
    .woocommerce-cart-form .coupon {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .woocommerce-cart-form .coupon input,
    .woocommerce-cart-form .coupon .button {
        width: 100%;
    }

    /* Checkout review table: keep totals readable */
    .woocommerce-checkout-review-order-table {
        font-size: 15px;
    }
}

.rr-heard-block .rr-heard-field,
.rr-heard-block .rr-heard-other {
    margin-bottom: 12px;
}

/* =============================================================
   Mobile pass — cart, checkout, account pages at narrow widths
   ============================================================= */
@media (max-width: 767px) {
    /* Inputs at 16px+ prevent iOS auto-zoom on focus */
    .woocommerce-cart input[type="text"],
    .woocommerce-cart input[type="email"],
    .woocommerce-cart input[type="tel"],
    .woocommerce-cart input[type="number"],
    .woocommerce-cart select,
    .woocommerce-cart textarea,
    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout input[type="number"],
    .woocommerce-checkout input[type="password"],
    .woocommerce-checkout select,
    .woocommerce-checkout textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        font-size: 16px !important;
        padding: 12px 14px !important;
        min-height: 48px;
    }

    /* Buttons — comfortable tap target */
    .woocommerce-cart .button,
    .woocommerce-cart button[type="submit"],
    .woocommerce-checkout .button,
    .woocommerce-checkout button[type="submit"],
    .woocommerce-checkout #place_order {
        width: 100%;
        min-height: 52px;
        padding: 14px 20px !important;
        font-size: 16px !important;
    }

    /* Cart table — let it scroll horizontally instead of squashing */
    .woocommerce-cart .shop_table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .woocommerce-cart .cart_item img {
        max-width: 64px;
        height: auto;
    }

    /* Two-column form rows (first / last name) stack on mobile */
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        float: none !important;
        width: 100% !important;
        margin-right: 0 !important;
    }

    /* Coupon + login toggle blocks: stop them overflowing */
    .woocommerce-form-coupon,
    .woocommerce-form-login {
        padding: 14px !important;
    }
    .woocommerce-form-coupon .form-row,
    .woocommerce-form-login .form-row {
        width: 100% !important;
    }

    /* Order review table — keep readable */
    .woocommerce-checkout-review-order-table {
        font-size: 14px;
    }
}

/* =============================================================
   Route Guide email-capture popup
   ============================================================= */

.rr-popup[hidden] {
    display: none !important;
}

.rr-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: inherit;
}

.rr-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    cursor: pointer;
}

.rr-popup__panel {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 32px 28px 28px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    text-align: center;
}

.rr-popup__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #444;
    border-radius: 50%;
}
.rr-popup__close:hover,
.rr-popup__close:focus-visible {
    background: rgba(0, 0, 0, 0.06);
    color: #000;
    outline: none;
}

.rr-popup__heading {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
}

.rr-popup__subtext {
    margin: 0 0 18px;
    color: #444;
    font-size: 15px;
    line-height: 1.4;
}

.rr-popup__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rr-popup__label {
    position: absolute;
    left: -9999px;
}

.rr-popup__email {
    width: 100%;
    padding: 14px 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}
.rr-popup__email:focus {
    border-color: #ED1C24;
    outline: 2px solid rgba(237, 28, 36, 0.25);
    outline-offset: 0;
}

.rr-popup__submit {
    background: #ED1C24;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 0;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 15px;
    cursor: pointer;
    min-height: 48px;
}
.rr-popup__submit:hover,
.rr-popup__submit:focus-visible {
    background: #c8161d;
    outline: none;
}
.rr-popup__submit:disabled {
    opacity: 0.6;
    cursor: progress;
}

.rr-popup__message {
    margin: 4px 0 0;
    min-height: 1.2em;
    color: #c8161d;
    font-size: 14px;
}

.rr-popup__thanks {
    font-size: 16px;
    color: #111;
    padding: 12px 0;
}

body.rr-popup-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .rr-popup__backdrop {
        backdrop-filter: none;
    }
}

@media print {
    .rr-popup {
        display: none !important;
    }
}

/* =============================================================
   Book Now page — rate grid + add-ons + What's Included
   ============================================================= */

.rr-rate-grid-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0 8px;
}

.rr-rate-grid {
    width: 100%;
    border-collapse: collapse;
    font-family: inherit;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.rr-rate-grid th,
.rr-rate-grid td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: middle;
}

.rr-rate-grid thead th,
.et_pb_text .rr-rate-grid thead th {
    background: #111;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-bottom: 0;
}

.rr-rate-grid thead th small,
.et_pb_text .rr-rate-grid thead th small {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: #fff !important;
    opacity: 0.85;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rr-rate-grid tbody th[scope="row"] {
    background: #fafafa;
    font-weight: 700;
}

/* #main-content prefix needed to outrank the default link-colour rule in the
   "Default link colour" block below, which would otherwise win on specificity
   and turn these deliberately-neutral car name links red. */
#main-content .rr-rate-grid tbody th[scope="row"] a,
.rr-rate-grid tbody th[scope="row"] a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.25);
}
.rr-rate-grid tbody th[scope="row"] a:hover {
    border-bottom-color: #ED1C24;
    color: #ED1C24;
}

.rr-rate-grid tbody td strong {
    color: #ED1C24;
    font-size: 1.05em;
}

.rr-rate-grid tbody tr:last-child th,
.rr-rate-grid tbody tr:last-child td {
    border-bottom: 0;
}

.rr-addons,
.rr-included,
.et_pb_text ul.rr-addons,
.et_pb_text ul.rr-included {
    list-style: none !important;
    padding: 0 !important;
    margin: 12px 0 0;
}
.rr-addons li,
.rr-included li,
.et_pb_text ul.rr-addons li,
.et_pb_text ul.rr-included li {
    list-style: none !important;
    padding: 8px 0 8px 28px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.rr-addons li:last-child,
.rr-included li:last-child {
    border-bottom: 0;
}
.rr-addons li::before,
.rr-included li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: #ED1C24;
    font-weight: 800;
}

@media (max-width: 600px) {
    .rr-rate-grid th,
    .rr-rate-grid td {
        padding: 10px 10px;
        font-size: 14px;
    }
    .rr-rate-grid thead th small {
        font-size: 10px;
    }
}

/* ============================================================
   Solid header for hero-less pages (Book Now / FAQs / Blog)
   ------------------------------------------------------------
   These pages carry the `rr-solid-header` body class (added in
   includes/header-fix.php, which also strips `et_transparent_nav`).
   Divi's menu text is white in every state and its default non-fixed
   header background is white, so without this the nav is white-on-white
   and invisible until scroll. Render the header in its scrolled/fixed
   look (#222 bar, opacity 1) from the very top instead.
   ============================================================ */
body.rr-solid-header #main-header {
    opacity: 1 !important;
    background-color: #222 !important;
}
body.rr-solid-header #main-header,
body.rr-solid-header #main-header .nav li ul,
body.rr-solid-header #main-header .et-search-form {
    background-color: #222 !important;
}

/* ============================================================
   WooCommerce brand colour
   ------------------------------------------------------------
   Divi styles every WooCommerce element from its "Accent Color"
   customiser setting. That setting is unset on this site, so Divi
   falls back to its own default #2EA3F2 and prices, buttons,
   notices, category links and star ratings all render blue.

   Divi's generated selectors are long and highly specific
   (e.g. `.woocommerce-page #content div.product p.price`), so
   these overrides use !important rather than trying to out-specify
   them selector-for-selector.

   The alternative one-line fix is to set Divi's Accent Color to
   #ED1C24 in Appearance > Customize > General Settings, which
   would also recolour every non-WooCommerce Divi element on the
   site. Kept scoped to WooCommerce here so nothing else moves.
   ============================================================ */

:root {
    --rr-red: #ED1C24;
    --rr-red-dark: #C8161D;
}

/* ============================================================
   Default link colour
   ------------------------------------------------------------
   Divi's style.min.css contains a bare `a{color:#2ea3f2}`. This is
   NOT generated from the Accent Color option — that option only
   supplies defaults for builder module settings (counters, sliders,
   icons), so changing it leaves ordinary link text blue. Anything
   that renders as a plain link therefore came out blue: the text on
   /book-now/, WooCommerce's "Clear" variation link, and the
   checkout privacy policy link.

   Override the default itself rather than chasing individual
   elements. Header, menus and footer are excluded because Divi
   deliberately colours those (white on dark), and buttons are
   excluded because they carry their own colours.
   ============================================================ */

/* Scoped to the content area rather than a bare `a` override with a long
   exclusion list: #main-header, #top-header and #main-footer all sit OUTSIDE
   #main-content, so Divi's deliberate white-on-dark nav and footer links are
   untouched by construction instead of by having to be listed. Buttons are
   excluded because they carry their own colours. */
#main-content a:not(.et_pb_button):not(.et_pb_more_button):not(.et_pb_promo_button):not(.et_pb_newsletter_button):not(.button):not(.rr-bar__btn) {
    color: var(--rr-red);
}
#main-content a:not(.et_pb_button):not(.et_pb_more_button):not(.et_pb_promo_button):not(.et_pb_newsletter_button):not(.button):not(.rr-bar__btn):hover {
    color: var(--rr-red-dark);
}

/* The specific links reported, stated explicitly so they hold regardless of
   which container they end up rendering in. */
.woocommerce a.reset_variations,
.woocommerce div.product form.cart a.reset_variations,
.woocommerce-privacy-policy-text a,
a.woocommerce-privacy-policy-link {
    color: var(--rr-red) !important;
}
.woocommerce a.reset_variations:hover,
.woocommerce-privacy-policy-text a:hover,
a.woocommerce-privacy-policy-link:hover {
    color: var(--rr-red-dark) !important;
}

/* Other hardcoded Divi blues on light backgrounds. */
.et_pb_bg_layout_light .et_pb_more_button,
.nav-single a,
.posted_in a,
.tagged_as a,
.form-submit .et_pb_button {
    color: var(--rr-red);
}
blockquote {
    border-color: var(--rr-red);
}

/* --- Prices --------------------------------------------------- */
.woocommerce div.product span.price,
.woocommerce div.product p.price,
.woocommerce-page div.product span.price,
.woocommerce-page div.product p.price,
.woocommerce #content div.product span.price,
.woocommerce #content div.product p.price,
.woocommerce-page #content div.product span.price,
.woocommerce-page #content div.product p.price,
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
.entry-summary p.price ins,
.woocommerce div.product p.price ins,
.woocommerce .woocommerce-Price-amount {
    color: var(--rr-red) !important;
}

/* --- Buttons (Divi renders these as outline buttons) ---------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #content input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce button.button.alt.disabled,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce #content input.button.alt,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce-page #respond input#submit,
.woocommerce-page #content input.button,
.woocommerce-page a.button.alt,
.woocommerce-page button.button.alt,
.woocommerce-page button.button.alt.disabled,
.woocommerce-page input.button.alt,
.woocommerce-page #respond input#submit.alt,
.woocommerce-page #content input.button.alt {
    color: var(--rr-red) !important;
    border-color: var(--rr-red) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #content input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce button.button.alt.disabled:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce #content input.button.alt:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
.woocommerce-page #respond input#submit:hover,
.woocommerce-page #content input.button:hover,
.woocommerce-page a.button.alt:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce-page button.button.alt.disabled:hover,
.woocommerce-page input.button.alt:hover,
.woocommerce-page #respond input#submit.alt:hover,
.woocommerce-page #content input.button.alt:hover {
    color: #fff !important;
    background: var(--rr-red) !important;
    border-color: var(--rr-red) !important;
}

/* The primary calls to action read as solid red, not outline: Add to
   basket, Proceed to checkout, Place order, Update basket. */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce .cart .button[name="update_cart"],
.woocommerce .actions .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order,
.woocommerce-checkout #place_order {
    color: #fff !important;
    background: var(--rr-red) !important;
    border-color: var(--rr-red) !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce .cart .button[name="update_cart"]:hover,
.woocommerce .actions .checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover,
.woocommerce-checkout #place_order:hover {
    color: #fff !important;
    background: var(--rr-red-dark) !important;
    border-color: var(--rr-red-dark) !important;
}

/* A variation the customer hasn't configured yet should look inert
   rather than like a live red CTA. */
.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button:disabled {
    background: #999 !important;
    border-color: #999 !important;
    opacity: 1 !important;
}

/* --- Notices: "basket is empty", "added to your basket", errors --- */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce-message,
.woocommerce-info {
    background: var(--rr-red) !important;
}

/* Errors stay red but a shade darker, so "something went wrong" is still
   visually distinct from "that worked". */
.woocommerce .woocommerce-error,
.woocommerce-error {
    background: #A51017 !important;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: #fff !important;
}

/* "Return to shop" / "View basket" buttons sit on the red notice. */
.woocommerce-message a.button.wc-forward,
.woocommerce-info a.button.wc-forward {
    color: var(--rr-red) !important;
    background: #fff !important;
    border-color: #fff !important;
}
.woocommerce-message a.button.wc-forward:hover,
.woocommerce-info a.button.wc-forward:hover {
    color: var(--rr-red-dark) !important;
    background: #fff !important;
}

/* --- Category / tag links, star ratings, tabs ----------------- */
.posted_in a,
.tagged_as a,
.woocommerce-breadcrumb a,
.product_meta a,
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.widget_product_categories a:hover {
    color: var(--rr-red) !important;
}

.woocommerce .star-rating span:before,
.woocommerce-page .star-rating span:before,
.woocommerce .star-rating:before,
.woocommerce p.stars a {
    color: var(--rr-red) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--rr-red) !important;
}

/* --- Keep WooCommerce notices visible ------------------------- */
/* Divi ships:
     .et_fixed_nav.et_transparent_nav.et-db.et_full_width_page
       #left-area > .woocommerce-notices-wrapper { opacity: 0 }
   The car product pages are now et_full_width_page (see
   includes/product-layout.php), so if a transparent/fixed nav is ever enabled
   for them that rule would silently hide the "added to your basket"
   confirmation — reproducing the exact "Add to basket does nothing" symptom
   customers reported. Pin it visible on product pages. */
.single-product .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-notices-wrapper,
body.et_full_width_page #left-area > .woocommerce-notices-wrapper {
    opacity: 1 !important;
}

/* --- Variation picker alignment ------------------------------- */
/* WooCommerce ships:
     .woocommerce div.product form.cart .variations td,
     .woocommerce div.product form.cart .variations th
       { border:0; line-height:2em; vertical-align:top }
   With vertical-align:top the "Hire Type" label sits at the top of a 2em line
   box, while the <select> beside it is a taller form control (Divi gives it
   padding), so the label reads as sitting high against the dropdown. Centre
   the two cells against each other instead. */
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th.label,
.woocommerce div.product form.cart .variations td.value {
    vertical-align: middle;
}

/* Divi adds bottom margin to labels, which reintroduces the offset. */
.woocommerce div.product form.cart .variations th.label label,
.woocommerce div.product form.cart .variations label {
    margin-bottom: 0;
    display: inline-block;
    line-height: 1.4;
}

/* Keep the "Clear" link off the dropdown's baseline. */
.woocommerce div.product form.cart .variations td.value a.reset_variations {
    display: inline-block;
    margin-left: 0.75em;
    vertical-align: middle;
}

/* --- Form focus ----------------------------------------------- */
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce-page .select2-container--focus .select2-selection {
    border-color: var(--rr-red) !important;
}
