/*
Theme Name: bexpres
Theme URI: http://demo.bravisthemes.com/bexpres
Author: Bravis-Themes
Author URI: https://themeforest.net/user/bravis-themes/
Description: Meet the modern side of transportation and logistics businesses – Bexpres, a professional solution for all transport service and freight transport companies. Bexpres comes with layouts ideal for cargo, shipment and shipping company sites, as well as elements and features designed specifically for freight service, logistic storage, trucking and air transportation & sea transport sites. Top this off with full Elementor Page Builder and Qi Blocks for Gutenberg compatibility, and you get a professional solution for cargo delivery, logistic warehouse and transportation sites. This is Bexpres!.
Version: 10.0.7
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bexpres
Tags:  freight transport, logistics, shipment, shipping, shipping company, transport, transport company, transportation
Requires at least: 5.8 or Higher
Requires PHP: 7.4 or Higher
Tested up to: 6.4

Copyright (c) 2024 Bravis-Themes. All rights reserved.
This theme is licensed under the GPL-2.0+ license.
*/

/* Fast N Ship responsive stability & mobile UI polish - 10.0.3 */
html, body { max-width: 100%; overflow-x: clip; }
img { max-width: 100%; height: auto; }
@media (max-width: 991px) {
  /* Keep slider/carousel containers measurable on phones. */
  .pxl-swiper-sliders, .pxl-swiper-container, .pxl-swiper-wrapper { min-width: 0; }
  .pxl-swiper-container { overflow: hidden; width: 100%; }
  .pxl-swiper-slide { height: auto; }
  .pxl-swiper-arrow { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  /* More balanced mobile typography and spacing without changing desktop. */
  .elementor-widget-heading .elementor-heading-title { overflow-wrap: break-word; }
  .pxl-heading .pxl-item--title { overflow-wrap: break-word; }
  .pxl-header-mobile { width: 100%; }
  #pxl-header-mobile .pxl-header-branding img,
  .pxl-header-mobile .pxl-header-branding img { max-width: 190px; max-height: 58px; width: auto; object-fit: contain; }
}
@media (max-width: 575px) {
  .pxl-swiper-dots { margin-top: 16px; }
  .pxl-swiper-pagination-bullet { min-width: 10px; min-height: 10px; }
  .elementor-section, .e-con { --container-default-padding-left: 16px; --container-default-padding-right: 16px; }
}

/* Fast N Ship tracking shortcode outer-card removal - 10.0.5 */
/* The visible line/shadow comes from the shortcode's own .track-outer-container,
   so override that exact element without touching the tracking input or result cards. */
body .wpcargo-track.wpcargo > .track-outer-container,
body .wpcargo-track .track-outer-container {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
}
@media (max-width: 767px) {
  body .wpcargo-track.wpcargo {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  body .wpcargo-track.wpcargo > .track-outer-container,
  body .wpcargo-track .track-outer-container {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
  }
}

/* Fast N Ship tracking embed clean-shell fix - 10.0.6 */
@media (max-width: 767px) {
  /* Remove the visual shell from the shortcode/widget host itself. */
  body .elementor-shortcode:has(input[placeholder*="tracking" i]),
  body .elementor-widget-shortcode:has(input[placeholder*="tracking" i]) .elementor-widget-container,
  body .elementor-widget-html:has(input[placeholder*="tracking" i]) .elementor-widget-container {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  /* The tracking plugin wraps the pre-search screen in one extra card. Flatten only
     wrappers that actually CONTAIN the tracking input; nested help/info boxes remain intact. */
  body .elementor-shortcode:has(input[placeholder*="tracking" i]) > div:has(input[placeholder*="tracking" i]),
  body .elementor-shortcode:has(input[placeholder*="tracking" i]) > section:has(input[placeholder*="tracking" i]),
  body .elementor-shortcode:has(input[placeholder*="tracking" i]) > form:has(input[placeholder*="tracking" i]),
  body .elementor-shortcode:has(input[placeholder*="tracking" i]) > div:has(form input),
  body .elementor-shortcode:has(input[placeholder*="tracking" i]) > div:has(> div input[placeholder*="tracking" i]) {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  /* Remove stray list marker/bullet from the pre-search helper copy only. */
  body .elementor-shortcode:has(input[placeholder*="tracking" i]) ul,
  body .elementor-shortcode:has(input[placeholder*="tracking" i]) ol {
    list-style: none !important;
    padding-left: 0 !important;
  }
  body .elementor-shortcode:has(input[placeholder*="tracking" i]) li::marker { content: "" !important; }
  body .elementor-shortcode:has(input[placeholder*="tracking" i]) li::before {
    content: none !important;
    display: none !important;
  }
}

/* Fast N Ship STRICT tracking shell override - 10.0.7
   High-specificity rules intentionally beat the tracking plugin's late !important CSS. */
@media screen and (max-width: 767px) {
  html body .elementor .elementor-widget-shortcode .elementor-widget-container .wpcargo-track.wpcargo > .track-outer-container,
  html body .elementor .elementor-shortcode .wpcargo-track.wpcargo > .track-outer-container,
  html body .wpcargo-track.wpcargo > .track-outer-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px 10px !important;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
  }

  /* The blue dot is generated by the plugin helper strip, not a list marker. */
  html body .wpcargo-track.wpcargo .tracking-helper-strip .helper-dot,
  html body .wpcargo-track.wpcargo .helper-dot {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
  }

  html body .wpcargo-track.wpcargo .tracking-helper-strip {
    display: block !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-align: center !important;
  }

  /* Keep only the intended input/hint borders. */
  html body .wpcargo-track.wpcargo .custom-tracking-form {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}
