/*
Theme Name: China Garlic Export Expert v5.4.74 PRODUCT DETAIL ROUTE FIX
Theme URI: https://example.com/
Author: OpenAI
Description: v5.4.74 preserves the approved v5.4.73 design and fixes nested Product View Details routes that could display No content found.
Version: 5.4.74
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: china-garlic-export
*/
.garlic-lang-switch{display:inline-flex;align-items:center;gap:6px;margin-right:12px;font-size:12px;font-weight:700;white-space:nowrap}.garlic-lang-switch a{color:rgba(255,255,255,.72);text-decoration:none}.garlic-lang-switch a.active{color:#fff;text-decoration:underline;text-underline-offset:3px}.garlic-lang-switch span{color:rgba(255,255,255,.45)}
@media(max-width:820px){.garlic-lang-switch{margin-right:4px}.topbar .top-right>span{display:none}}

.garlic-video-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:24px}.garlic-video-modal.is-open{display:flex}.garlic-video-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.78);cursor:pointer}.garlic-video-dialog{position:relative;z-index:2;width:min(1000px,94vw);background:#050505;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.45);overflow:hidden}.garlic-video-close{position:absolute;right:10px;top:8px;z-index:3;width:38px;height:38px;border:0;border-radius:50%;background:rgba(0,0,0,.58);color:#fff;font-size:28px;line-height:1;cursor:pointer}.garlic-video-frame{aspect-ratio:16/9;background:#000}.garlic-video-frame iframe,.garlic-video-frame video{display:block;width:100%;height:100%;border:0;object-fit:contain}.garlic-video-trigger{cursor:pointer}


/* ===== v5.4.44 compact approved Yuehe logo ===== */
.header .logo{width:198px!important;flex:0 0 198px!important;display:flex!important;align-items:center!important}
.header .logo img{display:block!important;width:198px!important;height:auto!important;max-height:48px!important;object-fit:contain!important}
.footer-logo.footer-logo-v54{width:198px!important}
.footer-logo.footer-logo-v54 img{width:198px!important;height:auto!important;max-height:48px!important;object-fit:contain!important;filter:brightness(0) invert(1)!important}
@media(max-width:820px){.header .logo{width:176px!important;flex-basis:176px!important}.header .logo img{width:176px!important;max-height:43px!important}}
@media(max-width:520px){.header .logo{width:158px!important;flex-basis:158px!important}.header .logo img{width:158px!important;max-height:39px!important}}


/* ===== v5.4.47 Header logo larger + footer simplified brand ===== */
.header .logo{width:220px!important;flex:0 0 220px!important;display:flex!important;align-items:center!important}
.header .logo img{display:block!important;width:220px!important;height:auto!important;max-height:54px!important;object-fit:contain!important;object-position:left center!important}
.footer-logo.footer-logo-v54{width:190px!important}
.footer-logo.footer-logo-v54 img{display:block!important;width:190px!important;height:auto!important;max-height:48px!important;object-fit:contain!important;object-position:left center!important;filter:none!important}
@media(min-width:1180px){
  .header .logo{width:248px!important;flex-basis:248px!important}
  .header .logo img{width:248px!important;max-height:59px!important}
}
@media(max-width:820px){
  .header .logo{width:190px!important;flex-basis:190px!important}
  .header .logo img{width:190px!important;max-height:47px!important}
  .footer-logo.footer-logo-v54,.footer-logo.footer-logo-v54 img{width:176px!important}
}
@media(max-width:520px){
  .header .logo{width:170px!important;flex-basis:170px!important}
  .header .logo img{width:170px!important;max-height:42px!important}
}


/* ===== v5.4.65 exact approved garlic icon in footer lockup ===== */
.footer-logo.footer-logo-v54{width:190px!important}
.footer-logo.footer-logo-v54 img{display:block!important;width:190px!important;height:auto!important;max-height:48px!important;object-fit:contain!important;object-position:left center!important;filter:none!important}
@media(max-width:860px){.footer-logo.footer-logo-v54,.footer-logo.footer-logo-v54 img{width:170px!important}}

/* ===== v5.4.70 product category + nested detail SEO architecture ===== */
.product-group-page{background:#fff;color:#20352a}.product-group-container{width:min(1180px,calc(100% - 48px));margin:0 auto}.product-group-breadcrumb{padding:18px 0;border-bottom:1px solid #e7eee9;background:#fbfdfb}.product-group-breadcrumb .product-group-container{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:14px}.product-group-breadcrumb a{color:#47705a;text-decoration:none}.product-group-breadcrumb strong{color:#173c29}.product-group-hero{padding:70px 0 64px;background:linear-gradient(135deg,#eff8f1 0%,#f9fcf9 70%,#fff 100%)}.product-group-hero-inner{max-width:920px}.product-group-eyebrow,.product-group-heading>span,.product-group-seo-copy span{display:block;font-size:13px;letter-spacing:.16em;font-weight:800;color:#13733e;margin-bottom:12px}.product-group-hero h1{font-size:clamp(38px,5vw,64px);line-height:1.05;margin:0 0 22px;color:#153b28}.product-group-hero p{font-size:18px;line-height:1.75;max-width:860px;color:#52685b;margin:0}.product-group-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.product-group-hero-actions a,.product-group-seo-copy a{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:7px;background:#11743d;color:#fff;text-decoration:none;font-weight:800}.product-group-hero-actions a.secondary{background:#fff;color:#126b3a;border:1px solid #b8d7c3}.product-group-list{padding:72px 0}.product-group-heading{max-width:800px;margin-bottom:30px}.product-group-heading h2{font-size:clamp(30px,3.8vw,44px);line-height:1.15;margin:0 0 12px;color:#173c29}.product-group-heading p{color:#627368;line-height:1.7;margin:0}.product-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.product-group-card{border:1px solid #e1eae4;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(20,68,42,.06)}.product-group-card-image{display:block;aspect-ratio:16/10;overflow:hidden;background:#f5f7f5}.product-group-card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.product-group-card:hover .product-group-card-image img{transform:scale(1.025)}.product-group-card-body{padding:24px}.product-group-card-body h3{font-size:25px;line-height:1.25;margin:0 0 12px}.product-group-card-body h3 a{color:#173c29;text-decoration:none}.product-group-card-body p{color:#627368;line-height:1.65;margin:0 0 14px}.product-group-card-body ul{margin:0 0 18px;padding-left:20px;color:#4a6455;line-height:1.7}.product-group-detail-link{display:inline-flex;gap:7px;align-items:center;color:#0d713a;text-decoration:none;font-weight:800}.product-group-seo-copy{padding:52px 0 70px;background:#f3f8f4}.product-group-seo-copy .product-group-container{display:grid;grid-template-columns:.9fr 1.25fr auto;gap:34px;align-items:center}.product-group-seo-copy h2{font-size:32px;line-height:1.2;margin:0;color:#173c29}.product-group-seo-copy p{margin:0;color:#52685b;line-height:1.75}.product-group-empty{padding:30px;border:1px dashed #b8c9bd;border-radius:10px;background:#fbfdfb}.yuehe-auto-product-link{font-weight:700;text-underline-offset:2px}@media(max-width:850px){.product-group-container{width:min(100% - 30px,1180px)}.product-group-hero{padding:48px 0}.product-group-grid{grid-template-columns:1fr}.product-group-seo-copy .product-group-container{grid-template-columns:1fr}.product-group-seo-copy a{justify-self:start}}@media(max-width:520px){.product-group-container{width:min(100% - 22px,1180px)}.product-group-list{padding:48px 0}.product-group-card-body{padding:20px}}
