/* layout only; all colour/theme rules live in site.css */

/* -----------------------------------------------------------------------
   Page header
   ----------------------------------------------------------------------- */
.vr-mp-item-header {
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--vr-border);
  margin-bottom: 24px;
}
.vr-mp-item-header h1 { margin: 6px 0 4px; }

/* -----------------------------------------------------------------------
   Two-column layout: left (image + story) | right (buy panel)
   ----------------------------------------------------------------------- */
.vr-mp-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 860px) {
  .vr-mp-layout { grid-template-columns: 1fr; }
}

.vr-mp-left-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* -----------------------------------------------------------------------
   Gallery card
   ----------------------------------------------------------------------- */
.vr-mp-gallery { padding: 16px; }
.vr-mp-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--vr-bg-soft);
}
.vr-mp-hero img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: contain;
  border-radius: 12px;
}
.vr-mp-zoom {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10,12,20,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.85;
  transition: opacity .15s;
}
.vr-mp-zoom:hover { opacity: 1; }
.vr-mp-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.vr-mp-thumb {
  width: 64px; height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--vr-border);
  background: var(--vr-bg-soft);
  cursor: pointer;
  padding: 0;
  transition: border-color .15s;
}
.vr-mp-thumb:hover { border-color: var(--vr-accent); }
.vr-mp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vr-mp-details { margin-top: 14px; }
.vr-mp-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* -----------------------------------------------------------------------
   Artist story card
   ----------------------------------------------------------------------- */
.vr-mp-story {
  padding: 20px 22px;
}
.vr-mp-story-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.vr-mp-story-icon {
  font-size: 1.25rem;
  flex: 0 0 auto;
  opacity: .85;
}
.vr-mp-story-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: .7;
  margin: 0;
}

/* Primary narrative text */
.vr-mp-story-text p {
  margin: 0 0 0.9em;
  line-height: 1.7;
  font-size: 0.95rem;
  color: var(--vr-text);
  opacity: .92;
}
.vr-mp-story-text p:last-child { margin-bottom: 0; }

/* Additional public notes */
.vr-mp-story-notes {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vr-mp-story-note {
  border-left: 2px solid var(--vr-accent-soft);
  padding-left: 12px;
}
.vr-mp-story-note-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.vr-mp-story-note-type {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--vr-accent);
}
.vr-mp-story-note-when {
  font-size: 0.75rem;
  opacity: .55;
}
.vr-mp-story-note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  opacity: .88;
}
.vr-mp-story-imgs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.vr-mp-story-img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--vr-border);
}

/* Story footer */
.vr-mp-story-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--vr-border);
}

/* Light theme */
html[data-theme="light"] .vr-mp-story-text p {
  color: #0b1220;
  opacity: .88;
}
html[data-theme="light"] .vr-mp-story-note p {
  color: #1a2236;
  opacity: .85;
}

/* -----------------------------------------------------------------------
   Buy panel (right column)
   ----------------------------------------------------------------------- */
.vr-mp-buy {
  position: sticky;
  top: 80px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vr-mp-price-block {
  border-bottom: 1px solid var(--vr-border);
  padding-bottom: 14px;
}
.vr-mp-price-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .6;
  margin-bottom: 4px;
}
.vr-mp-price-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.vr-mp-price-sub { font-size: .8rem; opacity: .6; margin-top: 4px; }

.vr-mp-trust-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .55;
  margin-bottom: 8px;
}
.vr-mp-trust-list {
  margin: 0; padding: 0 0 0 1.1rem;
  display: flex; flex-direction: column; gap: 5px;
}
.vr-mp-trust-list li { font-size: .82rem; opacity: .8; line-height: 1.4; }
.vr-mp-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid var(--vr-accent-soft);
  color: var(--vr-accent);
  background: var(--vr-accent-soft);
}
.vr-mp-buy-btn { width: 100%; justify-content: center; }
.vr-mp-note { font-size: .78rem; opacity: .55; text-align: center; margin: 0; }

/* Checkout */
.vr-mp-checkout { border-top: 1px solid var(--vr-border); padding-top: 14px; }
.vr-mp-checkout-title { font-size: .95rem; font-weight: 700; margin: 0 0 8px; }
.vr-mp-checkout-row { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.vr-mp-card {
  background: var(--vr-bg-soft);
  border: 1px solid var(--vr-border);
  border-radius: 10px;
  padding: 12px;
  min-height: 44px;
}
.vr-mp-postal { display: flex; flex-direction: column; gap: 5px; }
.vr-mp-filter-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; opacity: .6; }
.vr-mp-actions { display: flex; gap: 10px; }
.vr-mp-msg {
  font-size: .82rem;
  opacity: .85;
  padding: 8px 12px;
  background: var(--vr-bg-soft);
  border-radius: 8px;
  border: 1px solid var(--vr-border);
}

/* -----------------------------------------------------------------------
   Accordion section
   ----------------------------------------------------------------------- */
.vr-mp-accordion {
  margin-top: 1.25rem;
  padding: 0;
  overflow: hidden;
}
.vr-mp-accordion details {
  border-bottom: 1px solid var(--vr-border);
}
.vr-mp-accordion details:last-child { border-bottom: none; }
.vr-mp-accordion summary {
  padding: 14px 18px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.vr-mp-accordion summary::-webkit-details-marker { display: none; }
.vr-mp-accordion summary::after {
  content: "\002B";
  font-size: 1.1rem;
  opacity: .6;
  font-weight: 400;
}
.vr-mp-accordion details[open] summary::after { content: "\00D7"; }
.vr-mp-accordion-body,
.vr-mp-steps {
  padding: 0 18px 16px;
}
.vr-mp-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.vr-mp-step:last-child { margin-bottom: 0; }
.vr-mp-step-kicker {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--vr-accent-soft);
  color: var(--vr-accent);
  font-weight: 700;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -----------------------------------------------------------------------
   Lightbox
   ----------------------------------------------------------------------- */
.vr-mp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,8,20,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.vr-mp-lightbox.show { opacity: 1; pointer-events: all; }
.vr-mp-lightbox-inner {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
}
.vr-mp-lightbox-inner img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border-radius: 12px;
}
.vr-mp-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  background: var(--vr-card);
  border: 1px solid var(--vr-border);
  color: var(--vr-text);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
