/* ═══════════════════════════════════════════════
   FV AUCTION — Fraser Valley Auctions
   Modern silent auction platform
   ═══════════════════════════════════════════════ */

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

:root {
  --slate:       #2C3E50;
  --slate2:      #3D5166;
  --gold:        #E8A020;
  --gold2:       #F5B940;
  --gold-light:  #FEF3C7;
  --terra:       #C8714A;
  --terra-light: #FDF0E8;
  --warm:        #FAF8F5;
  --warm2:       #F0EDE8;
  --green:       #16A34A;
  --green-light: #DCFCE7;
  --red:         #DC2626;
  --red-light:   #FEE2E2;
  --mid:         #6B7280;
  --border:      #E5E0D8;
  --white:       #ffffff;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 2px 8px rgba(44,62,80,0.08);
  --shadow-md:   0 8px 24px rgba(44,62,80,0.12);
  --font:        'Inter', sans-serif;
  --font-d:      'Playfair Display', serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--warm); color: var(--slate); line-height: 1.65; font-weight: 300; }
a { color: var(--terra); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
select, input, textarea { font-family: var(--font); }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.main-content { min-height: calc(100vh - 130px); }

/* ── NAVBAR ── */
.navbar {
  background: var(--slate);
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.nav-logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.nav-logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo-name { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: var(--white); line-height: 1; }
.logo-sub  { font-size: 0.6rem; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-link  { color: rgba(255,255,255,0.7); padding: 0.4rem 0.85rem; border-radius: 6px; font-size: 0.875rem; font-weight: 400; text-decoration: none; transition: 0.2s; }
.nav-link:hover { background: rgba(255,255,255,0.08); color: white; text-decoration: none; }
.admin-link { color: var(--gold) !important; }
.nav-user  { color: rgba(255,255,255,0.5); font-size: 0.85rem; padding: 0.4rem 0.75rem; }
.btn-nav   { background: var(--gold); color: var(--slate) !important; padding: 0.5rem 1.25rem; border-radius: 6px; font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: 0.2s; }
.btn-nav:hover { background: var(--gold2); text-decoration: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; padding: 0.5rem; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FLASH ── */
.flash-container { max-width: 1100px; margin: 1rem auto; padding: 0 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.flash { padding: 0.8rem 1.2rem; border-radius: var(--radius); font-weight: 500; font-size: 0.9rem; }
.flash-success { background: var(--green-light); color: #15803D; border: 1px solid #86EFAC; }
.flash-danger  { background: var(--red-light);   color: #B91C1C; border: 1px solid #FCA5A5; }
.flash-warning { background: var(--gold-light);  color: #92400E; border: 1px solid #FCD34D; }
.flash-info    { background: #EFF6FF; color: #1D4ED8; border: 1px solid #93C5FD; }

/* ── BUTTONS ── */
.btn-primary { display: inline-block; background: var(--gold); color: var(--slate); padding: 0.75rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,160,32,0.35); text-decoration: none; color: var(--slate); }
.btn-outline { display: inline-block; background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.35); padding: 0.75rem 1.75rem; border-radius: 8px; font-weight: 400; font-size: 0.95rem; text-decoration: none; transition: 0.2s; }
.btn-outline:hover { border-color: white; text-decoration: none; }
.btn-outline-dark { display: inline-block; background: transparent; color: var(--slate); border: 1.5px solid var(--border); padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 500; font-size: 0.9rem; text-decoration: none; transition: 0.2s; cursor: pointer; }
.btn-outline-dark:hover { border-color: var(--slate); text-decoration: none; }
.btn-sm { display: inline-block; padding: 0.35rem 0.85rem; border-radius: 6px; font-size: 0.8rem; font-weight: 600; background: var(--slate); color: white; text-decoration: none; border: none; cursor: pointer; transition: 0.15s; }
.btn-sm:hover { background: var(--slate2); text-decoration: none; color: white; }
.btn-sm.outline { background: transparent; color: var(--slate); border: 1.5px solid var(--border); }
.btn-sm.outline:hover { border-color: var(--slate); }
.btn-sm.danger { background: var(--red); color: white; }
.btn-sm.danger:hover { background: #B91C1C; }
.btn-sm.danger.outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-sm.danger.outline:hover { background: var(--red-light); }

/* ── HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate2) 100%);
  padding: 4rem 8%; color: white;
  border-bottom: 3px solid var(--gold);
}
.page-hero h1 { font-family: var(--font-d); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 0.75rem; color: white; }
.page-hero p  { color: rgba(255,255,255,0.65); font-size: 1rem; margin-bottom: 1.5rem; max-width: 560px; font-weight: 300; }

/* ── AUCTION BLOCK ── */
.auction-block { background: white; border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 1.5rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.auction-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.auction-title  { font-family: var(--font-d); font-size: 1.6rem; font-weight: 700; color: var(--slate); margin: 0.4rem 0; }
.auction-desc   { color: var(--mid); font-size: 0.9rem; margin: 0.3rem 0; font-weight: 300; }
.auction-meta   { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.82rem; color: var(--mid); font-weight: 500; margin-top: 0.5rem; }
.auction-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.auction-detail-header h1 { font-family: var(--font-d); font-size: 2rem; font-weight: 700; margin: 0.4rem 0; }

/* ── STATUS BADGES ── */
.auction-status-badge, .badge {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 0.25rem 0.85rem; border-radius: 50px; margin-bottom: 0.4rem;
}
.status-open     { background: var(--green-light); color: #15803D; }
.status-upcoming { background: #DBEAFE; color: #1D4ED8; }
.status-ended    { background: var(--red-light); color: #B91C1C; }
.status-closed   { background: var(--warm2); color: var(--mid); }

/* ── COUNTDOWN ── */
.countdown-wrap { display: flex; align-items: center; gap: 0.5rem; margin: 0.75rem 0; }
.countdown-label { font-size: 0.82rem; color: var(--mid); font-weight: 500; }
.countdown-timer { font-family: var(--font-d); font-size: 1.2rem; font-weight: 700; color: var(--terra); background: var(--terra-light); padding: 0.2rem 0.75rem; border-radius: 6px; }
.countdown-timer.urgent { color: var(--red); background: var(--red-light); }

/* ── ITEMS PREVIEW ── */
.items-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.875rem; }
.item-preview-card { background: var(--warm); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); text-decoration: none; color: var(--slate); transition: 0.2s; display: block; }
.item-preview-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.item-preview-img { height: 120px; overflow: hidden; background: var(--warm2); }
.item-preview-img img { width: 100%; height: 100%; object-fit: cover; }
.item-preview-body { padding: 0.75rem; }
.item-preview-title { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--slate); }
.bid-label  { display: block; font-size: 0.68rem; color: var(--mid); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.bid-amount { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: var(--terra); }
.item-preview-count { font-size: 0.72rem; color: var(--mid); margin-top: 0.2rem; }
.item-preview-more { display: flex; align-items: center; justify-content: center; background: var(--gold-light); border-radius: var(--radius); color: var(--terra); font-weight: 700; font-size: 0.9rem; text-decoration: none; padding: 1rem; }

/* ── ITEMS GRID ── */
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.item-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--border); text-decoration: none; color: var(--slate); transition: 0.2s; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; border-color: var(--gold); }
.item-card-img { position: relative; height: 180px; overflow: hidden; background: var(--warm2); }
.item-card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.item-card:hover .item-card-img img { transform: scale(1.04); }
.item-card-badge { position: absolute; top: 0.6rem; right: 0.6rem; background: var(--terra); color: white; font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 50px; }
.item-card-badge.hot { background: var(--red); }
.item-card-body { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.item-card-category { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--terra); }
.item-card-title  { font-family: var(--font-d); font-size: 1rem; font-weight: 700; color: var(--slate); }
.item-card-donor  { font-size: 0.75rem; color: var(--mid); font-weight: 300; }
.item-card-bid    { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.bid-current .bid-amount { font-family: var(--font-d); font-size: 1.3rem; font-weight: 700; color: var(--terra); display: block; }
.bid-meta { font-size: 0.75rem; color: var(--mid); text-align: right; font-weight: 300; }
.item-card-cta { background: var(--slate); color: white; text-align: center; padding: 0.6rem; font-size: 0.82rem; font-weight: 600; margin: 0 -1.1rem -1rem; }
.item-card:hover .item-card-cta { background: var(--gold); color: var(--slate); }

/* ── ITEM DETAIL ── */
.item-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; align-items: start; }
.item-image-wrap { position: relative; }
.item-detail-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.donor-badge    { background: var(--gold-light); color: #92400E; font-size: 0.8rem; font-weight: 600; padding: 0.4rem 0.9rem; border-radius: 50px; display: inline-block; margin-top: 0.75rem; }
.category-badge { background: var(--terra-light); color: var(--terra); font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 50px; display: inline-block; margin-top: 0.4rem; }
.item-title { font-family: var(--font-d); font-size: 1.9rem; font-weight: 700; color: var(--slate); margin-bottom: 0.75rem; }
.item-desc  { color: var(--mid); line-height: 1.75; margin-bottom: 1.25rem; font-weight: 300; }

.bid-status-card { background: var(--warm); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.bid-status-row { display: flex; gap: 1.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.bid-stat-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--mid); margin-bottom: 0.2rem; }
.bid-stat-value { font-family: var(--font-d); font-size: 1.5rem; font-weight: 700; color: var(--slate); }
.bid-stat-value.highlight { color: var(--terra); }
.current-leader { font-size: 0.875rem; color: var(--mid); font-weight: 500; margin-bottom: 0.75rem; }

.bid-form { display: flex; flex-direction: column; gap: 0.75rem; }
.bid-input-wrap { display: flex; align-items: center; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; background: white; transition: 0.2s; }
.bid-input-wrap:focus-within { border-color: var(--gold); }
.bid-currency { padding: 0 0.75rem; font-size: 1.3rem; font-weight: 700; color: var(--mid); }
.bid-input { flex: 1; border: none; padding: 0.85rem 0.5rem; font-size: 1.2rem; font-weight: 700; color: var(--slate); outline: none; font-family: var(--font-d); }
.btn-bid { width: 100%; padding: 1rem; font-size: 1.05rem; border-radius: var(--radius); }
.bid-note { font-size: 0.78rem; color: var(--mid); text-align: center; font-weight: 300; }
.your-bid-note { background: var(--gold-light); border-radius: var(--radius); padding: 0.65rem 1rem; font-size: 0.875rem; color: #92400E; font-weight: 600; text-align: center; }

.login-to-bid { background: var(--warm); border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
.login-to-bid p { color: var(--mid); margin-bottom: 1rem; font-weight: 300; }
.login-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.auction-closed-msg { background: var(--warm); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.25rem; font-size: 0.95rem; color: var(--mid); text-align: center; font-weight: 300; }
.auction-upcoming-msg { background: #EFF6FF; border: 1.5px solid #93C5FD; border-radius: var(--radius); padding: 1.25rem; font-size: 0.95rem; color: #1D4ED8; text-align: center; line-height: 1.8; margin-bottom: 1rem; }

/* ── BID HISTORY ── */
.bid-history { background: white; border-radius: var(--radius-lg); padding: 1.5rem 2rem; border: 1px solid var(--border); }
.bid-history h3 { font-family: var(--font-d); font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.bid-history-list { display: flex; flex-direction: column; gap: 0.4rem; }
.bid-row { display: flex; align-items: center; gap: 1rem; padding: 0.6rem 0.9rem; border-radius: var(--radius); font-size: 0.875rem; background: var(--warm); }
.bid-row.top-bid { background: var(--gold-light); }
.bid-row-name   { flex: 1; font-weight: 600; color: var(--slate); }
.bid-row-amount { font-family: var(--font-d); font-weight: 700; color: var(--terra); min-width: 70px; text-align: right; }
.bid-row-time   { color: var(--mid); font-size: 0.78rem; min-width: 110px; text-align: right; font-weight: 300; }

/* ── AUTH ── */
.auth-card { max-width: 440px; margin: 3rem auto; background: white; border-radius: var(--radius-lg); padding: 2.5rem; border: 1px solid var(--border); box-shadow: var(--shadow-md); text-align: center; }
.auth-icon  { font-size: 3rem; margin-bottom: 0.75rem; }
.auth-title { font-family: var(--font-d); font-size: 1.8rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--slate); }
.auth-sub   { color: var(--mid); margin-bottom: 1.75rem; font-size: 0.9rem; font-weight: 300; }
.auth-form  { text-align: left; display: flex; flex-direction: column; gap: 0.875rem; }
.auth-switch { margin-top: 1.25rem; font-size: 0.875rem; color: var(--mid); }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: var(--mid); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select {
  border: 1.5px solid var(--border); border-radius: var(--radius); padding: 0.65rem 0.9rem;
  font-size: 0.9rem; color: var(--slate); background: var(--warm); width: 100%;
  transition: border-color 0.2s; font-weight: 300;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); background: white; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.file-input { padding: 0.5rem; background: white; }
.file-note  { font-size: 0.75rem; color: var(--mid); margin-top: 0.25rem; }

/* ── PROFILE ── */
.page-title { font-family: var(--font-d); font-size: 2rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--slate); }
.page-sub   { color: var(--mid); margin-bottom: 2rem; font-weight: 300; }
.my-bids-list { display: flex; flex-direction: column; gap: 0.75rem; }
.my-bid-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 1rem; align-items: center; background: white; border-radius: var(--radius); padding: 0.875rem 1.25rem; border: 1px solid var(--border); text-decoration: none; color: var(--slate); transition: 0.2s; }
.my-bid-row:hover { border-color: var(--gold); box-shadow: var(--shadow); text-decoration: none; }
.my-bid-img img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.my-bid-item    { font-weight: 600; font-size: 0.95rem; }
.my-bid-auction { font-size: 0.78rem; color: var(--mid); font-weight: 300; }
.my-bid-time    { font-size: 0.75rem; color: var(--mid); font-weight: 300; }
.my-bid-amount  { font-family: var(--font-d); font-size: 1.2rem; font-weight: 700; color: var(--terra); text-align: right; }
.my-bid-status  { font-size: 0.72rem; font-weight: 700; text-align: right; padding: 0.2rem 0.6rem; border-radius: 50px; }
.my-bid-status.winning { background: var(--green-light); color: var(--green); }
.my-bid-status.outbid  { background: var(--red-light); color: var(--red); }
.my-bid-status.ended   { background: var(--warm2); color: var(--mid); }

/* ── ADMIN ── */
.admin-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.admin-header h1 { font-family: var(--font-d); font-size: 1.8rem; font-weight: 700; color: var(--slate); }
.admin-header-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.admin-section { background: white; border-radius: var(--radius-lg); padding: 1.75rem; margin-bottom: 2rem; border: 1px solid var(--border); }
.admin-section h2 { font-family: var(--font-d); font-size: 1.2rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--slate); }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th { text-align: left; padding: 0.6rem 0.9rem; background: var(--warm); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--mid); border-bottom: 2px solid var(--border); font-weight: 600; }
.admin-table td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border); vertical-align: middle; font-weight: 300; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--warm); }
.admin-actions { display: flex; gap: 0.4rem; }
.admin-form-card { max-width: 640px; background: white; border-radius: var(--radius-lg); padding: 2.5rem; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.admin-form-card h1 { font-family: var(--font-d); font-size: 1.6rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--slate); }
.admin-form { display: flex; flex-direction: column; gap: 1rem; }
.admin-items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.admin-item-card { background: var(--warm); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.admin-item-card img { width: 100%; height: 140px; object-fit: cover; }
.admin-item-body { padding: 0.875rem; }
.admin-item-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; color: var(--slate); }
.admin-item-donor { font-size: 0.78rem; color: var(--mid); margin-bottom: 0.4rem; font-weight: 300; }
.admin-item-stats { display: flex; gap: 0.75rem; font-size: 0.78rem; color: var(--mid); flex-wrap: wrap; font-weight: 300; }
.admin-winner { font-size: 0.78rem; color: var(--terra); font-weight: 600; margin-top: 0.4rem; }
.admin-item-actions { display: flex; gap: 0.4rem; padding: 0.6rem 0.875rem; border-top: 1px solid var(--border); background: white; }
.empty-note { color: var(--mid); font-size: 0.9rem; font-weight: 300; }

/* ── MISC ── */
.breadcrumb { font-size: 0.82rem; color: var(--mid); margin-bottom: 1.5rem; font-weight: 300; }
.breadcrumb a { color: var(--terra); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-icon  { font-size: 4rem; margin-bottom: 1rem; opacity: 0.4; }
.empty-state h2 { font-family: var(--font-d); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--slate); }
.empty-state p  { color: var(--mid); margin-bottom: 1.5rem; font-weight: 300; }

/* ── FOOTER ── */
.footer { background: var(--slate); padding: 2rem 2.5rem; margin-top: 3rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-inner a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-inner a:hover { color: var(--gold); }
.footer-inner strong { color: var(--gold); }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; }
.footer-logo svg { width: 28px; height: 28px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--slate); flex-direction: column; align-items: flex-start; padding: 1rem 1.5rem 1.5rem; gap: 0.25rem; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-link, .btn-nav { display: block; padding: 0.65rem 0.5rem; }
  .item-detail-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .auction-header, .auction-detail-header { flex-direction: column; }
  .my-bid-row { grid-template-columns: 50px 1fr; }
}
