/* ═══════════════════════════════════════════════════════════════
   shop/assets/shop.css — Shop Module Styles
   Dark theme matching the monitoring platform
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg:       #0f172a;
  --surface:  #1e293b;
  --surface2: #253449;
  --border:   #334155;
  --text:     #e2e8f0;
  --muted:    #64748b;
  --accent:   #ff6f61;
  --accent2:  #38bdf8;
  --green:    #34d399;
  --yellow:   #f59e0b;
  --red:      #ff3b3b;
  --radius:   8px;
  --shadow:   0 4px 20px rgba(0,0,0,.4);
}

body.shop-body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Inter', Arial, sans-serif; font-size: 14px; line-height: 1.6;
}

/* ── Header ─────────────────────────────────────────────── */
.shop-header {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 0 16px; display: flex; align-items: center; gap: 14px;
  position: sticky; top: 0; z-index: 200; height: 56px; flex-wrap: nowrap;
}
.shop-header .logo {
  font-size: 17px; font-weight: 700; color: var(--accent);
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.shop-nav { display: flex; gap: 2px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.shop-nav a {
  padding: 5px 10px; border-radius: 20px; color: var(--muted);
  text-decoration: none; font-size: 13px; transition: all .15s; white-space: nowrap;
}
.shop-nav a:hover { background: var(--surface2); color: var(--text); }
.btn-nav-cta { background: var(--accent) !important; color: #fff !important; font-weight: 600; }
.btn-nav-cta:hover { background: #e05a4f !important; }
.balance-badge {
  padding: 3px 10px; background: rgba(52,211,153,.12);
  color: var(--green); border-radius: 20px; font-size: 12px; font-weight: 600;
  white-space: nowrap;
}

/* ── Layout ────────────────────────────────────────────── */
.shop-wrap   { max-width: 1200px; margin: 0 auto; padding: 16px 12px; }
.shop-layout { display: grid; grid-template-columns: 190px 1fr; gap: 20px; margin-top: 14px; }

/* ── Sidebar ────────────────────────────────────────────── */
.cat-sidebar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 0; height: fit-content;
  position: sticky; top: 68px;
}
.cat-sidebar-title {
  padding: 4px 12px 8px; font-size: 10px; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .5px;
}
.cat-link {
  display: block; padding: 6px 12px; color: var(--muted);
  text-decoration: none; font-size: 13px; transition: all .15s;
}
.cat-link:hover { background: var(--surface2); color: var(--text); }
.cat-link.active { background: rgba(255,111,97,.1); color: var(--accent); font-weight: 600; }
.cat-section-label {
  padding: 7px 12px 3px; font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px;
  border-top: 1px solid var(--border); margin-top: 4px;
}

/* ── Search ─────────────────────────────────────────────── */
.search-bar { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.search-input {
  flex: 1; min-width: 140px; padding: 9px 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: 14px;
}
.search-input:focus { outline: none; border-color: var(--accent2); }

/* ── Item Grid ──────────────────────────────────────────── */
.item-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px;
}
.item-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  color: var(--text); transition: border-color .15s, transform .15s;
  display: flex; flex-direction: column;
}
.item-card:hover { border-color: var(--accent2); transform: translateY(-2px); }
.item-card.out-of-stock { opacity: .55; }
.item-img img { width: 100%; height: 130px; object-fit: cover; }
.item-body { padding: 11px 13px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.item-code { font-size: 10px; font-family: monospace; color: var(--accent2); font-weight: 700; }
.item-type-badge { font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.item-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.item-desc { font-size: 12px; color: var(--muted); flex: 1; }
.item-next-slot { font-size: 11px; color: var(--yellow); margin-top: 4px; }
.item-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.item-price { font-size: 15px; font-weight: 700; color: var(--green); }
.item-price small { font-size: 10px; font-weight: 400; color: var(--muted); }
.item-stock { font-size: 11px; }
.item-stock.in-stock  { color: var(--green); }
.item-stock.no-stock  { color: var(--red); }

/* ── Recent orders feed ──────────────────────────────────── */
.recent-orders-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px;
  margin-bottom: 24px;
}
.ro-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .15s;
}
.ro-card:hover { border-color: var(--accent2); }
.ro-card-img { width: 100%; height: 110px; object-fit: cover; background: var(--surface2); }
.ro-card-body { padding: 10px 12px; flex: 1; }
.ro-card-code { font-size: 10px; font-family: monospace; color: var(--accent2); }
.ro-card-name { font-size: 13px; font-weight: 600; margin: 2px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ro-card-desc { font-size: 11px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ro-card-foot { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-top: 1px solid var(--border); }
.ro-card-price { font-size: 13px; font-weight: 700; color: var(--green); }
.ro-card-type { font-size: 10px; color: var(--muted); background: var(--surface2); padding: 2px 7px; border-radius: 10px; }

/* ── Section title ──────────────────────────────────────── */
.section-title {
  font-size: 15px; font-weight: 700; margin: 20px 0 12px;
  color: var(--text); display: flex; align-items: center; gap: 8px;
}
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Product page ───────────────────────────────────────── */
.product-layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.product-code-badge {
  display: inline-block; background: rgba(56,189,248,.1); color: var(--accent2);
  border-radius: 4px; padding: 2px 10px; font-size: 11px; font-family: monospace;
  font-weight: 700; margin-bottom: 8px;
}
.product-title { font-size: 21px; font-weight: 700; margin: 0 0 12px; line-height: 1.2; }
.product-img { width: 100%; border-radius: var(--radius); margin-bottom: 14px; max-height: 280px; object-fit: cover; }
.product-desc { color: var(--muted); line-height: 1.7; margin-bottom: 14px; white-space: pre-wrap; }
.product-meta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.meta-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13px; }
.meta-row:last-child { border-bottom: none; }
.meta-label { color: var(--muted); }
.text-green { color: var(--green); }
.text-red   { color: var(--red); }

/* ── Buy panel ──────────────────────────────────────────── */
.buy-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; height: fit-content;
  position: sticky; top: 68px;
}
.buy-price    { font-size: 30px; font-weight: 800; color: var(--green); line-height: 1; }
.buy-currency { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.qty-row      { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.qty-input    { width: 66px; padding: 7px; background: var(--bg); border: 1px solid var(--border); border-radius: 5px; color: var(--text); text-align: center; font-size: 16px; }
.qty-max      { font-size: 11px; color: var(--muted); }
.balance-info { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.btn-buy {
  width: 100%; padding: 11px; background: var(--accent); border: none;
  color: #fff; border-radius: var(--radius); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .15s;
}
.btn-buy:hover:not(:disabled)  { background: #e05a4f; }
.btn-buy:disabled { opacity: .45; cursor: not-allowed; }
.out-of-stock-msg { font-size: 15px; color: var(--red); font-weight: 600; text-align: center; padding: 14px 0; }
.delivered-line {
  background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.2);
  border-radius: 5px; padding: 7px 11px; font-family: monospace; font-size: 13px;
  color: var(--green); cursor: pointer; user-select: all; margin-top: 6px;
  word-break: break-all;
}
.delivered-line:hover { background: rgba(52,211,153,.15); }

/* ── Slots ──────────────────────────────────────────────── */
.slots-label   { font-size: 11px; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.slot-day      { margin-bottom: 12px; }
.slot-date-header { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.slot-times    { display: flex; flex-wrap: wrap; gap: 5px; }
.slot-btn {
  padding: 5px 10px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 5px; color: var(--text); font-size: 13px; cursor: pointer; transition: all .15s;
}
.slot-btn:hover   { border-color: var(--accent2); color: var(--accent2); }
.slot-btn.selected { background: rgba(56,189,248,.15); border-color: var(--accent2); color: var(--accent2); font-weight: 700; }
.selected-slot-info { background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.2); border-radius: 5px; padding: 7px 11px; font-size: 13px; color: var(--accent2); margin: 8px 0; }

/* ── Pay page ───────────────────────────────────────────── */
.balance-card {
  background: linear-gradient(135deg, #0f2540, #1e3a5f);
  border: 1px solid #1e4a7a; border-radius: 12px; padding: 20px; margin-bottom: 18px;
}
.balance-card-label  { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.balance-card-amount { font-size: 38px; font-weight: 800; color: var(--green); line-height: 1; margin: 5px 0; }
.balance-card-token  { font-size: 11px; color: var(--muted); }
.pay-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.deposit-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.deposit-table th { text-align: left; padding: 5px 8px; color: var(--muted); font-size: 11px; border-bottom: 1px solid var(--border); }
.deposit-table td { padding: 7px 8px; border-bottom: 1px solid rgba(255,255,255,.04); }

/* ── Profile / Orders ───────────────────────────────────── */
.order-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 9px; overflow: hidden; }
.order-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; cursor: pointer; gap: 10px; }
.order-header:hover { background: var(--surface2); }
.order-meta   { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.order-code   { font-size: 10px; font-family: monospace; color: var(--accent2); font-weight: 700; }
.order-name   { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.order-right  { display: flex; align-items: center; gap: 8px; font-size: 12px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.order-status { font-weight: 700; }
.order-price  { font-weight: 700; color: var(--green); }
.order-date   { color: var(--muted); font-size: 11px; white-space: nowrap; }
.order-toggle { color: var(--muted); }
.order-body   { padding: 12px 14px; border-top: 1px solid var(--border); background: rgba(0,0,0,.15); }
.order-detail-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.04); gap: 10px; }
.order-detail-row:last-child { border-bottom: none; }
.order-detail-row > span:first-child { color: var(--muted); flex-shrink: 0; }
.order-detail-row > span:last-child  { word-break: break-word; text-align: right; }

/* ── Alerts ─────────────────────────────────────────────── */
.alert { padding: 11px 14px; border-radius: var(--radius); margin: 8px 0; font-size: 13px; }
.alert-error   { background: rgba(255,59,59,.12); border: 1px solid rgba(255,59,59,.4); color: #ff8080; }
.alert-success { background: rgba(52,211,153,.1);  border: 1px solid rgba(52,211,153,.3);  color: #6ee7b7; }
.alert-warn    { background: rgba(245,158,11,.1);  border: 1px solid rgba(245,158,11,.3);  color: #fcd34d; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: all .15s; }
.btn-primary   { background: var(--accent);  color: #fff; border-color: var(--accent);  }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-primary:hover   { background: #e05a4f; }
.btn-secondary:hover { background: var(--surface2); }

/* ── Misc ───────────────────────────────────────────────── */
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.results-header { padding: 8px 0; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.empty-state { text-align: center; padding: 60px 20px; }
.shop-main { min-width: 0; }
.shop-footer { text-align: center; padding: 18px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--border); margin-top: 32px; }
.shop-footer a { color: var(--muted); }

/* ── Forms ──────────────────────────────────────────────── */
.form-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.form-input {
  width: 100%; padding: 8px 11px; background: #060f1c;
  border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-size: 13px;
}
.form-input:focus { outline: none; border-color: var(--accent2); }
select.form-input { cursor: pointer; }


/* ── Mobile hamburger button ─────────────────────────────── */
.shop-mob-menu-btn {
  display: none; flex-direction: column; justify-content: space-between;
  width: 28px; height: 20px; background: none; border: none;
  cursor: pointer; padding: 0; flex-shrink: 0; order: -1;
}
.shop-mob-menu-btn span {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .2s;
}

/* ── Mobile overlay ──────────────────────────────────────── */
.shop-mob-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 290; backdrop-filter: blur(2px);
}
.shop-mob-overlay.open { display: block; }

/* ── Mobile slide-in nav ─────────────────────────────────── */
.shop-mob-nav {
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: -280px; width: 280px; height: 100vh;
  background: var(--surface); border-right: 1px solid var(--border);
  z-index: 300; padding: 60px 0 24px; overflow-y: auto;
  transition: left .25s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow);
}
.shop-mob-nav.open { left: 0; }
.shop-mob-nav a {
  padding: 11px 20px; color: var(--text); text-decoration: none;
  font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .12s; display: flex; align-items: center; gap: 8px;
}
.shop-mob-nav a:hover { background: var(--surface2); }
.shop-mob-nav .btn-nav-cta {
  margin: 8px 16px; border-radius: 8px; padding: 10px 16px;
  font-weight: 700; text-align: center; justify-content: center;
  background: var(--accent) !important; color: #fff !important;
  border-bottom: none !important;
}
.shop-mob-nav .balance-badge {
  margin: 6px 16px; border-radius: 8px; padding: 8px 14px;
  font-size: 13px; display: block; text-align: center; border-bottom: none !important;
}
.shop-mob-sep { height: 1px; background: var(--border); margin: 8px 0; }
.shop-mob-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: 1px solid var(--border); border-radius: 6px;
  color: var(--muted); cursor: pointer; font-size: 15px; padding: 3px 9px;
}
.shop-mob-close:hover { background: var(--surface2); color: var(--text); }

/* ── Footer nav ──────────────────────────────────────────── */
.shop-footer { text-align: center; padding: 20px 16px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--border); margin-top: 32px; }
.shop-footer a { color: var(--muted); text-decoration: none; }
.shop-footer-nav { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-bottom: 12px; }
.shop-footer-nav a {
  color: var(--muted); text-decoration: none; font-size: 12px;
  padding: 4px 12px; border-radius: 14px; transition: all .15s;
}
.shop-footer-nav a:hover { background: var(--surface2); color: var(--text); }
.shop-footer-copy { color: var(--muted); font-size: 12px; }


/* ── Custom nav menu buttons (Green Blink effect) ─────────────── */
.shop-nav .nav-menu-btn,
.shop-mob-nav .nav-menu-btn {
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: 20px;
  background: rgba(52,211,153,.12); color: #34d399;
  border: 1px solid rgba(52,211,153,.35);
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: all .2s; white-space: nowrap;
  animation: navBlink 2.8s ease-in-out infinite;
}
.shop-nav .nav-menu-btn:hover,
.shop-mob-nav .nav-menu-btn:hover {
  background: rgba(52,211,153,.25); border-color: #34d399;
  transform: scale(1.04); animation: none;
}
@keyframes navBlink {
  0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
  50%      { box-shadow: 0 0 0 5px rgba(52,211,153,.2); border-color: #34d399; }
}

/* ── Mobile overrides ── */
@media (max-width: 700px) {
  .shop-mob-menu-btn { display: flex; }
  .shop-layout      { grid-template-columns: 1fr; }
  .product-layout   { grid-template-columns: 1fr; }
  #shopDesktopNav   { display: none; }
  .cat-sidebar      { position: static; display: flex; flex-wrap: wrap; gap: 2px; padding: 8px; }
  .cat-sidebar-title,.cat-section-label { width: 100%; }
  .cat-link         { padding: 5px 10px; font-size: 12px; border-radius: 14px; }
  .buy-panel        { position: static; }
  .shop-header      { padding: 0 10px; gap: 8px; }
  .shop-nav a       { padding: 4px 7px; font-size: 12px; }
  .balance-badge    { font-size: 11px; padding: 2px 8px; }
  .item-grid        { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
  .item-body        { padding: 9px 10px; }
  .item-name        { font-size: 12px; }
  .item-price       { font-size: 14px; }
  .order-name       { max-width: 140px; }
  .order-right      { gap: 5px; }
  .recent-orders-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .search-bar       { flex-wrap: nowrap; }
  .search-input     { min-width: 0; }
}
@media (max-width: 400px) {
  .item-grid        { grid-template-columns: 1fr 1fr; }
  .recent-orders-grid { grid-template-columns: 1fr; }
}

/* ── Item Table (catalogue list view) ───────────────────────────── */
.item-table-wrap { overflow-x:auto; margin-bottom:28px; border-radius:var(--radius); box-shadow:0 2px 16px rgba(0,0,0,.25); }
.item-table {
  width:100%; border-collapse:collapse;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden;
}
.item-table thead th {
  padding:14px 16px; text-align:left; font-size:12px; font-weight:800;
  color:var(--text); text-transform:uppercase; letter-spacing:.6px;
  border-bottom:2px solid var(--border); background:var(--surface2);
}
.item-table-row {
  border-bottom:1px solid var(--border); transition:background .14s;
}
.item-table-row:last-child { border-bottom:none; }
.item-table-row:hover { background:rgba(56,189,248,.06); }
.item-table-row:hover .item-name-link { color:var(--accent2); }
.item-table-row.item-row-oos { opacity:.5; }
.item-table-img { padding:14px 14px; width:90px; }
.item-table-img img {
  width:76px; height:60px; object-fit:cover; border-radius:8px; display:block;
  border:1px solid var(--border);
}
.item-table-noimg {
  width:76px; height:60px; display:flex; align-items:center; justify-content:center;
  background:var(--surface2); border-radius:8px; font-size:28px; color:var(--border);
  border:1px solid var(--border);
}
.item-table-name { padding:14px 16px; vertical-align:middle; }
.item-code { font-size:11px; font-family:monospace; color:var(--accent2); font-weight:700; letter-spacing:.5px; margin-bottom:4px; }
.item-name-link {
  font-size:16px; font-weight:700; color:var(--text); text-decoration:none;
  display:block; line-height:1.3; transition:color .14s;
}
.item-name-link:hover { color:var(--accent2); text-decoration:underline; text-underline-offset:3px; }
.item-next-slot { font-size:12px; color:var(--yellow); margin-top:5px; }
.item-table-desc {
  padding:14px 16px; vertical-align:top;
  font-size:13px; color:#94a3b8; line-height:1.65; max-width:380px;
}
.item-table-price {
  padding:14px 16px; vertical-align:middle; text-align:right;
  font-size:18px; font-weight:800; color:var(--green); white-space:nowrap;
}
.item-table-price small { font-size:12px; font-weight:500; color:var(--muted); display:block; margin-top:2px; }
.item-table-stock { padding:14px 16px; vertical-align:middle; text-align:center; white-space:nowrap; }
.item-stock { font-size:13px; font-weight:600; padding:4px 12px; border-radius:12px; }
.item-stock.in-stock  { background:rgba(52,211,153,.12); color:#34d399; border:1px solid rgba(52,211,153,.25); }
.item-stock.no-stock  { background:rgba(255,59,59,.1); color:var(--red); border:1px solid rgba(255,59,59,.2); }
.item-table-btn { padding:14px 16px; vertical-align:middle; text-align:right; white-space:nowrap; }
.item-table-btn .btn {
  font-size:13px; font-weight:700; padding:9px 20px;
  background:var(--accent); border-color:var(--accent); color:#fff;
  border-radius:8px;
}
.item-table-btn .btn:hover { background:#e05a4f; transform:translateY(-1px); }

@media(max-width:900px) {
  .item-table-desc-col { display:none; }
  .item-table-desc     { display:none; }
  .item-table th.item-table-desc-col { display:none; }
}
@media(max-width:600px) {
  .item-table-img { padding:10px; }
  .item-table-img img,.item-table-noimg { width:52px; height:42px; }
  .item-table-name { padding:10px 8px; }
  .item-name-link { font-size:14px; }
  .item-table-price { font-size:15px; padding:10px 8px; }
  .item-table-btn { padding:10px 8px; }
  .item-table-btn .btn { padding:7px 12px; font-size:12px; }
  .item-table-stock { display:none; }
}

/* ── Daily date list picker ──────────────────────────────────────── */
.daily-date-btn {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 11px 14px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--surface2); cursor: pointer; transition: all .14s;
  font-size: 14px; text-align: left; color: var(--text);
}
.daily-date-btn:not(.booked):not(.past):hover {
  border-color: var(--accent2); background: rgba(56,189,248,.08);
}
.daily-date-btn.selected {
  border-color: var(--accent2); background: rgba(56,189,248,.15);
  font-weight: 700;
}
.daily-date-btn.booked  { opacity:.6; cursor:not-allowed; }
.daily-date-btn.past    { opacity:.4; cursor:not-allowed; }
.ddb-icon  { font-size:18px; flex-shrink:0; }
.ddb-label { flex:1; font-weight:500; }
.ddb-badge {
  flex-shrink:0; font-size:11px; font-weight:700; padding:3px 10px;
  border-radius:10px; white-space:nowrap;
}
.ddb-badge.avail  { background:rgba(52,211,153,.15); color:#34d399; border:1px solid rgba(52,211,153,.3); }
.ddb-badge.booked { background:rgba(248,113,113,.12); color:#f87171; border:1px solid rgba(248,113,113,.25); }
.ddb-badge.past   { background:rgba(100,116,139,.1);  color:#64748b; border:1px solid rgba(100,116,139,.2); }

/* ── Daily range calendar ───────────────────────────────────────── */
.cal-day.daily-avail    { background:rgba(52,211,153,.15); color:#34d399; cursor:pointer; font-weight:600; border:1px solid rgba(52,211,153,.3); }
.cal-day.daily-avail:hover { background:rgba(52,211,153,.3); border-color:#34d399; }
.cal-day.daily-booked   { background:rgba(248,113,113,.08); color:#64748b; cursor:not-allowed; text-decoration:line-through; }
.cal-day.daily-unavail  { color:#475569; cursor:default; }
.cal-day.daily-past     { color:#334155; cursor:default; opacity:.5; }
.cal-day.daily-checkin  { background:#38bdf8!important; color:#0f172a!important; border-color:#38bdf8!important; border-radius:50% 0 0 50%!important; font-weight:800!important; }
.cal-day.daily-checkout { background:#38bdf8!important; color:#0f172a!important; border-color:#38bdf8!important; border-radius:0 50% 50% 0!important; font-weight:800!important; }
.cal-day.daily-inrange  { background:rgba(56,189,248,.18)!important; color:var(--text)!important; border-color:rgba(56,189,248,.3)!important; border-radius:0!important; }

/* ── Daily slot option cards ─────────────────────────────────────── */
.slot-card-opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface2);
  cursor: pointer; transition: all .14s; text-align: left;
}
.slot-card-opt:hover  { border-color: var(--accent2); background: rgba(56,189,248,.08); }
.slot-card-opt.selected { border-color: var(--accent2); background: rgba(56,189,248,.15); }
.sco-label { flex: 1; font-size: 14px; font-weight: 700; color: var(--text); }
.sco-price { font-size: 15px; font-weight: 800; color: var(--green); white-space: nowrap; }
.sco-per   { font-size: 11px; color: var(--muted); white-space: nowrap; }
