/* SwiftCart Marketplace Header v2.0 */
:root{
  --sch-primary:#2DB81F;
  --sch-primary-hover:#249718;
  --sch-dark:#131921;
  --sch-mid:#232F3E;
  --sch-delivery:#37475A;
  --sch-search:#2DB81F;
}

html body .sch-header,
html body .sch-header *{box-sizing:border-box}
html body .sch-header{position:relative;z-index:9998;width:100%;margin:0!important;padding:0!important;font-family:var(--sch-font)!important;color:#fff;font-size:var(--sch-base-font);line-height:1.15;background:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
html body .sch-header a{text-decoration:none!important}
html body .sch-header svg{display:block}
html body .sch-header button,
html body .sch-header input,
html body .sch-header select{font-family:var(--sch-font)!important}
html body .sch-header ul,
html body .sch-header li{list-style:none!important;margin:0!important;padding:0!important}
html body .sch-header .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html body .sch-chevron{width:8px;height:5px;fill:none!important;stroke:currentColor!important;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}

/* Desktop top row */
html body .sch-desktop{display:block}
html body .sch-topbar{display:flex;align-items:center;gap:6px;height:var(--sch-header-h);padding:5px 14px;background:var(--sch-dark);margin:0!important;overflow:hidden}
html body .sch-hoverbox{border:1px solid transparent;border-radius:2px;transition:border-color .12s ease}
html body .sch-hoverbox:hover{border-color:#fff}

html body .sch-brand{order:1;display:flex;align-items:center;justify-content:center;flex:0 0 var(--sch-logo-w);min-width:var(--sch-logo-w);max-width:var(--sch-logo-w);height:50px;padding:5px 7px;color:#fff!important}
html body .sch-logo-img{display:block;max-width:100%;max-height:var(--sch-logo-h);width:auto;height:auto;object-fit:contain}
html body .sch-logo-text{display:block;color:#fff!important;font-size:19px!important;font-weight:700!important;line-height:1!important;letter-spacing:0!important;white-space:nowrap}

html body .sch-deliver{order:2;display:flex;align-items:center;gap:6px;flex:0 0 126px;min-width:126px;height:50px;padding:5px 8px;color:#fff!important;white-space:nowrap}
html body .sch-deliver>svg{width:17px;height:20px;fill:#fff;flex:0 0 17px;margin:0}
html body .sch-deliver span{display:flex;flex-direction:column;justify-content:center;min-width:0}
html body .sch-deliver small,
html body .sch-account small,
html body .sch-returns small{display:block;margin:0!important;padding:0!important;color:#ccc!important;font-size:12px!important;font-weight:400!important;line-height:13px!important;white-space:nowrap}
html body .sch-deliver strong,
html body .sch-account strong,
html body .sch-returns strong{display:flex;align-items:center;gap:4px;margin:0!important;padding:0!important;color:#fff!important;font-size:14px!important;font-weight:700!important;line-height:15px!important;white-space:nowrap}

html body .sch-search-wrap{order:3;flex:1 1 auto;min-width:var(--sch-search-min-w)}
html body .sch-actions{order:4;display:flex;align-items:center;gap:2px;flex:0 0 auto;height:50px}
html body .sch-account,
html body .sch-returns{display:flex;flex-direction:column;justify-content:center;height:50px;padding:6px 9px;color:#fff!important;flex:0 0 auto}
html body .sch-account{min-width:138px}
html body .sch-account .sch-chevron{color:#a7acb2;margin-top:2px}
html body .sch-returns{min-width:78px}

/* Search */
html body .sch-search{display:flex;align-items:stretch;width:100%;height:var(--sch-search-h);min-width:0;margin:0!important;padding:0!important;border:0!important;border-radius:var(--sch-search-radius);overflow:hidden;background:#fff;box-shadow:none!important}
html body .sch-search:focus-within{outline:3px solid rgba(45,184,31,.72);outline-offset:0}
html body .sch-category-select{position:relative;display:flex;align-items:center;flex:0 0 var(--sch-search-cat-w);min-width:var(--sch-search-cat-w);max-width:var(--sch-search-cat-w);height:var(--sch-search-h);background:#e6e6e6;border-right:1px solid #d5d9d9;overflow:hidden}
html body .sch-category-select select{appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;display:block!important;width:100%!important;height:var(--sch-search-h)!important;margin:0!important;padding:0 10px!important;border:0!important;border-radius:0!important;background:#e6e6e6!important;color:#4d5156!important;-webkit-text-fill-color:#4d5156!important;font-size:12px!important;font-weight:400!important;line-height:var(--sch-search-h)!important;opacity:1!important;outline:0!important;box-shadow:none!important;cursor:pointer;text-align:left}
html body .sch-category-select .sch-chevron{display:none!important}
html body .sch-search input[type=search]{display:block!important;flex:1 1 auto;min-width:0;height:var(--sch-search-h)!important;margin:0!important;padding:0 10px!important;border:0!important;border-radius:0!important;background:#fff!important;color:#111!important;-webkit-text-fill-color:#111!important;font-size:var(--sch-search-font)!important;font-weight:400!important;line-height:var(--sch-search-h)!important;outline:0!important;box-shadow:none!important}
html body .sch-search input[type=search]::placeholder{color:#6f7378!important;opacity:1}
html body .sch-search button{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 var(--sch-search-btn-w)!important;width:var(--sch-search-btn-w)!important;min-width:var(--sch-search-btn-w)!important;max-width:var(--sch-search-btn-w)!important;height:var(--sch-search-h)!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--sch-search)!important;cursor:pointer;box-shadow:none!important}
html body .sch-search button:hover{background:var(--sch-primary-hover)!important}
html body .sch-search button svg{width:22px;height:22px;fill:#111}

/* Cart */
html body .sch-cart{position:relative;display:flex;align-items:flex-end;gap:3px;flex:0 0 auto;height:50px;padding:5px 8px 5px 5px;color:#fff!important;white-space:nowrap}
html body .sch-cart>svg{width:40px;height:35px;fill:none;stroke:#fff;stroke-width:2}
html body .sch-cart-count{position:absolute;top:0;left:27px;min-width:16px;text-align:center;color:var(--sch-primary);font-size:15px;font-weight:700;line-height:16px}
html body .sch-cart strong{margin:0 0 5px!important;color:#fff!important;font-size:14px!important;line-height:15px!important;font-weight:700!important}

/* Second row */
html body .sch-subbar{display:flex;align-items:center;height:var(--sch-subbar-h);padding:0 14px;background:var(--sch-mid);overflow:hidden}
html body .sch-all-trigger{appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;flex:0 0 auto;height:35px!important;min-height:35px!important;min-width:59px!important;padding:0 8px!important;margin:0!important;border:1px solid transparent!important;border-radius:2px!important;background:transparent!important;color:#fff!important;cursor:pointer;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap!important;overflow:visible!important}
html body .sch-all-trigger:hover,
html body .sch-all-trigger:focus{border-color:#fff!important;background:transparent!important;color:#fff!important;outline:0!important}
html body .sch-all-trigger>svg{width:20px!important;height:20px!important;min-width:20px!important;fill:#fff!important}
html body .sch-all-trigger strong{display:inline-block!important;color:#fff!important;font-size:14px!important;font-weight:700!important;line-height:1!important;white-space:nowrap!important}
html body .sch-desktop-menu{display:flex;align-items:center;min-width:0;height:100%;overflow:hidden}
html body .sch-desktop-menu>li{display:flex;align-items:center;height:35px}
html body .sch-desktop-menu>li>a{display:flex;align-items:center;height:35px;padding:0 9px!important;border:1px solid transparent;border-radius:2px;color:#fff!important;font-size:14px!important;font-weight:600!important;line-height:33px!important;white-space:nowrap}
html body .sch-desktop-menu>li>a:hover{border-color:#fff}
html body .sch-desktop-menu .sub-menu{display:none!important}

/* Drawer/sidebar */
html body .sch-drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:99990}
html body .sch-drawer{position:fixed;z-index:99991;left:0;top:0;bottom:0;width:min(365px,88vw);background:#fff;color:#111;transform:translateX(-102%);transition:transform .24s ease;box-shadow:4px 0 16px rgba(0,0,0,.28);overflow:visible;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif}
html body .sch-drawer.is-open{transform:translateX(0)}
html body .sch-drawer-head{position:relative;display:flex;align-items:center;height:50px;padding:0 22px;background:var(--sch-mid)}
html body .sch-drawer-head a{display:flex;align-items:center;gap:10px;color:#fff!important;text-decoration:none!important;font-size:19px!important;font-weight:700!important;line-height:1!important}
html body .sch-drawer-head a svg{width:26px;height:26px;fill:#fff}
html body .sch-drawer-close{position:absolute;left:calc(100% + 8px);top:6px;display:flex!important;opacity:0;visibility:hidden;pointer-events:none;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;margin:0!important;padding:4px!important;border:0!important;background:transparent!important;cursor:pointer;box-shadow:none!important}
html body .sch-drawer-close svg{width:30px;height:30px;fill:#fff}
html body .sch-drawer.is-open .sch-drawer-close{opacity:1;visibility:visible;pointer-events:auto}
html body .sch-drawer-body{height:calc(100vh - 50px);overflow-y:auto;padding:8px 0 28px;background:#fff}
html body .sch-drawer-menu li{position:relative}
html body .sch-drawer-menu a{display:block;padding:12px 50px 12px 30px!important;color:#111!important;text-decoration:none!important;font-size:14px!important;line-height:20px!important;font-weight:400!important}
html body .sch-drawer-menu>li>a{font-weight:600!important}
html body .sch-drawer-menu a:hover{background:#eaeded}
html body .sch-drawer-menu .sub-menu{display:none;list-style:none!important;margin:0!important;padding:0 0 6px!important;border-bottom:1px solid #ddd;background:#fff}
html body .sch-drawer-menu li.menu-item-has-children.is-expanded>.sub-menu{display:block}
html body .sch-drawer-menu .sub-menu .sub-menu{padding-left:12px!important;border-bottom:0}
html body .sch-drawer-menu li.menu-item-has-children>.sch-sub-toggle{position:absolute;right:8px;top:5px;display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#879596!important;cursor:pointer;box-shadow:none!important}
html body .sch-drawer-menu li.menu-item-has-children>.sch-sub-toggle .sch-chevron{width:8px;height:12px;transition:transform .18s ease}
html body .sch-drawer-menu li.menu-item-has-children.is-expanded>.sch-sub-toggle .sch-chevron{transform:rotate(90deg)}
html body.sch-drawer-open{overflow:hidden}

/* Mobile */
html body .sch-mobile{display:none}
@media (max-width:767px){
  html body .sch-desktop{display:none}
  html body .sch-mobile{display:block;background:var(--sch-dark)}
  html body .sch-mobile-top{display:flex;align-items:center;gap:6px;height:var(--sch-mobile-header-h);padding:4px 8px}
  html body .sch-mobile-menu-trigger{flex:0 0 36px;min-width:36px!important;max-width:36px!important;padding:0!important;border:0!important}
  html body .sch-mobile-menu-trigger>svg{width:27px!important;height:27px!important}
  html body .sch-mobile .sch-brand{flex:1 1 auto;min-width:0;max-width:135px;height:44px;justify-content:flex-start;padding:4px 2px}
  html body .sch-mobile .sch-logo-img{max-height:34px}
  html body .sch-mobile .sch-logo-text{font-size:18px!important}
  html body .sch-mobile-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
  html body .sch-mobile-account{display:flex;align-items:center;justify-content:flex-end;gap:4px;color:#fff!important;text-decoration:none!important;font-size:12px!important;font-weight:600!important;white-space:nowrap}
  html body .sch-mobile-account span{max-width:86px;overflow:hidden;text-overflow:ellipsis}
  html body .sch-mobile-account svg{width:23px;height:23px;fill:#fff}
  html body .sch-mobile .sch-cart{width:42px;height:40px;padding:2px 0;align-items:center;justify-content:flex-end}
  html body .sch-mobile .sch-cart>svg{width:34px;height:30px}
  html body .sch-mobile .sch-cart-count{top:-2px;left:18px}
  html body .sch-mobile .sch-cart strong{display:none!important}
  html body .sch-mobile-search{padding:0 8px 8px}
  html body .sch-mobile-search .sch-search{height:44px;border-radius:8px}
  html body .sch-mobile-search .sch-category-select{display:none}
  html body .sch-mobile-search .sch-search input[type=search]{height:44px!important;font-size:15px!important;line-height:44px!important}
  html body .sch-mobile-search .sch-search button{height:44px!important;width:50px!important;min-width:50px!important;max-width:50px!important}
  html body .sch-mobile-links{height:39px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;background:var(--sch-mid)}
  html body .sch-mobile-links::-webkit-scrollbar{display:none}
  html body .sch-mobile-menu{display:flex;align-items:center;height:39px;padding:0 8px!important;min-width:max-content}
  html body .sch-mobile-menu>li{flex:0 0 auto}
  html body .sch-mobile-menu>li>a{display:block;padding:9px 8px!important;color:#fff!important;font-size:13px!important;font-weight:600!important;line-height:20px!important;white-space:nowrap}
  html body .sch-mobile-menu .sub-menu{display:none!important}
  html body .sch-mobile-delivery{display:flex;align-items:center;gap:6px;height:39px;padding:0 12px;background:var(--sch-delivery);font-size:12px!important;font-weight:500!important;line-height:16px!important;color:#fff}
  html body .sch-mobile-delivery>svg:first-child{width:17px;height:18px;fill:#fff}
  html body .sch-mobile-delivery .sch-chevron{color:#fff;width:8px;height:5px}
  html body .sch-drawer{width:min(330px,86vw)}
  html body .sch-drawer-close{left:auto;right:8px}
  html body .sch-drawer-head{padding-right:48px}
}

/* Tablet / narrow desktop */
@media (min-width:768px) and (max-width:1099px){
  html body .sch-brand{flex-basis:110px;min-width:110px;max-width:135px}
  html body .sch-deliver{display:none}
  html body .sch-account{min-width:118px;padding-left:6px;padding-right:6px}
  html body .sch-returns{display:none}
  html body .sch-desktop-menu>li>a{padding-left:7px!important;padding-right:7px!important}
}

@media (min-width:768px) and (max-width:860px){
  html body .sch-account small{display:none!important}
  html body .sch-account strong{font-size:13px!important}
}

@media (prefers-reduced-motion:reduce){
  html body .sch-drawer,
  html body .sch-drawer-menu .sch-chevron{transition:none}
}


/* ===== v1.7 single-line alignment fixes ===== */
@media (min-width:768px){
  html body .sch-topbar{align-items:center!important;}
  html body .sch-brand{align-self:center!important;}
  html body .sch-deliver{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;height:50px!important;padding:0 7px!important;white-space:nowrap!important;}
  html body .sch-deliver>svg{width:17px!important;height:20px!important;margin:0!important;flex:0 0 17px!important;}
  html body .sch-deliver span{display:flex!important;flex-direction:row!important;align-items:center!important;gap:4px!important;min-width:0!important;white-space:nowrap!important;}
  html body .sch-deliver small,html body .sch-deliver strong{display:inline-flex!important;align-items:center!important;margin:0!important;padding:0!important;line-height:16px!important;white-space:nowrap!important;}
  html body .sch-actions{display:flex!important;flex-direction:row!important;align-items:center!important;white-space:nowrap!important;}
  html body .sch-account,html body .sch-returns{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:4px!important;height:50px!important;padding:0 8px!important;white-space:nowrap!important;}
  html body .sch-account small,html body .sch-account strong,html body .sch-returns small,html body .sch-returns strong{display:inline-flex!important;align-items:center!important;margin:0!important;padding:0!important;line-height:16px!important;white-space:nowrap!important;}
  html body .sch-account{min-width:auto!important;}
  html body .sch-returns{min-width:auto!important;}
  html body .sch-account .sch-chevron,html body .sch-category-select .sch-chevron{display:none!important;}
  html body .sch-category-select select{padding-right:10px!important;}
  html body .sch-all-trigger{display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:62px!important;width:auto!important;white-space:nowrap!important;}
  html body .sch-all-trigger>svg,html body .sch-all-trigger>strong{display:block!important;flex:0 0 auto!important;margin:0!important;white-space:nowrap!important;}
}
html body .sch-drawer-close{opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
html body .sch-drawer.is-open .sch-drawer-close{opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
@media (max-width:767px){
  html body .sch-mobile-delivery{white-space:nowrap!important;overflow:hidden!important;}
  html body .sch-mobile-delivery span{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
}

/* v1.8 top-header cleanup */
html body .sch-account .sch-chevron,html body .sch-category-select .sch-chevron{display:none!important}


/* ===== v1.9 clean Amazon-style desktop correction ===== */
@media (min-width:768px){
  html body .sch-topbar{display:flex!important;align-items:center!important;gap:4px!important;overflow:hidden!important;}
  html body .sch-brand{order:1!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 var(--sch-logo-w)!important;min-width:var(--sch-logo-w)!important;max-width:var(--sch-logo-w)!important;height:calc(var(--sch-header-h) - 10px)!important;padding:4px 6px!important;}
  html body .sch-logo-img{max-height:var(--sch-logo-h)!important;width:auto!important;}
  html body .sch-deliver{order:2!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;flex:0 0 116px!important;min-width:116px!important;max-width:116px!important;height:calc(var(--sch-header-h) - 10px)!important;padding:4px 5px!important;white-space:nowrap!important;}
  html body .sch-deliver>svg{display:block!important;width:16px!important;height:20px!important;flex:0 0 16px!important;margin:8px 0 0!important;}
  html body .sch-deliver span{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:0!important;min-width:0!important;white-space:nowrap!important;}
  html body .sch-deliver small{display:block!important;color:#ccc!important;font-size:11px!important;font-weight:400!important;line-height:12px!important;margin:0!important;padding:0!important;}
  html body .sch-deliver strong{display:block!important;color:#fff!important;font-size:13px!important;font-weight:700!important;line-height:14px!important;margin:0!important;padding:0!important;}
  html body .sch-search-wrap{order:3!important;flex:1 1 0!important;min-width:260px!important;margin:0 4px 0 0!important;}
  html body .sch-search{width:100%!important;height:var(--sch-search-h)!important;border-radius:4px!important;}
  html body .sch-category-select{flex:0 0 var(--sch-search-cat-w)!important;width:var(--sch-search-cat-w)!important;min-width:var(--sch-search-cat-w)!important;max-width:var(--sch-search-cat-w)!important;}
  html body .sch-category-select select{font-size:12px!important;padding:0 8px!important;}
  html body .sch-search input[type=search]{font-size:var(--sch-search-font)!important;padding:0 10px!important;}
  html body .sch-actions{order:4!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:1px!important;flex:0 0 auto!important;height:calc(var(--sch-header-h) - 10px)!important;white-space:nowrap!important;}
  html body .sch-account,html body .sch-returns{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:0!important;height:calc(var(--sch-header-h) - 10px)!important;padding:4px 7px!important;white-space:nowrap!important;}
  html body .sch-account{min-width:122px!important;}
  html body .sch-returns{min-width:76px!important;}
  html body .sch-account small,html body .sch-returns small{display:block!important;color:#fff!important;font-size:11px!important;font-weight:400!important;line-height:12px!important;margin:0!important;padding:0!important;}
  html body .sch-account strong,html body .sch-returns strong{display:block!important;color:#fff!important;font-size:13px!important;font-weight:700!important;line-height:14px!important;margin:0!important;padding:0!important;}
  html body .sch-account .sch-chevron{display:none!important;}
  html body .sch-cart{height:calc(var(--sch-header-h) - 10px)!important;padding:4px 6px 4px 4px!important;align-items:flex-end!important;}
  html body .sch-cart>svg{width:36px!important;height:32px!important;}
  html body .sch-cart-count{top:0!important;left:24px!important;font-size:14px!important;}
  html body .sch-cart strong{font-size:13px!important;margin-bottom:4px!important;}
  html body .sch-account .sch-chevron,html body .sch-category-select .sch-chevron{display:none!important;}
}
@media (min-width:768px) and (max-width:980px){
  html body .sch-deliver{flex-basis:105px!important;min-width:105px!important;max-width:105px!important;}
  html body .sch-account{min-width:105px!important;}
  html body .sch-returns{display:none!important;}
  html body .sch-search-wrap{min-width:180px!important;}
}


/* ===== v2.0 desktop cart + delivery fixes ===== */
@media (min-width:768px){
  html body .sch-topbar{justify-content:flex-start!important;gap:6px!important;}
  html body .sch-brand{order:1!important;flex:0 0 var(--sch-logo-w)!important;min-width:var(--sch-logo-w)!important;max-width:var(--sch-logo-w)!important;}
  html body .sch-deliver{order:2!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:0 0 126px!important;min-width:126px!important;max-width:126px!important;height:calc(var(--sch-header-h) - 10px)!important;margin:0 6px 0 4px!important;padding:4px 6px!important;white-space:nowrap!important;}
  html body .sch-deliver>svg{display:block!important;width:16px!important;height:18px!important;flex:0 0 16px!important;margin:6px 0 0!important;}
  html body .sch-deliver span{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;min-width:0!important;white-space:nowrap!important;}
  html body .sch-deliver small{display:block!important;font-size:11px!important;line-height:12px!important;color:#ccc!important;margin:0!important;padding:0!important;}
  html body .sch-deliver strong{display:block!important;font-size:13px!important;line-height:14px!important;color:#fff!important;margin:0!important;padding:0!important;}
  html body .sch-search-wrap{order:3!important;flex:1 1 0!important;min-width:280px!important;margin:0 6px 0 0!important;}
  html body .sch-actions{order:4!important;margin-left:auto!important;display:flex!important;align-items:center!important;gap:2px!important;white-space:nowrap!important;}
  html body .sch-account{min-width:134px!important;}
  html body .sch-returns{min-width:72px!important;}
  html body .sch-cart{display:flex!important;align-items:flex-end!important;justify-content:flex-start!important;gap:3px!important;min-width:76px!important;height:calc(var(--sch-header-h) - 10px)!important;padding:4px 6px 4px 4px!important;overflow:visible!important;}
  html body .sch-cart>svg{display:block!important;width:37px!important;height:31px!important;flex:0 0 37px!important;}
  html body .sch-cart-count{top:-1px!important;left:24px!important;min-width:14px!important;font-size:14px!important;line-height:14px!important;}
  html body .sch-cart strong{display:block!important;align-self:flex-end!important;margin:0 0 4px!important;padding:0!important;color:#fff!important;font-size:13px!important;line-height:14px!important;font-weight:700!important;white-space:nowrap!important;}
}


/* ===== v2.1 hard layout correction ===== */
@media (min-width:768px){
  html body .sch-topbar{
    display:grid!important;
    grid-template-columns:var(--sch-logo-w) 126px minmax(360px,1fr) auto!important;
    align-items:center!important;
    column-gap:8px!important;
    height:var(--sch-header-h)!important;
    padding:5px 14px!important;
    overflow:hidden!important;
  }
  html body .sch-brand{
    grid-column:1!important;
    width:var(--sch-logo-w)!important;
    min-width:0!important;
    max-width:none!important;
    height:calc(var(--sch-header-h) - 10px)!important;
    margin:0!important;
    padding:4px 6px!important;
    justify-self:start!important;
  }
  html body .sch-deliver{
    grid-column:2!important;
    width:126px!important;
    min-width:126px!important;
    max-width:126px!important;
    height:calc(var(--sch-header-h) - 10px)!important;
    margin:0!important;
    padding:4px 6px!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6px!important;
    overflow:hidden!important;
  }
  html body .sch-deliver>svg{
    width:17px!important;
    height:19px!important;
    flex:0 0 17px!important;
    margin:7px 0 0!important;
  }
  html body .sch-deliver span{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  html body .sch-deliver small,
  html body .sch-deliver strong{
    max-width:92px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  html body .sch-search-wrap{
    grid-column:3!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  html body .sch-actions{
    grid-column:4!important;
    width:auto!important;
    min-width:max-content!important;
    height:calc(var(--sch-header-h) - 10px)!important;
    margin:0!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:4px!important;
    white-space:nowrap!important;
  }
  html body .sch-account{min-width:128px!important;max-width:150px!important;padding:4px 7px!important;}
  html body .sch-returns{min-width:74px!important;max-width:90px!important;padding:4px 7px!important;}

  html body .sch-cart{
    position:relative!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    gap:2px!important;
    width:78px!important;
    min-width:78px!important;
    max-width:78px!important;
    height:calc(var(--sch-header-h) - 10px)!important;
    margin:0!important;
    padding:4px 4px 4px 2px!important;
    overflow:visible!important;
  }
  html body .sch-cart-iconwrap{
    position:relative!important;
    display:block!important;
    width:40px!important;
    height:36px!important;
    flex:0 0 40px!important;
  }
  html body .sch-cart-iconwrap>svg{
    position:absolute!important;
    left:0!important;
    bottom:0!important;
    width:38px!important;
    height:32px!important;
    fill:none!important;
    stroke:#fff!important;
    stroke-width:2!important;
  }
  html body .sch-cart-count{
    position:absolute!important;
    top:-4px!important;
    left:19px!important;
    width:18px!important;
    min-width:18px!important;
    height:16px!important;
    line-height:16px!important;
    text-align:center!important;
    color:var(--sch-primary)!important;
    font-size:14px!important;
    font-weight:700!important;
    padding:0!important;
    margin:0!important;
  }
  html body .sch-cart strong{
    display:block!important;
    margin:0 0 5px -1px!important;
    padding:0!important;
    color:#fff!important;
    font-size:13px!important;
    line-height:14px!important;
    font-weight:700!important;
    white-space:nowrap!important;
  }
}

@media (min-width:768px) and (max-width:1050px){
  html body .sch-topbar{
    grid-template-columns:110px 110px minmax(220px,1fr) auto!important;
    column-gap:5px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  html body .sch-deliver{width:110px!important;min-width:110px!important;max-width:110px!important;padding-left:4px!important;padding-right:4px!important;}
  html body .sch-deliver small,html body .sch-deliver strong{max-width:78px!important;}
  html body .sch-account{min-width:112px!important;max-width:120px!important;}
  html body .sch-returns{display:none!important;}
  html body .sch-cart{width:70px!important;min-width:70px!important;max-width:70px!important;}
}

@media (max-width:767px){
  html body .sch-mobile .sch-cart{width:42px!important;min-width:42px!important;max-width:42px!important;}
  html body .sch-mobile .sch-cart-iconwrap{position:relative!important;display:block!important;width:38px!important;height:34px!important;}
  html body .sch-mobile .sch-cart-iconwrap>svg{position:absolute!important;left:0!important;bottom:0!important;width:34px!important;height:30px!important;fill:none!important;stroke:#fff!important;stroke-width:2!important;}
  html body .sch-mobile .sch-cart-count{top:-3px!important;left:17px!important;}
}


/* ===== v2.2 final desktop position correction ===== */
@media (min-width:1100px){
  html body .sch-topbar{
    display:grid!important;
    grid-template-columns:var(--sch-logo-w) var(--sch-delivery-w) minmax(var(--sch-search-min-w),1fr) auto!important;
    align-items:center!important;
    column-gap:6px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  html body .sch-brand{
    grid-column:1!important;
    order:unset!important;
    width:var(--sch-logo-w)!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
  }
  html body .sch-deliver{
    grid-column:2!important;
    order:unset!important;
    width:var(--sch-delivery-w)!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:4px 4px!important;
    align-self:center!important;
  }
  html body .sch-search-wrap{
    grid-column:3!important;
    order:unset!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  html body .sch-actions{
    grid-column:4!important;
    order:unset!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:var(--sch-actions-gap)!important;
    min-width:0!important;
    margin:0!important;
  }
  html body .sch-account{min-width:128px!important;padding-left:6px!important;padding-right:6px!important;}
  html body .sch-returns{min-width:74px!important;padding-left:6px!important;padding-right:6px!important;}
  html body .sch-cart{
    position:relative!important;
    display:grid!important;
    grid-template-columns:38px auto!important;
    grid-template-rows:1fr!important;
    align-items:end!important;
    justify-content:start!important;
    column-gap:2px!important;
    width:var(--sch-cart-w)!important;
    min-width:var(--sch-cart-w)!important;
    max-width:var(--sch-cart-w)!important;
    height:calc(var(--sch-header-h) - 10px)!important;
    padding:4px 4px!important;
    overflow:visible!important;
  }
  html body .sch-cart>svg{
    grid-column:1!important;
    grid-row:1!important;
    width:36px!important;
    height:31px!important;
    align-self:end!important;
  }
  html body .sch-cart-count{
    position:absolute!important;
    top:0!important;
    left:24px!important;
    min-width:14px!important;
    font-size:14px!important;
    line-height:14px!important;
    text-align:center!important;
  }
  html body .sch-cart strong{
    grid-column:2!important;
    grid-row:1!important;
    align-self:end!important;
    margin:0 0 4px!important;
    padding:0!important;
    font-size:13px!important;
    line-height:14px!important;
    white-space:nowrap!important;
  }
}


/* ===== v2.3 FINAL DESKTOP OVERRIDE: compact logo > delivery > search > actions ===== */
@media (min-width:768px){
  html body #swiftcart-marketplace-header .sch-topbar{
    display:grid!important;
    grid-template-columns:max-content max-content minmax(0,1fr) max-content!important;
    align-items:center!important;
    column-gap:6px!important;
    width:100%!important;
    min-width:0!important;
    padding:5px 14px!important;
    overflow:hidden!important;
  }

  /* 1. Logo: no invisible/reserved column after the visible logo */
  html body #swiftcart-marketplace-header .sch-brand{
    grid-column:1!important;
    order:unset!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:calc(var(--sch-header-h) - 10px)!important;
    margin:0!important;
    padding:3px 6px!important;
  }
  html body #swiftcart-marketplace-header .sch-brand .sch-logo-img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:var(--sch-logo-w)!important;
    max-height:var(--sch-logo-h)!important;
    object-fit:contain!important;
  }

  /* 2. Delivery: immediately after logo, immediately before search */
  html body #swiftcart-marketplace-header .sch-deliver{
    grid-column:2!important;
    order:unset!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    width:auto!important;
    min-width:108px!important;
    max-width:132px!important;
    height:calc(var(--sch-header-h) - 10px)!important;
    margin:0!important;
    padding:4px 6px!important;
    overflow:hidden!important;
  }
  html body #swiftcart-marketplace-header .sch-deliver>svg{
    display:block!important;
    width:16px!important;
    height:19px!important;
    min-width:16px!important;
    flex:0 0 16px!important;
    margin:6px 0 0!important;
  }
  html body #swiftcart-marketplace-header .sch-deliver span{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:0!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  html body #swiftcart-marketplace-header .sch-deliver small{
    display:block!important;
    margin:0!important;
    padding:0!important;
    font-size:11px!important;
    line-height:12px!important;
    font-weight:400!important;
    color:#ccc!important;
    white-space:nowrap!important;
  }
  html body #swiftcart-marketplace-header .sch-deliver strong{
    display:block!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:13px!important;
    line-height:14px!important;
    font-weight:700!important;
    color:#fff!important;
    white-space:nowrap!important;
  }

  /* 3. Search consumes only the real space between delivery and actions */
  html body #swiftcart-marketplace-header .sch-search-wrap{
    grid-column:3!important;
    order:unset!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  html body #swiftcart-marketplace-header .sch-search{
    width:100%!important;
    min-width:0!important;
  }

  /* 4. Right actions stay compact */
  html body #swiftcart-marketplace-header .sch-actions{
    grid-column:4!important;
    order:unset!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:2px!important;
    width:auto!important;
    min-width:0!important;
    height:calc(var(--sch-header-h) - 10px)!important;
    margin:0!important;
    padding:0!important;
  }
  html body #swiftcart-marketplace-header .sch-account{
    width:auto!important;
    min-width:120px!important;
    max-width:138px!important;
    padding:4px 6px!important;
  }
  html body #swiftcart-marketplace-header .sch-returns{
    width:auto!important;
    min-width:68px!important;
    max-width:78px!important;
    padding:4px 5px!important;
  }

  /* 5. Cart rebuilt as one compact visual unit */
  html body #swiftcart-marketplace-header .sch-actions .sch-cart{
    position:relative!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    gap:2px!important;
    width:76px!important;
    min-width:76px!important;
    max-width:76px!important;
    height:calc(var(--sch-header-h) - 10px)!important;
    margin:0!important;
    padding:4px 3px!important;
    overflow:visible!important;
  }
  html body #swiftcart-marketplace-header .sch-actions .sch-cart-iconwrap{
    position:relative!important;
    display:block!important;
    flex:0 0 39px!important;
    width:39px!important;
    min-width:39px!important;
    height:35px!important;
    margin:0!important;
    padding:0!important;
  }
  html body #swiftcart-marketplace-header .sch-actions .sch-cart-iconwrap>svg{
    position:absolute!important;
    left:0!important;
    bottom:0!important;
    display:block!important;
    width:38px!important;
    height:31px!important;
    margin:0!important;
    fill:none!important;
    stroke:#fff!important;
    stroke-width:2!important;
  }
  html body #swiftcart-marketplace-header .sch-actions .sch-cart-count{
    position:absolute!important;
    top:-4px!important;
    left:18px!important;
    display:block!important;
    width:18px!important;
    min-width:18px!important;
    height:16px!important;
    margin:0!important;
    padding:0!important;
    color:var(--sch-primary)!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:16px!important;
    text-align:center!important;
  }
  html body #swiftcart-marketplace-header .sch-actions .sch-cart strong{
    display:block!important;
    align-self:flex-end!important;
    margin:0 0 4px 0!important;
    padding:0!important;
    color:#fff!important;
    font-size:13px!important;
    line-height:14px!important;
    font-weight:700!important;
    white-space:nowrap!important;
  }
}

@media (min-width:768px) and (max-width:1050px){
  html body #swiftcart-marketplace-header .sch-topbar{
    grid-template-columns:max-content max-content minmax(180px,1fr) max-content!important;
    column-gap:4px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  html body #swiftcart-marketplace-header .sch-deliver{min-width:100px!important;max-width:110px!important;padding-left:3px!important;padding-right:3px!important;}
  html body #swiftcart-marketplace-header .sch-account{min-width:104px!important;max-width:112px!important;}
  html body #swiftcart-marketplace-header .sch-returns{display:none!important;}
  html body #swiftcart-marketplace-header .sch-actions .sch-cart{width:70px!important;min-width:70px!important;max-width:70px!important;}
}


/* ===== v2.4 cart vertical alignment ===== */
@media (min-width:768px){
  html body #swiftcart-marketplace-header .sch-actions .sch-cart{
    transform:translateY(-6px)!important;
  }
}


/* ===== v2.5 verified desktop cart alignment ===== */
@media (min-width:768px){
  html body #swiftcart-marketplace-header .sch-actions{
    align-items:center!important;
  }
  html body #swiftcart-marketplace-header .sch-actions .sch-cart{
    transform:none!important;
    align-self:center!important;
    display:grid!important;
    grid-template-columns:38px auto!important;
    align-items:center!important;
    justify-content:start!important;
    column-gap:2px!important;
    width:76px!important;
    min-width:76px!important;
    max-width:76px!important;
    height:42px!important;
    margin:0!important;
    padding:0 2px!important;
    overflow:visible!important;
  }
  html body #swiftcart-marketplace-header .sch-actions .sch-cart-iconwrap{
    position:relative!important;
    display:block!important;
    width:38px!important;
    min-width:38px!important;
    height:32px!important;
    margin:-2px 0 0!important;
    padding:0!important;
  }
  html body #swiftcart-marketplace-header .sch-actions .sch-cart-iconwrap>svg{
    position:absolute!important;
    left:0!important;
    top:3px!important;
    bottom:auto!important;
    width:36px!important;
    height:29px!important;
    margin:0!important;
  }
  html body #swiftcart-marketplace-header .sch-actions .sch-cart-count{
    position:absolute!important;
    top:-5px!important;
    left:17px!important;
    width:18px!important;
    min-width:18px!important;
    height:15px!important;
    line-height:15px!important;
    font-size:14px!important;
    text-align:center!important;
  }
  html body #swiftcart-marketplace-header .sch-actions .sch-cart strong{
    align-self:center!important;
    display:block!important;
    margin:7px 0 0!important;
    padding:0!important;
    font-size:13px!important;
    line-height:14px!important;
    white-space:nowrap!important;
  }
}


/* ===== v2.6 mobile layout matched to reference ===== */
@media (max-width:767px){
  html body #swiftcart-marketplace-header .sch-mobile{
    display:block!important;
    background:var(--sch-dark)!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-top{
    display:grid!important;
    grid-template-columns:34px minmax(72px,1fr) auto!important;
    align-items:center!important;
    column-gap:4px!important;
    height:36px!important;
    padding:2px 7px!important;
    background:var(--sch-mid)!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-menu-trigger{
    width:30px!important;
    min-width:30px!important;
    max-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    justify-content:flex-start!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-menu-trigger>svg{
    width:24px!important;
    height:24px!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile .sch-brand{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:auto!important;
    min-width:0!important;
    max-width:90px!important;
    height:32px!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile .sch-logo-img{
    display:block!important;
    width:auto!important;
    max-width:88px!important;
    max-height:30px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile .sch-logo-text{
    font-size:16px!important;
    line-height:30px!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:7px!important;
    height:32px!important;
    white-space:nowrap!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-account{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:2px!important;
    height:30px!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:700!important;
    line-height:14px!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-account span{
    display:block!important;
    max-width:80px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-account b{
    display:block!important;
    margin:0 1px 0 0!important;
    padding:0!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:400!important;
    line-height:14px!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-account svg{
    display:block!important;
    width:22px!important;
    height:22px!important;
    color:#fff!important;
    fill:none!important;
    flex:0 0 22px!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile .sch-cart{
    position:relative!important;
    display:block!important;
    width:39px!important;
    min-width:39px!important;
    max-width:39px!important;
    height:31px!important;
    margin:0!important;
    padding:0!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile .sch-cart-iconwrap{
    position:relative!important;
    display:block!important;
    width:38px!important;
    height:31px!important;
    margin:0!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile .sch-cart-iconwrap>svg{
    position:absolute!important;
    left:0!important;
    bottom:0!important;
    width:36px!important;
    height:29px!important;
    fill:none!important;
    stroke:#fff!important;
    stroke-width:2!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile .sch-cart-count{
    position:absolute!important;
    top:-5px!important;
    left:18px!important;
    width:16px!important;
    min-width:16px!important;
    height:15px!important;
    color:var(--sch-primary)!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:15px!important;
    text-align:center!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-search{
    padding:4px 7px 5px!important;
    background:var(--sch-mid)!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-search{
    height:38px!important;
    border-radius:7px!important;
    overflow:hidden!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-category-select{
    display:none!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-search input[type=search]{
    height:38px!important;
    padding:0 10px!important;
    font-size:13px!important;
    line-height:38px!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-search button{
    width:43px!important;
    min-width:43px!important;
    max-width:43px!important;
    height:38px!important;
    min-height:38px!important;
    border-radius:7px 0 0 7px!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-search button svg{
    width:22px!important;
    height:22px!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-links{
    display:none!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-delivery{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    height:35px!important;
    padding:0 9px!important;
    background:var(--sch-delivery)!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:700!important;
    line-height:14px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-delivery>svg:first-child{
    display:block!important;
    width:15px!important;
    height:17px!important;
    flex:0 0 15px!important;
    fill:#fff!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-delivery span{
    display:block!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-delivery b{
    display:block!important;
    margin-left:-1px!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:14px!important;
  }
}


/* ===== v2.7 MOBILE REBUILD — reference geometry ===== */
@media (max-width:767px){
  html, body{overflow-x:hidden!important;}
  html body #swiftcart-marketplace-header{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    background:var(--sch-dark)!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    background:var(--sch-dark)!important;
  }

  /* Row 1: hamburger | logo | flexible gap | sign-in/user/cart */
  html body #swiftcart-marketplace-header .sch-mobile-top{
    display:grid!important;
    grid-template-columns:30px 86px minmax(0,1fr) max-content!important;
    grid-template-rows:38px!important;
    align-items:center!important;
    column-gap:6px!important;
    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    margin:0!important;
    padding:0 8px!important;
    overflow:visible!important;
    background:var(--sch-dark)!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-top > .sch-mobile-menu-trigger{
    grid-column:1!important;
    grid-row:1!important;
    order:0!important;
    align-self:center!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-top > .sch-brand{
    grid-column:2!important;
    grid-row:1!important;
    order:0!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-top > .sch-mobile-actions{
    grid-column:4!important;
    grid-row:1!important;
    order:0!important;
    align-self:center!important;
  }

  html body #swiftcart-marketplace-header .sch-mobile-menu-trigger{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:30px!important;
    min-width:30px!important;
    max-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-menu-trigger>svg{
    width:23px!important;
    height:23px!important;
    margin:0!important;
  }

  html body #swiftcart-marketplace-header .sch-mobile-top > .sch-brand{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:86px!important;
    min-width:86px!important;
    max-width:86px!important;
    height:34px!important;
    min-height:34px!important;
    margin:0!important;
    padding:1px 0!important;
    overflow:hidden!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-top > .sch-brand .sch-logo-img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:84px!important;
    max-height:31px!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-top > .sch-brand .sch-logo-text{
    display:block!important;
    max-width:84px!important;
    overflow:hidden!important;
    font-size:16px!important;
    line-height:30px!important;
    white-space:nowrap!important;
  }

  html body #swiftcart-marketplace-header .sch-mobile-actions{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:7px!important;
    width:auto!important;
    min-width:0!important;
    height:34px!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-account{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:2px!important;
    width:auto!important;
    height:30px!important;
    min-height:30px!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:700!important;
    line-height:14px!important;
    white-space:nowrap!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-account span{
    display:block!important;
    max-width:76px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-account b{
    display:block!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:400!important;
    line-height:14px!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-account svg{
    display:block!important;
    width:21px!important;
    height:21px!important;
    flex:0 0 21px!important;
    color:#fff!important;
    fill:none!important;
    margin:0!important;
  }

  html body #swiftcart-marketplace-header .sch-mobile .sch-cart{
    position:relative!important;
    display:block!important;
    width:39px!important;
    min-width:39px!important;
    max-width:39px!important;
    height:31px!important;
    min-height:31px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    transform:none!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile .sch-cart-iconwrap{
    position:relative!important;
    display:block!important;
    width:39px!important;
    height:31px!important;
    margin:0!important;
    padding:0!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile .sch-cart-iconwrap>svg{
    position:absolute!important;
    left:0!important;
    bottom:0!important;
    width:36px!important;
    height:29px!important;
    margin:0!important;
    fill:none!important;
    stroke:#fff!important;
    stroke-width:2!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile .sch-cart-count{
    position:absolute!important;
    top:-5px!important;
    left:18px!important;
    width:16px!important;
    min-width:16px!important;
    height:15px!important;
    margin:0!important;
    padding:0!important;
    color:var(--sch-primary)!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:15px!important;
    text-align:center!important;
  }

  /* Search row */
  html body #swiftcart-marketplace-header .sch-mobile-search{
    width:100%!important;
    margin:0!important;
    padding:4px 8px 7px!important;
    background:var(--sch-dark)!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-search{
    display:flex!important;
    width:100%!important;
    height:39px!important;
    min-height:39px!important;
    margin:0!important;
    padding:0!important;
    border-radius:7px!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-category-select{display:none!important;}
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-search input[type=search]{
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
    height:39px!important;
    margin:0!important;
    padding:0 10px!important;
    border:0!important;
    border-radius:0!important;
    font-size:13px!important;
    line-height:39px!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-search button{
    flex:0 0 43px!important;
    width:43px!important;
    min-width:43px!important;
    max-width:43px!important;
    height:39px!important;
    min-height:39px!important;
    margin:0!important;
    padding:0!important;
    border-radius:0 7px 7px 0!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-search button svg{
    width:21px!important;
    height:21px!important;
  }

  /* Reference has no quick-links row between search and delivery */
  html body #swiftcart-marketplace-header .sch-mobile-links{display:none!important;}

  /* Delivery row */
  html body #swiftcart-marketplace-header .sch-mobile-delivery{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    width:100%!important;
    height:35px!important;
    min-height:35px!important;
    margin:0!important;
    padding:0 10px!important;
    overflow:hidden!important;
    background:var(--sch-delivery)!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:700!important;
    line-height:14px!important;
    white-space:nowrap!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-delivery>svg:first-child{
    display:block!important;
    width:15px!important;
    height:17px!important;
    flex:0 0 15px!important;
    margin:0!important;
    fill:#fff!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-delivery span{
    display:block!important;
    max-width:calc(100% - 34px)!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-delivery b{
    display:block!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:400!important;
    line-height:14px!important;
  }
}


/* ===== v2.8: backend search-height control now applies to mobile too ===== */
@media (max-width:767px){
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-search{
    height:var(--sch-search-h)!important;
    min-height:var(--sch-search-h)!important;
    border-radius:var(--sch-search-radius)!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-search input[type=search]{
    height:var(--sch-search-h)!important;
    min-height:var(--sch-search-h)!important;
    line-height:var(--sch-search-h)!important;
    font-size:var(--sch-search-font)!important;
  }
  html body #swiftcart-marketplace-header .sch-mobile-search .sch-search button{
    height:var(--sch-search-h)!important;
    min-height:var(--sch-search-h)!important;
    width:var(--sch-search-btn-w)!important;
    min-width:var(--sch-search-btn-w)!important;
    max-width:var(--sch-search-btn-w)!important;
    flex-basis:var(--sch-search-btn-w)!important;
    border-radius:0 var(--sch-search-radius) var(--sch-search-radius) 0!important;
  }
}


/* ===== v3.0 Amazon-style typography lock ===== */
#swiftcart-marketplace-header,
#swiftcart-marketplace-header * {
  font-family: "Amazon Ember", Arial, Helvetica, sans-serif !important;
}

@media (min-width:768px){
  #swiftcart-marketplace-header .sch-deliver small,
  #swiftcart-marketplace-header .sch-account small,
  #swiftcart-marketplace-header .sch-returns small{
    font-size:12px!important;
    font-weight:400!important;
    line-height:14px!important;
    letter-spacing:0!important;
  }

  #swiftcart-marketplace-header .sch-deliver strong,
  #swiftcart-marketplace-header .sch-account strong,
  #swiftcart-marketplace-header .sch-returns strong{
    font-size:14px!important;
    font-weight:700!important;
    line-height:15px!important;
    letter-spacing:0!important;
  }

  #swiftcart-marketplace-header .sch-search input[type="search"]{
    font-size:15px!important;
    font-weight:400!important;
    line-height:var(--sch-search-h)!important;
  }

  #swiftcart-marketplace-header .sch-category-select select{
    font-size:12px!important;
    font-weight:400!important;
    line-height:var(--sch-search-h)!important;
  }

  #swiftcart-marketplace-header .sch-desktop-menu>li>a{
    font-size:14px!important;
    font-weight:500!important;
    line-height:33px!important;
  }

  #swiftcart-marketplace-header .sch-all-trigger strong{
    font-size:14px!important;
    font-weight:700!important;
    line-height:1!important;
  }

  #swiftcart-marketplace-header .sch-actions .sch-cart strong{
    font-size:14px!important;
    font-weight:700!important;
    line-height:15px!important;
  }

  #swiftcart-marketplace-header .sch-actions .sch-cart-count{
    font-size:14px!important;
    font-weight:700!important;
    line-height:14px!important;
  }
}

@media (max-width:767px){
  #swiftcart-marketplace-header .sch-mobile-account,
  #swiftcart-marketplace-header .sch-mobile-delivery{
    font-size:12px!important;
    font-weight:600!important;
  }
  #swiftcart-marketplace-header .sch-mobile-search .sch-search input[type="search"]{
    font-size:14px!important;
    font-weight:400!important;
  }
}
