/* Unified CMID Toko Global Shell V1 — prototype only: Home, Shop, Knowledge. */
body.cmid-unified-shell-v1>.hp-target-header,
body.cmid-unified-shell-v1>.site-header,
body.cmid-unified-shell-v1 .owner-home-header,
body.cmid-unified-shell-v1 .shop-owner-header{display:none!important}
.cmid-unified-wrap{width:min(1320px,calc(100% - 48px));margin-inline:auto}
.cmid-unified-header{position:relative;z-index:60;border-bottom:1px solid #e7e9ed;background:#fff;color:#17202b;font-family:Inter,"Segoe UI",Arial,sans-serif}
.cmid-unified-mast{min-height:88px;display:grid;grid-template-columns:230px minmax(360px,1fr) auto;align-items:center;gap:32px}
.cmid-unified-brand{display:flex;align-items:flex-start;flex-direction:column;text-decoration:none}.cmid-unified-brand img{display:block;width:198px;height:56px;object-fit:contain;object-position:left center}.cmid-unified-brand small{margin:-2px 0 0 49px;color:#6b7280;font-size:9px;font-weight:700;letter-spacing:.04em}
.cmid-unified-search{height:48px;display:grid;grid-template-columns:minmax(0,1fr) 54px;overflow:hidden;border:1px solid #d8dde4;border-radius:8px;background:#fff;box-shadow:0 4px 15px rgba(25,34,47,.05)}.cmid-unified-search input[type=search]{min-width:0;border:0;padding:0 17px;color:#202733;background:transparent;font:inherit;font-size:13px;outline:0}.cmid-unified-search button{display:grid;place-items:center;border:0;background:#bd0711;color:#fff;cursor:pointer}.cmid-unified-search svg,.cmid-unified-action svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cmid-unified-actions{display:flex;align-items:center;gap:22px}.cmid-unified-action{position:relative;display:flex;align-items:center;gap:8px;min-height:44px;color:#202733;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap}.cmid-unified-action i{min-width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#bd0711;color:#fff;font-size:10px;font-style:normal}.cmid-unified-menu-button{display:none}
.cmid-unified-menu-toggle{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.cmid-unified-nav{height:52px;border-top:1px solid #f0f1f3;background:#fff}.cmid-unified-nav>.cmid-unified-wrap{height:100%;display:flex;align-items:stretch;gap:7px}.cmid-unified-nav a,.cmid-unified-help summary{position:relative;min-height:48px;display:flex;align-items:center;padding:0 16px;color:#202733;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer}.cmid-unified-nav>a:hover,.cmid-unified-nav a:hover,.cmid-unified-help summary:hover{color:#b80711}.cmid-unified-nav a.is-active:after{content:"";position:absolute;left:15px;right:15px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:#bd0711}.cmid-unified-help{position:relative}.cmid-unified-help summary{list-style:none}.cmid-unified-help summary::-webkit-details-marker{display:none}.cmid-unified-help summary:after{content:"⌄";margin-left:7px}.cmid-unified-help>div{position:absolute;z-index:80;top:48px;right:0;width:230px;padding:8px;display:none;border:1px solid #e3e6eb;border-radius:8px;background:#fff;box-shadow:0 15px 35px rgba(24,31,42,.14)}.cmid-unified-help[open]>div{display:block}.cmid-unified-help>div a{min-height:42px;padding:0 12px;border-radius:5px;white-space:normal}.cmid-unified-help>div a:hover{background:#fff3f4}.cmid-unified-languages{margin-left:auto;display:flex;align-items:center;gap:0}.cmid-unified-languages a{min-height:44px;padding:0 7px;color:#737984;font-size:11px}.cmid-unified-languages a+a:before{content:"|";position:absolute;left:-1px;color:#d3d6db}.cmid-unified-languages a.is-active{color:#bd0711;font-weight:850}
.cmid-unified-footer{margin-top:0;border-top:1px solid #e5e8ec;background:#fff;color:#26313d;font-family:Inter,"Segoe UI",Arial,sans-serif}.cmid-unified-footer-grid{display:grid;grid-template-columns:1.55fr repeat(4,1fr);gap:40px;padding:42px 0 34px}.cmid-unified-footer-grid>div{display:flex;align-items:flex-start;flex-direction:column;min-width:0}.cmid-unified-footer-grid strong{margin-bottom:12px;color:#17202b;font-size:12px;letter-spacing:.03em}.cmid-unified-footer-grid a{margin:4px 0;color:#4b5563;font-size:11px;line-height:1.4;text-decoration:none}.cmid-unified-footer-grid a:hover{color:#bd0711}.cmid-unified-footer-brand img{width:175px;height:auto}.cmid-unified-footer-brand p{max-width:290px;margin:11px 0 0;color:#596270;font-size:11px;line-height:1.55}.cmid-unified-footer-brand p strong{font-size:inherit}.cmid-unified-footer-bottom{border-top:1px solid #e5e8ec;background:#f8f9fa}.cmid-unified-footer-bottom>.cmid-unified-wrap{min-height:48px;display:flex;align-items:center;justify-content:space-between;color:#69717d;font-size:10px}
@media(max-width:900px){
 .cmid-unified-wrap{width:calc(100% - 32px)}
 .cmid-unified-mast{min-height:72px;grid-template-columns:minmax(120px,1fr) auto;gap:10px}
 .cmid-unified-brand img{width:145px;height:43px}.cmid-unified-brand small{margin:-2px 0 0 35px;font-size:8px}
 .cmid-unified-search{position:absolute;left:16px;right:16px;top:76px;height:46px;display:none;z-index:72}.cmid-unified-header:focus-within .cmid-unified-search{display:grid}
 .cmid-unified-actions{gap:3px}.cmid-unified-action{width:44px;min-width:44px;justify-content:center}.cmid-unified-action span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.cmid-unified-action i{position:absolute;right:0;top:4px;min-width:17px;height:17px;font-size:9px}
 .cmid-unified-menu-button{width:44px;height:44px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer}.cmid-unified-menu-button span{width:21px;height:2px;background:#222b36}
 .cmid-unified-nav{display:none;height:auto;border-top:1px solid #e6e9ed}.cmid-unified-menu-toggle:checked+.cmid-unified-nav{display:block}.cmid-unified-nav>.cmid-unified-wrap{height:auto;display:grid;grid-template-columns:1fr;padding:10px 0 16px}.cmid-unified-nav a,.cmid-unified-help summary{min-height:48px;padding:0 12px;border-radius:6px}.cmid-unified-nav a.is-active:after{left:0;right:auto;top:11px;bottom:11px;width:3px;height:auto}.cmid-unified-help>div{position:static;width:auto;margin:0 8px;padding:4px;border:0;box-shadow:none}.cmid-unified-languages{width:100%;margin:4px 0 0;padding-top:8px;border-top:1px solid #e8ebef}.cmid-unified-languages a{min-width:54px;justify-content:center}
 .cmid-unified-footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px;padding:32px 0}.cmid-unified-footer-brand{grid-column:1/-1}.cmid-unified-footer-grid a{min-height:32px;font-size:12px}.cmid-unified-footer-bottom>.cmid-unified-wrap{min-height:64px;align-items:flex-start;justify-content:center;flex-direction:column;gap:4px;padding:10px 0;font-size:10px}
 body.cmid-unified-shell-v1 .hm-footer,body.cmid-unified-shell-v1>.site-footer{display:none!important}
}
@media(max-width:380px){.cmid-unified-wrap{width:calc(100% - 32px)}.cmid-unified-brand img{width:130px}.cmid-unified-actions{gap:0}.cmid-unified-action{width:42px;min-width:42px}.cmid-unified-footer-grid{grid-template-columns:1fr 1fr;gap:24px 16px}}

/* Mobile search control is explicit rather than relying on overflow or a squeezed desktop form. */
.cmid-unified-search-button{display:none}
.cmid-unified-search-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cmid-unified-search-toggle{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
@media(max-width:900px){
 .cmid-unified-search-button{width:44px;height:44px;display:grid;place-items:center;cursor:pointer}
 .cmid-unified-search-toggle:checked~.cmid-unified-mast .cmid-unified-search{display:grid}
}

/* Daniel-approved global rollout refinements. */
@media(min-width:901px){
 .cmid-unified-brand img{width:210px;height:58px}
 .cmid-unified-brand small{margin-left:52px;color:#5f6875;font-weight:750}
 .cmid-unified-nav a,.cmid-unified-help summary{color:#18222e;font-size:13.5px;font-weight:750}
}
@media(max-width:520px){
 /* Preserve the approved B2B body while neutralising its former shell-specific 100vw expansion. */
 body.cmid-unified-shell-v1.cmid-b2b-page .b2b-page,
 body.cmid-unified-shell-v1.cmid-b2b-page .b2b-hero,
 body.cmid-unified-shell-v1.cmid-b2b-page .b2b-hero-copy{width:100%;max-width:100%}
 body.cmid-unified-shell-v1.cmid-b2b-page .b2b-hero-copy{padding-left:16px;padding-right:16px}
}
