body .qodef-contact-form-7 input[type=date],
body .qodef-contact-form-7 input[type=email],
body .qodef-contact-form-7 input[type=number],
body .qodef-contact-form-7 input[type=password],
body .qodef-contact-form-7 input[type=search],
body .qodef-contact-form-7 input[type=tel],
body .qodef-contact-form-7 input[type=text],
body .qodef-contact-form-7 input[type=url],
body .qodef-contact-form-7 select,
body .qodef-contact-form-7 textarea {
	color: #000
}
body #qodef-page-header-inner .qodef-widget-holder .widget.widget_block:not(:first-child) {
    border-left: 1px solid #ddd;
}
body .wpml-ls-legacy-dropdown {
    width: auto;
    max-width: fit-content;
}
body .wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a,
body .wpml-ls-legacy-dropdown a:focus,
body .wpml-ls-legacy-dropdown a:hover {
    background: rgb(255,255,255);
}
body .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    position: relative;
    padding: 0;
    max-width: fit-content;
    border: none;
    width: 60px;
    padding: 10px;
    margin: 10px;
}
body .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    display: none;
}
body .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    padding: 0;
    max-width: fit-content;
    border: none;
    /*display: none;*/
}
/*body .wpml-ls-legacy-dropdown .wpml-ls-item:hover .wpml-ls-sub-menu {
    display: block;
}*/
body .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
    border-width: 0 1px 1px;
    border: none;
    padding: 20px;
}
body .widget ul:not(.qodef-shortcode-list):not(.select2-selection__rendered) li ul {
    margin-top: 0;
    padding-top: 10px;
    padding-left: 0;
    margin-left: 0;
}
.wpcf7 .qodef-request-quote .qodef-grid .wpcf7-form-control-wrap input[type=email], .wpcf7 .qodef-request-quote .qodef-grid .wpcf7-form-control-wrap input[type=tel], .wpcf7 .qodef-request-quote .qodef-grid .wpcf7-form-control-wrap input[type=text], .wpcf7 .qodef-request-quote .qodef-grid .wpcf7-form-control-wrap select {
    padding: 21px 22px;
    border: 1px solid #fff;
    color: #fff;    
}
.qodef-contact-form-7 input[type=date], .qodef-contact-form-7 input[type=email], .qodef-contact-form-7 input[type=number], .qodef-contact-form-7 input[type=password], .qodef-contact-form-7 input[type=search], .qodef-contact-form-7 input[type=tel], .qodef-contact-form-7 input[type=text], .qodef-contact-form-7 input[type=url], .qodef-contact-form-7 select, .qodef-contact-form-7 textarea {
    color: #fff;    
}
body .elementor-element.elementor-element-821c6c7.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded[data-id="821c6c7"] .elementor-widget-container { padding-left: 0px; }
body .elementor-element.elementor-element-821c6c7.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded[data-id="821c6c7"] .elementor-widget-container .elementor-heading-title {
    padding-left: 6%;
}
/* Hide Price and Subtotal headers & data cells on the Cart Page */
/*.woocommerce-cart-form th.product-price,
.woocommerce-cart-form td.product-price,
.woocommerce-cart-form th.product-subtotal,
.woocommerce-cart-form td.product-subtotal {
    display: none !important;
}*/
/*body #news_events_slider.carousel-btn-tr { display: block; }*/
body.woocommerce-checkout #qodef-page-inner,
body.woocommerce-cart #qodef-page-inner {
    padding: 80px 0;
}
body.woocommerce-checkout #qodef-page-wrapper #qodef-page-outer .qodef-page-title,
body.woocommerce-cart #qodef-page-wrapper #qodef-page-outer .qodef-page-title {
    background: #414042;
	height: 203px;
}
body.woocommerce-checkout #qodef-page-wrapper #qodef-page-outer .qodef-page-title .entry-title,
body.woocommerce-cart #qodef-page-wrapper #qodef-page-outer .qodef-page-title .entry-title { font-size: 56px; }
body.woocommerce-checkout #qodef-page-wrapper #qodef-page-outer .qodef-page-title svg,
body.woocommerce-cart #qodef-page-wrapper #qodef-page-outer .qodef-page-title svg { display: none; }
body.woocommerce-checkout form.woocommerce-checkout #order_review #place_order,
body .woocommerce .woocommerce-cart-form .shop_table a.button.checkout-button,
body .woocommerce .woocommerce-cart-form .shop_table button[name="update_cart"] {
    height: 51px;
    background: #F04E29 0% 0% no-repeat padding-box;
    border-radius: 0 !important;
    align-items: center;
    padding: 0 38px !important;
    text-transform: uppercase !important;
}
body .woocommerce .woocommerce-cart-form .shop_table a.button.checkout-button {
    padding: 0 49px !important;
}
/* Container Wrapper */
.header-cart-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333333; /* Icon color */
    padding: 6px;
    margin-right: 10px;
}

/* Cart SVG Icon */
.cart-svg-icon {
    display: block;
    width: 26px;
    height: 26px;
    transition: color 0.2s ease;
}

.header-cart-icon-wrapper:hover .cart-svg-icon {
    color: rgba(240,77,41,1); /* Optional hover color */
}

/* Badge pinned to top right corner */
.header-cart-count {
    position: absolute;
    top: 5px;
    right: 5px;
    transform: translate(25%, -25%);
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    padding: 6px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    pointer-events: none;
}
#qodef-page-header .qodef-widget-holder .widget.widget_block:nth-child(3),
#qodef-page-header .qodef-widget-holder #block-49.widget {
    border-left: 1px solid #ddd;
    width: 80px;
}
.header-cart-icon-wrapper { padding: 15px; }
.quote-btn-wrapper .added_to_cart.wc-forward { display: none; }
.quote-btn-wrapper .elementor-button.btn-quote span.elementor-button-text { 
    display: flex;
    gap: 10px;
    padding: 0 10px;
}
#news_event_view_all_btn { display: none }
#news_and_events .elementor-swiper-button {     
    background-color: #F04E29;
    font-family: "Jost", Sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 2em; 
    padding: 0;
    top: -50px !important;
    transform: none !important;
    width: 32px;
    height: 32px;
    border-radius: 0;
} 
#news_and_events .elementor-swiper-button svg {
    position: absolute;
    left: 20%;
    top: 20%;
    width: 60%;
    height: 60%;
}
#news_and_events .elementor-swiper-button.elementor-swiper-button-prev {
    left: auto !important;
    right: 40px !important;
}
#news_and_events .elementor-swiper-button.elementor-swiper-button-next {
   right: 0 !important;
}
.woocommerce-page div.woocommerce .shop_table tr { display: flex !important; justify-content: space-between; }
.woocommerce-page div.woocommerce .shop_table tr th.product-quantity { padding-left: 3% !important; padding-right: 2%; }
.woocommerce-page div.woocommerce .shop_table tr td.product-quantity { padding-left: 3% !important; padding-right: 3%; }
body .woocommerce-cart-form .product-name .left-side-data {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
body .woocommerce-cart-form .product-name .left-side-data .product-remove-image { display: flex; align-items: center; gap: 10px; }
body .woocommerce-cart-form .product-name .left-side-data .product-thumbnail { max-width: 100px; }
body #custom_breadcumbs a { 
	font-family: "Verb", Sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: #E0E0E0;
    /*color: rgba(240,77,41,1);*/
}
.woocommerce-page div.woocommerce .shop_table tbody .actions { display: flex; justify-content: space-between; width: 100%; }
body .child_category_section { padding: 70px 0px 0px 0px !important; }
body .child_category_section .elementor-shortcode { margin: auto; max-width: 92%; }
body .elementor-widget-n-tabs[data-widget_type="nested-tabs.default"] { display: none; }
body .swiper-wrapper .swiper-slide .elementor-widget-image img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    vertical-align: bottom;
}
body .qodef-header-navigation ul li.qodef-menu-item--narrow ul { width: max-content; }
/*body .qodef-header-navigation>ul>li.qodef-menu-item--narrow ul:not(.qodef-drop-down--right) li.current-menu-ancestor>a,
body .qodef-header-navigation>ul>li.qodef-menu-item--narrow ul:not(.qodef-drop-down--right) li.current-menu-item>a,
body .qodef-header-navigation>ul>li.qodef-menu-item--narrow ul:not(.qodef-drop-down--right) li:hover>a {
	padding-right: 0px
}*/
body .qodef-header-navigation > ul > li.qodef-menu-item--narrow ul:not(.qodef-drop-down--right) li > a { padding-right: 0px; overflow: unset; }
body .qodef-header-navigation ul li a .qodef-menu-item-arrow { right: -25px; }
.child_category_section { background: #F3F3F3; position: relative; padding-top: 0px; } 
.child_category_section h5 { font-family: "Verb", Sans-serif;
    font-size: 30px;
    font-weight: 600 !important;
    color: #000000;
    margin: 0px 0 30px;
}
.child_category_section .wooproducts.main-carousel { overflow: visible !important; width: 100%; overflow: hidden; margin-bottom: 70px; }
.child_category_section .product-item { background: transparent !important; width: 25%; padding: 0 10px; box-sizing: border-box; }
.child_category_section .product-item .product-card-inner { display: flex; flex-direction: column; height: 100%; }
.child_category_section .product-item .product-card-inner .product-image-box {
    width: 100%;
    height: 280px; /* Forces ALL image boxes to identical height */
    background-color: #f4f4f4; /* Light grey background */
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Clips any overflow */
    padding: 15px; /* Inset padding around image */
}
.child_category_section .product-item .product-card-inner .product-image-box .product-card-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; /* Retains aspect ratio inside the box without spill */
    display: block;
}
.child_category_section .product-item .product-card-inner .product-buttons-wrapper a {
    padding: 8px 5px;
    font-size: 12px;
    line-height: normal;
    max-width: 130px;
    border: 1px solid transparent;
}
.child_category_section .product-item .product-card-inner .product-buttons-wrapper a.btn-view:hover {
    border: 1px solid rgb(240, 78, 41);
    background-color: #fff;
    color: rgb(240, 78, 41);
}
.child_category_section .product-item .product-card-inner .product-buttons-wrapper a.btn-quote {
    border: 1px solid rgb(240, 78, 41);
    background-color: #fff;
    color: rgb(240, 78, 41);
}
.child_category_section .product-item .product-card-inner .product-buttons-wrapper a.btn-quote:hover {
    border: 1px solid #fff;
    background-color: rgb(240, 78, 41);
    color:#fff;
}
/* Title Styling */
.child_category_section .product-item .product-title {
    margin: 20px 0;
    text-align: left;
    color: #000000;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    font-size: 20px;
}

/* Buttons Alignment */
.child_category_section .product-item .product-buttons-wrapper {
    display: flex;
    gap: 8px;
    margin-top: auto; /* Keeps buttons aligned at bottom */
    width: 90%;
    margin: auto;
    justify-content: center;
}

.product-buttons-wrapper .elementor-button {
    flex: 1;
    text-align: center;
    justify-content: center;
}
.child_category_section .elementor-widget-image .elementor-widget-container { border: 1px solid lightgray;  height: 280px !important; display: flex; align-items: center; justify-content: center;  }
.child_category_section .product-item .elementor-widget-image img { width: 70%; max-height: none !important; }
.child_category_section .product-item .product-info-content { text-align: left; }
.child_category_section .product-item .elementor-button-wrapper .elementor-button { padding: 10px 15px; }
.child_category_section .wooproducts.main-carousel .flickity-viewport { overflow: hidden !important; }
.child_category_section .flickity-page-dots { display: none; }
.child_category_section .flickity-prev-next-button { top: -50px !important;  transform: none !important;  width: 32px; height: 32px; border-radius: 0; }
.child_category_section .flickity-prev-next-button.previous { left: auto !important; right: 40px !important; }
.child_category_section .flickity-prev-next-button.next { right: 0 !important; }
.child_category_section .flickity-button.flickity-prev-next-button { width: 33px; height: 33px; padding: 0; color: #fff; }
.child_category_section .flickity-button.flickity-prev-next-button:hover { background-color: #F04E29; }
.child_category_section .flickity-prev-next-button .flickity-button-icon { display: none; }
.child_category_section button.flickity-button.flickity-prev-next-button:after { content: ""; display: block; background-repeat: no-repeat !important; width: 100%; height: 100%; background-size: 27% !important; background-position: center !important; }
.child_category_section button.flickity-button.flickity-prev-next-button.previous:after { 
    background: url("/wp-content/themes/freightexpress/assets/img/flicker-left-btn-img.png");
}
.child_category_section button.flickity-button.flickity-prev-next-button.next:after {
    background: url("/wp-content/themes/freightexpress/assets/img/flicker-right-btn-img.png");
}
body header .qodef-widget-holder .widget_block.widget_media_image,
body header .qodef-widget-holder .widget_block .header-phone,
body #qodef-page-header .qodef-widget-holder .widget:first-child {
    display: flex !important;
}
body header .qodef-widget-holder .header-contact,
body header .qodef-widget-holder .header-contact a {
    width: 130px;
}
body li.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item.page_item.page-item-7548.current_page_item.menu-item-8682 {
    display: none;
}
#news_list_section .elementor-pagination { margin-top: 50px; }
#news_list_section .elementor-pagination span.page-numbers,
#news_list_section .elementor-pagination a.page-numbers {
    background-color: var(--e-global-color-accent);
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-weight: var(--e-global-typography-accent-font-weight);
    color: #fff;
    padding: 10px 15px;
}
#news_list_section .elementor-pagination span.page-numbers:hover,
#news_list_section .elementor-pagination a.page-numbers:hover {
    background-color: #6F1214;
}
#news_list_section .elementor-pagination span.page-numbers.current {
    border: 1px solid #f04e29;
    background: none !important;
    color: #f04e29 !important;
}
@media (max-width: 1200px) {
    body li.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item.page_item.page-item-7548.current_page_item.menu-item-8682 {
        display: block;
    }    
}
/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .child_category_section .wooproducts .product-item { width: 33.333%; }
}
@media (max-width: 767px) {
    .child_category_section .wooproducts .product-item { width: 50%; }
    .child_category_section .flickity-button.flickity-prev-next-button { top: 30%; }
    .child_category_section .flickity-prev-next-button.previous { left: -8px; right: unset; }
    .child_category_section .flickity-prev-next-button.next { right: 0; }
    body #qodef-page-mobile-header .qodef-widget-holder div#block-46 { order: 0; }
    body #qodef-page-mobile-header .qodef-widget-holder .widget  { order: 1; margin-left: 0; margin-right: 12px; }
    body .woocommerce-cart-form .product-name { display: flex }
    body .woocommerce-cart-form .product-name .left-side-data {
        flex-direction: column;
    }
}
@media screen and (max-width: 480px) {
    .child_category_section .wooproducts .product-item { width: 100%; }
}