/*
Theme Name: Tuowei Box Child
Description: Child theme for the GeneratePress parent theme.
Author: Site Administrator
Template: generatepress
Version: 1.0.0
Text Domain: tuowei-box-child
*/

/* Add site-specific CSS below this line. */


/* BEGIN 4303 original metadata icons - 2026-10-27 */
body.postid-4303 .tw-article-meta > span::before { content: ""; display: inline-block; width: 16px; height: 15px; margin-right: 13px; vertical-align: -2px; background-color: currentColor; -webkit-mask: var(--tw-meta-icon) center / contain no-repeat; mask: var(--tw-meta-icon) center / contain no-repeat; }
body.postid-4303 .tw-article-meta > span:nth-child(1) { --tw-meta-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%20-1.286%2016%2016'%3E%3Cpath%20d%3D'M8.533%2C-0.219C10.444%2C-0.219%2012.355%2C0.51%2013.813%2C1.968C16.729%2C4.883%2016.729%2C9.611%2013.813%2C12.527C12.355%2C13.985%2010.444%2C14.714%208.533%2C14.714C6.622%2C14.714%204.712%2C13.985%203.253%2C12.527C0.337%2C9.612%200.337%2C4.884%203.253%2C1.968C4.711%2C0.51%206.622%2C-0.219%208.533%2C-0.219ZM13.106%2C11.82C14.327%2C10.599%2015%2C8.974%2015%2C7.247C15%2C5.52%2014.328%2C3.895%2013.106%2C2.674C11.884%2C1.453%2010.26%2C0.78%208.533%2C0.78C6.805%2C0.78%205.181%2C1.453%203.96%2C2.674C2.739%2C3.896%202.066%2C5.519%202.066%2C7.247C2.066%2C8.975%202.739%2C10.599%203.96%2C11.82C5.182%2C13.041%206.806%2C13.714%208.533%2C13.714C10.261%2C13.714%2011.885%2C13.041%2013.106%2C11.82ZM11.5%2C6.714C11.776%2C6.714%2012%2C6.938%2012%2C7.214C12%2C7.49%2011.776%2C7.714%2011.5%2C7.714L8.5%2C7.714C8.224%2C7.714%208%2C7.49%208%2C7.214L8%2C7.212L8%2C7.211L8%2C3.207C8%2C2.931%208.224%2C2.707%208.5%2C2.707C8.776%2C2.707%209%2C2.931%209%2C3.207L9%2C6.714Z'%2F%3E%3C%2Fsvg%3E"); }
body.postid-4303 .tw-article-meta > span:nth-child(2) { --tw-meta-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%20-1.286%2016%2016'%3E%3Cpath%20d%3D'M2%2C12.714C1.448%2C12.714%201%2C12.266%201%2C11.714L1%2C-0.286C1%2C-0.838%201.448%2C-1.286%202%2C-1.286L12%2C-1.286C12.552%2C-1.286%2013%2C-0.838%2013%2C-0.286L13%2C0.714L14%2C0.714C14.552%2C0.714%2015%2C1.162%2015%2C1.714L15%2C13.714C15%2C14.266%2014.552%2C14.714%2014%2C14.714L4%2C14.714C3.448%2C14.714%203%2C14.266%203%2C13.714L3%2C12.714ZM12%2C11.714L12%2C-0.286L2%2C-0.286L2%2C11.714ZM14%2C1.714L13%2C1.714L13%2C11.714C13%2C12.266%2012.552%2C12.714%2012%2C12.714L4%2C12.714L4%2C13.714L14%2C13.714ZM5%2C2.214C5%2C1.938%205.224%2C1.714%205.5%2C1.714L10.5%2C1.714C10.776%2C1.714%2011%2C1.938%2011%2C2.214C11%2C2.49%2010.776%2C2.714%2010.5%2C2.714L5.5%2C2.714C5.224%2C2.714%205%2C2.49%205%2C2.214ZM3.5%2C5.714C3.224%2C5.714%203%2C5.49%203%2C5.214C3%2C4.938%203.224%2C4.714%203.5%2C4.714L10.5%2C4.714C10.776%2C4.714%2011%2C4.938%2011%2C5.214C11%2C5.49%2010.776%2C5.714%2010.5%2C5.714ZM3.5%2C7.714C3.224%2C7.714%203%2C7.49%203%2C7.214C3%2C6.938%203.224%2C6.714%203.5%2C6.714L10.5%2C6.714C10.776%2C6.714%2011%2C6.938%2011%2C7.214C11%2C7.49%2010.776%2C7.714%2010.5%2C7.714ZM3.5%2C9.714C3.224%2C9.714%203%2C9.49%203%2C9.214C3%2C8.938%203.224%2C8.714%203.5%2C8.714L10.5%2C8.714C10.776%2C8.714%2011%2C8.938%2011%2C9.214C11%2C9.49%2010.776%2C9.714%2010.5%2C9.714Z'%2F%3E%3C%2Fsvg%3E"); }
body.postid-4303 .tw-article-meta > span:nth-child(3) { --tw-meta-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%20-1.286%2016%2016'%3E%3Cpath%20d%3D'M15%2C1.714C15.552%2C1.714%2016%2C2.162%2016%2C2.714L16%2C4.698L16%2C5.714L16%2C13.714C16%2C14.266%2015.552%2C14.714%2015%2C14.714L1%2C14.714C0.448%2C14.714%200%2C14.266%200%2C13.714L0%2C4.698C0%2C4.146%200.448%2C3.714%201%2C3.714L8%2C3.714C8.87%2C3.631%209%2C2.714%209%2C2.714C9.297%2C1.995%209.932%2C1.714%2010.484%2C1.714ZM15%2C4.698L15%2C2.714L10.594%2C2.714C10.594%2C2.714%2010.141%2C2.636%209.881%2C3.289C9.613%2C3.964%209.033%2C4.62%208.095%2C4.709C8.063%2C4.712%208.032%2C4.714%208%2C4.714L1%2C4.714L1%2C13.714L15%2C13.714L15%2C5.714Z'%2F%3E%3C%2Fsvg%3E"); }
/* END 4303 original metadata icons */

/* BEGIN TWBOX sticky header 2026-10-29 */
#masthead.site-header { position: sticky; top: 0; z-index: 1000; }
body.admin-bar #masthead.site-header { top: 32px; }
@media (min-width: 601px) and (max-width: 782px) {
  body.admin-bar #masthead.site-header { top: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar #masthead.site-header { top: 0; }
}
@media (max-width: 1024px) {
  #masthead.site-header { max-height: calc(100vh - 46px); max-height: calc(100dvh - 46px); overflow-y: auto; }
}
/* END TWBOX sticky header */

/* BEGIN TWBOX footer social original colors 2026-10-29 */
.footer-widgets #block-10 .tw-footer-hotline a[aria-label] img { filter: none; }
/* END TWBOX footer social original colors */

/* BEGIN TWBOX independent mobile menu 2026-10-29 */
#tw-mobile-open, #tw-mobile-dialog { display: none; }
#tw-mobile-dialog[hidden], #tw-mobile-dialog [hidden] { display: none !important; }
@media (max-width: 1024px) {
  body.tw-mobile-ready #masthead #mobile-menu-control-wrapper { display: flex; margin-left: auto; }
  body.tw-mobile-ready #mobile-menu-control-wrapper > .menu-toggle,
  body.tw-mobile-ready #site-navigation { display: none !important; }
  body.tw-mobile-ready #tw-mobile-open { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; background: transparent; color: #1d1d1f; font-size: 0; line-height: 1; border: 0; cursor: pointer; }
  #tw-mobile-open span { display: none; }
  #tw-mobile-open::before { content: ''; width: 14px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; background: linear-gradient(currentColor,currentColor) center / 100% 1.5px no-repeat; }
  #tw-mobile-open[aria-expanded="true"]::before { width: 15px; height: 15px; border: 0; background: linear-gradient(45deg,transparent 46%,currentColor 47%,currentColor 53%,transparent 54%),linear-gradient(-45deg,transparent 46%,currentColor 47%,currentColor 53%,transparent 54%); }
  body.tw-mobile-ready #tw-mobile-dialog { display: block; box-sizing: border-box; position: static; width: 100%; margin: 0; padding: 0 6% 24px; border: 0; border-bottom: 1px solid #e5e5e7; background: #fff; color: #1d1d1f; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; font-size: 15px; font-weight: 400; line-height: 1.35; }
  #tw-mobile-dialog nav { padding: 0; margin: 0; }
  #tw-mobile-dialog ul { margin: 0; padding: 0; list-style: none; }
  #tw-mobile-dialog #tw-mobile-panel-0 { padding: 12px 0 4px; }
  #tw-mobile-dialog li { display: flex; flex-wrap: wrap; align-items: stretch; margin: 0; padding: 0; border: 0; }
  #tw-mobile-dialog a, #tw-mobile-dialog .tw-mobile-label { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; flex: 1; min-width: 0; min-height: 46.25px; padding: 13px 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: #1d1d1f; font: 400 15px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; text-align: left; text-decoration: none; }
  #tw-mobile-dialog .tw-mobile-label { flex: 0 0 100%; width: 100%; }
  #tw-mobile-dialog button { cursor: pointer; box-shadow: none; }
  #tw-mobile-dialog .tw-mobile-next { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #2469ac; font: 700 17px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
  #tw-mobile-dialog .tw-mobile-label span { width: 44px; color: #2469ac; font-size: 17px; font-weight: 700; text-align: center; }
  #tw-mobile-dialog .tw-mobile-next[aria-expanded="true"], #tw-mobile-dialog .tw-mobile-label[aria-expanded="true"] span { transform: rotate(180deg); }
  #tw-mobile-dialog li > ul { flex: 0 0 100%; width: 100%; padding: 0 0 8px; border-bottom: 1px solid #e5e5e7; }
  #tw-mobile-dialog li > ul a { min-height: 39.6px; padding: 10px 8px; color: #344955; font-size: 14px; line-height: 1.4; }
  #tw-mobile-dialog a:hover, #tw-mobile-dialog button:hover { color: #2469ac; }
  #tw-mobile-dialog a:focus-visible, #tw-mobile-dialog button:focus-visible, #tw-mobile-open:focus-visible { outline: 2px solid #2469ac; outline-offset: 2px; }
}
/* END TWBOX independent mobile menu */

/* BEGIN product parameter visibility fix 2026-10-29 */
/* Verified static product replicas retain fadeInUp opacity without an initializer. */
body.page-id-26 .tw-replica .gdlr-core-pbf-column-content[data-gdlr-animation="fadeInUp"],
body.page-id-101 .tw-replica .gdlr-core-pbf-column-content[data-gdlr-animation="fadeInUp"],
body.page-id-89 .tw-replica .gdlr-core-pbf-column-content[data-gdlr-animation="fadeInUp"],
body.page-id-97 .tw-replica .gdlr-core-pbf-column-content[data-gdlr-animation="fadeInUp"],
body.page-id-99 .tw-replica .gdlr-core-pbf-column-content[data-gdlr-animation="fadeInUp"],
body.page-id-91 .tw-replica .gdlr-core-pbf-column-content[data-gdlr-animation="fadeInUp"],
body.page-id-103 .tw-replica .gdlr-core-pbf-column-content[data-gdlr-animation="fadeInUp"],
body.page-id-105 .tw-replica .gdlr-core-pbf-column-content[data-gdlr-animation="fadeInUp"],
body.page-id-107 .tw-replica .gdlr-core-pbf-column-content[data-gdlr-animation="fadeInUp"] { opacity: 1 !important; }
/* END product parameter visibility fix */

/* BEGIN shipin page 5285 layout 2026-10-29 */
/* Match the original Chinese page's full-width title and blue contact band. */
body.page-id-5285 #page { max-width: none; }
body.page-id-5285 #content, body.page-id-5285 #post-5285 .inside-article { padding: 0; }
body.page-id-5285 #primary { width: 100%; }
body.page-id-5285 #main, body.page-id-5285 #post-5285 { margin: 0; }
body.page-id-5285 #post-5285 .entry-header { padding: 88px 24px; text-align: center; background: linear-gradient(rgba(8,30,46,.68),rgba(8,30,46,.68)), url('/wp-content/uploads/2026/10/Topway-House-Factory-New.jpg') center 45% / cover no-repeat; }
body.page-id-5285 #post-5285 .entry-title { margin: 0; color: #fff; font-size: 55px; line-height: 1.25; font-weight: 700; }
body.page-id-5285 #post-5285 .entry-content { margin: 0; background: #1e73be; }
body.page-id-5285 #post-5285 section[aria-label="咨询信息"] { box-sizing: border-box; max-width: 1350px; margin: 0 auto; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 32px !important; padding: 80px 30px !important; align-items: center; }
body.page-id-5285 #post-5285 section > div { min-width: 0; }
body.page-id-5285 #post-5285 section h2 { margin: 0 0 16px; font-size: 26px; line-height: 1.35; font-weight: 700; color: #fff; }
body.page-id-5285 #post-5285 section p { margin: 0; font-size: 22px; line-height: 1.5; overflow-wrap: anywhere; }
body.page-id-5285 #post-5285 section > div:first-child p { font-size: 30px; }
body.page-id-5285 #post-5285 section a { color: #fff; text-decoration: none; }
body.page-id-5285 #post-5285 section a:hover { text-decoration: underline; text-underline-offset: 4px; }
body.page-id-5285 #post-5285 section a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
body.page-id-5285 #post-5285 section img { display: block; width: 100px; height: 100px; object-fit: contain; margin: 0 auto 14px; }
body.page-id-5285 #post-5285 section img + h2 { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 500; }
@media (max-width: 1024px) {
  body.page-id-5285 #post-5285 .entry-header { padding: 64px 24px; }
  body.page-id-5285 #post-5285 .entry-title { font-size: 42px; }
  body.page-id-5285 #post-5285 section[aria-label="咨询信息"] { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 40px 24px !important; padding: 48px 24px !important; }
}
@media (max-width: 600px) {
  body.page-id-5285 #post-5285 .entry-header { padding: 54px 20px; }
  body.page-id-5285 #post-5285 .entry-title { font-size: 36px; }
  body.page-id-5285 #post-5285 section[aria-label="咨询信息"] { grid-template-columns: minmax(0,1fr) !important; gap: 36px !important; padding: 40px 20px !important; }
  body.page-id-5285 #post-5285 section h2 { font-size: 22px; margin-bottom: 12px; }
  body.page-id-5285 #post-5285 section p { font-size: 20px; }
  body.page-id-5285 #post-5285 section > div:first-child p { font-size: 28px; }
}
/* END shipin page 5285 layout */

/* BEGIN shipin tablet shell 2026-10-29 */
/* Shared navigation uses the independent menu through 1024px. */
@media (min-width: 768px) and (max-width: 1024px) {
 body.page-id-5285 #footer-widgets .inside-footer-widgets { display: flex; flex-wrap: wrap; row-gap: 36px; }
 body.page-id-5285 #footer-widgets .inside-footer-widgets > div { width: 50%; flex: 0 0 50%; margin: 0; border: 0 !important; }
}
/* END shipin tablet shell */

/* BEGIN equipment page 26 manufacturing layout 2026-10-29 */
body.page-id-26 #manufacturing-details .gdlr-core-pbf-wrapper-container { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; padding: 0 15px; }
body.page-id-26 #manufacturing-details .gdlr-core-pbf-wrapper-container::before, body.page-id-26 #manufacturing-details .gdlr-core-pbf-wrapper-container::after { display: none; }
body.page-id-26 #manufacturing-details .gdlr-core-pbf-column { display: flex; width: auto; min-width: 0; float: none; }
body.page-id-26 #manufacturing-details [data-sync-height] { box-sizing: border-box; flex: 1; min-width: 0; height: auto !important; margin: 0; padding: 24px !important; }
body.page-id-26 #manufacturing-details .gdlr-core-pbf-column-content { position: relative; top: auto !important; transform: none !important; }
body.page-id-26 #manufacturing-details .gdlr-core-title-item { padding: 0; }
body.page-id-26 #manufacturing-details [data-sync-height="manufacturing-steps"] h3 { font-size: 17px !important; line-height: 1.5 !important; margin: 0; }
body.page-id-26 #manufacturing-details [data-sync-height="manufacturing-steps"] .gdlr-core-title-item-caption { display: block; margin-top: 12px !important; color: #475569 !important; font-size: 15px !important; line-height: 1.8 !important; }
body.page-id-26 #manufacturing-details [data-sync-height="manufacturing-metrics"] { padding: 12px 24px !important; }
body.page-id-26 #manufacturing-details [data-sync-height="manufacturing-metrics"] h3 { margin: 0; font-size: 23px !important; line-height: 1.4 !important; white-space: nowrap; }
body.page-id-26 #manufacturing-details [data-sync-height="manufacturing-metrics"] .gdlr-core-title-item-caption { display: block; margin-top: 10px !important; font-size: 14px !important; line-height: 1.6 !important; }
@media (max-width: 1024px) {
 body.page-id-26 #manufacturing-details .gdlr-core-pbf-wrapper-container { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
}
@media (max-width: 600px) {
 body.page-id-26 #manufacturing-details { padding: 32px 20px !important; }
 body.page-id-26 #manufacturing-details .gdlr-core-pbf-wrapper-container { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 0; }
 body.page-id-26 #manufacturing-details [data-sync-height="manufacturing-metrics"] { text-align: center; padding: 16px 24px !important; }
 body.page-id-26 #manufacturing-details [data-sync-height="manufacturing-metrics"] .gdlr-core-title-item { text-align: center; }
}
/* END equipment page 26 manufacturing layout */

/* BEGIN TWBOX shared footer social wrap 2026-10-29 */
/* Six fixed-size icons need 238px; wrap within narrow footer columns. */
.footer-widgets #block-10 .tw-footer-hotline > div:last-child { flex-wrap: wrap; row-gap: 12px !important; }
/* END TWBOX shared footer social wrap */

/* BEGIN shared product definition layout 2026-10-29 */
/* Replace captured GDLR sync heights with content-sized, equal-height rows. */
.tw-replica #definition .gdlr-core-pbf-wrapper-container {
  display: flex;
  flex-wrap: wrap;
}
.tw-replica #definition .gdlr-core-pbf-wrapper-container::before,
.tw-replica #definition .gdlr-core-pbf-wrapper-container::after {
  display: none;
}
.tw-replica #definition .gdlr-core-pbf-wrapper-container > .gdlr-core-pbf-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tw-replica #definition [data-sync-height="definition-bottom"],
.tw-replica #definition [data-sync-height="definition-cards"] {
  height: auto !important;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tw-replica #definition [data-sync-height] > .gdlr-core-sync-height-pre-spaces {
  display: none;
}
@media (max-width: 767px) {
  .tw-replica #definition [data-sync-height="definition-bottom"],
  .tw-replica #definition [data-sync-height="definition-cards"] {
    flex: auto;
  }
}

/* Shared responsive flow for static product replicas; retain desktop sizing. */
@media (max-width: 1024px) {
  .tw-replica:has(#definition [data-sync-height="definition-bottom"]) [data-sync-height] {
    height: auto !important;
  }
  .tw-replica:has(#definition [data-sync-height="definition-bottom"]) .gdlr-core-sync-height-pre-spaces {
    display: none !important;
  }
}
/* END shared product definition layout */


/* BEGIN TWBOX paired contact buttons 2026-10-29 */
.gdlr-core-button-item:has(> a[href="tel:4009009068"]):has(> a > .fa-weixin) { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.gdlr-core-button-item:has(> a[href="tel:4009009068"]):has(> a > .fa-weixin) > a.gdlr-core-button { box-sizing: border-box; display: inline-flex !important; align-items: center; justify-content: center; gap: 12px; width: 224px; max-width: 100%; min-height: 62px; padding: 15px 24px !important; margin: 0 !important; line-height: 30px !important; white-space: nowrap; }
.gdlr-core-button-item:has(> a[href="tel:4009009068"]):has(> a > .fa-weixin) > a.gdlr-core-button > i { flex: 0 0 22px; width: 22px; margin: 0 !important; text-align: center; }
.gdlr-core-button-item:has(> a[href="tel:4009009068"]):has(> a > .fa-weixin) > a.gdlr-core-button > .gdlr-core-content { flex: 0 0 124px; text-align: left; }
/* END TWBOX paired contact buttons */
