
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  /* GGU Brand Colors */
  --ggu-blue:       #003468;
  --ggu-blue-dark:  #002450;
  --ggu-blue-light: #e6edf4;
  --ggu-gray:       #767676;
  --ggu-lgray:      #B3B3B3;

  --ink:       #1a1a1a;
  --paper:     #f4f6f9;
  --cream:     #e8edf3;
  --rule:      #d0d8e4;
  --accent:    var(--ggu-blue);
  --accent2:   #1a5fa8;
  --muted:     var(--ggu-gray);
  --white:     #ffffff;
  --card-bg:   #ffffff;
  --tag-area:  #e6edf4;
  --tag-mat:   #eaf0ea;
  --tag-color: #f0edf8;
  --shadow:    0 2px 12px rgba(0,52,104,.08);
  --shadow-lg: 0 8px 32px rgba(0,52,104,.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
}

/* ── MASTHEAD ── */
.masthead {
  background: var(--ggu-blue);
  color: var(--paper);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
  min-height: 58px;
}
.masthead-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--paper);
  text-decoration: none;
}
.masthead-brand span { color: var(--ggu-lgray); }

/* ── FLOOR NAV ── */
.floor-nav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  align-items: center;
}
.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  padding: 6px 11px;
  border-radius: 4px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-link:hover  { background: rgba(255,255,255,.15); color: #ffffff; }
.nav-link.active { background: rgba(255,255,255,.22); color: #ffffff; border-bottom: 2px solid var(--ggu-lgray); }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--ggu-blue-light);
  border-bottom: 2px solid var(--ggu-blue);
  padding: 28px 32px 22px;
}
.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--ggu-blue);
  margin-bottom: 4px;
}
.page-header .subtitle {
  color: var(--muted);
  font-size: 13px;
}

/* ── TOOLBAR ── */
.toolbar {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 12px 32px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 58px;
  z-index: 100;
}
.search-wrap {
  position: relative;
  flex: 2 1 200px;
}
.search-wrap svg {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: .4;
}
.toolbar input[type=search],
.toolbar select {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 8px 12px 8px 34px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border .15s;
}
.toolbar select { padding-left: 12px; flex: 1 1 160px; width: auto; }
.toolbar input[type=search]:focus,
.toolbar select:focus { border-color: var(--ggu-blue); box-shadow: 0 0 0 2px rgba(0,52,104,.12); }
.toolbar input::placeholder { color: var(--muted); }
.count-badge {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  background: var(--cream);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--rule);
}

/* ── CATALOG LIST ── */
.catalog {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── ITEM CARD ── */
.item {
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  display: flex;
  gap: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .18s, transform .18s;
}
.item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
  border-left: 3px solid var(--ggu-blue);
}

.item-thumb {
  flex: 0 0 200px;
  width: 200px;
  background: var(--cream);
  cursor: zoom-in;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.item-thumb img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.item-thumb:hover img { transform: scale(1.06); }
.item-thumb .zoom-icon {
  position: absolute;
  bottom: 6px; right: 6px;
  background: rgba(0,0,0,.45);
  border-radius: 4px;
  padding: 3px 5px;
  opacity: 0;
  transition: opacity .2s;
}
.item-thumb:hover .zoom-icon { opacity: 1; }
.zoom-icon svg { display: block; }

.no-photo { background: var(--cream); }
.no-photo img { opacity: .3; }

.item-body {
  flex: 1;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-left: 1px solid var(--rule);
}
.item-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.item-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.item-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ggu-blue);
  line-height: 1.25;
}
.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 11.5px;
  font-weight: 500;
  padding: 2px 9px;
  border-radius: 4px;
  letter-spacing: .02em;
}
.tag-area  { background: var(--ggu-blue-light); color: var(--ggu-blue); }
.tag-mat   { background: #eaf0ea;              color: #2e4e30; }
.tag-color { background: #f0edf8;              color: #3e2e5a; }
.tag-qty   { background: #e6edf4;              color: var(--ggu-blue-dark); }

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: 12.5px;
  color: var(--muted);
}
.item-meta span strong {
  color: var(--ink);
  font-weight: 500;
}

/* ── EMPTY ── */
.empty {
  display: none;
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
  font-size: 1rem;
}
.empty svg { margin-bottom: 12px; opacity: .3; }

/* ── LIGHTBOX ── */
#lb {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,10,8,.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
#lb.open { display: flex; }
#lb-inner {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#lb-img {
  max-width: 88vw;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  display: block;
}
#lb-caption {
  margin-top: 12px;
  color: rgba(247,245,240,.75);
  font-size: 13px;
  text-align: center;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
}
#lb-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 36px; height: 36px;
  background: var(--ggu-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: white;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  transition: background .15s;
}
#lb-close:hover { background: var(--accent2); }

/* ── CONTACT FOOTER ── */
.contact-footer {
  background: var(--ggu-blue);
  color: var(--paper);
  padding: 48px 32px;
  margin-top: 48px;
}
.contact-inner {
  max-width: 700px;
  margin: 0 auto;
}
.contact-inner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--paper);
}
.contact-inner p {
  color: rgba(247,245,240,.7);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
}
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--paper);
}
.contact-item svg { opacity: .6; flex-shrink: 0; }
.contact-divider {
  border: none;
  border-top: 1px solid rgba(247,245,240,.12);
  margin: 32px 0 18px;
}
.contact-copy {
  font-size: 12px;
  color: rgba(247,245,240,.35);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .masthead { padding: 0 16px; }
  .page-header, .catalog, .toolbar { padding-left: 16px; padding-right: 16px; }
  .item-thumb, .item-thumb img { flex: 0 0 130px; width: 130px; height: 100px; }
  .floor-nav { display: none; }
}
