/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #F47820;
  --primary-dark: #D4600A;
  --bg: #F5F5F5;
  --surface: #FFFFFF;
  --border: #E0E0E0;
  --text: #111111;
  --text-muted: #767676;
  --success: #2d6a4f;
  --warning: #F47820;
  --danger: #CC3300;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  margin-top: 4px;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
  background: #E8E8E8;
  border-bottom: 1px solid #D4D4D4;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-left { display: flex; align-items: center; gap: 32px; }
.nav-right { display: flex; align-items: center; }
.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 36px; width: auto; display: block; object-fit: contain; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-weight: 500; color: #444444; transition: color .2s; letter-spacing: .01em; }
.nav-links a:hover { color: var(--primary); }
.social-link { display: flex; align-items: center; color: #666; margin-right: 12px; transition: color .2s; }
.social-link:hover { color: var(--primary); }
.cart-link { position: relative; }
.cart-badge {
  position: absolute;
  top: -8px; right: -12px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: .7rem;
  font-weight: 700;
}

/* ── Container ────────────────────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 32px 20px;
  flex: 1;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: #111111;
  color: #999999;
  padding: 40px 24px;
  text-align: center;
  margin-top: auto;
  border-top: 3px solid var(--primary);
}
.footer-inner { margin-bottom: 12px; line-height: 2; }
.footer-inner strong { color: #fff; }
.footer-copy { font-size: .8rem; color: #888; }
.footer-note { font-style: italic; font-size: .9rem; }
.footer-social { display: flex; justify-content: center; gap: 20px; margin-top: 12px; }
.footer-social-link { color: #ccc; font-weight: 600; font-size: .9rem; transition: color .2s; }
.footer-social-link:hover { color: var(--primary); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #c1121f; }
.btn-block { display: block; width: 100%; margin-top: 10px; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-lg { padding: 14px 24px; font-size: 1.1rem; }
.btn-link { color: var(--primary); font-weight: 600; }
.btn-link:hover { text-decoration: underline; }

/* ── Cards / Grid ─────────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.card-img { aspect-ratio: 1/1; overflow: hidden; background: #f5f5f5; }
.card-img img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 8px; }
.card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: #f0f0f0;
}
.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card-body h3 { font-size: 1rem; line-height: 1.3; }

/* ── Tags / Badges ────────────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  background: #eef0f7;
  color: var(--text-muted);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.status-open, .status-active { background: #d1fae5; color: #065f46; }
.status-sold_out, .status-sold-out { background: #fee2e2; color: #991b1b; }
.status-closed, .status-hidden { background: #f3f4f6; color: #6b7280; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-verified { background: #d1fae5; color: #065f46; }
.status-shipped { background: #dbeafe; color: #1e40af; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

/* ── Price / Progress ─────────────────────────────────────────────────────── */
.price { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.spots-info { font-size: .85rem; color: var(--text-muted); }
.progress-bar { background: #e5e7eb; border-radius: 999px; height: 6px; overflow: hidden; }
.progress-fill { background: var(--primary); height: 100%; border-radius: 999px; transition: width .4s; }

/* ── Section headers ──────────────────────────────────────────────────────── */
.section { margin-top: 40px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-header h2 { font-size: 1.4rem; }
.page-header { margin-bottom: 28px; }
.page-header h1 { font-size: 1.8rem; margin-bottom: 8px; }

/* ── Banner Slider ────────────────────────────────────────────────────────── */
.banner-slider {
  position: relative;
  overflow: hidden;
  background: #111;
  width: 100%;
  aspect-ratio: 16 / 6;
  max-height: 540px;
}

.banner-track { width: 100%; height: 100%; }
.banner-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
}
.banner-slide.active { display: block; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-caption {
  position: absolute;
  bottom: 20px; left: 24px;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
}
.banner-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.4);
  color: #fff;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 2;
  border-radius: 6px;
  transition: background .2s;
}
.banner-btn:hover { background: rgba(0,0,0,.7); }
.banner-btn.prev { left: 12px; }
.banner-btn.next { right: 12px; }
.banner-dots { position: absolute; bottom: 12px; right: 16px; display: flex; gap: 6px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s;
}
.dot.active { background: #fff; }
.banner-placeholder {
  background: linear-gradient(135deg, #e63946 0%, #1a1a2e 100%);
  color: #fff;
  padding: 80px 40px;
  text-align: center;
}
.banner-placeholder h2 { font-size: 2rem; margin-bottom: 8px; }

/* ── Break Detail two-column layout ──────────────────────────────────────── */
.break-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.break-gallery { position: sticky; top: 76px; }
.gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eee;
  position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 12px; background: #f5f5f5; }
.gallery-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; background: #f0f0f0;
}
.gallery-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff; border: none;
  padding: 10px 14px; cursor: pointer;
  font-size: 1.1rem; border-radius: 6px;
  transition: background .2s;
}
.gallery-btn:hover { background: rgba(0,0,0,.7); }
.gallery-btn.prev { left: 10px; }
.gallery-btn.next { right: 10px; }
.gallery-thumbs {
  display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap;
}
.gallery-thumb {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: .65;
  transition: all .15s;
}
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { border-color: var(--primary); opacity: 1; }
.break-info-panel { margin-top: 20px; }
.break-info-panel h1 { font-size: 1.6rem; margin-bottom: 10px; }
.break-desc { color: var(--text-muted); margin-top: 10px; font-size: .95rem; }
.break-spots-panel { padding-top: 4px; }
.spots-title { font-size: 1.2rem; margin-bottom: 14px; }

@media (max-width: 768px) {
  .break-detail-layout { grid-template-columns: 1fr; }
  .break-gallery { position: static; }
}
.spots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.spot-btn {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  background: var(--surface);
  cursor: pointer;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  width: max-content;
  min-width: 2.5rem;
  transition: all .1s linear;
  white-space: nowrap;
}
.spot-available { border-color: var(--border); color: var(--text); }
.spot-available:hover { border-color: var(--primary); color: var(--primary); background: #fff5f5; }
.spot-selected {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}
.spot-taken { background: #f3f4f6; color: #c0c0c0; border-color: #e5e7eb; cursor: not-allowed; text-decoration: line-through; }
.spot-in-cart { background: #eff6ff; border-color: #93c5fd; color: #1d4ed8; cursor: default; }
.spot-label { font-weight: 700; font-size: .95rem; }
.spot-status-text { font-size: .7rem; margin-top: 2px; opacity: .8; }
.break-actions { margin-top: 8px; }

/* ── Spot action row (inline below spots) ────────────────────────────────── */
.spot-action-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.spot-action-row.visible { display: flex; }
.spot-action-info { display: flex; flex-direction: column; gap: 2px; }
.spot-info-label { font-size: 1rem; font-weight: 700; }
.spot-info-price { font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.spot-action-row .btn { min-width: 140px; flex-shrink: 0; }

/* ── Filter tabs ──────────────────────────────────────────────────────────── */
.filter-tabs { display: flex; gap: 8px; margin-top: 12px; }
.tab {
  padding: 6px 16px;
  border-radius: 999px;
  border: 2px solid var(--border);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-muted);
  transition: all .15s;
}
.tab:hover, .tab.active { border-color: var(--primary); color: var(--primary); }
.tab.active { background: var(--primary); color: #fff; }

/* ── Cart ─────────────────────────────────────────────────────────────────── */
.cart-layout { display: flex; gap: 32px; align-items: flex-start; }
.cart-items { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}
.cart-item-name { font-weight: 600; margin-top: 4px; }
.cart-item-sub { font-size: .85rem; color: var(--text-muted); }
.cart-item-right { display: flex; align-items: center; gap: 16px; text-align: right; }
.btn-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  transition: color .2s;
}
.btn-remove:hover { color: var(--danger); }
.cart-summary {
  width: 300px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}
.cart-summary h3 { font-size: 1.1rem; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--border); }
.summary-total { font-size: 1.1rem; }
.summary-item { display: flex; justify-content: space-between; padding: 6px 0; font-size: .9rem; color: var(--text-muted); gap: 12px; }
.empty-cart { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.empty-cart p { font-size: 1.1rem; color: var(--text-muted); }
.compare-price { font-size: .85rem; font-weight: 500; color: var(--text-muted); text-decoration: line-through !important; margin-left: 6px; }
.sale-badge { background: var(--danger); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle; letter-spacing: .04em; }
.out-of-stock { color: var(--danger); font-weight: 600; font-size: .9rem; }
.stock-info { font-size: .85rem; color: var(--text-muted); }
.qty-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-btn {
  background: #f3f4f6; border: none; width: 28px; height: 32px;
  font-size: 1rem; font-weight: 700; cursor: pointer; color: var(--text);
  transition: background .15s; flex-shrink: 0;
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-input {
  width: 40px; height: 32px; border: none; border-left: 1px solid var(--border);
  border-right: 1px solid var(--border); text-align: center; font-size: .9rem;
  font-weight: 600; margin-top: 0; padding: 0; border-radius: 0;
}
.qty-input:focus { outline: none; border-color: var(--border); }

/* ── Checkout ─────────────────────────────────────────────────────────────── */
.checkout-layout { display: flex; gap: 32px; align-items: flex-start; }
.checkout-form { flex: 1; display: flex; flex-direction: column; gap: 0; }
.checkout-summary {
  width: 300px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}
.checkout-summary h3 { margin-bottom: 12px; }
.form-section {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.form-section h2 { font-size: 1.1rem; margin-bottom: 4px; }
label { display: flex; flex-direction: column; font-weight: 600; font-size: .9rem; color: var(--text-muted); }
label input, label select, label textarea { font-weight: 400; color: var(--text); }
.form-hint { font-size: .82rem; color: var(--text-muted); }
.bank-info {
  background: #fef9c3;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: .95rem;
  line-height: 1.8;
  border-left: 4px solid var(--warning);
}

/* ── Order Confirm ────────────────────────────────────────────────────────── */
.confirm-page { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 0; }
.confirm-icon { font-size: 4rem; margin-bottom: 12px; }
.confirm-page h1 { font-size: 2rem; margin-bottom: 8px; }
.confirm-sub { color: var(--text-muted); margin-bottom: 28px; }
.confirm-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: left;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.confirm-card h3 { margin-bottom: 12px; font-size: 1rem; color: var(--text-muted); }
.confirm-contact { color: var(--text-muted); font-size: .9rem; margin: 20px 0; }

/* ── Toast ────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #1a1a2e;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(12px);
  transition: all .25s;
  pointer-events: none;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.toast-error { background: var(--danger); }

/* ── Misc ─────────────────────────────────────────────────────────────────── */
.empty-msg { color: var(--text-muted); text-align: center; padding: 40px 0; }
.error-msg { color: var(--danger); font-size: .9rem; margin-bottom: 8px; }

/* ── Admin ────────────────────────────────────────────────────────────────── */
.admin-body { background: #F0F0F0; font-family: 'DM Sans', sans-serif; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px;
  background: #111111;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
}
.sidebar-brand {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 8px;
}
.sidebar-nav { display: flex; flex-direction: column; }
.sidebar-nav a {
  color: #AAAAAA;
  padding: 11px 20px;
  font-size: .92rem;
  font-weight: 500;
  transition: background .15s, color .15s;
  letter-spacing: .01em;
}
.sidebar-nav a:hover { background: rgba(244,120,32,.12); color: #F47820; }
.logout-link { margin-top: auto; color: #FF6B6B !important; }
.admin-main { flex: 1; padding: 32px; overflow-x: auto; }
.admin-page-title { font-size: 1.6rem; margin-bottom: 24px; }
.admin-section {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.admin-section h2 { font-size: .8rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.admin-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.admin-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; gap: 16px; }
.form-row label { flex: 1; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.admin-table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid var(--border);
  color: var(--text-muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.admin-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.action-cell { display: flex; gap: 8px; align-items: center; }
.inline-form { display: inline-flex; }
.inline-form select { padding: 6px 10px; font-size: .85rem; margin-top: 0; }
.stat-grid { display: flex; gap: 16px; margin-bottom: 24px; }
.stat-card {
  flex: 1;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.stat-number { font-size: 2.4rem; font-weight: 700; color: var(--primary); letter-spacing: -.02em; }
.stat-label { color: var(--text-muted); font-size: .85rem; font-weight: 500; margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.order-item-line { font-size: .82rem; color: var(--text-muted); }
.bank-digits { font-family: monospace; font-size: 1rem; font-weight: 700; }
.login-box {
  max-width: 360px;
  margin: 80px auto;
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.login-box h1 { text-align: center; margin-bottom: 4px; }
.spots-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.spot-edit-card {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spot-edit-taken { opacity: .6; background: #f3f4f6; }
.spot-edit-header { display: flex; justify-content: space-between; align-items: center; }
.spot-edit-card label { font-size: .8rem; }
.spot-edit-card input { padding: 6px 8px; font-size: .9rem; margin-top: 2px; }

.image-manage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.image-manage-card {
  background: #f9fafb;
  border-radius: 8px;
  padding: 8px;
  position: relative;
}
.image-manage-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.img-primary-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.banner-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.banner-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
}
.banner-thumb { width: 100px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }

/* ── Member / Auth ────────────────────────────────────────────────────────── */
.auth-box {
  max-width: 420px;
  margin: 60px auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth-box h1 { font-size: 1.6rem; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-links { display: flex; gap: 12px; font-size: .88rem; color: var(--text-muted); justify-content: center; }
.auth-links a { color: var(--primary); font-weight: 600; }
.auth-success { background: #d1fae5; color: #065f46; border-radius: 6px; padding: 10px 14px; font-size: .9rem; font-weight: 500; }
.reset-url-box { background: #f3f4f6; border-radius: 6px; padding: 10px 14px; font-size: .82rem; word-break: break-all; font-family: monospace; }
.profile-layout { display: flex; gap: 32px; align-items: flex-start; }
@media (max-width: 768px) { .profile-layout { flex-direction: column; } }
.member-link {
  display: none;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
  color: #444;
  margin-right: 20px;
  position: relative;
  transition: color .2s;
}
.member-link:hover { color: var(--primary); }
.member-order-badge {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: .7rem;
  font-weight: 700;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .break-hero { flex-direction: column; }
  .break-hero-img { width: 100%; }
  .cart-layout, .checkout-layout { flex-direction: column; }
  .cart-summary, .checkout-summary { width: 100%; position: static; }
  .form-row { flex-direction: column; }
  .admin-sidebar { width: 180px; }
  .stat-grid { flex-wrap: wrap; }
  .banner-slider { max-height: 260px; }
}

@media (max-width: 540px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; padding: 12px; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
  .navbar { padding: 0 16px; }
  .container { padding: 20px 16px; }
}
