*{box-sizing:border-box} :root{--blue:#073982;--nav:#062c6e;--yellow:#ffcf00;--ink:#14233a;--muted:#637083;--bg:#f5f7fa;--card:#fff;--line:#dde4ec;--radius:12px;--button:#073982;--buttontext:white;--header:white;--headertext:#073982;--hero:#073982;--herotext:white;--accent:#ffcf00}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.45 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a.btn{cursor:pointer}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #4f9cff;outline-offset:2px}img{max-width:100%;display:block}h1,h2,h3,p{margin:0 0 12px}h1{font-size:clamp(28px,3.2vw,48px);line-height:1.08;letter-spacing:-1.5px}h2{font-size:clamp(21px,2vw,29px);letter-spacing:-.5px}h3{font-size:17px}.wrap{max-width:1520px;margin:auto;padding:0 30px}.topline{background:var(--yellow);color:#082f70;font-size:12px;font-weight:700}.topline .wrap{display:flex;justify-content:space-between;gap:10px;padding-top:7px;padding-bottom:7px;flex-wrap:wrap}.header{background:var(--header);color:var(--headertext);border-bottom:1px solid var(--line)}.headrow{display:flex;align-items:center;gap:24px;min-height:86px}.brand{display:flex;align-items:center;gap:7px;flex-shrink:0}.brand .word{width:clamp(150px,19vw,300px);border-radius:2px}.brand .globe{width:54px;border-radius:50%}.search{display:flex;flex:1;min-width:0;border:1px solid #b7c5d5;background:white;border-radius:9px;overflow:hidden;color:#213752}.search input{width:100%;min-width:0;padding:12px;border:0;outline:none}.search button{background:var(--yellow);padding:0 18px;color:#0c2e65;font-weight:700}.tools{display:flex;gap:18px;align-items:center}.tool{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:12px;white-space:nowrap;position:relative}.ico{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.count{position:absolute;top:-5px;right:1px;min-width:17px;padding:1px 4px;text-align:center;background:#e63b38;color:white;border-radius:20px;font-size:10px}.nav{background:var(--nav);color:white}.nav .wrap{display:flex;gap:25px;align-items:center;overflow-x:auto;scrollbar-width:thin}.nav a{white-space:nowrap;padding:12px 0;font-size:14px;font-weight:700}.nav a:hover,.nav a.current{color:var(--yellow)}.nav .all{color:var(--yellow)}main.wrap{padding-top:22px;padding-bottom:40px;min-height:60vh}.hero{position:relative;display:grid;grid-template-columns:1.05fr 1fr;min-height:290px;align-items:center;overflow:hidden;border-radius:var(--radius);background:var(--hero);color:var(--herotext);margin-bottom:22px}.hero-copy{padding:32px 40px;position:relative;z-index:1}.kicker{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:800;margin-bottom:13px;color:var(--yellow)}.hero h1 span{color:var(--yellow)}.hero p{max-width:510px;font-size:17px;opacity:.9}.hero-products{height:100%;display:flex;align-items:center;justify-content:center;gap:9px;background:linear-gradient(115deg,transparent 5%,#fff 6%,#e9eff7 100%);padding:24px 18px 24px 40px}.hero-products img{width:30%;height:210px;object-fit:contain;mix-blend-mode:multiply}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border-radius:8px;font-weight:700;background:var(--button);color:var(--buttontext);border:1px solid transparent;line-height:1.25;text-align:center}.btn:hover{filter:brightness(.94)}.btn.yellow{background:var(--yellow);color:#092e65}.btn.outline{background:white;color:var(--blue);border-color:var(--line)}.btn.danger{background:#fff4f4;color:#a12424;border-color:#f0cccc}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:23px 0 13px}.section-head h2{margin:0}.section-head a{color:var(--blue);font-weight:700}.cats{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.cat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:15px 8px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700;text-align:center;color:var(--blue);font-size:13px}.cat:hover{border-color:var(--blue)}.cat .ico{flex-shrink:0}.products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.product{position:relative;border:1px solid var(--line);border-radius:var(--radius);background:white;display:flex;flex-direction:column;min-width:0;overflow:hidden}.product .photo{height:190px;display:flex;justify-content:center;align-items:center;padding:12px;background:white}.product img{width:100%;height:100%;object-fit:contain}.product .body{padding:12px 13px 14px;display:flex;flex-direction:column;flex:1}.product h3{font-size:15px;line-height:1.25;margin:0 0 6px;min-height:38px}.product .ref,.muted{color:var(--muted);font-size:12px}.price{font-size:21px;font-weight:800;color:var(--blue);margin:9px 0 12px}.product .buy{display:flex;gap:6px;margin-top:auto}.product .buy .btn{flex:1;font-size:12px;padding:9px 6px;min-width:0}.heart{position:absolute;top:10px;right:10px;background:#fff;border:1px solid var(--line);color:#64748b;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;z-index:1}.heart.on{color:#d92544}.heart.on svg{fill:#d92544}.side{display:none}.benefits{display:grid;grid-template-columns:repeat(3,1fr);background:white;border:1px solid var(--line);border-radius:var(--radius);margin-top:26px}.benefits>div{display:flex;gap:12px;align-items:center;padding:20px;border-right:1px solid var(--line)}.benefits>div:last-child{border:0}.benefits .ico{color:var(--blue);width:32px;height:32px;flex-shrink:0}.footer{background:var(--nav);color:white;padding:30px 0}.footgrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px}.footer a{display:block;margin:5px 0}.footer p{opacity:.85}.footer .fine{border-top:1px solid #ffffff35;margin-top:20px;padding-top:15px;font-size:12px}.whats{position:fixed;bottom:18px;right:18px;background:#15803d;color:white;border-radius:50px;padding:12px 17px;font-weight:700;z-index:5;box-shadow:0 4px 15px #0003}.crumb{font-size:13px;color:var(--muted);margin-bottom:15px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px}.catalog-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px}.filters{align-self:start}.filters label{display:block;margin:14px 0 5px;font-weight:700}.filters select,.filters input{width:100%}.category-links{display:flex;flex-direction:column;gap:5px}.category-links a{padding:9px;border-radius:6px}.category-links a.active{background:#e9f0fc;color:var(--blue);font-weight:bold}.resultsbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.catalog-layout .products{grid-template-columns:repeat(4,minmax(0,1fr))}.detail{display:grid;grid-template-columns:1fr 1fr;gap:35px}.detail img{width:100%;height:430px;object-fit:contain}.detail h1{font-size:35px}.detail .price{font-size:35px}.actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:white}.qty button{background:#f3f5f8;padding:8px 12px;font-weight:700}.qty span{min-width:35px;text-align:center}.empty{padding:45px;text-align:center;background:white;border:1px dashed var(--line);border-radius:12px}.cartlayout{display:grid;grid-template-columns:2fr 1fr;gap:20px}.cartrow{display:grid;grid-template-columns:85px 1fr auto auto;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.cartrow img{height:70px;width:85px;object-fit:contain}.cartrow h3{margin:0}.cartrow .price{font-size:17px;margin:0}.cartrow .remove{background:transparent;color:#a12424;padding:5px}.summary{align-self:start}.summary .total{font-size:26px;font-weight:800;color:var(--blue);margin:12px 0}.summary .btn{width:100%}.notice{padding:12px 15px;background:#fff8d7;border:1px solid #f2dda0;border-radius:8px;font-size:13px;margin:12px 0}.adminhead{background:#102a4c;color:white;padding:18px 0}.adminhead .wrap{display:flex;justify-content:space-between;align-items:center;gap:15px}.adminhead h2{margin:0;font-size:23px}.adminlayout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}.adminnav{display:flex;flex-direction:column;gap:6px;align-self:start}.adminnav button{text-align:left;padding:13px;border-radius:8px;background:#f2f5f9;color:#233a55;font-weight:700}.adminnav button.active{background:#073982;color:white}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:20px}.stat{padding:20px;border:1px solid var(--line);background:white;border-radius:10px}.stat strong{display:block;font-size:30px;color:#073982}.adminbody{min-width:0}.adminbody .btn{--button:#073982;--buttontext:#fff}.adminbar{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:12px}.adminbar input{max-width:330px;flex:1}.tablewrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;min-width:680px}.table th,.table td{text-align:left;padding:11px;border-bottom:1px solid var(--line);vertical-align:middle}.table th{font-size:12px;color:var(--muted);background:#f4f6fa}.table img{width:56px;height:48px;object-fit:contain}.table .btn{font-size:12px;padding:6px 9px}.table .name{display:flex;gap:12px;align-items:center}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:5px;font-weight:700;font-size:13px}.field.full{grid-column:1/-1}input,select,textarea{border:1px solid #cbd5e1;border-radius:7px;padding:10px;background:white;color:#192e46;min-width:0}textarea{min-height:90px;resize:vertical}dialog{border:0;border-radius:15px;width:min(700px,94vw);max-height:90vh;padding:24px;box-shadow:0 15px 60px #0005}dialog::backdrop{background:#15233a88}.themes{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.theme-card{border:2px solid var(--line);border-radius:12px;overflow:hidden;background:white;display:flex;flex-direction:column}.theme-card.selected{border-color:#073982}.theme-card img{width:100%;aspect-ratio:16/9;object-fit:cover;object-position:top}.theme-card>div{padding:14px;flex:1;display:flex;flex-direction:column}.theme-card .btn{margin-top:auto}.pill{display:inline-block;background:#e8f3ed;color:#17633b;padding:4px 8px;border-radius:20px;font-size:12px}.pill.off{background:#f1f1f1;color:#666}.category-row{display:flex;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#102a4c;color:white;padding:12px 20px;border-radius:10px;box-shadow:0 8px 20px #0003;z-index:100;display:none;max-width:90vw;text-align:center}.admin .whats{display:none}
/* Design 1: wholesale */body[data-theme="1"]{--radius:9px;--button:#ffcf00;--buttontext:#082c68;--bg:#f7f9fc}body[data-theme="1"] .hero h1{font-style:italic;text-transform:uppercase}body[data-theme="1"] .hero-products{background:linear-gradient(115deg,#073982 4%,#e8f0fc 5%,white 100%)}body[data-theme="1"] .products{grid-template-columns:repeat(6,minmax(0,1fr))}body[data-theme="1"] .catalog-layout .products{grid-template-columns:repeat(4,minmax(0,1fr))}
/* Design 2: commercial marketplace */body[data-theme="2"]{--header:#ffcf00;--headertext:#082f70;--bg:#eef2f6;--radius:8px;--hero:#0953bc;--button:#07429c;--buttontext:#fff}body[data-theme="2"] .topline{background:#073982;color:white}body[data-theme="2"] .home-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px}body[data-theme="2"] .side{display:block;background:#fff;border:1px solid var(--line);border-radius:8px;align-self:start;overflow:hidden}body[data-theme="2"] .side h3{background:var(--yellow);padding:14px;margin:0}body[data-theme="2"] .side a{display:block;padding:12px;border-bottom:1px solid var(--line)}body[data-theme="2"] .hero{min-height:245px}body[data-theme="2"] .hero-copy{padding:25px}body[data-theme="2"] .hero h1{font-size:clamp(24px,2.7vw,40px);font-style:italic;text-transform:uppercase}body[data-theme="2"] .hero-products{background:linear-gradient(125deg,#0953bc 1%,#f3f7fe 2%)}body[data-theme="2"] .cats{grid-template-columns:repeat(4,1fr)}body[data-theme="2"] .products{grid-template-columns:repeat(4,minmax(0,1fr))}body[data-theme="2"] .product .price{color:#bc1b26}body[data-theme="2"] .cat:nth-child(3n+1){background:#e2edff}body[data-theme="2"] .cat:nth-child(3n+2){background:#f0e8fc}body[data-theme="2"] .cat:nth-child(3n){background:#fff2d0}
/* Design 3: minimalist lifestyle */body[data-theme="3"]{--header:#092f58;--headertext:white;--nav:#092f58;--bg:#f8fafc;--blue:#0b385f;--radius:14px;--hero:#f2efea;--herotext:#0b385f;--button:#0b385f;--buttontext:white}body[data-theme="3"] .topline{background:#092f58;color:white;border-bottom:1px solid #ffffff30}body[data-theme="3"] .hero{min-height:320px}body[data-theme="3"] .hero h1 span{color:#0b385f}body[data-theme="3"] .hero .kicker{color:#52687d}body[data-theme="3"] .hero-products{background:linear-gradient(125deg,#f2efea 3%,#f8e9b6 4%,#faf8f4 100%)}body[data-theme="3"] .product{box-shadow:0 3px 10px #1e3a5410}body[data-theme="3"] .product .photo{height:210px}body[data-theme="3"] .cats .cat{flex-direction:column;padding:20px 8px}body[data-theme="3"] .cat .ico{width:30px;height:30px}body[data-theme="3"] .section-head h2{border-left:4px solid var(--yellow);padding-left:12px}
@media(max-width:1150px){.wrap{padding-left:20px;padding-right:20px}.headrow{gap:13px}.tools{gap:12px}.products,body[data-theme="1"] .products{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-layout .products,body[data-theme="1"] .catalog-layout .products{grid-template-columns:repeat(3,minmax(0,1fr))}.cats{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-products img{height:160px}.hero-copy{padding:28px}.theme-card>div{padding:10px}.themes{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.wrap{padding-left:12px;padding-right:12px}.topline .wrap{justify-content:center;font-size:11px}.topline .hide-mobile{display:none}.headrow{min-height:0;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:12px;justify-content:space-between}.brand .word{width:142px}.brand .globe{width:32px}.tools{gap:12px}.tool{font-size:10px}.tool .ico{width:21px;height:21px}.search{order:3;flex-basis:100%}.nav .wrap{gap:18px}.nav a{font-size:12px;padding:10px 0}main.wrap{padding-top:15px}.hero,body[data-theme="2"] .hero,body[data-theme="3"] .hero{grid-template-columns:1fr;min-height:0;margin-bottom:15px}.hero-copy,body[data-theme="2"] .hero-copy{padding:24px 20px 16px}.hero-copy p{font-size:14px}.hero-products,body[data-theme="1"] .hero-products,body[data-theme="2"] .hero-products,body[data-theme="3"] .hero-products{padding:12px;background:#fff}.hero-products img{height:125px}.cats,body[data-theme="2"] .cats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.cat{flex-direction:column;font-size:11px;padding:10px 5px;gap:5px}.products,body[data-theme="1"] .products,body[data-theme="2"] .products,.catalog-layout .products,body[data-theme="1"] .catalog-layout .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product .photo,body[data-theme="3"] .product .photo{height:145px;padding:8px}.product .body{padding:10px}.product h3{font-size:13px;min-height:32px}.price{font-size:18px}.product .buy .btn{font-size:11px}.product .buy .btn .ico{width:15px;height:15px}.heart{width:30px;height:30px;top:6px;right:6px}.heart .ico{width:17px;height:17px}.section-head{margin:18px 0 10px}.section-head a{font-size:12px}.benefits{grid-template-columns:1fr}.benefits>div{border-right:0;border-bottom:1px solid var(--line);padding:13px}.footgrid{grid-template-columns:1fr}.whats{padding:10px 12px;bottom:12px;right:12px;font-size:12px}.catalog-layout,.detail,.cartlayout,.adminlayout,body[data-theme="2"] .home-layout{grid-template-columns:1fr;gap:12px}body[data-theme="2"] .side{display:none}.filters{padding:13px}.filters .category-links{display:flex;flex-direction:row;overflow-x:auto;white-space:nowrap}.filters label{margin-top:10px}.resultsbar{flex-wrap:wrap}.detail img{height:280px}.detail h1{font-size:27px}.panel{padding:14px}.cartrow{grid-template-columns:60px 1fr auto;gap:8px}.cartrow img{width:60px}.cartrow .price{grid-column:2;font-size:14px}.cartrow .qty{grid-column:3;grid-row:1}.adminnav{flex-direction:row;overflow-x:auto}.adminnav button{white-space:nowrap;padding:10px}.adminhead h2{font-size:17px}.adminhead .btn{font-size:12px;padding:8px}.stats{gap:6px}.stat{padding:9px;font-size:11px}.stat strong{font-size:22px}.themes{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr}.adminbar input{max-width:100%;flex-basis:100%}.footer{padding:20px 0}.notice{font-size:12px}}@media(max-width:360px){.brand .word{width:118px}.brand .globe{display:none}.tools{gap:10px}.product .buy .btn .ico{display:none}.product .photo{height:120px}}
.catalog-layout>* ,.home-layout>*,.detail>*,.cartlayout>*,.adminlayout>*{min-width:0}.filters,.adminnav,.tablewrap{max-width:100%}.product .ref{overflow-wrap:anywhere}.category-row>div:first-child{min-width:0;overflow-wrap:anywhere}.category-row .actions{flex-shrink:0}.hero-products img{min-width:0}.theme-card h3,.product h3{overflow-wrap:anywhere}@media(max-width:760px){.catalog-layout,.detail,.cartlayout,.adminlayout,body[data-theme="2"] .home-layout{grid-template-columns:minmax(0,1fr)}.filters .category-links{width:100%;max-width:100%}.category-row .actions{flex-wrap:wrap;justify-content:flex-end}.cartrow>div{min-width:0}.hero h1{overflow-wrap:anywhere}} 
