.buyer-benefits{background:#fafafa;box-shadow:0 -3px 12px rgba(0,0,0,.055),0 4px 10px rgba(0,0,0,.045);position:relative;z-index:1}
.buyer-benefits-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:164px;align-items:center;gap:1rem}
.buyer-benefit{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;text-align:center;color:#f26336}
.buyer-benefit img{display:block;width:48px;height:48px;object-fit:contain;filter:drop-shadow(1px 2px 2px rgba(0,0,0,.11))}
.buyer-benefit strong{font-size:14px;font-weight:700;color:#5c5c5c;line-height:1.3}
.buyer-drawer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.48);z-index:100}
.buyer-drawer-backdrop[hidden]{display:none}
.buyer-drawer{position:fixed;top:0;bottom:0;z-index:101;width:min(390px,100vw);background:#fff;box-shadow:0 0 24px rgba(0,0,0,.2);transition:transform .25s ease;visibility:hidden;display:flex;flex-direction:column;color:#333}
.buyer-drawer.is-open{visibility:visible;transform:translateX(0)}
.account-drawer{left:0;transform:translateX(-104%);padding:55px 16px 22px;overflow-y:auto;background:#f6f6f7}
.cart-drawer{right:0;transform:translateX(104%)}
.drawer-close{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:#f4f4f4;color:#444;font-size:23px;line-height:1;cursor:pointer;padding:0;flex:none}
.account-drawer>.drawer-close{position:absolute;right:12px;top:10px}
.drawer-account-intro,.drawer-menu-group{background:#fff;border-radius:9px;margin-bottom:13px}
.drawer-account-intro{min-height:80px;display:flex;align-items:center;gap:15px;padding:14px}
.drawer-account-intro a,.drawer-menu a{color:#333;text-decoration:none}
.drawer-account-intro a{font-size:16px;font-weight:700}
.drawer-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#f0f0f0;color:#ee6438}
.drawer-avatar img{width:25px;height:25px}
.drawer-menu-group>a{display:flex;align-items:center;gap:14px;min-height:54px;padding:11px 17px;border-bottom:1px solid #f3f3f3;font-size:14px}
.drawer-menu-group>a>img,.drawer-menu-group>a>svg{display:block;width:24px;height:24px;flex:none;color:#606068}
.drawer-menu-group>a:last-child{border-bottom:0}
.drawer-menu-group>a:hover,.drawer-menu-group>a:focus{color:#ed6238}
.drawer-menu-group>a.drawer-with-count>span:not(.drawer-count){flex:1}
.drawer-count{margin-left:auto;min-width:1.25rem;padding:.12rem .42rem;border-radius:999px;background:#ed6238;color:#fff;font-size:11px;font-weight:800;line-height:1.25;text-align:center}
.drawer-language{padding:14px 17px;display:flex;flex-wrap:wrap;gap:9px}
.drawer-language>span{flex-basis:100%;font-weight:700}
.drawer-language>a{min-height:0!important;display:inline-block!important;padding:4px 7px!important;border:1px solid #ddd!important;border-radius:4px;font-size:12px!important}
.drawer-language>a.on{border-color:#ed6238!important;color:#ed6238}
.drawer-seller{display:block;padding:14px 17px;color:#ed6238!important}
.drawer-cart-head{min-height:65px;display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #eee;color:#f26336}
.drawer-cart-head strong{font-size:17px;color:#333}
.drawer-cart-brand{margin-left:auto;color:#f26336;font-weight:800;font-size:18px}
.drawer-cart-head .drawer-close{margin-left:4px}
.drawer-cart-body{flex:1;min-height:0;overflow:auto;padding:18px}
.drawer-cart-empty{height:100%;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#ef6438;gap:12px;text-align:center}
.drawer-cart-empty[hidden],.drawer-cart-lines[hidden]{display:none!important}
.drawer-cart-empty p{color:#777;margin:0;font-size:14px}
.drawer-cart-lines{list-style:none;margin:0;padding:0}
.drawer-cart-lines li{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #eee}
.drawer-cart-lines a{color:#333;text-decoration:none;font-size:14px;font-weight:600}
.drawer-cart-lines small{display:block;color:#888;margin-top:4px}
.drawer-cart-lines strong{white-space:nowrap;color:#f26336}
.cart-drawer{width:min(420px,100vw)}
.drawer-cart-lines li{justify-content:flex-start;align-items:flex-start;gap:13px;padding:16px 0}
.drawer-cart-image{display:block;flex:0 0 82px;width:82px;height:82px;border:1px solid #ececec;border-radius:7px;overflow:hidden;background:#fff}
.drawer-cart-image img{display:block;width:100%;height:100%;object-fit:contain}
.drawer-cart-copy{flex:1;min-width:0}
.drawer-cart-copy>a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.4}
.drawer-cart-copy small{line-height:1.4}
.drawer-cart-copy .drawer-cart-price{display:block;margin-top:8px;font-size:15px;color:#f26336}
.drawer-cart-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px}
.drawer-cart-quantity{display:inline-flex;align-items:center;height:30px;border:1px solid #dedede;border-radius:5px;overflow:hidden}
.drawer-cart-quantity button{width:30px;height:30px;border:0;background:#fafafa;color:#444;font-size:17px;cursor:pointer}
.drawer-cart-quantity button:hover{background:#fff0e9;color:#e85e38}
.drawer-cart-quantity span{min-width:32px;padding:0 5px;text-align:center;font-size:13px}
.drawer-cart-remove{border:0;background:none;color:#8d8d8d;font-size:12px;text-decoration:underline;cursor:pointer}
.drawer-cart-remove:hover{color:#e85e38}
.drawer-cart-copy .drawer-cart-warning{color:#b45b25}
.buyer-cart-float{position:fixed;top:30%;right:0;z-index:40;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:40px;height:56px;padding:4px 0;border:0;border-radius:8px 0 0 8px;background:#f16437;color:#fff;box-shadow:0 3px 8px rgba(0,0,0,.18);cursor:pointer}
.buyer-cart-float .count{position:static;display:block;min-width:16px;height:16px;padding:0 3px;border-radius:4px;background:#fff;color:#ef6337;font-size:11px;line-height:16px;box-shadow:none}
.buyer-support-float{position:fixed;top:calc(30% + 64px);right:0;z-index:40;display:flex;align-items:center;justify-content:center;width:40px;height:56px;border-radius:8px 0 0 8px;background:#f16437;color:#fff;box-shadow:0 3px 8px rgba(0,0,0,.18);text-decoration:none}
.cart-drawer{width:400px;max-width:100vw;background:rgba(250,250,250,.98);border-radius:24px 0 0 24px;overflow:hidden}
.drawer-cart-head{min-height:88px;padding:18px 20px;background:rgba(255,255,255,.92);border-bottom:1px solid #f0f0f0}
.drawer-cart-head>svg{width:29px;height:29px;flex:none}
.drawer-cart-title{display:flex;flex-direction:column;gap:2px;align-items:flex-start;color:#252525}
.drawer-cart-title strong{font-size:16px;line-height:1.15}
.drawer-cart-brand{margin:0;color:#777;font-size:13px;font-weight:400;line-height:1.2}
.drawer-cart-head .drawer-close{margin-left:auto;width:40px;height:40px;background:#f6f6f6}
.drawer-cart-body{padding:18px 20px}
.drawer-cart-empty{min-height:0;gap:16px;color:#f16437}
.drawer-cart-empty p{color:#333;font-size:15px;font-weight:700}
.drawer-cart-bottom{padding:20px;background:rgba(255,255,255,.8);border-top:1px solid #f1f1f1}
.drawer-coupon-line{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin-bottom:20px}
.drawer-cart-bottom label{display:block;margin:0;color:#777;font-size:12px;font-weight:400;white-space:nowrap}
.drawer-coupon-row{display:flex;margin:0;gap:16px}
.drawer-coupon-row input{min-width:0;flex:1;height:32px;padding:5px 12px;background:#f8f8fa;border:1px solid #e6e6eb;border-radius:8px;font-size:12px}
.drawer-coupon-row button{min-width:65px;height:32px;padding:0 10px;background:#424242;border:0;border-radius:8px;color:#fff;font-size:12px;cursor:pointer}
.drawer-checkout{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:12px;background:#f16437;color:#fff!important;text-decoration:none;font-size:14px;font-weight:700}
.drawer-checkout[aria-disabled="true"]{opacity:.9;cursor:default}
body.buyer-drawer-open{overflow:hidden}
@media(max-width:720px){.topbar{display:none}.buyer-benefits-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-height:0;padding:28px 12px;row-gap:29px}.buyer-benefit{gap:9px}.buyer-benefit img{width:42px;height:42px}.buyer-benefit strong{font-size:12px}.cart-drawer{width:100vw}.account-drawer{width:min(315px,85vw)}}
@media(max-width:720px){.buyer-cart-float{display:none}.buyer-support-float{top:auto;bottom:calc(4.6rem + env(safe-area-inset-bottom, 0px))}.cart-drawer{border-radius:0}.drawer-coupon-line{gap:8px}.drawer-coupon-row{gap:7px}}
/* No double-tap zoom on phones; iOS also zooms when a field under 16px gets focus. */
html{touch-action:manipulation;-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:900px){input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{font-size:16px!important}}
