/*
Theme Name: Demoor Astra Child
Theme URI: https://demoor.cn/
Description: Editable company website theme for Demoor.
Author: Demoor
Template: astra
Version: 1.1.0
Text Domain: demoor-astra-child
*/

@font-face { font-family: Astra; src: url('./assets/fonts/astra.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: eicons; src: url('./assets/fonts/eicons.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Demoor Eicons'; src: url('./assets/fonts/eicons.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Font Awesome 5 Free'; src: url('./assets/fonts/fa-solid-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Font Awesome 5 Brands'; src: url('./assets/fonts/fa-brands-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Demoor Font Awesome Regular'; src: url('./assets/fonts/fa-regular-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

.ev-modal[hidden] { display: none !important; }
.ev-modal { position: fixed; z-index: 999999; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.68); }
.ev-modal-dialog { position: relative; width: min(720px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 35px; background: #fff; box-shadow: 0 18px 70px rgba(0,0,0,.28); }
.ev-modal-dialog--video { width: min(1050px, 100%); padding: 0; background: #000; }
.ev-modal-close { position: absolute; z-index: 2; top: 10px; right: 12px; display: grid; width: 38px; height: 38px; place-items: center; border: 0; background: transparent; color: #333; cursor: pointer; font-size: 28px; line-height: 1; }
.ev-modal-dialog--video .ev-modal-close { color: #fff; }
.ev-modal-dialog h2 { margin: 0 0 20px; color: #173c56; font-size: 30px; }
.ev-modal-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ev-modal-form label { display: grid; gap: 6px; color: #555; font-size: 12px; }
.ev-modal-form label.full { grid-column: 1 / -1; }
.ev-modal-form input, .ev-modal-form textarea { width: 100%; padding: 12px; border: 1px solid #ddd; background: #fff; }
.ev-modal-form textarea { min-height: 105px; }
.ev-modal-form button { width: fit-content; min-height: 44px; padding: 0 25px; border: 0; background: #f08c47; color: #fff; cursor: pointer; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.ev-video-frame { position: relative; aspect-ratio: 16 / 9; }
.ev-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
body.ev-modal-open { overflow: hidden; }
@media (max-width: 600px) { .ev-modal-dialog { padding: 30px 20px; } .ev-modal-form { grid-template-columns: 1fr; } .ev-modal-form label.full { grid-column: auto; } }
.demoor-search-overlay[hidden] { display: none !important; }
.demoor-search-overlay { position: fixed; z-index: 1000000; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(255,255,255,.98); }
.demoor-search-dialog { position: relative; width: min(720px, 100%); padding: 48px; background: #fff; box-shadow: 0 18px 70px rgba(0,0,0,.16); }
.demoor-search-dialog h2 { margin: 0 0 22px; color: #111; font-size: 32px; }
.demoor-search-form { display: grid; gap: 10px; }
.demoor-search-form label { color: #555; font-size: 12px; font-weight: 600; }
.demoor-search-form > div { display: flex; gap: 10px; }
.demoor-search-form input { min-width: 0; flex: 1; height: 48px; padding: 0 14px; border: 1px solid #d5d5d5; color: #222; }
.demoor-search-form button { min-width: 112px; height: 48px; padding: 0 20px; border: 0; background: #dd3333; color: #fff; cursor: pointer; font-weight: 700; }
.demoor-search-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; background: transparent; color: #333; cursor: pointer; font-size: 30px; line-height: 1; }
body.demoor-search-open { overflow: hidden; }
@media (max-width: 600px) { .demoor-search-dialog { padding: 38px 22px; } .demoor-search-form > div { display: grid; grid-template-columns: 1fr; } }

/* The source homepage uses Astra's full-width Elementor content canvas. */
body.demoor-reference #content > .ast-container { width: 100%; max-width: none; padding-left: 0; padding-right: 0; }
body.demoor-reference .elementor-element-evhome01 { padding: 0 !important; }
body.demoor-reference { --e-global-color-primary: #DD3333; line-height: 1.857142857; }
body.demoor-reference .elementor-element-bd79f0f .elementor-social-icons-wrapper { height: 153px; grid-template-rows: repeat(3, 45px); }
body.demoor-reference .elementor-element-bd79f0f .elementor-grid-item { height: 45px; }
body.demoor-reference .elementor-element-bd79f0f .elementor-social-icon { display: inline-flex; align-items: center; justify-content: center; }
body.demoor-reference .far,
body.demoor-reference .far::before { font-family: 'Demoor Font Awesome Regular' !important; font-weight: 400; font-style: normal; }
body.demoor-reference .fab,
body.demoor-reference .fa-brands,
body.demoor-reference .fab::before,
body.demoor-reference .fa-brands::before { font-family: 'Font Awesome 5 Brands' !important; font-weight: 400; font-style: normal; }
body.demoor-reference .fas,
body.demoor-reference .fa-solid,
body.demoor-reference .fas::before,
body.demoor-reference .fa-solid::before { font-family: 'Font Awesome 5 Free' !important; font-weight: 900; font-style: normal; }
body.demoor-reference [class*="eicon-"],
body.demoor-reference [class^="eicon"] { font-family: 'Demoor Eicons' !important; }
body.demoor-reference .elementor-element-f4c29fe .elementor-social-icon { display: inline-flex; align-items: center; justify-content: center; }
body.demoor-reference .elementor-element-5a036c18 { margin-bottom: 20px !important; }
body.demoor-reference .elementor-element-535bb247,
body.demoor-reference .elementor-element-5b199b70 { margin-bottom: 20px !important; }
body.demoor-reference .demoor-form-status { margin-top: 12px; color: #2b2b2b; font-size: 13px; line-height: 1.5; }
body.demoor-reference .demoor-form-status.is-success { color: #25803f; }
body.demoor-reference .demoor-form-status.is-error { color: #c0392b; }

@media (min-width: 922px) {
  body.demoor-reference #masthead #primary-site-navigation-desktop .main-header-menu > .menu-item-has-children > .menu-link::after { content: none; }
  body.demoor-reference #masthead #primary-site-navigation-desktop .main-header-menu > .menu-item > .menu-link { display: inline-block !important; }
  body.demoor-reference #masthead #primary-site-navigation-desktop .main-header-menu > .menu-item.menu-item-has-children > .menu-link .dropdown-menu-toggle { display: inline !important; width: auto !important; height: auto !important; padding: 0 !important; margin: 0 !important; line-height: 70px !important; vertical-align: baseline; }
  body.demoor-reference #masthead #primary-site-navigation-desktop .main-header-menu > .menu-item.menu-item-has-children > .menu-link .dropdown-menu-toggle .ast-icon.icon-arrow { display: inline !important; width: 0 !important; height: 19px !important; }
}

@media (min-width: 769px) {
  body.demoor-reference .elementor-14748 .elementor-element-cf7044b { margin-bottom: 20px; }
  body.demoor-reference .elementor-14748 .elementor-element-456ec81 { margin-bottom: 20px; }
  body.demoor-reference .elementor-14748 .elementor-element-09ebe30 { min-height: 779px; }
  body.demoor-reference .elementor-14748 .elementor-element-54480f57 { min-height: 803px; }
  body.demoor-reference .elementor-14748 .elementor-element-15721183 { min-height: 538px; }
  body.demoor-reference .elementor-14748 .elementor-element-481382f2 { min-height: 653px; }
  body.demoor-reference .elementor-14748 .elementor-element-3e8a86dc { min-height: 1092px; }
}

/* The floating contact container must not intercept clicks outside its controls. */
body.home.demoor-reference .elementor-element-c25a7b9 { pointer-events: none; }
body.home.demoor-reference .elementor-element-c25a7b9 a,
body.home.demoor-reference .elementor-element-c25a7b9 button,
body.home.demoor-reference .elementor-element-c25a7b9 [role="button"] { pointer-events: auto; }

/* F07: accessible local verification; the decoy field stays outside layout. */
.demoor-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.demoor-security, .demoor-form-status { grid-column: 1 / -1; width: 100%; }
.demoor-security { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.demoor-security label { color: #333; font-size: 13px; }
.demoor-turnstile-security { display: block; min-width: 0; }
.demoor-turnstile-widget { min-height: 65px; }
.demoor-verification-status { margin: 8px 0; font-size: 13px; line-height: 1.5; }
.demoor-verification-status.is-error { color: #c0392b; }
body.demoor-reference .elementor-location-footer .demoor-verification-status { color: #fff; }
body.demoor-reference .elementor-location-footer .demoor-verification-status.is-error { color: #ffb3a8; }
body.demoor-reference .elementor-location-footer .demoor-security label,
body.demoor-reference .elementor-location-footer .demoor-form-status { color: #fff; }
body.demoor-reference .elementor-location-footer .demoor-form-status.is-success { color: #7fd9a0; }
body.demoor-reference .elementor-location-footer .demoor-form-status.is-error { color: #ffb3a8; }
body.demoor-reference .demoor-security-refresh { padding: 0 12px; min-height: 44px; background: #eee; color: #333; font-size: 12px; }
.demoor-upload-hint { color: #555; font-size: 12px; margin: 6px 0; }
.demoor-consent { display: flex !important; align-items: flex-start; gap: 8px; width: 100%; grid-column: 1 / -1; margin: 14px 0 0; font-size: 12px; line-height: 1.6; text-align: left; color: #333; }
.demoor-consent input[type=checkbox] { flex: 0 0 auto; width: 16px; height: 16px; margin: 3px 0 0; }
.demoor-consent a { text-decoration: underline; }
.demoor-product-specs { display: grid; grid-template-columns: minmax(70px,auto) 1fr; gap: 8px 16px; margin: 16px 0; }
.demoor-product-specs:empty { display: none; }
.demoor-product-specs dt { font-weight: 600; }
.demoor-product-specs dd { margin: 0; overflow-wrap: anywhere; }
body.demoor-reference .elementor-location-footer .demoor-consent,
body.demoor-reference .elementor-location-footer .demoor-consent a { color: #fff; }
.ev-modal-form button[type=submit] { background: #dd3333; }
body.demoor-reference .ev-modal-close { padding: 0; font-family: Arial, sans-serif; font-size: 28px; text-transform: none; line-height: 1; }
.demoor-header-language { position: relative; z-index: 10; display: flex; align-items: center; margin-right: 12px; }
.demoor-header-language select { width: auto; min-height: 30px; padding: 2px 24px 2px 8px; border: 1px solid #ddd; border-radius: 2px; font-size: 12px; line-height: 1.2; background: #fff; color: #333; }
.demoor-header-language .gtranslate_wrapper { display: flex; align-items: center; }
.demoor-header-language .gt_selector { width: auto; min-height: 30px; max-width: 150px; padding: 2px 24px 2px 8px; border: 1px solid #ddd; border-radius: 2px; font-size: 12px; line-height: 1.2; background: #fff; color: #333; }
body.search .demoor-blog-main { min-width: 0; width: 100%; }
body.search .demoor-blog-card { min-width: 0; }
body.search .demoor-blog-card h2 { overflow-wrap: anywhere; }
@media (max-width: 768px) {
 body.demoor-reference .elementor-column > .elementor-widget-wrap.elementor-element-populated { width: calc(100% - var(--e-column-margin-left, 0px) - var(--e-column-margin-right, 0px)) !important; max-width: 100%; }
 body.demoor-reference .elementor-image-gallery .gallery { margin-right: 0 !important; max-width: 100%; }
 body.demoor-reference .elementor-post-info.elementor-icon-list-items { margin-left: 0 !important; margin-right: 0 !important; max-width: 100%; }
 .demoor-header-language { margin-right: 8px; }
 .demoor-header-language select { max-width: 106px; padding-left: 6px; padding-right: 18px; font-size: 11px; }
 .demoor-header-language .gt_selector { max-width: 106px; padding-left: 6px; padding-right: 18px; font-size: 11px; }
 body.home.demoor-reference .elementor-element-cf7044b,
 body.home.demoor-reference .elementor-element-456ec81 { position: relative !important; height: auto !important; min-height: 0 !important; width: 100% !important; margin: 0 0 16px !important; }
 body.home.demoor-reference .elementor-element-cf7044b > .elementor-widget-container,
 body.home.demoor-reference .elementor-element-456ec81 > .elementor-widget-container { position: static !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
 body.home.demoor-reference .elementor-element-cf7044b .elementor-heading-title { position: static !important; line-height: 1.4 !important; }
 body.home.demoor-reference .elementor-element-456ec81 .elementor-heading-title { position: static !important; font-size: 26px !important; line-height: 1.3 !important; margin: 0 !important; }
}
