/* XiaoyuCMS theme-skin — DermaRee (align with drivschol primary/orange) */
html body,
body .xy-layout,
.xy-layout,
body.custom-cursor {
  --xy-skin-primary: #EE922B;
  --xy-skin-primary-2: #f0a854;
  --xy-skin-accent: #024886;
  --xy-skin-ink: #111117;
}

a:hover {
  color: var(--xy-skin-primary);
}

/* 首页 Core Product Lines：缩小与 Banner 之间的空隙 */
.service-one.service-one__home {
  padding-top: 48px;
  padding-bottom: 70px;
}

@media (max-width: 767px) {
  .service-one.service-one__home {
    padding-top: 36px;
    padding-bottom: 50px;
  }
}

/* Download list (drivschol shell) */
.dermaree-download-list {
  margin: 0;
  padding: 0;
}

.dermaree-download-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #e8ecf0;
  box-shadow: 0 6px 18px rgba(17, 17, 23, 0.04);
}

.dermaree-download-item__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(2, 72, 134, 0.08);
  color: #024886;
  font-size: 18px;
}

.dermaree-download-item__body {
  flex: 1 1 auto;
  min-width: 0;
}

.dermaree-download-item__title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.dermaree-download-item__title a {
  color: #111117;
  text-decoration: none;
}

.dermaree-download-item__title a:hover {
  color: #EE922B;
}

.dermaree-download-item__meta {
  margin: 0;
  font-size: 13px;
  color: #6D7076;
}

.dermaree-download-item__meta span + span::before {
  content: "·";
  margin: 0 8px;
  color: #c5c9cf;
}

.dermaree-download-item__action {
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .dermaree-download-item {
    flex-wrap: wrap;
  }

  .dermaree-download-item__action {
    width: 100%;
  }

  .dermaree-download-item__action .drivschol-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Inquiry basket / checkout / wishlist inside drivschol shell */
.xy-basket-page,
.xy-wishlist-page {
  padding-top: 50px;
  padding-bottom: 70px;
}

.xy-basket-page .xy-ui-btn,
.xy-basket-page .xy-inquiry-submit,
.xy-basket-page button.xy-ui-btn,
.xy-wishlist-page .xy-ui-btn,
.xy-wishlist-page button.xy-ui-btn {
  border-radius: 6px;
  background: var(--xy-skin-primary, #EE922B);
  color: #fff;
  border: 0;
}

.xy-basket-page .xy-ui-btn:hover,
.xy-basket-page .xy-inquiry-submit:hover,
.xy-wishlist-page .xy-ui-btn:hover {
  background: var(--xy-skin-accent, #024886);
  color: #fff;
}

.xy-wishlist-page .xy-ui-btn-ghost {
  background: #fff !important;
  color: #024886 !important;
  border: 1px solid #E6E6E6 !important;
}

.xy-wishlist-page .xy-ui-btn-ghost:hover {
  background: #fff4e8 !important;
  border-color: #EE922B !important;
  color: #EE922B !important;
}

.xy-basket-page .xy-basket-summary {
  border-color: rgba(2, 72, 134, 0.12);
  background: #f8fafc;
}

.xy-basket-page .xy-inquiry-alert {
  border-left: 3px solid var(--xy-skin-primary, #EE922B);
}

.xy-wishlist-page .xy-wishlist {
  max-width: 960px;
  margin: 0 auto;
}

.xy-wishlist-page .xy-wishlist-sync-banner {
  border-radius: 6px;
  border-color: #E6E6E6;
  background: #fafbfc;
}

.xy-wishlist-page .xy-wishlist-sync-text strong {
  color: #111117;
}

.xy-wishlist-page .xy-wishlist-panel {
  border-radius: 6px;
  border-color: #E6E6E6;
  box-shadow: none;
}

.xy-wishlist-page .xy-wishlist-item {
  padding: 18px 20px;
}

.xy-wishlist-page .xy-wishlist-media {
  border-radius: 6px;
  border-color: #E6E6E6;
}

.xy-wishlist-page .xy-wishlist-name {
  color: #111117;
  font-family: var(--drivschol-font, "Manrope", sans-serif);
}

.xy-wishlist-page .xy-wishlist-name:hover {
  color: var(--xy-skin-primary, #EE922B);
}

.xy-wishlist-page .xy-wishlist-price {
  color: var(--xy-skin-accent, #024886);
}

.xy-wishlist-page .xy-wishlist-empty {
  border-radius: 6px;
  border-color: #E6E6E6;
  background: #fafbfc;
  padding: 56px 24px;
}

.xy-wishlist-page .xy-wishlist-actions .xy-ui-btn {
  font-family: var(--drivschol-font, "Manrope", sans-serif);
}

/* Captcha — theme polish (no PHP change; soften GD image via CSS) */
.form-one__captcha {
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 420px;
  padding: 6px 6px 6px 18px;
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(17, 17, 23, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-one__captcha:focus-within {
  border-color: rgba(2, 72, 134, 0.35);
  box-shadow: 0 0 0 3px rgba(2, 72, 134, 0.08);
}

.contact-two .form-one__captcha input[type="text"],
.form-one__captcha input[type="text"] {
  flex: 1 1 auto;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  height: 48px !important;
  margin: 0;
  padding: 0 4px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.form-one__captcha-media {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, #f4f7fb 0%, #eef3f9 100%);
  box-shadow: inset 0 0 0 1px rgba(2, 72, 134, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-one__captcha-media:hover,
.form-one__captcha-media:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(238, 146, 43, 0.35), 0 6px 16px rgba(2, 72, 134, 0.12);
}

.form-one__captcha-media .codeimg {
  display: block;
  height: 48px;
  width: auto;
  min-width: 112px;
  max-width: 140px;
  object-fit: contain;
  object-position: center;
  border: 0 !important;
  border-radius: 0;
  /* WOW.js 未播完时会 visibility:hidden，验证码需始终可见 */
  visibility: visible !important;
  /* 轻微压饱和，避免滤镜过重导致看不清 */
  filter: contrast(1.05) saturate(0.85);
  image-rendering: auto;
}

.form-one__captcha-hint {
  position: absolute;
  right: 6px;
  bottom: 5px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(2, 72, 134, 0.88);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.form-one__captcha-media:hover .form-one__captcha-hint,
.form-one__captcha-media:focus-visible .form-one__captcha-hint {
  opacity: 1;
  transform: scale(1);
}

.contact-page__captcha {
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 360px;
  padding: 4px 4px 4px 2px;
}

.contact-page__captcha input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px !important;
}

.contact-page__captcha .form-one__captcha-media,
.contact-page__captcha-media {
  align-self: flex-end;
}

/* Contact page submit — brand orange */
.contact-page__submit {
  background: #f8961a;
  box-shadow: 0 10px 24px rgba(248, 150, 26, 0.28);
}
.contact-page__submit:hover {
  background: #e08512;
  box-shadow: 0 14px 28px rgba(248, 150, 26, 0.34);
}

@media (max-width: 575px) {
  .form-one__captcha {
    max-width: 100%;
    padding-left: 14px;
  }

  .form-one__captcha-media .codeimg {
    min-width: 100px;
    max-width: 120px;
  }
}

/* Floating quick-inquiry captcha */
.feedbackForm .line-captcha {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedbackForm .line-captcha .codeimg {
  height: 40px;
  width: auto;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  visibility: visible !important;
  filter: contrast(1.05) saturate(0.85);
  box-shadow: inset 0 0 0 1px rgba(2, 72, 134, 0.1);
}

/* Feature Products：背景铺满整段高度（原 bottom:38% 会在多行卡片时露白） */
.service-two__bg {
  bottom: 0;
  background-repeat: no-repeat;
}

/* Download detail */
.download-details__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 8px 0 18px;
  color: #6d7076;
  font-size: 14px;
}
.download-details__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}
.download-details__meta-item:hover {
  color: #024886;
}
.download-details__actions {
  margin: 0 0 22px;
}
.download-details__content {
  margin-top: 8px;
  line-height: 1.7;
}
.download-details__content img {
  max-width: 100%;
  height: auto;
}
.download-details__related {
  margin: 28px 0 20px;
  padding-top: 18px;
  border-top: 1px solid #e6e6e6;
}
.download-details__related-title {
  margin: 0 0 14px;
  font-size: 20px;
  color: #111117;
}
.download-details__related-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f5;
}
.download-details__related-list a {
  color: #111117;
  text-decoration: none;
}
.download-details__related-list a:hover {
  color: #024886;
}
.download-details__related-date {
  flex: 0 0 auto;
  color: #89868d;
  font-size: 13px;
}
.download-details__share {
  margin: 24px 0 8px;
}

/* Homepage quote form — contact-page underline style inside contact-two */
.contact-two .home-quote-panel {
  --cp-navy: #024886;
  --cp-ink: #111117;
  --cp-mute: #6d7076;
  --cp-line: #e6e9ee;
  --cp-accent: #ee922b;
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
}
.contact-two .home-quote-panel .contact-page__field--submit {
  justify-content: flex-start;
}
.contact-two .home-quote-panel .contact-page__submit {
  background: #ee922b;
  box-shadow: 0 10px 24px rgba(238, 146, 43, 0.28);
  text-transform: none;
  letter-spacing: 0.02em;
}
.contact-two .home-quote-panel .contact-page__submit:hover {
  background: #d97f1c;
  box-shadow: 0 14px 28px rgba(238, 146, 43, 0.34);
}
@media (max-width: 767px) {
  .contact-two .home-quote-panel {
    padding: 28px 20px 24px;
  }
  .contact-two .home-quote-panel .contact-page__grid {
    grid-template-columns: 1fr;
  }
}

/* 手机端产品卡：隐藏 Send Email，Get a Quote 占满避免文字截断 */
@media (max-width: 767px) {
  .product__item__buttons .xy-list-card-email-btn {
    display: none !important;
  }
  .product__item__buttons {
    display: flex;
    width: 100%;
  }
  .product__item__buttons .drivschol-btn--base {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
  .product__item__buttons .drivschol-btn--base span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 13px;
  }
}




