/* ── KU SHOPLICITY — SHARED STYLES ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ku-red: #C81D25;
  --ku-red-dark: #a01820;
  --ku-red-light: rgba(200,29,37,0.08);
  --ku-red-mid: rgba(200,29,37,0.15);
  --ku-blue: #1A3A6E;
  --ku-blue-light: rgba(26,58,110,0.07);
  --ku-gold: #F5A623;
  --ink: #0B0D14;
  --ink-2: #3a3d4a;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --border: rgba(11,13,20,0.09);
  --border-strong: rgba(11,13,20,0.16);
  --card: #ffffff;
  --bg: #f7f8fa;
  --bg-2: #f0f1f4;
  --success: #16a34a;
  --success-light: rgba(22,163,74,0.08);
  --warning: #d97706;
  --warning-light: rgba(217,119,6,0.08);
  --error: #dc2626;
  --error-light: rgba(220,38,38,0.08);
  --shadow-xs: 0 1px 3px rgba(11,13,20,0.05);
  --shadow-sm: 0 2px 8px rgba(11,13,20,0.07);
  --shadow-md: 0 4px 16px rgba(11,13,20,0.10);
  --shadow-lg: 0 12px 40px rgba(11,13,20,0.13);
  --shadow-xl: 0 20px 60px rgba(11,13,20,0.18);
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --header-h: 62px;
  --grad-brand: linear-gradient(135deg, var(--ku-red), var(--ku-blue));
  --grad-brand-soft: linear-gradient(135deg, var(--ku-red-light), var(--ku-blue-light));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #ffffff;
  color: var(--ink);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; line-height: 1.25; }
a { text-decoration: none; }

/* ── UTILITY ── */
.hidden { display: none !important; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.w-full { width: 100%; }
.text-muted { color: var(--muted); }
.text-red { color: var(--ku-red); }
.text-sm { font-size: 12px; }
.font-bold { font-weight: 700; }

/* ── SITE HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}

.logo {
  width: 36px; height: 36px; border-radius: 10px;
  overflow: hidden; background: var(--ku-red-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.logo img { width: 100%; height: 100%; object-fit: contain; }

.logo-fallback {
  width: 100%; height: 100%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Poppins', sans-serif;
  font-weight: 900; font-size: 16px;
}

.site-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -0.4px;
}

.site-tag { font-size: 10px; color: var(--muted); font-weight: 500; letter-spacing: 0.3px; }

.nav-controls { display: flex; align-items: center; gap: 4px; }

.nav-link {
  position: relative; background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--ink-2); padding: 7px 11px; border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s; white-space: nowrap;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}

.nav-link:hover { background: var(--bg); color: var(--ink); }
.nav-link.active { color: var(--ku-red); }

.badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ku-red); color: #fff; font-size: 10px; font-weight: 700;
  min-width: 17px; height: 17px; border-radius: var(--radius-full); padding: 0 4px;
}

/* ── ACCOUNT BUTTON ── */
.account-btn {
  position: relative; display: flex; align-items: center; gap: 8px;
  background: none; border: 1.5px solid var(--border); cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--ink); padding: 6px 12px 6px 7px; border-radius: var(--radius-full);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.account-btn:hover { border-color: var(--ku-red); box-shadow: 0 0 0 3px var(--ku-red-light); }

.account-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700; flex-shrink: 0;
}

/* ── DROPDOWN ── */
.account-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 300px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-xl);
  overflow: hidden; z-index: 200; animation: dropIn 0.18s ease;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-account-wrap { position: relative; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: var(--radius-sm); border: none;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 700; transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 4px 12px rgba(200,29,37,0.2);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(200,29,37,0.3); }

.btn-outline {
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--border-strong);
}

.btn-outline:hover { background: var(--bg); border-color: var(--ku-red); color: var(--ku-red); }

.btn-ghost {
  background: none; color: var(--ink-2); border: none;
}

.btn-ghost:hover { background: var(--bg); color: var(--ink); }

.btn-danger { background: var(--error); color: #fff; }
.btn-danger:hover { background: #b91c1c; }

.btn-sm { padding: 7px 12px; font-size: 12px; border-radius: var(--radius-xs); }
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-full { width: 100%; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── FORM ELEMENTS ── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.form-label {
  font-size: 12px; font-weight: 700; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--bg);
  font-size: 13px; font-family: 'DM Sans', sans-serif; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--ku-red);
  background: #fff; box-shadow: 0 0 0 3px var(--ku-red-light);
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--muted-2); }
.form-textarea { resize: vertical; min-height: 90px; }

.form-select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 34px;
}

.form-hint  { font-size: 11px; color: var(--muted); }
.form-error { font-size: 11px; color: var(--error); font-weight: 600; }

.input-wrap { position: relative; }

.input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}

.input-icon-right {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  cursor: pointer; color: var(--muted); background: none; border: none;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s;
}

.input-icon-right:hover { color: var(--ink); }
.input-has-icon       { padding-left: 38px; }
.input-has-icon-right { padding-right: 38px; }

/* ── CARD ── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card-body   { padding: 20px; }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-footer { padding: 14px 20px; border-top: 1px solid var(--border); background: var(--bg); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  padding: 12px 18px; border-radius: 10px;
  font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg);
  z-index: 9999; animation: slideUp 0.3s ease;
  display: flex; align-items: center; gap: 8px;
  max-width: 360px;
}

.toast-success { background: var(--success); color: #fff; }
.toast-error   { background: var(--error);   color: #fff; }
.toast-info    { background: var(--ink);      color: #fff; }
.toast-warning { background: var(--warning);  color: #fff; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(11,13,20,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); width: 100%; max-width: 460px;
  animation: modalIn 0.24s ease;
  max-height: 90vh; overflow-y: auto;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}

.modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px; font-weight: 800; color: var(--ink);
}

.modal-close {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: none; background: none; cursor: pointer; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.modal-close:hover { background: var(--bg); color: var(--ink); }
.modal-body   { padding: 20px 24px; }
.modal-footer { padding: 14px 24px 20px; display: flex; gap: 10px; justify-content: flex-end; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ── SECTION HEADER ── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px;
}

/* ── STATUS CHIPS ── */
.status-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  text-transform: uppercase;
}

.status-active    { background: var(--success-light); color: var(--success); }
.status-pending   { background: var(--warning-light); color: var(--warning); }
.status-sold      { background: var(--ku-red-light);  color: var(--ku-red); }
.status-cancelled { background: var(--bg-2);          color: var(--muted); }
.status-new       { background: var(--ku-blue-light); color: var(--ku-blue); }

/* ── FOOTER ── */
.site-footer {
  margin: 32px auto 20px; max-width: 1200px;
  padding: 20px 16px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}

.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

.footer-links a {
  font-size: 12px; color: var(--muted); text-decoration: none;
  cursor: pointer; transition: color 0.15s;
}

.footer-links a:hover { color: var(--ku-red); }
.footer-copy { font-size: 11px; color: #b0b5be; }

/* ── RESPONSIVE (original) ── */
@media (max-width: 480px) {
  .site-title { font-size: 15px; }
  .site-tag   { display: none; }
}

/* ── SKELETON LOADER (shared) ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg) 25%, var(--bg-2) 50%, var(--bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── PAGE LOADING OVERLAY ── */
.page-loading {
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px; color: var(--muted);
}
.page-loading-spinner {
  width: 28px; height: 28px; border: 3px solid var(--border);
  border-top-color: var(--ku-red); border-radius: 50%;
  animation: spin 0.7s linear infinite; margin-right: 10px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── CONNECTION ERROR BANNER ── */
.connection-banner {
  background: var(--warning-light); border: 1px solid var(--warning);
  border-radius: var(--radius-sm); padding: 10px 14px;
  font-size: 12px; color: var(--warning); font-weight: 600;
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — GLOBAL OVERRIDES
   Targets: phones (≤480px) and small tablets (≤640px, ≤768px)
   ═══════════════════════════════════════════════════════════════ */

/* ── HEADER ── */
@media (max-width: 640px) {
  :root { --header-h: 54px; }

  .site-header {
    padding: 0 12px;
    height: 54px;
    gap: 8px;
  }

  .site-title { font-size: 14px; }
  .site-tag   { display: none; }

  .nav-controls { gap: 2px; }

  .nav-link {
    padding: 5px 7px;
    font-size: 11px;
  }

  .account-btn {
    padding: 5px 8px 5px 6px;
    font-size: 12px;
  }

  .account-dropdown {
    width: calc(100vw - 24px);
    right: 0;
    left: auto;
  }

  /* Toast — full width on mobile */
  .toast {
    bottom: 12px;
    right: 12px;
    left: 12px;
    max-width: 100%;
    font-size: 12px;
  }

  /* Modal — full screen on mobile */
  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal {
    max-width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 92vh;
  }
  .modal-header { padding: 18px 18px 14px; }
  .modal-body   { padding: 16px 18px; }
  .modal-footer { padding: 12px 18px 18px; }
}

/* ── FOOTER ── */
@media (max-width: 480px) {
  .site-footer { padding: 16px 12px; gap: 10px; }
  .footer-links { gap: 12px; }
  .footer-links a { font-size: 11px; }
  .footer-copy { font-size: 10px; text-align: center; }
}

/* ── BUTTONS — min touch target 44px ── */
@media (max-width: 640px) {
  .btn-full { width: 100%; }
}

/* ── FORMS ── */
@media (max-width: 480px) {
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* prevent iOS zoom */
    padding: 12px 14px;
  }
  .input-has-icon { padding-left: 38px; }
  .form-group { margin-bottom: 14px; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE HAMBURGER MENU SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* Hamburger button — hidden on desktop */
.hamburger-btn {
  display: none;
  width: 38px; height: 38px;
  border: none; background: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; border-radius: var(--radius-sm); flex-shrink: 0;
  padding: 4px;
  position: relative;
  transition: box-shadow 0.25s;
}
.hamburger-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all 0.25s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Red glow + dot when there are unread items */
.hamburger-btn.has-alert {
  box-shadow: 0 0 0 2px rgba(200,29,37,0.25), 0 0 10px 2px rgba(200,29,37,0.18);
  border-radius: 8px;
}
.hamburger-btn.has-alert span {
  background: var(--ku-red);
}
/* The red dot */
.hamburger-btn.has-alert::after {
  content: '';
  position: absolute;
  top: 3px; right: 3px;
  width: 9px; height: 9px;
  background: var(--ku-red);
  border-radius: 50%;
  border: 2px solid #fff;
  animation: hamPulse 1.8s ease-in-out infinite;
}
@keyframes hamPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,29,37,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(200,29,37,0); }
}

/* ── BELL SHAKE ── fires when unread notifications or new orders arrive */
@keyframes bellShake {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(18deg); }
  20%  { transform: rotate(-16deg); }
  30%  { transform: rotate(14deg); }
  40%  { transform: rotate(-12deg); }
  50%  { transform: rotate(10deg); }
  60%  { transform: rotate(-8deg); }
  70%  { transform: rotate(6deg); }
  80%  { transform: rotate(-4deg); }
  90%  { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}
.bell-shake { animation: bellShake 0.8s ease-in-out; transform-origin: top center; }

/* ── NOTIFICATION DROPDOWN ── */
.notif-dropdown {
  position: fixed;
  top: calc(var(--header-h, 62px) + 6px);
  right: 16px;
  width: 340px;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.16);
  z-index: 1000;
}
@media (max-width: 600px) {
  .notif-dropdown {
    right: 12px;
    left: 12px;
    width: auto;
  }
}

/* Mobile drawer nav */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-h, 62px); left: 0; right: 0;
  background: #fff;
  border-bottom: 2px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 99;
  padding: 12px 16px 16px;
  flex-direction: column;
  gap: 4px;
  animation: drawerIn 0.2s ease;
}
.mobile-nav-drawer.open { display: flex; }
@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav-drawer .nav-link {
  width: 100%; text-align: left;
  padding: 12px 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 8px;
}
.mobile-nav-drawer .nav-link:hover { background: var(--bg); }
.mobile-nav-divider {
  height: 1px; background: var(--border);
  margin: 6px 0;
}
.mobile-nav-user {
  padding: 12px 14px;
  background: var(--bg); border-radius: var(--radius-sm);
  margin-bottom: 4px;
}
.mobile-nav-user strong { display: block; font-size: 13px; color: var(--ink); }
.mobile-nav-user span   { font-size: 12px; color: var(--muted); }
.mobile-drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 98;
}
.mobile-drawer-overlay.open { display: block; }

/* ═══════════════════════════════════════════════════════════════
   GLOBAL MOBILE STYLES
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  :root { --header-h: 58px; }

  /* HEADER */
  .site-header { padding: 0 14px; height: 58px; gap: 8px; }
  .site-tag   { display: none; }
  .site-title { font-size: 15px; }

  /* Hide desktop nav, show hamburger */
  .nav-controls .nav-link,
  .nav-controls .nav-account-wrap { display: none !important; }
  .hamburger-btn { display: flex; }

  /* Toast */
  .toast { bottom: 16px; right: 12px; left: 12px; max-width: none; font-size: 12px; }

  /* Modal — slide up from bottom */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal {
    max-width: 100%; width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 94vh;
  }
  .modal-header { padding: 20px 18px 14px; }
  .modal-body   { padding: 16px 18px; }
  .modal-footer { padding: 12px 18px 20px; flex-direction: column; }
  .modal-footer .btn { width: 100%; }
}

@media (max-width: 480px) {
  /* Prevent iOS zoom on inputs */
  input, select, textarea { font-size: 16px !important; }
  .form-input, .form-select, .form-textarea { font-size: 16px !important; padding: 12px 14px; }
  .input-has-icon       { padding-left: 40px !important; }
  .input-has-icon-right { padding-right: 40px !important; }

  /* Buttons — comfortable touch targets */
  .btn    { min-height: 42px; }
  .btn-sm { min-height: 36px; font-size: 12px; }
  .btn-lg { padding: 13px 22px; min-height: 48px; }
  .btn-full { width: 100%; }

  /* Footer */
  .site-footer { padding: 16px 12px 20px; gap: 10px; }
  .footer-links { gap: 10px; }
  .footer-links a { font-size: 11px; }
  .footer-copy { font-size: 10px; text-align: center; }

  /* Section headers */
  .section-title  { font-size: 15px; }
  .section-header { flex-wrap: wrap; gap: 8px; }
}

/* ── SOLD-OUT CARD STATE ── */
.product-card.sold-out { opacity: 0.72; }
.product-card.sold-out .product-img-wrap img { filter: grayscale(30%); }
.product-card.sold-out .pcard-cart { opacity: 0.45; cursor: not-allowed; }

/* ── DROPDOWN FEATURE ITEM (shared across pages) ── */
.dropdown-feature-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--radius-sm);
  cursor: pointer; transition: background 0.15s;
  text-decoration: none; color: inherit;
}
.dropdown-feature-item:hover { background: var(--bg); }
.feature-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; color: var(--ku-red);
}
.feature-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.feature-text span   { font-size: 11px; color: var(--muted); }

/* ── PCARD BADGES (absolute overlay chips on product image) ── */
.pcard-badges {
  position: absolute; top: 8px; left: 8px;
  display: flex; flex-direction: column; gap: 4px;
}

/* ── AVATAR UPLOAD BUTTON ── */
.avatar-upload-label {
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; font-size: 13px; font-weight: 600;
}

/* ── PRODUCT DETAIL PAGE ── */
.product-detail-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted); margin-bottom: 18px;
  flex-wrap: wrap;
}
.product-detail-breadcrumb a { color: var(--muted); text-decoration: none; }
.product-detail-breadcrumb a:hover { color: var(--ku-red); }
.product-detail-breadcrumb span { color: var(--muted-2); }

/* ── SAVED BUTTON ACTIVE STATE ── */
.saved-btn-active { color: var(--ku-red) !important; }

/* ── PRODUCT CARD HOVER FIX ON MOBILE ── */
@media (hover: none) {
  .product-img-overlay { display: none; }
  .product-card:hover { transform: none; box-shadow: var(--shadow-sm); }
}

/* ── PRODUCT CARD HOVER FIX — already handled above ── */