.cms-content { max-width: 75rem; margin: 2rem auto; padding: 0 1rem; font: 1rem/1.65 Arial, sans-serif; }
.cms-content img { max-width: 100%; height: auto; }
.gd-privacy-note { font: .85rem/1.6 Arial, sans-serif; text-align: left; margin: .8rem 0; overflow-wrap: anywhere; color: inherit; }
.gd-privacy-note a { text-decoration: underline; color: inherit; }
#c_static_001-1660295865655 .gd-privacy-note { color: #ddd; }
.gd-home-quote { display: flex; justify-content: center; padding: 0 1rem 1rem; }
.gd-legal-links { display: inline-flex; flex-wrap: wrap; gap: .8rem; margin-inline-start: .8rem; }
.gd-legal { max-width: 60rem; }
.gd-legal h2 { font-size: 1.3rem !important; line-height: 1.4 !important; margin: 1.8rem 0 .5rem; }
.gd-legal p { line-height: 1.8; overflow-wrap: anywhere; }
.gd-page-heading { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.swiper-wrapper { overflow-x: auto; scroll-snap-type: x mandatory; }
.swiper-wrapper > .swiper-slide { scroll-snap-align: start; }

.yx_NavYj:hover > .yx_NavEj,
.yx_NavYj:focus-within > .yx_NavEj {
  top: 100%;
  z-index: 20;
  opacity: 1;
  visibility: visible;
}
.yx_Header .yx_N_Mo.cms-menu-open { display: block; }
.yx_Header .yx_N_Mo .yx_EjBox.cms-menu-open { display: block; }
.cms-banner-track { display: flex; scrollbar-width: none; }
.cms-banner-track > .swiper-slide { flex: 0 0 100%; }
.cms-banner-dot { border: 0; cursor: pointer; }

.cms-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; }
.swiper-button-prev[role="button"]:focus-visible,
.swiper-button-next[role="button"]:focus-visible,
.cms-category-menu [role="button"]:focus-visible {
  outline: 2px solid #a84610;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  body.cms-category-open { overflow: hidden; }
  .cms-category-open .yy_QBox { visibility: hidden; }
  .cms-category-menu.cms-category-open .p_c_tree {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    z-index: 100010 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

.cms-admin { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.5rem; min-height: 65vh; color: #172337; }
.cms-admin aside { background: #172337; color: white; border-radius: .75rem; padding: 1.25rem; }
.cms-admin nav { display: grid; gap: .35rem; margin-block: 1.5rem; }
.cms-admin nav a { color: white; text-decoration: none; padding: .5rem; border-radius: .4rem; }
.cms-admin nav a:hover, .cms-admin nav [aria-current] { background: #334765; }
.cms-admin section, .cms-admin-login { border: 1px solid #dbe2ec; border-radius: .75rem; padding: 1.5rem; }
.cms-admin-login { max-width: 24rem; margin: 8vh auto; }
.cms-admin-login label { display: block; margin-bottom: 1rem; }
.cms-admin input, .cms-admin select, .cms-admin textarea, .cms-admin-login input { max-width: 100%; padding: .45rem; border: 1px solid #8b99ae; border-radius: .35rem; }
.cms-admin-login input { box-sizing: border-box; display: block; width: 100%; }
.cms-admin button, .cms-admin-login button { background: #245398; color: white; padding: .5rem 1rem; border: 0; border-radius: .35rem; cursor: pointer; }
.cms-admin-login a { display: inline-block; margin-top: 1rem; }
.cms-admin-actions { display: flex; align-items: end; gap: .6rem 1rem; flex-wrap: wrap; }
.cms-admin-actions label { display: grid; gap: .25rem; }
.cms-admin-guide { background: #f1f5fb; border: 1px solid #dbe2ec; border-radius: .5rem; padding: .8rem 1rem; margin: 1rem 0; }
.cms-admin-guide p { margin: .25rem 0; }
.cms-admin-guide strong { margin-inline-end: .4rem; }
.cms-admin-create { display: inline-block; background: #245398; color: #fff; border-radius: .35rem; padding: .45rem .85rem; text-decoration: none; }
.cms-admin-placement { color: #40546e; }
.cms-admin .cms-admin-secondary { background: #eaf1fb; color: #203e69; }
.cms-admin-content-list { list-style: none; padding: 0; }
.cms-admin-content-row { border-top: 1px solid #dbe2ec; padding: .85rem 0; display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.cms-admin-content-row h2 { font-size: 1.05rem; margin: 0; overflow-wrap: anywhere; }
.cms-admin-content-row p { margin: .15rem 0; }
.cms-admin code { overflow-wrap: anywhere; }
.cms-admin-editor :is(input:not([type=file], [type=hidden]), textarea), .cms-inbox-note textarea { display: block; width: 100%; box-sizing: border-box; }
.cms-admin-preview { border: 1px solid #dbe2ec; padding: 1rem; border-radius: .5rem; overflow-wrap: anywhere; }
.cms-admin-preview-body { white-space: pre-wrap; }
.cms-admin-preview-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr)); gap: .6rem; }
.cms-admin-preview-images img { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid #dbe2ec; }
.cms-admin-preview dt { font-weight: 600; }
.cms-admin-preview dd { margin: 0 0 .4rem; }
.cms-inbox-note { flex: 1 1 100%; }
@media (max-width: 620px) { .cms-admin { grid-template-columns: 1fr; } }

.cms-published { padding: clamp(1.5rem, 4vw, 3.5rem) 1rem; color: #282828; }
.cms-published nav { padding-bottom: 1rem; border-bottom: 1px solid #e7e7e7; color: #666; }
.cms-published nav a { color: inherit; }
.cms-published nav a:hover { color: #c45b12; }
.cms-published article { padding-top: 1.5rem; }
.cms-published h1 { font-size: clamp(1.7rem, 4vw, 2.65rem); line-height: 1.2; margin: 0 0 1.25rem; overflow-wrap: anywhere; }
.cms-published article p { max-width: 52rem; overflow-wrap: anywhere; }
.cms-published { margin-top: 0; padding-top: calc(100px + clamp(1.5rem, 4vw, 3.5rem)); }
@media (max-width: 767px) {
  .cms-published { padding-top: calc(67px + 1.5rem); }
}
.cms-product-fields { border: 1px solid #dbe2ec; padding: 1rem; }
.cms-product-fields > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .8rem; }
.cms-product-fields input { display: block; box-sizing: border-box; width: 100%; }
.cms-product-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 5vw, 4rem); align-items: start; margin-bottom: 3rem; }
.cms-product-summary img { width: 100%; max-height: 34rem; object-fit: contain; border: 1px solid #e7e7e7; }
.cms-product-summary dl > div { display: grid; grid-template-columns: minmax(7rem, 1fr) 2fr; gap: 1rem; border-bottom: 1px solid #eee; padding: .55rem 0; }
.cms-product-summary dt { font-weight: 600; }
.cms-product-summary dd { margin: 0; overflow-wrap: anywhere; }
.cms-product-inquiry { display: inline-block; background: #ff8836; color: #21160f; padding: .75rem 1.25rem; }
@media (max-width: 767px) { .cms-product-summary { grid-template-columns: 1fr; } }

.cms-gallery { min-width: 0; }
.cms-gallery .cms-gallery-main { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid #e7e7e7; }
.cms-gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; margin-top: .75rem; padding-bottom: .25rem; }
.cms-gallery-thumbs button { flex: 0 0 3.75rem; background: white; border: 1px solid #ddd; padding: .15rem; cursor: pointer; }
.cms-gallery-thumbs button[aria-pressed="true"] { border: 2px solid #ff8836; }
.cms-gallery-thumbs img { display: block; width: 100%; height: 3.4rem; object-fit: contain; border: 0; }
.cms-catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; }
.cms-catalog-grid a { display: grid; align-content: start; gap: .5rem; padding: .75rem; color: #282828; border: 1px solid #eee; }
.cms-catalog-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.cms-catalog-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.cms-catalog-nav a { border: 1px solid #ddd; color: #282828; padding: .35rem .65rem; }
.cms-catalog-nav a[aria-current] { border-color: #ff8836; }

[data-original-product][hidden] { display: none !important; }

.cms-admin-language { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.25rem; }
.cms-admin-language a { color: #245398; border: 1px solid #dbe2ec; border-radius: .35rem; padding: .35rem .6rem; }
.cms-admin-language [aria-current] { background: #245398; color: white; }

.cms-category-filter, .cms-category-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.cms-category-admin-list { list-style: none; padding: 0; }
.cms-category-admin-list > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 0; border-top: 1px solid #dbe2ec; }
.cms-category-admin-list p { margin: .2rem 0 0; }
.cms-category-admin-list code { overflow-wrap: anywhere; }
.cms-admin .cms-category-delete { background: #a12727; }

.cms-inbox-controls, .cms-inbox-card form { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.cms-inbox-list { list-style: none; padding: 0; }
.cms-inbox-card { margin-block: 1rem; padding: 1rem; border: 1px solid #dbe2ec; border-radius: .5rem; overflow-wrap: anywhere; }
.cms-inbox-card header, .cms-inbox-card dl { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; }
.cms-inbox-card h2 { margin: 0; font-size: 1.15rem; }
.cms-inbox-card header span { background: #eaf1fb; border-radius: 1rem; padding: .15rem .6rem; }
.cms-inbox-card dt { font-weight: 600; }
.cms-inbox-card dd { margin: 0; }
.cms-inbox-message { white-space: pre-wrap; }

.cms-search-form, .cms-search-pages { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem; }
.cms-search-form label { display: grid; gap: .25rem; width: min(100%, 30rem); }
.cms-search-form input { padding: .65rem; border: 1px solid #8c8c8c; border-radius: .3rem; width: 100%; }
.cms-search-form button { border: 0; border-radius: .3rem; cursor: pointer; }
.cms-catalog-search { margin: .75rem 0 1.25rem; }
.cms-catalog-search input { box-sizing: border-box; }
.cms-catalog-search button { min-height: 44px; }
.cms-search-results { list-style: none; padding: 0; max-width: 58rem; }
.cms-search-results li { border-top: 1px solid #e7e7e7; padding: 1rem 0; overflow-wrap: anywhere; }
.cms-search-results h2 { font-size: 1.25rem; margin: .2rem 0; }
.cms-search-results a { color: #8a4314; text-decoration: underline; }
.cms-search-results p { margin: 0; }

/* Keep the original navigation links visible in a tablet-width browser pane. */
@media (min-width: 880px) and (max-width: 1200px) {
  .yx_Header .yx_N_Pc .yx_NP_Left { display: block !important; width: auto; }
  .yx_Header .yx_N_Pc .yx_Nav { margin: 0; padding: 0; }
  .yx_Header .yx_N_Pc .yx_NavTit {
    font-size: 14px !important;
    line-height: 70px;
    padding: 0 clamp(.45rem, .85vw, .65rem);
    white-space: nowrap;
  }
  .yx_Header .yx_N_Pc .yx_NavEn,
  .yx_Header .yx_N_Pc .yx_NavBtn,
  .yx_Header .yx_N_Mo.cms-menu-open { display: none !important; }
}

@media (max-width: 879px) {
  .yx_Header .yx_N_Pc .yx_NavBtn {
    display: inline-flex !important;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    cursor: pointer;
  }
  .yx_Header .yx_NavBtn::before {
    content: "Menu";
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
  }
  html[lang^="zh"] .yx_Header .yx_NavBtn::before { content: "菜单"; }
  .yx_Header .yx_N_Mo { top: 70px; height: calc(100dvh - 70px); }
  .cms-mobile-menu-open .yy_QBox { visibility: hidden; }
}

.gd-contact-inquiry { scroll-margin-top: 120px; }
.gd-contact-inquiry :is(input:not([type="hidden"]), textarea) {
  min-height: 44px;
  border: 1px solid #b5b5b5;
}
.gd-contact-inquiry textarea { min-height: 120px; resize: vertical; }
.gd-contact-inquiry :is(input, textarea, button):focus-visible {
  outline: 2px solid #ad500f;
  outline-offset: 2px;
}
.gd-contact-inquiry button[type="submit"] { min-height: 44px; cursor: pointer; }

/* Contact details and the original feedback block share the first body row. */
#c_static_001-1662447619685 .gd-contact-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.25rem, 4vw, 3rem);
}
#c_static_001-1662447619685 .gd-contact-columns > .p_item {
  align-self: start;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
}
.gd-contact-feedback #c_static_722-1662448345250 { width: 100%; padding: 0; margin: 0; }
.gd-contact-feedback .e_container-27 { padding-top: 0; }
@media (max-width: 768px) {
  #c_static_001-1662447619685 .gd-contact-columns { grid-template-columns: minmax(0, 1fr); }
}

.cms-inquiry-page form { max-width: 48rem; margin-top: 1.5rem; }
.cms-inquiry-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.cms-inquiry-page label { display: block; margin-bottom: .8rem; }
.cms-inquiry-page :is(input, textarea) {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: .65rem;
  border: 1px solid #a5a5a5;
}
.cms-inquiry-page textarea { resize: vertical; }
.cms-inquiry-page button { border: 0; cursor: pointer; }
@media (max-width: 560px) {
  .cms-inquiry-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

.cms-inquiry-status:empty { display: none; }
.cms-inquiry-status {
  clear: both;
  width: 100%;
  margin: .75rem 0 0;
  padding: .6rem .8rem;
  border-radius: .25rem;
  background: #f4f4f4;
  color: #242424;
}
.cms-inquiry-status[data-state="success"] { background: #e5f4e9; color: #17482a; }
.cms-inquiry-status[data-state="error"] { background: #fff1ef; color: #85251c; }
form[aria-busy="true"] [type="submit"] { cursor: wait; }

.cms-catalog-column { min-width: 0; }
.cms-catalog-heading { margin: 0 0 1rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.cms-catalog-empty { margin: 0 0 1.5rem; padding: 1rem 1.25rem; background: #f7f7f7; color: #484848; }
.cms-catalog-empty[hidden] { display: none; }
[data-product-catalog] .cms-catalog-grid { margin-bottom: 1.5rem; }
#content_box-1662446721229-0 a[aria-current="page"] { color: #a84c0d; font-weight: 600; }

/* The homepage certificate slides need a bounded frame for portrait scans. */
#c_static_001-1659079362055 { position: relative; padding-bottom: 0; }
#c_static_001-1659079362055 .e_container-22 {
  padding: clamp(2rem, 5vw, 5rem) 0;
  background-color: #181818;
  background-size: cover;
}
#c_static_001-1659079362055 .e_container-1 { align-items: center; }
#c_static_001-1659079362055 .e_container-1 > .p_item { min-width: 0; }
#c_static_001-1659079362055 .cbox-1-0 { padding-right: 1rem; }
#c_static_001-1659079362055 .e_text-26 { color: #ddd; }
#c_static_001-1659079362055 .InHonorSwiper .swiper-wrapper {
  display: flex;
  gap: 1rem;
  min-width: 0;
  scrollbar-width: none;
}
#c_static_001-1659079362055 .InHonorSwiper .swiper-slide {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 0;
}
#c_static_001-1659079362055 .e_image-20 {
  height: clamp(170px, 20vw, 290px);
  padding: .5rem;
  background: #fff;
}
#c_static_001-1659079362055 .e_image-20 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#c_static_001-1659079362055 .e_image-23 { pointer-events: none; }
#c_static_001-1659079362055 .e_html-27 { display: none; }
@media (max-width: 1023px) {
  #c_static_001-1659079362055 .InHonorSwiper .swiper-slide { flex-basis: calc((100% - 1rem) / 2); }
  #c_static_001-1659079362055 .e_container-22 { padding-bottom: 5rem; }
  #c_static_001-1659079362055 .e_html-27 {
    display: block;
    position: absolute;
    inset: auto 0 1rem;
    margin: 0;
    transform: none;
  }
  #c_static_001-1659079362055 .yx_INSwiper_Btn { cursor: pointer; }
  #c_static_001-1659079362055 .yx_INSwiper_Btn[aria-disabled="true"] { opacity: .45; }
}
@media (max-width: 600px) {
  #c_static_001-1659079362055 .e_container-1 > .p_item { flex: 0 0 100%; width: 100%; }
  #c_static_001-1659079362055 .cbox-1-0 { padding-left: 0; }
  #c_static_001-1659079362055 .InHonorSwiper .swiper-slide { flex-basis: 100%; }
  #c_static_001-1659079362055 .e_image-20 { height: 240px; }
}

/* Keep all About Us certificates within the original section. */
#c_static_001-16624679364570 .e_text-13 {
  width: min(72ch, calc(100% - 2rem));
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
#c_static_001-16624679364570 .Gd_Honor {
  width: min(100% - 2rem, 60rem);
  max-width: none;
  padding: 0;
}
#c_static_001-16624679364570 .Gd_Honor .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.5rem);
  overflow: visible;
}
#c_static_001-16624679364570 .Gd_Honor .swiper-slide { width: auto; min-width: 0; }
#c_static_001-16624679364570 .e_image-15 {
  height: clamp(170px, 26vw, 340px);
  padding: .65rem;
}
#c_static_001-16624679364570 .e_image-15 img {
  position: static;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: 100%;
  transform: none;
  object-fit: contain;
}
@media (max-width: 540px) {
  #c_static_001-16624679364570 .Gd_Honor .swiper-wrapper { grid-template-columns: minmax(0, 1fr); }
  #c_static_001-16624679364570 .e_image-15 { height: 270px; }
}

/* Align the existing factory, description and warehouse columns. */
#c_static_001-1662467848043 .e_container-1 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}
#c_static_001-1662467848043 .e_container-1 > .p_item {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}
#c_static_001-1662467848043 :is(.e_image-2, .e_image-3) {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
}
#c_static_001-1662467848043 :is(.e_image-2, .e_image-3) img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
#c_static_001-1662467848043 :is(.e_richText-4, .e_richText-5) {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}
#c_static_001-1662467848043 .e_richText-5 { margin-top: .9rem; }
#c_static_001-1662467848043 h5 { margin: 0; }
@media (max-width: 767px) {
  #c_static_001-1662467848043 .e_container-1 { grid-template-columns: minmax(0, 1fr); }
}

/* Make the two homepage category tiles usable as full-card links. */
#c_static_001-1660290998863 .e_loop-1 .p_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 70rem);
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 2rem) 0;
  gap: clamp(.75rem, 2vw, 1.5rem);
}
#c_static_001-1660290998863 .e_loop-1 .p_list > .p_loopitem {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}
#c_static_001-1660290998863 .gd-home-category {
  display: grid;
  grid-template-columns: clamp(3.5rem, 7vw, 5.25rem) minmax(0, 1fr) .65rem;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.5rem);
  max-width: none;
  min-height: 100%;
  padding: clamp(.75rem, 1.6vw, 1.25rem);
  border: 1px solid #e6e3df;
  border-radius: .6rem;
  background: #fff;
  color: #282828;
  text-decoration: none;
}
#c_static_001-1660290998863 .gd-home-category:hover,
#c_static_001-1660290998863 .gd-home-category:focus-visible {
  border-color: #c15815;
  background: #fffaf5;
}
#c_static_001-1660290998863 .gd-home-category:focus-visible {
  outline: 2px solid #a64912;
  outline-offset: 3px;
}
#c_static_001-1660290998863 .gd-home-category::after {
  content: '';
  width: .55rem;
  height: .55rem;
  border: solid #b85316;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
#c_static_001-1660290998863 .gd-home-category .cbox-2-1 { padding: 0; }
#c_static_001-1660290998863 .gd-home-category .e_text-4 {
  margin: 0 0 .3rem;
  color: #9b4514;
  opacity: 1;
  font-size: .85rem;
}
#c_static_001-1660290998863 .gd-home-category .e_text-5 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.3;
}
#c_static_001-1660290998863 .gd-home-category .e_image-3 img {
  display: block;
  aspect-ratio: 1;
  transform: none;
}
@media (max-width: 580px) {
  #c_static_001-1660290998863 .e_loop-1 .p_list { grid-template-columns: minmax(0, 1fr); }
}

.gd-service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
}
.gd-service-actions .gd-service-inquiry {
  display: inline-block;
  padding: .55rem .9rem;
  background: #a84610;
  color: #fff;
  border-radius: .25rem;
}
.gd-service-actions .gd-service-inquiry:hover,
.gd-service-actions .gd-service-inquiry:focus-visible {
  background: #79320d;
  color: #fff;
}

.gd-service-guide {
  padding-block: clamp(1.75rem, 4vw, 3.5rem);
  color: #282828;
}
.gd-service-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.gd-service-topics section {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border: 1px solid #e7e2de;
  border-radius: .5rem;
  background: #faf8f6;
}
.gd-service-guide h2 {
  margin: 0 0 .85rem;
  /* The mirrored theme applies an important font size to all h2 elements. */
  font-size: clamp(1.2rem, 2.4vw, 1.65rem) !important;
  overflow-wrap: anywhere;
}
.gd-service-guide ul { margin: 0; padding-inline-start: 1.25rem; }
.gd-service-guide li + li { margin-top: .5rem; }
.gd-service-faq { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.gd-service-faq h3 {
  margin: 1rem 0 .3rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.gd-service-faq p { margin: 0; }
@media (max-width: 620px) {
  .gd-service-topics { grid-template-columns: minmax(0, 1fr); }
}

/* --- Admin Dashboard, Slug, Gallery Manager, CRM & Danger Zone --- */
.cms-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 .35rem;
  margin-inline-start: .35rem;
  border-radius: 999px;
  background: #e53e3e;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}
.cms-admin-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.cms-admin-overview > div {
  background: #f7f9fc;
  border: 1px solid #dbe2ec;
  border-radius: .5rem;
  padding: .75rem 1rem;
  display: grid;
  gap: .25rem;
}
.cms-admin-overview span { font-size: .82rem; color: #52647d; }
.cms-admin-overview strong { font-size: 1.25rem; color: #172337; }
.cms-admin-overview strong a { color: inherit; text-decoration: none; }
.cms-admin-overview .cms-highlight-num,
.cms-admin-overview .cms-highlight-num a { color: #c53030; }

.cms-admin-btn-link {
  display: inline-block;
  padding: .45rem .85rem;
  border-radius: .35rem;
  text-decoration: none;
  font-size: .92rem;
}
.cms-slug-field { margin: 1rem 0; }
.cms-slug-field > label { display: block; font-weight: 600; margin-bottom: .35rem; }
.cms-slug-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
}
.cms-slug-row input { flex: 1 1 12rem; min-width: 10rem; }
.cms-slug-affix {
  background: #f1f5fb;
  border: 1px solid #dbe2ec;
  border-radius: .35rem;
  padding: .42rem .55rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88rem;
  color: #40546e;
}
.cms-field-hint { font-size: .86rem; color: #52647d; margin: .35rem 0 .75rem; }

.cms-product-display-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: .8rem;
  align-items: end;
  margin-bottom: 1rem;
}
.cms-checkbox-label {
  display: flex !important;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  padding: .45rem 0;
}
.cms-checkbox-label input { width: auto !important; }

.cms-gallery-manager { margin: .8rem 0 1rem; }
.cms-gallery-manager-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: .75rem;
  margin-top: .5rem;
}
.cms-gallery-manager-item {
  border: 1px solid #dbe2ec;
  border-radius: .45rem;
  padding: .5rem;
  background: #fff;
  display: grid;
  gap: .35rem;
  font-size: .85rem;
}
.cms-gallery-manager-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid #edf2f7;
}
.cms-gallery-manager-item label { display: flex; align-items: center; gap: .35rem; margin: 0; }
.cms-gallery-manager-item input { width: auto !important; }
.cms-danger-check { color: #a12727; }

.cms-admin-danger-zone {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid #f5c2c7;
  background: #fff5f5;
  border-radius: .5rem;
}
.cms-admin-danger-zone h2 { margin-top: 0; font-size: 1.05rem; color: #a12727; }

.cms-status-badge { font-size: .82rem; font-weight: 600; }
.cms-status-new { background: #fde8e8 !important; color: #9b1c1c; }
.cms-status-in_progress { background: #e1effe !important; color: #1e429f; }
.cms-status-quoted { background: #edebfe !important; color: #5521b5; }
.cms-status-sampled { background: #d5f5f6 !important; color: #05505c; }
.cms-status-won { background: #def7ec !important; color: #03543f; }
.cms-status-closed { background: #f3f4f6 !important; color: #4b5563; }

.cms-inbox-items {
  background: #f8fafc;
  border: 1px solid #dbe2ec;
  border-radius: .4rem;
  padding: .65rem .85rem;
  margin: .65rem 0;
}
.cms-inbox-items ul { margin: .4rem 0 0; padding-inline-start: 1.2rem; }

/* --- Unified Catalog Cards, Product Detail Upgrades & RFQ Cart --- */
.cms-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: 1.25rem;
}
.cms-catalog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e7e7e7;
  border-radius: .5rem;
  background: #fff;
  padding: .85rem;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.cms-catalog-card:hover {
  border-color: #ff8836;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}
.cms-catalog-card-link {
  display: grid;
  gap: .5rem;
  color: #282828;
  text-decoration: none;
  border: 0 !important;
  padding: 0 !important;
}
.cms-catalog-card-link img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.cms-catalog-card-title { font-weight: 600; line-height: 1.4; }
.cms-catalog-card-sku { font-size: .82rem; color: #666; }

.cms-add-quote-btn {
  margin-top: .75rem;
  width: 100%;
  padding: .5rem .75rem;
  border: 1px solid #245398;
  border-radius: .35rem;
  background: #fff;
  color: #245398;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.cms-add-quote-btn:hover,
.cms-add-quote-btn.is-added {
  background: #245398;
  color: #fff;
}
.cms-add-quote-lg {
  margin-top: 0;
  width: auto;
  padding: .75rem 1.25rem;
}

.cms-factory-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.cms-factory-badges li {
  background: #fff4eb;
  color: #8a4314;
  border: 1px solid #ffd5b5;
  border-radius: 999px;
  padding: .2rem .65rem;
  font-size: .82rem;
  font-weight: 600;
}
.cms-product-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.25rem;
}
.cms-product-inquiry {
  border-radius: .35rem;
  text-decoration: none;
  font-weight: 600;
}
.cms-body-bullets { padding-inline-start: 1.25rem; margin: .75rem 0 1.25rem; }
.cms-body-bullets li { margin-bottom: .35rem; line-height: 1.7; }
.cms-related-products { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e7e7e7; }
.cms-related-products h2 { margin-top: 0; margin-bottom: 1.25rem; }

.cms-rfq-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 99990;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: #172337;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(23, 35, 55, .28);
  font-size: .92rem;
  font-weight: 600;
}
.cms-rfq-fab:hover { background: #245398; }
.cms-rfq-fab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: #ff8836;
  color: #21160f;
  font-size: .82rem;
}

.cms-rfq-cart-panel {
  background: #f8fafc;
  border: 1px solid #dbe2ec;
  border-radius: .5rem;
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.5rem;
}
.cms-rfq-cart-panel h2 { margin: 0 0 .75rem; font-size: 1.15rem; }
.cms-rfq-cart-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.cms-rfq-cart-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: .45rem;
  padding: .75rem;
}
.cms-rfq-cart-item img { width: 4rem; height: 4rem; object-fit: contain; border: 1px solid #edf2f7; }
.cms-rfq-cart-info { flex: 1 1 16rem; display: grid; gap: .35rem; }
.cms-rfq-cart-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .5rem; }
.cms-rfq-cart-inputs input { padding: .45rem; border: 1px solid #cbd5e1; border-radius: .3rem; }
.cms-rfq-remove {
  background: #fff;
  color: #a12727;
  border: 1px solid #f5c2c7;
  border-radius: .35rem;
  padding: .4rem .7rem;
  cursor: pointer;
}
.cms-oem-fieldset {
  border: 1px solid #dbe2ec;
  border-radius: .5rem;
  padding: 1rem;
  margin: 1rem 0;
}
.cms-oem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.25rem;
  margin-bottom: .75rem;
}
.cms-oem-tags label {
  display: inline-flex !important;
  align-items: center;
  gap: .35rem;
  margin: 0 !important;
}
.cms-oem-tags input { width: auto !important; min-height: auto !important; }
