/* zhuan-ys-blocks · 全站：页头 + 产品详情页，照我们导图演示的样子（深蓝 #0B1B33、红 #D9261C、Manrope / Inter）。只改样子，不改杨专子主题代码。 */

/*zhuan-ys-topbar 顶条*/
.ast-above-header-bar{background:#0B1B33 !important;border:0 !important}
.ast-above-header-bar .ast-builder-grid-row,.ast-above-header-bar .site-header-above-section-center{width:100%;justify-content:stretch}
.ast-above-header-bar .widget,.ast-above-header-bar .widget_custom_html,.ast-above-header-bar .custom-html-widget{width:100%;margin:0}
.zys-topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;font:13px/1 Inter,system-ui,sans-serif;color:#C9D3E3;width:100%}
.zys-topbar .r{display:flex;gap:20px;align-items:center}
.zys-topbar a{color:#fff !important;text-decoration:none}
@media (max-width:767px){.zys-topbar .l{display:none}.zys-topbar{justify-content:center}}

/*zhuan-ys-header 主页头*/
.ast-primary-header-bar{border-bottom:1px solid #E3E8F0 !important;box-shadow:none !important}
.main-header-menu .menu-item>.menu-link{font:600 15px Inter,system-ui,sans-serif !important;color:#24324A !important;white-space:nowrap}
.main-header-menu>.menu-item>.menu-link:hover,.main-header-menu>.current-menu-item>.menu-link,.main-header-menu>.current-menu-ancestor>.menu-link{color:#D9261C !important}
.main-header-menu>.current-menu-item>.menu-link{box-shadow:inset 0 -2px 0 #D9261C}
.main-header-menu .zys-new>.menu-link:after{content:"NEW";display:inline-block;background:#D9261C;color:#fff;font:700 10px/1.6 Inter,sans-serif;border-radius:10px;padding:0 6px;margin-inline-start:5px;vertical-align:top}
.main-header-menu .sub-menu{border-top:2px solid #D9261C !important;border-radius:0 0 10px 10px;box-shadow:0 10px 30px rgba(11,27,51,.12)}
.ast-header-button-1 .ast-custom-button,.ast-header-button-1 .menu-link{background:#D9261C !important;color:#fff !important;border:0 !important;border-radius:10px !important;padding:10px 16px !important;font:700 14px Inter,system-ui,sans-serif !important;white-space:nowrap;writing-mode:horizontal-tb !important}
.ast-header-button-1 .ast-custom-button:hover{background:#B71D14 !important}
.site-header .custom-logo{max-height:52px;width:auto}

/*zhuan-ys-product 产品详情页*/
.single-product .zys-eyebrow{font:700 13px Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#D9261C;margin-bottom:8px}
.single-product .product_title{font:800 30px/1.2 Manrope,Inter,sans-serif !important;color:#0B1B33 !important;letter-spacing:-.01em}
.single-product .summary .price{color:#D9261C !important;font:800 24px Manrope,Inter,sans-serif !important}
.single-product .woocommerce-product-gallery .flex-viewport,.single-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:only-child{border:1px solid #E3E8F0;border-radius:18px;overflow:hidden;background:#fff}
/* 10-31 林达：大图点缩略图后卡在左边、露出上一张。轮播每张算宽度不算边框，原来每张图自己也有 1px 边框，每翻一张多偏 2px（第 20 张偏 40px）；边框只留外框，只有一张图（没有轮播）时那张自己带框 */
.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image{border:0;border-radius:0;overflow:hidden;background:#fff}
.zys-facts{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #E3E8F0;border-radius:14px;margin:16px 0;overflow:hidden;background:#fff}
.zys-facts div{padding:14px 8px;border-inline-end:1px solid #E3E8F0;text-align:center}
.zys-facts div:last-child{border-inline-end:0}
.zys-facts b{display:block;font:800 19px Manrope,Inter,sans-serif;color:#0B1B33}
.zys-facts span{font-size:12px;color:#5A687D}
.zys-cta-row{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 12px}
.zys-btn-red,.zys-btn-line{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:12px 20px;font:700 15px Inter,sans-serif;text-decoration:none !important}
.zys-btn-red{background:#D9261C;color:#fff !important}
.zys-btn-red:hover{background:#B71D14}
.zys-btn-line{border:2px solid #0B1B33;color:#0B1B33 !important}
.zys-pills{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.zys-pills span{font:600 13px Inter,sans-serif;color:#2B3950;background:#F4F6FA;border-radius:8px;padding:6px 10px}
.single-product .single_add_to_cart_button{background:#0B1B33 !important;border-radius:10px !important}
.single-product .woocommerce-tabs ul.tabs li.active a{color:#D9261C !important}
@media (max-width:767px){.zys-facts{grid-template-columns:repeat(2,1fr)}.zys-facts div:nth-child(2){border-inline-end:0}.single-product .product_title{font-size:24px !important}}

/*zhuan-ys-fixes 修正*/
.site-header-primary-section-center{flex:1 1 auto;justify-content:center}
/* 电脑版菜单一行不换行；只管电脑版那两份菜单，手机菜单（#ast-hf-mobile-menu）要竖着排 */
#ast-hf-menu-1,#ast-hf-menu-1-sticky{flex-wrap:nowrap !important}
#ast-hf-menu-1>.menu-item>.menu-link,#ast-hf-menu-1-sticky>.menu-item>.menu-link{padding-left:12px !important;padding-right:12px !important}
/* 922–1359 宽（小笔记本、iPad 横屏；他主题 1300 起才显示红色询价按钮）：logo + 7 项菜单 + 右边图标放不下，整页会横着滚。
   菜单收紧、logo 缩小，邮箱/WhatsApp 图标藏掉（顶条里有） */
@media (min-width:922px) and (max-width:1359px){
  #ast-hf-menu-1>.menu-item>.menu-link,#ast-hf-menu-1-sticky>.menu-item>.menu-link{padding-left:8px !important;padding-right:8px !important;font-size:14px !important}
  .site-header .custom-logo{max-height:44px}
  .site-primary-header-wrap .ast-header-html-1{display:none !important}
}
@media (min-width:922px) and (max-width:1060px){
  #ast-hf-menu-1>.menu-item>.menu-link,#ast-hf-menu-1-sticky>.menu-item>.menu-link{padding-left:6px !important;padding-right:6px !important;font-size:13px !important}
  .site-header .custom-logo{max-height:36px}
  .main-header-menu .zys-new>.menu-link:after{margin-inline-start:3px;padding:0 4px}
}
/* 手机、平板竖屏的菜单：竖排一行一项，好点 */
#ast-hf-mobile-menu{flex-direction:column !important;flex-wrap:nowrap !important;width:100%}
#ast-hf-mobile-menu>.menu-item{width:100%;border-bottom:1px solid #E3E8F0}
#ast-hf-mobile-menu>.menu-item>.menu-link{padding:14px 20px !important;font-size:16px !important;box-shadow:none !important}
/* 360 宽的安卓小屏：logo + 邮箱 + WhatsApp + 搜索 + 菜单按钮放不下，菜单按钮被挤出屏幕、整页横着晃。小屏藏邮箱图标（WhatsApp 留着） */
@media (max-width:389px){.ast-mobile-header-wrap .zhuan-contact-us-ico .nav-email{display:none !important}}
/* 他的品牌故事页“团队介绍”左右各拉出 24px，手机上页面边距只有 20px，多出 4px 横着晃 */
@media (max-width:544px){.zhuan-team_introduction{margin-left:-20px !important;margin-right:-20px !important}}
/* 杨专多语言插件的悬浮语言框（10-21 改）。他插件本来是右边中间一个竖卡片下拉，但他的脚本被 LiteSpeed 推迟到访客动鼠标、碰屏幕才跑，
   没跑之前露出的是 6 个语言名排成一长排（1280 宽有 609px，压住规格表）；就算变成竖卡片，也压住产品页右栏，手机上挪到左下角也还压正文。
   改成不悬浮：放进页头最上面的深蓝条右边（国旗 + 语言名 + 小箭头，点开往下弹语言列表），跟页面一起滚走，不压任何内容。
   电脑（≥922，他主题有顶条）放顶条右边空处；平板、手机（<922 没顶条）在手机页头上面加一条 34px 深蓝条放它。阿拉伯语页从右往左排，放左边。
   只改样子，不动他插件；他后台换挂件位置也照样生效 */
.zm-switcher.zm-floater{position:absolute !important;top:0 !important;bottom:auto !important;right:20px !important;left:auto !important;transform:none !important;height:38px;display:flex;align-items:center;z-index:100 !important;max-width:none;opacity:1 !important}
.rtl .zm-switcher.zm-floater{right:auto !important;left:20px !important}
.zm-switcher.zm-floater .zm-eye-btn{display:none !important}
.zm-switcher.zm-floater.zm-hidden .zm-switcher-wrap{display:inline-block !important}
/* 按钮：深蓝条上的细边小胶囊 */
.zm-floater .zm-switcher-wrap.zm-card .zm-dd-btn,.zm-floater .zm-switcher-wrap:not(.zm-dropdown) a.zm-lang{flex-direction:row;gap:6px;height:28px;min-width:0;max-width:none;padding:0 9px;background:transparent;color:#fff !important;border:1px solid rgba(255,255,255,.3);border-radius:8px;box-shadow:none;font:500 13px/1 Inter,system-ui,sans-serif;transform:none}
.zm-floater .zm-switcher-wrap.zm-card .zm-dd-btn:hover,.zm-floater .zm-switcher-wrap.zm-card .zm-dd.zm-open .zm-dd-btn{border-color:rgba(255,255,255,.75);box-shadow:none}
.zm-floater .zm-switcher-wrap.zm-card .zm-dd-btn>*+*{margin-left:0}
.zm-floater .zm-dd-current{display:inline-flex;align-items:center;gap:6px}
.zm-floater .zm-switcher-wrap.zm-card .zm-dd-btn .zm-name,.zm-floater .zm-switcher-wrap:not(.zm-dropdown) .zm-name{display:inline;margin:0;font:inherit;white-space:nowrap;max-width:none}
.zm-floater .zm-dd-btn img.zm-flag-img,.zm-floater .zm-switcher-wrap:not(.zm-dropdown) img.zm-flag-img{width:21px;height:14px;border-color:rgba(255,255,255,.25)}
.zm-floater .zm-dd-btn .zm-caret{color:#C9D3E3}
/* 脚本还没跑：只露当前语言一个，点了不跳（等他脚本跑起来再点就弹列表），右边画个小箭头 */
.zm-floater .zm-switcher-wrap:not(.zm-dropdown){display:flex;align-items:center}
.zm-floater .zm-switcher-wrap:not(.zm-dropdown) a.zm-lang:not(.zm-current){display:none}
.zm-floater .zm-switcher-wrap:not(.zm-dropdown):not(:has(.zm-current)) a.zm-lang:first-child{display:inline-flex}
.zm-floater .zm-switcher-wrap:not(.zm-dropdown) a.zm-lang{pointer-events:none}
.zm-floater .zm-switcher-wrap:not(.zm-dropdown) a.zm-lang::after{content:"";width:5px;height:5px;margin:-3px 1px 0 1px;border:solid #C9D3E3;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
/* 弹出的语言列表：字和颜色换成我们的 */
.zm-floater .zm-dd-panel{width:max-content;border-color:#E3E8F0;border-radius:10px;box-shadow:0 10px 30px rgba(11,27,51,.16)}
.zm-floater .zm-dd-panel a.zm-lang{font:500 14px/1.2 Inter,system-ui,sans-serif;color:#24324A !important;padding:9px 12px}
.zm-floater .zm-dd-panel .zm-name{max-width:none}
.zm-floater .zm-dd-panel a.zm-lang:hover{background:#F4F6FA}
.zm-floater .zm-dd-panel a.zm-current{font-weight:700;color:#0B1B33 !important;background:#F4F6FA}
/* 922–1099 宽：顶条文字到 830 左右，右边空处放不下语言名，只露国旗 + 箭头 */
@media (min-width:922px) and (max-width:1099px){.zm-floater .zm-dd-btn .zm-name,.zm-floater .zm-switcher-wrap:not(.zm-dropdown) .zm-name{display:none !important}}
/* 平板、手机：页头上面加深蓝条 */
@media (max-width:921px){
  #masthead{border-top:34px solid #0B1B33}
  .zm-switcher.zm-floater{height:34px}
}
#primary:has(.zhuan-ys:first-child),.site-content .ast-container:has(.zhuan-ys .hero),.site-content .ast-container:has(.zhuan-ys .page-hero){margin-top:0 !important;padding-top:0 !important}
.entry-content:has(> .zhuan-ys) > p:empty{display:none}
.single-product .summary .ast-woo-product-category{display:none}
/* 他主题在页面里放了一个空标题区（带 60px 下边距），会把我们的首屏往下推，我们的页面上藏掉 */
article:has(.zhuan-ys) > .entry-header.ast-header-without-markup{display:none}
/* 产品页标题上面我们已经有“分类 · 型号”一行，他主题自带的分类名藏掉 */
.single-product .summary .single-product-category,.single-product .summary .ast-woo-product-category{display:none !important}
/* 他的面包屑条：留着（SEO），字和颜色换成我们的 */
.ast-breadcrumbs-wrapper{font:500 13px Inter,system-ui,sans-serif !important;color:#5A687D !important}
.ast-breadcrumbs-wrapper a{color:#5A687D !important}
.ast-breadcrumbs-wrapper .trail-end{color:#0B1B33 !important}
.zys-no-price .summary .stock.out-of-stock{color:#0B1B33 !important;font:700 16px Inter,sans-serif;background:#F4F6FA;border-inline-start:4px solid #D9261C;border-radius:8px;padding:10px 14px}
/* 批发阶梯价 */
.zys-tiers{border:1px solid #E3E8F0;border-radius:14px;overflow:hidden;margin:4px 0 14px;background:#fff;font-family:Inter,system-ui,sans-serif}
.zys-tiers-h{background:#0B1B33;color:#fff;font:700 12px Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:8px 14px}
.zys-tiers-row{display:grid;grid-template-columns:repeat(3,1fr)}
.zys-tiers-row>div{padding:12px 14px;border-inline-end:1px solid #E3E8F0}
.zys-tiers-row>div:last-child{border-inline-end:0}
.zys-tiers-row span{display:block;font-size:13px;color:#5A687D;font-weight:500}
.zys-tiers-row b,.zys-tiers-row b .amount{font:800 22px Manrope,Inter,sans-serif;color:#D9261C}
.zys-tiers-f{border-top:1px solid #E3E8F0;padding:9px 14px;font-size:13px;color:#2B3950;background:#F4F6FA}
.zys-tiers-f a{color:#D9261C;font-weight:700}
.zys-from{font:700 15px Inter,sans-serif;color:#0B1B33}
@media (max-width:767px){.zys-tiers-row b,.zys-tiers-row b .amount{font-size:18px}.zys-tiers-row>div{padding:10px}}
.zys-tiers-row b bdi,.zys-tiers-row b .woocommerce-Price-currencySymbol,.zys-from bdi,.zys-from .woocommerce-Price-currencySymbol{display:inline !important;font:inherit !important;color:inherit !important;margin:0 !important;vertical-align:baseline !important}
/* 报价框（10-31 quote.php）：阶梯表下面输数量 → 单价、合计；落在哪档那格加底色；留邮箱表单收着，点了才展开 */
.zys-tiers-row>div.on{background:#FDECEC}
.zys-tiers-more{display:block;font:600 12px/1.3 Inter,sans-serif;font-style:normal;color:#D9261C;margin-top:2px}
.zys-tiers-more .amount,.zys-tiers-more bdi{font:inherit !important;color:inherit !important}
.zys-q{border-top:1px solid #E3E8F0;padding:12px 14px 14px;font-size:14px;color:#2B3950}
.zys-q-in{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.zys-q-l{display:flex;flex-direction:column;gap:4px;font:600 13px Inter,sans-serif;color:#0B1B33;margin:0}
.zys-q-l input{width:130px;height:44px;border:1px solid #C9D2DE;border-radius:10px;padding:0 12px;font:700 18px Inter,sans-serif;color:#0B1B33;background:#fff}
.zys-q-l em{display:none}
.zys-q-out{display:flex;gap:18px;flex:1;min-width:200px}
.zys-q-out span{display:block;font-size:12px;color:#5A687D;font-weight:500}
.zys-q-out b,.zys-q-out b .amount{font:800 20px Manrope,Inter,sans-serif;color:#0B1B33}
.zys-q-out .zys-q-u,.zys-q-out .zys-q-u .amount{color:#D9261C}
.zys-q-n{margin:8px 0 0;font-size:13px;color:#2B3950}
.zys-q-n .amount{font-weight:700}
.zys-q-s{margin:8px 0 0;font-size:13px;color:#5A687D}
.zys-q-open,.zys-q-send{margin-top:12px;border:0;border-radius:999px;background:#D9261C;color:#fff;font:700 14px Inter,sans-serif;padding:11px 20px;cursor:pointer}
.zys-q-open:hover,.zys-q-send:hover{background:#B81F17}
.zys-q-pl{background:#fff;color:#D9261C;border:1px solid #D9261C}
.zys-q-pl:hover{background:#FDECEC;color:#B81F17}
.zys-q-more{margin:10px 0 0;font-size:13px;color:#5A687D}
.zys-q-more .zys-q-sheet{margin:0 6px 0 0;padding:0;border:0;background:none;color:#D9261C;font:700 14px Inter,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.zys-q-more .zys-q-sheet:hover{background:none;color:#B81F17}
/* 专属报价单页（10-31 quote-sheet.php） */
.zys-sh{max-width:1100px;margin:24px auto 48px;padding:0 16px;font:14px/1.5 Inter,system-ui,sans-serif;color:#2B3950}
.zys-sh h2{font:800 28px/1.15 Manrope,Inter,sans-serif;color:#0B1B33;margin:0 0 4px}
.zys-sh-h3{font:800 20px Manrope,Inter,sans-serif;color:#0B1B33;margin:28px 0 10px}
.zys-sh-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.zys-sh-who{margin:0;color:#5A687D}
.zys-sh-acts{display:flex;gap:8px;flex-wrap:wrap}
.zys-sh-wa,.zys-sh-print{display:inline-flex;align-items:center;border-radius:999px;padding:9px 16px;font:700 13px Inter,sans-serif;cursor:pointer;text-decoration:none}
.zys-sh-wa{background:#25D366;color:#fff;border:0}.zys-sh-print{background:#fff;color:#0B1B33;border:1px solid #C9D2DE}
.zys-sh-note{background:#F4F6FA;border-radius:10px;padding:10px 12px;font-size:13px}
.zys-sh-tb{width:100%;border-collapse:collapse;margin-top:12px;background:#fff;border:1px solid #E3E8F0;border-radius:12px;overflow:hidden}
.zys-sh-tb th{background:#0B1B33;color:#fff;font:700 12px Inter,sans-serif;letter-spacing:.04em;text-align:left;padding:9px 10px}
.zys-sh-tb td{padding:8px 10px;border-top:1px solid #E3E8F0;vertical-align:middle}
.zys-sh-tb td a{display:flex;align-items:center;gap:8px;color:#0B1B33;text-decoration:none}
.zys-sh-tb img{width:44px;height:44px;object-fit:contain}
.zys-sh-tb input{width:110px;height:38px;border:1px solid #C9D2DE;border-radius:8px;padding:0 10px;font:700 15px Inter,sans-serif}
.zys-sh-tb tfoot td{font:800 16px Inter,sans-serif;color:#0B1B33;background:#F4F6FA}
.zys-sh-sum{color:#D9261C !important}
.zys-sh-x{border:0;background:none;font-size:20px;color:#8A96A8;cursor:pointer}
.zys-sh-low{color:#8A96A8;font-size:12px}
.zys-sh-empty{color:#5A687D;margin:12px 0}
.zys-sh-send{display:grid;grid-template-columns:1fr 2fr auto;gap:10px;align-items:end;margin-top:14px}
.zys-sh-send label{display:flex;flex-direction:column;gap:3px;font:600 12px Inter,sans-serif;color:#0B1B33;margin:0}
.zys-sh-send input{height:40px;border:1px solid #C9D2DE;border-radius:8px;padding:0 10px;font:400 14px Inter,sans-serif}
.zys-sh-btn{display:inline-block;border:0;border-radius:999px;background:#D9261C;color:#fff;font:700 14px Inter,sans-serif;padding:11px 20px;cursor:pointer;text-decoration:none}
.zys-sh-btn:hover{background:#B81F17;color:#fff}
.zys-sh-msg{grid-column:1/-1;font-size:13px;color:#14532D}
.zys-sh-cats{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.zys-sh-cats button{border:1px solid #C9D2DE;background:#fff;border-radius:999px;padding:6px 12px;font:600 12px Inter,sans-serif;color:#2B3950;cursor:pointer}
.zys-sh-cats button.on{background:#0B1B33;border-color:#0B1B33;color:#fff}
.zys-sh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.zys-sh-card{display:flex;flex-direction:column;gap:3px;background:#fff;border:1px solid #E3E8F0;border-radius:12px;padding:10px}
.zys-sh-card img{width:100%;aspect-ratio:1;object-fit:contain}
.zys-sh-card b{font:800 15px Manrope,Inter,sans-serif;color:#0B1B33}
.zys-sh-card span{font-size:12px;color:#5A687D;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.zys-sh-card em{font-style:normal;font:700 13px Inter,sans-serif;color:#D9261C}
.zys-sh-card button{margin-top:4px;border:1px solid #D9261C;background:#fff;color:#D9261C;border-radius:999px;padding:7px;font:700 13px Inter,sans-serif;cursor:pointer}
.zys-sh-card button:disabled{border-color:#C9D2DE;color:#8A96A8;cursor:default}
.zys-sh-foot{margin-top:20px;color:#5A687D}
.zys-sh-gate{background:#F4F6FA;border-radius:14px;padding:24px}
@media (max-width:767px){.zys-sh-send{grid-template-columns:1fr}.zys-sh-grid{grid-template-columns:repeat(2,1fr)}.zys-sh h2{font-size:23px}
 .zys-sh-tb,.zys-sh-tb tbody,.zys-sh-tb tfoot{display:block;border:0;background:none}.zys-sh-tb thead{display:none}
 .zys-sh-tb tr{display:grid !important;grid-template-columns:1fr auto 30px;grid-template-areas:"m q x" "u s x";align-items:center;gap:4px 10px;background:#fff;border:1px solid #E3E8F0;border-radius:12px;padding:10px;margin-bottom:8px}
 .zys-sh-tb td{display:block;border:0 !important;padding:0 !important;width:auto !important}
 .zys-sh-tb td:nth-child(1){grid-area:m}.zys-sh-tb td:nth-child(2){grid-area:q}.zys-sh-tb td:nth-child(3){grid-area:u;font-size:13px;color:#5A687D}.zys-sh-tb td:nth-child(4){grid-area:s;text-align:right;font-weight:700;color:#0B1B33}.zys-sh-tb td:nth-child(5){grid-area:x}
 .zys-sh-tb td a b{white-space:nowrap}.zys-sh-tb input{width:96px}
 .zys-sh-tb tfoot tr{grid-template-columns:1fr auto;grid-template-areas:"t v";background:#F4F6FA}.zys-sh-tb tfoot td:nth-child(1){grid-area:t}.zys-sh-tb tfoot td:nth-child(2){grid-area:v}.zys-sh-tb tfoot td:nth-child(3){display:none}}
@media print{body *{visibility:hidden}.zys-sh,.zys-sh *{visibility:visible}.zys-sh{position:absolute;left:0;top:0;width:100%}.zys-sh-h3,.zys-sh-cats,.zys-sh-grid,.zys-sh-send,.zys-sh-acts,.zys-sh-x{display:none !important}}
.zys-q-okpl{margin:12px 0 0;padding:10px 12px;border-radius:10px;background:#EAF7EF;color:#14532D;font-size:14px}
.zys-q-okpl a{color:#14532D;font-weight:700}
.zys-q-send[disabled]{opacity:.6;cursor:default}
.zys-q-f{margin-top:12px}
.zys-q-ft{margin:0 0 8px;font-size:13px;color:#2B3950}
.zys-q-g{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}
.zys-q-g label{display:flex;flex-direction:column;gap:3px;font:600 12px Inter,sans-serif;color:#0B1B33;margin:0}
.zys-q-g input{height:40px;border:1px solid #C9D2DE;border-radius:8px;padding:0 10px;font:400 14px Inter,sans-serif;background:#fff;width:100%}
.zys-q-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
.zys-q-pv{margin:8px 0 0;font-size:12px;color:#5A687D}
.zys-q-pv a{color:#D9261C}
.zys-q-err{display:block;margin-top:6px;font-size:13px;color:#D9261C}
.zys-q-ok{margin:12px 0 0;padding:10px 12px;border-radius:10px;background:#EAF7EF;color:#14532D;font-size:14px}
.zys-q-out bdi,.zys-q-out .woocommerce-Price-currencySymbol,.zys-q-n bdi,.zys-q-s bdi,.zys-q-n .woocommerce-Price-currencySymbol,.zys-q-s .woocommerce-Price-currencySymbol{display:inline !important;font:inherit !important;color:inherit !important;margin:0 !important;vertical-align:baseline !important}
@media (max-width:767px){.zys-q-g{grid-template-columns:1fr}.zys-q-l input{width:110px}.zys-q-out b,.zys-q-out b .amount{font-size:18px}}
/* 颜色选择：图齐 → 图片小方块 + 颜色名；图不齐 → 圆点 */
.zys-sw-img{gap:12px !important;margin-bottom:22px}
.zys-sw-img .zhuan-wooCommerce-color-option--detail{width:64px !important;height:64px !important;border-radius:12px !important;background-color:#fff !important;background-size:cover !important;background-position:center !important;border:1px solid #E3E8F0 !important;box-shadow:none !important;transform:none !important}
.zys-sw-img .zhuan-wooCommerce-color-option--detail:hover{border-color:#0B1B33 !important}
.zys-sw-img .zhuan-wooCommerce-color-option--detail.selected{border:2px solid #D9261C !important;box-shadow:0 0 0 3px rgba(217,38,28,.15) !important}
.zys-sw-name{position:absolute;left:-6px;right:-6px;top:100%;margin-top:4px;font:500 11px/1.2 Inter,system-ui,sans-serif;color:#5A687D;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zys-sw-dot{gap:10px !important}
.zys-sw-dot .zhuan-wooCommerce-color-option--detail{width:30px !important;height:30px !important;border:0 !important;box-shadow:inset 0 0 0 1px rgba(11,27,51,.12) !important}
.zys-sw-dot .zhuan-wooCommerce-color-option--detail.zys-light{box-shadow:inset 0 0 0 1px #CBD4E1 !important}
.zys-sw-dot .zhuan-wooCommerce-color-option--detail.selected{box-shadow:0 0 0 2px #fff,0 0 0 4px #D9261C !important}
/* 手机上“Color”标签和颜色块原来左右两栏，颜色块被挤到右边、4 个色要排两行；改成标签在上、颜色块靠左一行排开 */
@media (max-width:767px){
  .single-product table.variations tr{flex-direction:column;align-items:flex-start}
  .single-product table.variations td.value,.single-product table.variations th.label,.single-product table.variations td.label{width:100% !important;max-width:100% !important;padding-inline-start:0 !important}
}
/* 同一颜色分几个规格：小胶囊（颜色点 + 全名） */
.zys-sw-chip{gap:8px !important}
.zys-sw-chip .zhuan-wooCommerce-color-option--detail{width:auto !important;height:34px !important;border-radius:17px !important;background:#fff !important;border:1px solid #CBD4E1 !important;box-shadow:none !important;padding:0 12px 0 32px;display:inline-flex !important;align-items:center;transform:none !important}
.zys-sw-chip .zhuan-wooCommerce-color-option--detail::before{content:"";position:absolute;inset-inline-start:8px;top:50%;width:18px;height:18px;margin-top:-9px;border-radius:50%;background:var(--c,#ccc);box-shadow:inset 0 0 0 1px rgba(11,27,51,.18)}
.zys-sw-chip .zhuan-wooCommerce-color-option--detail:hover{border-color:#0B1B33 !important}
.zys-sw-chip .zhuan-wooCommerce-color-option--detail.selected{border:2px solid #D9261C !important;box-shadow:none !important}
.zys-sw-chip .zys-sw-name{position:static;margin:0;font:600 12px/1 Inter,system-ui,sans-serif;color:#24324A;overflow:visible}
/* 右栏（价格表、颜色图）比左边图片高时，下面的规格表要等两栏都结束再排，不然被压住 */
.single-product div.product > .zhuan-ys,.single-product .woocommerce-tabs{clear:both}
/* 没标价的款：颜色摆出来看 */
.zys-colors-static{margin:6px 0 16px}
.zys-colors-label{font:600 14px Inter,system-ui,sans-serif;color:#0B1B33;margin-bottom:8px}
.zys-colors-static .selected-color-name{font-weight:400;color:#5A687D}
/* 视频弹窗 */
.zys-modal{position:fixed;inset:0;z-index:999999;background:rgba(5,12,24,.9);display:flex;align-items:center;justify-content:center;padding:24px 16px}
.zys-modal-box{position:relative;max-width:min(94vw,1100px)}
.zys-modal video{display:block;max-width:100%;border-radius:12px;background:#000;object-fit:contain}
.zys-modal-x{position:absolute;top:-50px;inset-inline-end:0;width:38px;height:38px;border-radius:50%;border:0;background:#fff;color:#0B1B33;font:400 24px/38px Inter,sans-serif;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.35);padding:0}
.zys-vbar{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px}
.zys-vbar .zys-gal-go{display:inline-block;background:#D9261C;color:#fff;border-radius:8px;padding:8px 18px;font:600 14px/1.3 Inter,system-ui,sans-serif;text-decoration:none;border:2px solid #D9261C}
.zys-vbar .zys-gal-go.line{background:#fff;color:#0B1B33;border-color:#fff}.zys-vbar .zys-gal-go:hover{opacity:.9}
/* 页脚社交图标：10-20 林达定“有真账号再放出来”，原来整排藏掉；10-22 开了 YouTube 频道，整排放出来，没账号的 Facebook / Twitter / Instagram 在 Astra 页脚设置里关掉（正式站/页脚藏空链接图标.php） */
@media (min-width:922px){.site-footer [data-section="section-fb-social-icons-1"] .ast-builder-social-element:first-child{padding-inline-start:0}[dir=rtl] .site-footer [data-section="section-fb-social-icons-1"] .footer-social-inner-wrap{text-align:right}}   /* 电脑上靠左排，第一个图标去掉 Astra 默认左边距，和上面联系方式的图标对齐；阿拉伯语靠右（Astra 设置里电脑写死“靠左”） */

/* 商店页、分类页卡片上的颜色小图（10-28，includes/shop-colors.php）：图下面一排，最多露 5 个，多的 +N（手机一排一张卡，一样大）；只有一个颜色的空一行，标题对齐 */
.zys-cc{display:flex;align-items:center;gap:6px;min-height:50px;padding:10px 15px 0;box-sizing:border-box;flex-wrap:nowrap;overflow:hidden}
.zys-cc-i{flex:none;display:block;width:36px;height:36px;box-sizing:border-box;border:1px solid #DCE1EA;border-radius:8px;padding:2px;background:#fff;overflow:hidden;transition:border-color .15s}
.zys-cc-i img{display:block;width:100%;height:100%;object-fit:cover;border-radius:5px}
.zys-cc-i.cl{background:var(--c);box-shadow:inset 0 0 0 3px #fff}
.zys-cc-i:hover,.zys-cc-i.on{border:2px solid #1B2A44;padding:1px}
.zys-cc-i.cl:hover,.zys-cc-i.cl.on{box-shadow:inset 0 0 0 2px #fff}
.zys-cc .x5{display:none}
.zys-cc-more{flex:none;font-size:13px;font-weight:600;color:#5B6576;text-decoration:none;padding:0 2px}
.zys-cc-more:hover{color:#1B2A44}
li.product:has(.zys-cc .ph) .show-on-hover{display:none!important}
