/* ============================================================
   CRY BABY VINTAGE — Custom CSS
   Palette:
     --bg:        #FAF7F2 (warm ivory)
     --gold:      #C9A84C (aged gold)
     --accent:    #7B2D3A (deep burgundy)
     --text:      #2C1A0E (espresso)
     --teal:      #5C8A8A (faded teal)
     --rose:      #D4956A (dusty rose)
============================================================ */

:root {
  --bg: #FAF7F2;
  --gold: #C9A84C;
  --gold-dark: #a8882e;
  --accent: #7B2D3A;
  --accent-dark: #5e1f2b;
  --text: #2C1A0E;
  --teal: #5C8A8A;
  --rose: #D4956A;
  --border: #e5ddd0;
  --card-bg: #fffff8;
  --muted: #8a7060;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text);
  line-height: 1.3;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-dark);
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-gold {
  background-color: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background-color: var(--accent);
  color: #fff;
}

.btn-teal {
  background-color: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-teal:hover {
  background-color: #4a7070;
  border-color: #4a7070;
  color: #fff;
}

.btn-sm {
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
}

.btn-danger {
  background-color: #c0392b;
  color: #fff;
  border-color: #c0392b;
}
.btn-danger:hover {
  background-color: #962d22;
  color: #fff;
}

/* ── Navbar ──────────────────────────────── */
.navbar {
  background-color: var(--text);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.navbar-brand:hover {
  color: #e8c56e !important;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #d4c5b0 !important;
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold) !important;
  background-color: rgba(201, 168, 76, 0.12);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background-color: var(--gold);
  border-radius: 1px;
}

.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.navbar-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #d4c5b0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navbar-mobile {
  display: none;
  background-color: #1a0f07;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.navbar-mobile.open {
  display: block;
}

.navbar-mobile .nav-link {
  display: block;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
}

.unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ── Hero ─────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--text) 0%, #3d2415 60%, var(--accent) 100%);
  color: #fff;
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: 1.15rem;
  color: #d4c5b0;
  margin-bottom: 2rem;
  font-style: italic;
}

/* ── Section headings ─────────────────────── */
.section-title {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.5rem 0 1.5rem;
  border-radius: 2px;
}

/* ── Cards ────────────────────────────────── */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(44, 26, 14, 0.12);
  transform: translateY(-2px);
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8ddd0, #d4c8b8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 2.5rem;
}

.card-body {
  padding: 1rem 1.2rem 1.2rem;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
  font-family: 'Playfair Display', serif;
}

.card-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
}

.badge-crybaby {
  display: inline-block;
  background-color: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-user {
  display: inline-block;
  background-color: var(--teal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-sold {
  display: inline-block;
  background-color: #999;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

/* ── Grid ─────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

/* ── Container ────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-section {
  padding: 3.5rem 0;
}

.page-section-alt {
  padding: 3.5rem 0;
  background-color: #f0ebe0;
}

/* ── Forms ────────────────────────────────── */
.form-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 2.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background-color: #fff;
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

.form-control select,
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a7060' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.2rem;
}

.form-help {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.form-error {
  font-size: 0.82rem;
  color: #c0392b;
  margin-top: 0.25rem;
}

/* ── Flash Messages ───────────────────────── */
.messages-container {
  max-width: 1200px;
  margin: 0.75rem auto 0;
  padding: 0 1.5rem;
}

.alert {
  padding: 0.85rem 1.2rem;
  border-radius: 5px;
  margin-bottom: 0.5rem;
  font-size: 0.93rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.alert-success {
  background-color: #eaf5ea;
  border: 1px solid #a8d5a8;
  color: #2d6a2d;
}

.alert-error,
.alert-danger {
  background-color: #fdecea;
  border: 1px solid #f1a9a0;
  color: #8b2a2a;
}

.alert-info {
  background-color: #e8f4f8;
  border: 1px solid #a8cfe0;
  color: #1d5a7a;
}

.alert-warning {
  background-color: #fef9e7;
  border: 1px solid #f0d075;
  color: #7a5c00;
}

/* ── Tags / Filters ───────────────────────── */
.filter-bar {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.filter-select {
  padding: 0.4rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background-color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
}

/* ── Page header ──────────────────────────── */
.page-header {
  background: linear-gradient(120deg, var(--text) 0%, #3d2415 100%);
  padding: 2.5rem 0;
  color: #fff;
}

.page-header h1 {
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.page-header p {
  color: #d4c5b0;
  font-size: 0.95rem;
}

/* ── Detail page ──────────────────────────── */
.detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.detail-gallery .main-image {
  grid-column: 1 / -1;
  border-radius: 8px;
  overflow: hidden;
}

.detail-gallery .main-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.detail-gallery .thumb-grid {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.detail-gallery .thumb-grid img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.detail-gallery .thumb-grid img:hover {
  border-color: var(--gold);
}

.detail-info {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.detail-info h1 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.detail-price {
  font-size: 1.8rem;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0;
  background-color: #f5f0e8;
  border-radius: 6px;
  padding: 1rem;
}

.detail-meta-item label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
  display: block;
}

.detail-meta-item span {
  font-size: 0.95rem;
  color: var(--text);
}

/* ── Messaging ────────────────────────────── */
.inbox-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  height: calc(100vh - 130px);
  min-height: 500px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-bg);
}

.inbox-sidebar {
  border-right: 1px solid var(--border);
  overflow-y: auto;
  background-color: #f5f0e8;
}

.inbox-sidebar-header {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  background-color: var(--card-bg);
}

.conversation-item {
  display: block;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.15s ease;
  color: var(--text);
}

.conversation-item:hover,
.conversation-item.active {
  background-color: rgba(201, 168, 76, 0.12);
  color: var(--text);
}

.conversation-item.active {
  border-left: 3px solid var(--gold);
}

.conv-name {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.conv-preview {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.inbox-main-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  background-color: var(--card-bg);
  flex-shrink: 0;
}

.messages-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.message-bubble {
  max-width: 70%;
  padding: 0.65rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  word-wrap: break-word;
}

.message-bubble.sent {
  align-self: flex-end;
  background-color: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.message-bubble.received {
  align-self: flex-start;
  background-color: #e8ddd0;
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.message-time {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-top: 0.25rem;
  text-align: right;
}

.message-bubble.received .message-time {
  color: var(--muted);
  text-align: left;
}

.message-input-area {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background-color: var(--card-bg);
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.message-input-area textarea {
  flex: 1;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  resize: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  max-height: 120px;
}

.message-input-area textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* ── Event cards ──────────────────────────── */
.event-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  box-shadow: 0 6px 20px rgba(44, 26, 14, 0.1);
}

.event-date-badge {
  background-color: var(--accent);
  color: #fff;
  padding: 0.75rem;
  text-align: center;
  min-width: 70px;
}

.event-date-badge .month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-date-badge .day {
  font-size: 1.6rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1;
}

/* ── Newsletter ───────────────────────────── */
.article-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.article-card:hover {
  box-shadow: 0 6px 20px rgba(44, 26, 14, 0.1);
  transform: translateY(-2px);
}

.article-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-cover-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--teal), #4a6a6a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 3rem;
}

/* ── Directory ────────────────────────────── */
.vendor-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.vendor-card:hover {
  box-shadow: 0 6px 20px rgba(44, 26, 14, 0.1);
}

/* ── Profile ──────────────────────────────── */
.profile-header {
  background: linear-gradient(120deg, var(--text) 0%, #3d2415 100%);
  padding: 2.5rem 0;
  color: #fff;
}

.profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.profile-avatar-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  font-family: 'Playfair Display', serif;
  border: 3px solid rgba(255,255,255,0.3);
}

/* ── Footer ───────────────────────────────── */
.footer {
  background-color: var(--text);
  color: #d4c5b0;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer a {
  color: #b8a898;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
}

.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.2);
  margin-top: 2rem;
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.82rem;
  color: #8a7060;
}

/* ── Dashboard ────────────────────────────── */
.dashboard-stat {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.dashboard-stat .stat-number {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  font-weight: 700;
}

.dashboard-stat .stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Utility ──────────────────────────────── */
.text-gold { color: var(--gold); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-teal { color: var(--teal); }
.text-rose { color: var(--rose); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* ── Pagination ───────────────────────────── */
.pagination {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  justify-content: center;
  margin-top: 2.5rem;
}

.pagination li a,
.pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--text);
  transition: all 0.2s ease;
}

.pagination li a:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.pagination li.active span {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-hamburger { display: flex; }

  .hero { padding: 3rem 1rem; }
  .page-section { padding: 2rem 0; }

  .grid-3, .grid-4 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
  .grid-2 { grid-template-columns: 1fr; }

  .inbox-layout { grid-template-columns: 1fr; height: auto; }
  .inbox-sidebar { height: 200px; }

  .form-card { padding: 1.5rem; }

  .detail-meta-grid { grid-template-columns: 1fr; }

  .filter-bar { flex-direction: column; }
}

@media (max-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
