:root{
  --navy:#0f2f72;
  --blue:#1267d7;
  --blue-2:#2d83ea;
  --pink:#d81388;
  --pink-soft:#f7e9f4;
  --green:#149758;
  --bg:#f5f8fc;
  --panel:#fff;
  --line:#e4ebf5;
  --text:#14305d;
  --muted:#6f7f9d;
  --shadow:0 14px 35px rgba(21,59,112,.09);
  --radius:18px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--text)}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
svg{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}
.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:20px 14px 18px;display:flex;flex-direction:column;z-index:50}
.sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:0 10px 18px}.brand-logo{width:150px;height:auto}.sidebar-close{display:none}
.nav-list{display:flex;flex-direction:column;gap:5px}.nav-item{position:relative;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;font-size:14px;font-weight:600;color:#40567f;transition:.2s}.nav-item:hover{background:#f1f6fc;color:var(--blue)}.nav-item.active{background:linear-gradient(90deg,#edf5ff,#f9fbff);color:var(--blue);box-shadow:inset 3px 0 var(--pink)}.nav-icon{display:grid;place-items:center;width:24px}.badge{margin-left:auto;background:var(--pink);color:#fff;font-size:11px;min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:grid;place-items:center;font-weight:800}.sidebar-foot{margin-top:auto}.mini-help{background:linear-gradient(145deg,#f2f7ff,#fff);border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:4px}.mini-help strong{font-size:13px}.mini-help span{font-size:11px;color:var(--muted);line-height:1.45}
.page-wrap{min-width:0;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:40;height:74px;background:rgba(255,255,255,.95);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;padding:11px 24px}.mobile-menu,.mobile-brand{display:none}.top-search{position:relative;flex:1;max-width:610px}.top-search input{width:100%;height:46px;border:1px solid #d7e2f1;border-radius:12px;padding:0 16px 0 45px;outline:none;background:#fbfdff;color:var(--text)}.top-search input:focus{border-color:#90baf0;box-shadow:0 0 0 4px rgba(18,103,215,.08)}.search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--blue)}.excel-btn{height:44px;border:0;border-radius:10px;background:linear-gradient(180deg,#1cab69,#10834f);color:#fff;padding:0 16px;display:flex;align-items:center;gap:9px;font-weight:700;box-shadow:0 8px 18px rgba(16,131,79,.18);cursor:pointer}.excel-mark{width:22px;height:22px;border-radius:4px;background:#fff;color:#148a53;display:grid;place-items:center;font-weight:900}.top-cart{position:relative;padding:8px 10px}.cart-emoji{font-size:24px}.top-badge{position:absolute;top:1px;right:0;margin:0}.user-menu{margin-left:auto;display:flex;align-items:center;gap:10px;min-width:200px}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--blue),#17488d);color:#fff;font-weight:800}.user-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.user-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-copy span{font-size:11px;color:var(--muted)}.logout-link{font-size:11px;color:var(--pink);font-weight:800;margin-left:auto}
.content{width:min(1420px,100%);margin:0 auto;padding:24px}.media-card,.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.hero-card{position:relative}.hero-card img{display:block;width:100%;aspect-ratio:16/7.4;object-fit:cover}.hero-hotspots{position:absolute;left:5.4%;bottom:10%;display:flex;gap:12px}.hotspot{padding:12px 20px;border-radius:999px;font-weight:800;font-size:14px;box-shadow:0 10px 18px rgba(18,103,215,.15)}.hotspot-primary{background:linear-gradient(180deg,#207ae3,#095cc5);color:#fff}.hotspot-secondary{background:rgba(255,255,255,.92);color:var(--blue);border:1px solid var(--blue)}
.promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.promo-card{display:block}.promo-card img{width:100%;height:100%;aspect-ratio:4/2.25;object-fit:cover;display:block;transition:transform .25s}.promo-card:hover img{transform:scale(1.015)}
.panel{margin-top:18px;padding:22px}.section-title-row{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--pink);font-weight:800}.section-title-row h2,.placeholder-section h1{margin:3px 0 0;color:var(--navy);font-size:30px;letter-spacing:-.04em}.text-link{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:var(--blue);font-weight:700}.text-link svg{width:16px;height:16px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{position:relative;border:1px solid #e4ebf3;border-radius:15px;padding:14px;background:#fff;box-shadow:0 8px 22px rgba(25,62,112,.05)}.discount-badge{position:absolute;right:12px;top:12px;background:var(--pink);color:#fff;font-size:11px;font-weight:800;padding:5px 8px;border-radius:8px;z-index:2}.product-visual{height:155px;border-radius:12px;background:linear-gradient(145deg,#f7fbff,#eef5ff);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;margin-bottom:10px}.box-3d{width:110px;height:75px;border-radius:5px;box-shadow:12px 13px 20px rgba(17,55,105,.13);background:linear-gradient(135deg,#fff 0 48%,#d9e9fb 48% 62%,#1f7ce1 62%)}.product-visual.pink .box-3d{background:linear-gradient(135deg,#fff 0 48%,#f6deef 48% 62%,#d82895 62%)}.blister{position:absolute;width:88px;height:28px;border-radius:6px;background:radial-gradient(circle at 12px 14px,#fff 0 6px,#cfd6df 6.5px 8px,transparent 8.5px) 0 0/20px 28px,#b9c1cc;bottom:24px;right:22px;transform:rotate(-7deg);box-shadow:0 8px 12px rgba(0,0,0,.12)}.product-card h3{margin:4px 0;color:var(--navy);font-size:17px}.product-card p{margin:0 0 9px;color:var(--muted);font-size:12px;line-height:1.45}.stock{font-size:11px;font-weight:700;color:#1c9b51;display:flex;align-items:center;gap:6px}.dot{width:8px;height:8px;border-radius:50%;background:#1db65d}.dot.amber{background:#eba10b}.price{display:flex;align-items:baseline;gap:8px;margin:8px 0 12px}.price strong{font-size:22px;color:var(--pink)}.price s{font-size:12px;color:#97a4ba}.btn{border:0;border-radius:10px;height:42px;padding:0 16px;font-weight:800;cursor:pointer}.btn-primary{background:linear-gradient(180deg,#1976e3,#075bc8);color:#fff;box-shadow:0 8px 16px rgba(8,91,200,.18)}.btn-block{width:100%}
.benefit-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:18px 22px}.benefit{display:flex;gap:12px;align-items:center;padding:2px 18px;border-right:1px solid var(--line)}.benefit:first-child{padding-left:0}.benefit:last-child{border-right:0}.benefit-icon{width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:linear-gradient(145deg,#f4edff,#fbeffc);display:grid;place-items:center;color:var(--navy);font-size:20px;font-weight:800}.benefit div{display:flex;flex-direction:column;gap:3px}.benefit strong{font-size:13px;color:var(--navy)}.benefit span:not(.benefit-icon){font-size:11px;color:var(--muted);line-height:1.35}
.placeholder-section{min-height:500px}.placeholder-section>p{max-width:700px;color:var(--muted);line-height:1.65}.placeholder-box{margin-top:26px;min-height:300px;border:2px dashed #cbd9ec;border-radius:16px;background:linear-gradient(145deg,#fbfdff,#f3f8ff);display:grid;place-items:center;align-content:center;gap:10px;color:var(--blue)}.placeholder-box>span svg{width:44px;height:44px}.placeholder-box strong{font-size:20px}.placeholder-box small{color:var(--muted)}
.footer{margin-top:auto;padding:20px 28px;border-top:1px solid var(--line);background:#fff;display:grid;grid-template-columns:170px 1fr auto;align-items:center;gap:20px;font-size:11px;color:var(--muted)}.footer img{width:120px}.footer-links{display:flex;justify-content:center;gap:28px}.footer-links a:hover{color:var(--blue)}
.sidebar-overlay{display:none}.icon-btn{border:0;background:transparent;color:var(--navy);padding:8px;cursor:pointer}
/* Login */
.login-page{background:linear-gradient(145deg,#edf5ff,#fff 45%,#fbeef8)}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(390px,520px) 1fr}.login-card{background:#fff;padding:56px 62px;display:flex;flex-direction:column;justify-content:center;box-shadow:20px 0 50px rgba(16,47,114,.07);z-index:2}.login-logo{width:230px;margin-bottom:42px}.login-copy h1{font-size:42px;letter-spacing:-.04em;color:var(--navy);margin:8px 0}.login-copy p{color:var(--muted);line-height:1.65;margin:0 0 26px}.login-form{display:flex;flex-direction:column;gap:16px}.login-form label>span{display:block;font-size:12px;font-weight:700;margin-bottom:7px}.login-form input[type=text],.login-form input[type=password]{width:100%;height:48px;border:1px solid #d7e2f1;border-radius:11px;padding:0 14px;outline:none}.login-form input:focus{border-color:#8bb6ee;box-shadow:0 0 0 4px rgba(18,103,215,.08)}.login-options{display:flex;align-items:center;justify-content:space-between;font-size:12px}.check{display:flex;align-items:center;gap:8px;color:var(--muted)}.check span{margin:0!important;font-weight:500!important}.alert{background:#fff0f5;color:#a01860;border:1px solid #f2bfd8;padding:11px 13px;border-radius:10px;font-size:12px;margin-bottom:16px}.prototype-note{margin-top:18px;font-size:10px;line-height:1.5;color:#9aa6bb}.login-visual{background:linear-gradient(90deg,rgba(13,66,133,.05),rgba(13,66,133,.05)),url('../img/hero-main.png') center/cover no-repeat}
@media (max-width:1180px){.product-grid{grid-template-columns:repeat(2,1fr)}.benefit-strip{grid-template-columns:repeat(2,1fr);row-gap:18px}.benefit:nth-child(2){border-right:0}.excel-btn span:not(.excel-mark){display:none}.excel-btn{width:44px;padding:0;justify-content:center}.user-copy{display:none}.user-menu{min-width:auto}}
@media (max-width:980px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;transform:translateX(-102%);width:280px;transition:transform .25s;box-shadow:18px 0 42px rgba(7,38,85,.16)}body.sidebar-open .sidebar{transform:translateX(0)}.sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(6,29,64,.35);z-index:45;opacity:0;pointer-events:none;transition:.2s}body.sidebar-open .sidebar-overlay{opacity:1;pointer-events:auto}.sidebar-close{display:block}.mobile-menu{display:block}.mobile-brand{display:block}.mobile-brand img{width:116px}.topbar{padding:10px 15px}.top-search{max-width:none}.hero-card img{aspect-ratio:16/8.5}.footer{grid-template-columns:1fr;justify-items:center}.footer-links{flex-wrap:wrap}.login-shell{grid-template-columns:1fr}.login-visual{display:none}.login-card{max-width:520px;width:100%;margin:auto;min-height:100vh}}
@media (max-width:720px){.content{padding:14px}.topbar{height:auto;flex-wrap:wrap}.top-search{order:5;flex-basis:100%}.user-menu{margin-left:auto}.promo-grid{grid-template-columns:1fr}.hero-card img{aspect-ratio:4/3;object-position:center}.hero-hotspots{display:none}.product-grid{grid-template-columns:1fr}.benefit-strip{grid-template-columns:1fr}.benefit{border-right:0;border-bottom:1px solid var(--line);padding:12px 0}.benefit:last-child{border-bottom:0}.section-title-row{align-items:flex-start;flex-direction:column}.panel{padding:16px}.footer-links{gap:14px}.login-card{padding:38px 24px}.login-logo{width:190px}.login-copy h1{font-size:34px}}

/* Core application modules */
.success-alert{margin-bottom:18px;border-color:#cbeed7;background:#effcf4;color:#176b38}.module-search{display:flex;gap:10px;margin:18px 0 24px}.module-search input{flex:1;border:1px solid #d9e2ef;border-radius:12px;padding:12px 14px;font:inherit}.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-card small{display:block;color:#77849a;margin:7px 0}.add-form{display:flex;gap:8px;margin-top:12px}.add-form input{width:70px;border:1px solid #dbe3ef;border-radius:9px;padding:8px}.empty-state{padding:36px;text-align:center;border:1px dashed #d4deec;border-radius:14px;color:#69758a;margin-top:20px;background:#fbfdff}.cart-table{margin-top:20px}.cart-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:16px;align-items:center;padding:15px 0;border-bottom:1px solid #edf1f6}.cart-row div:first-child{display:flex;flex-direction:column;gap:3px}.cart-row span{color:#77849a;font-size:.9rem}.cart-total{display:flex;justify-content:flex-end;gap:30px;font-size:1.25rem;padding:24px 0}.orders-table{margin-top:20px}.orders-head,.orders-row{display:grid;grid-template-columns:1.1fr 1.5fr 1.2fr .8fr 1fr;gap:14px;align-items:center;padding:13px 14px}.orders-head{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:#738096;background:#f6f9fd;border-radius:10px}.orders-row{border-bottom:1px solid #edf1f6}.status-pill{display:inline-flex;width:max-content;padding:6px 10px;border-radius:99px;background:#eef5ff;color:#125cc3;font-size:.8rem;font-weight:700}.account-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}.account-grid>div{padding:18px;border:1px solid #e6ebf2;border-radius:12px;display:flex;flex-direction:column;gap:6px}.account-grid small{color:#77849a}.account-grid strong{color:#102c68}@media(max-width:1100px){.catalog-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.catalog-grid{grid-template-columns:1fr}.module-search{flex-direction:column}.cart-row{grid-template-columns:1fr 1fr}.orders-head{display:none}.orders-row{grid-template-columns:1fr 1fr}.account-grid{grid-template-columns:1fr}}
.admin-entry{display:flex;align-items:center;justify-content:center;margin-bottom:10px;padding:10px 12px;border-radius:10px;background:#082a69;color:#fff;font-weight:800;font-size:12px}.admin-entry:hover{background:#0b5fd7}.product-photo{width:100%;height:100%;object-fit:contain;padding:8px}.hero-media>a{display:block;width:100%;height:100%}.hero-media>a>img{width:100%;display:block}

/* Seller assisted-order flow */
.seller-context{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px;padding:14px 18px;border-radius:14px;border:1px solid #cfe0f5;background:linear-gradient(135deg,#f7fbff,#edf5ff)}
.seller-context.needs-client{border-color:#f0c8dd;background:linear-gradient(135deg,#fff8fc,#f7f3ff)}
.seller-context>div{display:flex;flex-direction:column;gap:3px}.seller-context-label{font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--pink)}.seller-context strong{font-size:15px;color:var(--navy)}.seller-context small{color:var(--muted);font-size:11px}.btn-light{background:#fff;color:var(--blue);border:1px solid #cbdcf1;box-shadow:none;display:inline-flex;align-items:center;justify-content:center}.center-btn{display:flex;align-items:center;justify-content:center}.locked-price strong{font-size:14px;color:#7b879b}.client-picker{margin:0 0 24px;padding:20px;border:1px solid #dbe5f2;border-radius:16px;background:linear-gradient(145deg,#fbfdff,#f5f9ff)}.client-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.client-picker-head h3{margin:4px 0 5px;font-size:22px;color:var(--navy)}.client-picker-head p{margin:0;max-width:780px;color:var(--muted);font-size:12px;line-height:1.55}.seller-client-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.seller-client-card{display:flex;flex-direction:column;gap:13px;padding:15px;border:1px solid #dfe7f1;border-radius:13px;background:#fff;box-shadow:0 6px 16px rgba(17,55,105,.04)}.seller-client-card.selected{border-color:#58a0ef;box-shadow:0 0 0 3px rgba(18,103,215,.08)}.seller-client-main{display:flex;flex-direction:column;gap:4px}.seller-client-main strong{font-size:14px;color:var(--navy)}.seller-client-main span{font-size:11px;color:var(--muted)}.seller-client-lists{display:grid;grid-template-columns:auto 1fr;gap:5px 9px;padding:10px;border-radius:9px;background:#f7faff}.seller-client-lists small{font-size:10px;color:#8896aa}.seller-client-lists b{font-size:10px;color:#314d78;text-align:right}.btn-selected{background:#eaf5ef;color:#16834b;border:1px solid #bce4cc;cursor:default}.cart-client-note{margin:12px 0 4px;padding:10px 12px;border-radius:10px;background:#f1f7ff;color:#48617f;font-size:12px}.cart-client-note strong{color:var(--navy)}
@media(max-width:1100px){.seller-client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.seller-context,.client-picker-head{align-items:stretch;flex-direction:column}.seller-client-grid{grid-template-columns:1fr}.seller-context .btn,.client-picker-head .btn{width:100%}}
