@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Poppins:wght@400;500;600;700;900&family=Open+Sans:wght@400;500;600&display=swap');
/* ═══════════════════════════════════════════════════════════════
   GSV Store — store.css
   Dark theme e-commerce for Grand Strand Visuals
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  /* ═ Light theme — matched to grandstrandvisuals.com ═ */
  --bg:          #F7F8FA;   /* off-white page background */
  --card:        #FFFFFF;   /* card surface */
  --accent:      #6888A8;   /* GSV brand accent */
  --accent-h:    #4A6A8F;   /* darker on hover */
  --accent-dim:  rgba(104, 136, 168, 0.12);
  --text:        #0F1B2D;   /* deep navy headings */
  --text-muted:  #3F4A5C;   /* slate body */
  --text-faint:  #6B7684;
  --border:      rgba(15, 27, 45, 0.10);
  --border-h:    rgba(15, 27, 45, 0.18);
  --card-border: 1px solid rgba(15, 27, 45, 0.10);
  --nav-h:       64px;
  --radius:      4px;
  --transition:  0.22s ease;
  --sidebar-w:   380px;
  --shadow-sm:   0 1px 2px rgba(15, 27, 45, 0.05), 0 1px 3px rgba(15, 27, 45, 0.08);
  --shadow-md:   0 4px 6px rgba(15, 27, 45, 0.05), 0 10px 15px rgba(15, 27, 45, 0.08);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-h); }

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

input, textarea, select {
  font-family: inherit;
  background: transparent;
  color: var(--text);
}

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(15, 27, 45, 0.18); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-h);
  background: #F7F8FA;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-decoration: none;
  flex: 1;
}
.nav-logo-main {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0F1B2D;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-logo-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Wordmark image (matches grandstrandvisuals.com header) */
.nav-logo-wordmark-img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-back {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-back:hover { color: var(--text); }
.nav-back::before { content: '← '; }

/* ── Account nav button ──────────────────────────────────────── */
.nav-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 7px 14px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  background: transparent;
  margin-right: 12px;
  transition: all 0.15s ease;
  white-space: nowrap;
  justify-content: center;
}
.nav-account-btn:hover {
  color: #fff;
  background: var(--accent);
}
@media (max-width: 640px) {
  .nav-account-btn { font-size: 11px; padding: 6px 10px; margin-right: 8px; letter-spacing: 0.1em; }
}

.quote-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0F1B2D;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.quote-btn:hover { background: var(--accent-h); transform: translateY(-1px); }
.quote-btn:active { transform: translateY(0); }

.quote-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #0F1B2D;
  color: var(--accent);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  transition: transform 0.2s ease;
}
.quote-badge.pop { animation: badgePop 0.3s ease; }

@keyframes badgePop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ── Hero Banner ──────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #EEF1F5 0%, #F7F8FA 50%, #EEF1F5 100%);
  border-bottom: 1px solid var(--border);
  padding: 60px 32px 52px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(104, 136, 168,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(104, 136, 168,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-accent-bar {
  width: 4px;
  height: 80px;
  background: var(--accent);
  margin-right: 28px;
  flex-shrink: 0;
}

.hero-content {}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0F1B2D;
  line-height: 1.05;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
}

.hero-stat-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.hero-stat {}
.hero-stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  display: block;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

/* ── Controls Bar (Search + Filter) ──────────────────────────── */
.controls {
  background: #EEF1F5;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h);
  z-index: 800;
}

.controls-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.search-row {
  padding: 16px 0 0;
  display: flex;
  gap: 12px;
  align-items: center;
}

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

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  pointer-events: none;
  width: 16px;
  height: 16px;
}

.search-input {
  width: 100%;
  background: rgba(15, 27, 45, 0.048);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  padding: 10px 14px 10px 40px;
  outline: none;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.search-input::placeholder { color: var(--text-faint); }
.search-input:focus {
  border-color: var(--accent);
  background: rgba(104, 136, 168,0.05);
}

.product-count {
  font-size: 13px;
  color: var(--text-faint);
  white-space: nowrap;
}

.category-bar {
  display: flex;
  gap: 6px;
  padding: 12px 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.category-bar::-webkit-scrollbar { display: none; }

.cat-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(15, 27, 45, 0.048);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.cat-pill:hover {
  background: rgba(15, 27, 45, 0.10);
  color: var(--text);
  border-color: var(--border-h);
}
.cat-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0F1B2D;
  font-weight: 600;
}

/* ── Product Grid ─────────────────────────────────────────────── */
.store-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 32px 80px;
}

.grid-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.grid-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.grid-title {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0F1B2D;
}

.grid-divider {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

/* ── Product Card ─────────────────────────────────────────────── */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: var(--card-border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 27, 45, 0.192);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(104, 136, 168,0.12);
}

.card-image-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #0F1B2D;
  position: relative;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: brightness(0.85);
}
.product-card:hover .card-image-wrap img {
  transform: scale(1.04);
  filter: brightness(1);
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.3;
  background: linear-gradient(135deg, #0F1B2D 0%, #EEF1F5 100%);
}

.card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-category {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-name {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #0F1B2D;
  line-height: 1.2;
}

.card-price {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #0F1B2D;
  line-height: 1;
}
.card-price-unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 3px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

/* ── Dimension / Size selector inside card ────────────────────── */
.card-config {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.config-label {
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dim-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dim-input {
  width: 72px;
  background: rgba(15, 27, 45, 0.072);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  padding: 7px 10px;
  text-align: center;
  transition: border-color var(--transition);
}
.dim-input:focus {
  border-color: var(--accent);
  outline: none;
}
.dim-sep {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 600;
}

.size-select {
  width: 100%;
  background: rgba(15, 27, 45, 0.072);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  padding: 8px 10px;
  cursor: pointer;
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(15, 27, 45, 0.48)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.size-select:focus { border-color: var(--accent); outline: none; }
.size-select option { background: #EEF1F5; }

.dim-estimate {
  font-size: 12px;
  color: var(--accent);
  min-height: 18px;
}

.card-actions {
  padding: 0 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-add-quote {
  width: 100%;
  background: var(--accent);
  color: #0F1B2D;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-add-quote:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn-add-quote:active { transform: translateY(0); }
.btn-add-quote.added {
  background: rgba(104, 136, 168,0.25);
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* ── Empty state ──────────────────────────────────────────────── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
}
.empty-state-icon {
  font-size: 48px;
  opacity: 0.2;
  margin-bottom: 16px;
}
.empty-state-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.empty-state-sub {
  font-size: 14px;
  color: var(--text-faint);
}

/* ── Quote Drawer ─────────────────────────────────────────────── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.quote-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--sidebar-w);
  max-width: 100vw;
  background: #0F1B2D;
  border-left: 1px solid var(--border);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.quote-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.drawer-title {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0F1B2D;
}
.drawer-title-sub {
  font-size: 12px;
  color: var(--text-faint);
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  display: block;
  margin-top: 2px;
}

.drawer-close {
  width: 36px;
  height: 36px;
  background: rgba(15, 27, 45, 0.072);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  line-height: 1;
}
.drawer-close:hover { background: rgba(15, 27, 45, 0.12); color: #0F1B2D; }

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-empty {
  text-align: center;
  padding: 60px 16px;
  color: var(--text-faint);
}
.drawer-empty-icon {
  font-size: 40px;
  opacity: 0.2;
  margin-bottom: 12px;
}
.drawer-empty-text {
  font-size: 14px;
  line-height: 1.5;
}

.quote-item {
  background: rgba(15, 27, 45, 0.036);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.qi-name {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0F1B2D;
}

.qi-detail {
  font-size: 12px;
  color: var(--text-faint);
}

.qi-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
}
.qty-btn {
  width: 28px;
  height: 28px;
  background: rgba(15, 27, 45, 0.048);
  color: var(--text-muted);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  line-height: 1;
  border: none;
}
.qty-btn:hover { background: rgba(15, 27, 45, 0.12); color: #0F1B2D; }
.qty-val {
  width: 36px;
  text-align: center;
  font-size: 14px;
  color: var(--text);
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 4px 0;
}

.qi-price {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #0F1B2D;
}

.qi-remove {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 18px;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  transition: color var(--transition);
}
.qi-remove:hover { color: #e05252; }

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.drawer-total-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.drawer-total-val {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0F1B2D;
}
.drawer-total-note {
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 16px;
  line-height: 1.5;
}

.btn-request-quote {
  width: 100%;
  background: var(--accent);
  color: #0F1B2D;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-request-quote:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn-request-quote:disabled {
  background: rgba(15, 27, 45, 0.10);
  color: var(--text-faint);
  cursor: not-allowed;
  transform: none;
}

.btn-clear-quote {
  width: 100%;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px;
  cursor: pointer;
  margin-top: 8px;
  transition: border-color var(--transition), color var(--transition);
}
.btn-clear-quote:hover { border-color: var(--border-h); color: var(--text-muted); }

/* ── Modal ────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #0F1B2D;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.modal-title {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0F1B2D;
}
.modal-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 22px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  margin-left: 16px;
  transition: color var(--transition);
}
.modal-close:hover { color: #0F1B2D; }

.modal-body {
  padding: 24px 32px;
}

.modal-quote-summary {
  background: rgba(15, 27, 45, 0.036);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  margin-bottom: 24px;
}
.modal-quote-summary-title {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 10px;
}
.modal-quote-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding: 3px 0;
}
.modal-quote-item-name { flex: 1; }
.modal-quote-item-price { color: var(--text); font-weight: 600; }

.modal-quote-total {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-family: 'Oswald', sans-serif;
}
.modal-quote-total-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.modal-quote-total-val {
  font-size: 18px;
  font-weight: 700;
  color: #0F1B2D;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .form-group:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.form-input,
.form-textarea {
  background: rgba(15, 27, 45, 0.048);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: rgba(104, 136, 168,0.05);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-faint); }

.form-textarea {
  resize: vertical;
  min-height: 90px;
  font-size: 13px;
  line-height: 1.55;
}

.modal-footer {
  padding: 20px 32px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #0F1B2D;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 20px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-submit:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn-submit:disabled { background: rgba(15, 27, 45, 0.10); color: var(--text-faint); cursor: not-allowed; transform: none; }

.form-note {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.5;
}

/* Submit states */
.submit-success {
  text-align: center;
  padding: 20px 0;
}
.submit-success-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.submit-success-title {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0F1B2D;
  margin-bottom: 8px;
}
.submit-success-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.submit-error {
  background: rgba(224,82,82,0.1);
  border: 1px solid rgba(224,82,82,0.3);
  color: #e08080;
  font-size: 13px;
  padding: 12px 14px;
  text-align: center;
}

/* ── Toast Notification ───────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: #EEF1F5;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-size: 13px;
  padding: 12px 20px;
  white-space: nowrap;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: #EEF1F5;
  border-top: 1px solid var(--border);
  padding: 48px 32px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {}
.footer-logo-main {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F1B2D;
  display: block;
  margin-bottom: 2px;
}
.footer-logo-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col-title {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-faint);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }

.footer-contact p {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 6px;
  line-height: 1.5;
}
.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-faint);
}
.footer-copy a {
  color: var(--text-faint);
  text-decoration: none;
}
.footer-copy a:hover { color: var(--accent); }

.nav-admin-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 7px 14px;
  margin-right: 12px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.nav-admin-btn:hover {
  color: #fff;
  background: var(--accent);
}
@media (max-width: 640px) {
  .nav-admin-btn { font-size: 11px; padding: 6px 10px; margin-right: 8px; letter-spacing: 0.1em; }
}

/* ── Responsive Adjustments ───────────────────────────────────── */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav { gap: 12px; padding: 0 20px; }
  .nav-logo-main { font-size: 15px; letter-spacing: 0.06em; }
  .nav-logo-sub { font-size: 10px; }
  .nav-logo-wordmark-img { height: 32px; }
  .nav-actions { gap: 12px; }
  .nav-back { font-size: 12px; }
  /* Hide secondary cross-category nav-back links on tablet; keep the first (primary back) link */
  .nav-actions > a.nav-back ~ a.nav-back { display: none; }
}

@media (max-width: 640px) {
  :root { --sidebar-w: 100vw; }

  .nav { padding: 0 14px; gap: 10px; }
  .nav-logo-main { font-size: 13px; letter-spacing: 0.05em; white-space: nowrap; }
  .nav-logo-sub { display: none; }
  .nav-logo-wordmark-img { height: 26px; }
  .nav-back span { display: none; }
  .nav-actions { gap: 10px; }
  .nav-back { font-size: 12px; }
  /* Shrink cart button on phones */
  .quote-btn { padding: 6px 10px; font-size: 12px; }
  .nav-account-btn { min-width: 0; padding: 6px 8px; font-size: 11px; }

  .hero { padding: 40px 16px 36px; }

  .controls-inner { padding: 0 16px; }

  .store-main { padding: 24px 16px 60px; }

  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }

  .modal-header,
  .modal-body,
  .modal-footer { padding-left: 20px; padding-right: 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-footer { padding: 40px 16px 24px; }

  .hero-stat-row { gap: 20px; }
}

/* ── Utility ──────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, #EEF1F5 25%, #6B7684 50%, #EEF1F5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT DETAIL MODAL (PDP)
═══════════════════════════════════════════════════════════ */
.pdp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 900;
  overflow-y: auto;
  padding: 24px 16px;
  backdrop-filter: blur(4px);
}
.pdp-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.pdp-modal {
  background: #0F1B2D;
  border: 1px solid rgba(15, 27, 45, 0.10);
  max-width: 960px;
  width: 100%;
  position: relative;
  margin: auto;
}
.pdp-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(15, 27, 45, 0.5);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  padding: 4px 8px;
}
.pdp-close:hover { color: #0F1B2D; }
.pdp-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
}
.pdp-left {
  border-right: 1px solid rgba(15, 27, 45, 0.10);
}
.pdp-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #F7F8FA;
}
.pdp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp-right {
  padding: 32px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pdp-category {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6888A8;
}
.pdp-name {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  color: #0F1B2D;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.03em;
}
.pdp-price-row {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: #6888A8;
  font-weight: 500;
}
.pdp-price-row .price-unit {
  font-size: 13px;
  color: rgba(15, 27, 45, 0.48);
  margin-left: 4px;
}
.pdp-desc {
  color: rgba(15, 27, 45, 0.7);
  font-size: 13.5px;
  line-height: 1.7;
  flex: 1;
  overflow-y: auto;
  max-height: 340px;
  padding-right: 4px;
  white-space: pre-wrap;
}
.pdp-desc::-webkit-scrollbar { width: 4px; }
.pdp-desc::-webkit-scrollbar-track { background: transparent; }
.pdp-desc::-webkit-scrollbar-thumb { background: rgba(15, 27, 45, 0.18); }

/* Section headers inside description */
.pdp-desc .desc-section {
  margin-top: 12px;
  display: block;
}
.pdp-desc .desc-header {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6888A8;
  display: block;
  margin-bottom: 4px;
}
.pdp-actions {
  margin-top: 8px;
}
.pdp-add-btn {
  background: #6888A8;
  color: #0F1B2D;
  border: none;
  padding: 12px 32px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.15s;
}
.pdp-add-btn:hover { background: #4A6A8F; }

/* Product card — make image clickable */
.product-card .card-img-wrap { cursor: pointer; }
.product-card .card-img-wrap:hover img { opacity: 0.85; }
.card-detail-link {
  background: none;
  border: 1px solid rgba(15, 27, 45, 0.12);
  color: rgba(15, 27, 45, 0.5);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  transition: color 0.15s, border-color 0.15s;
}
.card-detail-link:hover { color: #0F1B2D; border-color: rgba(15, 27, 45, 0.36); }

/* Responsive */
@media (max-width: 700px) {
  .pdp-inner { grid-template-columns: 1fr; }
  .pdp-left { border-right: none; border-bottom: 1px solid rgba(15, 27, 45, 0.10); }
  .pdp-img-wrap { aspect-ratio: 16/9; }
  .pdp-right { padding: 20px; }
  .pdp-name { font-size: 22px; }
  .pdp-desc { max-height: 220px; }
}

/* ── Hero Buttons ─────────────────────────────────────────────── */
.hero-btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 32px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hero-btn-primary {
  background: #6888A8;
  color: #0F1B2D;
  border: 2px solid #6888A8;
}

.hero-btn-primary:hover {
  background: #4A6A8F;
  border-color: #4A6A8F;
}

.hero-btn-ghost {
  background: transparent;
  color: #0F1B2D;
  border: 2px solid rgba(15, 27, 45, 0.55);
}

.hero-btn-ghost:hover {
  border-color: #6888A8;
  color: #6888A8;
}

@media (max-width: 480px) {
  .hero-btn-row { flex-direction: column; }
  .hero-btn { justify-content: center; }
}
