/* ================================================================================================
 * Product
 * ============================================================================================= */

h2.product_title {
    font-size: 48px;  
}

@media (max-width: 768px) {
    h2.product_title {
        font-size: 32px;
        text-align: center;
        margin-bottom: 48px;
        margin-top: -24px !important;
    }   
}

.woocommerce-product-gallery img {
    border: 0 !important;
}

.product .summary {
    max-width: 500px;
    background: #ebebeb;
    padding: 20px;
    border-radius: 5px;
}

.product .summary .entry-title {
    text-align: center;
    border-bottom: 2px solid white;
    margin-top: -5px !important;
    margin-left: -20px;
    margin-right: -20px;
    padding-bottom: 15px !important;
    font-size: 32px;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.product-options-title {
    font-family: 'Roboto', 'Helvetica', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.product-summary {
    max-width: 340px;
    margin: 28px auto 0 auto;
    font-family: 'Roboto', 'Helvetica', sans-serif;
    position: relative;
}

.product-summary .variations td.value {
    padding-bottom: 0 !important;
}

.product-summary .variations td.value select {
    margin: 0 0 16px 0;
    background-color: #ffffff;
	border: 1px solid #767676;
}

.bundled_item_cart_content td.value select {
	background-color: #ffffff;
}

.product-info {
    margin-top: -10px;
    margin-bottom: 16px;
    display: none;
}

.summary .variations td.label {
    display: none;
}

.reset_variations {
    position: absolute;
    right: 0;
    top: 0;
}

.summary select, .part-checker select {
    border-radius: 8px;
    width: 100%;
    max-width: 280px !important;
    padding: 8px;
    color: black;
    display: block;
    margin: 20px auto;
    font-size: 16px;
    font-weight: 300;
}

.tabs.wc-tabs {
    padding: 0 5px !important;
    position: relative;
    margin: 0;
}

.woocommerce-tabs .panel {
    padding: 30px;
}

.tabs.wc-tabs::before {
    content: "";
    display: block;
    position: absolute;
    left: 5px !important;
    top: 0;
    background-color: #576163;
    width: calc(100% - 5px) !important;
    height: 55px !important;
    z-index: 0 !important;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.tabs.wc-tabs > li {
    display: inline-block;
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 5px !important;
    padding-left: 20px !important;
    padding-right: 0 !important;
    background-color: #576163 !important;
    border-top: 0 !important;
    border-left: 0 !important;
    vertical-align: middle;
    text-transform: uppercase;
    font-size: 16px;
    border-right: 0 !important;
    height: 55px;
    margin-right: 1px !important;
    margin: 0 -5px;
}

.tabs.wc-tabs > li > a {
    padding-right: 20px !important;
    border-right: 1px solid white;
    padding-top: 10px !important;
    height: 44px;
    display: block;
    font-weight: bold;
}

.tabs.wc-tabs > li.active {
    background-color: #485051 !important;
}

.tabs.wc-tabs > li:first-child {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.tabs.wc-tabs > li:last-child {
    border-right: 0 !important;
}

.tabs.wc-tabs > li > a {
    color: white !important;
}

ul.tabs.wc-tabs {
    min-height: 56px !important;
}

.variations th.label label {
    color: #576163;
}

.woocommerce-product-gallery .flex-control-nav {
	display: flex;
	flex-wrap: wrap;
}

@media (max-width: 991px) {
    .tabs.wc-tabs > li > a {
        font-size: 14px;
        padding-right: 16px !important;
        padding-top: 13px !important;
    }

    .tabs.wc-tabs > li {
       padding-left: 16px !important;
    }
}

@media (min-width: 769px) {
    .product .woocommerce-product-gallery {
        min-height: 600px;
    }
}

@media (max-width: 768px) {
    .part-checker {
        float: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .tabs.wc-tabs {
        padding: 0 !important;
    }

    .tabs.wc-tabs::before {
        display: none !important;
    }

    .tabs.wc-tabs > li:first-child {
        border-radius: 0 !important;
    }

    .tabs.wc-tabs > li > a {
        border-right: 0;
        padding-right: 0 !important;
    }

    .tabs.wc-tabs > li {
        width: calc(100% + 5px);
    }

    .product .summary { 
        max-width: 100%;
    }

    .product-summary {
        max-width: 100%;
    }

    .single_add_to_cart_button, .woocommerce div.product form.cart div.quantity {
        float: none ;
        display: block;
        width: 100%;
    }

    .single_add_to_cart_button {
        padding: 16px !important;
        font-size: 20px !important;
        height: 40px;
    }

    .woocommerce div.product form.cart div.quantity {
        margin: 32px 0;
    }

    .woocommerce div.product form.cart div.quantity input {
        font-size: 20px !important;
        height: 40px;
    }

    .woocommerce div.product form.cart {
        margin-bottom: 0;
    }
}

.entry-content {
    background-color: #ebebeb !important;
    border-color: #bcbcbc !important;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    color: black;
}

.variations {
    margin: 0 !important;
}

.product-summary .price,
.entry-summary .price {
    font-size: 21px !important;
    font-weight: bold;
    color: black !important;
}

.product-summary .price .amount,
.entry-summary .price {
    color: #158029 !important;
}

.type-product.product-type-variable .product-summary > .price {
    display: none;
}

.woocommerce-variation-add-to-cart::before {
    content: "+";
    float: left;
    vertical-align: middle;
    font-size: 22px;
    font-weight: bold;
    color: black;
    margin-top: 2px;
    margin-right: 10px;
}

.input-text.qty {
    font-weight: bold;
    font-size: 16px;
    color: black !important;
}

.single_add_to_cart_button {
    text-transform: uppercase;
    padding: 6px 32px !important;
    font-weight: bold !important;
}

.single_add_to_cart_button:hover {
    background-color: #0380af;
    color: white;
}

.product-category-title {
    background: #074286;
    color: white;
    font-size: 38px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 20px 0;
    display: flex;
}

.product-category-title .wrapper {
    width: 1170px;
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
    /* overflow-x: hidden; */
}

.product-category-title.has-product-msg > .wrapper {
	display: flex;
	align-items: center;
}

.product-category-title.has-product-msg .product-category-name {
	flex-shrink: 0;
}

.product-category-title .fallback-notification {
	background-color: #ffffff;
	color: #777777;
	font-size: 14px;
	margin-left: 16px;
	flex-grow: 1;
	max-width: 100%;
	margin: -15px 0 -15px 32px;
	text-transform: none;
	outline: 4px solid #ffffff;
}

.product-category-name {
    display: inline-block;
    vertical-align: middle;
    font-family: 'Montserrat', 'Verdana', sans-serif;
}

body .fl-content {
    margin-top: 24px !important;
}

.woocommerce-page .woocommerce-breadcrumb, .woocommerce-page .woocommerce-breadcrumb > a
 {
    text-transform: uppercase;
    font-size: 16px;
    color: #576163;
}

.woocommerce-breadcrumb {
    margin-bottom: 48px !important;
}

.woocommerce-page .woocommerce-breadcrumb a:hover {
    color: #0380af;
    text-decoration: none;
}

.product_title {
    margin-top: 40px !important;
}

.product > .product_title {
    width: 50%;
}

.product_title .subtitle {
    font-size: 24px;
    vertical-align: middle;
    text-transform: none;
}

.woocommerce-Tabs-panel {
    padding-left: 16px;
    padding-right: 16px;
    margin-top: -5px !important;
}

@media (max-width: 768px) {
    .product-category-title {
        text-align: center;
    }

    .product > .product_title {
        width: 100%;
    }

    .product .product_title .subtitle {
        display: block;
    }

    .product-category-title .wrapper {
        margin: 0 16px;
    }
}

@media (max-width: 480px) {
    .product table.variations,
    .product table.variations tbody,
    .product table.variations tr,
    .product table.variations td {
        display: block;
    }
}

/* ================================================================================================
 * Related Products
 * ============================================================================================= */

.woocommerce .related h2 {
    color: #074286;
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 0;
}

.related.products ul.products {
    background: #ffffff !important;
    border: 1px solid #bcbcbc !important;
    padding: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.related.products .product-loop-thumbnail {
    background-color: white;
    min-width: 190px !important;
    min-height: 145px !important;
    margin-right: 0 !important;
}

.related.products .product-loop-thumbnail img {
    max-width: 190px !important;
    max-height: 145px !important;
}

.related-products-title {
    background: #576163;
    color: white;
    border: 1px solid #bcbcbc;
    border-radius: 5px;
    padding: 20px;
    font-size: 18px;
    margin-left: -1px;
    margin-right: -1px;
    margin-top: -5px;
}

.related-products-container > ul.products  {
    padding: 40px 40px 0 40px !important;
}

@media (min-width: 769px) and (max-width: 991px) {
    .related-products-container > ul.products > li {
        width: calc(50% - 32px) !important;
    }
}

@media (max-width: 768px) {
    .woocommerce .related h2 {
        font-size: 32px;
        max-width: 100%;
        padding: 16px;
    }
}

/* ================================================================================================
 * Product Checker
 * ============================================================================================= */

.part-checker {
    text-align: center;
    width: 48%;
    max-width: 500px;
    float: right;
    background: #576163;
    padding: 5px 20px 35px 20px;
    margin-bottom: 32px;
    border-radius: 5px;
}

.part-checker-title {
    color: white;
    font-size: 34px;
}

.part-checker input[type='submit'] {
    background-color: #c8cfd5;
    color: #444c4e;
    text-transform: uppercase;
    font-family: 'Roboto', 'Helvetica', sans-serif;
    width: 100%;
    max-width: 220px;
    font-size: 19px;
    font-weight: bold;
    height: 41px;
    border: 0;
    margin-top: 10px;
    transition: background-color 300ms ease-in-out, color 300ms ease-in-out;
}

.part-checker input[type='submit']:disabled {
    opacity: 0.25;
}

.part-checker input[type='submit']:hover:not(:disabled) {
    background-color: #0380af;
    color: white;
}

.part-checker .horizontal-break {
    max-width: 345px;
    margin: 0 auto;
}

.horizontal-break .left, .horizontal-break .right {
    border-top: 2px solid white;
    display: inline-block;
    width: calc(50% - 40px);
    height: 25px;
    vertical-align: bottom;
}

.horizontal-break .left {
    margin-right: 15px;
}

.horizontal-break .right {
    margin-left: 15px;
}

.horizontal-break .icon {
    background-image: url('../png/horizontal-break-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    width: 32px;
    height: 45px;
}

/* ================================================================================================
 * Misc
 * ============================================================================================= */

.product-loop-thumbnail > span {
    display: inline-block;
    vertical-align: middle;
    height: 200px;
}

#vehicle-fit-data {
    display: none;
}

.fallback-notification {
    border: 1px solid #e05946;
    max-width: 500px;
    float: right;
    padding: 8px;
    margin-bottom: 24px;
    display: none;
}

div.type-product:not(.fit) .product-options-title,
div.type-product:not(.fit) .variations,
div.type-product:not(.fit) .woocommerce-variation-add-to-cart,
div.type-product.fit:not(.product-type-bundle) .product-summary-notice {
    display: none;
}

.product-summary-notice {
    padding: 16px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    max-width: 300px;
    margin: 0 auto;
}

#tab-fitment h3 {
	cursor: pointer;
	transition: color 300ms ease-in-out;
}

#tab-fitment h3:hover {
	color: #0380af;
}

#tab-fitment .fitment-make:not(.active) .fitment-models {
	display: none;
}

#tab-fitment .fitment-models {
	max-height: 400px;
	overflow-y: auto;
}

#tab-fitment ul {
    list-style: none;
    padding-left: 0;
}

#tab-fitment li {
    display: inline-block;
    width: 70px;
    color: #074286;
    cursor: pointer;
    transition: color 300ms ease-in-out;
    font-weight: bold;
}

.product-install-pdf-list a > span:not(:first-child)::before {
    content: ", ";
}

.product-install-pdf-list > div {
    margin-bottom: 8px;
}

.product-install-pdf-list > div > a {
    width: 400px;
    display: inline-block;
    vertical-align: middle;
}

.product-install-pdf-list > div.active {
    font-weight: bold;
}

.product-install-pdf-list > div.active::after {
    content: "Fits your vehicle";
    margin-left: 32px;
    display: inline-block;
}

#tab-fitment li:hover {
    color: #0380af;
}

#tab-fitment h3:not(:nth-of-type(1)) {
    margin-top: 48px;
}

#tab-fitment h4 {
    margin-top: 24px;
}

.single_variation_wrap > .price {
    margin: 24px 0;
}

.woocommerce-tabs.wc-tabs-wrapper {
    clear: both;
}

.part-checker:not(.active) {
    display: none;
}

select#_hidden {
    display: none;
}

.type-product.nofit .woocommerce-variation-description,
.type-product.nofit .woocommerce-variation-price {
    display: none;
}

.woocommerce-variation-price {
    margin-bottom: 24px;
}

#tab-title-video:not(.has-video) {
    display: none;
}

#tab-title-blank {
    display: none;
}

@media (max-width: 768px) {
    #tab-fitment li {
        padding: 16px;
    }

    .product-install-pdf-list > div > a {
        padding: 12px;
    }

    .woocommerce #review_form #respond .form-submit input {
        width: 100%;
        padding: 16px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .product-install-pdf-list > div > a {
        width: 100%;
    }
}

/* ================================================================================================
 * Bundled
 * ============================================================================================= */

.bundled_product_permalink {
    display: none;
}

.bundled_product_title_inner .item_suffix {
    display: none;
}

.bundle_form .variations_button, .single-product div.product .bundle_form .variations_button {
    display: none;
}

.bundled_product_summary .bundled_product_optional_checkbox {
    display: none !important;
}

.product-type-bundle .entry-summary > p.price {
    display: none;
}

.bundled_product_title {
    margin-top: 0 !important;
}

.bundle_wrap p.price {
    display: none;
}

.wc-no-matching-variations {
    display: none !important;
}

div.type-product.fallback .product-options-title,
div.type-product.fallback .variations,
div.type-product.fallback .woocommerce-variation-add-to-cart,
div.type-product.fallback .fallback-notification {
    display: block;
}

div.type-product.fallback .product-summary-notice {
    display: none;
}

.product-type-bundle:not(.fit) .bundled_product_summary,
.product-type-bundle:not(.fit) .bundle_wrap,
.product-type-bundle:not(.fit) .bundle-disable-optional,
.product-type-bundle.fit .product-summary-notice,
.bundle-summary > p.price {
    display: none;
}

.bundled_item_optional.inactive {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
}

.bundle-disable-optional input {
    visibility: hidden;
    position: absolute;
}

.bundle-disable-optional span.checkbox {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #a9a9a9;
    background-color: white;
    margin-right: 12px;
    vertical-align: middle;
    cursor: pointer;
}

.bundle-disable-optional span.label {
    display: inline-block;
    color: #808080;
    font-size: 14px;
    width: calc(100% - 45px);
    text-align: left;
    vertical-align: middle;
}

.bundle-disable-optional span.checkbox::before {
    content: "";
    background-image: url('../svg/check-optional.svg');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 30px;
    height: 30px;
}

.bundle-disable-optional input:not(:checked) + label span.checkbox::before {
    display: none;
}


.woocommerce div.product div.bundled_product_images {
    float: left;
    width: 20%;
    margin: 0;
}

div.bundled_product_summary:not(.thumbnail_hidden) .details {
    float: right;
    width: 80%;
    padding: 0 0 0 1.5em;
}

div.bundled_product_summary, .woocommerce div.product.bundled_product_summary {
    padding-bottom: 1.618em;
    margin-bottom: 1.618em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.bundled_product_summary .bundled_product_images figure {
    margin: 0;
}

.bundled_product_summary select {
    margin: 0;
}

.bundled_item_wrap:after, div.bundled_product_summary:after {
    display: table;
    content: '';
    clear: both;
}

/* ================================================================================================
 * Cart/Checkout
 * ============================================================================================= */

.cart-related ul.products li.product {
    clear: none !important;
}

.woocommerce-page table.cart td.actions .button {
    
}

.woocommerce-page table.cart td.actions .button:disabled {
    background: transparent;
}

#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img {
    width: 300px;
}

@media (min-width: 767px) {
    .woocommerce-page .cart-related ul.products li.product.last {
        margin-right: 3.8% !important;
    }

    .woocommerce-page .cart-related ul.products li.product:nth-of-type(4n) {
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    .place-order button {
        display: none;
        float: none !important;
        width: 100%;
        height: 48px;
        padding: 10px;
        font-size: 20px !important;
    }

    table.woocommerce-cart-form__contents thead {
        display: none;
    }

    .woocommerce-cart-form tr.cart_item {
        display: block;
        width: 100%;
    }

    .woocommerce-cart-form tr.cart_item:not(:last-child) {
        border-bottom: 1px solid #ccc;
    }
    
    .woocommerce-cart-form tr.cart_item > td {
        display: inline-block;
        border: 0;
    }

    .woocommerce-cart-form tr.cart_item > td.product-remove {
        width: 44px;
    }

    .woocommerce-cart-form tr.cart_item > td.product-thumbnail {
        width: 150px;
    }

    .woocommerce-cart-form tr.cart_item > td.product-thumbnail img {
        width: 100%;
    }

    .woocommerce-cart-form tr.cart_item > td.product-name {
        width: calc(100% - 202px);
    }

    .woocommerce-cart-form tr.cart_item > td.product-price {
        display: none;
    }

    .woocommerce-checkout-review-order-table thead {
        display: none;
    }

    .woocommerce-checkout-review-order-table tbody {
        display: block !important;
        width: 100%;
    }

    .woocommerce-checkout-review-order-table .cart_item {
        display: block;
    }

    .woocommerce-checkout-review-order-table .cart_item > td {
        display: block;
        width: 100%;
    }

    .woocommerce-checkout-review-order-table .cart_item > td.product-total {
        border-top: 0;
        margin-top: -20px;
        font-weight: bold;
    }

    .woocommerce-checkout-review-order-table tfoot > tr,
    .woocommerce-checkout-review-order-table tfoot > tr > th,
    .woocommerce-checkout-review-order-table tfoot > tr > td {
        display: block;
        width: 100%;
    }

    .woocommerce-checkout-review-order-table tfoot .cart-subtotal > th,
    .woocommerce-checkout-review-order-table tfoot .cart-subtotal > td,
    .woocommerce-checkout-review-order-table tfoot .tax-rate > th,
    .woocommerce-checkout-review-order-table tfoot .tax-rate > td,
    .woocommerce-checkout-review-order-table tfoot .order-total > th,
    .woocommerce-checkout-review-order-table tfoot .order-total > td {
        display: inline-block;
        width: calc(50% - 4px);
    }
}

@media (max-width: 450px) {
    .woocommerce-cart-form tr.cart_item > td.product-name {
        display: block;
        width: 100%;
    }

    .woocommerce-checkout #fl-main-content {
        padding-top: 64px;
    }
}

/* ================================================================================================
 * Spin Preview
 * ============================================================================================= */

.gallery-with-spinner {
    width: 48%;
    float: left;
}

#spin-preview iframe {
    width: 100%;
    border: 0;
}

.woocommerce div.product .gallery-with-spinner div.images,
.woocommerce-page div.product .gallery-with-spinner div.images {
    width: 100% !important;
    float: none;
}

@media (max-width: 768px) {
    .gallery-with-spinner {
        width: 100%;
        float: none;
    }
}

/* ================================================================================================
 * Icons
 * ============================================================================================= */

.cr-product-top-section {
	display: flex;
}

.cr-product-icons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
	margin: -10px 16px 16px 16px;
	flex-grow: 1;
	justify-content: center;
}

.cr-product-icon img {
	max-width: 150px;
	height: auto;
}

.cr-predefined-icon-1,
.cr-predefined-icon-2,
.cr-predefined-icon-3,
.cr-predefined-icon-4 {
	width: 150px;
	height: auto;
	background-repeat: no-repeat;
	background-size: contain;
}

.cr-predefined-icon-1 {
	background-image: url('../jpg/no-drilling.jpg');
	aspect-ratio: 1;
}

.cr-predefined-icon-2 {
	background-image: url('../png/hands-free.png');
	aspect-ratio: 1;
}

.cr-predefined-icon-3 {
	background-image: url('../png/heavy-duty-500.png');
	aspect-ratio: 994 / 674;
}

.cr-predefined-icon-4 {
	background-image: url('../png/heavy-duty-650.png');
	aspect-ratio: 994 / 674;
}