/* ==================================================
   FIRST STOP — SITE CUSTOM CSS
   Ported verbatim from the tirecare.co Customizer
   "Additional CSS". tirecare.co runs Elementor, so the
   Elementor global kit variables it relies on are
   mapped here onto the theme design tokens.
================================================== */

:root {
    /* Colours */
    --e-global-color-primary: var(--ink);
    --e-global-color-secondary: var(--red);
    --e-global-color-accent: #c8101c;
    --e-global-color-text: var(--charcoal);
    --e-global-color-2338454: #ffffff;
    --e-global-color-8dce1df: var(--ink);
    --e-global-color-b56d32b: #ffffff;

    /* Typography */
    --e-global-typography-primary-font-family: "Saira Condensed";
    --e-global-typography-primary-font-weight: 800;
    --e-global-typography-primary-font-size: 30px;
    --e-global-typography-primary-text-transform: uppercase;
    --e-global-typography-primary-line-height: 1.1;

    --e-global-typography-secondary-font-family: "Saira Condensed";
    --e-global-typography-secondary-font-weight: 800;
    --e-global-typography-secondary-font-size: 22px;
    --e-global-typography-secondary-text-transform: uppercase;
    --e-global-typography-secondary-line-height: 1.3;

    --e-global-typography-accent-font-family: "Saira Condensed";
    --e-global-typography-accent-font-weight: 800;
    --e-global-typography-accent-font-size: 16.5px;
    --e-global-typography-accent-text-transform: uppercase;
    --e-global-typography-accent-line-height: 1;

    --e-global-typography-9a893a6-font-size: 30px;
    --e-global-typography-a48fdf3-font-size: 27px;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size: 22px;
    font-weight: var(--e-global-typography-secondary-font-weight);
    text-transform: var(--e-global-typography-secondary-text-transform);
    line-height: 22px;
    display: flex !important;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    border-color: var(--e-global-color-8dce1df) !important;
    background: var(--e-global-color-b56d32b) !important;
    color: var(--e-global-color-primary) !important;
    border: 4px solid;
    border-radius: 20px;
	  font-style: italic !important;
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before{
	position: static !important;
	    color: var(--e-global-color-accent) !important;
}

.woocommerce .woocommerce-error .button, .woocommerce .woocommerce-info .button, .woocommerce .woocommerce-message .button, .woocommerce-page .woocommerce-error .button, .woocommerce-page .woocommerce-info .button, .woocommerce-page .woocommerce-message .button{
	    margin-left: auto;
}

.woocommerce-message::after {
    display: none !important
}

.wp-element-button, .wc-forward, input[type="button"], input[type="reset"], input[type="submit"], button[type="submit"], .woocommerce-button, body div.wpforms-container-full .wpforms-form input[type="submit"], body div.wpforms-container-full .wpforms-form button[type="submit"], body div.wpforms-container-full .wpforms-form .wpforms-page-button, .woocommerce-cart .wp-element-button, .woocommerce-checkout .wp-element-button, .wp-block-button__link{
		background-color: var(--e-global-color-accent) !important;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-accent-font-size) !important;
    font-weight: var(--e-global-typography-accent-font-weight) !important;
    text-transform: var(--e-global-typography-accent-text-transform) !important;
    line-height: var(--e-global-typography-accent-line-height) !important;
	  padding: 18px 28px 18px 28px !important;
    color: var(--e-global-color-2338454) !important;
/*     border-style: solid !important;
    border-width: 2px 2px 2px 2px !important;
    border-color: var(--e-global-color-accent) !important; */
    border-radius: 12px !important;
	font-style: italic !important;
		letter-spacing: 1.15px;
}

.wp-element-button:hover, 
.wp-element-button:focus,
.button.wc-forward:hover,
.button.wc-forward:focus,
.woocommerce-button:hover
.single_add_to_cart_button:focus,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.woocommerce-button:hover,
body div.wpforms-container-full .wpforms-form input[type="submit"]:hover,
body div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
body div.wpforms-container-full .wpforms-form .wpforms-page-button:hover,
.woocommerce-cart .wp-element-button:hover,
.woocommerce-checkout .wp-element-button:hover,
.wp-block-button__link:hover{
	background-color: var(--e-global-color-primary) !important;
    color: var(--e-global-color-2338454) !important;
/*     border-style: solid !important;
    border-width: 2px 2px 2px 2px !important;
    border-color: var(--e-global-color-accent) !important; */
    border-radius: 12px !important;
	  font-style: italic !important;
}

.woocommerce div.product form.cart{
	border: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
box-shadow: 0 12px 23px rgba(197, 15, 27, 0.24);
    padding: 5px;
    border-radius: 25px;
    border: 3px solid var(--e-global-color-accent);
}

.woocommerce-MyAccount-navigation ul {
	padding: 0 !important;
}
.woocommerce-MyAccount-navigation ul li {
    list-style: none !important;
    padding: 25px 20px;
    border-bottom: 1px solid var(--e-global-color-accent);
    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
	  font-style: italic !important;
	  font-size: 30px !important;
	  color: var(--e-global-color-primary) !important;
}

.woocommerce-MyAccount-navigation ul li:first-child {
    /* background: red !important; */
    border-radius: 20px 20px 0 0;
}

.woocommerce-MyAccount-navigation ul li.is-active, .woocommerce-MyAccount-navigation ul li:hover {
    background: var(--e-global-color-accent);
    color: var(--e-global-color-2338454) !important;
}

.woocommerce-MyAccount-navigation ul li:last-child{
	border: none !important;
	    border-radius: 0 0 20px 20px ;
}

.woocommerce-MyAccount-navigation ul li a::before {
    color: var(--e-global-color-accent);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #13aff0;
    border-color: var(--e-global-color-accent);
}

.woocommerce-account .woocommerce-MyAccount-content :where(strong, a) {
    color: var(--e-global-color-accent) ;
}

.alignwide {
    margin-inline: 0 !important;
}

.wc-block-formatted-money-amount, .amount {
    color: var(--e-global-color-accent);
}

.owp-floating-bar.show{
   display: none !important;
}

.wc-block-components-text-input input:focus + label {
    display: none !important;
}

.wc-block-components-text-input input:focus{
	padding: 13px 15px !important;
}

.wc-blocks-components-select .wc-blocks-components-select__label{
	display: none;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
    font-size: 18px !important;
    font-weight: 600 !important;
}

.edit-post-visual-editor .editor-block-list__block .wc-block-grid__product-title, .editor-styles-wrapper .wc-block-grid__product-title, .wc-block-grid__product-title {
    color: var(--e-global-color-primary) !important;
    font-size: 30px !important;
font-family: var(--e-global-typography-primary-font-family), Sans-serif !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-metadata__description {
    display: none !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__description *, .wc-block-components-formatted-money-amount, .wc-block-components-totals-item__label {
    display: block;
    font-size: 18px !important;
    color: var(--e-global-color-primary) !important;
}

.wc-block-cart-item__wrap * {
    color: var(--e-global-color-primary) !important;
}

a.wc-block-components-product-name{
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif !important;
    font-size: 20px !important;
    font-style: italic;
    font-weight: 800 !important;
}

tr.wc-block-cart-items__header th, .wp-block-woocommerce-cart-order-summary-heading-block.wc-block-cart__totals-title, .wc-block-components-title.wc-block-components-title, .wc-block-components-checkout-order-summary__title-text, .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-9a893a6-font-size) !important;
    font-weight: var(--e-global-typography-primary-font-weight) !important;
    line-height: var(--e-global-typography-secondary-line-height) !important;
    color: var(--e-global-color-primary) !important;
	font-style: italic !important;
}

.wc-block-components-product-metadata{
	display: none !important;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity{
	background:  var(--e-global-color-primary) !important;
}

.wc-block-components-product-price, .wc-block-components-formatted-money-amount{
	color:  var(--e-global-color-accent) !important; 
}

form label{
		color:  var(--e-global-color-primary) !important;

}

input, select{
		    background: var(--paper-2) !important;
    border: 1.5px solid var(--line) !important;
    border-radius: 12px !important;
    padding: 13px 15px !important;
    font-family: inter !important;
}

.wc-block-components-text-input.is-active label{
   display: none !important;
}

/* ==================================================
   CATEGORY + PRICE FILTER
================================================== */

.fst-product-filters {
    display: grid;
    grid-template-columns:
        minmax(180px, 1.4fr)
        minmax(140px, 1fr)
        minmax(140px, 1fr)
        minmax(170px, 220px)
        auto;

    align-items: end;
    gap: 12px;

    width: 100%;
    padding: 18px;

    border: 1px solid #dfe4eb;
    border-radius: 14px;

    background: #ffffff;

/*     box-shadow:
        0 12px 30px rgba(17, 24, 39, 0.08); */
}

.fst-product-filters .fst-filter-field {
    min-width: 0;
}

.fst-product-filters .fst-filter-field label {
    display: block;
    margin: 0 0 7px 3px;
    color: #566174;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    font-style: italic;
}

.fst-product-filters select,
.fst-product-filters input {
    display: block;

    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 14px;

    border: 1px solid #ccd5e2;
    border-radius: 8px;

    background: #f7f9fc;
    color: #111827;

    font-family: inherit;
    font-size: 14px;
    font-weight: 500;

    outline: none;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.fst-product-filters select {
    padding-right: 38px;
    cursor: pointer;
}

.fst-product-filters select:hover,
.fst-product-filters input:hover {
    border-color: #7da6e4;
    background: #ffffff;
}

.fst-product-filters select:focus,
.fst-product-filters input:focus {
    border-color: #2b6fd3;
    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(43, 111, 211, 0.12);
}

.fst-filter-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    min-height: 46px;
    padding: 10px 18px;

    border: 0;
    border-radius: 8px;

    background: #c50f1b;
    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.fst-filter-submit:hover {
    background: #9f0a14;
    color: #ffffff;

    transform: translateY(-1px);
}

.fst-filter-submit svg {
    width: 18px;
    height: 18px;
}

.fst-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 8px 12px;

    color: #c50f1b;

    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.fst-filter-reset:hover {
    color: #9f0a14;
}


/* Tablet */
@media (max-width: 991px) {

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

    .fst-filter-submit {
        width: 100%;
    }
}


/* Mobile */
@media (max-width: 600px) {

    .fst-product-filters {
        grid-template-columns: 1fr;

        padding: 14px;
    }

    .fst-filter-reset {
        width: 100%;
    }
}

.woocommerce-account .woocommerce-MyAccount-content .addresses .woocommerce-Address {
    /* display: block !important; */
    width: 100%;
    float: none !important;
    background: var(--red);
    color: #fff;
    border-radius: 22px;
    padding: 35px 50px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: -10px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-red);
}

.woocommerce-account .woocommerce-MyAccount-content .addresses .woocommerce-Address *{
	color: var(--e-global-color-2338454) !important;
}

.woocommerce-account .woocommerce-MyAccount-content .addresses {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 60px !important
}

.woocommerce-account .woocommerce-MyAccount-content .addresses::before, .woocommerce-account .woocommerce-MyAccount-content .addresses::after{
    display: none !important;
}

header.woocommerce-Address-title.title {
    display: flex;
    justify-content: space-between;
	  align-items: center
}

header.woocommerce-Address-title.title::before, header.woocommerce-Address-title.title::after {
    display: none !important;
}

.woocommerce-account .addresses .title .edit{
	float: none !important;
		background-color: var(--e-global-color-primary) !important;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-accent-font-size) !important;
    font-weight: var(--e-global-typography-accent-font-weight) !important;
    text-transform: var(--e-global-typography-accent-text-transform) !important;
    line-height: var(--e-global-typography-accent-line-height) !important;
	  padding: 13px 28px 13px 28px !important;
    color: var(--e-global-color-2338454) !important;
/*     border-style: solid !important;
    border-width: 2px 2px 2px 2px !important;
    border-color: var(--e-global-color-accent) !important; */
    border-radius: 12px !important;
	font-style: italic !important;
	letter-spacing: 1.15px;
}

.woocommerce-account .addresses .title .edit:hover{
			color: var(--e-global-color-primary) !important;
	    background-color: var(--e-global-color-2338454) !important;
}

header.woocommerce-Address-title.title h2{
	color: var(--e-global-color-primary) !important
}

input#checkbox-control-0 {
    padding: 0 !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 5px !important;
}

button.rmr-fitment-search__submit {background: #b8111a !important;color: #fff !important;}

button.rmr-fitment-search__submit:hover {
    border: 1px solid #b8111a !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover, .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus {
	background: transparent !important;
}

/* =========================================
   FINAL WOOCOMMERCE ERROR NOTICE ALIGNMENT
========================================= */

.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-error {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    min-height: 108px !important;

    margin: 20px 0 !important;
    padding: 0 !important;

    border: 3px solid #17191c !important;
    border-radius: 20px !important;

    background: #fff !important;

    box-sizing: border-box !important;
}


/* MESSAGE */
.woocommerce-error > li,
.woocommerce-notices-wrapper .woocommerce-error > li {
    position: static !important;

    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 104px !important;

    margin: 0 !important;

    padding:
        20px
        190px
        20px
        72px !important;

    box-sizing: border-box !important;

    color: #101114 !important;

    font-family: "Saira Condensed", sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    font-style: italic !important;
    line-height: 1.3 !important;

    text-transform: uppercase !important;
}


/* ERROR ICON */
.woocommerce-error::before,
.woocommerce-notices-wrapper .woocommerce-error::before {
    position: absolute !important;

    top: 50% !important;
    left: 26px !important;

    margin: 0 !important;

    transform: translateY(-50%) !important;

    color: #c8101c !important;

    font-size: 22px !important;
    line-height: 1 !important;
}


/* VIEW CART */
.woocommerce-error a.button.wc-forward,
.woocommerce-notices-wrapper
.woocommerce-error
a.button.wc-forward {
    position: absolute !important;

    top: 50% !important;
    right: 38px !important;
    left: auto !important;

    transform: translateY(-50%) !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 135px !important;
    min-width: 135px !important;
    height: 64px !important;

    margin: 0 !important;
    padding: 0 20px !important;

    border: 0 !important;
    border-radius: 13px !important;

    background: #cf101c !important;
    color: #fff !important;

    float: none !important;

    font-family: "Saira Condensed", sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    font-style: italic !important;
    line-height: 1 !important;

    text-decoration: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;

    box-shadow: none !important;

    z-index: 10 !important;
}


/* No inherited icons on button */
.woocommerce-error a.button.wc-forward::before,
.woocommerce-error a.button.wc-forward::after {
    content: none !important;
    display: none !important;
}


/* MOBILE */
@media (max-width: 767px) {

    .woocommerce-error,
    .woocommerce-notices-wrapper .woocommerce-error {
        min-height: 0 !important;
    }

    .woocommerce-error > li,
    .woocommerce-notices-wrapper
    .woocommerce-error > li {
        display: block !important;

        min-height: 0 !important;

        padding:
            24px
            20px
            22px
            58px !important;

        font-size: 16px !important;
    }

    .woocommerce-error::before {
        top: 27px !important;
        left: 20px !important;

        transform: none !important;
    }

    .woocommerce-error a.button.wc-forward {
        position: static !important;

        transform: none !important;

        display: flex !important;

        width: 100% !important;
        min-width: 100% !important;
        height: 52px !important;

        margin-top: 18px !important;
    }
}

/* ==================================================
   BOOKING MODAL — FINAL FORCE FIX
================================================== */

/* Modal always above header */
#bookModal {
    z-index: 2147483000 !important;
}

/* Keep card away from browser/header top */
#bookModal .modal-card {
    position: relative !important;

    max-height: calc(100vh - 50px) !important;
    max-height: calc(100dvh - 50px) !important;

    margin: 25px auto !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
}


/* ==================================================
   REQUEST APPOINTMENT BUTTON
   FORCE SAME RED COLOR IN EVERY STATE
================================================== */

#bookModal .booking-form-wrap .wpcf7-submit,
#bookModal .booking-form-wrap input[type="submit"],
#bookModal .booking-form-wrap button[type="submit"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 68px !important;

    margin: 0 !important;
    padding: 0 24px !important;

    border: 0 !important;
    border-radius: 13px !important;

    background: #c8101c !important;
    background-color: #c8101c !important;
    background-image: none !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    font-family: "Saira Condensed", sans-serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    font-style: italic !important;
    line-height: 1 !important;

    text-align: center !important;
    text-transform: uppercase !important;

    opacity: 1 !important;

    box-shadow:
        0 14px 28px rgba(200, 16, 28, .22) !important;

    cursor: pointer !important;

    -webkit-appearance: none !important;
    appearance: none !important;

    transition:
        background-color .2s ease,
        transform .2s ease !important;
}


/* Hover */
#bookModal .booking-form-wrap .wpcf7-submit:hover,
#bookModal .booking-form-wrap input[type="submit"]:hover,
#bookModal .booking-form-wrap button[type="submit"]:hover {
    background: #111318 !important;
    background-color: #111318 !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


/* Focus / click */
#bookModal .booking-form-wrap .wpcf7-submit:focus,
#bookModal .booking-form-wrap .wpcf7-submit:active,
#bookModal .booking-form-wrap input[type="submit"]:focus,
#bookModal .booking-form-wrap input[type="submit"]:active {
    background: #c8101c !important;
    background-color: #c8101c !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    outline: none !important;
}


/* CF7 disables button while sending.
   Do NOT let theme turn it white. */
#bookModal .booking-form-wrap .wpcf7-submit:disabled,
#bookModal .booking-form-wrap .wpcf7-submit[disabled],
#bookModal .booking-form-wrap .wpcf7-form.submitting .wpcf7-submit {
    background: #c8101c !important;
    background-color: #c8101c !important;
    background-image: none !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    opacity: .75 !important;

    cursor: wait !important;
}


/* ==================================================
   CF7 SPINNER
================================================== */

#bookModal .wpcf7-spinner {
    position: absolute !important;

    right: 22px !important;
    bottom: 22px !important;

    margin: 0 !important;

    background-color: transparent !important;
}


/* ==================================================
   CLOSE BUTTON
================================================== */

#bookModal .modal-x {
    position: absolute !important;

    top: 18px !important;
    right: 18px !important;

    z-index: 20 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 48px !important;
    height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 12px !important;

    background: #c8101c !important;
    background-color: #c8101c !important;

    color: #ffffff !important;

    box-shadow: none !important;

    cursor: pointer !important;
}

#bookModal .modal-x svg {
    display: block !important;

    width: 22px !important;
    height: 22px !important;

    stroke: #ffffff !important;
}

#bookModal .modal-x:hover {
    background: #111318 !important;
    color: #ffffff !important;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {

    #bookModal .modal-card {
        width: calc(100% - 24px) !important;

        max-height: calc(100dvh - 24px) !important;

        margin: 12px auto !important;
    }

    #bookModal .booking-form-wrap .wpcf7-submit,
    #bookModal .booking-form-wrap input[type="submit"] {
        min-height: 58px !important;
    }

    #bookModal .modal-x {
        top: 12px !important;
        right: 12px !important;

        width: 42px !important;
        height: 42px !important;
    }
}
