:root{
  --navy:#08142B;
  --navy-2:#0D2245;
  --teal:#22D3B6;
  --teal-dark:#109B89;
  --blue:#3D7CFF;
  --blue-dark:#0B62F6;
  --coral:#FF6A4C;
  --amber:#F6C34A;
  --mist:#F3F6FA;
  --white:#FFFFFF;
  --ink:#08142B;
  --text:#24344D;
  --muted:#728198;
  --line:#E3EAF2;
  --green:#15975D;
  --red:#D92D20;
  --orange:#F79009;
  --shadow-sm:0 8px 24px rgba(8,20,43,.07);
  --shadow:0 18px 48px rgba(8,20,43,.11);
  --radius-sm:10px;
  --radius:16px;
  --radius-lg:24px;
  --container:1320px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:#fff;-webkit-font-smoothing:antialiased}
body.dashboard{background:var(--mist)}
body::selection{background:rgba(34,211,182,.25)}
h1,h2,h3,h4,b,strong,.btn,.market-brand{font-family:Poppins,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
img{max-width:100%;display:block}
.container{width:min(var(--container),calc(100% - 36px));margin-inline:auto}
.ui-icon{width:22px;height:22px;display:block;flex:0 0 auto}
.muted{color:var(--muted)}
.wide{grid-column:1/-1}
.no-margin{margin:0!important}
.brand-logo{display:block;height:auto}
.brand-logo-header{width:205px;height:auto}
.brand-logo-footer{width:190px}

/* Utility + header */
.utility-bar{height:36px;background:var(--mist);border-bottom:1px solid #EAF0F6;color:#66758C;font-size:12px}
.utility-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}
.utility-left,.utility-right{display:flex;align-items:center;gap:22px}
.utility-left a,.utility-right a{transition:.2s}
.portal-menu{position:relative;display:flex;align-items:center}
.portal-trigger{border:0;background:transparent;color:#64748A;font:600 11px/1 Inter,sans-serif;display:flex;align-items:center;gap:5px;cursor:pointer;padding:4px 0}.portal-trigger:hover,.portal-menu.open .portal-trigger{color:var(--teal-dark)}
.portal-trigger span{font-size:13px;transition:.2s}.portal-menu.open .portal-trigger>span:not(.utility-icon-badge){transform:none}
.portal-popover{display:none;position:absolute;left:0;top:calc(100% + 10px);width:245px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);z-index:130}
.portal-menu.open .portal-popover{display:grid;gap:4px}
.portal-popover a{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:3px!important;padding:11px 12px;border-radius:10px;color:var(--navy)!important}
.portal-popover a:hover{background:var(--mist)}.portal-popover b{font-size:12px}.portal-popover small{font-size:9px;color:var(--muted);line-height:1.4}
.utility-left a:hover,.utility-right a:hover{color:var(--blue-dark)}
.utility-location{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:6px;color:var(--navy);font-weight:650}
.utility-location .ui-icon,.lang-trigger .ui-icon{width:15px;height:15px}
.utility-accent{color:var(--teal-dark)!important;font-weight:800}
.lang-menu{position:relative}
.lang-trigger{border:0;background:transparent;display:flex;align-items:center;gap:6px;padding:7px 2px;font-weight:800;color:var(--navy)}
.lang-popover{display:none;position:absolute;right:0;top:31px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:7px;min-width:150px;box-shadow:var(--shadow);z-index:90}
.lang-menu:hover .lang-popover,.lang-menu.open .lang-popover{display:block}
.lang-popover a{display:block;padding:10px 11px;border-radius:8px;color:var(--text)}
.lang-popover a:hover,.lang-popover a.active{background:#EAFBF8;color:var(--teal-dark);font-weight:800}
.market-header{background:rgba(255,255,255,.97);position:sticky;top:0;z-index:60;border-bottom:1px solid rgba(227,234,242,.75);backdrop-filter:blur(15px)}
.market-header-inner{height:86px;display:flex;align-items:center;gap:17px}
.market-brand{display:flex;align-items:center;flex:0 0 auto}
.catalog-button{height:46px;border:0;border-radius:12px;background:var(--teal);color:var(--navy);padding:0 18px;display:flex;align-items:center;gap:9px;font-weight:800;transition:.2s;box-shadow:0 9px 20px rgba(34,211,182,.22)}
.catalog-button:hover{background:#42DFC5;transform:translateY(-1px)}
.catalog-button .ui-icon{width:20px;height:20px}
.market-search{height:46px;flex:1;display:flex;border:2px solid var(--blue);border-radius:13px;overflow:hidden;background:#fff;min-width:160px}
.market-search:focus-within{box-shadow:0 0 0 4px rgba(61,124,255,.12)}
.market-search input{flex:1;border:0;outline:0;padding:0 16px;min-width:0;color:var(--navy)}
.market-search input::placeholder{color:#9AA8BB}
.market-search button{width:58px;border:0;background:var(--blue);display:grid;place-items:center;color:#fff;transition:.2s}
.market-search button:hover{background:var(--blue-dark)}
.market-actions{display:flex;align-items:center;gap:14px}
.market-actions a{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:700;color:#617087;white-space:nowrap;min-width:48px;transition:.2s}
.market-actions a:hover{color:var(--blue-dark)}
.market-actions .ui-icon{width:22px;height:22px}
.market-actions b{position:absolute;top:-7px;right:4px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--coral);color:#fff;font:700 10px/18px Inter;text-align:center;box-shadow:0 3px 8px rgba(255,106,76,.28)}
.catalog-drawer{display:none;position:absolute;left:0;right:0;top:86px;background:#fff;border-top:1px solid var(--line);box-shadow:0 24px 50px rgba(8,20,43,.13);padding:22px 0}
.catalog-drawer.open{display:block}
.catalog-drawer-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}
.catalog-drawer-grid a{padding:14px;border-radius:12px;display:flex;align-items:center;gap:10px;border:1px solid transparent;color:var(--navy)}
.catalog-drawer-grid a span{font-size:23px}.drawer-category-photo{width:42px;height:42px;border-radius:11px;overflow:hidden;background:#F5F8FC;display:grid;place-items:center}.drawer-category-photo img{width:100%;height:100%;object-fit:cover}
.catalog-drawer-grid a:hover{background:#F0FAFF;border-color:#D7EAFB;color:var(--blue-dark)}
.category-strip{background:#fff;border-bottom:1px solid #EDF2F7}
.category-strip-inner{height:39px;display:flex;align-items:center;gap:24px;overflow:hidden;font-size:12px;color:#65748A}
.category-strip-inner a{white-space:nowrap;transition:.2s}
.category-strip-inner a:hover{color:var(--blue-dark)}
.category-strip-inner .all-link{margin-left:auto;color:var(--blue-dark);font-weight:800}
.sale-link{font-weight:850;color:#D76F00!important}
.flash{margin-top:12px;padding:13px 16px;border-radius:12px;transition:.3s;border:1px solid transparent}
.flash-success{background:#E9F8F0;color:#087A49;border-color:#CBEEDC}
.flash-error{background:#FFF0F0;color:#B42318;border-color:#FFD2D2}
.flash.hide{opacity:0;transform:translateY(-5px)}

/* Home hero */
.storefront-hero{display:grid;grid-template-columns:232px minmax(0,1fr);gap:16px;padding-top:18px;align-items:stretch}
.hero-categories{border:1px solid var(--line);border-radius:18px;background:#fff;padding:10px;box-shadow:var(--shadow-sm)}
.hero-categories-title{height:42px;padding:0 10px;display:flex;align-items:center;gap:9px;color:var(--navy);border-bottom:1px solid var(--line);margin-bottom:5px}
.hero-categories-title .ui-icon{width:18px;height:18px;color:var(--teal-dark)}
.hero-categories a{height:40px;display:grid;grid-template-columns:28px minmax(0,1fr) 14px;align-items:center;gap:8px;border-radius:10px;padding:0 9px;color:#45546A;font-size:12px;transition:.2s}
.hero-categories a span{font-size:18px;text-align:center}.category-thumb-wrap{width:28px;height:28px;border-radius:8px;overflow:hidden;background:#F5F8FC;display:grid;place-items:center}.category-thumb{width:100%;height:100%;object-fit:cover}
.hero-categories a b{font-family:Inter,sans-serif;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hero-categories a i{font-style:normal;color:#A6B2C1;font-size:18px}
.hero-categories a:hover{background:#EBFBF8;color:var(--teal-dark);transform:translateX(2px)}
.hero-stage{min-width:0}
.brand-hero{height:100%;min-height:392px;position:relative;overflow:hidden;border-radius:22px;background:linear-gradient(130deg,#EAF7FF 0%,#EDF8FF 45%,#DDEEFF 100%);display:grid;grid-template-columns:minmax(0,1.02fr) minmax(330px,.98fr);align-items:center;border:1px solid #D8EAFB}
.brand-hero::before{content:"";position:absolute;width:330px;height:330px;border-radius:50%;background:rgba(61,124,255,.12);right:-100px;top:-120px}
.brand-hero-copy{padding:44px 0 44px 52px;position:relative;z-index:2}
.eyebrow,.section-kicker{display:block;color:var(--teal-dark);font:800 11px/1.2 Poppins,Inter,sans-serif;letter-spacing:.13em;text-transform:uppercase;margin-bottom:10px}
.brand-hero h1{font-size:38px;line-height:1.12;letter-spacing:-1.3px;margin:0;color:var(--navy);max-width:500px}
.brand-hero p{font-size:15px;line-height:1.55;color:#52637B;margin:16px 0 0;max-width:430px}
.brand-hero img{width:100%;height:100%;object-fit:cover;object-position:center;align-self:stretch}
.hero-button{margin-top:24px;display:inline-flex}
.hero-proof{display:flex;gap:18px;margin-top:20px;font-size:11px;color:#53647A;font-weight:700}
.hero-proof span::first-letter{color:var(--teal-dark)}
.hero-promos{display:grid;grid-template-rows:1fr 1fr;gap:16px;min-width:0}
.service-promo{border-radius:18px;padding:20px;display:flex;gap:14px;align-items:flex-start;position:relative;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-sm);transition:.2s}
.service-promo:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.service-promo::after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;right:-32px;bottom:-36px;opacity:.2}
.service-promo.seller-promo{background:#ECFBF8}.service-promo.seller-promo::after{background:var(--teal)}
.service-promo.ads-promo{background:#FFF2EE}.service-promo.ads-promo::after{background:var(--coral)}
.service-icon{width:48px;height:48px;border-radius:14px;background:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(8,20,43,.07)}
.seller-promo .service-icon{color:var(--teal-dark)}.ads-promo .service-icon{color:var(--coral)}
.service-promo b{font-size:18px;color:var(--navy)}
.service-promo p{font-size:12px;line-height:1.45;margin:6px 0 12px;color:#65748A}
.service-promo small{font-weight:800;color:var(--navy)}.service-promo>div{position:relative;z-index:2;max-width:62%}.service-promo-photo{position:absolute;right:0;bottom:0;width:48%;height:60%;object-fit:contain;object-position:right bottom;z-index:1}

/* Dynamic advertisement blocks */
.market-ad{position:relative;display:flex;overflow:hidden;background:var(--ad-bg,var(--navy));color:var(--ad-color,#fff);border-radius:20px;min-width:0}
.market-ad-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start}
.market-ad-copy h2{margin:0;line-height:1.12;letter-spacing:-.7px;color:inherit}
.market-ad-copy p{margin:11px 0 0;line-height:1.48;opacity:.88}
.market-ad-button{display:inline-flex;margin-top:19px;padding:10px 15px;border-radius:10px;background:#fff;color:var(--navy);font-weight:800;font-size:12px;box-shadow:0 7px 16px rgba(8,20,43,.12)}
.market-ad img{width:48%;height:100%;object-fit:cover;object-position:center}
.brand-hero-ad{height:100%;min-height:392px}
.brand-hero-ad .market-ad-copy{width:58%;padding:48px;justify-content:center}
.brand-hero-ad h2{font-size:38px}
.brand-hero-ad p{font-size:15px;max-width:470px}.brand-hero-ad img{width:55%;object-position:center right}
.side-ad{height:100%;min-height:188px}
.side-ad .market-ad-copy{padding:20px;width:72%;justify-content:center}
.side-ad h2{font-size:20px}.side-ad p{font-size:11px;margin-top:7px}.side-ad .market-ad-button{padding:7px 10px;margin-top:10px;font-size:10px}
.side-ad img{width:46%;object-fit:contain;object-position:right bottom;padding:8px 4px 4px 0}
.ad-art{position:absolute;right:0;top:0;width:43%;height:100%;overflow:hidden}
.ad-art:before{content:"";position:absolute;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.15);right:18px;top:48px}
.ad-art i{position:absolute;width:150px;height:185px;border-radius:28px 28px 60px 28px;background:linear-gradient(145deg,var(--teal),var(--blue));right:48px;top:72px;transform:rotate(7deg);box-shadow:0 25px 40px rgba(8,20,43,.22)}
.ad-art b{position:absolute;width:65px;height:65px;border:11px solid #fff;border-radius:50%;right:89px;top:117px;z-index:2;opacity:.92}
.ad-art em{position:absolute;width:82px;height:16px;border-radius:20px;background:#fff;right:80px;top:207px;z-index:2;opacity:.82}
.side-ad .ad-art{width:40%}.side-ad .ad-art:before{width:100px;height:100px;right:4px;top:31px}.side-ad .ad-art i{width:72px;height:88px;right:15px;top:47px;border-radius:16px}.side-ad .ad-art b{width:30px;height:30px;border-width:6px;right:35px;top:65px}.side-ad .ad-art em{display:none}

/* Home content */
.trust-strip{margin-top:18px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;box-shadow:var(--shadow-sm)}
.trust-strip>div{min-height:78px;padding:15px 18px;display:flex;align-items:center;gap:12px;border-right:1px solid var(--line)}
.trust-strip>div:last-child{border:0}
.trust-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto}.trust-icon .ui-icon{width:22px;height:22px}
.trust-icon.teal{background:#E8FBF7;color:var(--teal-dark)}.trust-icon.blue{background:#EAF1FF;color:var(--blue-dark)}.trust-icon.amber{background:#FFF7DE;color:#C68A00}.trust-icon.coral{background:#FFF0ED;color:var(--coral)}
.trust-strip p{display:flex;flex-direction:column;margin:0}.trust-strip b{font-size:12px;color:var(--navy)}.trust-strip small{font-size:10px;color:var(--muted);margin-top:3px;line-height:1.35}
.home-section{padding-top:42px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px}
.section-head h2{margin:0;font-size:26px;line-height:1.2;letter-spacing:-.6px;color:var(--navy)}
.section-head p{margin:6px 0 0}
.market-section-head a{color:var(--blue-dark);font-weight:800;font-size:12px}
.market-section-head>span{font-size:12px;color:var(--muted)}
.section-kicker{margin-bottom:7px}.section-kicker.light{color:var(--teal)}
.market-category-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:11px}
.market-category-card{min-width:0;display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;font-size:11px;font-weight:700;color:var(--navy);transition:.2s}
.market-category-card>span{width:100%;aspect-ratio:1.12;border-radius:16px;display:grid;place-items:center;font-size:33px;transition:.22s;border:1px solid rgba(8,20,43,.05);overflow:hidden}.market-category-card>span img{width:100%;height:100%;object-fit:cover}.category-fallback{font:850 28px/1 Poppins;color:var(--blue-dark)}
.category-tone-1>span{background:#EAF4FF}.category-tone-2>span{background:#E8FBF7}.category-tone-3>span{background:#FFF0ED}.category-tone-4>span{background:#FFF7DE}.category-tone-5>span{background:#F1F3FA}
.market-category-card:hover>span{transform:translateY(-4px);box-shadow:var(--shadow-sm)}
.market-category-card:hover{color:var(--blue-dark)}
.campaign-wrap{padding-top:34px}
.grid-ad{height:178px}
.grid-ad .market-ad-copy{padding:28px 40px;width:65%;justify-content:center}
.grid-ad h2{font-size:29px}.grid-ad p{font-size:13px}.grid-ad .market-ad-button{margin-top:12px;padding:8px 13px}
.product-section{padding-bottom:50px}
.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.product-grid.compact{grid-template-columns:repeat(4,1fr)}
.product-card{position:relative;min-width:0;background:#fff;border:1px solid transparent;border-radius:16px;overflow:hidden;transition:.22s}
.product-card:hover{border-color:#DCE7F3;box-shadow:var(--shadow);transform:translateY(-3px)}
.product-image{height:240px;position:relative;display:block;background:var(--mist);overflow:hidden;border-radius:15px}
.product-image>img{width:100%;height:100%;object-fit:cover;object-position:center;transition:.3s}
.product-card:hover .product-image>img{transform:scale(1.035)}
.product-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#E8FBF7,#EAF1FF);font:850 52px/1 Poppins;color:var(--blue-dark)}
.discount-badge{position:absolute;left:9px;top:9px;background:var(--coral);color:#fff;border-radius:8px;padding:5px 8px;font:800 11px/1 Inter;z-index:2}
.product-label{position:absolute;left:9px;bottom:9px;background:rgba(8,20,43,.82);color:#fff;border-radius:8px;padding:5px 8px;font:700 9px/1 Inter;backdrop-filter:blur(6px)}
.wish-form{position:absolute;right:9px;top:9px;z-index:3}
.wish{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.93);display:grid;place-items:center;color:var(--navy);box-shadow:0 5px 13px rgba(8,20,43,.12)}
.wish:hover{color:var(--coral)}.wish .ui-icon{width:18px;height:18px}
.product-body{padding:12px 7px 13px}
.store-name{display:block;color:#758399;font-size:10px;margin-bottom:5px}
.product-body h3{margin:0;font:650 13px/1.4 Inter,sans-serif;color:var(--navy);height:36px;overflow:hidden}
.rating{font-size:10px;color:#ED9900;margin-top:8px;font-weight:800}.rating span{color:var(--muted);font-weight:500}
.installment{display:inline-flex;background:#FFF2B7;color:#5E4A00;border-radius:7px;padding:5px 7px;margin-top:9px;font-size:9px;font-weight:800}
.price-row{display:flex;align-items:baseline;gap:7px;margin-top:9px;min-height:23px}.price-row strong{font-size:15px;color:var(--navy)}.price-row del{font-size:10px;color:#9BA6B7}
.add-cart{width:100%;height:37px;margin-top:10px;border:0;border-radius:10px;background:var(--teal);color:var(--navy);display:flex;align-items:center;justify-content:center;gap:8px;font-weight:850;font-size:11px;transition:.2s}
.add-cart:hover{background:#45DFC7;transform:translateY(-1px)}.add-cart .ui-icon{width:17px;height:17px}
.ecosystem-section{background:var(--navy);padding:56px 0;margin-top:10px;position:relative;overflow:hidden}
.ecosystem-section::before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:rgba(61,124,255,.17);right:-170px;top:-190px}.ecosystem-section::after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(34,211,182,.10);left:-140px;bottom:-170px}
.ecosystem-inner{display:grid;grid-template-columns:330px minmax(0,1fr);gap:50px;align-items:center;position:relative;z-index:2}
.ecosystem-heading h2{color:#fff;font-size:38px;line-height:1.08;margin:0;letter-spacing:-1.2px}.ecosystem-heading p{color:#B8C7DB;line-height:1.6;font-size:14px;margin:16px 0 24px}.ecosystem-heading .btn{display:inline-flex}
.ecosystem-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.ecosystem-card{min-height:120px;padding:20px;border-radius:18px;background:#fff;display:grid;grid-template-columns:52px 1fr 24px;gap:14px;align-items:center;box-shadow:0 18px 38px rgba(0,0,0,.16);transition:.2s}
.ecosystem-card:hover{transform:translateY(-3px)}
.ecosystem-card>span{width:52px;height:52px;border-radius:14px;display:grid;place-items:center}.ecosystem-card>span .ui-icon{width:26px;height:26px}.ecosystem-card b{font-size:17px;color:var(--navy)}.ecosystem-card p{font-size:11px;color:var(--muted);margin:5px 0 0}.ecosystem-card>i{font-style:normal;font-size:20px;color:#98A6B9}
.ecosystem-card.seller>span{background:#E8FBF7;color:var(--teal-dark)}.ecosystem-card.delivery>span{background:#EAF1FF;color:var(--blue-dark)}.ecosystem-card.ads>span{background:#FFF0ED;color:var(--coral)}.ecosystem-card.pay>span{background:#FFF7DE;color:#C88900}
.values-row{display:grid;grid-template-columns:repeat(4,1fr);margin-top:30px;margin-bottom:44px;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.values-row>div{padding:17px 20px;border-right:1px solid var(--line);display:flex;flex-direction:column}.values-row>div:last-child{border:0}.values-row b{font-size:13px;color:var(--navy)}.values-row small{font-size:10px;color:var(--muted);margin-top:3px}

/* Footer */
.market-footer{background:#F6F9FC;border-top:1px solid var(--line);padding:42px 0 18px}
.footer-top{display:grid;grid-template-columns:360px minmax(0,1fr);gap:72px}
.footer-brand-block strong{display:block;color:var(--teal-dark);font-size:18px;margin-top:14px}.footer-brand-block p{font-size:12px;line-height:1.6;color:var(--muted);max-width:330px}.domain-chip{display:inline-flex;align-items:center;gap:7px;margin-top:5px;padding:8px 11px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:11px;color:var(--navy);font-weight:800}.domain-chip .ui-icon{width:15px;height:15px;color:var(--blue)}
.footer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px}.footer-grid>div{display:flex;flex-direction:column;gap:11px}.footer-grid b{color:var(--navy);font-size:13px}.footer-grid a{color:#6B7890;font-size:12px}.footer-grid a:hover{color:var(--blue-dark)}
.footer-bottom{margin-top:34px;padding-top:17px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;color:#8693A6}
.mobile-nav{display:none}

/* Common components */
.btn{min-height:42px;padding:0 18px;border-radius:11px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:12px;transition:.2s}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--teal);color:var(--navy);box-shadow:0 9px 20px rgba(34,211,182,.20)}.btn-primary:hover{background:#42DFC5}
.btn-success{background:var(--green);color:#fff}.btn-light{background:#fff;color:var(--navy)}.btn-light.bordered{border-color:var(--line)}
.btn.full{width:100%}.btn.disabled,.btn:disabled{opacity:.5;pointer-events:none}
.panel-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;margin-top:18px;box-shadow:0 8px 26px rgba(8,20,43,.04)}
.empty-state{padding:42px;text-align:center;color:var(--muted);border:1px dashed #CAD5E2;border-radius:15px;background:#FAFCFE}
.alert{padding:13px 15px;border-radius:11px;background:#FFF3EF;color:#B8462E;border:1px solid #FFD6CC;font-size:12px;margin-bottom:14px}
.breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-bottom:16px}.breadcrumb a:hover{color:var(--blue-dark)}

/* Product detail */
.compact-section{padding-top:28px;padding-bottom:42px}
.product-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:18px}
.product-detail{display:grid;grid-template-columns:minmax(340px,.95fr) minmax(360px,1.05fr);gap:32px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:var(--shadow-sm)}
.detail-image{min-height:470px;background:var(--mist);border-radius:18px;display:grid;place-items:center;overflow:hidden}.detail-image>img{width:100%;height:100%;object-fit:contain}.detail-image .product-placeholder{font-size:90px}
.detail-info{padding:12px 14px 12px 0}.detail-info h1{font-size:32px;line-height:1.15;letter-spacing:-.8px;color:var(--navy);margin:14px 0 10px}.detail-info>p{line-height:1.65;color:#607087;font-size:13px}
.store-chip{display:inline-flex;background:#E8FBF7;color:var(--teal-dark);padding:7px 10px;border-radius:8px;font-size:10px;font-weight:850}.rating.big{font-size:12px;margin-bottom:18px}.detail-price{font:850 28px/1.2 Poppins;color:var(--navy);margin-top:24px}.detail-price del{font:500 13px Inter;color:#97A3B4;margin-left:8px}.installment.large{font-size:11px;padding:7px 10px}.stock{margin:16px 0;font-weight:800;font-size:11px}.stock.ok{color:var(--green)}.stock.no{color:var(--red)}
.buy-row{display:flex;gap:10px;align-items:center}.buy-row input{width:74px;height:42px}.buy-row .btn{flex:1}
.product-ad-side .side-ad{min-height:220px;position:sticky;top:138px}.product-side-ad .market-ad-copy{width:80%}

/* Forms */
label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:750;color:#526078;margin-bottom:15px}
input,select,textarea{width:100%;border:1px solid #D8E1EC;border-radius:10px;background:#fff;color:var(--navy);padding:11px 12px;outline:0;transition:.2s}
input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(61,124,255,.10)}
textarea{resize:vertical;min-height:96px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.three-lang-grid{grid-template-columns:repeat(3,1fr)}.span-2,.span-3{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.color-field{display:grid;grid-template-columns:48px 1fr;gap:8px}.color-field input[type=color]{height:43px;padding:3px}.current-ad-image{border:1px dashed var(--line);border-radius:12px;padding:12px}.current-ad-image span{display:block;font-size:11px;font-weight:800;margin-bottom:9px}.current-ad-image img{width:210px;height:105px;object-fit:cover;border-radius:9px}

/* Cart / lists / tables */
.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px}.summary-card{height:max-content;position:sticky;top:138px}.summary-card h2{margin-top:0;color:var(--navy)}.summary-card>div{display:flex;justify-content:space-between;padding:9px 0;font-size:12px}.summary-total{font-size:18px!important;border-top:1px solid var(--line);margin-top:6px;padding-top:14px!important}
.line-item{display:grid;grid-template-columns:74px 1fr auto;gap:15px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.thumb{width:74px;height:74px;background:var(--mist);border-radius:12px;display:grid;place-items:center;overflow:hidden}.thumb img,.mini-thumb img{width:100%;height:100%;object-fit:cover}.thumb .product-placeholder,.mini-thumb .product-placeholder{font-size:20px}.line-main{display:flex;flex-direction:column;gap:4px}.line-main small{color:var(--muted)}.qty-form{display:flex;gap:7px;align-items:center}.qty-form input{width:72px}.icon-btn{width:38px;height:38px;border-radius:10px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;cursor:pointer;transition:.2s}.icon-btn .ui-icon{width:17px;height:17px}.icon-btn:hover{background:var(--mist);transform:translateY(-1px)}.icon-btn.danger{color:var(--red)}.icon-btn.success{color:var(--green)}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:13px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px 12px;border-bottom:1px solid var(--line);white-space:nowrap}tr:last-child td{border-bottom:0}th{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;background:#F7F9FC}td{font-size:12px}td small{display:block;color:var(--muted);margin-top:4px}.table-product{display:flex;align-items:center;gap:10px}.mini-thumb{width:46px;height:46px;background:var(--mist);border-radius:10px;display:grid;place-items:center;overflow:hidden}.status{display:inline-flex;padding:6px 9px;border-radius:999px;background:#EEF1F5;color:#525F72;font-size:9px;font-weight:800}.status-active,.status-delivered,.status-paid{background:#E8F8F0;color:#087A49}.status-pending,.status-waiting,.status-new,.status-assigned,.status-draft{background:#FFF5E5;color:#AD5300}.status-blocked,.status-cancelled,.status-failed{background:#FFF0F0;color:#B42318}.status-picked_up,.status-on_way,.status-preparing,.status-shipped{background:#EAF1FF;color:#0B62F6}.status-inactive{background:#EFF1F4;color:#5D6878}.row-actions{display:flex;gap:6px}

/* Authentication */
.auth-page{min-height:100vh;background:var(--mist);display:grid;place-items:center;padding:28px;position:relative}.auth-top-lang{position:fixed;right:22px;top:20px;z-index:4;display:flex;padding:5px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-sm)}.auth-top-lang a{padding:7px 9px;border-radius:7px;font-size:10px;font-weight:800;color:var(--muted)}.auth-top-lang a.active{background:#E8FBF7;color:var(--teal-dark)}
.auth-shell{width:min(980px,100%);display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);overflow:hidden;position:relative}.auth-shell::before{content:"";background:var(--navy) url('/assets/img/brand/auth-visual.svg') center/cover no-repeat;min-height:620px;grid-column:1;grid-row:1}.auth-brand{position:absolute;left:35px;top:32px;z-index:2}.auth-brand .brand-logo{width:180px;filter:brightness(0) invert(1)}
.auth-card{grid-column:2;grid-row:1;padding:56px 50px;align-self:center}.auth-card h1{font-size:30px;color:var(--navy);margin:0}.auth-card>p{font-size:12px;color:var(--muted);margin:8px 0 24px}.auth-bottom{text-align:center!important;margin:17px 0 0!important}.auth-bottom a{color:var(--blue-dark);font-weight:800}

/* Dashboard */
.dashboard{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}
.sidebar{background:var(--navy);min-height:100vh;position:sticky;top:0;height:100vh;padding:22px 16px;display:flex;flex-direction:column;z-index:50;overflow:auto}
.side-brand{height:54px;padding:4px 8px 14px;border-bottom:1px solid rgba(255,255,255,.10)}.side-brand .brand-logo{width:165px;filter:brightness(0) invert(1)}
.sidebar nav{display:flex;flex-direction:column;gap:5px;margin-top:22px}.sidebar nav a,.logout-side{min-height:44px;padding:0 12px;border-radius:11px;display:flex;align-items:center;gap:11px;color:#AFC0D5;font-size:12px;font-weight:700;transition:.2s}.sidebar nav a:hover,.sidebar nav a.active{background:rgba(34,211,182,.14);color:#fff}.sidebar nav a.active{box-shadow:inset 3px 0 0 var(--teal)}.sidebar nav a .ui-icon,.logout-side .ui-icon{width:19px;height:19px}.logout-side{margin-top:auto}.logout-side:hover{color:#fff;background:rgba(255,106,76,.12)}
.dash-main{min-width:0;padding:24px 28px 42px}.dash-header{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px}.dash-header small{display:block;color:var(--teal-dark);font-weight:850;font-size:9px;letter-spacing:.13em}.dash-header h1{margin:5px 0 0;font-size:27px;color:var(--navy);letter-spacing:-.6px}.header-actions{display:flex;align-items:center;gap:12px}.dash-lang{display:flex;padding:4px;background:#fff;border:1px solid var(--line);border-radius:9px}.dash-lang a{padding:6px 8px;border-radius:6px;font-size:9px;color:var(--muted);font-weight:800}.dash-lang a.active{background:#E8FBF7;color:var(--teal-dark)}.shop-link{height:36px;padding:0 13px;border-radius:9px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;font-size:10px;font-weight:800;color:var(--navy)}.avatar{width:39px;height:39px;border-radius:12px;background:linear-gradient(145deg,var(--blue),var(--teal));color:#fff;display:grid;place-items:center;font-weight:850;box-shadow:0 8px 18px rgba(61,124,255,.22)}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stat-grid.four{grid-template-columns:repeat(4,1fr)}.stat-card{min-height:126px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:19px;display:flex;flex-direction:column;position:relative;overflow:hidden;box-shadow:0 8px 24px rgba(8,20,43,.04)}.stat-card::after{content:"";position:absolute;width:78px;height:78px;border-radius:50%;right:-25px;top:-24px;background:#EAF1FF}.stat-card>span{font-size:10px;color:var(--muted);font-weight:700}.stat-card strong{font-size:25px;color:var(--navy);margin-top:12px;letter-spacing:-.7px}.stat-card small{font-size:9px;color:var(--muted);margin-top:auto}.stat-card.purple,.stat-card.brand{background:linear-gradient(135deg,var(--navy),#12366D);border-color:transparent}.stat-card.purple::after,.stat-card.brand::after{background:rgba(34,211,182,.22)}.stat-card.purple span,.stat-card.purple strong,.stat-card.purple small,.stat-card.brand span,.stat-card.brand strong,.stat-card.brand small{color:#fff}.stat-card.purple span,.stat-card.purple small,.stat-card.brand span,.stat-card.brand small{opacity:.75}
.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.quick-grid a{min-height:130px;border:1px solid var(--line);border-radius:15px;padding:17px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;transition:.2s;background:#fff}.quick-grid a>.ui-icon{color:var(--blue-dark)}.quick-grid a:hover{border-color:#BBD2FF;background:#F7FAFF;transform:translateY(-2px)}.quick-grid b{color:var(--navy);font-size:13px}.quick-grid span{color:var(--muted);font-size:10px;line-height:1.45}
.delivery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.delivery-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px}.delivery-head{display:flex;justify-content:space-between;gap:14px}.delivery-head h3{margin:5px 0;color:var(--navy)}.route{border-left:2px solid #CFE0FF;margin:18px 0 18px 7px;padding-left:18px;display:flex;flex-direction:column;gap:17px}.route div{display:flex;flex-direction:column;gap:4px}.route span{color:var(--muted);line-height:1.4;font-size:11px}.delivery-meta{display:flex;justify-content:space-between;background:var(--mist);padding:12px;border-radius:10px;font-size:11px}.delivery-actions{margin-top:13px}
.admin-columns{display:grid;grid-template-columns:1fr 1.25fr;gap:18px}.admin-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;background:linear-gradient(120deg,#E8FBF7,#F0F6FF);border:1px solid #D4EDE8;border-radius:17px;padding:20px}.admin-toolbar h2{margin:0;color:var(--navy)}.admin-toolbar p{margin:5px 0 0;color:var(--muted);font-size:11px}.approval-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.approval-row>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.approval-row small{color:var(--muted)}
.ad-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.ad-admin-card{border:1px solid var(--line);border-radius:15px;padding:10px;background:#fff}.ad-preview .market-ad{height:150px;border-radius:11px}.admin-preview-ad .market-ad-copy{padding:15px;width:70%;justify-content:center}.admin-preview-ad h2{font-size:17px}.admin-preview-ad p{font-size:9px;margin-top:5px}.admin-preview-ad .market-ad-button{font-size:8px;padding:6px 8px;margin-top:7px}.admin-preview-ad .ad-art{width:38%}.admin-preview-ad .ad-art:before{width:90px;height:90px;top:25px;right:3px}.admin-preview-ad .ad-art i{width:60px;height:75px;top:40px;right:14px}.admin-preview-ad .ad-art b,.admin-preview-ad .ad-art em{display:none}.ad-admin-info{display:flex;justify-content:space-between;gap:10px;padding:11px 3px}.ad-admin-info>div{min-width:0}.ad-admin-info b,.ad-admin-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ad-admin-info small{color:var(--muted);margin-top:4px;font-size:9px}.ad-period{display:flex;justify-content:space-between;padding:8px 3px;color:var(--muted);font-size:9px;border-top:1px solid var(--line)}.ad-period b{color:var(--navy)}.ad-admin-card>.row-actions{justify-content:flex-end;padding:6px 3px 2px}

/* Error */
.center-page{min-height:100vh;display:grid;place-items:center;background:var(--mist)}.message-card{text-align:center;background:#fff;border:1px solid var(--line);padding:42px;border-radius:22px;box-shadow:var(--shadow)}.error-icon{margin:auto;width:65px;height:65px;border-radius:50%;display:grid;place-items:center;background:#FFF0F0;color:var(--red);font-size:32px;font-weight:900}

@media(max-width:1220px){
  .storefront-hero{grid-template-columns:210px minmax(0,1fr)}.hero-promos{display:none}.market-category-grid{grid-template-columns:repeat(8,1fr)}.product-grid{grid-template-columns:repeat(4,1fr)}.ad-admin-grid{grid-template-columns:repeat(2,1fr)}.stat-grid.four{grid-template-columns:repeat(2,1fr)}.admin-columns{grid-template-columns:1fr}.three-lang-grid{grid-template-columns:1fr 1fr}.ecosystem-inner{grid-template-columns:280px 1fr}.market-actions{gap:8px}
}
@media(max-width:980px){
  .utility-left>a:not(.utility-accent),.utility-left .portal-menu,.utility-right>a{display:none}.brand-logo-header{width:178px}.market-actions a span{display:none}.market-actions a{min-width:32px}.storefront-hero{grid-template-columns:1fr}.hero-categories{display:none}.brand-hero{min-height:360px}.market-category-grid{grid-template-columns:repeat(5,1fr)}.product-grid{grid-template-columns:repeat(3,1fr)}.trust-strip{grid-template-columns:repeat(2,1fr)}.trust-strip>div:nth-child(2){border-right:0}.trust-strip>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.ecosystem-inner{grid-template-columns:1fr}.ecosystem-heading{max-width:570px}.footer-top{grid-template-columns:1fr}.dashboard{grid-template-columns:76px minmax(0,1fr)}.sidebar{padding:18px 8px}.side-brand .brand-logo{width:48px;object-fit:cover;object-position:left}.sidebar nav a span,.logout-side span{display:none}.sidebar nav a,.logout-side{justify-content:center}.dash-main{padding:20px}.stat-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:1fr}.content-grid{grid-template-columns:1fr}.summary-card{position:static}.delivery-grid{grid-template-columns:1fr}.product-page-layout{grid-template-columns:1fr}.product-ad-side{display:none}.product-detail{grid-template-columns:1fr}.detail-image{min-height:390px}
}
@media(max-width:700px){
  body{padding-bottom:66px}.container{width:min(100% - 22px,var(--container))}.utility-bar{height:32px}.utility-left{gap:10px}.utility-accent{display:none}.market-header-inner{height:68px;gap:8px}.brand-logo-header{width:146px}.catalog-button{width:42px;height:42px;padding:0;justify-content:center}.catalog-button span{display:none}.market-search{height:42px}.market-search input{font-size:11px;padding:0 10px}.market-search button{width:44px}.market-actions{display:none}.category-strip{display:none}.catalog-drawer{top:68px}.catalog-drawer-grid{grid-template-columns:repeat(2,1fr)}.storefront-hero{padding-top:10px}.brand-hero{grid-template-columns:1fr;min-height:400px}.brand-hero-copy{padding:30px 24px 0}.brand-hero h1{font-size:29px}.brand-hero p{font-size:12px}.brand-hero img{height:205px;object-fit:cover;object-position:center 55%}.hero-proof{display:none}.brand-hero-ad{min-height:380px}.brand-hero-ad .market-ad-copy{width:80%;padding:28px 22px}.brand-hero-ad h2{font-size:29px}.brand-hero-ad img{position:absolute;right:0;bottom:0;width:55%;height:50%;opacity:.75}.trust-strip{grid-template-columns:1fr}.trust-strip>div{border-right:0;border-bottom:1px solid var(--line)!important}.trust-strip>div:last-child{border-bottom:0!important}.home-section{padding-top:32px}.section-head{align-items:flex-start}.section-head h2{font-size:22px}.market-category-grid{grid-template-columns:repeat(4,1fr);gap:8px}.market-category-card:nth-child(n+9){display:none}.market-category-card>span{font-size:26px;border-radius:12px}.market-category-card b{font-size:9px}.product-grid,.product-grid.compact{grid-template-columns:repeat(2,1fr);gap:9px}.product-image{height:175px}.product-body{padding:9px 4px 11px}.product-body h3{font-size:11px;height:32px}.product-label{display:none}.price-row{display:block}.price-row strong{display:block;font-size:13px}.add-cart{font-size:10px}.grid-ad{height:145px}.grid-ad .market-ad-copy{padding:20px;width:78%}.grid-ad h2{font-size:21px}.ecosystem-section{padding:42px 0}.ecosystem-heading h2{font-size:31px}.ecosystem-grid{grid-template-columns:1fr}.ecosystem-card{min-height:100px}.values-row{grid-template-columns:1fr 1fr}.values-row>div:nth-child(2){border-right:0}.values-row>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.footer-grid{grid-template-columns:1fr 1fr}.footer-bottom{flex-direction:column;gap:6px}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;height:66px;background:rgba(255,255,255,.98);border-top:1px solid var(--line);z-index:100;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -8px 24px rgba(8,20,43,.08)}.mobile-nav a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#68778D;font-size:8px;font-weight:750}.mobile-nav a:hover{color:var(--teal-dark)}.mobile-nav .ui-icon{width:20px;height:20px}.mobile-nav b{position:absolute;top:7px;left:55%;min-width:16px;height:16px;padding:0 4px;border-radius:10px;background:var(--coral);color:#fff;font-size:9px;line-height:16px}.auth-page{padding:12px}.auth-shell{display:block}.auth-shell::before{display:none}.auth-brand{position:static;padding:24px 24px 0}.auth-brand .brand-logo{filter:none;width:170px}.auth-card{padding:28px 24px 32px}.auth-card h1{font-size:25px}.dashboard{display:block}.sidebar{position:fixed;left:0;right:0;bottom:0;top:auto;height:66px;min-height:0;z-index:110;flex-direction:row;padding:6px;background:var(--navy);overflow:hidden}.sidebar>.side-brand,.logout-side{display:none}.sidebar nav{margin:0;width:100%;flex-direction:row;justify-content:space-around;gap:0}.sidebar nav a{padding:10px;min-height:52px}.sidebar nav a:nth-child(n+5){display:none}.dash-main{padding:15px 11px 84px}.dash-header{align-items:flex-start}.dash-header h1{font-size:22px}.shop-link,.dash-lang{display:none}.stat-grid.four{grid-template-columns:1fr}.line-item{grid-template-columns:58px 1fr}.thumb{width:58px;height:58px}.qty-form{grid-column:2}.form-grid,.three-lang-grid{grid-template-columns:1fr}.span-2,.span-3{grid-column:auto}.detail-image{min-height:280px}.product-detail{padding:12px}.detail-info{padding:8px}.detail-info h1{font-size:26px}.ad-admin-grid{grid-template-columns:1fr}.admin-toolbar{align-items:flex-start;gap:12px;flex-direction:column}.auth-top-lang{top:10px;right:10px}.footer-top{gap:30px}
}
@media(max-width:390px){.customer-footer-grid{grid-template-columns:1fr}.brand-logo-header{width:132px}.market-search input::placeholder{color:transparent}.market-category-grid{grid-template-columns:repeat(3,1fr)}.market-category-card:nth-child(n+7){display:none}.product-image{height:155px}.ecosystem-card{grid-template-columns:46px 1fr 18px;padding:16px}.ecosystem-card>span{width:46px;height:46px}.footer-grid{grid-template-columns:1fr}}
.brand-swatches{display:flex;gap:7px;flex-wrap:wrap;margin-top:3px}.brand-swatches button{width:25px;height:25px;border-radius:8px;border:2px solid #fff;background:var(--swatch);box-shadow:0 0 0 1px #D8E1EC;transition:.2s}.brand-swatches button:hover{transform:translateY(-2px);box-shadow:0 0 0 2px var(--blue)}
.role-seller .sidebar nav a.active{box-shadow:inset 3px 0 0 var(--teal)}
.role-courier .sidebar nav a.active{box-shadow:inset 3px 0 0 var(--blue)}
.role-admin .sidebar nav a.active{box-shadow:inset 3px 0 0 var(--coral)}
.role-customer .sidebar nav a.active{box-shadow:inset 3px 0 0 var(--amber)}
.role-courier .avatar{background:linear-gradient(145deg,var(--blue),#6FA2FF)}
.role-admin .avatar{background:linear-gradient(145deg,var(--coral),var(--amber))}
.role-customer .avatar{background:linear-gradient(145deg,var(--amber),var(--coral))}


/* v0.4.5 — premium customer header and working location selector */
.utility-bar{height:44px;background:linear-gradient(180deg,#F8FAFD 0%,#F1F5FA 100%);border-bottom:1px solid #E5EBF2}
.utility-inner{gap:14px}.utility-left,.utility-right{gap:7px}
.premium-utility-control,.utility-link{height:32px;border:1px solid transparent;border-radius:10px;padding:0 9px;display:inline-flex;align-items:center;gap:7px;background:transparent;color:#5F6F85;font-size:11px;font-weight:700;white-space:nowrap;transition:.2s}
.premium-utility-control{font-family:Inter,sans-serif}.utility-link:hover,.premium-utility-control:hover,.portal-menu.open .portal-trigger,.lang-menu.open .lang-trigger{background:#fff;border-color:#DFE7F0;color:var(--navy);box-shadow:0 6px 18px rgba(8,20,43,.07)}
.utility-location{padding-left:5px;background:#fff;border-color:#DFE7F0;color:var(--navy);box-shadow:0 5px 14px rgba(8,20,43,.05)}
.utility-icon-badge{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#E8FBF7;color:var(--teal-dark);flex:0 0 auto}.utility-icon-badge .ui-icon{width:14px;height:14px}.utility-icon-badge.blue-badge{background:#EAF1FF;color:var(--blue-dark)}.utility-icon-badge.navy-badge{background:#EDF1F7;color:var(--navy)}.utility-icon-badge.soft-badge{background:#fff;border:1px solid #E4EAF1;color:#64748A}.utility-icon-badge.location-badge{background:linear-gradient(145deg,#E8FBF7,#EAF1FF);color:var(--teal-dark)}
.utility-chevron{width:13px!important;height:13px!important;color:#92A0B2;transition:.2s}.portal-menu.open .utility-chevron,.lang-menu.open .utility-chevron{transform:rotate(180deg)}
.utility-accent{color:var(--teal-dark)!important}.utility-accent:hover{color:var(--navy)!important}
.portal-trigger{height:32px;padding:0 9px;font:700 11px/1 Inter,sans-serif}.portal-trigger>span:not(.utility-icon-badge){white-space:nowrap}
.portal-popover{top:calc(100% + 9px);width:290px;padding:9px;border-radius:16px;border-color:#DCE5EF;box-shadow:0 20px 55px rgba(8,20,43,.15)}
.portal-popover a{display:grid!important;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center!important;gap:10px!important;padding:11px 12px!important;border-radius:12px;min-height:62px}.portal-popover a:hover{background:#F5F8FC;transform:translateX(2px)}
.portal-item-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto}.portal-item-icon .ui-icon{width:19px;height:19px}.portal-item-icon.coral{background:#FFF0ED;color:var(--coral)}.portal-item-icon.amber{background:#FFF7DE;color:#C68A00}.portal-popover a>span:nth-child(2){min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px}.portal-popover b{display:block;font-size:12px;line-height:1.15;color:var(--navy)}.portal-popover small{display:block;font-size:9px;line-height:1.4;color:var(--muted);white-space:normal}.portal-arrow{width:13px!important;height:13px!important;transform:rotate(-90deg);color:#9AA8B9;justify-self:end;align-self:center}
.lang-trigger{height:32px;padding:0 7px}.lang-popover{top:39px;border-color:#DCE5EF;box-shadow:0 18px 45px rgba(8,20,43,.14)}
.market-header-inner{height:84px;gap:14px}.catalog-button{height:48px;border-radius:14px;background:linear-gradient(135deg,#21D7B7,#16C6AA);box-shadow:0 10px 25px rgba(34,211,182,.25);padding:0 20px}.catalog-button:hover{background:linear-gradient(135deg,#36DFC4,#21CFB3);box-shadow:0 12px 28px rgba(34,211,182,.32)}
.market-search{height:48px;border-radius:14px;border-color:#3D7CFF;box-shadow:0 7px 22px rgba(61,124,255,.08)}.market-search:focus-within{box-shadow:0 0 0 4px rgba(61,124,255,.11),0 12px 30px rgba(61,124,255,.12)}.market-search button{width:60px;background:linear-gradient(145deg,#3D7CFF,#176AF7)}
.market-actions{gap:5px}.market-actions a{min-width:69px;padding:6px 7px;border-radius:12px;gap:4px}.market-actions a:hover{background:#F5F8FC;color:var(--blue-dark)}
.action-icon{width:34px;height:34px;border-radius:11px;border:1px solid #E1E8F0;background:linear-gradient(180deg,#FFFFFF,#F7F9FC);display:grid;place-items:center;color:#617087;transition:.2s;box-shadow:0 4px 12px rgba(8,20,43,.04)}.action-icon .ui-icon{width:19px;height:19px}.market-actions a:hover .action-icon{color:var(--blue-dark);border-color:#C9D9FA;background:#EEF4FF;transform:translateY(-1px)}.market-actions b{top:1px;right:4px}
.catalog-drawer{top:84px}

.location-modal{position:fixed;inset:0;z-index:320;display:none;align-items:center;justify-content:center;padding:24px}.location-modal.open{display:flex}.location-backdrop{position:absolute;inset:0;border:0;background:rgba(8,20,43,.54);backdrop-filter:blur(5px)}body.location-modal-open{overflow:hidden}
.location-dialog{position:relative;width:min(650px,100%);max-height:min(760px,calc(100vh - 48px));overflow:auto;background:#fff;border:1px solid rgba(255,255,255,.7);border-radius:24px;padding:25px;box-shadow:0 32px 90px rgba(8,20,43,.28);animation:locationIn .2s ease-out}
@keyframes locationIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
.location-dialog-head{display:grid;grid-template-columns:50px minmax(0,1fr) 38px;gap:14px;align-items:start}.location-dialog-icon{width:50px;height:50px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#E8FBF7,#EAF1FF);color:var(--teal-dark)}.location-dialog-icon .ui-icon{width:25px;height:25px}.location-dialog-head small{display:block;color:var(--teal-dark);font-size:9px;font-weight:850;letter-spacing:.11em;text-transform:uppercase;margin-top:2px}.location-dialog h2{margin:5px 0 4px;color:var(--navy);font-size:24px;letter-spacing:-.5px}.location-dialog-head p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.location-close{width:38px;height:38px;border-radius:11px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;color:#75849A}.location-close:hover{background:var(--mist);color:var(--navy)}.location-close .ui-icon{width:17px;height:17px}
.detect-location{width:100%;height:46px;margin-top:20px;border-radius:13px;border:1px solid #CDE8E2;background:#F0FCF9;color:var(--teal-dark);display:flex;align-items:center;justify-content:center;gap:9px;font-weight:800;font-size:12px;transition:.2s}.detect-location:hover{background:#E4FAF5;border-color:#AEE2D7}.detect-location:disabled{opacity:.65;cursor:wait}.detect-location .ui-icon{width:18px;height:18px}
.location-search-wrap{height:46px;margin-top:12px;border:1px solid #DBE4EE;border-radius:13px;display:flex;align-items:center;gap:10px;padding:0 14px;background:#FAFBFD}.location-search-wrap:focus-within{border-color:#8FB5FF;box-shadow:0 0 0 4px rgba(61,124,255,.08);background:#fff}.location-search-wrap .ui-icon{width:18px;height:18px;color:#8897AA}.location-search-wrap input{width:100%;border:0;outline:0;background:transparent;color:var(--navy);font-size:12px}
.location-list-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:20px 2px 10px}.location-list-head b{font-size:12px;color:var(--navy)}.location-list-head span{font-size:10px;color:var(--muted);text-align:right}
.location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.location-option{min-height:48px;border:1px solid #E2E9F1;border-radius:12px;background:#fff;padding:0 12px;display:grid;grid-template-columns:28px 1fr 18px;align-items:center;gap:8px;text-align:left;color:#526176;transition:.18s}.location-option>span{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#F2F6FA;color:#7A899C}.location-option>span .ui-icon{width:14px;height:14px}.location-option b{font-size:11px;color:var(--navy)}.location-option .location-check{width:16px;height:16px;opacity:0;color:var(--teal-dark)}.location-option:hover{border-color:#BFD3F7;background:#F8FAFF;transform:translateY(-1px)}.location-option.active{border-color:#9ADFD2;background:#EFFBF8;box-shadow:inset 0 0 0 1px rgba(34,211,182,.15)}.location-option.active>span{background:#DDF8F2;color:var(--teal-dark)}.location-option.active .location-check{opacity:1}.location-option[hidden]{display:none}

@media(max-width:980px){.premium-utility-control,.utility-link{padding-left:7px;padding-right:7px}.utility-left>a:not(.utility-accent),.utility-left .portal-menu,.utility-right>a{display:none}.market-actions a{min-width:40px;padding:5px}.market-actions .action-icon{width:35px;height:35px}.market-actions a>span:last-of-type:not(.action-icon){display:none}}
@media(max-width:700px){.utility-bar{height:38px}.utility-inner{justify-content:space-between}.utility-location{height:30px;max-width:180px}.utility-control-text{overflow:hidden;text-overflow:ellipsis}.utility-right{margin-left:auto}.utility-left .utility-accent,.courier-utility-link{display:none!important}.lang-trigger{height:30px}.market-header-inner{height:68px}.catalog-drawer{top:68px}.location-modal{padding:12px;align-items:flex-end}.location-dialog{width:100%;max-height:88vh;border-radius:22px 22px 16px 16px;padding:20px}.location-dialog-head{grid-template-columns:44px minmax(0,1fr) 36px;gap:11px}.location-dialog-icon{width:44px;height:44px}.location-dialog h2{font-size:20px}.location-grid{grid-template-columns:1fr}.location-option{min-height:46px}}
@media(max-width:390px){.utility-location{max-width:150px}.utility-icon-badge{width:22px;height:22px}.location-dialog{padding:17px}.location-dialog-head p{display:none}}


/* v0.4.7 product page refresh */
.product-page-shell{padding-top:20px;padding-bottom:26px}
.product-breadcrumb{margin-bottom:14px}
.product-top-zone{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}
.product-showcase{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);gap:20px;align-items:start}
.product-gallery-card,.product-summary-card,.buy-card,.mini-info-card,.detail-section-card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-sm)}
.product-gallery-card{padding:18px}
.product-gallery-layout{display:grid;grid-template-columns:78px minmax(0,1fr);gap:16px;align-items:start}
.product-thumbs{display:grid;gap:10px}
.product-thumb{height:78px;border:1px solid #D9E2EC;background:#fff;border-radius:16px;padding:6px;display:grid;place-items:center;cursor:pointer;transition:.2s;overflow:hidden}
.product-thumb:hover,.product-thumb.active{border-color:var(--blue);box-shadow:0 0 0 2px rgba(61,124,255,.12)}
.product-thumb img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.product-thumb .product-placeholder{font-size:28px}
.product-hero-image{min-height:560px;background:linear-gradient(180deg,#F7FAFD 0%, #F1F5FA 100%);border-radius:18px;display:grid;place-items:center;overflow:hidden;padding:18px}
.product-hero-image img{width:100%;height:100%;object-fit:contain}
.product-hero-image .product-placeholder{font-size:140px;color:#8EA0B8}
.product-summary-card{padding:24px 26px}
.summary-topline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.summary-discount{display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 11px;border-radius:999px;background:#FFF0ED;color:var(--coral);font-size:12px;font-weight:850}
.product-summary-card h1{font-size:38px;line-height:1.12;letter-spacing:-1px;margin:0 0 12px;color:var(--navy)}
.product-meta-row{display:flex;gap:16px;flex-wrap:wrap;color:#6A7A90;font-size:13px;padding-bottom:16px;border-bottom:1px solid #EDF2F7}
.meta-rating{font-weight:800;color:#FF9F0A}
.summary-description{font-size:14px;line-height:1.78;color:#536377;margin:18px 0 20px}
.product-benefits{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.product-benefits span{display:inline-flex;align-items:center;gap:8px;background:#F6F9FC;border:1px solid #E6EDF4;color:#516173;padding:8px 11px;border-radius:999px;font-size:12px;font-weight:700}
.product-benefits .ui-icon{width:15px;height:15px;color:var(--teal-dark)}
.summary-facts-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.summary-facts-grid>div{padding:15px 16px;border:1px solid #EEF3F7;border-radius:16px;background:#FBFCFE}
.summary-facts-grid small{display:block;font-size:11px;color:#92A0B2;margin-bottom:6px}
.summary-facts-grid strong{display:block;font-size:14px;line-height:1.45;color:var(--navy)}
.stock-text-ok{color:var(--green)}.stock-text-no{color:var(--red)}
.product-buy-panel{display:grid;gap:14px}
.buy-card{padding:18px;position:sticky;top:132px}
.buy-price-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.buy-price-row strong{display:block;font:850 34px/1.05 Poppins,sans-serif;color:var(--navy)}
.buy-price-row del{display:block;color:#9AA7B7;font-size:14px;margin-top:7px}
.buy-discount{display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:32px;border-radius:999px;background:#FFF0ED;color:var(--coral);font-size:13px;font-weight:850}
.buy-stock{margin:14px 0 16px;font-size:12px;font-weight:800}.buy-stock.ok{color:var(--green)}.buy-stock.no{color:var(--red)}
.buy-box-form,.favorite-box-form{margin:0}
.buy-qty-row{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px}
.buy-qty-row input{height:48px;border:1px solid #D6E0EB;border-radius:14px;padding:0 14px;font:700 15px Inter,sans-serif;color:var(--navy);background:#fff}
.btn-buy-main,.btn-buy-secondary,.buy-favorite{width:100%;height:48px;border-radius:14px;font-size:14px;font-weight:800}
.btn-buy-secondary{margin-top:10px;display:flex;align-items:center;justify-content:center;background:#F4F7FB;color:var(--navy);border:1px solid #E1E8F0}
.buy-favorite{margin-top:10px;border:1px solid #E1E8F0;background:#fff;color:var(--navy);display:flex;align-items:center;justify-content:center;gap:8px}.buy-favorite .ui-icon{width:18px;height:18px}
.buy-favorite.active,.buy-favorite:hover{background:#FFF5F7;border-color:#FFD9E1;color:#D74565}
.mini-info-card{padding:18px}
.mini-info-card h3{font-size:16px;color:var(--navy);margin:0 0 12px}
.mini-info-card ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.mini-info-card li{display:flex;gap:10px;align-items:flex-start;color:#5C6B80;font-size:13px;line-height:1.5}
.mini-info-card .ui-icon{width:17px;height:17px;color:var(--teal-dark);margin-top:1px;flex:0 0 auto}
.seller-mini-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--navy);margin-bottom:8px}
.seller-mini-row b{font-size:15px}.seller-mini-row span{font-size:13px;font-weight:800;color:#FF9F0A}
.seller-mini-card p{margin:0;color:#66778C;font-size:13px;line-height:1.55}
.product-side-ad-wrap .side-ad{min-height:220px}
.product-detail-sections{display:grid;grid-template-columns:1.1fr .9fr;gap:20px;margin-top:22px}
.detail-section-card{padding:22px}
.section-head.simple{margin-bottom:16px}
.section-head.simple h2{font-size:24px;margin:0}
.rich-product-description p{margin:0;color:#58687C;font-size:14px;line-height:1.9}
.characteristics-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.characteristics-grid>div{display:flex;flex-direction:column;gap:7px;padding:14px 16px;border-radius:16px;background:#F8FBFD;border:1px solid #EAF0F6}
.characteristics-grid span{font-size:11px;color:#95A3B4}
.characteristics-grid b{font-size:14px;color:var(--navy);line-height:1.45}
.product-related-section{padding-top:28px}
.product-related-section.thin-top{padding-top:18px}
@media(max-width:1280px){
  .product-top-zone{grid-template-columns:1fr}
  .product-buy-panel{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
  .buy-card{grid-column:1/-1;position:static}
  .product-side-ad-wrap{grid-column:1/-1}
}
@media(max-width:980px){
  .product-showcase{grid-template-columns:1fr}
  .product-buy-panel{grid-template-columns:1fr}
  .product-detail-sections{grid-template-columns:1fr}
  .product-hero-image{min-height:420px}
}
@media(max-width:720px){
  .product-gallery-layout{grid-template-columns:1fr;gap:12px}
  .product-thumbs{grid-template-columns:repeat(5,1fr);order:2}
  .product-thumb{height:66px;border-radius:12px}
  .product-summary-card{padding:18px}
  .product-summary-card h1{font-size:28px}
  .summary-facts-grid,.characteristics-grid{grid-template-columns:1fr}
  .product-hero-image{min-height:320px;padding:14px}
}


/* v0.4.8 product alignment correction */
.product-top-zone{
  grid-template-columns:minmax(0,1fr) 330px;
  align-items:start;
}
.product-showcase{
  grid-template-columns:minmax(430px,1.02fr) minmax(390px,.98fr);
  align-items:stretch;
}
.product-gallery-card,
.product-summary-card{
  height:100%;
  min-width:0;
}
.product-summary-card{
  display:flex;
  flex-direction:column;
}
.summary-facts-grid{
  margin-top:auto;
}
.product-buy-panel{
  align-self:start;
  grid-auto-rows:max-content;
}
.buy-card{
  position:static !important;
  top:auto !important;
  align-self:start;
}
.product-detail-sections{
  clear:both;
  align-items:stretch;
}
@media(max-width:1280px){
  .product-showcase{
    grid-template-columns:minmax(390px,1fr) minmax(360px,1fr);
  }
}
@media(max-width:1080px){
  .product-top-zone{
    grid-template-columns:1fr;
  }
  .product-buy-panel{
    grid-template-columns:1fr 1fr;
  }
  .buy-card{
    grid-column:1/-1;
  }
  .product-side-ad-wrap{
    grid-column:1/-1;
  }
}
@media(max-width:900px){
  .product-showcase{
    grid-template-columns:1fr;
  }
  .product-gallery-card,
  .product-summary-card{
    height:auto;
  }
  .summary-facts-grid{
    margin-top:0;
  }
  .product-buy-panel{
    grid-template-columns:1fr;
  }
}
