/* ======================================
   CROCS VIỆT NAM - MAIN STYLESHEET
   ====================================== */

/* CSS Variables - Light Mode */
:root {
  --primary: #1c1d1d;
  --accent: #e63946;
  --accent-hover: #c62834;
  --accent-light: #fff1f2;
  --bg: #ffffff;
  --bg-secondary: #f7f7f7;
  --bg-card: #ffffff;
  --text: #1c1d1d;
  --text-muted: #666666;
  --text-light: #999999;
  --border: #e5e5e5;
  --border-dark: #cccccc;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --header-h: 72px;
  --topbar-h: 36px;
  --radius: 8px;
  --radius-lg: 14px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --font: 'Nunito', 'Segoe UI', sans-serif;
  --success: #22c55e;
  --warning: #f59e0b;
  --info: #3b82f6;
  --error: #ef4444;
}

/* Dark Mode */
[data-theme="dark"] {
  --primary: #f0f0f0;
  --bg: #111111;
  --bg-secondary: #1a1a1a;
  --bg-card: #1e1e1e;
  --text: #f0f0f0;
  --text-muted: #aaaaaa;
  --text-light: #777777;
  --border: #2a2a2a;
  --border-dark: #3a3a3a;
  --shadow: 0 2px 12px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.6);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { cursor: pointer; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }
ul { list-style: none; }

/* ======================================
   LAYOUT
   ====================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.main-content {
  min-height: calc(100vh - var(--header-h) - var(--topbar-h) - 300px);
  padding-top: calc(var(--header-h) + var(--topbar-h));
}
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ======================================
   TOPBAR
   ====================================== */
.topbar {
  background: var(--primary);
  color: #fff;
  height: var(--topbar-h);
  font-size: 12px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}
[data-theme="dark"] .topbar { background: #000; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-left span { font-size: 12px; opacity: 0.9; }
.topbar-left i { color: var(--accent); margin-right: 4px; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar-right span { font-size: 12px; opacity: 0.9; }
.topbar-right i { margin-right: 4px; }

.lang-switcher { display: flex; gap: 6px; align-items: center; font-size: 12px; }
.lang-switcher a { opacity: 0.7; transition: opacity var(--transition); }
.lang-switcher a.active, .lang-switcher a:hover { opacity: 1; font-weight: 700; }
.lang-switcher span { opacity: 0.4; }

.theme-toggle {
  background: none; border: 1px solid rgba(255,255,255,0.3);
  color: #fff; padding: 3px 8px; border-radius: 20px;
  font-size: 12px; transition: all var(--transition);
}
.theme-toggle:hover { background: rgba(255,255,255,0.1); }

/* ======================================
   HEADER
   ====================================== */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

/* Logo */
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-text {
  font-size: 24px; font-weight: 900;
  color: var(--accent); letter-spacing: 0.02em;
}
.logo-sub {
  font-size: 9px; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.15em;
  margin-top: -2px;
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color var(--transition);
  white-space: nowrap;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--accent);
  transition: all var(--transition);
}
.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after { left: 14px; right: 14px; }
.nav-link:hover { color: var(--accent); }
.nav-link i { font-size: 10px; transition: transform var(--transition); }
.nav-item:hover .nav-link i { transform: rotate(180deg); }

/* Mega Dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition);
  border-radius: 0 0 var(--radius) var(--radius);
}
.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 24px;
}
.mega-col { padding: 0 16px; }
.mega-col:first-child { border-right: 1px solid var(--border); padding-left: 0; }
.mega-col:last-child { padding-right: 0; }
.mega-title { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 12px; }
.mega-col ul li a {
  display: block; padding: 6px 0; font-size: 13px; font-weight: 600;
  color: var(--text); transition: color var(--transition);
}
.mega-col ul li a:hover { color: var(--accent); padding-left: 6px; }
.mega-promo-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; font-size: 13px; font-weight: 700;
  color: var(--text); transition: all var(--transition);
  border-bottom: 1px solid var(--border);
}
.mega-promo-link:last-child { border-bottom: none; }
.mega-promo-link:hover { color: var(--accent); }
.promo-tag { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 20px; background: var(--bg-secondary); }
.promo-tag.sale { background: var(--accent); color: #fff; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 4px; }
.action-btn {
  position: relative;
  background: none; border: none;
  padding: 8px;
  font-size: 20px;
  color: var(--text);
  transition: color var(--transition);
  border-radius: var(--radius);
}
.action-btn:hover { color: var(--accent); }
.action-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 800;
  min-width: 17px; height: 17px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.cart-btn { font-size: 22px; }

/* Account Dropdown */
.account-dropdown-wrap { position: relative; }
.account-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.account-dropdown-wrap:hover .account-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.account-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 2px;
}
.account-header strong { font-size: 14px; font-weight: 700; }
.account-header span { font-size: 12px; color: var(--text-muted); }
.account-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: 13px; font-weight: 600;
  color: var(--text); transition: all var(--transition);
}
.account-dropdown a:hover { background: var(--bg-secondary); color: var(--accent); }
.account-dropdown a i { width: 16px; color: var(--text-muted); }
.logout-link { color: var(--error) !important; }
.admin-link { color: var(--info) !important; }

/* Search Bar */
.search-bar {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.search-bar.open { opacity: 1; visibility: visible; transform: translateY(0); }
.search-form {
  display: flex; gap: 0;
  max-width: 600px; margin: 0 auto;
}
.search-form input {
  flex: 1; padding: 12px 16px; font-size: 14px;
  border: 1.5px solid var(--border); border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--bg); color: var(--text);
  outline: none; transition: border-color var(--transition);
}
.search-form input:focus { border-color: var(--accent); }
.search-form button {
  padding: 12px 16px; background: var(--accent); color: #fff;
  border: none; font-size: 16px; transition: background var(--transition);
}
.search-form button:first-of-type { border-radius: 0; }
.search-form button:last-of-type {
  background: var(--bg-secondary); color: var(--text);
  border-radius: 0 var(--radius) var(--radius) 0;
  border: 1.5px solid var(--border); border-left: none;
}
.search-form button:hover { opacity: 0.85; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; padding: 6px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}

/* Flash Messages */
.flash-message {
  position: fixed; top: calc(var(--topbar-h) + var(--header-h) + 10px);
  left: 50%; transform: translateX(-50%);
  z-index: 2000;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  min-width: 300px; max-width: 500px;
  box-shadow: var(--shadow-hover);
  animation: slideDown 0.3s ease;
}
.flash-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.flash-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.flash-info { background: #eff6ff; border: 1px solid #93c5fd; color: #1e40af; }
.flash-close { background: none; border: none; margin-left: auto; color: inherit; opacity: 0.6; font-size: 16px; }
.flash-close:hover { opacity: 1; }
@keyframes slideDown { from { opacity:0; transform: translateX(-50%) translateY(-20px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

/* ======================================
   BUTTONS
   ====================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px;
  font-size: 14px; font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition);
  text-align: center; white-space: nowrap;
  font-family: var(--font);
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(230,57,70,0.35); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-dark); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-dark:hover { opacity: 0.85; }
.btn-sm { padding: 8px 18px; font-size: 12px; }
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; border-radius: 50%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ======================================
   FORMS
   ====================================== */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; margin-bottom: 6px;
  font-size: 13px; font-weight: 700; color: var(--text);
}
.form-group label .required { color: var(--accent); margin-left: 2px; }
.form-control {
  width: 100%; padding: 11px 14px;
  background: var(--bg); color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230,57,70,0.1); }
.form-control::placeholder { color: var(--text-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { font-size: 12px; color: var(--error); margin-top: 4px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ======================================
   HERO SLIDER
   ====================================== */
.hero-slider { position: relative; overflow: hidden; background: var(--bg-secondary); }
.hero-slide {
  display: none;
  position: relative;
  min-height: 500px;
  align-items: center;
}
.hero-slide.active { display: flex; }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1c1d1d 0%, #3d3d3d 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 120px; opacity: 0.08;
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.hero-content {
  position: relative; z-index: 2;
  max-width: 600px; padding: 80px 0;
  color: #fff; padding-left: 8%;
}
.hero-tag {
  display: inline-block; margin-bottom: 16px;
  padding: 4px 14px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  border-radius: 20px; text-transform: uppercase;
}
.hero-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 16px; letter-spacing: -0.01em;
}
.hero-subtitle {
  font-size: 16px; opacity: 0.9;
  margin-bottom: 32px; line-height: 1.6;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-nav {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.9); color: var(--primary);
  width: 44px; height: 44px; border-radius: 50%;
  border: none; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; transition: all var(--transition);
  box-shadow: var(--shadow);
}
.hero-arrow:hover { background: #fff; box-shadow: var(--shadow-hover); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* ======================================
   SECTION HEADER
   ====================================== */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.section-title {
  font-size: 22px; font-weight: 900; letter-spacing: -0.01em;
  position: relative;
}
.section-title::after {
  content: '';
  display: block; width: 40px; height: 3px;
  background: var(--accent); border-radius: 2px;
  margin-top: 6px;
}
.section-link {
  font-size: 13px; font-weight: 700; color: var(--accent);
  display: flex; align-items: center; gap: 4px;
}
.section-link:hover { text-decoration: underline; }

/* ======================================
   PRODUCT CARD
   ====================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}
.product-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-secondary);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-img .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: var(--border-dark);
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg));
}

/* Badges */
.product-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.badge {
  display: inline-block; padding: 3px 8px;
  font-size: 10px; font-weight: 800; border-radius: 4px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.badge-sale { background: var(--accent); color: #fff; }
.badge-new { background: #22c55e; color: #fff; }
.badge-hot { background: #f59e0b; color: #fff; }

/* Wishlist button on card */
.product-wishlist-btn {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--text-muted);
  transition: all var(--transition);
  opacity: 0;
}
[data-theme="dark"] .product-wishlist-btn { background: rgba(30,30,30,0.9); }
.product-card:hover .product-wishlist-btn { opacity: 1; }
.product-wishlist-btn:hover, .product-wishlist-btn.active { color: var(--accent); background: #fff; }
.product-wishlist-btn.active { opacity: 1; }

/* Quick add button */
.quick-add-btn {
  position: absolute; bottom: -44px; left: 0; right: 0;
  background: var(--primary); color: #fff;
  border: none; padding: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  transition: all var(--transition);
}
[data-theme="dark"] .quick-add-btn { background: var(--accent); }
.product-card:hover .quick-add-btn { bottom: 0; }

/* Product Info */
.product-card-info { padding: 12px 14px; }
.product-card-cat { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.product-card-name {
  font-size: 13px; font-weight: 700; color: var(--text);
  margin-bottom: 6px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-price { display: flex; align-items: center; gap: 8px; }
.price-sale { font-size: 15px; font-weight: 800; color: var(--accent); }
.price-original { font-size: 12px; color: var(--text-light); text-decoration: line-through; }
.price-regular { font-size: 15px; font-weight: 800; color: var(--text); }

/* Color swatches on card */
.product-card-colors { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.color-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--border);
  cursor: pointer; transition: transform var(--transition);
}
.color-dot:hover { transform: scale(1.3); border-color: var(--text); }

/* ======================================
   PROMOTION BANNER
   ====================================== */
.promo-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 200px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, #ff6b7a 100%);
  color: #fff; padding: 40px;
}
.promo-banner-content { position: relative; z-index: 2; }
.promo-banner-title { font-size: 32px; font-weight: 900; line-height: 1.1; margin-bottom: 12px; }
.promo-banner-sub { font-size: 15px; opacity: 0.9; margin-bottom: 24px; }

/* ======================================
   CATEGORY CARDS
   ====================================== */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.category-card {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 3/4;
  background: var(--bg-secondary);
  cursor: pointer; transition: all var(--transition);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.category-card:hover img { transform: scale(1.05); }
.category-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; background: linear-gradient(135deg, #f0f0f0, #e0e0e0); }
[data-theme="dark"] .category-card-placeholder { background: linear-gradient(135deg, #2a2a2a, #1a1a1a); }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
}
.category-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 16px; color: #fff;
}
.category-card-name { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.category-card-count { font-size: 12px; opacity: 0.8; }

/* ======================================
   SHOP PAGE
   ====================================== */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.shop-sidebar { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 20px); max-height: calc(100vh - var(--topbar-h) - var(--header-h) - 40px); overflow-y: auto; }
.filter-section { margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.filter-section:last-child { border-bottom: none; }
.filter-title {
  font-size: 13px; font-weight: 800; letter-spacing: 0.05em;
  color: var(--text); margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
}
.filter-title i { font-size: 11px; transition: transform var(--transition); }
.filter-title.collapsed i { transform: rotate(-90deg); }
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.filter-checkbox input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.filter-checkbox span { font-size: 13px; font-weight: 500; }
.filter-checkbox span small { color: var(--text-muted); margin-left: 4px; }
.filter-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-color-opt {
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition);
}
.filter-color-opt.active { border-color: var(--text); transform: scale(1.15); }
.price-range { display: flex; flex-direction: column; gap: 10px; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-inputs input { padding: 8px 10px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; background: var(--bg); color: var(--text); outline: none; }

.shop-main {}
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap; gap: 12px;
}
.shop-results { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.shop-sort { display: flex; align-items: center; gap: 10px; }
.shop-sort label { font-size: 13px; font-weight: 600; white-space: nowrap; }
.shop-sort select { padding: 8px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; background: var(--bg); color: var(--text); cursor: pointer; outline: none; }
.shop-view-toggle { display: flex; gap: 4px; }
.view-btn { padding: 8px 10px; background: none; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text-muted); cursor: pointer; transition: all var(--transition); }
.view-btn.active { border-color: var(--accent); color: var(--accent); }

/* Shop filters bar */
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filter-tag {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px; background: var(--accent-light);
  color: var(--accent); border-radius: 20px;
  font-size: 12px; font-weight: 700;
}
.active-filter-tag button { background: none; border: none; color: var(--accent); font-size: 14px; padding: 0; line-height: 1; }

/* ======================================
   PRODUCT DETAIL
   ====================================== */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 60px; }

/* Gallery */
.product-gallery-main { aspect-ratio: 1; overflow: hidden; background: var(--bg-secondary); border-radius: var(--radius-lg); position: relative; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-gallery-main:hover img { transform: scale(1.03); }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.thumb-item { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); background: var(--bg-secondary); }
.thumb-item.active { border-color: var(--accent); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.product-info-sticky { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 20px); }
.product-cat-breadcrumb { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.product-cat-breadcrumb a { color: var(--text-muted); }
.product-cat-breadcrumb a:hover { color: var(--accent); }
.product-cat-breadcrumb span { margin: 0 6px; }
.product-name { font-size: 26px; font-weight: 900; line-height: 1.2; margin-bottom: 8px; }
.product-sku { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.product-price-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.product-price-sale { font-size: 28px; font-weight: 900; color: var(--accent); }
.product-price-original { font-size: 18px; color: var(--text-muted); text-decoration: line-through; }
.product-price-regular { font-size: 28px; font-weight: 900; }
.product-discount-badge { background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 20px; }

/* Color selector */
.option-label { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.color-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.color-option {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: pointer;
}
.color-swatch {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--border);
  transition: all var(--transition);
}
.color-option.active .color-swatch, .color-option:hover .color-swatch { border-color: var(--text); transform: scale(1.1); }
.color-name { font-size: 10px; color: var(--text-muted); }

/* Size selector */
.size-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.size-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 13px; font-weight: 700; cursor: pointer;
  background: var(--bg); color: var(--text);
  transition: all var(--transition);
}
.size-btn:hover { border-color: var(--accent); color: var(--accent); }
.size-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
[data-theme="dark"] .size-btn.active { background: var(--accent); border-color: var(--accent); }
.size-btn.out-of-stock { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

/* Qty */
.qty-wrap { display: flex; align-items: center; gap: 0; width: 130px; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-btn { width: 40px; height: 46px; background: var(--bg-secondary); border: none; font-size: 20px; cursor: pointer; transition: background var(--transition); font-weight: 700; }
.qty-btn:hover { background: var(--border); }
.qty-input { flex: 1; height: 46px; border: none; text-align: center; font-size: 15px; font-weight: 700; background: var(--bg); color: var(--text); outline: none; }

/* Add actions */
.product-actions { display: flex; gap: 10px; margin-bottom: 24px; }
.product-actions .btn { flex: 1; }
.product-wishlist-large { width: 50px; height: 50px; border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--bg); color: var(--text); font-size: 20px; transition: all var(--transition); }
.product-wishlist-large:hover, .product-wishlist-large.active { border-color: var(--accent); color: var(--accent); }

/* Product meta */
.product-meta { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 20px; }
.product-meta-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 13px; }
.product-meta-item i { color: var(--accent); margin-top: 2px; width: 16px; }
.product-tabs { margin-top: 40px; }
.tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tab-btn {
  padding: 12px 24px; font-size: 14px; font-weight: 700;
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; position: relative; transition: color var(--transition);
}
.tab-btn.active { color: var(--accent); }
.tab-btn.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.product-description { font-size: 14px; line-height: 1.8; color: var(--text-muted); }

/* ======================================
   CART
   ====================================== */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; }
.cart-items {}
.cart-item {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border);
  align-items: start;
}
.cart-item-img { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-secondary); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-img .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.cart-item-info {}
.cart-item-name { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.cart-item-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; display: flex; gap: 12px; }
.cart-item-price { font-size: 16px; font-weight: 900; color: var(--accent); }
.cart-item-actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.cart-remove-btn { background: none; border: none; color: var(--text-muted); font-size: 13px; cursor: pointer; transition: color var(--transition); text-decoration: underline; }
.cart-remove-btn:hover { color: var(--error); }

/* Cart Summary */
.cart-summary {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 28px; position: sticky;
  top: calc(var(--topbar-h) + var(--header-h) + 20px);
}
.cart-summary-title { font-size: 16px; font-weight: 800; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; }
.summary-row.total { font-size: 18px; font-weight: 900; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px; }
.summary-row.discount-row { color: var(--success); }
.coupon-form { display: flex; gap: 0; margin: 16px 0; }
.coupon-form input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-right: none; border-radius: var(--radius) 0 0 var(--radius); background: var(--bg); color: var(--text); font-size: 13px; outline: none; }
.coupon-form button { padding: 10px 16px; background: var(--primary); color: #fff; border: none; border-radius: 0 var(--radius) var(--radius) 0; font-size: 13px; font-weight: 700; cursor: pointer; transition: opacity var(--transition); }
.coupon-form button:hover { opacity: 0.85; }
.shipping-notice { font-size: 12px; color: var(--success); display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }

/* ======================================
   CHECKOUT
   ====================================== */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; }
.checkout-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.checkout-section-title { font-size: 15px; font-weight: 800; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.checkout-section-title i { color: var(--accent); }
.payment-option { border: 2px solid var(--border); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; transition: border-color var(--transition); }
.payment-option:has(input:checked) { border-color: var(--accent); background: var(--accent-light); }
.payment-option input { accent-color: var(--accent); width: 16px; height: 16px; }
.payment-option label { cursor: pointer; font-weight: 700; font-size: 14px; }
.payment-option .payment-sub { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.payment-detail { background: var(--bg-secondary); border-radius: var(--radius); padding: 16px; margin-top: 12px; font-size: 13px; line-height: 2; display: none; }
.payment-detail.show { display: block; }

/* Order Summary Sidebar */
.order-summary-sidebar { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 20px); }
.order-item-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.order-item-thumb { width: 60px; height: 60px; border-radius: var(--radius); overflow: hidden; background: var(--bg-secondary); flex-shrink: 0; position: relative; }
.order-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-item-qty-badge { position: absolute; top: -6px; right: -6px; background: var(--accent); color: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.order-item-info { flex: 1; }
.order-item-name { font-size: 12px; font-weight: 700; line-height: 1.4; }
.order-item-meta { font-size: 11px; color: var(--text-muted); }
.order-item-price { font-size: 13px; font-weight: 800; }

/* ======================================
   AUTH PAGES
   ====================================== */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--bg-secondary); }
.auth-card { width: 100%; max-width: 460px; background: var(--bg-card); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-hover); }
.auth-logo { text-align: center; margin-bottom: 8px; }
.auth-logo a { font-size: 28px; font-weight: 900; color: var(--accent); letter-spacing: 0.02em; }
.auth-title { font-size: 22px; font-weight: 900; text-align: center; margin-bottom: 6px; }
.auth-subtitle { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 32px; }
.auth-benefit { background: linear-gradient(135deg, var(--accent), #ff6b7a); color: #fff; border-radius: var(--radius); padding: 12px 16px; font-size: 13px; font-weight: 700; text-align: center; margin-bottom: 28px; }
.auth-switch { text-align: center; margin-top: 24px; font-size: 13px; color: var(--text-muted); }
.auth-switch a { color: var(--accent); font-weight: 700; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-light); font-size: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ======================================
   ACCOUNT PAGE
   ====================================== */
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; }
.account-sidebar { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 20px); }
.account-menu { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.account-menu-header { padding: 20px; background: var(--accent); color: #fff; }
.account-menu-avatar { width: 52px; height: 52px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.3); overflow: hidden; margin-bottom: 12px; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.account-menu-name { font-size: 15px; font-weight: 800; }
.account-menu-email { font-size: 12px; opacity: 0.85; }
.account-menu-nav a { display: flex; align-items: center; gap: 10px; padding: 13px 20px; font-size: 13px; font-weight: 600; color: var(--text); border-left: 3px solid transparent; transition: all var(--transition); }
.account-menu-nav a:hover { background: var(--bg-secondary); color: var(--accent); }
.account-menu-nav a.active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.account-menu-nav a i { width: 18px; color: var(--text-muted); }
.account-menu-nav a.active i, .account-menu-nav a:hover i { color: var(--accent); }

/* Orders Table */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table thead tr { background: var(--bg-secondary); }
.orders-table th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; color: var(--text-muted); border-bottom: 2px solid var(--border); }
.orders-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 13px; vertical-align: middle; }
.orders-table tr:hover td { background: var(--bg-secondary); }
.order-status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.status-pending { background: #fef9c3; color: #854d0e; }
.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-processing { background: #ede9fe; color: #6b21a8; }
.status-shipping { background: #d1fae5; color: #065f46; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-returned { background: #f3f4f6; color: #6b7280; }
[data-theme="dark"] .status-pending { background: #3a2800; color: #fcd34d; }
[data-theme="dark"] .status-confirmed { background: #1e3a5f; color: #93c5fd; }
[data-theme="dark"] .status-delivered { background: #064e3b; color: #6ee7b7; }
[data-theme="dark"] .status-cancelled { background: #450a0a; color: #fca5a5; }

/* ======================================
   PAGINATION
   ====================================== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.page-btn { min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; font-weight: 700; cursor: pointer; background: var(--bg); color: var(--text); transition: all var(--transition); }
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.page-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ======================================
   REVIEWS
   ====================================== */
.review-stars { display: flex; gap: 2px; }
.star { font-size: 16px; color: var(--border-dark); }
.star.filled { color: #f59e0b; }
.review-card { padding: 20px 0; border-bottom: 1px solid var(--border); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: var(--accent); }
.review-name { font-size: 14px; font-weight: 700; }
.review-date { font-size: 12px; color: var(--text-muted); }
.review-verified { font-size: 11px; color: var(--success); font-weight: 700; }
.review-comment { font-size: 13px; line-height: 1.7; color: var(--text-muted); }

/* ======================================
   SUCCESS PAGE
   ====================================== */
.success-page { text-align: center; padding: 80px 20px; max-width: 560px; margin: 0 auto; }
.success-icon { font-size: 64px; margin-bottom: 20px; }
.success-title { font-size: 30px; font-weight: 900; margin-bottom: 12px; }
.success-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.order-info-card { background: var(--bg-secondary); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 32px; text-align: left; }
.order-code-display { font-size: 24px; font-weight: 900; color: var(--accent); font-family: monospace; letter-spacing: 0.1em; }

/* ======================================
   BACK TO TOP
   ====================================== */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  border: none; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px);
  transition: all var(--transition); z-index: 500;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-hover); box-shadow: var(--shadow-hover); }

/* ======================================
   QUICK VIEW MODAL
   ====================================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 3000; opacity: 0; visibility: hidden; transition: all var(--transition); }
.modal-overlay.open { opacity: 1; visibility: visible; }
.quick-view-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95); z-index: 3001; width: 90%; max-width: 900px; max-height: 90vh; overflow-y: auto; background: var(--bg-card); border-radius: var(--radius-lg); opacity: 0; visibility: hidden; transition: all var(--transition); }
.quick-view-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal-close-btn { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-secondary); border: none; font-size: 18px; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); z-index: 10; }
.modal-close-btn:hover { background: var(--accent); color: #fff; }
.modal-loading { padding: 60px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }

/* ======================================
   FOOTER
   ====================================== */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.85); margin-top: 80px; }
[data-theme="dark"] .site-footer { background: #050505; }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { font-size: 26px; font-weight: 900; color: var(--accent); display: inline-block; margin-bottom: 14px; letter-spacing: 0.02em; }
.brand-col p { font-size: 13px; opacity: 0.75; line-height: 1.7; margin-bottom: 20px; max-width: 260px; }
.social-links { display: flex; gap: 10px; margin-bottom: 24px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 15px; transition: all var(--transition); }
.social-links a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-hotline { display: flex; align-items: center; gap: 12px; }
.footer-hotline i { font-size: 22px; color: var(--accent); }
.footer-hotline span { font-size: 11px; opacity: 0.7; display: block; }
.footer-hotline strong { font-size: 18px; font-weight: 900; color: #fff; }
.footer-col h4 { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; opacity: 0.75; transition: opacity var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--accent); }
.newsletter-form { display: flex; gap: 0; margin-bottom: 20px; }
.newsletter-form input { flex: 1; padding: 11px 14px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-right: none; border-radius: var(--radius) 0 0 var(--radius); color: #fff; font-size: 13px; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button { padding: 11px 16px; background: var(--accent); border: none; border-radius: 0 var(--radius) var(--radius) 0; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; transition: background var(--transition); white-space: nowrap; }
.newsletter-form button:hover { background: var(--accent-hover); }
.payment-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-icon { background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; opacity: 0.6; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; opacity: 0.6; transition: opacity var(--transition); }
.footer-bottom-links a:hover { opacity: 1; }

/* ======================================
   MISC UTILITIES
   ====================================== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.pt-40 { padding-top: 40px; }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state i { font-size: 56px; color: var(--border-dark); margin-bottom: 20px; }
.empty-state h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }
.page-title-bar { background: var(--bg-secondary); padding: 32px 0; margin-bottom: 40px; }
.page-title-bar h1 { font-size: 28px; font-weight: 900; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-top: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: 0.4; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; background: var(--bg-secondary); color: var(--text-muted); }
