/* CodeZip Premium UI v1 — clean-room visual system.
   This file is original to CodeZip and does not contain Storify source or assets. */
:root{
  --cz-bg:#f7f8fa;
  --cz-surface:#ffffff;
  --cz-surface-2:#f4f6f8;
  --cz-ink:#1f2937;
  --cz-muted:#667085;
  --cz-soft:#98a2b3;
  --cz-line:#e4e7ec;
  --cz-line-strong:#d0d5dd;
  --cz-primary:#2563eb;
  --cz-primary-dark:#1d4ed8;
  --cz-primary-soft:#eff6ff;
  --cz-navy:#101828;
  --cz-green:#039855;
  --cz-red:#d92d20;
  --cz-amber:#dc6803;
  --cz-radius-sm:8px;
  --cz-radius:12px;
  --cz-radius-lg:18px;
  --cz-shadow-sm:0 1px 2px rgba(16,24,40,.04);
  --cz-shadow:0 10px 30px rgba(16,24,40,.07);
  --cz-shadow-lg:0 24px 60px rgba(16,24,40,.10);
}

/* ---------- Shared ---------- */
body.store-body,body.admin-body{
  color:var(--cz-ink);
  font-family:Inter,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.store-body .eyebrow,.admin-body .eyebrow{
  color:var(--cz-primary);
  font-size:11px;
  line-height:1;
  font-weight:700;
  letter-spacing:.08em;
}
.store-body .btn,.admin-body .btn{
  border-radius:9px;
  font-weight:650;
  box-shadow:none;
}
.store-body .btn.primary,.admin-body .btn.primary{
  background:var(--cz-primary);
  border-color:var(--cz-primary);
  box-shadow:0 1px 2px rgba(16,24,40,.08);
}
.store-body .btn.primary:hover,.admin-body .btn.primary:hover{
  background:var(--cz-primary-dark);
  border-color:var(--cz-primary-dark);
  transform:none;
  box-shadow:0 1px 2px rgba(16,24,40,.08);
}
.store-body .btn.ghost,.admin-body .btn.ghost{
  border-color:var(--cz-line-strong);
  background:#fff;
}

/* ---------- Storefront chrome ---------- */
body.store-body{background:#fff;--violet:var(--cz-primary);--brand-secondary:#0ea5e9}
.store-body .commercial-announcement{
  height:34px;
  background:var(--cz-navy);
  color:#d0d5dd;
  justify-content:center;
  gap:18px;
  font-size:11px;
  font-weight:550;
  letter-spacing:.01em;
}
.store-body .commercial-announcement .announce-feature{color:#fff;font-weight:650}
.store-body .commercial-announcement .announcement-dot{color:#475467}
.store-body .commercial-announcement .announcement-message{margin-left:14px;color:#98a2b3}
.store-body .commercial-header{
  height:76px;
  max-width:none;
  padding:0 max(24px,calc((100vw - 1320px)/2));
  gap:28px;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--cz-line);
  box-shadow:none;
  backdrop-filter:saturate(180%) blur(14px);
}
.store-body .brand{font-size:18px;font-weight:750;letter-spacing:-.025em;color:var(--cz-navy)}
.store-body .brand-mark{
  width:36px;height:36px;border-radius:10px;
  background:var(--cz-primary);box-shadow:none;font-size:15px;font-weight:800
}
.store-body .brand-logo-img{width:38px;height:38px;border-radius:10px;overflow:hidden;border:1px solid var(--cz-line);background:#fff;display:grid;place-items:center}
.store-body .brand-logo-img img{width:100%;height:100%;object-fit:contain}
.store-body .header-search{
  height:44px;max-width:620px;background:#fff;border:1px solid var(--cz-line-strong);
  border-radius:10px;box-shadow:var(--cz-shadow-sm)
}
.store-body .header-search:focus-within{border-color:#84adff;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.store-body .header-search input{font-size:13px;color:var(--cz-ink);padding:0 10px}
.store-body .search-icon{color:#98a2b3;padding-left:14px}
.store-body .header-search button{
  width:auto;min-width:78px;padding:0 16px;background:var(--cz-primary);color:#fff;
  font-size:12px;font-weight:700;border-left:1px solid var(--cz-primary);border-radius:0
}
.store-body .header-actions{gap:18px;font-size:12px;color:#344054}
.store-body .header-ai{
  border:1px solid #b2ccff;background:#f5f8ff;color:#175cd3;border-radius:9px;padding:8px 10px;font-weight:650
}
.store-body .header-icon-link{font-size:20px!important}
.store-body .cart-pill{background:var(--cz-navy)!important;border-radius:9px;padding:9px 12px!important}
.store-body .cart-pill b{min-width:20px;height:20px;border-radius:6px;background:var(--cz-primary);display:grid;place-items:center;font-size:10px}
.store-body .store-nav{
  min-height:48px;padding:0 max(24px,calc((100vw - 1320px)/2));background:#fff;border-bottom:1px solid var(--cz-line);
  box-shadow:0 1px 2px rgba(16,24,40,.02)
}
.store-body .store-nav-main,.store-body .store-nav-secondary{gap:22px}
.store-body .store-nav a{font-size:12px;font-weight:600;color:#475467;padding:15px 0}
.store-body .store-nav a:hover{color:var(--cz-primary)}
.store-body .nav-departments{color:var(--cz-primary)!important;font-weight:700!important}
.store-body .language-switcher select,.store-body .currency-switcher select{color:#475467;font-size:11px}

/* ---------- New CodeZip home ---------- */
.cz-home{background:#fff}
.cz-hero{
  max-width:1320px;margin:30px auto 0;padding:0 24px;
}
.cz-hero-card{
  min-height:430px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);gap:32px;
  padding:54px 56px;border:1px solid #dbe5f3;border-radius:20px;overflow:hidden;position:relative;
  background:linear-gradient(135deg,#f8fbff 0%,#f4f7ff 48%,#eef4ff 100%);
}
.cz-hero-card:before{
  content:"";position:absolute;right:-120px;top:-180px;width:470px;height:470px;border-radius:50%;
  background:radial-gradient(circle,rgba(37,99,235,.13),rgba(37,99,235,0) 68%);pointer-events:none
}
.cz-hero-copy{position:relative;z-index:2;align-self:center;max-width:690px}
.cz-kicker{display:inline-flex;align-items:center;gap:7px;margin-bottom:18px;color:#175cd3;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.cz-kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:#2e90fa;box-shadow:0 0 0 4px #d1e9ff}
.cz-hero-copy h1{margin:0;color:#101828;font-size:clamp(42px,4.4vw,64px);line-height:1.02;letter-spacing:-.055em;font-weight:760;max-width:720px}
.cz-hero-copy h1 span{color:var(--cz-primary)}
.cz-hero-copy>p{max-width:610px;margin:22px 0 24px;color:#475467;font-size:17px;line-height:1.65}
.cz-hero-search{display:flex;max-width:660px;height:52px;background:#fff;border:1px solid #cfd8e6;border-radius:11px;box-shadow:0 6px 18px rgba(16,24,40,.06);overflow:hidden}
.cz-hero-search input{flex:1;min-width:0;border:0;outline:0;padding:0 16px;color:#101828;font-size:14px;background:transparent}
.cz-hero-search button{border:0;background:var(--cz-primary);color:#fff;padding:0 22px;font-weight:700;font-size:12px;cursor:pointer}
.cz-popular{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:17px;color:#667085;font-size:11px}
.cz-popular strong{color:#344054;font-weight:650}
.cz-popular a{padding:4px 8px;border:1px solid #d0d5dd;border-radius:999px;background:rgba(255,255,255,.75)}
.cz-popular a:hover{border-color:#84adff;color:#175cd3;background:#fff}
.cz-hero-preview{position:relative;z-index:2;align-self:center}
.cz-preview-window{background:#fff;border:1px solid #d0d5dd;border-radius:16px;box-shadow:0 24px 48px rgba(16,24,40,.10);overflow:hidden;transform:perspective(1000px) rotateY(-2deg) rotateX(1deg)}
.cz-preview-head{height:44px;display:flex;align-items:center;gap:6px;padding:0 14px;border-bottom:1px solid #eaecf0;background:#fcfcfd}
.cz-preview-head i{display:block;width:8px;height:8px;border-radius:50%;background:#d0d5dd}
.cz-preview-head span{margin-left:7px;font-size:10px;color:#98a2b3;font-weight:600}
.cz-preview-list{display:grid;padding:10px}
.cz-preview-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px;border-radius:10px}
.cz-preview-item+.cz-preview-item{border-top:1px solid #f0f1f3}
.cz-preview-item:hover{background:#f8fafc}
.cz-preview-thumb{width:64px;height:52px;border-radius:8px;background:linear-gradient(145deg,#eef2f6,#f8fafc);overflow:hidden;display:grid;place-items:center;color:#98a2b3;font-size:19px;border:1px solid #eaecf0}
.cz-preview-thumb img{width:100%;height:100%;object-fit:cover}
.cz-preview-copy{min-width:0;display:grid;gap:3px}
.cz-preview-copy strong{font-size:12px;color:#101828;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cz-preview-copy small{font-size:10px;color:#98a2b3}
.cz-preview-price{font-size:12px;color:#101828;font-weight:750;white-space:nowrap}
.cz-preview-foot{padding:10px 14px;border-top:1px solid #eaecf0;background:#fcfcfd;color:#667085;font-size:10px;display:flex;justify-content:space-between}

.cz-trust-row{max-width:1320px;margin:18px auto 0;padding:0 24px;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#eaecf0;border:1px solid #eaecf0;border-radius:12px;overflow:hidden}
.cz-trust-row article{min-height:74px;background:#fff;padding:14px 18px;display:flex;align-items:center;gap:12px}
.cz-trust-icon{width:34px;height:34px;border-radius:9px;background:#eff6ff;color:#175cd3;display:grid;place-items:center;font-weight:800;font-size:14px;flex:0 0 auto}
.cz-trust-row strong{display:block;font-size:12px;color:#344054}
.cz-trust-row small{display:block;margin-top:2px;color:#98a2b3;font-size:10px;line-height:1.35}

.cz-section{max-width:1320px;margin:0 auto;padding:66px 24px}
.cz-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}
.cz-section-head h2{margin:5px 0 0;color:#101828;font-size:28px;line-height:1.15;letter-spacing:-.035em;font-weight:720}
.cz-section-head p{margin:7px 0 0;color:#667085;max-width:650px;font-size:12px}
.cz-section-head>a{color:#175cd3;font-size:12px;font-weight:650;white-space:nowrap}
.cz-category-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}
.cz-category-card{min-height:108px;padding:16px;border:1px solid var(--cz-line);border-radius:12px;background:#fff;display:grid;align-content:space-between;box-shadow:var(--cz-shadow-sm)}
.cz-category-card:hover{border-color:#b2ccff;background:#f8fbff;box-shadow:0 8px 24px rgba(16,24,40,.06)}
.cz-category-icon{width:34px;height:34px;border-radius:9px;background:#f2f4f7;color:#475467;display:grid;place-items:center;font-size:15px}
.cz-category-card strong{font-size:12px;line-height:1.25;color:#344054}
.cz-category-card small{font-size:10px;color:#98a2b3}

.cz-market-strip{background:#f8fafc;border-top:1px solid #eaecf0;border-bottom:1px solid #eaecf0}
.cz-market-strip .cz-section{padding-top:58px;padding-bottom:58px}
.cz-home .commercial-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cz-home .product-card{border-radius:12px;border-color:#e4e7ec;box-shadow:var(--cz-shadow-sm);background:#fff}
.cz-home .product-card:hover{transform:translateY(-2px);border-color:#d0d5dd;box-shadow:0 12px 28px rgba(16,24,40,.08)}
.cz-home .product-media{height:205px;background:#f2f4f7}
.cz-home .product-card-body{padding:15px 15px 16px}
.cz-home .product-meta{font-size:9px;letter-spacing:.04em;text-transform:none;color:#98a2b3}
.cz-home .product-title{font-size:13px;min-height:38px;margin:7px 0 7px;font-weight:650;color:#101828}
.cz-home .product-card-copy{font-size:10px;line-height:1.45;color:#667085;min-height:30px;margin-bottom:9px}
.cz-home .price-row{margin-bottom:10px}
.cz-home .price-row strong{font-size:14px;color:#101828}
.cz-home .quick-add button{height:36px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#344054;font-size:11px;font-weight:650}
.cz-home .quick-add button:hover{background:#f8fafc;border-color:#98a2b3;color:#101828}
.cz-home .badge{border-radius:6px;padding:5px 7px;font-size:8px;letter-spacing:.04em}
.cz-home .badge.feature{background:#101828}
.cz-home .badge.sale{background:#d92d20;color:#fff}

.cz-seller-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.cz-seller-card{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:18px;border:1px solid var(--cz-line);border-radius:12px;background:#fff;box-shadow:var(--cz-shadow-sm)}
.cz-seller-card:hover{border-color:#b2ccff;box-shadow:0 8px 24px rgba(16,24,40,.06)}
.cz-seller-logo{width:44px;height:44px;border-radius:10px;background:#eff6ff;color:#175cd3;display:grid;place-items:center;font-weight:800}
.cz-seller-card strong{font-size:12px;color:#101828;display:block}
.cz-seller-card p{margin:4px 0 7px;color:#667085;font-size:10px;line-height:1.45;min-height:28px}
.cz-seller-card small{font-size:10px;color:#175cd3;font-weight:650}

.cz-collections{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.cz-collection{min-height:180px;padding:24px;border:1px solid var(--cz-line);border-radius:14px;background:linear-gradient(145deg,#fff,#f8fafc);position:relative;overflow:hidden}
.cz-collection:after{content:"";position:absolute;width:150px;height:150px;right:-55px;bottom:-70px;border-radius:50%;background:#eff6ff}
.cz-collection small{font-size:9px;color:#175cd3;font-weight:700;letter-spacing:.08em}
.cz-collection strong{display:block;margin:12px 0 6px;font-size:19px;color:#101828;letter-spacing:-.02em;position:relative;z-index:1}
.cz-collection p{margin:0;max-width:78%;font-size:11px;color:#667085;position:relative;z-index:1}
.cz-collection span{display:inline-block;margin-top:18px;color:#175cd3;font-size:10px;font-weight:650;position:relative;z-index:1}

.cz-creator-cta{max-width:1272px;margin:10px auto 70px;padding:34px 38px;border-radius:16px;background:#101828;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}
.cz-creator-cta .eyebrow{color:#84adff}
.cz-creator-cta h2{margin:6px 0 8px;font-size:27px;letter-spacing:-.035em}
.cz-creator-cta p{margin:0;color:#98a2b3;max-width:660px;font-size:12px}
.cz-creator-cta .btn{background:#fff;color:#101828;border-color:#fff}

/* Store sections outside home */
.store-body .page-hero{background:#f8fafc;color:#101828;border-bottom:1px solid #eaecf0}
.store-body .page-hero.compact{min-height:210px;padding-top:52px;padding-bottom:52px}
.store-body .page-hero.compact h1{font-size:40px}
.store-body .page-hero.compact p{color:#667085}
.store-body .filters,.store-body .product-card,.store-body .review-card,.store-body .content-page,.store-body .account-card{
  border-color:var(--cz-line);border-radius:12px;box-shadow:var(--cz-shadow-sm)
}
.store-body .site-footer{background:#101828;color:#98a2b3}
.store-body .commercial-footer{grid-template-columns:2fr repeat(3,1fr);gap:46px}
.store-body .footer-newsletter{
  background:#f8fafc;color:#101828;border:1px solid #eaecf0;box-shadow:none;border-radius:16px
}
.store-body .footer-newsletter .eyebrow{color:#175cd3}
.store-body .footer-newsletter input{background:#fff;color:#101828;border:1px solid #d0d5dd}
.store-body .footer-newsletter input::placeholder{color:#98a2b3}
.store-body .footer-newsletter .btn{background:var(--cz-primary);color:#fff}
.store-body .footer-bottom{background:#0c111d;color:#667085;border-top-color:#1d2939}
.store-body .ai-fab{width:50px;height:50px;border-radius:12px;background:var(--cz-primary);box-shadow:0 12px 28px rgba(37,99,235,.26)}
.store-body .ai-panel{border-radius:14px;border-color:#d0d5dd;box-shadow:var(--cz-shadow-lg)}
.store-body .ai-head{background:#f8fafc}
.store-body .ai-avatar{background:var(--cz-primary);border-radius:9px}
.store-body .ai-form button{background:var(--cz-primary)}

/* ---------- Admin ---------- */
body.admin-body{background:var(--cz-bg);--violet:var(--cz-primary);--line:var(--cz-line);--muted:var(--cz-muted)}
.admin-body .admin-shell{grid-template-columns:258px minmax(0,1fr)}
.admin-body .admin-sidebar{
  width:auto;background:#fff;color:#475467;border-right:1px solid #e4e7ec;padding:18px 12px;box-shadow:none
}
.admin-body .admin-brand{color:#101828;padding:3px 8px 20px;margin-bottom:2px;border-bottom:1px solid #f2f4f7}
.admin-body .admin-brand .brand-mark{background:var(--cz-primary);box-shadow:none;border-radius:9px}
.admin-body .admin-brand>span:last-child strong{font-size:13px;line-height:1.2;font-weight:720}
.admin-body .admin-brand small{color:#98a2b3;font-size:9px;margin-top:2px}
.admin-body .admin-global-search{margin:14px 4px 18px;padding:9px 10px;border:1px solid #d0d5dd;background:#fff;border-radius:8px}
.admin-body .admin-global-search input{color:#344054;font-size:11px}
.admin-body .admin-global-search input::placeholder{color:#98a2b3}
.admin-body .nav-group{gap:2px;margin:4px 0 16px}
.admin-body .nav-group>small{padding:0 10px 6px;color:#98a2b3;font-size:8px;font-weight:700;letter-spacing:.09em}
.admin-body .admin-sidebar nav a{min-height:36px;padding:8px 9px;border-radius:8px;color:#475467;font-size:11px;font-weight:580}
.admin-body .admin-sidebar nav a i{width:24px;height:24px;border-radius:6px;background:#f2f4f7;color:#667085;display:grid;place-items:center;font-size:12px}
.admin-body .admin-sidebar nav a:hover{background:#f8fafc;color:#101828}
.admin-body .admin-sidebar nav a.active{background:#eff6ff;color:#175cd3;font-weight:650}
.admin-body .admin-sidebar nav a.active i{background:#dbeafe;color:#175cd3}
.admin-body .sidebar-foot{border-top:1px solid #f2f4f7;padding-top:12px}
.admin-body .sidebar-foot a,.admin-body .sidebar-foot button{color:#667085;font-size:10px}
.admin-body .admin-topbar{
  height:64px;background:rgba(255,255,255,.96);border-bottom:1px solid #e4e7ec;padding:0 28px;box-shadow:none
}
.admin-body .admin-top-title .eyebrow{color:#98a2b3;font-size:8px;letter-spacing:.08em}
.admin-body .admin-top-title strong{font-size:13px;color:#344054;font-weight:650}
.admin-body .admin-top-actions{gap:7px}
.admin-body .admin-quick{padding:7px 10px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#344054;font-size:10px;font-weight:620}
.admin-body .admin-quick:hover{background:#f8fafc;border-color:#98a2b3}
.admin-body .admin-quick.ai{background:#eff6ff;border-color:#b2ccff;color:#175cd3}
.admin-body .admin-user .avatar{background:#eff6ff;color:#175cd3;border-radius:9px}
.admin-body .admin-user>span:last-child{color:#344054}
.admin-body .admin-content{max-width:1540px;padding:28px 30px 42px}
.admin-body .admin-page-head{margin-bottom:20px;align-items:center}
.admin-body .admin-page-head h1{font-size:27px;letter-spacing:-.035em;font-weight:710;color:#101828}
.admin-body .admin-page-head p{font-size:11px;color:#667085}
.admin-body .stat-grid{gap:12px}
.admin-body .stat-grid>article{border:1px solid #e4e7ec;border-radius:12px;background:#fff;box-shadow:var(--cz-shadow-sm);padding:18px}
.admin-body .stat-grid>article:hover{box-shadow:0 8px 20px rgba(16,24,40,.05)}
.admin-body .stat-icon{width:36px;height:36px;border-radius:9px;font-size:14px}
.admin-body .stat-icon.violet,.admin-body .stat-icon.blue{background:#eff6ff;color:#175cd3}
.admin-body .stat-icon.green{background:#ecfdf3;color:#027a48}
.admin-body .stat-icon.amber{background:#fffaeb;color:#b54708}
.admin-body .stat-grid article small{color:#667085;font-size:10px}
.admin-body .stat-grid article strong{font-size:23px;color:#101828;letter-spacing:-.03em}
.admin-body .stat-grid article span{color:#98a2b3;font-size:9px}
.admin-body .panel,.admin-body .admin-card,.admin-body .settings-section{
  border:1px solid #e4e7ec;border-radius:12px;background:#fff;box-shadow:var(--cz-shadow-sm)
}
.admin-body .panel{padding:0;overflow:hidden}
.admin-body .panel-head{padding:17px 18px;border-bottom:1px solid #eaecf0;margin:0}
.admin-body .panel-head h3{font-size:14px;color:#101828;font-weight:670;margin:3px 0 0}
.admin-body .panel-head a{color:#175cd3;font-size:10px;font-weight:620}
.admin-body .dashboard-grid{gap:14px}
.admin-body table{font-size:11px}
.admin-body table th,.admin-body .admin-table th{background:#f9fafb;color:#667085;font-size:9px;font-weight:650;letter-spacing:.04em;border-bottom-color:#eaecf0}
.admin-body table td,.admin-body .admin-table td{border-bottom-color:#f2f4f7;color:#475467}
.admin-body table tr:hover td,.admin-body .admin-table tr:hover td{background:#fcfcfd}
.admin-body .table-link{color:#175cd3;font-weight:620}
.admin-body .status-badge,.admin-body .status-pill{border-radius:999px;font-size:9px;font-weight:650}
.admin-body .feature-row{gap:12px}
.admin-body .feature-row>article{border:1px solid #e4e7ec;border-radius:12px;background:#fff;box-shadow:var(--cz-shadow-sm)}
.admin-body .feature-row>article>span{background:#f2f4f7;color:#475467;border-radius:9px}
.admin-body .feature-row a{color:#175cd3}
.admin-body .form-stack input:not(.switch-input),.admin-body .form-stack select,.admin-body .form-stack textarea{
  border-color:#d0d5dd;background:#fff;border-radius:8px;color:#344054
}
.admin-body .form-stack input:focus,.admin-body .form-stack select:focus,.admin-body .form-stack textarea:focus{
  border-color:#84adff;box-shadow:0 0 0 3px rgba(37,99,235,.10)
}
.admin-body .switch-input{accent-color:var(--cz-primary)}
.admin-body .icon-btn{border-color:#d0d5dd;border-radius:7px;color:#475467}
.admin-body .icon-btn:hover{border-color:#84adff;color:#175cd3;background:#f5f8ff}
.admin-body .settings-tabs a,.admin-body .settings-tabs button{border-color:#d0d5dd;border-radius:8px;background:#fff;color:#475467}
.admin-body .settings-savebar{border-color:#d0d5dd;border-radius:10px;box-shadow:0 8px 24px rgba(16,24,40,.08)}
.admin-body .admin-footer{border-top-color:#e4e7ec;background:#fff;color:#98a2b3}
.admin-body .notice-card,.admin-body .import-card{border-radius:10px}
.admin-body .ai-grounding-card,.admin-body .security-callout{border-color:#b2ccff;background:#f5f8ff}
.admin-body .version-badge{background:#eff6ff;color:#175cd3}

/* Fix chunky/AI-looking text and spacing across generated forms */
.admin-body h1,.admin-body h2,.admin-body h3,.store-body h1,.store-body h2,.store-body h3{font-family:inherit}
.admin-body strong,.store-body strong{font-weight:650}
.admin-body input,.admin-body select,.admin-body textarea,.store-body input,.store-body select,.store-body textarea{font-weight:400}

@media(max-width:1180px){
  .cz-hero-card{grid-template-columns:1fr;padding:42px}.cz-hero-preview{max-width:680px}.cz-category-grid{grid-template-columns:repeat(4,1fr)}
  .cz-seller-grid{grid-template-columns:repeat(2,1fr)}.cz-home .commercial-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .cz-trust-row{grid-template-columns:1fr 1fr}.cz-collections{grid-template-columns:1fr 1fr}.cz-home .commercial-grid{grid-template-columns:repeat(2,1fr)}
  .admin-body .admin-shell{grid-template-columns:1fr}.admin-body .admin-sidebar{width:258px}
}
@media(max-width:760px){
  .store-body .commercial-announcement{justify-content:flex-start;padding:0 14px;overflow:auto}.store-body .commercial-header{height:auto;min-height:68px;padding:12px 16px}
  .store-body .header-search{order:3;width:100%;max-width:none}.store-body .store-nav{padding:12px 16px}
  .cz-hero{margin-top:18px;padding:0 14px}.cz-hero-card{padding:30px 22px;border-radius:16px;min-height:0}.cz-hero-copy h1{font-size:40px}.cz-hero-copy>p{font-size:14px}
  .cz-hero-preview{display:none}.cz-trust-row{margin-top:12px;padding:0 14px;grid-template-columns:1fr}.cz-section{padding:48px 14px}.cz-category-grid{grid-template-columns:repeat(2,1fr)}
  .cz-home .commercial-grid{grid-template-columns:1fr 1fr;gap:10px}.cz-home .product-media{height:160px}.cz-home .product-card-copy{display:none}
  .cz-seller-grid,.cz-collections{grid-template-columns:1fr}.cz-creator-cta{margin:0 14px 48px;padding:28px 22px;display:grid}
  .store-body .footer-newsletter{margin:36px 14px 0}.store-body .commercial-footer{grid-template-columns:1fr 1fr;padding-left:22px;padding-right:22px}
  .admin-body .admin-content{padding:20px 14px 34px}.admin-body .admin-topbar{padding:0 14px}
}
@media(max-width:520px){
  .cz-home .commercial-grid{grid-template-columns:1fr}.cz-category-grid{grid-template-columns:1fr 1fr}.cz-trust-row{grid-template-columns:1fr}.store-body .commercial-footer{grid-template-columns:1fr}
}

/* ---------- CodeZip Premium UI v2 refinements ---------- */
/* Header: prevent button/text collisions and remove the oversized purple department block. */
@media (min-width: 901px){
  .store-body .commercial-header{
    display:grid;
    grid-template-columns:auto minmax(320px,1fr) auto;
    align-items:center;
    gap:22px;
  }
  .store-body .header-search{width:100%;max-width:none;min-width:0}
  .store-body .header-actions{margin-left:0;gap:10px;white-space:nowrap;justify-content:flex-end}
}
.store-body .header-ai{
  width:auto!important;height:40px!important;min-width:82px;display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:0 11px!important;white-space:nowrap;line-height:1.1
}
.store-body .header-ai span{font-size:13px;line-height:1}.store-body .header-ai em{font-style:normal;white-space:nowrap}
.store-body .cart-pill{min-width:88px;justify-content:center;gap:8px!important;padding:8px 10px!important;white-space:nowrap}
.store-body .cart-pill .cart-label{
  display:inline!important;width:auto!important;height:auto!important;min-width:0!important;background:transparent!important;
  border-radius:0!important;font-size:12px!important;line-height:1!important;color:#fff!important
}
.store-body .cart-pill b{flex:0 0 20px}
.store-body .nav-departments{
  min-width:auto!important;height:34px!important;padding:0 11px!important;margin:7px 2px 7px 0!important;
  border:1px solid #d0d5dd!important;border-radius:8px!important;background:#f8fafc!important;color:#344054!important
}
.store-body .nav-departments:hover{background:#eff6ff!important;border-color:#b2ccff!important;color:#175cd3!important}
.store-body .store-nav-main,.store-body .store-nav-secondary{min-width:0}
.store-body .store-nav-secondary{margin-left:auto}
.store-body .language-switcher select,.store-body .currency-switcher select{
  height:34px;padding:0 24px 0 8px;border:1px solid transparent;border-radius:8px;background-color:#fff;color:#475467;font-weight:600
}
.store-body .language-switcher select:hover,.store-body .currency-switcher select:hover{border-color:#d0d5dd;background:#f8fafc}

/* Buttons and small controls: one consistent commercial system. */
.store-body button,.admin-body button,.codezip-blank button{letter-spacing:0}
.store-body .quick-add button,.store-body .qty-form button,.store-body .coupon-form button{
  border:1px solid #d0d5dd;background:#fff;color:#344054;min-height:34px;border-radius:8px;font-weight:650
}
.store-body .quick-add button{width:100%;background:#101828;color:#fff;border-color:#101828}
.store-body .quick-add button:hover{background:#1d2939}.store-body .quick-add button:disabled{background:#f2f4f7;color:#98a2b3;border-color:#eaecf0}
.store-body .qty-form button:hover,.store-body .coupon-form button:hover{background:#f8fafc;border-color:#98a2b3}
.store-body .icon-btn{border:1px solid #e4e7ec;background:#fff;color:#667085}.store-body .icon-btn:hover{border-color:#fda29b;color:#b42318;background:#fff5f4}

/* Cart polish */
.store-body .cart-layout{max-width:1180px;gap:24px}.store-body .cart-items,.store-body .order-summary{border-radius:12px;box-shadow:var(--cz-shadow-sm)}
.store-body .cart-item{grid-template-columns:64px minmax(180px,1fr) 130px 110px 34px;padding:16px 18px;gap:14px}
.store-body .cart-mini-media{border:1px solid #eaecf0;background:#f8fafc;border-radius:10px}
.store-body .order-summary{padding:20px}.store-body .coupon-form{margin:12px 0}.store-body .coupon-form input{border-color:#d0d5dd;border-radius:8px}

/* Blank / seller authentication pages were still using the legacy dark layout. */
body.blank-body.codezip-blank{
  min-height:100vh;background:#f5f7fa;color:#101828;font-family:Inter,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased
}
.codezip-blank .auth-shell.seller-auth{
  width:min(1080px,calc(100% - 40px));min-height:620px;margin:48px auto;display:grid;grid-template-columns:minmax(320px,.86fr) minmax(440px,1.14fr);
  background:#fff;border:1px solid #e4e7ec;border-radius:18px;overflow:hidden;box-shadow:0 24px 70px rgba(16,24,40,.10)
}
.codezip-blank .seller-auth .auth-panel{padding:56px 54px}
.codezip-blank .seller-auth .brand-panel{background:linear-gradient(145deg,#0f172a,#172554 72%,#1d4ed8);color:#fff;display:flex;flex-direction:column;justify-content:center}
.codezip-blank .seller-auth .brand-panel .brand-mark.big{width:48px;height:48px;border-radius:12px;background:#2563eb;box-shadow:none;margin-bottom:26px}
.codezip-blank .seller-auth .brand-panel h1{font-size:38px;line-height:1.08;letter-spacing:-.045em;margin:0 0 16px}
.codezip-blank .seller-auth .brand-panel p{font-size:14px;line-height:1.7;color:#cbd5e1;max-width:390px;margin:0}
.codezip-blank .seller-auth .auth-benefits{list-style:none;padding:0;margin:28px 0 0;display:grid;gap:12px;color:#dbeafe;font-size:12px}
.codezip-blank .seller-auth .auth-benefits li{display:flex;gap:9px;align-items:center}.codezip-blank .seller-auth .auth-benefits li:before{content:"✓";width:22px;height:22px;border-radius:7px;background:rgba(255,255,255,.10);display:grid;place-items:center;color:#93c5fd;font-weight:800}
.codezip-blank .seller-auth .form-panel{background:#fff;display:flex;flex-direction:column;justify-content:center;gap:0}
.codezip-blank .seller-auth .form-panel .eyebrow{margin:0 0 9px;color:#2563eb;font-size:10px;font-weight:750;letter-spacing:.1em}
.codezip-blank .seller-auth .form-panel h2{font-size:29px;letter-spacing:-.035em;margin:0 0 8px;color:#101828}
.codezip-blank .seller-auth .form-intro{margin:0 0 26px;color:#667085;font-size:12px}
.codezip-blank .seller-auth .form-stack{gap:14px}
.codezip-blank .seller-auth .form-stack label{display:grid;gap:6px;color:#344054;font-size:11px;font-weight:650}
.codezip-blank .seller-auth .form-stack input{width:100%;height:44px;padding:0 12px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#101828;outline:0;font-weight:400}
.codezip-blank .seller-auth .form-stack input:focus{border-color:#84adff;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.codezip-blank .seller-auth .btn.primary{height:44px;border-radius:9px;background:#2563eb;border-color:#2563eb;color:#fff;margin-top:4px;box-shadow:none}
.codezip-blank .seller-auth .btn.primary:hover{background:#1d4ed8}
.codezip-blank .seller-auth .auth-foot{margin:16px 0 0;color:#667085;font-size:11px;text-align:center}.codezip-blank .seller-auth .auth-foot a{color:#175cd3;font-weight:650}
.codezip-blank .auth-back-home{position:fixed;top:22px;left:24px;z-index:5;display:inline-flex;align-items:center;gap:8px;color:#475467;font-size:12px;font-weight:650}.codezip-blank .auth-back-home:hover{color:#175cd3}
.codezip-blank .auth-back-home .mini-brand{width:28px;height:28px;border-radius:8px;background:#2563eb;color:#fff;display:grid;place-items:center;font-weight:800}

/* Generic seller recovery cards */
.codezip-blank .login-shell{min-height:100vh;display:grid;place-items:center;padding:60px 20px}.codezip-blank .login-card{width:min(470px,100%);padding:34px;background:#fff;border:1px solid #e4e7ec;border-radius:16px;box-shadow:var(--cz-shadow)}
.codezip-blank .login-card h1{font-size:28px;letter-spacing:-.035em}.codezip-blank .login-card p{color:#667085}.codezip-blank .login-card input{height:44px;padding:0 12px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#101828}

/* Admin refinement for controls that still inherited the old generated styles. */
.admin-body .btn{min-height:38px;padding:0 14px}.admin-body button,.admin-body select,.admin-body input{font-size:11px}
.admin-body .admin-content input:not([type=checkbox]):not([type=radio]),.admin-body .admin-content select{min-height:38px}

@media(max-width:1200px){
  .store-body .commercial-header{grid-template-columns:auto minmax(260px,1fr) auto;gap:14px}.store-body .header-actions{gap:8px}.store-body .store-nav-main,.store-body .store-nav-secondary{gap:14px}
}
@media(max-width:1000px){
  .store-body .header-ai em{display:none}.store-body .header-ai{min-width:40px;width:40px!important;padding:0!important}.store-body .store-nav{gap:12px}.store-body .store-nav-main,.store-body .store-nav-secondary{gap:12px}
}
@media(max-width:900px){
  .codezip-blank .auth-shell.seller-auth{grid-template-columns:1fr;width:min(680px,calc(100% - 28px));margin:24px auto}.codezip-blank .seller-auth .brand-panel{padding:38px 34px}.codezip-blank .seller-auth .form-panel{padding:40px 34px}
}
@media(max-width:760px){
  .store-body .commercial-header{display:flex}.store-body .header-actions{gap:6px}.store-body .cart-pill{min-width:44px}.store-body .cart-pill .cart-label{display:none!important}.store-body .store-nav-secondary{margin-left:0}
  .store-body .cart-layout{grid-template-columns:1fr}.store-body .cart-item{grid-template-columns:52px 1fr auto;gap:10px}.store-body .cart-item .qty-form{grid-column:2}.store-body .cart-item .line-price{grid-column:3;grid-row:1}.store-body .order-summary{position:static}
}
@media(max-width:520px){
  .codezip-blank .seller-auth .auth-panel{padding:32px 22px}.codezip-blank .seller-auth .brand-panel h1{font-size:31px}.codezip-blank .seller-auth .form-panel h2{font-size:25px}
}
