/* 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 bg matches the footer's ink color (not body's cream) so mobile
   Safari's rubber-band overscroll past the last section — or a stale
   100vh vs. the address bar collapsing/expanding — reveals dark instead
   of a jarring white/cream flash at the very bottom of the page. */
html, body { margin: 0; }
html { background: #211D1A; }
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; }

.select-brand {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  cursor: pointer;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23B8894A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 11px 8px;
  padding-right: 36px !important;
  transition: border-color .18s;
}
.select-brand:hover { 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) {
  .shop-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-links { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
  .split-2 { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .shop-grid-4 { grid-template-columns: 1fr !important; }
  .hero-text-pad { padding-left: 20px !important; padding-right: 20px !important; }
  .brand-logo { font-size: 18px !important; }
  .nav-btn-group { gap: 10px !important; }
  .btn-cart { padding: 0 10px !important; height: 38px; }
  .btn-cart .cart-label { display: none !important; }
  .btn-cart .cart-icon { display: inline-block !important; }
  .ck-city-row { flex-wrap: wrap; }
  .ck-city-col { flex: 1 1 100% !important; }
  .ck-zip-col { width: 140px !important; }
  .hero-text-pad { padding-top: 48px !important; padding-bottom: 48px !important; }
  .section-pad-arms { padding-top: 56px !important; padding-bottom: 20px !important; }
  .section-pad-featured { padding-top: 48px !important; padding-bottom: 28px !important; }
  .scripture-band { margin-top: 48px !important; }
  .scripture-band-pad { padding: 64px 20px !important; }
  .section-pad-resources { padding-top: 56px !important; padding-bottom: 56px !important; }
  .resources-banner-pad { padding: 40px 24px !important; }
  .newsletter-cta-pad { padding: 56px 24px !important; }
  /* Footer accordion: each section (About Us / Policies / Legal / Social)
     collapses behind a toggle arrow so the footer doesn't dominate the
     scroll on a phone. Desktop ignores .is-open entirely — the body keeps
     whatever display its own inline style set, always visible; only this
     media query is allowed to hide it. */
  .footer-toggle-arrow { display: inline-block !important; }
  .footer-section-body:not(.is-open) { display: none !important; }
}
.footer-toggle-arrow { display: none; }
.footer-toggle-arrow.is-open { transform: rotate(180deg); }

/* Left column aligns with the site's normal .wrap left inset; the right
   (image) column is deliberately NOT wrapped, so it bleeds to the true
   viewport edge instead of stopping at .wrap's centered max-width. */
.hero-text-pad {
  padding-top: 76px;
  padding-bottom: 76px;
  padding-left: max(40px, calc((100vw - 1180px) / 2 + 40px));
  padding-right: 56px;
}
.mobile-menu-btn { display: none; }
.mobile-menu-panel .navlink { padding: 12px 0 !important; font-size: 13px !important; border-bottom: 1px solid #EFE8D8; }
.mobile-menu-panel .navlink:last-child { border-bottom: none; }
