/*
Theme Name: Fuyaxuan 1:1
Theme URI: https://gdoumaisi.com
Description: Full 1:1 rebuild of the original AspCMS "fuyaxian" template as a dynamic WordPress theme.
Version: 1.0.0
Author: WorkBuddy migration
License: GPLv2 or later
Text Domain: fuyaxuan
*/

/* Language switch (header top) */
.fyx-lang-switch{display:inline-flex;gap:6px;align-items:center;margin-left:14px;white-space:nowrap}
.fyx-lang-switch a{color:inherit;text-decoration:none;opacity:.65;font-weight:600;transition:opacity .2s}
.fyx-lang-switch a:hover,.fyx-lang-switch a.is-active{opacity:1;text-decoration:underline}

/* WordPress content inside the legacy layout */
.fyx-wp-content{font-size:16px;line-height:1.9;color:inherit}
.fyx-wp-content img{max-width:100%;height:auto}
.fyx-wp-content figure{margin:0 0 20px}
.fyx-wp-content p{margin:0 0 18px}
.fyx-wp-content h2,.fyx-wp-content h3{margin:24px 0 14px}

/* Pagination */
.fyx-pagination{margin:38px 0 10px;text-align:center}
.fyx-pagination .page-numbers{display:inline-flex;gap:8px;list-style:none;padding:0;margin:0;flex-wrap:wrap;justify-content:center}
.fyx-pagination li{list-style:none}
.fyx-pagination .page-numbers,.fyx-pagination a,.fyx-pagination span.current{display:inline-block;min-width:38px;padding:8px 13px;border:1px solid rgba(0,0,0,.15);border-radius:2px;color:inherit;text-decoration:none}
.fyx-pagination span.current{background:var(--main-color,#d98c33);border-color:var(--main-color,#d98c33);color:#fff}

/* Fallback only when the GSAP preloader fails (see inline guard in footer). */
html.fyx-no-gsap .preloader.interior{display:none!important}

/* Progressive enhancement: once the page has settled, force the visible end
   state of animation-dependent blocks. Native animations run first (load+2.6s);
   this only rescues them if the legacy JS chain failed partway through. */
html.fyx-settled .wow,
html.fyx-settled [class*="fadeIn"],
html.fyx-settled .title-anim,
html.fyx-settled .sec-title_title,
html.fyx-settled .slider-three_heading,
html.fyx-settled .slider-three_text,
html.fyx-settled .slider-three_button,
html.fyx-settled .slider-three_title,
html.fyx-settled .trans-300,
html.fyx-settled .trans-500,
html.fyx-settled .trans-900,
html.fyx-settled .img-reveal,
html.fyx-settled .img-reveal_two{opacity:1!important;visibility:visible!important;clip-path:none!important;transform:none!important;animation:none!important}
html.fyx-settled .slider-three_heading *,
html.fyx-settled .sec-title_title *,
html.fyx-settled .title-anim *,
html.fyx-settled .slider-three_button *,
html.fyx-settled .slider-three_text *{opacity:1!important;visibility:visible!important;clip-path:none!important;transform:none!important}
/* GSAP animates the inner <img> of reveal containers with xPercent + scale; if
   ScrollTrigger never fires the image is pushed out of its overflow:hidden box,
   leaving only a thin strip. Force its end state too. */
html.fyx-settled .img-reveal img,
html.fyx-settled .img-reveal_two img{opacity:1!important;visibility:visible!important;transform:none!important;clip-path:none!important;max-width:100%!important}
/* Product detail pages whose source data had no body copy. */
.fyx-spec-list{list-style:none;margin:18px 0 22px;padding:0}
.fyx-spec-list li{position:relative;padding:7px 0 7px 22px;border-bottom:1px solid rgba(0,0,0,.08);font-size:15px}
.fyx-spec-list li:before{content:"";position:absolute;left:2px;top:16px;width:7px;height:7px;background:var(--main-color,#d98c33);border-radius:50%}
.fyx-detail-cta{margin-top:8px}
.fyx-detail-cta .theme-btn{margin-right:12px}
