@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   DEALMILE.IN — Professional CSS v4.0
   Mobile-first, DesiDime-inspired, Production Ready
   ============================================================ */

:root {
  --primary: #e8441c;
  --primary-dark: #c73a17;
  --primary-light: #ff6b47;
  --primary-glow: rgba(232,68,28,0.12);
  --secondary: #1e3a5f;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;
  --info: #0284c7;
  --hot: #ef4444;
  --free: #059669;
  --verified: #7c3aed;

  --bg: #f1f5f9;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-hover: #fafafa;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08),0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07),0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08),0 4px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1),0 10px 10px rgba(0,0,0,0.04);
  --shadow-primary: 0 6px 20px rgba(232,68,28,0.3);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --header-h: 62px;
  --subnav-h: 44px;
  --font-main: 'Nunito', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: 0.18s ease;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; tab-size: 4; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }
::selection { background: var(--primary-glow); color: var(--primary-dark); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.07);
  height: var(--header-h);
}
.header-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 16px;
  height: 100%; display: flex; align-items: center; gap: 14px;
}
/* Logo */
.site-logo { flex-shrink: 0; }
.site-logo img { height: 48px; width: auto; object-fit: contain; display: block; }

/* Search */
.search-wrap { flex: 1; max-width: 580px; }
.search-form {
  display: flex; align-items: stretch;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: #fff;
}
.search-input {
  flex: 1; padding: 10px 16px;
  border: none; background: transparent;
  font-size: 0.9rem; color: var(--text); outline: none;
}
.search-input::placeholder { color: var(--text-light); }
.search-btn {
  padding: 0 20px;
  background: var(--primary); color: #fff;
  font-size: 0.88rem; font-weight: 700;
  font-family: var(--font-main);
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: background var(--transition);
  white-space: nowrap;
}
.search-btn:hover { background: var(--primary-dark); }

/* Header nav */
.header-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.btn-telegram {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  background: #0088cc; color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 700;
  font-family: var(--font-main);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-telegram:hover { background: #0070a8; transform: translateY(-1px); color: #fff; }
.btn-post-deal {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 16px;
  background: var(--primary); color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 800;
  font-family: var(--font-main);
  transition: all var(--transition);
  box-shadow: var(--shadow-primary);
  white-space: nowrap;
}
.btn-post-deal:hover { background: var(--primary-dark); transform: translateY(-1px); color: #fff; box-shadow: 0 8px 24px rgba(232,68,28,0.4); }
.btn-login, .btn-user {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 600;
  font-family: var(--font-main);
  color: var(--text);
  transition: all var(--transition);
  background: #fff;
  white-space: nowrap;
}
.btn-login:hover, .btn-user:hover { border-color: var(--primary); color: var(--primary); }
.btn-register {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}
.btn-register:hover { background: var(--primary-dark) !important; border-color: var(--primary-dark) !important; }
.user-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 0.72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mobile-search-btn {
  display: none;
  padding: 8px; font-size: 1.1rem; color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-search-btn:hover { background: var(--bg); }

/* Mobile Search Overlay */
.mobile-search-overlay {
  display: none;
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9999; padding: 10px 12px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  align-items: center; gap: 8px;
}
.mobile-search-overlay.active { display: flex; }
.mobile-search-overlay .search-form { flex: 1; max-width: 100%; }
.mobile-search-close {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-search-close:hover { background: var(--bg); }

/* ============================================================
   CATEGORY / SUB NAV
   ============================================================ */
.category-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  z-index: 900;
  height: var(--subnav-h);
}
.category-nav-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center;
  overflow-x: auto; scrollbar-width: none; gap: 2px;
  height: 100%;
}
.category-nav-inner::-webkit-scrollbar { display: none; }
.cat-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0 12px; height: 100%;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  font-family: var(--font-main);
}
.cat-link:hover { color: var(--primary); background: var(--primary-glow); }
.cat-link.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 800; }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-messages { max-width: 1440px; margin: 10px auto 0; padding: 0 16px; }
.alert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 600;
  margin-bottom: 8px; border-left: 4px solid;
  animation: slideDown 0.3s ease;
}
.alert-success { background: #f0fdf4; color: #166534; border-color: var(--success); }
.alert-error { background: #fef2f2; color: #991b1b; border-color: var(--danger); }
.alert-close { margin-left: auto; opacity: 0.5; padding: 2px 6px; line-height: 1; }
.alert-close:hover { opacity: 1; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   LAYOUT
   ============================================================ */
.main-wrapper {
  max-width: 1440px; margin: 0 auto;
  padding: 18px 16px;
  display: grid;
  grid-template-columns: 1fr 296px;
  gap: 18px;
  align-items: start;
}
.main-content { min-width: 0; }

/* ============================================================
   FEED HEADER
   ============================================================ */
.feed-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; flex-wrap: wrap; gap: 10px;
}
.feed-title {
  font-family: var(--font-main); font-weight: 800;
  font-size: 1.15rem; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.sort-tabs {
  display: flex; gap: 2px;
  background: var(--bg); padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}
.sort-tab {
  padding: 5px 14px; border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition);
  font-family: var(--font-main);
  text-decoration: none;
}
.sort-tab:hover { color: var(--primary); }
.sort-tab.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }

/* ============================================================
   DEAL CARDS — DesiDime Style
   ============================================================ */
.deals-grid { display: flex; flex-direction: column; gap: 10px; }

.deal-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 56px 140px 1fr 118px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.deal-card:hover {
  border-color: #fba98c;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.deal-card.is-featured { border-color: var(--accent); background: linear-gradient(to right, #fffbeb 0%, #fff 40%); }
.deal-card.is-hot { border-color: #fca5a5; }
.deal-card.is-free { border-color: #6ee7b7; }

/* VOTE COLUMN */
.vote-col {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 12px 6px; gap: 4px;
  background: #fafafa;
  border-right: 1px solid var(--border);
}
.vote-btn {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; border: 2px solid transparent;
  transition: all var(--transition); color: var(--text-light);
}
.vote-btn:hover { transform: scale(1.15); }
.vote-btn.vote-up:hover, .vote-btn.voted-up { background: #f0fdf4; border-color: var(--success); color: var(--success); }
.vote-btn.vote-down:hover, .vote-btn.voted-down { background: #fef2f2; border-color: var(--danger); color: var(--danger); }
.vote-score {
  font-family: var(--font-main); font-weight: 900;
  font-size: 0.9rem; color: var(--text); line-height: 1;
}
.vote-score.positive { color: var(--success); }
.vote-score.negative { color: var(--danger); }

/* IMAGE COLUMN */
.deal-img-col {
  width: 140px; overflow: hidden;
  background: #f8fafc;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.deal-img-col img {
  width: 140px; height: 140px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.deal-card:hover .deal-img-col img { transform: scale(1.06); }

/* DEAL BODY */
.deal-body {
  padding: 12px 14px;
  min-width: 0; display: flex;
  flex-direction: column; gap: 7px;
}

/* Badges row */
.deal-badges {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 9px; border-radius: var(--radius-full);
  font-size: 0.68rem; font-weight: 700;
  font-family: var(--font-main); letter-spacing: 0.2px;
  white-space: nowrap;
}
.badge-store { background: var(--secondary); color: #fff; }
.badge-hot { background: linear-gradient(135deg, #ef4444, #f97316); color: #fff; animation: pulse 1.8s infinite; }
.badge-featured { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.badge-free { background: var(--free); color: #fff; }
.badge-verified { background: var(--verified); color: #fff; }
.badge-cat { background: #e2e8f0; color: var(--text-muted); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.8; } }

/* Title */
.deal-title {
  font-family: var(--font-main); font-weight: 700;
  font-size: 0.92rem; color: var(--text);
  line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-title a { color: inherit; transition: color var(--transition); }
.deal-title a:hover { color: var(--primary); }

/* Price row */
.deal-price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-deal {
  font-family: var(--font-main); font-weight: 900;
  font-size: 1.18rem; color: var(--primary);
}
.price-deal.is-free { color: var(--free); }
.price-original { font-size: 0.82rem; color: var(--text-light); text-decoration: line-through; }
.price-off {
  padding: 2px 8px; border-radius: var(--radius-full);
  background: var(--primary); color: #fff;
  font-size: 0.7rem; font-weight: 800;
  font-family: var(--font-main);
}
.price-save { font-size: 0.75rem; color: var(--success); font-weight: 700; }

/* Coupon */
.coupon-row {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: #fff7ed;
  border: 1.5px dashed #f97316;
  border-radius: var(--radius-sm);
}
.coupon-lbl { font-size: 0.66rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }
.coupon-val { font-family: 'Courier New', monospace; font-size: 0.82rem; font-weight: 700; color: #c2410c; letter-spacing: 1px; }
.btn-copy { padding: 2px 8px; font-size: 0.7rem; font-weight: 700; color: var(--primary); transition: background var(--transition); border-radius: var(--radius-xs); }
.btn-copy:hover { background: var(--primary-glow); }

/* Meta row */
.deal-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.74rem; color: var(--text-light); flex-wrap: wrap;
}
.deal-meta a { color: inherit; transition: color var(--transition); }
.deal-meta a:hover { color: var(--primary); }
.meta-icon { margin-right: 1px; }

/* CTA COLUMN */
.deal-cta {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 12px 10px; gap: 8px;
  background: #fafafa;
  border-left: 1px solid var(--border);
}
.btn-get-deal {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  width: 100%; padding: 10px 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: var(--radius);
  font-weight: 800; font-size: 0.84rem;
  font-family: var(--font-main);
  transition: all var(--transition);
  box-shadow: 0 3px 12px rgba(232,68,28,0.3);
  text-align: center; line-height: 1.2;
}
.btn-get-deal:hover { transform: translateY(-2px); box-shadow: var(--shadow-primary); color: #fff; }
.btn-get-deal .deal-store-name { font-size: 0.62rem; font-weight: 400; opacity: 0.85; }
.deal-stats {
  display: flex; gap: 8px;
  font-size: 0.7rem; color: var(--text-light);
}

/* ============================================================
   FEATURED DEALS BANNER
   ============================================================ */
.featured-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #243f6e 50%, #c73a17 130%);
  border-radius: var(--radius-xl);
  padding: 18px 20px; margin-bottom: 16px;
  color: #fff; position: relative; overflow: hidden;
}
.featured-banner::before {
  content: ''; position: absolute;
  top: -60px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.featured-banner::after {
  content: ''; position: absolute;
  bottom: -40px; left: 20%;
  width: 140px; height: 140px;
  background: rgba(232,68,28,0.12);
  border-radius: 50%;
}
.featured-label {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.15);
  padding: 3px 12px; border-radius: var(--radius-full);
  font-size: 0.7rem; font-weight: 800;
  font-family: var(--font-main);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.featured-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.featured-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
  color: #fff;
}
.featured-item:hover { background: rgba(255,255,255,0.18); color: #fff; }
.featured-rank {
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--primary); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.78rem;
}
.featured-info { flex: 1; min-width: 0; }
.featured-title { font-size: 0.82rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.featured-price { font-size: 0.74rem; opacity: 0.8; }
.featured-disc { font-weight: 900; font-size: 0.82rem; color: var(--accent); flex-shrink: 0; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  display: flex; flex-direction: column; gap: 14px;
  position: sticky;
  top: calc(var(--header-h) + var(--subnav-h) + 14px);
  max-height: calc(100vh - var(--header-h) - var(--subnav-h) - 28px);
  overflow-y: auto; scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }
.widget {
  background: #fff; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); overflow: hidden;
}
.widget-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--border);
}
.widget-title {
  font-family: var(--font-main); font-weight: 800;
  font-size: 0.88rem; color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.widget-all { font-size: 0.74rem; color: var(--primary); font-weight: 700; }
.widget-all:hover { text-decoration: underline; }

/* Telegram Widget */
.widget-telegram { background: linear-gradient(135deg, #0088cc, #0063a0); border: none; }
.widget-telegram-inner { padding: 18px 14px; text-align: center; color: #fff; }
.tg-icon { width: 54px; height: 54px; background: rgba(255,255,255,0.15); border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.widget-telegram h3 { font-family: var(--font-main); font-weight: 900; font-size: 0.95rem; margin-bottom: 5px; }
.widget-telegram p { font-size: 0.79rem; opacity: 0.9; margin-bottom: 12px; line-height: 1.5; }
.btn-tg {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; background: #fff; color: #0088cc;
  border-radius: var(--radius-full); font-weight: 800;
  font-size: 0.82rem; font-family: var(--font-main);
  transition: all var(--transition);
}
.btn-tg:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); color: #005a8c; }

/* Trending deals widget */
.trending-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  color: var(--text);
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { background: var(--bg); }
.trending-img {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  object-fit: cover; flex-shrink: 0; background: var(--bg);
}
.trending-info { flex: 1; min-width: 0; }
.trending-title { font-size: 0.79rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 1px; }
.trending-price { font-family: var(--font-main); font-weight: 800; font-size: 0.82rem; color: var(--primary); }
.trending-disc { font-size: 0.72rem; font-weight: 800; color: var(--primary); flex-shrink: 0; }

/* Category grid widget */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.cat-item {
  padding: 9px 12px; background: #fff;
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 600; color: var(--text);
  transition: all var(--transition);
}
.cat-item:hover { background: var(--primary-glow); color: var(--primary); }
.cat-item-icon { font-size: 1rem; }

/* Stats widget */
.stats-grid-widget { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.stat-box { padding: 14px; background: #fff; text-align: center; }
.stat-num { font-family: var(--font-main); font-weight: 900; font-size: 1.15rem; color: var(--primary); line-height: 1; }
.stat-lbl { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

/* Post CTA widget */
.widget-post-cta { background: linear-gradient(135deg, var(--secondary), #243f6e); border: none; }
.widget-post-cta-inner { padding: 18px 14px; text-align: center; color: #fff; }
.widget-post-cta h3 { font-family: var(--font-main); font-weight: 900; font-size: 0.95rem; margin-bottom: 5px; }
.widget-post-cta p { font-size: 0.79rem; opacity: 0.85; margin-bottom: 12px; line-height: 1.5; }

/* ============================================================
   DEAL DETAIL PAGE
   ============================================================ */
.detail-wrap {
  max-width: 1440px; margin: 0 auto;
  padding: 18px 16px;
  display: grid;
  grid-template-columns: 1fr 296px;
  gap: 18px; align-items: start;
}
.detail-main { min-width: 0; }
.detail-card { background: #fff; border-radius: var(--radius-xl); border: 1.5px solid var(--border); overflow: hidden; }

/* Hero */
.detail-hero { display: grid; grid-template-columns: 300px 1fr; }
.detail-img {
  min-height: 300px; background: #f8fafc;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.detail-img img { width: 100%; height: 300px; object-fit: cover; }
.detail-info { padding: 24px; }
.detail-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.detail-title { font-family: var(--font-main); font-weight: 900; font-size: 1.4rem; color: var(--text); line-height: 1.3; margin-bottom: 14px; }
.detail-pricing { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.detail-price { font-family: var(--font-main); font-weight: 900; font-size: 2rem; color: var(--primary); line-height: 1; }
.detail-mrp { font-size: 1rem; color: var(--text-light); text-decoration: line-through; }
.detail-off { padding: 5px 14px; background: var(--primary); color: #fff; border-radius: var(--radius-full); font-family: var(--font-main); font-weight: 800; font-size: 0.95rem; }
.detail-save { padding: 4px 12px; background: #f0fdf4; color: var(--success); border-radius: var(--radius-full); font-weight: 700; font-size: 0.82rem; font-family: var(--font-main); }
.detail-coupon {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: #fff7ed;
  border: 2px dashed #f97316; border-radius: var(--radius);
  margin-bottom: 16px;
}
.detail-coupon-code { font-family: 'Courier New', monospace; font-size: 1.1rem; font-weight: 700; color: #c2410c; letter-spacing: 2px; }
.btn-copy-lg {
  margin-left: auto; padding: 6px 14px;
  background: var(--accent); color: #333;
  border-radius: var(--radius-sm); font-weight: 700;
  font-size: 0.8rem; font-family: var(--font-main);
  transition: all var(--transition);
}
.btn-copy-lg:hover { background: var(--accent-dark); color: #fff; }
.delivery-info { padding: 8px 12px; background: #eff6ff; border-radius: var(--radius-sm); font-size: 0.82rem; color: #1d4ed8; display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.btn-deal-lg {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: var(--radius-lg);
  font-family: var(--font-main); font-weight: 900; font-size: 1.05rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-primary);
  margin-bottom: 10px;
}
.btn-deal-lg:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232,68,28,0.45); color: #fff; }
.trust-bar { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 0.75rem; color: var(--text-muted); }
.trust-item { display: flex; align-items: center; gap: 3px; }

/* Vote + Share bar */
.vote-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; background: #fafafa;
  border-top: 1px solid var(--border); flex-wrap: wrap;
}
.vote-bar-label { font-family: var(--font-main); font-weight: 700; font-size: 0.88rem; color: var(--text); margin-right: 4px; }
.vote-bar-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-full);
  font-family: var(--font-main); font-weight: 700; font-size: 0.88rem;
  border: 2px solid var(--border); background: #fff; color: var(--text);
  transition: all var(--transition);
}
.vote-bar-btn.up:hover, .vote-bar-btn.voted-up { background: #f0fdf4; border-color: var(--success); color: var(--success); }
.vote-bar-btn.down:hover, .vote-bar-btn.voted-down { background: #fef2f2; border-color: var(--danger); color: var(--danger); }
.share-bar { margin-left: auto; display: flex; gap: 6px; }
.btn-share {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 0.8rem; font-family: var(--font-main);
  border: 2px solid var(--border); background: #fff;
  transition: all var(--transition); color: var(--text);
}
.btn-share:hover { border-color: var(--primary); color: var(--primary); }
.btn-share.tg:hover { border-color: #0088cc; color: #0088cc; }

/* Deal body */
.detail-body { padding: 22px; border-top: 1px solid var(--border); }
.detail-body-title { font-family: var(--font-main); font-weight: 800; font-size: 0.95rem; margin-bottom: 10px; color: var(--text); }
.detail-desc { font-size: 0.88rem; line-height: 1.8; color: var(--text-muted); white-space: pre-wrap; }
.detail-meta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted); }
.detail-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.deal-tag { padding: 3px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-full); font-size: 0.74rem; font-weight: 600; color: var(--text-muted); transition: all var(--transition); }
.deal-tag:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-wrap { margin-top: 14px; background: #fff; border-radius: var(--radius-xl); border: 1.5px solid var(--border); overflow: hidden; }
.comments-head { padding: 14px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.comments-head-title { font-family: var(--font-main); font-weight: 800; font-size: 0.92rem; }
.comment-count { background: var(--primary); color: #fff; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 900; }
.comment-form-wrap { padding: 14px 20px; border-bottom: 1px solid var(--border); }
.comment-row { display: flex; gap: 10px; align-items: flex-start; }
.comment-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.8rem; flex-shrink: 0; font-family: var(--font-main); }
.comment-textarea { flex: 1; padding: 10px 14px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 0.88rem; resize: vertical; min-height: 70px; outline: none; transition: border-color var(--transition); font-family: var(--font-body); color: var(--text); }
.comment-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.btn-comment { padding: 9px 18px; background: var(--primary); color: #fff; border-radius: var(--radius); font-weight: 700; font-family: var(--font-main); font-size: 0.82rem; transition: all var(--transition); margin-top: 8px; }
.btn-comment:hover { background: var(--primary-dark); }
.comment-item { display: flex; gap: 10px; padding: 13px 20px; border-bottom: 1px solid var(--border); }
.comment-item:last-child { border-bottom: none; }
.comment-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.comment-user { font-weight: 700; font-size: 0.82rem; font-family: var(--font-main); }
.comment-time { font-size: 0.72rem; color: var(--text-light); }
.comment-text { font-size: 0.86rem; color: var(--text); line-height: 1.6; }

/* ============================================================
   FORMS
   ============================================================ */
.form-page { max-width: 860px; margin: 0 auto; padding: 24px 16px; }
.form-card { background: #fff; border-radius: var(--radius-xl); border: 1.5px solid var(--border); overflow: hidden; }
.form-card-head { padding: 22px 28px; background: linear-gradient(135deg, var(--secondary), #1a3a6e); color: #fff; }
.form-card-head h1 { font-family: var(--font-main); font-weight: 900; font-size: 1.4rem; margin-bottom: 3px; }
.form-card-head p { opacity: 0.8; font-size: 0.88rem; }
.form-body { padding: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1/-1; }
.form-label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text); margin-bottom: 5px; font-family: var(--font-main); }
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-control {
  width: 100%; padding: 10px 14px;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius); font-size: 0.88rem;
  color: var(--text); background: #fff; outline: none;
  transition: all var(--transition); font-family: var(--font-body);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-hint { font-size: 0.72rem; color: var(--text-muted); margin-top: 3px; }
.form-select {
  width: 100%; padding: 10px 14px;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius); font-size: 0.88rem;
  color: var(--text); background: #fff; outline: none;
  cursor: pointer; transition: all var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.checkbox-group { display: flex; align-items: center; gap: 8px; }
.checkbox-group input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }
.btn-submit {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border: none; border-radius: var(--radius-lg);
  font-family: var(--font-main); font-weight: 900; font-size: 1.05rem;
  cursor: pointer; transition: all var(--transition); box-shadow: var(--shadow-primary);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232,68,28,0.45); }

/* AUTH */
.auth-page { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; padding: 28px 16px; background: linear-gradient(135deg, #f0f4ff 0%, #fff5f5 100%); }
.auth-card { background: #fff; border-radius: var(--radius-xl); border: 1.5px solid var(--border); width: 100%; max-width: 420px; overflow: hidden; box-shadow: var(--shadow-lg); }
.auth-head { padding: 26px; text-align: center; background: linear-gradient(135deg, var(--secondary), #c73a17); color: #fff; }
.auth-logo { font-family: var(--font-main); font-weight: 900; font-size: 1.8rem; margin-bottom: 2px; }
.auth-tagline { font-size: 0.82rem; opacity: 0.8; }
.auth-body { padding: 26px; }
.auth-title { font-family: var(--font-main); font-weight: 800; font-size: 1.2rem; margin-bottom: 2px; }
.auth-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }
.auth-foot { text-align: center; padding: 14px 26px 22px; font-size: 0.82rem; color: var(--text-muted); }
.auth-foot a { color: var(--primary); font-weight: 700; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 24px; }
.page-link { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.84rem; border: 2px solid var(--border); color: var(--text); background: #fff; transition: all var(--transition); font-family: var(--font-main); text-decoration: none; }
.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.page-link.disabled { opacity: 0.4; pointer-events: none; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.bc-sep { color: var(--text-light); }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 48px 20px; }
.empty-icon { font-size: 3rem; margin-bottom: 10px; }
.empty-title { font-family: var(--font-main); font-weight: 800; font-size: 1.1rem; color: var(--text); margin-bottom: 6px; }
.empty-sub { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-layout { display: grid; grid-template-columns: 224px 1fr; min-height: calc(100vh - var(--header-h)); }
.admin-sidebar { background: #0f172a; padding: 18px 0; border-right: 1px solid rgba(255,255,255,0.07); position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; }
.admin-sidebar-title { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.3); padding: 0 16px; margin: 14px 0 6px; }
.admin-nav-link { display: flex; align-items: center; gap: 9px; padding: 9px 16px; font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.55); transition: all var(--transition); border-left: 3px solid transparent; font-family: var(--font-main); text-decoration: none; cursor: pointer; width: 100%; text-align: left; background: none; }
.admin-nav-link:hover, .admin-nav-link.active { background: rgba(255,255,255,0.05); color: #fff; border-left-color: var(--primary); }
.admin-main { padding: 24px; background: var(--bg); }
.admin-page-title { font-family: var(--font-main); font-weight: 900; font-size: 1.45rem; color: var(--text); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 20px; }
.stat-card { background: #fff; border-radius: var(--radius-lg); padding: 16px; border: 1.5px solid var(--border); display: flex; align-items: center; gap: 12px; }
.stat-icon { width: 46px; height: 46px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.stat-icon.orange { background: #fff7ed; }
.stat-icon.blue { background: #eff6ff; }
.stat-icon.green { background: #f0fdf4; }
.stat-icon.purple { background: #faf5ff; }
.stat-val { font-family: var(--font-main); font-weight: 900; font-size: 1.6rem; color: var(--text); line-height: 1; }
.stat-lbl2 { font-size: 0.77rem; color: var(--text-muted); }
.admin-table-wrap { background: #fff; border-radius: var(--radius-lg); border: 1.5px solid var(--border); overflow: hidden; }
.admin-table-head { padding: 12px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.admin-table-head-title { font-family: var(--font-main); font-weight: 800; font-size: 0.9rem; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 9px 14px; text-align: left; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); background: var(--bg); border-bottom: 1px solid var(--border); }
.data-table td { padding: 9px 14px; font-size: 0.82rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafafa; }
.status-badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.status-active { background: #f0fdf4; color: #166534; }
.status-expired { background: #fef2f2; color: #991b1b; }
.status-pending { background: #fff7ed; color: #92400e; }
.tbl-btn { padding: 4px 10px; border-radius: var(--radius-sm); font-size: 0.72rem; font-weight: 700; border: none; cursor: pointer; transition: all var(--transition); font-family: var(--font-main); text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.tbl-btn-primary { background: var(--primary); color: #fff; }
.tbl-btn-primary:hover { background: var(--primary-dark); color: #fff; }
.tbl-btn-danger { background: var(--danger); color: #fff; }
.tbl-btn-danger:hover { background: #b91c1c; color: #fff; }
.tbl-btn-info { background: var(--info); color: #fff; }
.tbl-btn-info:hover { background: #0369a1; color: #fff; }
.tbl-btn-tg { background: #0088cc; color: #fff; }
.tbl-btn-tg:hover { background: #0063a0; color: #fff; }
.tbl-btn-default { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.tbl-btn-default:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0f172a; color: rgba(255,255,255,0.72); margin-top: 48px; padding-top: 44px; }
.footer-grid { max-width: 1440px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; }
.footer-logo-wrap { margin-bottom: 10px; }
.footer-logo-wrap img { height: 54px; width: auto; object-fit: contain; background: #fff; padding: 6px 12px; border-radius: var(--radius); }
.footer-tagline { font-family: var(--font-main); font-weight: 900; font-size: 0.95rem; color: #fff; margin-bottom: 6px; font-style: italic; }
.footer-desc { font-size: 0.81rem; line-height: 1.7; color: rgba(255,255,255,0.58); margin-bottom: 12px; }
.footer-tg-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #0088cc; color: #fff; border-radius: var(--radius-full); font-size: 0.79rem; font-weight: 700; transition: all var(--transition); }
.footer-tg-btn:hover { background: #0070a8; color: #fff; transform: translateY(-1px); }
.footer-col h4 { font-family: var(--font-main); font-weight: 800; font-size: 0.82rem; color: #fff; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { font-size: 0.81rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.footer-verify { max-width: 1440px; margin: 28px auto 0; padding: 10px 16px; background: rgba(30,58,95,0.5); border-radius: var(--radius); font-size: 0.77rem; color: rgba(255,255,255,0.55); text-align: center; }
.footer-verify a { color: var(--accent); font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); margin-top: 28px; padding: 16px; text-align: center; font-size: 0.77rem; color: rgba(255,255,255,0.38); }
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--primary-light); }

/* ============================================================
   UI COMPONENTS
   ============================================================ */
/* Back to top */
.back-to-top { position: fixed; bottom: 20px; right: 20px; width: 42px; height: 42px; background: var(--primary); color: #fff; border-radius: 50%; font-size: 1.1rem; box-shadow: 0 4px 16px rgba(232,68,28,0.35); display: none; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); z-index: 997; }
.back-to-top:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,68,28,0.45); }
.back-to-top.show { display: flex; }

/* Toast */
.dm-toast { position: fixed; bottom: 20px; right: 16px; padding: 11px 16px; border-radius: var(--radius); font-family: var(--font-main); font-weight: 700; font-size: 0.86rem; z-index: 99999; max-width: 340px; box-shadow: var(--shadow-lg); cursor: pointer; border-left: 4px solid; animation: toastIn 0.28s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateX(80px); } }

/* Skeleton loader */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* Images */
img.img-loaded { animation: fadeImg 0.3s ease; }
@keyframes fadeImg { from { opacity: 0; } to { opacity: 1; } }

/* Focus for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Tablet */
@media (max-width: 1100px) {
  .main-wrapper, .detail-wrap { grid-template-columns: 1fr 264px; gap: 14px; }
}
@media (max-width: 900px) {
  .main-wrapper, .detail-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-img { height: 240px; min-height: 240px; }
  .detail-img img { height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .deal-card { grid-template-columns: 52px 120px 1fr; }
  .deal-cta { display: none; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --header-h: 56px; --subnav-h: 40px; }

  /* Header */
  .header-inner { padding: 0 12px; gap: 8px; }
  .site-logo img { height: 40px; }
  .search-wrap { display: none; }
  .btn-telegram { display: none; }
  .mobile-search-btn { display: flex; }
  .btn-post-deal .btn-text { display: none; }
  .btn-post-deal { padding: 8px 12px; }
  .btn-login { display: none; }

  /* Category nav */
  .category-nav-inner { padding: 0 10px; }
  .cat-link { padding: 0 8px; font-size: 0.74rem; gap: 3px; }

  /* Layout */
  .main-wrapper { padding: 10px 10px; }

  /* Deal cards */
  .deal-card { grid-template-columns: 44px 1fr; border-radius: var(--radius); }
  .deal-img-col { display: none; }
  .vote-col { width: 44px; padding: 10px 4px; }
  .vote-btn { width: 28px; height: 28px; font-size: 0.9rem; }
  .vote-score { font-size: 0.82rem; }
  .deal-body { padding: 9px 10px; gap: 5px; }
  .deal-title { font-size: 0.84rem; }
  .price-deal { font-size: 1rem; }
  .price-original { font-size: 0.78rem; }
  .price-off { font-size: 0.66rem; padding: 1px 6px; }
  .deal-meta { font-size: 0.7rem; gap: 8px; }
  .deal-badges { gap: 3px; }
  .badge { font-size: 0.64rem; padding: 1px 7px; }

  /* Featured banner */
  .featured-banner { padding: 14px 14px; border-radius: var(--radius-lg); }
  .featured-item { padding: 8px 10px; }
  .featured-title { font-size: 0.78rem; }

  /* Detail page */
  .detail-wrap { padding: 10px; }
  .detail-info { padding: 16px; }
  .detail-title { font-size: 1.1rem; }
  .detail-price { font-size: 1.6rem; }
  .detail-body { padding: 16px; }
  .vote-bar { padding: 10px 14px; }
  .comments-head, .comment-form-wrap, .comment-item { padding-left: 14px; padding-right: 14px; }
  .share-bar { display: none; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .form-body { padding: 18px; }

  /* Footer */
  .footer { margin-top: 32px; padding-top: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 12px; }
  .footer-col:nth-child(3), .footer-col:nth-child(4) { display: none; }
  .footer-logo-wrap img { height: 46px; }
  .footer-verify { margin: 16px 12px 0; font-size: 0.72rem; }
  .footer-bottom { font-size: 0.74rem; padding: 14px 12px; }

  /* Admin */
  .admin-main { padding: 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-val { font-size: 1.3rem; }

  /* Pagination */
  .page-link { width: 34px; height: 34px; font-size: 0.78rem; }
}

@media (max-width: 380px) {
  .btn-post-deal { display: none; }
  .btn-register { padding: 7px 12px; font-size: 0.78rem; }
}

/* Print */
@media print {
  .header, .footer, .sidebar, .category-nav, .vote-col, .deal-cta, .back-to-top { display: none !important; }
  .main-wrapper { grid-template-columns: 1fr !important; }
}
