/* ===================================================
   ShadCN-inspired Light Design System
   Palette: #E4F9F5 | #30E3CA | #11999E | #40514E
=================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg:           #F8FAFC;
  --bg-alt:       #F1F5F9;
  --surface:      #ffffff;
  --primary:      #11999E;
  --primary-h:    #0e8589;
  --primary-hl:   #30E3CA;
  --primary-pale: rgba(17,153,158,.08);
  --primary-ring: rgba(17,153,158,.25);
  --text:         #40514E;
  --text-muted:   #7a9490;
  --text-faint:   #b0ccc9;
  --border:       #cceee9;
  --border-h:     #30E3CA;
  --shadow-sm:    0 1px 3px rgba(64,81,78,.08), 0 1px 2px rgba(64,81,78,.04);
  --shadow:       0 4px 12px rgba(64,81,78,.1), 0 2px 4px rgba(64,81,78,.06);
  --shadow-lg:    0 12px 32px rgba(64,81,78,.12), 0 4px 8px rgba(64,81,78,.06);
  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-full:  9999px;
  --ease:         cubic-bezier(.4,0,.2,1);
  --dur:          220ms;
  --success:      #0d9488;
  --warning:      #d97706;
  --danger:       #dc2626;
  --info:         #0891b2;
  --icon-color:   #7a9490;
}

/* â”€â”€ Dark Mode â”€â”€ */
body.dark {
  --bg:           #0f1717;
  --bg-alt:       #1a2a2a;
  --surface:      #1a2a2a;
  --text:         #e2e8f0;
  --text-muted:   #94a3b8;
  --text-faint:   #475569;
  --border:       #2d3a3a;
  --border-h:     #11999E;
  --primary-pale: rgba(17,153,158,.15);
  --shadow-sm:    0 1px 3px rgba(0,0,0,.3);
  --shadow:       0 4px 12px rgba(0,0,0,.4);
  --shadow-lg:    0 12px 32px rgba(0,0,0,.5);
  --icon-color:   #94a3b8;
}

body.dark .navbar {
  background: rgba(15, 23, 23, 0.85);
}

body.dark .mobile-bottom-nav {
  background: rgba(26, 42, 42, 0.95);
}

body.dark .card, body.dark .stat-card, body.dark .checkout-box {
  background: #152020;
}


/* â”€â”€ Reset & Base â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--primary-h); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-h); }

/* â”€â”€ Container â”€â”€ */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.page-wrap { padding: 28px 0; min-height: calc(100vh - 64px - 56px); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NAVBAR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.navbar {
  position: sticky; top: 0; z-index: 900;
  background: var(--surface);
  border-bottom: 1.5px solid var(--border);
  height: 64px;
  transition: all var(--dur) var(--ease);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center;
  height: 64px; gap: 16px;
}
.nav-brand {
  font-size: 1.3rem; font-weight: 800;
  color: var(--primary); letter-spacing: -.4px;
  flex-shrink: 0; display: flex; align-items: center; gap: 8px;
}

/* Search */
.nav-search-wrap { position: relative; flex: 1; max-width: 420px; }
.nav-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.nav-search {
  width: 100%; height: 38px; padding: 0 14px 0 38px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-full); color: var(--text);
  font-size: .875rem; outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-search:focus {
  border-color: var(--primary); background: var(--surface);
  box-shadow: 0 0 0 3px var(--primary-ring);
}
.nav-search::placeholder { color: var(--text-faint); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-icon-btn {
  position: relative; 
  min-width: 40px; height: 40px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--radius-full); border: 1.5px solid var(--border);
  background: var(--surface); cursor: pointer; color: var(--text-muted);
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.nav-icon-btn:hover { 
  border-color: var(--primary); 
  background: var(--primary-pale); 
  color: var(--primary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-sm);
}
.nav-icon-btn img { width: 20px; transition: transform var(--dur) var(--ease); }
.nav-icon-btn:hover img { transform: scale(1.1); }
.nav-icon-btn span.btn-label { font-size: 0.85rem; font-weight: 700; display: none; }

/* Active page indicator for all nav buttons */
.nav-icon-btn.text-primary { background: var(--primary-pale); border-color: var(--primary); }
.nav-icon-btn.text-primary:hover { background: var(--primary); color: #fff; }
.nav-icon-btn.text-primary:hover img { filter: brightness(0) invert(1); }

@media (min-width: 1024px) {
  .nav-icon-btn { min-width: unset; padding: 0 14px; }
  .nav-icon-btn span.btn-label { display: block; }
}


.cart-badge {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: var(--radius-full);
  background: var(--primary); color: #fff;
  font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  animation: pop .3s var(--ease);
  border: 2px solid var(--surface);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.nav-icon-btn.cart-btn.text-primary .cart-badge,
.nav-icon-btn.cart-btn:hover .cart-badge { background: var(--text); }

/* Mobile search bar */
.mobile-search-bar {
  display: none; padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
@media (max-width: 1100px) {
  .nav-icon-btn span.btn-label { display: none; }
  .nav-icon-btn { padding: 0; width: 40px; }
}

@media (max-width: 768px) {
  .nav-search-wrap { display: none; }
  .mobile-search-bar { display: block; }
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SEARCH DROPDOWN
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.search-results-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 200;
  overflow: hidden; animation: slideDown .15s var(--ease);
}
.search-results-dropdown.open { display: block; }
.search-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; cursor: pointer;
  transition: background var(--dur) var(--ease);
  border-bottom: 1px solid var(--bg);
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--bg); }
.search-item img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.search-item-name { font-size: .875rem; font-weight: 500; color: var(--text); }
.search-item-price { font-size: .8rem; color: var(--primary); font-weight: 600; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BUTTONS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 18px; height: 38px; border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: all var(--dur) var(--ease); outline: none;
  user-select: none; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background var(--dur) var(--ease);
}
.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:active { transform: scale(.98); }

.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-h); border-color: var(--primary-h); color: #fff; }
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-pale); }
.btn-ghost { background: transparent; color: var(--text); border-color: transparent; }
.btn-ghost:hover { background: var(--bg); color: var(--text); }
.btn-danger-outline { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger-outline:hover { background: rgba(220,38,38,.05); }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-sm { height: 32px; padding: 0 14px; font-size: .8rem; border-radius: var(--radius-sm); }
.btn-lg { height: 46px; padding: 0 26px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-icon { width: 38px; height: 38px; padding: 0; border-radius: var(--radius-sm); }
.btn-icon.sm { width: 32px; height: 32px; }

/* â”€â”€ Icon Color (theme setting) â”€â”€ */
.nav-icon-btn, .nav-icon-btn img,
.input-icon, .input-icon img,
.btn-icon img, .cart-remove-btn img,
.tab-icon img, .meta-item img,
.like-icon, .share-icon, .star-icon,
.wishlist-btn img, .search-icon,
.filter-icon, .sort-icon,
[class*="icon-"] img, .icon-img,
.popup-close img, .modal-close img { color: var(--icon-color); }
.nav-icon-btn.text-primary, .nav-icon-btn.text-primary img { color: var(--primary); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CARDS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card-sm { padding: 16px; border-radius: var(--radius); }
.card:hover { box-shadow: var(--shadow); }
.card-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 18px; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FORMS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; letter-spacing: .01em; }
.form-control {
  width: 100%; height: 40px; padding: 0 14px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: .875rem; outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
.form-control::placeholder { color: var(--text-faint); }
textarea.form-control { height: auto; min-height: 90px; padding: 10px 14px; resize: vertical; }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%237a9490' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-hint { font-size: .78rem; color: var(--text-muted); margin-top: 5px; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BADGE / STATUS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: .74rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.badge-pending   { background: #fef3c7; color: #92400e; }
.badge-paid      { background: #d1fae5; color: #065f46; }
.badge-cod       { background: #e0f2fe; color: #075985; }
.badge-shipped   { background: #ede9fe; color: #5b21b6; }
.badge-delivered { background: #d1fae5; color: #065f46; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }
.badge-in-stock  { background: #d1fae5; color: #065f46; }
.badge-low-stock { background: #fef3c7; color: #92400e; }
.badge-out       { background: #fee2e2; color: #991b1b; }
.badge-primary   { background: var(--primary-pale); color: var(--primary); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ALERTS / TOAST
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.alert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--radius);
  font-size: .875rem; font-weight: 500; margin-bottom: 16px;
  animation: slideDown .2s var(--ease);
}
.alert-success { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; }
.alert-error   { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-warning { background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; }
.alert-info    { background: #e0f2fe; border: 1px solid #7dd3fc; color: #075985; }

.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--radius);
  background: var(--text); color: #fff;
  font-size: .875rem; font-weight: 500;
  box-shadow: var(--shadow-lg); min-width: 260px; max-width: 340px;
  animation: slideUp .25s var(--ease);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.hiding { opacity: 0; transform: translateY(8px); }
.toast-icon { flex-shrink: 0; }
.toast-success .toast-icon { color: var(--primary-hl); }
.toast-error .toast-icon   { color: #f87171; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TABLE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1.5px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead { background: var(--bg); }
th {
  padding: 11px 16px; text-align: left;
  font-size: .78rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
td {
  padding: 13px 16px; font-size: .875rem;
  border-top: 1px solid var(--border); vertical-align: middle;
}
tbody tr { transition: background var(--dur) var(--ease); }
tbody tr:hover { background: var(--bg); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PRODUCT CARD
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--dur) var(--ease); cursor: pointer;
  display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: var(--primary-hl);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.product-card-img-wrap {
  position: relative; height: 210px; background: var(--bg);
  overflow: hidden;
}
.product-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s var(--ease);
}
/* Placeholder icon (no real image) â€” show the whole icon */
.product-card-img.is-placeholder {
  object-fit: contain !important;
  padding: 36px 44px !important;
  background: var(--bg);
  transform: none !important;
}
.product-card:hover .product-card-img.is-placeholder { transform: none !important; }
.product-card-badge {
  position: absolute; top: 10px; left: 10px;
}
.product-card-body { padding: 14px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.product-card-cat { font-size: .75rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.product-card-title { font-size: .9rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.product-card-title a { color: inherit; }
.product-card-price { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.price-now { font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.price-was { font-size: .8rem; color: var(--text-faint); text-decoration: line-through; }
.price-off { font-size: .72rem; font-weight: 700; color: var(--success); background: #d1fae5; padding: 2px 7px; border-radius: var(--radius-full); }
.product-card-footer { padding: 12px 14px 14px; border-top: 1px solid var(--bg); }

/* Wishlist Button */
.wishlist-btn {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: white; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer; transition: all 0.3s var(--ease);
  z-index: 10;
}
.wishlist-btn:hover { transform: scale(1.15); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.wishlist-btn.active { background: var(--primary); }
.wishlist-btn.active img { filter: brightness(0) invert(1); }
.wishlist-btn img { width: 16px; height: 16px; transition: transform 0.3s var(--ease); opacity: 0.7; }
.wishlist-btn:hover img { transform: scale(1.1); opacity: 1; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO BANNER & SLIDER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.banner-slider-section { position: relative; margin-bottom: 36px; border-radius: var(--radius-lg); border: 1.5px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm); }
.banner-slider-container {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.banner-slider-container::-webkit-scrollbar { display: none; }
.banner-slide {
  flex: 0 0 100%; scroll-snap-align: center; margin-bottom: 0;
  border-radius: 0; border: none; box-shadow: none;
}
.hero { background: var(--surface); padding: 64px 48px; position: relative; overflow: hidden; display: flex; align-items: center; min-height: 500px; transition: background var(--dur) var(--ease); }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { font-size: 3.5rem; font-weight: 800; color: var(--text); line-height: 1.1; margin-bottom: 16px; letter-spacing: -0.02em; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.5; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.banner-btn { transition: transform 0.2s var(--ease), filter 0.2s; border: none; }
.banner-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* Slider Dots */
.banner-dots {
  position: absolute; bottom: 24px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px; z-index: 10;
}
.dot { width: 10px; height: 10px; border-radius: var(--radius-full); background: rgba(0,0,0,0.1); cursor: pointer; transition: all var(--dur) var(--ease); }
.dot.active { width: 28px; background: var(--primary); }

@media (max-width: 768px) {
  .hero { padding: 60px 24px; min-height: 400px; align-items: center; text-align: center; }
  .hero-content { margin: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; margin-bottom: 24px; }
  .hero-actions { justify-content: center; }
    .banner-dots { bottom: 16px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.section { margin-bottom: 40px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-size: 1.15rem; font-weight: 700; color: var(--text); }

/* Category chips */
.chip-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0; scrollbar-width: none; }
.chip-scroll::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 7px 16px; border-radius: var(--radius-full);
  background: var(--surface); border: 1.5px solid var(--border);
  font-size: .82rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; white-space: nowrap;
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-pale); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Category Animated Slider */
.category-slider {
  display: flex; gap: 16px; overflow-x: auto; padding: 10px 4px 20px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-slider::-webkit-scrollbar { display: none; }
.category-slider-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 100px; max-width: 100px; gap: 12px; cursor: pointer;
  scroll-snap-align: start; text-decoration: none; flex-shrink: 0;
  animation: slideUp .4s var(--ease) both;
}
.category-slider-card:hover .category-icon-wrap {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: var(--c-border);
}
.category-slider-card:active .category-icon-wrap { transform: scale(0.95); }
.category-icon-wrap {
  width: 76px; height: 76px; padding: 18px;
  border-radius: 20px; border: 2px solid transparent;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-sm);
}
.category-icon-wrap img { width: 100%; height: 100%; object-fit: contain; }
.category-name {
  font-size: .85rem; font-weight: 700; color: var(--text);
  text-align: center; line-height: 1.2;
}

@media (max-width: 768px) {
  .category-slider { margin-right: -20px; padding: 10px 20px 20px 24px; gap: 12px; }
  .category-slider-card { min-width: 80px; max-width: 80px; gap: 10px; }
  .category-icon-wrap { width: 68px; height: 68px; padding: 14px; border-radius: 16px; }
  .category-name { font-size: .75rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   EXPLORE LAYOUT
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.explore-layout { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.filter-panel { position: sticky; top: 80px; }
.filter-section { margin-bottom: 22px; }
.filter-section-title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 8px; }
.filter-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: var(--radius-sm);
  cursor: pointer; color: var(--text-muted); font-size: .875rem;
  transition: all var(--dur) var(--ease);
}
.filter-item:hover { background: var(--bg); color: var(--text); }
.filter-item.active { color: var(--primary); background: var(--primary-pale); font-weight: 600; }
.filter-count { font-size: .75rem; color: var(--text-faint); background: var(--bg); padding: 1px 7px; border-radius: var(--radius-full); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PRODUCT DETAIL
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--border); }
.gallery-main img { width: 100%; height: 420px; object-fit: cover; transition: transform .4s var(--ease); }
.gallery-main:hover img { transform: scale(1.03); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumb {
  width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm);
  border: 2px solid var(--border); cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.product-info h1 { font-size: 1.7rem; font-weight: 800; margin-bottom: 8px; line-height: 1.25; }
.product-cat-link { color: var(--primary); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.product-price-row { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.product-price-now { font-size: 2rem; font-weight: 800; color: var(--primary); }
.product-price-was { font-size: 1.1rem; color: var(--text-faint); text-decoration: line-through; }
.stock-label { display: flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 500; margin-bottom: 22px; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; }
.stock-in .stock-dot   { background: var(--success); }
.stock-low .stock-dot  { background: var(--warning); }
.stock-out .stock-dot  { background: var(--danger); }
.product-actions { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.product-desc { color: var(--text-muted); line-height: 1.8; font-size: .9rem; }
.product-desc-title { font-weight: 700; color: var(--text); font-size: .95rem; margin-bottom: 10px; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CART PAGE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.cart-item {
  display: flex; gap: 16px; padding: 18px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 12px;
  transition: all var(--dur) var(--ease);
}
.cart-item:hover { border-color: var(--border-h); box-shadow: var(--shadow-sm); }
.cart-item-img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); flex-shrink: 0; }
.cart-item-img.is-placeholder { object-fit: contain !important; padding: 18px !important; background: var(--bg); transition: none; }
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-title { font-weight: 600; font-size: .9rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: .85rem; color: var(--primary); font-weight: 700; }
.qty-control { display: flex; align-items: center; gap: 0; margin-top: 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); width: fit-content; overflow: hidden; }
.qty-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--bg); border: none; cursor: pointer; transition: background var(--dur) var(--ease); }
.qty-btn:hover { background: var(--primary-pale); }
.qty-val { width: 36px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: .875rem; font-weight: 600; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.cart-remove-btn { display: flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 500; color: var(--danger); cursor: pointer; margin-top: 8px; background: none; border: none; padding: 0; transition: opacity var(--dur) var(--ease); }
.cart-remove-btn:hover { opacity: .7; }
.cart-item-total { font-weight: 700; color: var(--text); font-size: .95rem; text-align: right; flex-shrink: 0; }

/* Checkout box */
.checkout-box { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 22px; position: sticky; top: 80px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .875rem; border-bottom: 1px solid var(--bg); }
.summary-row:last-child { border-bottom: none; }
.summary-total { font-weight: 700; font-size: 1rem; color: var(--text); }
.divider { height: 1px; background: var(--border); margin: 14px 0; }

/* Payment options */
.payment-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); margin-bottom: 8px; cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.payment-option.selected, .payment-option:hover { border-color: var(--primary); background: var(--primary-pale); }
.payment-option input[type="radio"] { accent-color: var(--primary); width: 16px; height: 16px; }
.payment-option-label { font-size: .875rem; font-weight: 600; }
.payment-option-sub { font-size: .78rem; color: var(--text-muted); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AUTH MODAL / CARD
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.auth-wrap { max-width: 420px; margin: 48px auto; }
.auth-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.auth-tab {
  flex: 1; padding: 12px; text-align: center;
  font-size: .875rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all var(--dur) var(--ease);
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.auth-form { animation: fadeIn .2s var(--ease); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PROFILE PAGE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.profile-layout { display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: start; }
.profile-sidebar { position: sticky; top: 80px; }
.profile-avatar { width: 56px; height: 56px; border-radius: var(--radius-full); background: var(--primary-pale); border: 2px solid var(--primary); display: flex; align-items: center; justify-content: center; }
.profile-nav { display: flex; flex-direction: column; gap: 2px; }
.profile-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500; color: var(--text-muted);
  cursor: pointer; transition: all var(--dur) var(--ease);
}
.profile-nav-link:hover { background: var(--bg); color: var(--text); }
.profile-nav-link.active { background: var(--primary-pale); color: var(--primary); font-weight: 600; }
.profile-nav-link.danger { color: var(--danger); }
.profile-nav-link.danger:hover { background: #fee2e2; }
.profile-stats-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.profile-stats-grid .card { flex: 1 1 200px; padding: 20px; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   EMPTY STATE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.empty-state { text-align: center; padding: 64px 24px; }
.empty-icon { width: 64px; height: 64px; margin: 0 auto 16px; opacity: .35; }
.empty-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.empty-text { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MODAL
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(64,81,78,.35); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  animation: fadeIn .2s var(--ease);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  width: 92%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  animation: slideUp .25s var(--ease); position: relative;
}
.modal-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 20px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; background: none;
  border: none; cursor: pointer; padding: 4px; border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease);
}
.modal-close:hover { background: var(--bg); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TOGGLE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.toggle-wrap { display: flex; align-items: center; gap: 10px; }
.toggle { position: relative; width: 44px; height: 24px; display: inline-block; }
.toggle input { display: none; }
.toggle-track {
  position: absolute; inset: 0; border-radius: var(--radius-full);
  background: var(--border); cursor: pointer; transition: background var(--dur) var(--ease);
}
.toggle input:checked + .toggle-track { background: var(--primary); }
.toggle-thumb {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px;
  box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease);
}
.toggle input:checked ~ .toggle-thumb { transform: translateX(20px); }





/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ADMIN LAYOUT
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--surface); border-right: 1.5px solid var(--border);
  padding: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.admin-wrapper.sidebar-collapsed .admin-sidebar { margin-left: -240px; }
.admin-sidebar-logo {
  padding: 20px 20px 16px; border-bottom: 1px solid var(--border);
  font-size: 1.1rem; font-weight: 800; color: var(--primary); letter-spacing: -.3px;
  display: flex; align-items: center; justify-content: center;
}
.admin-nav { padding: 10px 10px; flex: 1; }
.admin-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500; color: var(--text-muted);
  cursor: pointer; transition: all var(--dur) var(--ease); margin-bottom: 2px;
}
.admin-nav-item:hover { background: var(--bg); color: var(--text); }
.admin-nav-item.active { background: var(--primary-pale); color: var(--primary); font-weight: 600; }
.admin-nav-item.danger { color: var(--danger); }
.admin-nav-item.danger:hover { background: #fee2e2; }
.admin-nav-divider { height: 1px; background: var(--border); margin: 10px 0; }
.admin-main { flex: 1; display: flex; flex-direction: column; background: var(--bg); min-width: 0; }
.admin-grid-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.admin-grid-layout-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.admin-topbar {
  background: var(--surface); border-bottom: 1.5px solid var(--border);
  padding: 0 28px; height: 58px; display: flex; align-items: center;
  justify-content: space-between; position: sticky; top: 0; z-index: 50;
}
.admin-page-title { font-size: 1rem; font-weight: 700; color: var(--text); }
.admin-content { padding: 28px; flex: 1; }

/* Stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  transition: all var(--dur) var(--ease);
}
.stat-card:hover { box-shadow: var(--shadow); border-color: var(--border-h); }
.stat-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.stat-card-label { font-size: .78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.stat-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--primary-pale); display: flex; align-items: center; justify-content: center; }
.stat-value { font-size: 1.7rem; font-weight: 800; color: var(--text); line-height: 1; }
.stat-sub { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER (Native & Rich)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.site-footer {
  background: var(--surface); border-top: 1.5px solid var(--border);
  padding: 56px 0 0 0; margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
.footer-brand { color: var(--primary); font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -.5px; display: flex; align-items: center; }
.footer-desc { color: var(--text-muted); font-size: .88rem; line-height: 1.6; max-width: 320px; }
.footer-col h4 { color: var(--text); font-size: 1.05rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -.2px;}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); font-size: .88rem; font-weight: 500; transition: all var(--dur) var(--ease); display: inline-block; }
.footer-links a:hover { color: var(--primary); transform: translateX(4px); }
.footer-bottom {
  padding: 24px 0; border-top: 1px solid var(--border);
  background: var(--bg-alt); color: var(--text-muted); font-size: .85rem; font-weight: 500;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 20px; margin-bottom: 32px; }
  .footer-col:first-child { grid-column: span 2; }
  .site-footer { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-col:first-child { grid-column: span 1; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SKELETON
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.skeleton { background: linear-gradient(90deg, var(--bg) 25%, #c8eeea 50%, var(--bg) 75%); background-size: 200%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   KEYFRAMES
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown{ from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop      { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* --- Lightbox --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  transform: scale(0.9) translateY(20px);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.lightbox-overlay.active .lightbox-content {
  transform: scale(1) translateY(0);
}
.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  border: 4px solid rgba(255,255,255,0.1);
  background: #000;
}
.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
  background: var(--primary);
  color: white;
}

.fade-in   { animation: fadeIn  .3s var(--ease) both; }
.slide-up  { animation: slideUp .35s var(--ease) both; }

/* Theme utilities */
.hide-dark { display: block; }
.hide-light { display: none; }
body.dark .hide-dark { display: none; }
body.dark .hide-light { display: block; }

.share-icon-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    transition: all .2s var(--ease);
}
.share-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    background: #fff;
}
body.dark .share-icon-btn:hover { background: var(--bg-card); }
.share-icon-btn.wa:hover { border-color: #25D366; }
.share-icon-btn.tg:hover { border-color: #0088cc; }
.share-icon-btn.sm { width: 28px; height: 28px; }
.flex.wrap { flex-wrap: wrap; }
.mr-4 { margin-right: 4px; }




/* Staggered grid items */
.product-grid .product-card:nth-child(1)  { animation-delay: .03s; }
.product-grid .product-card:nth-child(2)  { animation-delay: .06s; }
.product-grid .product-card:nth-child(3)  { animation-delay: .09s; }
.product-grid .product-card:nth-child(4)  { animation-delay: .12s; }
.product-grid .product-card:nth-child(5)  { animation-delay: .15s; }
.product-grid .product-card:nth-child(6)  { animation-delay: .18s; }
.product-grid .product-card:nth-child(7)  { animation-delay: .21s; }
.product-grid .product-card:nth-child(8)  { animation-delay: .24s; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ADDRESS CARD
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.address-card {
  padding: 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); background: var(--bg);
  margin-bottom: 10px; transition: border-color var(--dur) var(--ease);
}
.address-card:hover { border-color: var(--border-h); }
.address-name { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.address-text { font-size: .82rem; color: var(--text-muted); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BREADCRUMB
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; margin-bottom: 24px; }
.breadcrumb-sep { color: var(--text-faint); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* â”€â”€ Profile Classic & Modern UI â”€â”€ */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.profile-sidebar .card {
  padding: 0 !important;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  background: var(--surface);
}

.profile-header {
  padding: 32px 24px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  background: var(--primary);
  color: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(17,153,158,0.2);
}

.profile-name { font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: -0.01em; }
.profile-email { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.profile-menu { padding: 12px 8px; }
.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all .2s var(--ease);
  margin-bottom: 2px;
}
.profile-menu-item img { opacity: 0.6; transition: inherit; }
.profile-menu-item:hover { background: var(--bg-alt); color: var(--text); }
.profile-menu-item.active {
  background: var(--primary-pale);
  color: var(--primary);
  font-weight: 600;
}
.profile-menu-item.active img { opacity: 1; filter: none; }

/* Orders Modern Card */
.orders-list { display: flex; flex-direction: column; gap: 20px; }
.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all .3s var(--ease);
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.order-card:hover { border-color: var(--primary); box-shadow: 0 10px 25px rgba(0,0,0,0.05); transform: translateY(-3px); }

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bg-alt);
  margin-bottom: 16px;
}
.order-id { font-weight: 800; color: var(--text); font-size: 1.15rem; margin-bottom: 4px; }
.order-date { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

.order-body { padding: 12px 0; }
.order-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }

.order-badge {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
}
.badge-pending { background: #fefce8; color: #854d0e; border: 1px solid #fef08a; }
.badge-processing { background: #eff6ff; color: #1e40af; border: 1px solid #dbeafe; }
.badge-shipped { background: #f5f3ff; color: #5b21b6; border: 1px solid #ede9fe; }
.badge-delivered { background: #f0fdf4; color: #166534; border: 1px solid #dcfce7; }
.badge-cancelled { background: #fef2f2; color: #991b1b; border: 1px solid #fee2e2; }

.order-actions { padding-top: 16px; }
.order-actions .btn { border-radius: 10px; font-weight: 700; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   IMAGE UPLOAD PREVIEW
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.img-preview-wrap {
  width: 100%; height: 120px; border: 2px dashed var(--border);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--dur) var(--ease); position: relative; overflow: hidden;
}
.img-preview-wrap:hover { border-color: var(--primary); background: var(--primary-pale); }
.img-preview-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.img-upload-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.img-placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text-muted); font-size: .8rem; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PAGINATION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 28px; }
.page-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text-muted); font-size: .85rem;
  cursor: pointer; transition: all var(--dur) var(--ease);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE BOTTOM NAV (Native App UI)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  height: 56px;
}
.mobile-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; flex: 1; color: var(--text-muted); font-size: 0.65rem; font-weight: 600;
  position: relative;
}
.mobile-nav-item.active { color: var(--primary); }
.mobile-nav-item img { width: 22px; height: 22px; opacity: 0.6; transition: opacity var(--dur) var(--ease); }
.mobile-nav-item.active img { opacity: 1; filter: brightness(0.9); }
.mobile-nav-badge {
  position: absolute; top: 6px; right: calc(50% - 18px);
  background: var(--danger); min-width: 16px; height: 16px; border-radius: 8px;
  color: #fff; font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #fff; padding: 0 4px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1024px) {
  .cart-layout           { grid-template-columns: 1fr; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .profile-layout        { grid-template-columns: 1fr; }
  .profile-nav {
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
  }
  .profile-nav-link {
    justify-content: flex-start;
    padding: 12px 16px;
    font-size: .85rem;
  }
  .profile-nav-divider { display: none; }
  .profile-stats-grid { gap: 8px; }
  .profile-stats-grid .card { padding: 10px 8px !important; }
  .profile-stats-grid .card div:first-child { font-size: 1rem !important; }
  .profile-stats-grid .card div.text-xs { font-size: .65rem !important; }
  .explore-layout        { grid-template-columns: 1fr; }
  .product-grid:not(.product-scroll-mobile) { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-grid:not(.product-scroll-mobile) .product-card-img-wrap { height: 160px; }
  
  /* Fix Admin mobile UI */
  .admin-grid-layout { grid-template-columns: 1fr; }
  .admin-grid-layout-2 { grid-template-columns: 1fr; }
  
  .admin-wrapper         { display: flex; flex-direction: column; }
  .admin-wrapper.sidebar-collapsed .admin-sidebar { display: none !important; margin-left: 0; }
  .admin-sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    margin: 0;
  }
  .admin-sidebar-logo { display: none; }
  .admin-sidebar > .flex { display: none !important; } /* Hide user info block on mobile */
  .admin-nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding: 12px;
    gap: 12px;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background: var(--surface); /* Ensure standard background on mobile */
  }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav-item {
    margin: 0;
    padding: 10px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
  }
  .admin-nav-item.active { background: var(--primary); border-color: var(--primary); color: #fff; }
  .admin-nav-divider { display: none; }
  .admin-nav-item.danger { margin-top: 0 !important; }
}
@media (max-width: 768px) {
  /* Hide top nav actions, show bottom nav */
  .nav-actions { display: none; }
  .mobile-bottom-nav { display: block; }
  .hide-desktop { display: flex !important; margin-right: -10px; }
  
  /* Adjust body padding for bottom nav */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .page-wrap { padding-top: 16px; }

  .hero { padding: 32px 20px; border-radius: var(--radius); }
  .hero h1 { font-size: 1.6rem; }
  .hero::before { right: -100px; top: -100px; width: 300px; height: 300px; }
  .form-row  { grid-template-columns: 1fr; }
  .form-row-3{ grid-template-columns: 1fr; }
  
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-main img { height: 280px; }
  .admin-content { padding: 18px; }

  /* Native Horizontal Scroll for Home Grids */
  .product-scroll-mobile {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px 20px 0;
    margin-right: -20px;
    scrollbar-width: none; /* Firefox */
    -webkit-overflow-scrolling: touch;
  }
  .product-scroll-mobile::-webkit-scrollbar { display: none; }
  .product-scroll-mobile .product-card {
    min-width: 150px;
    max-width: 150px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: var(--radius);
  }
  .product-scroll-mobile .product-card:first-child { margin-left: 2px; }
  .product-scroll-mobile .product-card-img-wrap { height: 150px; }
  .product-scroll-mobile .product-card-title { font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .product-scroll-mobile .product-card-body { padding: 10px; }
  .product-scroll-mobile .product-card-footer { padding: 10px; }
  .product-scroll-mobile .product-card-price .price-now { font-size: 0.95rem; }
  .product-scroll-mobile .btn { font-size: 0.75rem; height: 32px; padding: 0; }
  .product-scroll-mobile .btn img { width: 12px; height: 12px; }

  /* Compact admin table cells on mobile */
  .table-wrap th,
  .table-wrap td { padding: 8px 6px; font-size: .76rem; }
  .table-wrap td img { max-width: 28px !important; max-height: 28px !important; }
}
@media (max-width: 480px) {
  .product-grid:not(.product-scroll-mobile) { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-grid:not(.product-scroll-mobile) .product-card-img-wrap { height: 160px; }
  
  .cart-item { flex-direction: column; padding: 14px; }
  .cart-item-img { width: 100%; height: 180px; }
  .container { padding: 0 24px; }
  .hero { padding: 24px 24px; }
  .hero p { font-size: .9rem; margin-bottom: 16px; }
}
/* Utility */
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-primary { color: var(--primary); }
.text-danger  { color: var(--danger); }
.text-sm { font-size: .82rem; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: 4px !important; }
.mt-8 { margin-top: 8px !important; }
.mt-12 { margin-top: 12px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-48 { margin-top: 48px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 4px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-48 { margin-bottom: 48px !important; }
.gap-8  { gap: 8px; }
.gap-10 { gap: 10px; }
.flex   { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100% !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.flex-1 { flex: 1 !important; }
.grid { display: grid !important; }
.grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr !important; } }

.btn-icon { 
    display: flex; align-items: center; justify-content: center; 
    width: 32px; height: 32px; border-radius: 8px; 
    cursor: pointer; transition: all .2s var(--ease);
    font-size: 16px; line-height: 1;
}
.btn-icon:hover { background: var(--surface); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-icon.text-danger { border-color: rgba(220,38,38,0.2); }
.btn-icon.text-danger:hover { background: #fee2e2; border-color: var(--danger); }

.address-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: all .2s var(--ease);
}
.address-card:hover { border-color: var(--primary-hl); box-shadow: var(--shadow-sm); }
.address-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GLOBAL MOBILE FIXES & REFINEMENTS
   Ensuring 100% Responsiveness
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Prevent horizontal scroll on the entire body */
body { overflow-x: hidden; width: 100%; position: relative; }

/* Table Responsiveness */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    scrollbar-width: thin;
}
.table-wrap::-webkit-scrollbar { height: 4px; }
.table-wrap table { min-width: 600px; } /* Ensure table doesn't squish too much */

@media (max-width: 1024px) {
    .admin-wrapper { grid-template-columns: 1fr; }
    .admin-sidebar { 
        height: auto; 
        position: relative; 
        top: 0; 
        border-right: none; 
        border-bottom: 1.5px solid var(--border);
    }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .page-wrap { padding: 16px 0; }
    .section .section-header { padding-left: 0; }
    
    /* Headings scaling */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    .card { padding: 16px; }
    
    /* Order Cards in Profile */
    .order-header { flex-direction: column; gap: 8px; align-items: flex-start; }
    .order-price { font-size: 1.1rem; }
    
    /* Navbar adjustments */
    .navbar { height: 60px; }
    
    /* Admin specifically */
    .admin-content { padding: 16px; }
    .admin-topbar { padding: 8px 16px; min-height: 50px; height: auto; flex-wrap: wrap; row-gap: 6px; }
    .admin-nav { gap: 8px; padding: 10px; }
    .admin-nav-item { padding: 8px 14px; font-size: 0.8rem; }
    
    /* Hide some table columns on search / mobile if possible but table-wrap handles it */
}

@media (max-width: 480px) {
    .btn { padding: 10px 16px; font-size: 0.85rem; }
    .alert { padding: 12px; font-size: 0.85rem; }
    
    /* Product feed */
    .product-grid:not(.product-scroll-mobile) {
        grid-template-columns: 1fr; /* Single column on very small screens for readability */
    }
    
    .stat-grid { grid-template-columns: 1fr; }
}

/* Ensure no fixed widths break layout */
div, section, header, footer { max-width: 100%; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ACTIVITY TIMELINE (Order Logs)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.activity-timeline {
  position: relative;
  padding: 4px 0 0 0;
}
.activity-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
}
.timeline-item {
  display: flex;
  gap: 14px;
  padding: 0 0 20px 0;
  position: relative;
  animation: fadeIn .3s var(--ease) both;
}
.timeline-item:last-child { padding-bottom: 4px; }
.timeline-dot {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--surface), var(--shadow-sm);
  transition: transform .2s var(--ease);
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.12);
}
.timeline-content {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.timeline-item:hover .timeline-content {
  border-color: var(--border-h);
  box-shadow: var(--shadow-sm);
}
.timeline-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.timeline-admin {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
}
.timeline-badge {
  font-size: .7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: .02em;
}
.timeline-change {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  margin-bottom: 4px;
}
.timeline-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}
.timeline-new {
  color: var(--primary);
  font-weight: 700;
}
.timeline-time {
  font-size: .72rem;
  color: var(--text-faint);
  font-weight: 500;
}

@media (max-width: 768px) {
  .timeline-content { padding: 8px 10px; }
  .timeline-dot { width: 26px; height: 26px; min-width: 26px; }
  .timeline-dot img { width: 12px !important; height: 12px !important; }
  .activity-timeline::before { left: 12px; }
}

