:root {
    --primary-color: #0073aa;
    --secondary-color: #f1f1f1;
}

body {
    background-color: #fff;
}

.button {
    background-color:#ffc402;
}

/* visual styles */
#veh-select select {
    display: block;
    width: 100% !important;
}

/* 强制表单内的 Gutenberg 列布局占满全宽，避免第一个 select 被限制在 33% */
#veh-select .wp-block-columns,
#veh-select .wp-block-column,
#veh-select .widget,
#veh-select .wp-block-categories-dropdown {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
}
.container-fluid{
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
	background-color: #0a4d88;
}
.banner-rrss{
	    background-color: #b3b3b3;
	    margin: 0 0;
	    text-align: center;
      justify-items: center;
      font-family: 'Montserrat', sans-serif;
}
.facebook{background-color: #0052ec;color: #fff;}
.twitter{background-color: #000;color: #fff;}
.instagram{background-color: #fff;line-height: 90px !important;}
.youtube{background-color: #fff;color: red;}
.linkedin{background-color: #0052ec;color: #fff;}
.no-gutters {
    margin-right: 0;
    margin-left: 0;
}
.descripcion-noticia{
  font-size: 12px;
}
.foot-link img{margin: 5px;}
.mt-5, .my-5 {
    margin-top: 3rem !important;
	margin-bottom: 3rem !important;
}
.mb-2, .my-2 {
    margin-bottom: .5rem !important;
}
.mt-3, .my-3 {
    margin-top: 1rem !important;
}
.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.no-gutters h4{
        font-size: 1.5rem;
		margin-bottom: .5rem;
		font-weight: 500;
		line-height: 1.2;
}
.no-gutters p{
        margin-top: 0;
        margin-bottom: 1rem;
}
.index-link {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin: 0;
    gap: 10px;
    list-style: none;
	margin-bottom: 50px;
}
.index-link li{margin: 10px 20px;}
.index-link a{
	    transition: all .5s;
		border-radius: 50%;
		    text-align: center;
		    width: 100px;
		    height: 100px;
		    padding: .0625rem;
		    font-size: 50px;
		    line-height: 100px;
		    display: block;
}
.index-link a:hover{color: #ffc402;}
.redes-sociales{
	    display: block;
	    text-align: center;
	    justify-items: center;
}
@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }
}
.contact-index .contact {

    color: #fff;
    font-family: Montserrat Bold;
    padding-top: 50px;
    padding-bottom: 30px;
    text-align: center;
}
.contact-index .contact {
    background-color: #004a98;
    color: #fff;
    font-family: Montserrat Bold;
    padding-top: 50px;
    padding-bottom: 30px;
    text-align: center;
}
.contact-index .contact p:nth-child(1) {
    font-size: 15px;
}
.contact-index .contact p:nth-child(2) {
    font-size: 41px;
}
.contact-index .contact a {
    color: #585858;
    font-size: 18px;
    background-color: #fff;
    border-radius: 35px;
    padding: 15px 30px;
    display: inline-block;
    font-family:'Montserrat';font-weight: bold;
}
.relevanssi-live-search-results {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  background: #fff;
  -webkit-box-shadow: 0 0 2px 0 rgba(30, 30, 30, 0.4);
  box-shadow: 0 0 2px 0 rgba(30, 30, 30, 0.4);
  border-radius: 3px;
  width: 315px;
  min-height: 175px;
  max-height: 300px;
}

.relevanssi-live-search-result p,
.relevanssi-live-search-result-status p {
  font-size: 0.9em;
  padding: 1em;
  margin: 0;
  border-bottom: 1px solid rgba(30, 30, 30, 0.1);
}

.relevanssi-live-search-result-status p {
  font-size: 0.8em;
  padding: 0 1em;
}

.relevanssi-live-search-result--focused {
  background: #ddd;
}

.relevanssi-live-search-result--focused a {
  color: #000;
}

.relevanssi-live-search-result:last-of-type p {
  border-bottom: 0;
}

.relevanssi-live-search-result a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bullet proof Screen Reader Only text */
.relevanssi-live-search-instructions {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

.rlv-has-spinner {
  width: 56px;
  height: 56px;
  border: 8px solid #0052ec;
  border-right-color: transparent;
  border-radius: 50%;
  position: relative;
  animation: loader-rotate 1s linear infinite;
  margin: 1em auto;
}
.rlv-has-spinner::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #0052ec;
  border-radius: 50%;
  position: absolute;
  top: -1px;
  left: 33px;
}
@keyframes loader-rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}


  .product-carousel {
            position: relative;
            max-width: 100%;
            overflow: hidden;
            margin: 20px 0;
            border-radius: 8px;
        }
        .carousel-slides {
            display: flex;
            transition: transform 0.5s ease;
            width: 100%;
        }
        .carousel-slide {
            flex: 0 0 100%;
            width: 100%;
        }
        .carousel-slide img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0,0,0,0.5);
            color: #fff;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .carousel-btn:hover {
            background: rgba(0,0,0,0.7);
        }
        .carousel-prev {
            left: 10px;
        }
        .carousel-next {
            right: 10px;
        }
        .carousel-indicators {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }
        .indicator-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            cursor: pointer;
        }
        .indicator-dot.active {
            background: #fff;
        }
        .product-carousel-no-img {
            margin: 20px 0;
        }

.taxonomy-description{color: #fff;}
.product-txt{background-color:#f7f7f7;padding: .3rem;border-radius: 0px 0px 10px 10px;font-family: 'Montserrat', sans-serif;}
/* 主导航栏 */

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
}
.nav-item {
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.2); /* 分隔线 */
}
.nav-item:last-child {
  border-right: none;
}
.nav-item a {
  display: block;
  padding: 16px 20px;
  color: #fff;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  white-space: nowrap;
}
/* 当前高亮菜单项 */
.nav-item.current-menu-item {
  background-color: #33b054; /* 亮绿色背景 */
}
.nav-item.current-menu-item > a {
  color: #fff;
}
/* 下拉箭头 */
.dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff;
  vertical-align: middle;
}
/* 下拉内容容器 */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: none;
  z-index: 999;
}
.nav-item.dropdown:hover .dropdown-content {
  display: block;
}
/* 下拉网格布局 */
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4列网格 */
  gap: 30px;
  padding: 30px;
}
.grid-item {
  text-align: left;
}
.grid-item img {
  max-width: 80px;
  height: auto;
  margin-bottom: 10px;
}
.grid-item h3 {
  color: #b61e36;
  font-size: 16px;
  margin: 0 0 8px 0;
}
.grid-item p {
  color: #555;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 0;
}
.grid-item p a{
  color: #555;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.grid-item p.more{
    text-align:right ;
}


/* 下载列表样式 - 父分类+子分类通用 */
.download-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.download-list li {
    margin: 12px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 30px; /* 给图标留位置 */
}

/* 图标：下载符号（你也可以换成图片） */
.download-list li:before {
    content: ".";
    color: #ffc402;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    left: 10px;
    top: 40%;
    transform: translateY(-50%);
}

/* 链接样式 */
.download-list li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    display: block;
}

/* 鼠标悬浮效果 */
.download-list li:hover {
    background: #e9f5ff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.1);
}
.download-list li:hover a {
    color: #b61e36;
}


/* 分页整体 */
.page-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
  flex-wrap: wrap;
}

/* 页码按钮 */
.page-nav a,
.page-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* 普通数字 */
.page-nav .page-num {
  background: #f5f7fa;
  color: #333;
}
.page-nav .page-num:hover {
  background: #ffc402;
  color: #fff;
}

/* 当前页 */
.page-nav .current {
  background: #ffc402;
  color: #fff;
  font-weight: 500;
}

/* 上一页下一页 */
.page-nav .page-btn {
  padding: 0 14px;
  background: #f5f7fa;
  color: #333;
}
.page-nav .page-btn:hover {
  background: #ffc402;
  color: #fff;
}

/* 基础浮动容器 */
.float-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 回到顶部按钮（默认隐藏） */
#backToTop {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
#backToTop.show {
    opacity: 1;
    visibility: visible;
}
#backToTop img {
    width: 24px;
    height: 24px;
}

/* 客服咨询按钮 */
.service-btn {
    width: 50px;
    height: 50px;
    background: #25d366; /* WhatsApp 绿色 */
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}
.service-btn img {
    width: 26px;
    height: 26px;
}
.nav-icon-line-truck{
  background-image: url(../img/nav-icon-line-truck.png);
    background-position: 10px center;
    background-size: 35px;
    background-repeat: no-repeat;
    padding-left: 40px !important;
     padding-right: 0px !important;
    font-weight: bold;
}
.nav-icon-line-van{
  background-image: url(../img/nav-icon-line-van.png);
    background-position: 10px center;
    background-size: 35px;
    background-repeat: no-repeat;
    padding-left: 30px !important;
    padding-right: 0px !important;
    font-weight: bold;
}

/* ===== USP 网格布局（图片排版样式） ===== */
.usps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    padding: 40px 0;
}

@media (max-width: 991px) {
    .usps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
}

@media (max-width: 575px) {
    .usps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 使用ID+类的高特异性选择器(1-3-0)，覆盖后加载的 style.min.css */
#pg-2-usps-3 .usps-grid .usp.usp-vertical {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
    justify-content: flex-start;
}

#pg-2-usps-3 .usps-grid .usp.usp-vertical figure {
    width: 86px;
    height: 86px;
    background-color: rgba(182, 181, 181, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#pg-2-usps-3 .usps-grid .usp.usp-vertical figure img {
    height: 3.5rem;
    width: auto;
    max-width: 100%;
}

#pg-2-usps-3 .usps-grid .usp.usp-vertical .usp-text {
    max-width: calc(100% - 106px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#pg-2-usps-3 .usps-grid .usp.usp-vertical .usp-text strong {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 0;
}

#pg-2-usps-3 .usps-grid .usp.usp-vertical .usp-text .usp-separator {
    display: none;
}

#pg-2-usps-3 .usps-grid .usp.usp-vertical .usp-text span:last-child {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* taxonomy.php 侧边栏下拉框统一宽度 */
#sidebar1 select {
    display: block;
    width: 100% !important;
}
#sidebar1 .wp-block-columns,
#sidebar1 .wp-block-column,
#sidebar1 .widget .wp-block-categories-dropdown {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
}

/* ===========================
   在线留言客服弹窗
   =========================== */

/* 客服触发按钮 */
.chat-toggle-btn {
    width: 50px;
    height: 50px;
    background: #2563eb;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    animation: chatPulse 2s infinite;
}

.chat-toggle-btn:hover {
    background: #1d4ed8;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

@keyframes chatPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(37, 99, 235, 0.7);
    }
}

/* 弹窗面板 */
.chat-panel {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 420px;
    max-width: calc(100vw - 20px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.chat-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* 头部 */
.chat-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    flex-shrink: 0;
}

.chat-panel-title {
    font-size: 16px;
    font-weight: 600;
}

.chat-panel-close {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    transition: background 0.2s;
    padding: 0;
    font-family: Arial, sans-serif;
}

.chat-panel-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* 内容区：左侧主体 + 右侧快捷栏 */
.chat-panel-inner {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* 左侧主内容 */
.chat-panel-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* 欢迎语 */
.chat-panel-welcome {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: #f0f6ff;
    border-bottom: 1px solid #e0e7ff;
    align-items: center;
}

.chat-welcome-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border: 2px solid #2563eb;
}

.chat-welcome-msg {
    flex: 1;
}

.chat-welcome-msg p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #374151;
}

/* 表单区域 */
.chat-panel-body {
    padding: 16px 20px 20px;
    overflow-y: auto;
    flex: 1;
}

.chat-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-form-group input,
.chat-form-group textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.chat-form-group input:focus,
.chat-form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.chat-form-group input::placeholder,
.chat-form-group textarea::placeholder {
    color: #9ca3af;
}

.chat-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* 提交按钮 */
.chat-submit-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.chat-submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.chat-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.chat-submit-btn .btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* CSS spinner */
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 成功消息 */
.chat-success-msg {
    text-align: center;
    padding: 30px 20px;
}

.chat-success-msg svg {
    margin: 0 auto 16px;
    display: block;
}

.chat-success-msg p {
    color: #16a34a;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* ======== 右侧客服快捷入口栏 ======== */
.chat-panel-sidebar {
    width: 54px;
    background: #f8fafc;
    border-left: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 4px;
    flex-shrink: 0;
}

.chat-sidebar-item {
    position: relative;
    text-decoration: none;
}

.chat-sidebar-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #64748b;
    transition: all 0.2s;
    padding: 0;
}

.chat-sidebar-btn:hover {
    background: #e2e8f0;
    color: #334155;
}

.wechat-item .chat-sidebar-btn {
    color: #07c160;
}

.wechat-item .chat-sidebar-btn:hover {
    background: #ecfdf5;
    color: #059669;
}

.whatsapp-item .chat-sidebar-btn {
    color: #25d366;
}

.whatsapp-item .chat-sidebar-btn:hover {
    background: #f0fdf4;
    color: #16a34a;
}

/* 浮动提示 / 二维码 */
.chat-sidebar-tooltip {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
}

.chat-sidebar-item:hover .chat-sidebar-tooltip {
    opacity: 1;
    visibility: visible;
}

/* WhatsApp 文字提示 */
.whatsapp-item .chat-sidebar-tooltip {
    background: #1f2937;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 微信二维码弹泡 */
.wechat-qr {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    padding: 10px;
    text-align: center;
    min-width: 150px;
}

.wechat-qr img {
    width: 130px;
    height: 130px;
    display: block;
    border-radius: 4px;
}

.wechat-qr span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #6b7280;
}

/* 弹窗内右侧栏扫码微信提示（全局 tooltip 的基础样式） */

/* 移动端适配 */
@media (max-width: 480px) {
    .chat-panel {
        right: 0;
        bottom: 0;
        width: 100vw;
        border-radius: 16px 16px 0 0;
    }

    .chat-panel-inner {
        flex-direction: column;
    }

    .chat-panel-sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        border-left: none;
        border-top: 1px solid #e5e7eb;
        padding: 10px 0;
        gap: 16px;
    }

    .chat-sidebar-tooltip {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 52px;
        transform: translateX(-50%);
    }
}