/* =========================
   CSS VARIABLES - Pastel Green/Mint Palette (Soft Tone)
   ========================= */
:root {
  /* === Pastel Mint — primary / sidebar / accent === */
  --mint-50:  #f4fdf9;      /* พื้นหลังอ่อนมาก */
  --mint-100: #e0f7ed;      /* พื้นหลังอ่อน */
  --mint-200: #b8ebd4;      /* accent อ่อน */
  --mint-300: #8fdfba;      /* ★ accent หลัก */
  --mint-400: #6dd3a3;      /* hover สดขึ้นนิด */
  --mint-500: #4caf8a;      /* ★ sidebar bg */
  --mint-600: #3d8c6f;      /* เข้มขึ้น */
  --mint-700: #2f6b54;      /* เข้มพอใช้ text */
  --mint-800: #234d3d;
  --mint-900: #1a3d30;
  --mint-1000: #25A385;


   --mint-light-50: #E8F6F3;
  --mint-light-100: #B5E3D9;
  --mint-light-200: #82D1BF;
  --mint-light-300: #4FBEA5;
  --mint-light-400: #25A385;    /* base */

  --mint-dark-500: #1E826A;
  --mint-dark-600: #176250;
  --mint-dark-700: #104135;
  --mint-dark-800: #08211B;



  /* === Sage Green — secondary / badge / tag === */
  --sage-50:  #f0f6f0;
  --sage-100: #d9ebd9;
  --sage-200: #b3d9b3;
  --sage-300: #8cc68c;      /* ★ secondary accent */
  --sage-400: #66b366;
  --sage-500: #4d994d;      /* ★ badge text */
  --sage-600: #3d7a3d;
  --sage-700: #2e5c2e;
  --sage-800: #204020;
  --sage-900: #152b15;

  /* === Neutrals — Warm Gray (อุ่นนุ่ม) === */
  --gray-50:  #fafaf9;      /* เนื้อครีมอ่อน */
  --gray-100: #f5f5f3;      /* พื้นหลังการ์ด */
  --gray-200: #e8e8e5;      /* border อ่อน */
  --gray-300: #d4d4cf;
  --gray-400: #a8a8a0;
  --gray-500: #787870;
  --gray-600: #5a5a52;
  --gray-700: #3f3f39;
  --gray-800: #2b2b26;
  --gray-900: #1a1a16;

  /* === Semantic Colors === */
  --bg-main:           #f9fcfb;   /* mint-50 + warm → พื้นหลังหน้าอ่อนมาก */
  --bg-surface:        #ffffff;   /* card / panel ขาวสะอาด */
  --bg-sidebar:        #e8f8ef;   /* ★ เปลี่ยน: เขียวอ่อนมากๆ */
  --bg-sidebar-hover:  rgba(111,201,159,0.15);
  --bg-sidebar-active: rgba(111,201,159,0.25);

  --text-primary:   #2f5045;    /* เขียวเข้มแต่อ่านง่าย */
  --text-secondary: #4a7060;    /* เขียวกลาง */
  --text-muted:     #7a9b8b;    /* เขียวอ่อน */
  --text-on-dark:   #e8f5f0;    /* บน sidebar */
  --text-dark:   #ffffff;    /* บน sidebar */

  --accent:        var(--mint-300);  /* accent หลัก — อ่อนกว่าเดิมเยอะ */
  --accent-light:  var(--mint-100);
  --accent-border: var(--mint-200);

  /* === Border === */
  --border:        1px solid #e0ede5;   /* mint-200 อ่อน */
  --border-accent: 1px solid var(--mint-200);

  /* === Shadow — ลดความเข้มลง === */
  --shadow-xs: 0 1px 3px rgba(92,189,154,0.06);
  --shadow-sm: 0 2px 6px rgba(92,189,154,0.08);
  --shadow-md: 0 4px 12px rgba(92,189,154,0.10);

  /* === Radius === */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* === Transition === */
  --transition: 0.2s ease;
}

/* =========================
   RESET
   ========================= */
*, *::before, *::after { box-sizing: border-box; }

/* =========================
   BODY
   ========================= */
body {
  margin: 0;
  padding: 0;
  font-family: 'Kanit', sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =========================
   LAYOUT
   ========================= */
.layout {
  display: flex;
  min-height: 100vh;
}

/* =========================
   SIDEBAR — Very Light Pastel Green
   ========================= */
.sidebar {
  width: 220px;
  height: calc(100vh - 24px);
  position: sticky;
  top: 12px;
  align-self: flex-start;
  background: var(--mint-light-400);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 22px 14px 18px;
  margin: 12px 0 12px 12px;
  border-radius: var(--radius-xl);
  flex-shrink: 0;
  transition: width var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #c8e8d6;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.logo-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: 2px solid rgba(111,201,159,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-circle img { width: 50px; }

.brand {
  font-size: 24px;
  font-weight: 600;
  color: var(--bg-surface);
  letter-spacing: 0.6px;
  opacity: 0.95;
}

/* Menu */
.menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--bg-surface);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: all var(--transition);
  white-space: nowrap;
}

.menu-item:hover {
  background: rgba(111,201,159,0.18);
  color: var(--mint-800);
}

.menu-item.active {
  background: var(--mint-light-300);
  color: var(--text-dark);
  font-weight: 600;
}


.menu-icon {
  font-size: 19px;
  opacity: 0.85;
  flex-shrink: 0;
  color: var(--mint-200);
}


/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mint --mint-1000);
  padding: 5px;
  align-self: flex-start;
}

/* Toggle btn */
.toggle-btn {
  margin-top: auto;
  padding: 10px 14px;
  background: none;
  border: none;
  border-top: 1px solid rgba(111,201,159,0.20);
  color: var(--mint-600);
  cursor: pointer;
  font-family: 'Kanit', sans-serif;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
  width: 100%;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.toggle-btn:hover { color: var(--mint-800); }

/* Collapsed */
.sidebar.collapsed { width: 68px; }
.sidebar.collapsed .menu-text,
.sidebar.collapsed .brand { display: none; }
.sidebar.collapsed .menu-item { justify-content: center; padding: 10px; }
.sidebar.collapsed .logo-circle { width: 48px; height: 48px; }
.sidebar.collapsed .logo-circle img { width: 32px; }
.sidebar.collapsed .logo { margin-bottom: 18px; }

/* =========================
   CONTENT
   ========================= */
.content {
  flex: 1;
  min-width: 0;
  padding: 20px 20px 20px 18px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* =========================
   CONTENT LAYOUT (2 col)
   ========================= */
.content-layout {
  display: flex;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}

.main-content { flex: 1; min-width: 0; }

.right-column {
  flex: 0 0 270px;
  width: 270px;
}

.right-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* =========================
   HEADER
   ========================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  box-shadow: var(--shadow-xs);
}

.header-left h2 {
  margin: 0 0 3px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.subtext {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* =========================
   LOGOUT BTN
   ========================= */
.logout-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Kanit', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.logout-btn:hover {
  border-color: #f5c2c2;
  color: #d95858;
  background: #fff8f8;
}

/* =========================
   MINI CARDS
   ========================= */
.shop-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-surface);
  border: var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
  min-height: 80px;
  box-shadow: var(--shadow-xs);
}

.mini-card:hover {
  border-color: var(--mint-200);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box .material-symbols-outlined { font-size: 22px; }

.card-info { text-align: left; flex: 1; min-width: 0; }

.card-info h3 {
  margin: 0 0 3px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

.card-info p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Themes — Pastel Soft */
.shop { border-left: 3px solid var(--mint-300); }
.shop .icon-box { background: var(--mint-100); }
.shop .icon-box .material-symbols-outlined { color: var(--mint-600); }

.trip { border-left: 3px solid #d9c896; }
.trip .icon-box { background: #fdf8ed; }
.trip .icon-box .material-symbols-outlined { color: #b39a5a; }

.claim { border-left: 3px solid #e8b8b8; }
.claim .icon-box { background: #fef5f5; }
.claim .icon-box .material-symbols-outlined { color: #c77777; }

/* =========================
   ACTION CARDS
   ========================= */
.actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  border: var(--border);
  text-decoration: none;
  color: inherit;
  min-height: 160px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.action-card::before {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  opacity: 0.15;
  transition: transform var(--transition);
}

.action-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-3px);
}

.action-card:hover::before { transform: scale(1.4); }

.action-card .material-symbols-outlined {
  font-size: 30px;
  margin-bottom: 14px;
}

.action-card h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 600;
}

.action-card p {
  margin: 0;
  font-size: 12.5px;
  opacity: 0.80;
  line-height: 1.5;
}

/* Action Themes — Pastel */
.theme-green {
  background: var(--mint-100);
  color: var(--text-primary);
  border-color: var(--mint-200);
}
.theme-green::before { background: var(--mint-light-400); }

.theme-yellow {
  background: linear-gradient(145deg, #fef9ed 0%, #fcf2d9 100%);
  color: #5a4a28;
  border-color: #f0e3bc;
}
.theme-yellow::before { background: #d9c896; }

.theme-pink {
  background: linear-gradient(145deg, #fef5f5 0%, #fce8e8 100%);
  color: #6b3535;
  border-color: #f0d0d0;
}
.theme-pink::before { background: #e8b8b8; }

/* =========================
   PROGRESS CARD
   ========================= */
.progress-card {
  background: var(--bg-surface);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}

.progress-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.progress-bar {
  width: 100%;
  height: 7px;
  background: var(--mint-100);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--mint-400), var(--mint-500));
  transition: width 0.6s ease;
  border-radius: 999px;
}

.progress-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* =========================
   MY REPORTS
   ========================= */
.my-report {
  background: var(--bg-surface);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-xs);
}

.my-report h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.report-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  margin-bottom: 3px;
}

.report-item:hover { background: var(--mint-50); }

.report-left {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
}

.report-left a {
  text-decoration: none;
  color: var(--mint-700);
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-left a:hover { text-decoration: underline; }

.report-actions { display: flex; gap: 3px; flex-shrink: 0; }

.report-actions button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 5px 7px;
  border-radius: 7px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.report-actions button:hover {
  background: var(--mint-100);
  color: var(--text-primary);
}

/* =========================
   USER CARD
   ========================= */
.user-card {
  background: var(--bg-surface);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: var(--shadow-xs);
}

.avatar-wrapper {
  position: relative;
  cursor: pointer;
}

.avatar-wrapper img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--mint-200);
}

.user-info h4 {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.user-info p {
  margin: 0 0 7px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.user-info span {
  font-size: 12px;
  background: var(--mint-100);
  padding: 4px 12px;
  border-radius: 99px;
  color: var(--mint-700);
  font-weight: 500;
  border: 1px solid var(--mint-200);
}

/* =========================
   CALENDAR CARD
   ========================= */
.calendar-card {
  background: var(--bg-surface);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-xs);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calendar-header h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}

.calendar-nav { display: flex; gap: 5px; }

.calendar-nav button {
  width: 28px;
  height: 28px;
  border: var(--border);
  background: none;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.calendar-nav button:hover {
  border-color: var(--mint-200);
  color: var(--mint-600);
  background: var(--mint-50);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
}

.calendar-day-header {
  font-size: 10.5px;
  color: var(--text-muted);
  padding: 5px 0;
  font-weight: 500;
}

.calendar-day {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  border-radius: 7px;
  cursor: pointer;
  color: var(--text-secondary);
  margin: 0 auto;
  transition: all var(--transition);
}

.calendar-day:hover { background: var(--mint-100); }

.calendar-day.today {
  background: linear-gradient(135deg, var(--mint-400), var(--mint-500));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(92,189,154,0.25);
}

.calendar-day.has-report {
  background: var(--mint-100);
  color: var(--mint-700);
  font-weight: 600;
  border: 1.5px solid var(--mint-200);
}

/* =========================
   OPEN SHOP CARD
   ========================= */
.open-shop-card {
  background: var(--bg-surface);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}

.open-shop-card:hover {
  border-color: var(--mint-200);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.open-shop-icon { color: var(--mint-500); margin-bottom: 8px; }
.open-shop-icon .material-symbols-outlined { font-size: 38px; }

.open-shop-card h4 {
  margin: 3px 0;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
}

.open-shop-card p {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.open-shop-badge {
  display: inline-block;
  background: var(--mint-100);
  padding: 3px 12px;
  border-radius: 14px;
  font-size: 11.5px;
  color: var(--mint-600);
  border: 1px solid var(--mint-200);
  font-weight: 500;
}

/* =========================
   ADMIN BUTTON
   ========================= */
.admin-only { display: none !important; }
body.is-admin .admin-only { display: flex !important; }

body.is-admin .admin-only {
  width: 100%;
  padding: 11px 16px;
  background: var(--mint-500) !important;
  color: white !important;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  cursor: pointer;
  font-size: 13.5px;
  display: flex !important;
  align-items: center;
  gap: 7px;
  justify-content: center;
  transition: background var(--transition);
  box-shadow: var(--shadow-xs);
}

body.is-admin .admin-only:hover {
  background: var(--mint-600) !important;
  box-shadow: var(--shadow-sm);
}

/* =========================
   ROLE-BASED
   ========================= */
.user-badge {
  background: var(--mint-100);
  color: var(--mint-700);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid var(--mint-200);
}

/* =========================
   MATERIAL ICONS
   ========================= */
.material-symbols-outlined { font-size: 20px; }

/* =========================
   LOADING OVERLAY
   ========================= */
#loadingOverlay {
  background: rgba(249,252,251,0.94) !important;
}

/* =========================
   RESPONSIVE — LARGE DESKTOP
   ========================= */
@media (min-width: 1440px) {
  .sidebar { width: 236px; }
  .right-column { flex: 0 0 290px; width: 290px; }
}

/* =========================
   TABLET LANDSCAPE (768–1199px)
   ========================= */
@media (min-width: 768px) and (max-width: 1199px) {
  .sidebar { width: 190px; padding: 18px 12px; margin: 10px 0 10px 10px; }
  .logo-circle { width: 64px; height: 64px; }
  .logo-circle img { width: 42px; }
  .brand { font-size: 18px; }
  .menu-item { font-size: 13px; padding: 9px 12px; }

  .content { padding: 16px 16px 16px 14px; }

  .content-layout { gap: 16px; }
  .right-column { flex: 0 0 250px; width: 250px; }

  .shop-cards { gap: 10px; }
  .mini-card { padding: 14px 14px; gap: 12px; min-height: 70px; }
  .card-info h3 { font-size: 19px; }

  .actions { gap: 10px; }
  .action-card { min-height: 140px; padding: 18px 16px; }

  .calendar-day { width: 26px; height: 26px; font-size: 11px; }
}

/* =========================
   MOBILE (≤767px)
   ========================= */
@media (max-width: 767px) {
  .layout { flex-direction: column; background: var(--bg-main); }

  .toggle-btn { display: none !important; }

  /* Topbar: เขียวอ่อน นุ่ม */
  .sidebar {
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0;
    padding: 0 16px;
    border-radius: 0;
    background: #f0faf4;
    border: none;
    border-bottom: 2.5px solid var(--mint-1000);
    box-shadow: 0 2px 8px rgba(92,189,154,0.10);
    flex-direction: column;
    align-items: stretch;
  }

  .hamburger {
    display: flex;
    color: var(--mint-500);
    order: 2;
    margin-left: auto;
    align-self: center;
  }

  .logo {
    flex-direction: row;
    gap: 12px;
    margin-bottom: 0;
    order: 1;
    align-items: center;
    flex: 1;
  }

  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 16px;
    gap: 0;
  }

  .menu {
    display: none;
    width: 100%;
    order: 3;
    flex-basis: 100%;
    margin-top: 10px;
    border-top: 1px solid var(--mint-100);
    padding-top: 10px;
  }
  .menu.show { display: flex; }

  .logo-circle { 
    background: var(--mint-100); 
    border-color: var(--mint-200); 
    width: 40px; 
    height: 40px; 
  }
  .logo-circle img { width: 26px; }

  .brand { color: var(--mint-700); opacity: 1; font-size: 14.5px; }

  .menu-item { color: var(--text-secondary); }
  .menu-item:hover { background: var(--mint-100); color: var(--mint-700); }
  .menu-item.active { 
    background: var(--mint-100); 
    color: var(--mint-700); 
    font-weight: 600; 
  }

  .content { padding: 14px; }

  .content-layout { flex-direction: column; gap: 16px; }
  .main-content, .right-column { width: 100%; flex: none; }

  .header { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 12px; 
    padding: 14px 16px; 
  }
  .header-right { width: 100%; justify-content: flex-end; }

  .shop-cards { grid-template-columns: repeat(3, 1fr); gap: 10px; }

  .mini-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 10px;
    min-height: 90px;
    gap: 8px;
  }
  .card-info { text-align: center; }
  .card-info h3 { font-size: 18px; }

  .actions { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .action-card { min-height: 120px; padding: 16px 12px; }
  .action-card .material-symbols-outlined { font-size: 26px; margin-bottom: 10px; }
  .action-card h3 { font-size: 13px; }
  .action-card p { font-size: 11.5px; }
}

/* =========================
   SMALL MOBILE (≤479px)
   ========================= */
@media (max-width: 479px) {
  .shop-cards { grid-template-columns: 1fr; gap: 10px; }
  .mini-card { 
    flex-direction: row; 
    text-align: left; 
    padding: 14px 16px; 
    min-height: auto; 
    gap: 14px; 
  }
  .card-info { text-align: left; }

  .actions { grid-template-columns: 1fr; gap: 10px; }
  .action-card { 
    min-height: auto; 
    flex-direction: row; 
    align-items: center; 
    padding: 16px 18px; 
  }
  .action-card .material-symbols-outlined { 
    margin-bottom: 0; 
    margin-right: 14px; 
    font-size: 26px; 
  }

  .right-column { display: none; }
}

/* =========================
   UTILITY
   ========================= */
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.w-100 { width: 100%; }