body[data-zc-theme] :is(.daohang, .topnav) > li > a[aria-current="location"] {
  text-decoration: underline;
  text-decoration-color: #b52329;
  text-decoration-thickness: 2px;
  text-underline-offset: .4em;
}
body[data-zc-theme] .topnav > li > a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: #b52329;
  text-decoration-thickness: 2px;
  text-underline-offset: .4em;
}
body[data-zc-theme] :is(form.coxin, footer .fo4 form)[action="/index.php/api/guestbook/addmsg.html"] {
  display: grid;
  gap: 12px;
  min-width: 0;
}
body[data-zc-theme] form.coxin[action="/index.php/api/guestbook/addmsg.html"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body[data-zc-theme] :is(form.coxin, footer .fo4 form)[action="/index.php/api/guestbook/addmsg.html"] > :is(.int1, .int2, .int3) {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
}
body[data-zc-theme] :is(form.coxin, footer .fo4 form)[action="/index.php/api/guestbook/addmsg.html"] > :is(.int2, .int3, [role="status"]) {
  grid-column: 1 / -1;
}
body[data-zc-theme] :is(form.coxin, footer .fo4 form)[action="/index.php/api/guestbook/addmsg.html"] .int3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  height: auto;
}
body[data-zc-theme] :is(form.coxin, footer .fo4 form)[action="/index.php/api/guestbook/addmsg.html"] :is(input:not([type="hidden"]), textarea) {
  box-sizing: border-box;
  float: none;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
}
body[data-zc-theme] :is(form.coxin, footer .fo4 form)[action="/index.php/api/guestbook/addmsg.html"] textarea {
  min-height: 96px;
  resize: vertical;
}
body[data-zc-theme] :is(form.coxin, footer .fo4 form)[action="/index.php/api/guestbook/addmsg.html"] .int3 img {
  float: none;
  width: auto;
  max-width: 112px;
  height: auto;
  margin: 0;
}
body[data-zc-theme] :is(form.coxin, footer .fo4 form)[action="/index.php/api/guestbook/addmsg.html"] .int3 input[type="submit"] {
  grid-column: 1 / -1;
}
body[data-zc-theme] :is(form.coxin, footer .fo4 form)[action="/index.php/api/guestbook/addmsg.html"] :is(input, textarea):focus-visible {
  outline: 2px solid #b52329;
  outline-offset: 2px;
}
body[data-zc-theme] form.coxin[action="/index.php/api/guestbook/addmsg.html"] > .int2 {
  border: 0;
  padding: 0;
}
body[data-zc-theme] :is(form.coxin, footer .fo4 form)[action="/index.php/api/guestbook/addmsg.html"] .int3 input[type="submit"] {
  background: #a51e24;
  border: 1px solid #a51e24;
  color: #fff;
  cursor: pointer;
}
@media (max-width: 767px) {
  body[data-zc-theme] form.coxin[action="/index.php/api/guestbook/addmsg.html"] {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The Feedback form uses its own legacy field and CAPTCHA wrappers. */
body[data-zc-theme] .se6main > form[action="/index.php/api/guestbook/addmsg.html"] {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: 12px 20px;
  max-width: 900px;
  margin-inline: auto;
}
body[data-zc-theme] .se6main > form[action="/index.php/api/guestbook/addmsg.html"] > :is(.se6a, .int1, .int2) {
  float: none;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
}
body[data-zc-theme] .se6main > form[action="/index.php/api/guestbook/addmsg.html"] > :is(.se6a2, .int2, [role="status"]) {
  grid-column: 1 / -1;
}
body[data-zc-theme] .se6main > form[action="/index.php/api/guestbook/addmsg.html"] > .int2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
body[data-zc-theme] .se6main > form[action="/index.php/api/guestbook/addmsg.html"] :is(input:not([type="hidden"]), textarea) {
  box-sizing: border-box;
  float: none;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
}
body[data-zc-theme] .se6main > form[action="/index.php/api/guestbook/addmsg.html"] textarea {
  min-height: 96px;
  resize: vertical;
}
body[data-zc-theme] .se6main > form[action="/index.php/api/guestbook/addmsg.html"] .int2 img {
  float: none;
  max-width: 112px;
  height: auto;
  margin: 0;
}
body[data-zc-theme] .se6main > form[action="/index.php/api/guestbook/addmsg.html"] input[type="submit"] {
  grid-column: 1 / -1;
  background: #a51e24;
  border: 1px solid #a51e24;
  color: #fff;
  cursor: pointer;
}
body[data-zc-theme] .se6main > form[action="/index.php/api/guestbook/addmsg.html"] :is(input, textarea):focus-visible {
  outline: 2px solid #b52329;
  outline-offset: 2px;
}
@media (max-width: 767px) {
  body[data-zc-theme] .se6main > form[action="/index.php/api/guestbook/addmsg.html"] {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Remove the legacy permanent desktop accent from inactive Customization. */
body[data-zc-theme] .daohang > .ak-p3-nav-oem > a:not([aria-current]):not(:hover):not(:focus-visible) {
  color: #fff !important;
}

/* News recommendations share a grid across current and earlier article markup. */
:is([data-cms-related="1"], [data-cms-related-articles="1"]):has(> .ak-p3-product-card),
:is([data-cms-related="1"], [data-cms-related-articles="1"]) > div:has(> .ak-p3-product-card) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px;
  align-items: stretch;
}
:is([data-cms-related="1"], [data-cms-related-articles="1"]) > h2 {
  grid-column: 1 / -1;
}
:is([data-cms-related="1"], [data-cms-related-articles="1"]) .ak-p3-product-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
  height: 100%;
  margin: 0;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  background: #fff;
  color: #20252b;
  overflow-wrap: anywhere;
  text-decoration: none;
}
:is([data-cms-related="1"], [data-cms-related-articles="1"]) .ak-p3-product-card img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  background: #f4f6f8;
  border-radius: 6px;
}
[data-cms-related="1"] .ak-p3-product-card img { object-fit: contain !important; }
[data-cms-related-articles="1"] .ak-p3-product-card img { object-fit: cover !important; }
:is([data-cms-related="1"], [data-cms-related-articles="1"]) .ak-p3-product-card :is(strong, p) {
  margin: 0;
  line-height: 1.45;
}
:is([data-cms-related="1"], [data-cms-related-articles="1"]) .ak-p3-product-card strong { font-size: 1rem; }
:is([data-cms-related="1"], [data-cms-related-articles="1"]) .ak-p3-product-card p { font-size: .875rem; color: #4c5661; }
:is([data-cms-related="1"], [data-cms-related-articles="1"]) .ak-p3-product-card:hover strong { text-decoration: underline; }
@media (max-width: 767px) {
  :is([data-cms-related="1"], [data-cms-related-articles="1"]):has(> .ak-p3-product-card),
  :is([data-cms-related="1"], [data-cms-related-articles="1"]) > div:has(> .ak-p3-product-card) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Footer inputs must defeat the old fixed widths, heights and float offsets. */
body[data-zc-theme] .fo4 form[action="/index.php/api/guestbook/addmsg.html"] {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 10px;
  min-width: 0;
}
body[data-zc-theme] .fo4 form[action="/index.php/api/guestbook/addmsg.html"] > :is(.int1, .int2, .int3) {
  float: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
body[data-zc-theme] .fo4 form[action="/index.php/api/guestbook/addmsg.html"] > .int3 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(76px, 100px) !important;
  gap: 10px;
  align-items: center !important;
}
body[data-zc-theme] .fo4 form[action="/index.php/api/guestbook/addmsg.html"] :is(input:not([type="hidden"]), textarea) {
  box-sizing: border-box;
  float: none !important;
  width: 100% !important;
  min-width: 0;
  min-height: 44px !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  position: static !important;
  line-height: 1.35;
}
body[data-zc-theme] .fo4 form[action="/index.php/api/guestbook/addmsg.html"] .int3 img {
  float: none !important;
  width: 100% !important;
  height: 44px !important;
  position: static !important;
  object-fit: contain;
  margin: 0 !important;
  background: #fff;
  cursor: pointer;
}
body[data-zc-theme] .fo4 form[action="/index.php/api/guestbook/addmsg.html"] .int3 input[type="submit"] {
  grid-column: 1 / -1 !important;
  height: auto !important;
  white-space: normal;
}
body.ak-footer-inquiry-in-view :is(.lianxi, .zc-fab) {
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (max-width: 767px) {
  body[data-zc-theme] footer .fo4:has(form[action="/index.php/api/guestbook/addmsg.html"]) {
    display: block !important;
    grid-column: 1 / -1;
    float: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}
