:root{
  --primary:#2f87b8;
  --primary-dark:#286f96;
  --secondary:#14a44d;
  --danger:#d9534f;
  --warning:#f0ad4e;
  --muted:#64748b;
  --bg:#e7ebef;
  --card:#ffffff;
  --border:#cfd7df;
  --shadow:0 1px 2px rgba(15,23,42,.06);
  --radius-xs:2px;
  --radius-sm:3px;
  --radius-md:4px;
}
*{box-sizing:border-box}
body{font-family:"Segoe UI",Tahoma,Arial,sans-serif;margin:0;background:var(--bg);color:#1f2937}
.admin-shell{display:flex;min-height:100vh;background:var(--bg)}
.sidebar{width:270px;flex:0 0 270px;color:#cfdae6;background:linear-gradient(180deg,#1f2e3c 0%,#172432 100%);border-right:1px solid #2a3b4b;padding:10px 10px 16px;overflow:auto}
.brand{display:flex;align-items:center;gap:10px;padding:10px 8px;margin-bottom:10px;border-bottom:1px solid rgba(255,255,255,.12)}
.brand-logo{width:32px;height:32px;border-radius:var(--radius-sm);display:grid;place-items:center;background:#efc14f;color:#111827;font-weight:700}
.brand-title{font-weight:700;font-size:21px;letter-spacing:.3px;color:#fff;line-height:1.05}
.brand-sub{font-size:12px;color:#9fb2c4}
.menu-title{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#9db2c2;margin:10px 4px 6px}
.menu-link{width:100%;text-decoration:none;border:1px solid #2e4355;background:rgba(255,255,255,.02);color:#dce7f2;padding:10px 10px;border-radius:var(--radius-sm);margin-bottom:6px;cursor:pointer;display:flex;align-items:center;gap:10px;font-weight:500;transition:background .15s ease,border-color .15s ease}
.menu-link i{width:16px;text-align:center;color:#9eb8cc}
.menu-link:hover{background:rgba(255,255,255,.06);border-color:#3f586d}
.menu-link.active{background:#2f87b8;border-color:#5ea9d3;color:#fff}
.menu-link.active i{color:#fff}
.main-area{flex:1;min-width:0}
.topbar{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,var(--primary) 0%,#3992c4 55%,#46a1d2 100%);border-bottom:1px solid var(--primary-dark);padding:9px 14px;position:sticky;top:0;z-index:8;color:#fff}
.topbar h1{font-size:20px;margin:0;color:#fff;letter-spacing:.2px;font-weight:600}
.topbar .sub{font-size:13px;color:#d6eaf7;margin-top:1px}
.topbar .btn.ghost{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3);color:#fff}
.topbar .btn.ghost:hover{background:rgba(255,255,255,.2)}
.container{max-width:1450px;margin:0 auto;padding:12px}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow)}
.card header{padding:10px 12px;border-bottom:1px solid var(--border);background:#f8fafc}
.card header h2{margin:0;font-size:18px}
.card .content{padding:12px}
.muted{color:var(--muted);font-size:14px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
label{display:block;font-size:13px;color:#334155;margin:8px 0 6px}
input[type="text"],input[type="number"],input[type="date"],textarea,select{width:100%;padding:9px 10px;border:1px solid var(--border);border-radius:var(--radius-xs);outline:0;background:#fff;transition:border .15s ease,box-shadow .15s ease}
input:focus,textarea:focus,select:focus{border-color:#94a3b8;box-shadow:0 0 0 2px rgba(148,163,184,.18)}
textarea{min-height:90px;resize:vertical}
select[multiple]{min-height:120px;padding:8px}
.btn{display:inline-flex;align-items:center;gap:8px;border:0;cursor:pointer;border-radius:var(--radius-xs);padding:9px 12px;font-weight:600;transition:opacity .15s ease;text-decoration:none}
.btn:disabled{opacity:.6;cursor:not-allowed}
.btn:hover{opacity:.92}
.btn.primary{background:var(--primary);color:#fff}
.btn.secondary{background:var(--secondary);color:#fff}
.btn.ghost{background:#fff;border:1px solid var(--border);color:#111827}
.btn.danger{background:var(--danger);color:#fff}
.btn.warning{background:var(--warning);color:#111827}
.toolbar{display:flex;gap:8px;flex-wrap:wrap}
.logout-btn{background:var(--danger);color:#fff;border:1px solid #cb4a46;padding:9px 12px;border-radius:var(--radius-xs);cursor:pointer}
.list{display:flex;flex-direction:column;gap:8px}
.item{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid var(--border);border-radius:var(--radius-xs);background:#fff}
.item img{width:56px;height:56px;object-fit:cover;border-radius:var(--radius-xs);border:1px solid var(--border)}
.item .grow{flex:1}
.empty{border:1px dashed var(--border);border-radius:var(--radius-xs);padding:18px;text-align:center;color:var(--muted)}
.badge{font-size:12px;padding:3px 7px;border-radius:var(--radius-xs);background:#eef2ff;color:#3730a3}
.badge.gray{background:#f1f5f9;color:#475569}
.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:6px}
.dot-active{background:#22c55e}.dot-inactive{background:#94a3b8}
.drag-handle{cursor:grab;color:#94a3b8}
.progress{height:8px;background:#e6edf4;border-radius:var(--radius-xs);overflow:hidden;border:1px solid #d8e2ec}
.progress>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#2f87b8,#16a34a);transition:width .15s ease}
.modal{position:fixed;inset:0;background:rgba(15,23,42,.42);display:none;align-items:center;justify-content:center;padding:14px;z-index:20}
.modal.show{display:flex}
body.modal-open{overflow:hidden}
.modal .sheet{background:#fff;width:100%;max-width:760px;border-radius:var(--radius-sm);overflow:hidden;border:1px solid var(--border);box-shadow:0 10px 30px rgba(2,6,23,.25);max-height:92vh;display:flex;flex-direction:column}
.modal .sheet header{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:1;background:#f8fafc}
.modal .sheet .content{flex:1;min-height:0;overflow:auto}
.close-x{background:transparent;border:0;font-size:20px;cursor:pointer}
.divider{height:1px;background:var(--border);margin:12px 0}
.toast{position:fixed;bottom:20px;right:20px;background:#1f2937;color:#fff;padding:11px 14px;border-radius:var(--radius-xs);opacity:0;transform:translateY(8px);transition:all .25s ease;z-index:50}
.toast.show{opacity:1;transform:translateY(0)}
.hero-card{background:#ffffff;border:1px solid var(--border);padding:14px;margin-bottom:10px}
.hero-title{font-size:26px;font-weight:600;margin:0;color:#273444}
.hero-sub{margin:6px 0 0;color:#5f7285}
.quick-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}
.quick-action{border:1px solid #c7d0d8;background:#fff;border-radius:var(--radius-xs);padding:10px 8px;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;font-weight:600;text-decoration:none;color:#fff}
.quick-action i{font-size:17px}
.quick-action.green{background:#17a65b;border-color:#14914f}
.quick-action.red{background:#e55a4f;border-color:#d74c41}
.quick-action.purple{background:#c35aa8;border-color:#b44c99}
.quick-action.orange{background:#f0a11f;border-color:#dc9016}
.quick-action.blue{background:#edab2f;border-color:#d7971f}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}
.kpi{border:1px solid #cfd7df;background:#fff;border-radius:var(--radius-xs);padding:12px}
.kpi .label{font-size:12px;color:#55697b;text-transform:uppercase;letter-spacing:.04em}
.kpi .value{font-size:32px;font-weight:700;margin-top:5px}
.dash-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:8px 6px;border-bottom:1px solid #e7edf3;text-align:left}
.table th{background:#f8fafc;font-weight:600}
.table th:last-child,.table td:last-child{text-align:right}
.variants-list{display:flex;flex-direction:column;gap:8px}
.variant-row{display:grid;grid-template-columns:1.5fr 1fr auto;gap:8px;align-items:center;padding:8px;border:1px solid #d8e2ec;border-radius:3px;background:#f8fafc}
.btn-variant-del{padding:8px 10px}
@media (max-width:1120px){
  .sidebar{width:230px;flex-basis:230px}
  .quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .admin-shell{display:block}
  .sidebar{width:100%;max-height:240px}
  .dash-grid{grid-template-columns:1fr}
  .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .row{grid-template-columns:1fr}
  .topbar{position:static}
}

/* sidebar-topbar shared override */
.sidebar{width:275px;flex:0 0 275px;padding:10px 9px}
.brand{display:block;padding:8px 8px 12px;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:10px}
.brand-wide{display:block;width:100%;height:62px;object-fit:cover;object-position:center;border-radius:0;border:0;background:transparent}
.brand-square{display:none;width:50px;height:50px;object-fit:cover;object-position:center;border-radius:0;border:0;background:transparent}
.menu-header{font-size:13px;color:#90a7bb;margin:8px 6px 10px;letter-spacing:.08em}
.menu-group{background:rgba(255,255,255,.02);border:1px solid #304658;border-radius:2px;margin-bottom:9px;padding:8px}
.menu-title{display:flex;align-items:center;gap:8px;font-size:15px;color:#e5f0f8;font-weight:500;margin:0 0 6px;text-transform:none}
.menu-title i{color:#99df65;width:auto;text-align:left}
.menu-link{font-size:14px;font-weight:400;margin:2px 0;border-radius:2px}
.topbar-left{display:flex;align-items:center;gap:12px;min-width:0}
.icon-btn{width:38px;height:38px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.14);color:#fff;border-radius:2px;cursor:pointer}
.icon-btn:hover{background:rgba(255,255,255,.24)}
.btn.topbtn{color:#fff;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35)}
.btn.topbtn.alt{background:rgba(255,255,255,.2)}
.btn.topbtn.danger{background:#d9534f;border-color:#c94743}
.sidebar-backdrop{display:none}
body.sidebar-collapsed .sidebar{width:72px;flex-basis:72px;padding-left:6px;padding-right:6px}
body.sidebar-collapsed .brand{display:flex;justify-content:center}
body.sidebar-collapsed .brand-wide{display:none}
body.sidebar-collapsed .brand-square{display:block}
body.sidebar-collapsed .menu-header,
body.sidebar-collapsed .menu-title span,
body.sidebar-collapsed .menu-link span{display:none}
body.sidebar-collapsed .menu-title{justify-content:center}
body.sidebar-collapsed .menu-link{justify-content:center}

@media (max-width:980px){
  .admin-shell{display:block}
  .sidebar{position:fixed;left:-290px;top:0;width:275px;max-height:none;height:100dvh;z-index:30;transition:left .2s ease}
  body.mobile-menu-open .sidebar{left:0}
  .sidebar-backdrop{display:none;position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:25}
  body.mobile-menu-open .sidebar-backdrop{display:block}
  body.mobile-menu-open{overflow:hidden}
  body.sidebar-collapsed .sidebar{width:275px;flex-basis:275px;padding-left:9px;padding-right:9px}
  body.sidebar-collapsed .menu-header,
  body.sidebar-collapsed .menu-title span,
  body.sidebar-collapsed .menu-link span{display:initial}
  .topbar{height:auto;flex-direction:column;align-items:stretch;gap:8px}
  .topbar-left{justify-content:flex-start}
  .toolbar{justify-content:flex-start}
}

@media (max-width:620px){
  .topbar{padding:8px 10px}
  .topbar-left{width:100%}
  .toolbar{width:100%}
  .toolbar .btn{flex:1;min-width:120px}
  .variant-row{grid-template-columns:1fr}
}

/* products page specific */
body[data-page="products"] .container{
  max-width:none;
  width:100%;
  padding:14px 16px;
}

.category-ribbon-card{
  margin-bottom:12px;
  border-radius:6px;
  border-color:#d6e1ec;
  box-shadow:0 10px 26px rgba(15,23,42,.08);
}

.category-ribbon-head h2{
  margin:0;
  font-size:18px;
  color:#203449;
}

.category-ribbon{
  margin-top:10px;
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding-bottom:4px;
  scrollbar-width:thin;
}

.cat-card{
  border:1px solid #d8e3ef;
  background:#fff;
  border-radius:6px;
  min-width:106px;
  max-width:106px;
  padding:7px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:6px;
  align-items:center;
  color:#22364b;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.cat-card:hover{
  transform:translateY(-1px);
  border-color:#c2d7ea;
}

.cat-card.active{
  border-color:#2f87b8;
  box-shadow:0 0 0 2px rgba(47,135,184,.18);
  background:#f7fcff;
}

.cat-thumb{
  width:90px;
  height:90px;
  border-radius:4px;
  border:1px solid #d5e0ea;
  background:#eef3f8 center/cover no-repeat;
}

.cat-thumb-all{
  background:linear-gradient(135deg,#dbeafe 0%,#e0f2fe 100%);
  position:relative;
}

.cat-thumb-all::after{
  content:"T";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:34px;
  color:#286f96;
  font-weight:700;
}

.cat-name{
  font-size:12px;
  font-weight:600;
  text-align:center;
  line-height:1.25;
  max-width:100%;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.products-board-card{
  border-radius:6px;
  border-color:#d8e2ec;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}

.products-toolbar{
  display:grid;
  grid-template-columns:1fr auto auto auto auto auto;
  gap:8px;
  align-items:center;
  margin-bottom:10px;
}

.products-toolbar input{
  min-width:180px;
}

.order-hint{
  margin:0 0 10px;
}

.global-progress{
  margin:0 0 10px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.progress.indeterminate{
  position:relative;
  overflow:hidden;
}

.progress.indeterminate > span{
  width:35%;
  min-width:120px;
  background:linear-gradient(90deg,#2f87b8 0%,#4ba0cf 45%,#63bc4b 100%);
  animation:progressSlide 1s ease-in-out infinite;
}

@keyframes progressSlide{
  0%{transform:translateX(-120%)}
  100%{transform:translateX(320%)}
}

.product-list-modern .item{
  display:grid;
  grid-template-columns:44px 68px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  border-radius:6px;
  padding:10px;
}

.sort-tools{
  display:flex;
  flex-direction:column;
  gap:5px;
  align-items:stretch;
}

.sort-btn{
  border:1px solid #d5e1ec;
  background:#f7fbff;
  color:#3d546a;
  width:34px;
  height:24px;
  border-radius:3px;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}

.sort-btn:hover{
  background:#edf5fc;
  border-color:#c6d8ea;
}

.sort-btn:disabled{
  opacity:.5;
  cursor:not-allowed;
}

.btn-drag{
  cursor:grab;
}

.sort-item.dragging{
  opacity:.62;
  border-color:#8fb8d8;
  box-shadow:0 0 0 2px rgba(47,135,184,.16) inset;
}

.sort-item.reorder-disabled .sort-tools{
  opacity:.58;
}

.product-list-modern .product-thumb{
  width:68px;
  height:68px;
  border-radius:5px;
  object-fit:cover;
  border:1px solid #d5e0ea;
}

.product-list-modern .product-info{
  min-width:0;
}

.product-list-modern .product-name{
  font-weight:600;
  color:#1f3246;
  margin-bottom:2px;
}

.product-list-modern .product-actions{
  justify-content:flex-end;
}

.product-list-modern .product-actions .btn{
  white-space:nowrap;
}

.product-modal .modal-enhanced{
  width:min(980px, 95vw);
  max-width:980px;
  border-radius:8px;
  border:1px solid #d4e1ed;
  box-shadow:0 28px 64px rgba(2,6,23,.34);
}

.product-modal .modal-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  padding:18px 20px;
  border-bottom:1px solid #d9e6f2;
  background:linear-gradient(135deg,#f8fbff 0%,#edf5fd 65%,#e7f1fb 100%);
}

.product-modal .modal-hero h3{
  margin:0;
  font-size:23px;
  color:#1f3246;
}

.product-modal .modal-hero p{
  margin:6px 0 0;
  color:#61788f;
  font-size:13px;
}

.product-modal .close-x{
  width:36px;
  height:36px;
  border-radius:6px;
  border:1px solid #d5e2ee;
  background:#fff;
}

.product-form-grid{
  display:block;
  padding:14px;
}

.product-form-col{
  border:1px solid #dae6f1;
  border-radius:6px;
  background:#fff;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.image-field{
  display:flex;
  flex-direction:column;
}

.mini-preview-card{
  margin-top:8px;
  width:108px;
  aspect-ratio:1/1;
  border:1px solid #d8e4f0;
  border-radius:4px;
  background:#f3f7fb;
  overflow:hidden;
}

.mini-preview-image{
  width:100%;
  height:100%;
  object-fit:cover;
}

.picker-block{
  margin-top:10px;
}

.picker-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.picker-head label{
  margin:0;
}

.picker-head .btn{
  padding:7px 10px;
}

.chip-list{
  margin-top:8px;
  padding:8px;
  border:1px solid #dbe5ee;
  border-radius:4px;
  background:#fbfdff;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  min-height:42px;
}

.chip-list.empty{
  color:#708297;
  font-size:13px;
  display:flex;
  align-items:center;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 7px;
  border-radius:999px;
  border:1px solid #cfe0ec;
  background:#f3f8fc;
  color:#1f3246;
  font-size:12px;
}

.chip .chip-icon{
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#fff;
  border:1px solid #d9e5ef;
  color:#2f87b8;
}

.chip-remove{
  width:18px;
  height:18px;
  border:0;
  background:transparent;
  color:#5f7387;
  cursor:pointer;
  padding:0;
  display:grid;
  place-items:center;
}

.picker-modal .picker-sheet{
  width:min(760px, 95vw);
  max-width:760px;
  border-radius:8px;
}

.picker-modal .modal-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  padding:16px 18px;
  border-bottom:1px solid #d9e6f2;
  background:linear-gradient(135deg,#f8fbff 0%,#edf5fd 65%,#e7f1fb 100%);
}

.picker-modal .modal-hero h3{
  margin:0;
  font-size:20px;
  color:#1f3246;
}

.picker-modal .modal-hero p{
  margin:6px 0 0;
  color:#61788f;
  font-size:13px;
}

.picker-modal .close-x{
  width:34px;
  height:34px;
  border-radius:6px;
  border:1px solid #d5e2ee;
  background:#fff;
}

.picker-content{
  padding:12px;
}

.picker-search{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:8px;
  align-items:center;
  padding:9px 10px;
  border:1px solid #d8e2ec;
  border-radius:4px;
  background:#fff;
}

.picker-search i{
  color:#7b91a6;
}

.picker-search input{
  border:0;
  padding:0;
  min-width:0;
}

.picker-search input:focus{
  box-shadow:none;
}

.picker-list{
  margin-top:10px;
  border:1px solid #d8e4ef;
  border-radius:4px;
  max-height:46vh;
  overflow:auto;
  background:#fff;
}

.picker-item{
  display:grid;
  grid-template-columns:auto auto 1fr;
  gap:10px;
  align-items:center;
  padding:10px;
  border-bottom:1px solid #edf3f8;
  cursor:pointer;
}

.picker-item:last-child{
  border-bottom:0;
}

.picker-item input[type="checkbox"]{
  width:17px;
  height:17px;
  margin:0;
}

.picker-item .picker-icon{
  width:24px;
  height:24px;
  border-radius:50%;
  background:#eef5fb;
  border:1px solid #d8e4ef;
  display:grid;
  place-items:center;
  color:#2f87b8;
}

.picker-item-text{
  min-width:0;
}

.picker-item-title{
  font-weight:600;
  color:#1f3246;
  line-height:1.2;
}

.picker-item-meta{
  margin-top:2px;
  font-size:12px;
  color:#708397;
}

.side-item{
  grid-template-columns:auto 48px 1fr;
}

.picker-thumb{
  width:48px;
  height:48px;
  border-radius:4px;
  object-fit:cover;
  border:1px solid #d7e3ee;
}

.picker-empty{
  margin-top:10px;
}

.picker-footer{
  padding:10px 12px;
  border-top:1px solid #d8e4ef;
  display:flex;
  justify-content:flex-end;
  gap:8px;
}

.featured-modal .picker-sheet{
  width:min(1080px, 96vw);
  max-width:1080px;
}

.featured-topbar{
  display:grid;
  grid-template-columns:1fr minmax(240px, 340px);
  gap:10px;
  align-items:center;
}

.featured-toggle{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  color:#1f3246;
}

.featured-toggle input{
  width:16px;
  height:16px;
}

.featured-search{
  margin:0;
}

.featured-state-msg{
  margin-top:8px;
  color:#7a5b14;
  background:#fff9e8;
  border:1px solid #f1d18b;
  border-radius:4px;
  padding:8px 10px;
}

.featured-columns{
  margin-top:10px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.featured-col{
  min-width:0;
}

.featured-col-head{
  font-size:13px;
  font-weight:700;
  color:#35526e;
  margin-bottom:6px;
}

.featured-list-box{
  min-height:320px;
  max-height:50vh;
}

.featured-row{
  grid-template-columns:48px 1fr auto;
}

.featured-selected-row .featured-actions{
  flex-wrap:nowrap;
}

.featured-actions .btn{
  padding:7px 9px;
}

.featured-empty{
  border:0;
  margin:6px;
}

@media (max-width:980px){
  .products-toolbar{
    grid-template-columns:1fr;
  }
  .products-toolbar .btn{
    width:100%;
    justify-content:center;
  }
  .product-form-grid{
    padding:12px;
  }
}

@media (max-width:760px){
  body[data-page="products"] .container{
    padding:12px;
  }
  .cat-card{
    min-width:92px;
    max-width:92px;
    padding:6px;
  }
  .cat-thumb{
    width:78px;
    height:78px;
  }
  .product-list-modern .item{
    grid-template-columns:36px 58px 1fr;
    grid-template-areas:
      "sort thumb info"
      "actions actions actions";
  }
  .product-list-modern .sort-tools{
    grid-area:sort;
    gap:4px;
  }
  .product-list-modern .sort-btn{
    width:30px;
    height:22px;
  }
  .product-list-modern .product-thumb{
    grid-area:thumb;
    width:58px;
    height:58px;
  }
  .product-list-modern .product-info{
    grid-area:info;
  }
  .product-list-modern .product-actions{
    grid-area:actions;
    width:100%;
    margin-top:4px;
  }
  .product-list-modern .product-actions .btn{
    flex:1;
    justify-content:center;
  }
  .picker-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .picker-head .btn{
    width:100%;
    justify-content:center;
  }
  .featured-topbar{
    grid-template-columns:1fr;
  }
  .featured-columns{
    grid-template-columns:1fr;
  }
}

@media (max-width:620px){
  .product-modal{
    padding:0;
    align-items:stretch;
    justify-content:stretch;
  }
  .product-modal .modal-enhanced{
    width:100vw;
    max-width:none;
    height:100dvh;
    border-radius:0;
    border:0;
    box-shadow:none;
  }
  .product-modal .modal-hero{
    position:sticky;
    top:0;
    z-index:2;
    padding:14px 12px;
  }
  .product-modal .modal-hero h3{
    font-size:19px;
  }
  .product-form-col{
    padding:10px;
    border-radius:5px;
  }
  .mini-preview-card{
    width:94px;
  }
  .picker-modal{
    padding:0;
    align-items:stretch;
    justify-content:stretch;
  }
  .picker-modal .picker-sheet{
    width:100vw;
    max-width:none;
    height:100dvh;
    border-radius:0;
    border:0;
  }
  .picker-modal .modal-hero{
    position:sticky;
    top:0;
    z-index:2;
    padding:14px 12px;
  }
  .picker-list{
    max-height:none;
    height:calc(100dvh - 250px);
  }
  .picker-footer{
    padding:10px;
  }
  .picker-footer .btn{
    flex:1;
    justify-content:center;
  }
}

/* Sidebar brand logo should stay fully transparent on all admin pages */
.brand-media,.brand-media img,.brand-wide,.brand-square{
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}
