/* Базовая тема и сброс */
:root {
  --brand: #5bc0ff;
  --brand-ink: #0b2030;
  --text: #111827;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f3f4f6;
  --border: #e5e7eb;
  --danger: #ef4444;
  --radius: 10px;
  --spacing: 0.25rem;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
/*
.container { width: min(1200px, 100% - 2rem); margin-inline: auto; }
*/
/* Header */
header { border-bottom: 1px solid var(--border); background: #fff; }
.topline {
  font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--border);
}
.topline .row { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding: 8px 0; }
.topline .contacts { display:flex; gap:16px; align-items:center; }
.topline .contacts .item { display:flex; gap:6px; align-items:center; }

.head {
  display:flex; align-items:center; justify-content:space-between; gap:1rem; padding: 16px 0;
}
.brand { display:flex; align-items:center; gap:10px; }
.brand .logo { width:40px; height:40px; border-radius: 8px; background: var(--brand); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; }
.brand .title { font-weight: 800; }
.brand .subtitle { font-size: 13px; color: var(--muted); margin-top: -2px; }

.search { position: relative; flex: 1; max-width: 680px; margin: 0 24px; }
.search input { width:100%; padding: 10px 12px 10px 40px; border:1px solid var(--border); border-radius: 10px; }
.search .icon { position:absolute; left:12px; top:50%; transform:translateY(-50%); color: var(--muted); }

.actions { display:flex; align-items:center; gap: 12px; }
.btn { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius: 10px; border:1px solid var(--border); background:#fff; cursor:pointer; }
.btn.ghost { background: transparent; }
.btn.primary { background: var(--brand); color:#fff; border-color: transparent; }
.btn.icon { width:36px; height:36px; padding:0; justify-content:center; }
.btn.active { background: var(--brand); color:#fff; border-color: transparent; }
.badge-dot { position:relative; }
.badge-dot .dot { position:absolute; top:-6px; right:-6px; background: var(--danger); color:#fff; font-size:11px; width:18px; height:18px; display:flex; align-items:center; justify-content:center; border-radius: 999px; }

nav .nav { display:flex; align-items:center; gap:20px; padding: 10px 0 16px; }
nav .link { font-size:14px; color: var(--muted); }
nav .link.active, nav .link:hover { color: var(--brand); }

/* Hero */
.hero { color:#fff; background: linear-gradient(90deg, #5bc0ff, #3ba8ff); padding: 48px 0; }
.hero .grid { display:grid; grid-template-columns: 1.1fr 1fr; gap:24px; align-items:center; }
.hero h1 { font-size: 42px; margin: 0 0 12px; }
.hero p { color: #e6f7ff; font-size: 18px; margin: 0 0 16px; }
.hero .cta { display:flex; gap:12px; }
.hero .cta .btn.white { background:#fff; color: var(--brand); border-color: #fff; }
.hero .cta .btn.outline { background: transparent; color: #fff; border-color:#fff; }
@media (max-width: 960px) { .hero .grid { grid-template-columns: 1fr; } }

/* Cards, grid */
.grid { display:grid; gap: 16px; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .grid.cols-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card { background:#fff; border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; }
.card-body { padding: 14px; }
.card-title { font-weight: 700; margin: 0 0 6px; text-align: center;}
.card-muted { color: var(--muted); font-size: 14px; margin-left: 15px;}
.card-border {border:1px solid var(--border); border-radius: var(--radius);}

.card-content { padding: 14px; text-align: left;}

/* Profile page */
.profile-grid { display:grid; grid-template-columns: 1fr 3fr; gap: 24px; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }
.avatar { width:80px; height:80px; border-radius: 999px; background: #e1f4ff; display:flex; align-items:center; justify-content:center; font-weight:800; color: var(--brand); margin: 0 auto 12px; }
.stat { display:flex; align-items:center; justify-content:space-between; font-size: 14px; color: var(--muted); }
.sidebar .menu { display:grid; gap:8px; }
.sidebar .menu .btn { justify-content: flex-start; }
.section-subtitle { font-weight:700; margin: 12px 0; }

.section { padding: 48px 0; }
.section-title { font-size: 28px; font-weight: 800; margin: 0 0 24px; text-align: center; }

.pill { display:inline-flex; align-items:center; gap:6px; padding: 4px 8px; border-radius: 999px; background: var(--bg-soft); }
.price { font-weight: 800; }
.old { text-decoration: line-through; color: var(--muted); font-size: 14px; }
.label { display:inline-flex; align-items:center; gap:6px; padding: 2px 8px; border-radius: 999px; background:#ef4444; color:#fff; font-size: 12px; position:absolute; top:10px; left:10px; }

/* Toolbar & filters */
.toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin: 16px 0; }
.toolbar .group { display:flex; align-items:center; gap:8px; }
.input { width:100%; padding:10px 12px; border:1px solid var(--border); border-radius: 10px; background:#fff; }
.select { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background:#fff; }
.checkbox { display:flex; align-items:center; gap:8px; }

/* Breadcrumb */
.breadcrumb { color: var(--muted); font-size: 14px; padding: 12px 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* Footer */
footer { background: #0b1220; color:#cbd5e1; padding: 40px 0; margin-top: 40px; }
footer .brand { color:#fff; }
footer .col-title { font-weight:700; margin-bottom: 12px; color:#e2e8f0; }
footer a { color:#94a3b8; }
footer a:hover { color:#fff; }
footer .footbar { border-top:1px solid #1f2937; margin-top: 24px; padding-top: 16px; text-align:center; color:#94a3b8; }

.hidden { display:none; }

.status-success {
  background:#22c55e;
  color:#fff;
  display:flex;
  align-items:center;
  gap:4px;
}

.status-cancel {
  background:#eb6363;
  color:#fff;
  display:flex;
  align-items:center;
  gap:4px;
}

.status-in-process {
  background:#eab308;
  color:#fff;
  display:flex;
  align-items:center;
  gap:4px;
}

.status-deliver {
  background:#3b82f6;
  color:#fff;
  display:flex;
  align-items:center;
  gap:4px;
}
.h-4 {
  height: calc(var(--spacing) * 4);
}

.w-4 {
    width: calc(var(--spacing) * 4);
}

.h-3 {
  height: calc(var(--spacing) * 3);
}

.w-3 {
    width: calc(var(--spacing) * 3);
}

.left {
  text-align: left;
}
.center {
  text-align: center;
}

.cancel-order {
  background: oklch(0.58 0.24 28.48);
  color: #fff;
}

