/* Component route: docs/planning/2026-10-16_运营反馈修复_Codex指令/OPS-B5.md. */
html body .gk-b5-card{box-sizing:border-box;display:flex;flex-direction:column;min-width:0;width:100%;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--gk-text,#1d211f);font-family:var(--gk-font-ui,Inter,Arial,sans-serif)}
html body .gk-b5-card.gk-home-product-card .gk-b5-card__image{position:relative;display:block!important;flex:0 0 auto!important;aspect-ratio:1!important;width:100%!important;min-width:0;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#f5f5f5!important;overflow:hidden}
html body .gk-b5-card.gk-home-product-card .gk-b5-card__image img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;mix-blend-mode:multiply;border:0!important;border-radius:0!important}
html body .gk-b5-card.gk-home-product-card .gk-b5-card__badge{position:absolute!important;z-index:2;left:7px;top:7px;display:inline-flex!important;width:auto;max-width:calc(100% - 14px);height:auto;min-height:0;margin:0!important;padding:3px 5px!important;background:#f1e7d7!important;color:#6f5b3f!important;font:500 9px/1.1 var(--gk-font-ui,Inter,Arial,sans-serif)!important;letter-spacing:.02em;border:0!important;border-radius:2px!important}
html body .gk-b5-card.gk-home-product-card .gk-b5-card__body{box-sizing:border-box;display:flex;flex-direction:column;gap:0;flex:0 0 auto;min-width:0;min-height:55px;max-width:100%;padding:6px 0 0!important;margin:0!important;background:transparent!important}
html body .gk-b5-card.gk-home-product-card .gk-b5-card__title{display:block!important;min-width:0;margin:0!important;padding:0!important;font:500 14px/1.15 var(--gk-font-ui,Inter,Arial,sans-serif)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;height:auto!important;min-height:0!important;max-height:none!important}
html body .gk-b5-card.gk-home-product-card .gk-b5-card__title a{display:block!important;font:inherit!important;color:inherit!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-decoration:none}
html body .gk-b5-card.gk-home-product-card .gk-buyer-pricing{display:block;margin:0!important;padding:0!important;background:transparent!important;border:0!important;font-family:inherit}
html body .gk-b5-card.gk-home-product-card .gk-buyer-pricing__columns{display:block!important;grid-template-columns:none!important;gap:0!important;margin:0!important;padding:0!important}
html body .gk-b5-card.gk-home-product-card .gk-buyer-pricing__primary{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:baseline;gap:0 6px!important;margin:0!important;padding:0!important;line-height:1.15!important}
html body .gk-b5-card.gk-home-product-card .gk-buyer-pricing__unit,html body .gk-b5-card.gk-home-product-card .gk-buyer-pricing__unit .ty-price-num{display:inline!important;margin:0!important;padding:0!important;color:var(--gk-forest,#18332b)!important;font:600 14px/1.15 var(--gk-font-ui,Inter,Arial,sans-serif)!important;white-space:nowrap}
html body .gk-b5-card.gk-home-product-card .gk-buyer-pricing__pack,html body .gk-b5-card.gk-home-product-card .gk-buyer-pricing__pack .ty-price-num{display:inline!important;margin:0!important;padding:0!important;color:#68736d!important;font:400 12px/1.15 var(--gk-font-ui,Inter,Arial,sans-serif)!important;white-space:nowrap}
html body .gk-b5-card.gk-home-product-card .gk-b5-card__colors{display:flex;align-items:center;gap:6px;min-width:0;height:16px;margin:0;padding:0}
html body .gk-b5-card.gk-home-product-card .gk-b5-card__color{box-sizing:border-box;display:grid;place-items:center;width:16px;height:16px;min-width:16px;margin:0;padding:0;border:0;border-radius:50%;text-decoration:none;outline:1px solid transparent;outline-offset:1px}
html body .gk-b5-card.gk-home-product-card .gk-b5-card__color span{display:block;width:14px;height:14px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}
html body .gk-b5-card.gk-home-product-card .gk-b5-card__color.is-current{outline-color:#18332b}
html body .gk-b5-card.gk-home-product-card .gk-b5-card__more{font:400 11px/1 var(--gk-font-ui,Inter,Arial,sans-serif);color:#68736d;text-decoration:none}
html body .gk-b5-card.gk-home-product-card [hidden]{display:none!important}
html body .ty-grid-list__item:has(.gk-b5-card),html body .ty-product-list:has(.gk-b5-card),html body .ty-template-small__item:has(.gk-b5-card){min-height:0!important;margin-block:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body .ty-grid-list__item:has(.gk-b5-card):hover{box-shadow:none!important;transform:none!important}
@media(min-width:1200px){
 html body .gk-h1-group:has(.gk-b5-card){--h1-products:max(632px,calc((var(--h1-vw) - var(--h1-pad) - 190px)*.6 + 32px))}
 html body .gk-h1-group:has(.gk-b5-card) .gk-h1-group__theme{contain:size;width:100%;max-width:100%;height:100%;aspect-ratio:auto}
 html body .gk-h1-group:has(.gk-b5-card) .gk-home-product-grid{position:static!important;inset:auto!important;height:auto!important;grid-template-rows:repeat(2,auto)!important}
 html body .gk-h1-group:has(.gk-b5-card) .gk-b5-card{height:auto!important;min-height:0!important}
}
@media(max-width:767px){html body .gk-b5-card.gk-home-product-card .gk-b5-card__body{padding-top:8px!important}}
@media(prefers-reduced-motion:reduce){html body .gk-b5-card.gk-home-product-card *{scroll-behavior:auto!important;transition:none!important}}
/* Detail components read the same server view. The L1 outer shell remains authoritative. */
html body .gk-b5-pdp{display:block!important;width:100%;min-width:0;margin:0;padding:0;background:#fff;color:var(--gk-text,#1d211f);font-family:var(--gk-font-ui,Inter,Arial,sans-serif)}
html body .gk-b5-pdp__back{display:inline-block;margin:0 0 18px;color:#68736d;font:400 12px/1.4 var(--gk-font-ui,Inter,Arial,sans-serif)}
html body .gk-b5-pdp .gk-b5-pdp__layout{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px;align-items:start;margin:0!important;padding:0!important}
html body .gk-b5-gallery{min-width:0;width:100%;margin:0}
html body .gk-b5-gallery__track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
html body .gk-b5-gallery__photo{display:block;min-width:0;aspect-ratio:1;overflow:hidden;background:#f5f5f5;cursor:zoom-in}
html body .gk-b5-gallery__photo:first-child{grid-column:1/-1}
html body .gk-b5-gallery__photo img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;mix-blend-mode:multiply}
html body .gk-b5-pdp__info{position:sticky;top:100px;min-width:0;padding:0!important}
html body .gk-b5-pdp__info form{margin:0;padding:0}
html body .gk-b5-pdp .gk-b5-pdp__title{display:block!important;margin:0 0 10px!important;padding:0!important;font:500 25px/1.25 var(--gk-font-ui,Inter,Arial,sans-serif)!important;color:var(--gk-text,#1d211f)!important;letter-spacing:-.02em;overflow-wrap:anywhere}
html body .gk-b5-pdp .gk-b5-pdp__sku{display:block!important;position:static!important;margin:0 0 22px!important;font:400 12px/1.4 var(--gk-font-ui,Inter,Arial,sans-serif)!important;color:#68736d!important;overflow-wrap:anywhere}
html body .gk-b5-pdp__colors{margin:0 0 20px}
html body .gk-b5-pdp__colors p{margin:0 0 9px;font-size:13px}
html body .gk-b5-pdp__color-photos{display:flex;flex-wrap:wrap;gap:8px}
html body .gk-b5-pdp__color{box-sizing:border-box;display:block;width:64px;height:64px;border:1px solid transparent;background:#f5f5f5;outline:1px solid transparent;outline-offset:2px}
html body .gk-b5-pdp__color.is-current{outline-color:var(--gk-forest,#18332b)}
html body .gk-b5-pdp__color img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
html body .gk-b5-pdp__badge{display:inline-block;width:auto;min-height:0;margin:0 0 10px;padding:4px 7px;background:#f1e7d7;color:#6f5b3f;font-size:10px;letter-spacing:.04em;border-radius:2px}
html body .gk-b5-pdp .gk-buyer-pricing--detail{display:block;margin:0 0 20px;padding:0;border:0;background:transparent}
html body .gk-b5-pdp .gk-buyer-pricing__columns{display:flex;gap:20px;align-items:start}
html body .gk-b5-pdp .gk-buyer-pricing__primary{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
html body .gk-b5-pdp .gk-buyer-pricing__quantity{flex:0 0 100%;font-size:12px;color:#68736d}
html body .gk-b5-pdp .gk-buyer-pricing__unit,html body .gk-b5-pdp .gk-buyer-pricing__unit .ty-price-num{font:600 22px/1.3 var(--gk-font-ui,Inter,Arial,sans-serif);color:var(--gk-forest,#18332b)}
html body .gk-b5-pdp .gk-buyer-pricing__pack,html body .gk-b5-pdp .gk-buyer-pricing__pack .ty-price-num{font:400 13px/1.4 var(--gk-font-ui,Inter,Arial,sans-serif);color:#68736d}
html body .gk-b5-pdp .gk-buyer-pricing__reference{display:block;margin-top:6px;font-size:11px;color:#68736d}
html body .gk-b5-pdp .gk-b5-pdp__actions{display:flex!important;gap:12px;align-items:center;width:100%;margin:0 0 24px!important;padding:0!important}
html body .gk-b5-pdp__actions>a[data-gk-primary-action]{display:block!important;box-sizing:border-box;min-height:48px;width:100%;padding:14px 20px!important;background:var(--gk-forest,#18332b)!important;border:1px solid var(--gk-forest,#18332b)!important;border-radius:0!important;color:#fff!important;text-align:center;font:500 14px/1.3 var(--gk-font-ui,Inter,Arial,sans-serif)!important}
html body .gk-b5-pdp__facts,html body .gk-b5-pdp__description{margin:0;padding:18px 0;border:0;border-top:1px solid #e2e5e1}
html body .gk-b5-pdp__facts summary,html body .gk-b5-pdp__description summary,html body .gk-b5-pdp__facts h2{margin:0;padding:0;font:500 14px/1.4 var(--gk-font-ui,Inter,Arial,sans-serif);color:inherit}
html body .gk-b5-pdp__facts summary,html body .gk-b5-pdp__description summary{cursor:pointer}
html body .gk-b5-pdp .ty-product-feature{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:14px;margin:0;padding:8px 0;border:0;background:transparent;font:400 12px/1.5 var(--gk-font-ui,Inter,Arial,sans-serif)}
html body .gk-b5-pdp .ty-product-feature__label,html body .gk-b5-pdp .ty-product-feature__value{display:block!important;width:auto!important;margin:0;padding:0;color:inherit;overflow-wrap:anywhere}
html body .gk-b5-pdp .ty-product-feature__label{color:#68736d}
html body .gk-b5-pdp .ty-wysiwyg-content{margin-top:14px;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
html body .gk-b5-pdp .ty-wysiwyg-content h2{font-size:18px}
html body .gk-b5-pdp .ty-wysiwyg-content h3{font-size:16px}
html body .gk-b5-gallery__nav{display:none}
html body dialog.gk-b5-lightbox:not([open]){display:none!important}
html body .gk-b5-lightbox[open]{position:fixed;inset:0;box-sizing:border-box;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:50px 16px;border:0;border-radius:0;background:#f5f5f5;z-index:10000}
html body .gk-b5-lightbox::backdrop{background:rgba(0,0,0,.7)}
html body .gk-b5-lightbox img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;mix-blend-mode:multiply}
html body .gk-b5-lightbox button{display:grid;place-items:center;min-width:36px;min-height:36px;padding:0;border:0;background:transparent;color:#18332b;font-size:24px;cursor:pointer}
html body .gk-b5-lightbox [data-gk-lightbox-close]{position:absolute;top:12px;right:16px}
@media(min-width:768px) and (max-width:1023px){html body .gk-b5-pdp .gk-b5-pdp__layout{grid-template-columns:minmax(0,1fr);gap:28px}html body .gk-b5-gallery{max-width:600px;margin-inline:auto}html body .gk-b5-gallery__track{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}html body .gk-b5-gallery__photo{flex:0 0 100%;scroll-snap-align:start}html body .gk-b5-pdp__info{position:static}html body .gk-b5-gallery__nav{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:12px}}
@media(max-width:767px){html body .gk-b5-pdp .gk-b5-pdp__layout{grid-template-columns:minmax(0,1fr);gap:24px}html body .gk-b5-pdp__back{margin-bottom:12px}html body .gk-b5-gallery{width:100vw;max-width:100vw;margin-inline:calc((100% - 100vw)/2)}html body .gk-b5-gallery__track{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}html body .gk-b5-gallery__photo{flex:0 0 100%;scroll-snap-align:start}html body .gk-b5-pdp__info{position:static}html body .gk-b5-pdp .gk-b5-pdp__title{font-size:22px!important}html body .gk-b5-gallery__nav{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:12px}}
html body .gk-b5-gallery__nav>button{min-width:32px;min-height:32px;border:0;background:transparent;color:#18332b;font-size:18px;cursor:pointer}
html body .gk-b5-gallery__dots{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
html body .gk-b5-gallery__dots button{width:6px;height:6px;min-width:6px;min-height:6px;padding:0;border:0;border-radius:50%;background:#c8ceca;cursor:pointer}
html body .gk-b5-gallery__dots button[aria-current="true"]{background:#18332b}
html body .gk-b5-pdp [hidden]{display:none!important}
html body[data-gk-b2b-plp-ui] .ty-mainbox-title,html body[data-gk-b2b-plp-ui] h1{font-size:22px!important}
@media(max-width:767px){html body[data-gk-b2b-plp-ui] .ty-mainbox-title,html body[data-gk-b2b-plp-ui] h1{font-size:20px!important}}
html body[data-gk-b2b-plp-ui] .ty-wysiwyg-content h2{font-size:18px!important}
html body[data-gk-b2b-plp-ui] .ty-wysiwyg-content h3{font-size:16px!important}

html body .gk-b5-pdp,html body .gk-b5-pdp .gk-b5-pdp__layout,html body .gk-b5-pdp .gk-b5-pdp__info,html body .gk-b5-pdp .gk-b5-pdp__info form{border:0!important;border-radius:0!important;box-shadow:none!important}
html body .gk-b5-pdp form[name^="product_form_"] .gk-b5-pdp__actions{animation:none!important;opacity:1!important;visibility:visible!important;min-height:0!important}

/* Preserve the existing native PDP shell expansion, using L1's width variable. */
html body.gk-b5-ready .gk-native-pdp-row-full,html body.gk-b5-ready .gk-native-pdp-span-full{box-sizing:border-box;margin-inline:auto!important;max-width:var(--gk-container-pdp);width:100%!important}
html body.gk-b5-ready .gk-native-pdp-span-full{float:none!important}
html body.gk-b5-ready .gk-native-pdp-empty-sidebar,html body.gk-b5-ready .gk-native-pdp-same-price-hidden{display:none!important;visibility:hidden!important;pointer-events:none!important}

html body .gk-b5-card.gk-home-product-card{position:relative}
html body .gk-b5-card .gk-b5-card__link{position:absolute;inset:0;z-index:1;display:block}
html body .gk-b5-card .gk-b5-card__colors{position:relative;z-index:3}
@media(max-width:767px){
 html body.gk-b5-ready .ty-breadcrumbs{display:none!important}
 html body .gk-b5-pdp .gk-b5-gallery__nav>[data-gk-gallery-prev],html body .gk-b5-pdp .gk-b5-gallery__nav>[data-gk-gallery-next]{display:none!important}
}

/* Native content-grid clipping must not crop the approved full-bleed PDP gallery. */
html body.gk-b5-ready #tygh_container .tygh-content>.container-fluid:has([data-gk-buyer-detail]){overflow:visible!important}
html body .gk-b5-pdp .gk-b5-pdp__title{font-family:var(--gk-font-display,Georgia,"Times New Roman",serif)!important}
html body .gk-b5-pdp .gk-buyer-pricing__primary{flex-direction:row!important}
html body .gk-b5-pdp__actions>a[data-gk-primary-action]{border-radius:var(--gk-radius,8px)!important;text-transform:none!important;letter-spacing:normal!important}

/* OPS-B5R: preserve the legacy hide rule outside the shared B5 card. */
html body .gk-b5-card.gk-home-product-card .gk-b5-card__price:not([hidden]),
html body .gk-b5-card.gk-home-product-card .gk-buyer-pricing:not([hidden]){display:block!important}

/* OPS-P1: docs/planning/2026-10-16_运营反馈修复_Codex指令/OPS-P1.md. */
html body .gk-p1-inquiry,html body .gk-p1-inquiry-space{display:none}
html body .gk-b5-pdp__facts[data-gk-facts="packing"]{padding-block:0}
html body .gk-b5-pdp__facts[data-gk-facts="packing"]>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;list-style:none}
html body .gk-b5-pdp__facts[data-gk-facts="packing"]>summary::-webkit-details-marker{display:none}
html body .gk-b5-pdp__facts[data-gk-facts="packing"]>summary::after{content:'+';font-size:18px}
html body .gk-b5-pdp__facts[data-gk-facts="packing"][open]>summary::after{content:'−'}
html body .gk-b5-pdp__facts[data-gk-facts="packing"][open]{padding-bottom:18px}
@media(max-width:767px){
 html body .gk-p1-inquiry:not([hidden]){box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;position:fixed;inset:auto 0 0;z-index:110;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid #e2e5e1;background:var(--gk-paper,#faf9f6);box-shadow:0 -4px 18px #0000000a}
 html body .gk-p1-inquiry__sku{min-width:0;overflow-wrap:anywhere;font:500 12px/1.4 var(--gk-font-ui,Inter,Arial,sans-serif)}
 html body .gk-p1-inquiry>button{box-sizing:border-box;flex:0 0 auto;min-height:48px;min-width:44px;padding:12px 18px;border:1px solid var(--gk-forest,#18332b);border-radius:var(--gk-radius,8px);background:var(--gk-forest,#18332b);color:#fff;font:500 14px/1.3 var(--gk-font-ui,Inter,Arial,sans-serif);cursor:pointer}
 html body .gk-p1-inquiry-space{display:block;height:var(--gk-p1-inquiry-height,calc(69px + env(safe-area-inset-bottom,0px)))}
}
@media(prefers-reduced-motion:reduce){html body .gk-p1-inquiry,html body .gk-p1-inquiry *{animation:none!important;transition:none!important}}
