/* Verse & Book — global styles. The heavy layout lives inline in app.js
   templates (ported 1:1 from the Claude Design file); this sheet carries the
   base reset, hover states (inline styles can't), animations, and responsive
   fixes. Palette: wine #591F2B, oxblood #3F1620, gold #D8B46A, bronze
   #B8894A, cream #FBF8F2, parchment #F2E7D3, teal #0E5049, ink #211D1A. */

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: #FBF8F2;
  color: #211D1A;
  font-family: 'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: #591F2B; text-decoration: none; }
a:hover { color: #3F1620; }
::selection { background: #D8B46A; color: #3F1620; }
button { font-family: 'Archivo', system-ui, sans-serif; }
input, select {
  font-family: 'Archivo', system-ui, sans-serif;
  border: 1px solid #DDD4C3;
  background: #fff;
  padding: 13px 15px;
  border-radius: 3px;
  font-size: 14px;
  color: #211D1A;
  width: 100%;
}
input:focus, select:focus { outline: none; border-color: #B8894A; }

@keyframes vbFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes vbSlide { from { transform: translateX(100%); } to { transform: none; } }
@keyframes vbDim { from { opacity: 0; } to { opacity: 1; } }
@keyframes vbSpin { to { transform: rotate(360deg); } }

.vb-fade { animation: vbFade .5s ease both; }

.spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid #DDD4C3; border-top-color: #591F2B;
  animation: vbSpin .8s linear infinite; display: inline-block;
}

/* --- hover states (ported from the design's style-hover attrs) --- */
.navlink { transition: color .18s; }
.navlink:hover { color: #0E5049 !important; }

.btn-gold { transition: background .25s; }
.btn-gold:hover { background: #e6c67f !important; }

.btn-wine { transition: background .25s; }
.btn-wine:hover { background: #3F1620 !important; }

.btn-ghost-wine { background: transparent; color: #591F2B; border: 1px solid #591F2B; transition: background .2s, color .2s; }
.btn-ghost-wine:hover { background: #591F2B !important; color: #F2E7D3 !important; }

.btn-outline-cream { transition: border-color .25s, color .25s; }
.btn-outline-cream:hover { border-color: #D8B46A !important; color: #D8B46A !important; }

.btn-cart { transition: background .2s, color .2s; }
.btn-cart:hover { background: #591F2B !important; color: #F2E7D3 !important; }

.btn-acct { transition: background .2s, color .2s, border-color .2s; }
.btn-acct:hover { background: #591F2B !important; color: #F2E7D3 !important; border-color: #591F2B !important; }

.menu-item { transition: background .15s, color .15s; }
.menu-item:hover { background: #D8B46A !important; color: #3F1620 !important; }

.card-lift { transition: box-shadow .3s, transform .3s; }
.card-lift:hover { box-shadow: 0 18px 34px -14px rgba(63,22,32,.28); transform: translateY(-3px); }

.gold-link { color: #B8894A; }
.gold-link:hover { color: #7A5A2E; }

/* --- responsive --- */
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
@media (max-width: 900px) {
  /* Sidebar stacks above the grid rather than squeezing to an unusable
     sliver next to it — filters are still fully usable, just full-width. */
  .shop-layout { grid-template-columns: 1fr !important; }
  .shop-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-links { gap: 16px !important; }
  .nav-links .navlink { display: none; }
  .nav-links .navlink.nav-shop { display: inline; }
  .split-2 { grid-template-columns: 1fr !important; }
  .mobile-menu-row { display: flex !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .shop-grid-3 { grid-template-columns: 1fr !important; }
}
.mobile-menu-row {
  display: none;
  gap: 20px;
  padding: 0 20px 12px;
  justify-content: center;
}
