/* ==========================================================================
   POLA Marketplace — Clean Minimal Stylesheet
   Simple, readable, professional. No glassmorphism, no heavy effects.
   ========================================================================== */

:root {
  --navy: #132238;
  --navy-dark: #0a1322;
  --gold: #c89228;
  --gold-hover: #b8831e;
  --gold-light: #fef8ee;
  --green: #15803d;
  --green-light: #f0fdf4;
  --red: #b91c1c;
  --red-light: #fef2f2;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 8px;

  /* Aliases for cross-page compatibility */
  --primary-navy: var(--navy);
  --accent-gold: var(--gold);
  --accent-gold-hover: var(--gold-hover);
  --accent-emerald: var(--green);
  --text-muted: var(--muted);
  --border-light: var(--border);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: #0b1c30;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(8, 16, 28, 0.25);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.15s;
}

.logo:hover {
  opacity: 0.94;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: #fdfbf7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.logo-titles {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.15;
}

.logo-sub {
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
  font-weight: 600;
}

.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.header-search input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 44px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #0f172a;
  font-size: 0.88rem;
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.header-search input::placeholder {
  color: #94a3b8;
}

.header-search input:focus {
  border-color: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.header-search .ico {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.92rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header-seller-link {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  padding: 6px 10px;
  transition: color 0.15s;
}

.header-seller-link:hover {
  color: #34d399;
}

.header-cart-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.22rem;
  cursor: pointer;
  position: relative;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.header-cart-btn:hover {
  color: #34d399;
}

.header-cart-badge {
  position: absolute;
  top: -2px;
  right: -3px;
  background: #10b981;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.btn-mint-pill {
  background: #34d399;
  color: #064e3b;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  padding: 9px 22px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(52, 211, 153, 0.25);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-mint-pill:hover {
  background: #2dd4bf;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.35);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.87;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
}

/* ==========================================================================
   Ticker strip
   ========================================================================== */
.ticker-bar {
  background: #111827;
  color: #9ca3af;
  font-size: 0.78rem;
  padding: 6px 0;
  border-bottom: 1px solid #1f2937;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-bar .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-live {
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ticker-text {
  flex: 1;
  overflow: hidden;
}

/* ==========================================================================
   Page Hero / Banner (Matches Reference Mockup)
   ========================================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(90deg, #091524 0%, rgba(9, 21, 36, 0.94) 46%, rgba(9, 21, 36, 0.4) 82%, rgba(9, 21, 36, 0.12) 100%), 
              url('../images/hero_banner_fish.jpg') right center / cover no-repeat;
  color: #ffffff;
  padding: 56px 0 52px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.hero-h1 {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}

.hero-sub {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-hero-mint {
  background: #34d399;
  color: #064e3b;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 12px 26px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(52, 211, 153, 0.35);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-hero-mint:hover {
  background: #2dd4bf;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(52, 211, 153, 0.45);
}

.btn-hero-outline {
  background: rgba(15, 23, 42, 0.55);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

.hero-stat-card {
  background: rgba(11, 23, 40, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  max-width: 380px;
  margin-left: auto;
}

.stat-cell {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.stat-icon {
  color: #34d399;
  font-size: 1.45rem;
  line-height: 1;
  margin-top: 2px;
}

.stat-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.stat-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 2px;
}

/* ==========================================================================
   Horizontal Category Pills Bar
   ========================================================================== */
.cat-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}

.cat-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.cat-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.cat-pill i {
  color: #0d9488;
}

.cat-pill:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.cat-pill.active {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
}

.cat-pill.active i {
  color: #ffffff;
}

/* Also support legacy .cat-btn */
.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}

.cat-btn.active {
  background: #0f766e;
  color: #fff;
  border-color: #0f766e;
}

/* ==========================================================================
   Catalog Layout & Sidebar
   ========================================================================== */
.catalog-section {
  padding: 24px 0 64px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  align-items: flex-start;
}

/* Left Sidebar */
.sidebar {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.sidebar-cat-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: all 0.15s;
}

.sidebar-cat-item:last-child {
  border-bottom: none;
}

.sidebar-cat-item:hover {
  background: #f8fafc;
  color: #059669;
}

.sidebar-cat-item.active {
  background: #059669;
  color: #ffffff;
}

.cat-item-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sidebar-cat-item.active .cat-item-left i {
  color: #ffffff;
}

.cat-count-badge {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.sidebar-cat-item.active .cat-count-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.sidebar-filter-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.sidebar-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.sidebar-hd a {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: underline;
}

.sidebar-hd a:hover {
  color: #059669;
}

.f-group {
  margin-bottom: 18px;
}

.f-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.select-wrapper {
  position: relative;
}

.select-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.85rem;
  pointer-events: none;
}

.f-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.84rem;
  background: #ffffff;
  color: #1e293b;
  outline: none;
  transition: border-color 0.15s;
}

.f-select.with-icon {
  padding-left: 32px;
}

.f-select:focus {
  border-color: #059669;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.f-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #334155;
  font-weight: 500;
  cursor: pointer;
}

.f-checkbox input {
  accent-color: #059669;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.price-inputs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.price-input {
  flex: 1;
  height: 32px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 0.8rem;
  color: #64748b;
  background: #ffffff;
}

.price-dash {
  color: #94a3b8;
  font-weight: 600;
}

.price-slider-wrap {
  padding: 6px 0 2px;
}

.slider-track {
  position: relative;
  height: 4px;
  background: #059669;
  border-radius: 4px;
}

.slider-thumb {
  position: absolute;
  top: -6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #059669;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.thumb-left {
  left: 0%;
}

.thumb-right {
  right: 0%;
}

.sidebar-integrity-card {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 14px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
}

.integrity-card-icon {
  color: #059669;
  font-size: 1.2rem;
  margin-top: 1px;
}

.integrity-card-body strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 2px;
}

.integrity-card-body p {
  font-size: 0.74rem;
  color: #047857;
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   Catalog Controls Bar (Live Lots Header)
   ========================================================================== */
.ctrl-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.live-lots-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.1); }
  100% { box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35); }
}

.live-lots-heading h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.ctrl-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.active-count-text {
  font-size: 0.82rem;
  color: #64748b;
}

.view-toggle-btns {
  display: flex;
  gap: 4px;
}

.view-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.15s;
}

.view-btn.active {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
}

/* ==========================================================================
   Lot Cards (3 Columns Matching Mockup)
   ========================================================================== */
.lot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lot-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.lot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.lot-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
  padding: 10px;
}

.lot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.lot-card:hover .lot-img-wrap img {
  transform: scale(1.05);
}

.lot-timer-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.2s;
}

.btn-wishlist:hover {
  color: #ef4444;
  border-color: #fca5a5;
}

.btn-wishlist.active {
  color: #ef4444;
}

.lot-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-subcat-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0284c7;
  background: #f0f9ff;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  align-self: flex-start;
}

.lot-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.lot-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s;
}

.lot-title a:hover {
  color: #059669;
}

.lot-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

.lot-pricing-info {
  margin-top: auto;
  margin-bottom: 14px;
}

.lot-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.lot-price small {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
}

.lot-total-val {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 2px;
}

.lot-avail-row {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 3px;
}

.lot-avail-row strong {
  color: #0f172a;
}

.lot-actions-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-card-order {
  flex: 1;
  background: #059669;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 16px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-card-order:hover {
  background: #047857;
}

.btn-card-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  background: #ffffff;
  flex-shrink: 0;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-card-arrow:hover {
  border-color: #059669;
  background: #f0fdf4;
}

/* ==========================================================================
   Listing Details Page
   ========================================================================== */
.detail-section {
  padding: 28px 0 60px;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--navy);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: flex-start;
}

.detail-img {
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.detail-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.specs-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.specs-card-head {
  background: #f9fafb;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.specs-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.specs-tbl td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
}

.specs-tbl tr:last-child td {
  border-bottom: none;
}

.specs-key {
  font-weight: 600;
  color: var(--muted);
  width: 40%;
}

.specs-val {
  color: var(--text);
  font-weight: 500;
}

.procure-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: sticky;
  top: 80px;
  overflow: hidden;
}

.procure-head {
  background: var(--navy);
  padding: 16px 20px;
  color: #fff;
}

.procure-head-title {
  font-size: 0.8rem;
  color: #9ca3af;
  text-transform: uppercase;
  font-weight: 600;
}

.procure-clock {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.status-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
}

.sp-active {
  background: var(--green);
  color: #fff;
}

.sp-sold {
  background: #6b7280;
  color: #fff;
}

.sp-expired {
  background: #ef4444;
  color: #fff;
}

.sp-reserved {
  background: var(--gold);
  color: var(--navy-dark);
}

.procure-body {
  padding: 20px;
}

.price-big {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
}

.price-big small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}

.insp-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--green-light);
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 12px;
  font-size: 0.82rem;
  color: #065f46;
  margin: 14px 0;
}

.seller-box {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.86rem;
}

.seller-box-name {
  font-weight: 700;
  color: var(--navy);
}

.seller-box-sub {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.action-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.procure-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* ==========================================================================
   Related Lots
   ========================================================================== */
.related-section {
  padding: 16px 0 60px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.section-h {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
}

/* ==========================================================================
   Wizard / Forms
   ========================================================================== */
.page-section {
  padding: 36px 0 72px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
}

.form-card-head {
  background: var(--navy);
  padding: 24px 28px;
  color: #fff;
  border-bottom: 2px solid var(--gold);
}

.fch-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.fch-sub {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-top: 4px;
}

.form-card-body {
  padding: 28px;
}

.step-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.step-node:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 60%;
  right: -40%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.step-node.done .step-dot {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.step-node.active .step-dot {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.step-lbl {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 600;
}

.step-node.active .step-lbl {
  color: var(--navy);
}

.sec-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sec-title i {
  color: var(--gold);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.fg {
  margin-bottom: 16px;
}

.fl {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}

.fi,
.fs,
.ft {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
}

.fi:focus,
.fs:focus,
.ft:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 46, 90, 0.08);
}

/* Duration Picker Cards */
.dur-card {
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
  position: relative;
}

.dur-card input[type="radio"] {
  position: absolute;
  top: 8px;
  right: 8px;
  accent-color: var(--gold);
}

.dur-card:hover {
  border-color: var(--navy);
}

.dur-card.sel {
  border-color: var(--gold);
  background: var(--gold-light);
}

.dur-h {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}

.dur-p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 4px 0;
}

.dur-d {
  font-size: 0.72rem;
  color: var(--muted);
}

/* OTP box */
.otp-box {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 16px;
  display: none;
}

/* Secret Key box */
.key-box {
  background: var(--green-light);
  border: 2px dashed #86efac;
  border-radius: 8px;
  padding: 22px;
  text-align: center;
  margin: 20px 0;
}

.key-val {
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: #166534;
  background: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  display: inline-block;
  margin: 10px 0;
  border: 1px solid #bbf7d0;
  letter-spacing: 2px;
}

/* ==========================================================================
   Alert / Notice Boxes
   ========================================================================== */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-green {
  background: var(--green-light);
  border: 1px solid #86efac;
  color: #065f46;
}

.alert-red {
  background: var(--red-light);
  border: 1px solid #fca5a5;
  color: #7f1d1d;
}

/* ==========================================================================
   Cart & Checkout
   ========================================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  padding: 28px 0 60px;
  align-items: flex-start;
}

.table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.tbl th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.tbl td {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.cart-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 2px;
}

.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  width: 96px;
}

.qty-btn {
  width: 30px;
  height: 32px;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
}

.qty-in {
  width: 36px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 0.88rem;
  outline: none;
}

.sum-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 80px;
}

.sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.sum-row.total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  border-top: 2px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}

/* ==========================================================================
   Cart Slide Drawer
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  display: none;
}

.drawer-overlay.open {
  display: block;
}

.drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.28s ease;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.drawer.open {
  right: 0;
}

.drawer-head {
  background: var(--navy);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-body {
  padding: 18px;
  flex: 1;
  overflow-y: auto;
}

.drawer-foot {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  background: #f9fafb;
}

.drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-wrap {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-wrap.open {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  animation: mpop 0.2s ease;
}

@keyframes mpop {
  from {
    transform: scale(0.94);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-head {
  background: var(--navy);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body {
  padding: 20px;
}

.modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ==========================================================================
   Order Confirmation / Voucher
   ========================================================================== */
.voucher {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.voucher-head {
  background: var(--navy);
  color: #fff;
  padding: 30px;
  text-align: center;
}

.voucher-ref {
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed var(--gold);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 12px;
}

.voucher-body {
  padding: 28px;
}

/* ==========================================================================
   Admin Console
   ========================================================================== */
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.m-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.m-card-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.m-card-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-top: 4px;
}

.m-card-val.green {
  color: var(--green);
}

.m-card-val.gold {
  color: var(--gold);
}

.m-card-val.red {
  color: var(--red);
}

.admin-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.panel-head {
  background: #f9fafb;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-body {
  padding: 20px;
  overflow-x: auto;
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.hiw-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.hiw-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hiw-icon {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0b1626;
  color: #94a3b8;
  padding: 50px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 2px;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #34d399;
  background: #fdfbf7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.f-brand-title {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.f-brand-sub {
  font-size: 0.65rem;
  color: #94a3b8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 600;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: all 0.15s;
}

.footer-social-links a:hover {
  background: #34d399;
  color: #064e3b;
}

.f-col-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.f-links {
  list-style: none;
}

.f-links li {
  margin-bottom: 9px;
}

.f-links a {
  font-size: 0.84rem;
  color: #94a3b8;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.f-links a:hover {
  color: #34d399;
}

.btn-footer-create {
  background: #f59e0b;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-footer-create:hover {
  background: #d97706;
}

.footer-manage-link {
  font-size: 0.82rem;
  color: #f59e0b;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

.footer-manage-link:hover {
  text-decoration: underline;
  color: #fbbf24;
}

.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
#toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  border-left: 4px solid var(--gold);
  font-size: 0.86rem;
  font-weight: 600;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#toast.show {
  opacity: 1;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {

  .site-header,
  .ticker-bar,
  .site-footer,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .stat-box {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .header-row {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0;
  }

  .header-search {
    order: 3;
    max-width: 100%;
    margin-top: 8px;
  }

  .logo-img {
    width: 38px;
    height: 38px;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .logo-sub {
    display: none;
  }

  .hero-h1 {
    font-size: 1.6rem;
  }

  .lot-grid {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .admin-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .workflows-grid {
    grid-template-columns: 1fr;
  }

  .pillars-deep-grid {
    grid-template-columns: 1fr;
  }

  .fee-cards-grid {
    grid-template-columns: 1fr;
  }

  .hiw-h1 {
    font-size: 1.85rem;
  }
}

/* ==========================================================================
   Hero Section Links & Enhancements
   ========================================================================== */
.hero-stat-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.stat-card-footer-link {
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(11, 23, 40, 0.75);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  transition: all 0.2s;
}

.stat-card-footer-link:hover {
  background: rgba(52, 211, 153, 0.15);
  color: #ffffff;
  border-color: #34d399;
}

/* ==========================================================================
   How It Works Page Styles
   ========================================================================== */
.hiw-hero {
  background: linear-gradient(180deg, #091524 0%, #0d1e33 100%);
  color: #ffffff;
  padding: 54px 0 44px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hiw-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hiw-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  margin-bottom: 16px;
}

.hiw-h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hiw-sub {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 28px;
}

.hiw-quick-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hiw-anchor {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.15s;
}

.hiw-anchor:hover {
  background: #34d399;
  border-color: #34d399;
  color: #064e3b;
}

/* Charter Box */
.hiw-charter-sec {
  padding: 36px 0 16px;
}

.hiw-charter-card {
  background: #0b1c30;
  color: #ffffff;
  border-radius: 14px;
  padding: 28px 34px;
  border-left: 5px solid #f59e0b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.charter-badge {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f59e0b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.charter-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 12px;
}

.charter-author {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Workflows Section */
.hiw-workflows {
  padding: 48px 0;
}

.hiw-sec-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.hiw-pill-title {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #059669;
  background: #ecfdf5;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.hiw-sec-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.hiw-sec-header p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

.workflows-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.workflow-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.workflow-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.wf-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.buyer-icon {
  background: #f0fdf4;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.seller-icon {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.workflow-header h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.wf-subtitle {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.wf-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.wf-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.55;
}

.wf-action {
  margin-top: auto;
}

/* 4 Pillars Deep Section */
.hiw-pillars-sec {
  background: #f8fafc;
  padding: 56px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.pillars-deep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar-deep-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pillar-deep-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.pdc-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.icon-gold { background: #fffbeb; color: #d97706; }
.icon-green { background: #f0fdf4; color: #059669; }
.icon-navy { background: #eff6ff; color: #2563eb; }
.icon-emerald { background: #ecfdf5; color: #0d9488; }

.pillar-deep-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.pillar-deep-card p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 16px;
}

.pdc-highlight {
  margin-top: auto;
  font-size: 0.74rem;
  font-weight: 700;
  color: #059669;
  background: #f0fdf4;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Fee Tiers Section */
.hiw-fees-sec {
  padding: 56px 0;
}

.fee-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fee-tier-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s;
}

.fee-tier-card:hover {
  transform: translateY(-3px);
}

.fee-tier-card.featured {
  border-color: #059669;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.15);
}

.ft-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #059669;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ft-duration {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.ft-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #059669;
  line-height: 1.1;
}

.ft-per {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.ft-features {
  list-style: none;
  text-align: left;
  font-size: 0.8rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ft-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ft-features i {
  color: #059669;
  font-size: 0.75rem;
}

/* FAQ Section */
.hiw-faq-sec {
  background: #f8fafc;
  padding: 56px 0;
  border-top: 1px solid #e2e8f0;
}

.faq-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.15s;
}

.faq-item[open] {
  border-color: #cbd5e1;
}

.faq-question {
  padding: 18px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  color: #64748b;
  font-size: 0.82rem;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  color: #059669;
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.65;
  border-top: 1px solid #f8fafc;
}

.faq-answer a {
  color: #059669;
  font-weight: 600;
}

/* CTA Section */
.hiw-cta-sec {
  padding: 56px 0 72px;
}

.hiw-cta-card {
  background: linear-gradient(135deg, #0b1c30 0%, #064e3b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 44px 30px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(11, 28, 48, 0.18);
}

.hiw-cta-card h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.hiw-cta-card p {
  font-size: 0.98rem;
  color: #cbd5e1;
  max-width: 580px;
  margin: 0 auto 24px;
}

.hiw-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Anchor Target Scroll Offsets for Sticky Header */
#how-buyers,
#how-sellers,
#pillars,
#fee-tiers,
#faq,
#zero-registration,
#micro-fees,
#auto-expiry,
#inspection,
#catalog {
  scroll-margin-top: 86px;
}

.sidebar-integrity-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-integrity-card:hover {
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.12);
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Breakpoints for How It Works & Catalog Layout
   ========================================================================== */
@media (max-width: 1024px) {
  .workflows-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pillars-deep-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fee-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .lot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hiw-h1 {
    font-size: 2.05rem;
  }

  .hiw-sub {
    font-size: 0.95rem;
  }

  .hiw-anchor {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
}

@media (max-width: 600px) {
  .lot-grid {
    grid-template-columns: 1fr;
  }

  .pillars-deep-grid {
    grid-template-columns: 1fr;
  }

  .fee-cards-grid {
    grid-template-columns: 1fr;
  }

  .hiw-charter-card {
    padding: 22px 18px;
  }

  .charter-quote {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .workflow-card {
    padding: 22px 18px;
  }

  .hiw-cta-card {
    padding: 32px 18px;
  }

  .hiw-cta-card h2 {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   Procurement Cart, Checkout & Order Confirmation Styles
   ========================================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
  margin: 20px 0 50px;
}

@media (max-width: 992px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.cart-table-card,
.table-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.sum-card,
.order-summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--border);
}

.cart-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: middle;
}

.cart-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: #f8fafc;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-item-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.3;
}

.cart-item-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.qty-input-wrap {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.qty-btn {
  width: 32px;
  height: 32px;
  background: #f8fafc;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.qty-btn:hover {
  background: #e2e8f0;
}

.qty-input {
  width: 44px;
  height: 32px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  outline: none;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 1px dashed var(--border);
}

.summary-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  border-bottom: none;
  padding-top: 14px;
}

.inspection-guarantee-badge {
  background: var(--green-light);
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 12px 14px;
  color: #065f46;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Wizard / Printable Voucher */
.wizard-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.wizard-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wizard-body {
  padding: 32px;
}

.voucher {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.voucher-head {
  background: linear-gradient(135deg, #0b1c30 0%, #1e293b 100%);
  color: #ffffff;
  padding: 32px 24px;
  text-align: center;
}

.voucher-ref {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px dashed var(--gold);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 14px;
}

.voucher-body {
  padding: 28px 24px;
}

.btn-sell-pola {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-sell-pola:hover {
  background: var(--navy-dark);
  color: #fff;
}

.text-emerald {
  color: var(--green);
}

.font-bold {
  font-weight: 700;
}

@media print {
  .site-header,
  .site-footer,
  .no-print,
  #cartBtn,
  #toast,
  .header-nav {
    display: none !important;
  }
  .wrap {
    max-width: 100% !important;
    padding: 0 !important;
  }
  .wizard-card,
  .voucher {
    box-shadow: none !important;
    border: 1px solid #000 !important;
  }
}