/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.2.2
Description: Site layout layer for the weiyi clone.
Text Domain: hello-elementor-child
*/

/* =====================================================================
   The reference storefront is a fixed 1440px design. Elementor emits the
   structure; this file carries the look. Containers ignore _css_classes,
   so every hook below is an element's data-id.
   ===================================================================== */

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: Roboto, "Helvetica Neue", Helvetica, Tahoma, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

.elementor-page .site-main,
.elementor-template-full-width .site-main { padding: 0 !important; margin: 0 !important; max-width: none !important; }

/* the theme's own header/footer are replaced by the in-page chrome */
body .site-header, body .site-footer { display: none !important; }
.nbb2b-lm-widget { display: none !important; }

/* ------------------------------------------------------------- top bar */
[data-id="qtopbar"] { height: 73px; border-bottom: 1px solid #eee; background: #fff; }
[data-id="qtopbar"] .elementor-widget-container { width: 100%; }
.gq-tb { display: flex; align-items: center; width: 100%; max-width: 1440px; margin: 0 auto; height: 73px; gap: 24px; }
.gq-tb-logo { flex: 0 0 auto; line-height: 0; }
.gq-tb-logo img { width: 185px; height: 22px; display: block; border: 0; }
.gq-search { flex: 0 0 auto; display: flex; align-items: center; width: 563px; height: 36px; border: 1px solid #e0e0e0; border-radius: 9999px; background: #fff; overflow: hidden; padding-left: 16px; }
.gq-search input { flex: 1 1 auto; border: 0; outline: 0; height: 100%; font-size: 15px; color: #333; background: transparent; }
.gq-search input::placeholder { color: #999; }
.gq-cam { display: flex; align-items: center; padding: 0 10px; }
.gq-search button { flex: 0 0 auto; border: 0; height: 36px; margin: 0 -1px 0 0; padding: 0 22px; border-radius: 9999px; background: #ff6600; color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
.gq-tb-right { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; gap: 32px; font-size: 14px; color: #222; }
.gq-tb-i { display: flex; align-items: center; gap: 6px; color: #222 !important; text-decoration: none; white-space: nowrap; font-size: 14px; }
.gq-dlv { display: flex; flex-direction: column; line-height: 1.15; }
.gq-dlv-l { font-size: 12px; color: #666; }
.gq-dlv-v { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: #222; }
.gq-tb .gq-flag { width: 13px; height: 9px; background: #de2910; display: inline-block; position: relative; }
.gq-tb .gq-flag::after { content: "\2605"; position: absolute; left: 0; top: -3px; font-size: 7px; color: #ffde00; }
.gq-signup { flex: 0 0 auto; height: 36px; line-height: 36px; padding: 0 24px; border-radius: 9999px; background: #ff6600; color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* ------------------------------------------------------ company header */
[data-id="qhdr"] { border-bottom: 1px solid #f0f0f0; background-size: cover; background-position: center top; }
[data-id="qhdlogo"] img { max-width: 200px; width: auto; height: auto; }
[data-id="qhdrname"] { margin: 0 0 2px !important; }
[data-id="qhdrname"] .elementor-heading-title { line-height: 1.25; }
[data-id="qhdrname"] .elementor-heading-title::after {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border-right: 2px solid #999; border-bottom: 2px solid #999;
  transform: rotate(45deg) translateY(-2px); margin-left: 10px; vertical-align: middle;
}
.gq-badges { font-size: 14px; font-weight: 700; color: #222; }
.gq-sep { margin: 0 8px; color: #222; }
.gq-maincat { font-size: 13px; color: #999; margin-top: 4px; }
[data-id="qhdrcta"] .elementor-widget-container { display: block; }
.gq-hdr-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.gq-btn-solid, .gq-btn-ghost { display: block; width: 158px; height: 28px; line-height: 28px; text-align: center; border-radius: 100px; font-size: 14px; text-decoration: none; }
.gq-btn-solid { background: #ff6a00; color: #fff !important; }
.gq-btn-ghost { border: 1px solid #ee722e; color: #ee722e !important; }

/* header row: logo | info | buttons on one line */
[data-id="qhdr"] { padding-top: 47px !important; padding-bottom: 40px !important; }
[data-id="qhdr"] .e-con-inner { width: 100%; }
[data-id="qhdrin"] { display: flex; flex-wrap: nowrap; align-items: center; gap: 30px; width: 100%; }
[data-id="qhdlogo"] { flex: 0 0 auto; }
[data-id="qhdrinfo"] { flex: 1 1 auto; width: auto !important; min-width: 0; }
[data-id="qhdrcta"] { flex: 0 0 auto; margin-left: auto; }

/* ------------------------------------------------------------- nav bar */
/* reference nav: 44px tall, active item on #006640, hover opens a white
   220px panel (radius 4, 1px 1px 3px rgba(0,0,0,.32), 28px rows). */
[data-id="qnav"] { height: 44px; background: #137A54 !important; position: relative; z-index: 60; overflow: visible !important; }
[data-id="qnav"] > .e-con-inner { max-width: 1200px; width: 100%; overflow: visible !important; }
[data-id="qnavin"] { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; height: 44px; overflow: visible !important; }
[data-id="qnavlinks"] .elementor-widget-container { overflow: visible !important; }
.gq-navlinks { display: flex; align-items: stretch; height: 44px; }
.gq-nav-item { position: relative; display: flex; align-items: stretch; }
.gq-nav-a { display: flex; align-items: center; justify-content: center; height: 44px; min-width: 110px; padding: 0 17px; color: #fff !important; font-size: 14px; font-weight: 400; text-decoration: none; }
.gq-nav-item.is-active > .gq-nav-a { background: #006640; }
.gq-nav-item.has-sub:hover > .gq-nav-a { background: #006640; color: #fff !important; }
.gq-nav-a:hover, .gq-nav-a:focus, .gq-nav-a:visited { color: #fff !important; }

.gq-sub { display: none; position: absolute; top: 44px; left: 0; width: 220px; background: #fff; border-radius: 4px; box-shadow: 1px 1px 3px rgba(0,0,0,.32); padding: 12px 0; z-index: 999; }
.gq-nav-item:hover > .gq-sub { display: block; }
.gq-subitem { position: relative; }
.gq-subitem > a { display: block; min-height: 28px; line-height: 28px; padding: 0 20px; font-size: 14px; color: #333 !important; text-decoration: none; white-space: normal; word-break: break-word; }
.gq-subitem > a:hover { color: #ff6a00 !important; }
.gq-subitem.has-sub > a { padding-right: 30px; }
.gq-subitem.has-sub > a::after { content: ""; position: absolute; right: 12px; top: 10px; width: 6px; height: 6px; border-right: 1.5px solid #999; border-bottom: 1.5px solid #999; transform: rotate(-45deg); }
.gq-sub2 { display: none; position: absolute; left: 100%; top: -12px; width: 220px; background: #fff; border-radius: 4px; box-shadow: 1px 1px 3px rgba(0,0,0,.32); padding: 12px 0; z-index: 999; }
.gq-subitem.has-sub:hover > .gq-sub2 { display: block; }
.gq-sub2 a { display: block; height: 28px; line-height: 28px; padding: 0 20px; font-size: 14px; color: #333; text-decoration: none; white-space: nowrap; }
.gq-sub2 a:hover { color: #ff6a00; }

.gq-navsearch { display: flex; align-items: center; background: #fff; border-radius: 14px; height: 26px; padding: 0 6px 0 10px; }
.gq-navsearch input { border: 0; outline: 0; font-size: 12px; width: 150px; color: #333; background: transparent; }
.gq-navsearch button { border: 0; background: transparent; cursor: pointer; font-size: 12px; }
[data-id="qnavsearch"] { margin-left: auto; flex: 0 0 auto; }

/* -------------------------------------------------------------- floating */
.gq-float { position: fixed; right: 0; top: 350px; z-index: 900; display: flex; flex-direction: column; gap: 8px; }
.gq-float a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 62px; padding: 10px 4px; background: #fff; border: 1px solid #e5e5e5; border-right: 0;
  border-radius: 8px 0 0 8px; color: #666; font-size: 11px; line-height: 1.2; text-align: center; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.gq-float .gq-fico { font-size: 18px; }
.gq-float .gq-float2 { color: #ff6a00; }

/* ---------------------------------------------------------------- hero */
[data-id="qhero"] { line-height: 0; overflow: hidden; }
[data-id="qhero"] img { width: 100%; height: auto; display: block; }
[data-id="qhero"] .swiper-slide { line-height: 0; }

/* ------------------------------------------------------------- flags band */
[data-id="qflags"] { background: #008C95 !important; padding: 16px 0; }
.gq-flagrow { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 10px 26px; max-width: 1440px; margin: 0 auto; }
.gq-flag { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; font-size: 12px; text-decoration: none; width: 60px; }
.gq-flagimg { width: 34px; height: 34px; border-radius: 50%; background-size: cover; background-position: center; display: block; border: 1px solid rgba(255,255,255,.5); background-color: #0b6b6b; }

/* ------------------------------------------------------------ product grid */
[data-id^="qgridhead"] .elementor-heading-title { margin: 0 !important; padding: 12px 0; border-bottom: 1px solid #e5e5e5; }
[data-id^="qgridcards"] { border-left: 1px solid #e5e5e5; border-top: 1px solid #e5e5e5; }
[data-id^="qpcard"] {
  width: 25% !important; max-width: 25% !important; flex: 0 0 25% !important;
  border-right: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;
  padding: 0 !important;
}
[data-id^="qpmedia"] { display: flex; align-items: center; justify-content: center; height: 178px; padding: 12px; }
[data-id^="qpmedia"] img { max-height: 154px; width: auto; max-width: 100%; object-fit: contain; }
[data-id^="qpbody"] { padding: 0 12px 14px; }
[data-id^="qptitle"] div { font-size: 14px; color: #333; line-height: 1.35; height: 38px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
[data-id^="qpprice"] div { font-size: 14px; font-weight: 700; color: #333; margin-top: 8px; }
[data-id^="qpmo"] div { font-size: 14px; color: #222; }
[data-id^="qpnote"] div { font-size: 12px; color: #767676; }

/* ----------------------------------------------------------------- inquiry */
[data-id="qinqbox"] { border: 1px solid #e5e5e5; border-radius: 2px; background: #fcfcfc; }
.gq-inqto { text-align: left; font-size: 14px; color: #333; }

/* ------------------------------------------------------------------ footer */
[data-id="qfootin"] { display: flex; flex-wrap: wrap; }
[data-id^="qfcol"] { flex: 0 0 20%; max-width: 20%; }
[data-id^="qfhead"] .elementor-heading-title { margin: 0 0 14px !important; }
[data-id^="qflinks"] div { margin-bottom: 10px; }
[data-id^="qflinks"] a { color: #222; font-size: 14px; text-decoration: none; }
[data-id="qfootmid"] { border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.gq-social { display: flex; gap: 14px; font-size: 16px; color: #222; }
.gq-apps { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #222; }
.gq-store { border: 1px solid #222; border-radius: 4px; padding: 4px 10px; font-size: 12px; }
[data-id="qfootlegal"] { background: #f4f4f4; }
[data-id="qflegallinks"] div { font-size: 13px; color: #666; }
[data-id="qfcopy"] div { font-size: 13px; color: #666; margin-top: 8px; }

/* ---------------------------------------------------------- responsiveness */
@media (max-width: 1280px) {
  .gq-search { width: 380px; }
  .gq-float { display: none; }
}
@media (max-width: 1024px) {
  [data-id^="qpcard"] { width: 33.333% !important; flex: 0 0 33.333% !important; max-width: 33.333% !important; }
  [data-id^="qfcol"] { flex: 0 0 50%; max-width: 50%; }
  [data-id^="qslat"] img { width: 100% !important; }
}
@media (max-width: 767px) {
  [data-id="qtopbar"] { height: auto; }
  .gq-tb { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 12px; }
  .gq-search { width: 100%; order: 3; }
  .gq-tb-right { gap: 12px; }
  .gq-dlv { display: none; }
  [data-id^="qpcard"] { width: 50% !important; flex: 0 0 50% !important; max-width: 50% !important; }
  [data-id="qhdrcta"] { display: none; }
  [data-id^="qfcol"] { flex: 0 0 100%; max-width: 100%; }
  .gq-navsearch { display: none; }
}

/* =====================================================================
   Region fixes measured against the reference: nav caret + search icon,
   the factory <video> block, and the real footer icon set.
   ===================================================================== */
.gq-caret { display: inline-block; margin-left: 9px; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) translate(-1px, -2px); flex: 0 0 auto; }
.gq-navsearch { width: 190px; }
.gq-navsearch input { width: 140px; }
.gq-navsearch button { display: flex; align-items: center; padding: 0 4px; }

[data-id="qvideoin"] { display: flex; }
[data-id="qvideoin"] > .e-con-inner { display: flex; width: 100%; }
.gq-video { width: 800px; height: 450px; background: #000; position: relative; overflow: hidden; }
.gq-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gq-panels { width: 400px; height: 450px; display: flex; flex-direction: column; background: linear-gradient(180deg, #16a3a3 0%, #0c6f6f 100%); }
.gq-panel { flex: 1 1 33.33%; padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; }
.gq-panel h3 { color: #fff; font-size: 21px; font-weight: 700; margin: 0 0 10px; line-height: 1.2; }
.gq-panel p { color: #eef8f8; font-size: 13px; line-height: 1.6; margin: 0; }

.gq-social { display: flex; gap: 20px; }
.gq-soc img { width: 28px; height: 28px; display: block; }
[data-id="qfootmid"] .e-con-inner { width: 100%; justify-content: space-between; }
[data-id="qfsocial"], [data-id="qfapp"] { flex: 0 0 auto; }
.gq-fmid-in { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
[data-id="qfootmid"] .elementor-widget-html,
[data-id="qfootmid"] .elementor-widget-container { width: 100%; }
.gq-apps { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #222; }
.gq-apps img.gq-badge-img { height: 40px; width: auto; display: block; }
.gq-fam { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: #666; border-top: 1px solid #eee; padding-top: 16px; flex-wrap: wrap; }
.gq-fam a { color: #666; text-decoration: none; }
.gq-fam a:hover { color: #333; }
.gq-famsep { color: #ccc; }
.gq-fcopy { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #666; flex-wrap: wrap; margin-top: 8px; }
.gq-icp { width: auto; height: 16px; display: inline-block; }
