/* Virtual Cellar — Frontend Styles
   Casual/fun community energy for moneycanbuyhappiness.org
   --------------------------------------------------------- */

:root {
  --vc-amber:      #c47a25;
  --vc-amber-light:#e8a94d;
  --vc-dark:       #1a0f04;
  --vc-brown:      #3d2008;
  --vc-cream:      #faf6ef;
  --vc-border:     #e0c99a;
  --vc-muted:      #7a5c38;
  --vc-white:      #ffffff;
  --vc-green:      #2d7a3a;
  --vc-radius:     10px;
  --vc-shadow:     0 4px 20px rgba(26,15,4,.12);
}

/* ── Live Feed ────────────────────────────────────────────── */

.vc-feed {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 680px;
  margin: 0 auto;
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  overflow: hidden;
  box-shadow: var(--vc-shadow);
}

.vc-feed__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--vc-dark);
  color: var(--vc-amber-light);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.vc-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #e74c3c;
  border-radius: 50%;
  animation: vc-pulse 1.4s ease-in-out infinite;
}

@keyframes vc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.vc-feed__items {
  divide-y: 1px solid var(--vc-border);
}

.vc-feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--vc-border);
  transition: background .15s;
}

.vc-feed-item:last-child { border-bottom: none; }
.vc-feed-item:hover { background: rgba(196,122,37,.06); }

.vc-feed-item__emoji {
  font-size: 1.6rem;
  min-width: 36px;
  text-align: center;
}

.vc-feed-item__body {
  flex: 1;
  min-width: 0;
}

.vc-feed-item__name {
  font-weight: 700;
  color: var(--vc-dark);
  font-size: .95rem;
}

.vc-feed-item__bottle {
  color: var(--vc-brown);
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vc-feed-item__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: nowrap;
}

.vc-feed-item__value {
  font-weight: 700;
  color: var(--vc-amber);
  font-size: .9rem;
}

.vc-feed-item__time {
  font-size: .78rem;
  color: var(--vc-muted);
}

.vc-feed-item__toasts {
  font-size: .78rem;
  color: var(--vc-muted);
}

/* ── Leaderboard ──────────────────────────────────────────── */

.vc-leaderboard {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 760px;
  margin: 0 auto;
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  overflow: hidden;
  box-shadow: var(--vc-shadow);
}

.vc-leaderboard__header {
  padding: 20px 24px 0;
  background: var(--vc-dark);
  color: var(--vc-amber-light);
}

.vc-leaderboard__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.vc-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.vc-tab {
  padding: 8px 16px;
  border: 1px solid rgba(196,122,37,.4);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: transparent;
  color: var(--vc-muted);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  transition: all .15s;
}

.vc-tab:hover,
.vc-tab.vc-tab--active {
  background: var(--vc-amber);
  color: var(--vc-dark);
  border-color: var(--vc-amber);
}

.vc-period-toggle {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid var(--vc-border);
}

.vc-period-btn {
  padding: 5px 14px;
  border: 1px solid var(--vc-border);
  border-radius: 20px;
  background: transparent;
  color: var(--vc-muted);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  transition: all .15s;
}

.vc-period-btn:hover,
.vc-period-btn.vc-period-btn--active {
  background: var(--vc-amber);
  color: var(--vc-dark);
  border-color: var(--vc-amber);
}

/* ── Leaderboard: reset + breadcrumb ────────────────────── */

/* "Clear filters" button — sits in the period toggle bar */
.vc-reset-btn {
  margin-left: auto;
  padding: 5px 12px;
  border: 1px solid rgba(196,122,37,.5);
  border-radius: 20px;
  background: transparent;
  color: var(--vc-amber);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  transition: all .15s;
}
.vc-reset-btn:hover {
  background: var(--vc-amber);
  color: #fff;
  border-color: var(--vc-amber);
}

/* Search box */
.vc-lb-search {
  position: relative;
  padding: 12px 24px;
  border-bottom: 1px solid var(--vc-border);
  background: var(--vc-cream);
}
.vc-lb-search__input {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--vc-border);
  border-radius: 8px;
  font-size: .92rem;
  font-family: inherit;
  background: #fff;
  color: var(--vc-dark);
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.vc-lb-search__input:focus {
  outline: none;
  border-color: var(--vc-amber);
  box-shadow: 0 0 0 3px rgba(196,122,37,.15);
}
.vc-lb-search__clear {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(196,122,37,.15);
  color: var(--vc-amber);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.vc-lb-search__clear:hover { background: rgba(196,122,37,.3); }

/* Breadcrumb bar shown when drilled into a category / country */
.vc-lb-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(196,122,37,.08);
  border-bottom: 1px solid var(--vc-border);
}
.vc-back-btn {
  padding: 4px 12px;
  border: 1.5px solid var(--vc-amber);
  border-radius: 16px;
  background: transparent;
  color: var(--vc-amber);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
  transition: all .15s;
  white-space: nowrap;
}
.vc-back-btn:hover {
  background: var(--vc-amber);
  color: #fff;
}
.vc-breadcrumb-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--vc-dark);
}

/* Drillable summary rows */
.vc-drillable { cursor: pointer; }
.vc-drillable:hover td { background: rgba(196,122,37,.08) !important; }
.vc-drill-hint {
  font-size: .72rem;
  color: var(--vc-amber);
  opacity: 0;
  transition: opacity .15s;
}
.vc-drillable:hover .vc-drill-hint { opacity: 1; }

.vc-leaderboard__body { padding: 0; }

.vc-leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.vc-leaderboard-table th {
  padding: 10px 16px;
  background: rgba(196,122,37,.12);
  color: var(--vc-muted);
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--vc-border);
}

.vc-leaderboard-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(224,201,154,.4);
  color: var(--vc-dark);
  vertical-align: middle;
}

.vc-leaderboard-table tr:last-child td { border-bottom: none; }
.vc-leaderboard-table tr:hover td { background: rgba(196,122,37,.05); }

.vc-rank {
  font-weight: 800;
  font-size: 1rem;
  color: var(--vc-amber);
  min-width: 32px;
}

.vc-rank--1 { color: #f5c518; }
.vc-rank--2 { color: #a8a9ad; }
.vc-rank--3 { color: #cd7f32; }

.vc-buyer-name { font-weight: 700; }
.vc-buyer-city { font-size: .8rem; color: var(--vc-muted); }

.vc-total-value {
  font-weight: 800;
  color: var(--vc-amber);
}

.vc-cert-count {
  font-size: .82rem;
  color: var(--vc-muted);
}

.vc-loading {
  text-align: center;
  padding: 40px;
  color: var(--vc-muted);
  font-size: .9rem;
}

/* ── Certificate Page ─────────────────────────────────────── */

.vc-cert-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 680px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ── My Cellar Account Tab ────────────────────────────────── */

.vc-my-cellar { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

.vc-cellar-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.vc-cellar-stat {
  flex: 1;
  min-width: 140px;
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  padding: 16px 20px;
  text-align: center;
}

.vc-cellar-stat__num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--vc-amber);
}

.vc-cellar-stat__label {
  display: block;
  font-size: .8rem;
  color: var(--vc-muted);
  margin-top: 4px;
}

.vc-cellar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.vc-cert-card {
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  padding: 18px;
  transition: box-shadow .15s;
  box-shadow: var(--vc-shadow);
}

.vc-cert-card:hover { box-shadow: 0 6px 28px rgba(26,15,4,.18); }

.vc-cert-card__emoji { font-size: 2rem; margin-bottom: 8px; }

.vc-cert-card__name {
  font-weight: 700;
  color: var(--vc-dark);
  font-size: 1rem;
  margin-bottom: 4px;
}

.vc-cert-card__distillery {
  font-size: .82rem;
  color: var(--vc-muted);
  margin-bottom: 10px;
}

.vc-cert-card__meta {
  font-size: .8rem;
  color: var(--vc-muted);
  margin-bottom: 12px;
}

.vc-cert-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vc-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .15s;
}

.vc-btn--amber {
  background: var(--vc-amber);
  color: var(--vc-dark);
}

.vc-btn--amber:hover { background: var(--vc-amber-light); color: var(--vc-dark); }

.vc-btn--outline {
  background: transparent;
  color: var(--vc-amber);
  border: 1px solid var(--vc-amber);
}

.vc-btn--outline:hover { background: var(--vc-amber); color: var(--vc-dark); }

/* ── Toast Button ─────────────────────────────────────────── */

.vc-toast-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
}

.vc-toast-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--vc-amber);
  border-radius: 8px;
  background: transparent;
  color: var(--vc-amber);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}

.vc-toast-btn:hover,
.vc-toast-btn.vc-toasted {
  background: var(--vc-amber);
  color: var(--vc-dark);
}

.vc-toast-btn .vc-toast-emoji { font-size: 1.3rem; }

.vc-toast-text {
  color: var(--vc-muted);
  font-size: .9rem;
}

/* ── No-refund notice on product page ─────────────────────── */

.vc-no-refund {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--vc-muted);
  background: rgba(224,201,154,.2);
  border: 1px solid var(--vc-border);
  border-radius: 6px;
  padding: 8px 14px;
  margin-top: 10px;
}

/* ── Checkout fields ──────────────────────────────────────── */

.vc-checkout-fields {
  margin-top: 24px;
  padding: 20px;
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
}

.vc-checkout-heading {
  color: var(--vc-dark);
  font-size: 1rem;
  margin: 0 0 16px;
  padding: 0;
  border: none;
}

/* Responsive */
@media (max-width: 520px) {
  .vc-cellar-grid { grid-template-columns: 1fr; }
  .vc-tabs { gap: 2px; }
  .vc-tab { padding: 6px 10px; font-size: .8rem; }
}

/* ── Product Page: Certificate Preview + How It Works ─────── */

.vc-product-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin: 40px 0;
  padding: 40px 0;
  border-top: 1px solid var(--vc-border);
  border-bottom: 1px solid var(--vc-border);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 860px) {
  .vc-product-explainer { grid-template-columns: 1fr; gap: 28px; }
}

/* Certificate Preview */
.vc-cert-preview { position: relative; }

.vc-cert-preview__badge {
  position: absolute;
  top: -10px;
  left: 18px;
  background: var(--vc-amber);
  color: var(--vc-dark);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 12px;
  border-radius: 20px;
  z-index: 1;
}

.vc-cert-preview__inner {
  background: linear-gradient(145deg, #faf6ef 0%, #f2e8d8 100%);
  border: 2px solid var(--vc-amber);
  border-radius: 14px;
  padding: 28px 24px 20px;
  box-shadow: 0 8px 32px rgba(196,122,37,.16), inset 0 1px 0 rgba(255,255,255,.8);
  position: relative;
  overflow: hidden;
}

.vc-cert-preview__inner::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(196,122,37,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.vc-cert-preview__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--vc-border);
}

.vc-cert-preview__emoji { font-size: 2.4rem; line-height: 1; }

.vc-cert-preview__site {
  font-size: .7rem;
  color: var(--vc-muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  margin-bottom: 2px;
}

.vc-cert-preview__title {
  font-size: .85rem;
  font-weight: 800;
  color: var(--vc-dark);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.vc-cert-preview__product {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--vc-dark);
  margin-bottom: 2px;
  line-height: 1.3;
}

.vc-cert-preview__distillery {
  font-size: .8rem;
  color: var(--vc-muted);
  margin-bottom: 14px;
  font-style: italic;
}

.vc-cert-preview__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 14px 0;
}

.vc-cert-preview__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(196,122,37,.3);
}

.vc-cert-preview__row:last-child { border-bottom: none; }

.vc-cert-preview__row > span:first-child {
  color: var(--vc-muted);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.vc-cert-preview__row > span:last-child {
  font-weight: 700;
  color: var(--vc-dark);
}

.vc-cert-preview__placeholder {
  color: var(--vc-amber) !important;
  font-style: italic;
  font-weight: 600 !important;
}

.vc-cert-preview__footer {
  font-size: .7rem;
  color: var(--vc-muted);
  text-align: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--vc-border);
  line-height: 1.4;
}

/* How It Works */
.vc-hiw__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--vc-dark);
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--vc-amber);
  display: inline-block;
}

.vc-hiw__steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vc-hiw__step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.vc-hiw__icon {
  font-size: 1.5rem;
  min-width: 40px;
  text-align: center;
  background: rgba(196,122,37,.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vc-hiw__step-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 4px;
}

.vc-hiw__step-body strong {
  font-size: .9rem;
  color: var(--vc-dark);
  font-weight: 700;
  display: block;
}

.vc-hiw__step-body span {
  font-size: .82rem;
  color: var(--vc-muted);
  line-height: 1.5;
}

.vc-hiw__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--vc-border);
}

/* ── Price Picker — Order Book ────────────────────────────── */

.vc-price-picker {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 1.25rem 0 1rem;
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  overflow: hidden;
  background: var(--vc-cream);
  box-shadow: var(--vc-shadow);
}

/* ── Market header strip ── */
.vc-market-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 14px;
  background: var(--vc-dark);
  color: var(--vc-amber-light);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  flex-wrap: wrap;
}

.vc-market-strip__live {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ff4d4d;
  font-weight: 800;
  letter-spacing: .1em;
  padding-right: 8px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.vc-market-stat { display: flex; align-items: center; gap: 4px; }

.vc-market-stat__label {
  color: rgba(232,169,77,.5);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.vc-market-stat__value { color: var(--vc-amber-light); font-weight: 700; }
.vc-market-stat__value--high { color: #f5c518; }

.vc-market-stat__change {
  font-size: .65rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}
.vc-change--up   { color: #2ecc71; background: rgba(46,204,113,.15); }
.vc-change--down { color: #e74c3c; background: rgba(231,76,60,.15);  }

/* ── Order book table ── */
.vc-order-book { width: 100%; }

.vc-ob-header {
  display: grid;
  grid-template-columns: 44px 1fr 80px 110px;
  gap: 0;
  padding: 6px 14px;
  background: rgba(196,122,37,.08);
  border-bottom: 1px solid var(--vc-border);
}

.vc-ob-header span {
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--vc-muted);
}

.vc-ob-col-action { text-align: right; }

/* Order book rows */
.vc-ob-row {
  display: grid;
  grid-template-columns: 44px 1fr 80px 110px;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(224,201,154,.35);
  cursor: pointer;
  transition: background .1s;
  position: relative;
}

.vc-ob-row:last-child { border-bottom: none; }
.vc-ob-row:hover      { background: rgba(196,122,37,.06); }

.vc-ob-row--selected {
  background: rgba(196,122,37,.12) !important;
  box-shadow: inset 3px 0 0 var(--vc-amber);
}

.vc-ob-row--floor { background: rgba(0,0,0,.015); }

.vc-ob-row--custom {
  background: rgba(0,0,0,.02);
  border-top: 1px dashed rgba(196,122,37,.3);
}
.vc-ob-row--custom.vc-ob-row--selected { background: rgba(196,122,37,.08) !important; }

.vc-ob-medal { font-size: 1rem; line-height: 1; }

.vc-ob-name {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--vc-dark);
  line-height: 1.3;
}

.vc-ob-loc {
  display: block;
  font-size: .7rem;
  color: var(--vc-muted);
}

.vc-ob-col-total {
  font-size: .82rem;
  font-weight: 700;
  color: var(--vc-muted);
  font-variant-numeric: tabular-nums;
}

.vc-ob-col-action { text-align: right; }

.vc-ob-bid-btn {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--vc-border);
  border-radius: 5px;
  background: var(--vc-cream);
  font-size: .78rem;
  font-weight: 700;
  color: var(--vc-amber);
  white-space: nowrap;
  transition: background .1s, color .1s;
}

.vc-ob-row--selected .vc-ob-bid-btn,
.vc-ob-row:hover .vc-ob-bid-btn {
  background: var(--vc-amber);
  color: var(--vc-dark);
  border-color: var(--vc-amber);
}

/* Custom bid input inside row */
.vc-ob-input-wrap {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--vc-border);
  border-radius: 5px;
  background: var(--vc-white);
  padding: 0 8px;
  transition: border-color .1s;
}

.vc-ob-row--selected .vc-ob-input-wrap,
.vc-ob-row:hover .vc-ob-input-wrap { border-color: var(--vc-amber); }

.vc-ob-currency {
  font-size: .9rem;
  font-weight: 700;
  color: var(--vc-muted);
}

.vc-custom-amount-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: .9rem;
  font-weight: 700;
  color: var(--vc-dark);
  padding: 5px 0 5px 3px !important;
  width: 64px;
  -moz-appearance: textfield;
}
.vc-custom-amount-input::-webkit-outer-spin-button,
.vc-custom-amount-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.vc-custom-amount-input.vc-input-error {
  color: #e74c3c;
  animation: vc-shake .3s ease;
}

@keyframes vc-shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-4px); }
  75%      { transform: translateX(4px); }
}

/* Beat hint bar */
.vc-beat-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(245,197,24,.06);
  border-top: 1px solid rgba(245,197,24,.25);
  border-bottom: 1px solid rgba(245,197,24,.25);
}

.vc-beat-hint__text {
  font-size: .72rem;
  color: #8a7000;
  font-weight: 600;
}

.vc-beat-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border: 1px solid rgba(245,197,24,.6);
  border-radius: 5px;
  background: rgba(245,197,24,.15);
  color: #8a7000;
  font-size: .74rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s;
  white-space: nowrap;
  flex-shrink: 0;
}
.vc-beat-btn:hover { background: rgba(245,197,24,.3); }

/* Place Bid button */
.vc-add-to-cart-form { margin: 0; padding: 12px 14px 14px; }

.vc-buy-btn.single_add_to_cart_button {
  width: 100%;
  display: block;
  text-align: center;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 13px 24px;
  border-radius: 7px;
}

/* Already-held notice (replaces the bid form for existing certificate holders) */
.vc-already-held {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 16px 18px;
  background: #fffbf0;
  border-top: 1px solid var(--vc-border);
  flex-wrap: wrap;
}
.vc-already-held__icon { font-size: 2rem; flex-shrink: 0; }
.vc-already-held__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.vc-already-held__body strong {
  font-size: .9rem;
  color: var(--vc-dark);
}
.vc-already-held__body span {
  font-size: .82rem;
  color: var(--vc-muted);
  line-height: 1.4;
}
.vc-already-held .vc-btn--outline {
  white-space: nowrap;
  font-size: .82rem;
  padding: 7px 14px;
  border: 1.5px solid var(--vc-amber);
  border-radius: 6px;
  color: var(--vc-amber);
  text-decoration: none;
  font-weight: 700;
  transition: background .15s, color .15s;
}
.vc-already-held .vc-btn--outline:hover {
  background: var(--vc-amber);
  color: #fff;
}

/* Order-book responsive */
@media (max-width: 520px) {
  .vc-ob-header,
  .vc-ob-row { grid-template-columns: 36px 1fr 60px 90px; padding: 8px 10px; }
  .vc-ob-name  { font-size: .8rem; }
  .vc-ob-bid-btn { padding: 3px 7px; font-size: .72rem; }
  .vc-market-strip { gap: 10px; font-size: .65rem; }
  .vc-custom-amount-input { width: 52px; }
}

/* ── Bar Name (added v1.1.0) ─────────────────────────────── */

/* My Cellar — bar name editor + saved notice */
.vc-bar-form {
  background: var(--vc-white);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  padding: 16px 18px;
  margin: 0 0 18px;
  box-shadow: var(--vc-shadow);
}
.vc-bar-form__label {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--vc-dark);
  margin-bottom: 8px;
}
.vc-bar-form__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: wrap;
}
.vc-bar-form__input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 9px 12px;
  font-size: .92rem;
  font-family: inherit;
  border: 1px solid var(--vc-border);
  border-radius: 6px;
  background: var(--vc-cream);
  color: var(--vc-dark);
}
.vc-bar-form__input:focus {
  outline: none;
  border-color: var(--vc-amber);
  box-shadow: 0 0 0 3px rgba(196,122,37,.15);
}
.vc-bar-form__help {
  margin: 8px 0 0;
  font-size: .75rem;
  color: var(--vc-muted);
  line-height: 1.45;
}
.vc-bar-saved {
  background: rgba(45,122,58,.08);
  border: 1px solid rgba(45,122,58,.25);
  color: var(--vc-green);
  padding: 9px 14px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  margin: 0 0 14px;
}

/* Bar badges across cards / certs / feed / leaderboard */
.vc-cert-card__bar,
.vc-feed-item__bar,
.vc-cert-bar,
.vc-bar-name {
  display: inline-block;
  font-size: .78rem;
  color: var(--vc-amber);
  font-weight: 600;
  letter-spacing: .01em;
}
.vc-cert-card__bar { margin: 4px 0 6px; }
.vc-feed-item__bar { margin-top: 2px; }
.vc-cert-bar       { margin: 4px 0 8px; font-size: .9rem; }
.vc-bar-name       { display: block; margin-top: 2px; }

/* ── Collector Profile Page ───────────────────────────────── */

.vc-collector-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* Back nav */
.vc-collector-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: .85rem;
}
.vc-back-link {
  color: var(--vc-amber);
  text-decoration: none;
  font-weight: 600;
  transition: color .15s;
}
.vc-back-link:hover { color: var(--vc-brown); text-decoration: underline; }
.vc-back-sep { color: var(--vc-muted); }

/* Header */
.vc-collector-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 30px;
  background: var(--vc-dark);
  border-radius: var(--vc-radius);
  margin-bottom: 20px;
  box-shadow: var(--vc-shadow);
  flex-wrap: wrap;
}
.vc-collector-header__avatar {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(196,122,37,.2);
  border: 2px solid var(--vc-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  line-height: 1;
}
.vc-avatar-initials {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vc-amber-light);
  letter-spacing: -.02em;
}
.vc-collector-header__info { flex: 1; min-width: 200px; }
.vc-collector-header__name {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--vc-amber-light);
  margin: 0 0 4px;
  line-height: 1.1;
}
.vc-collector-header__bar {
  font-size: .95rem;
  font-weight: 600;
  color: var(--vc-amber);
  margin-bottom: 4px;
}
.vc-collector-header__location {
  font-size: .85rem;
  color: var(--vc-muted);
  margin-bottom: 6px;
}
.vc-collector-header__bio {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  margin: 8px 0 0;
  font-style: italic;
  line-height: 1.55;
  max-width: 480px;
}

/* Upvote */
.vc-collector-upvote-wrap {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}
.vc-upvote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 22px;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(196,122,37,.4);
  border-radius: 50px;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .15s;
  white-space: nowrap;
}
.vc-upvote-btn:hover {
  background: rgba(196,122,37,.15);
  border-color: var(--vc-amber);
  transform: scale(1.04);
}
.vc-upvote-btn.vc-upvoted {
  background: var(--vc-amber);
  border-color: var(--vc-amber);
}
.vc-upvote-btn.vc-upvoted .vc-upvote-label { color: rgba(255,255,255,.9); }
.vc-upvote-btn.vc-upvoted .vc-upvote-count { color: #fff; }
.vc-upvote-icon { font-size: 1.5rem; line-height: 1; }
.vc-upvote-label { font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .04em; }
.vc-upvote-count { font-size: 1.15rem; font-weight: 800; color: var(--vc-amber-light); }

/* Stats */
.vc-collector-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.vc-collector-stat {
  flex: 1 1 120px;
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  padding: 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
a.vc-collector-stat--link {
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
a.vc-collector-stat--link:hover {
  background: #fff3e0;
  border-color: var(--vc-amber);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(196,122,37,.18);
}
.vc-collector-stat__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vc-dark);
  line-height: 1.1;
}
a.vc-collector-stat--link .vc-collector-stat__value { color: var(--vc-amber); }
.vc-collector-stat__label {
  display: block;
  font-size: .68rem;
  color: var(--vc-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 5px;
}
.vc-collector-stat__hint {
  display: block;
  font-size: .68rem;
  color: var(--vc-amber);
  margin-top: 4px;
  font-weight: 600;
}

/* Collection section */
.vc-collector-collection {
  scroll-margin-top: 80px;
  margin-bottom: 40px;
}
.vc-collector-collection__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--vc-border);
}
.vc-collector-collection__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--vc-brown);
  margin: 0;
}
.vc-collector-collection__count {
  font-size: .82rem;
  color: var(--vc-muted);
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: 20px;
  padding: 2px 10px;
}
.vc-collector-empty {
  color: var(--vc-muted);
  font-size: .9rem;
}

/* Certificate profile cards */
.vc-collector-certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.vc-cert-profile-card {
  background: var(--vc-white);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(26,15,4,.07);
  transition: box-shadow .18s, transform .18s;
}
.vc-cert-profile-card:hover {
  box-shadow: var(--vc-shadow);
  transform: translateY(-2px);
}
.vc-cert-profile-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}
.vc-cert-profile-card__emoji { font-size: 2.4rem; line-height: 1; }
.vc-cert-profile-card__toast {
  font-size: .8rem;
  font-weight: 700;
  color: var(--vc-amber);
  background: rgba(196,122,37,.08);
  border: 1px solid rgba(196,122,37,.2);
  border-radius: 20px;
  padding: 3px 10px;
}
.vc-cert-profile-card__name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--vc-dark);
  line-height: 1.3;
}
.vc-cert-profile-card__sub {
  font-size: .8rem;
  color: var(--vc-muted);
}
.vc-cert-profile-card__cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--vc-brown);
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: 20px;
  padding: 2px 10px;
  width: fit-content;
}
.vc-cert-profile-card__value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--vc-amber);
  margin-top: 4px;
}
.vc-cert-profile-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--vc-border);
}
.vc-cert-profile-card__date {
  font-size: .72rem;
  color: var(--vc-muted);
}
.vc-cert-profile-card__btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--vc-amber);
  color: #fff;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.vc-cert-profile-card__btn:hover {
  background: var(--vc-brown);
  transform: scale(1.03);
  text-decoration: none;
  color: #fff;
}

/* Drinks chips */
.vc-collector-drinks {
  margin-bottom: 28px;
}
.vc-collector-drinks__title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--vc-brown);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.vc-drinks-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-drink-chip {
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .82rem;
  color: var(--vc-brown);
  font-weight: 500;
}

/* Leaderboard buyer name link */
.vc-buyer-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--vc-amber);
  transition: color .15s;
}
.vc-buyer-link:hover { color: var(--vc-amber); text-decoration: none; }
.vc-cert-count-link {
  color: var(--vc-amber);
  text-decoration: none;
  font-weight: 600;
  transition: color .15s;
}
.vc-cert-count-link:hover { color: var(--vc-brown); text-decoration: underline; }

/* Responsive */
@media (max-width: 600px) {
  .vc-collector-header { flex-direction: column; gap: 16px; }
  .vc-collector-header__name { font-size: 1.5rem; }
  .vc-collector-certs-grid { grid-template-columns: 1fr; }
  .vc-collector-stats { gap: 8px; }
  .vc-collector-stat { flex: 1 1 calc(50% - 8px); }
}

/* ── Favourite drinks chips (collector profile) ──────────── */

.vc-collector-drinks {
  padding: 18px 22px;
  background: var(--vc-white);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  margin: 18px 0;
}
.vc-collector-drinks__title {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--vc-dark);
  margin: 0 0 10px;
}
.vc-drinks-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-drink-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--vc-dark);
  cursor: default;
}
.vc-drink-chip[title]:hover { border-color: var(--vc-amber); color: var(--vc-amber); }

/* ── Collector notes / comments ──────────────────────────── */

.vc-collector-notes {
  margin: 28px 0 0;
  padding: 22px;
  background: var(--vc-white);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
}
.vc-collector-notes__title {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  margin: 0 0 14px;
  color: var(--vc-dark);
}
.vc-comments-list { margin-bottom: 18px; }
.vc-comment {
  padding: 10px 0;
  border-bottom: 1px solid var(--vc-border);
}
.vc-comment:last-child { border-bottom: none; }
.vc-comment--new { background: rgba(196,122,37,.05); border-radius: 6px; padding: 10px 12px; }
.vc-comment__meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.vc-comment__author { font-weight: 700; font-size: .85rem; color: var(--vc-dark); }
.vc-comment__time { font-size: .75rem; color: var(--vc-muted); }
.vc-comment__text { margin: 0; font-size: .88rem; color: var(--vc-dark); line-height: 1.5; }
.vc-no-comments { color: var(--vc-muted); font-size: .85rem; }
.vc-comments-loading { color: var(--vc-muted); font-size: .85rem; }

.vc-comment-form__row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.vc-comment-form__input,
.vc-comment-form__textarea {
  width: 100%;
  padding: 9px 12px;
  font-size: .9rem;
  font-family: inherit;
  border: 1px solid var(--vc-border);
  border-radius: 6px;
  background: var(--vc-cream);
  color: var(--vc-dark);
  box-sizing: border-box;
  resize: vertical;
}
.vc-comment-form__input:focus,
.vc-comment-form__textarea:focus {
  outline: none;
  border-color: var(--vc-amber);
  box-shadow: 0 0 0 3px rgba(196,122,37,.15);
}
.vc-comment-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.vc-comment-form__error { font-size: .8rem; color: #c0392b; }

/* ── Drinks manager (My Cellar) ──────────────────────────── */

.vc-drinks-manager {
  background: var(--vc-white);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.vc-drinks-manager__title {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  margin: 0 0 4px;
  color: var(--vc-dark);
}
.vc-drinks-manager__help {
  font-size: .78rem;
  color: var(--vc-muted);
  margin: 0 0 14px;
}
.vc-drinks-add-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 6px;
}
.vc-drinks-add-form__select,
.vc-drinks-add-form__input {
  flex: 1 1 160px;
  padding: 9px 12px;
  font-size: .88rem;
  font-family: inherit;
  border: 1px solid var(--vc-border);
  border-radius: 6px;
  background: var(--vc-cream);
  color: var(--vc-dark);
  min-width: 0;
}
.vc-drinks-add-form__input--note { flex-basis: 220px; }
.vc-drinks-add-form__select:focus,
.vc-drinks-add-form__input:focus {
  outline: none;
  border-color: var(--vc-amber);
  box-shadow: 0 0 0 3px rgba(196,122,37,.12);
}
.vc-drinks-add-form__error { font-size: .8rem; color: #c0392b; min-height: 1.2em; display: block; }

.vc-my-drinks-list { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.vc-my-drink-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: 999px;
  padding: 5px 10px 5px 12px;
  font-size: .82rem;
  font-weight: 600;
}
.vc-my-drink-item__name { color: var(--vc-dark); }
.vc-my-drink-item__note { color: var(--vc-muted); font-weight: 400; font-size: .75rem; }
.vc-my-drink-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--vc-muted);
  padding: 0 2px;
  line-height: 1;
}
.vc-my-drink-item__remove:hover { color: #c0392b; }
.vc-drinks-empty, .vc-drinks-loading { color: var(--vc-muted); font-size: .85rem; }

/* ── Review Hub (v1.3.0) ─────────────────────────────────── */

.vc-review-hub {
  max-width: 900px;
  margin: 0 auto;
  font-family: inherit;
}
.vc-review-hub__header {
  text-align: center;
  margin-bottom: 20px;
}
.vc-review-hub__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .02em;
  margin: 0 0 4px;
  color: var(--vc-dark);
}
.vc-review-hub__sub {
  color: var(--vc-muted);
  margin: 0 0 16px;
  font-size: .9rem;
}
.vc-review-search-bar { margin-bottom: 14px; }
.vc-review-search__input {
  width: 100%;
  padding: 10px 16px;
  font-size: .95rem;
  font-family: inherit;
  border: 1px solid var(--vc-border);
  border-radius: 999px;
  background: var(--vc-cream);
  color: var(--vc-dark);
  box-sizing: border-box;
}
.vc-review-search__input:focus {
  outline: none;
  border-color: var(--vc-amber);
  box-shadow: 0 0 0 3px rgba(196,122,37,.15);
}
.vc-review-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.vc-rtype-btn {
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--vc-border);
  background: var(--vc-white);
  font-size: .8rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--vc-muted);
  cursor: pointer;
  transition: all .15s;
}
.vc-rtype-btn:hover { border-color: var(--vc-amber); color: var(--vc-amber); }
.vc-rtype-btn--active { background: var(--vc-amber); border-color: var(--vc-amber); color: #fff; }

.vc-review-hub__toolbar { text-align: center; margin: 14px 0 20px; }

/* Add item panel */
.vc-add-item-panel {
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  padding: 20px;
  margin-bottom: 22px;
}
.vc-add-item-form__title { margin: 0 0 14px; font-size: .95rem; font-weight: 700; }
.vc-add-item-form__row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.vc-add-item-form__select,
.vc-add-item-form__input,
.vc-add-item-form__textarea {
  flex: 1 1 180px;
  padding: 9px 12px;
  font-size: .88rem;
  font-family: inherit;
  border: 1px solid var(--vc-border);
  border-radius: 6px;
  background: var(--vc-white);
  color: var(--vc-dark);
  min-width: 0;
  box-sizing: border-box;
}
.vc-add-item-form__textarea { width: 100%; flex-basis: 100%; resize: vertical; margin-bottom: 8px; }
.vc-add-item-form__footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vc-add-item-form__error { font-size: .8rem; color: #c0392b; flex: 1; }

/* Items grid */
.vc-review-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.vc-review-card {
  background: var(--vc-white);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  padding: 16px 14px;
  cursor: pointer;
  transition: box-shadow .15s, border-color .15s, transform .12s;
  box-shadow: var(--vc-shadow);
  text-align: center;
  outline: none;
}
.vc-review-card:hover, .vc-review-card:focus {
  border-color: var(--vc-amber);
  box-shadow: 0 4px 16px rgba(196,122,37,.18);
  transform: translateY(-2px);
}
.vc-review-card__emoji { font-size: 2rem; margin-bottom: 6px; }
.vc-review-card__name {
  font-weight: 700;
  font-size: .88rem;
  color: var(--vc-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.vc-review-card__location { font-size: .75rem; color: var(--vc-muted); margin-bottom: 6px; }
.vc-review-card__rating { display: flex; align-items: center; justify-content: center; gap: 3px; margin-bottom: 4px; }
.vc-review-card__avg { font-size: .8rem; font-weight: 700; color: var(--vc-amber); margin-left: 4px; }
.vc-review-card__count { font-size: .75rem; color: var(--vc-muted); }

.vc-review-loading, .vc-review-empty { color: var(--vc-muted); font-size: .9rem; padding: 20px 0; text-align: center; }

/* Star displays */
.vc-star-display { color: var(--vc-border); font-size: 1rem; }
.vc-star-display--on { color: var(--vc-amber); }

/* Load more */
.vc-review-hub__footer { text-align: center; padding: 10px 0 20px; }

/* Detail panel */
.vc-review-detail {
  background: var(--vc-white);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  padding: 22px;
}
.vc-review-detail__back {
  background: none;
  border: none;
  cursor: pointer;
  font-size: .85rem;
  color: var(--vc-amber);
  font-weight: 600;
  padding: 0 0 16px;
  display: block;
}
.vc-review-detail__back:hover { text-decoration: underline; }
.vc-review-detail__header { margin-bottom: 20px; }
.vc-review-detail__emoji { font-size: 2.5rem; margin-bottom: 8px; }
.vc-review-detail__name { font-size: 1.25rem; font-weight: 800; margin: 0 0 6px; }
.vc-review-detail__loc, .vc-review-detail__desc { font-size: .85rem; color: var(--vc-muted); margin: 4px 0; }
.vc-review-detail__site { font-size: .8rem; color: var(--vc-amber); word-break: break-all; }
.vc-review-detail__summary { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .9rem; }
.vc-review-detail__reviews { margin-bottom: 24px; }

.vc-review-entry {
  padding: 12px 0;
  border-bottom: 1px solid var(--vc-border);
}
.vc-review-entry:last-child { border-bottom: none; }
.vc-review-entry--new { background: rgba(196,122,37,.05); border-radius: 6px; padding: 12px; }
.vc-review-entry__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.vc-review-entry__name { font-size: .88rem; font-weight: 700; }
.vc-review-entry__stars { font-size: .95rem; }
.vc-review-entry__time { font-size: .75rem; color: var(--vc-muted); }
.vc-review-entry__text { margin: 0; font-size: .87rem; color: var(--vc-dark); line-height: 1.5; }

/* Write review form */
.vc-write-review { border-top: 1px solid var(--vc-border); padding-top: 20px; }
.vc-write-review__title { font-size: .95rem; font-weight: 700; margin: 0 0 14px; }
.vc-star-picker { display: flex; gap: 4px; margin-bottom: 12px; }
.vc-star {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--vc-border);
  padding: 0;
  transition: color .1s, transform .1s;
}
.vc-star--active, .vc-star:hover { color: var(--vc-amber); transform: scale(1.15); }
.vc-write-review-form__row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.vc-write-review-form__input,
.vc-write-review-form__textarea {
  width: 100%;
  padding: 9px 12px;
  font-size: .9rem;
  font-family: inherit;
  border: 1px solid var(--vc-border);
  border-radius: 6px;
  background: var(--vc-cream);
  color: var(--vc-dark);
  box-sizing: border-box;
  resize: vertical;
}
.vc-write-review-form__input:focus,
.vc-write-review-form__textarea:focus {
  outline: none;
  border-color: var(--vc-amber);
  box-shadow: 0 0 0 3px rgba(196,122,37,.15);
}
.vc-write-review-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.vc-write-review-form__error { font-size: .8rem; color: #c0392b; }

/* ── v1.3.0 responsive ───────────────────────────────────── */
@media (max-width: 600px) {
  .vc-review-items-grid { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); }
  .vc-drinks-add-form__row { flex-direction: column; }
  .vc-comment-form__footer { flex-direction: column; align-items: flex-start; }
  .vc-write-review-form__footer { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE SWEEP (v1.7.2)
   Comprehensive mobile fixes across leaderboard, my-cellar,
   live feed, toast bar, comments, hero badges, share dropdown.
═══════════════════════════════════════════════════════════════ */

/* ── Tablet (≤768px) ──────────────────────────────────────── */
@media (max-width: 768px) {
  /* Leaderboard: header stacks */
  .vc-leaderboard__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .vc-leaderboard__title { font-size: 1.05rem; }

  /* Tabs stay horizontally scrollable, never wrap awkwardly */
  .vc-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .vc-tabs::-webkit-scrollbar { display: none; }
  .vc-tab { white-space: nowrap; flex-shrink: 0; }

  .vc-period-toggle { flex-wrap: wrap; }

  /* Leaderboard table — horizontal scroll, never break out of viewport */
  .vc-leaderboard__body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .vc-leaderboard-table {
    min-width: 580px;
    font-size: .82rem;
  }
  .vc-leaderboard-table th,
  .vc-leaderboard-table td { padding: 8px 10px; }

  /* Tap targets — minimum 40px on touch */
  .vc-tab,
  .vc-period-btn,
  .vc-back-link,
  .vc-cert-profile-card__btn,
  .vc-action-btn { min-height: 40px; }
}

/* ── Mobile (≤600px) ──────────────────────────────────────── */
@media (max-width: 600px) {
  /* My Cellar stats — 2 col instead of 1 col stretched */
  .vc-cellar-stats { gap: 10px; }
  .vc-cellar-stat {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    padding: 12px 10px;
  }
  .vc-cellar-stat__num { font-size: 1.4rem; }
  .vc-cellar-stat__label { font-size: .72rem; }

  /* Cert cards in my-cellar — full width, larger tap area on actions */
  .vc-cert-card { padding: 14px; }
  .vc-cert-card__actions { gap: 6px; }
  .vc-cert-card__actions .vc-btn {
    flex: 1;
    justify-content: center;
    min-height: 38px;
  }

  /* Toast bar on certificate page — stack vertically */
  .vc-toast-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    text-align: center;
  }
  .vc-toast-btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    min-height: 48px;
  }
  .vc-toast-text { text-align: center; }
}

/* ── Small phones (≤480px) ────────────────────────────────── */
@media (max-width: 480px) {
  /* Live feed — compact items */
  .vc-feed-item { padding: 10px 12px; gap: 10px; }
  .vc-feed-item__emoji { font-size: 1.3rem; }
  .vc-feed-item__name { font-size: .85rem; }
  .vc-feed-item__bottle { font-size: .8rem; }
  .vc-feed-item__meta { font-size: .7rem; gap: 8px; }
  .vc-feed-item__value { font-size: .8rem; }

  /* Comments — prevent iOS zoom on focus (must be ≥16px) */
  .vc-comment-form__input,
  .vc-comment-form__textarea { font-size: 16px; }

  /* Share dropdown — full-width on phones, never offscreen */
  .vc-share-wrap { width: 100%; }
  .vc-share-dropdown {
    width: 100%;
    right: auto;
    left: 0;
    min-width: 0;
  }

  /* Comments meta — wrap nicely */
  .vc-comment__meta { flex-wrap: wrap; gap: 4px 8px; }

  /* Drinks chips — wrap, smaller */
  .vc-drink-chip { font-size: .8rem; padding: 4px 10px; }

  /* Collector page back nav — wrap on tiny screens */
  .vc-collector-nav { flex-wrap: wrap; gap: 6px; }
  .vc-back-link { font-size: .82rem; }
}

/* ═══════════════════════════════════════════════════════════════
   Activity Feed (v1.7.3)
═══════════════════════════════════════════════════════════════ */
.vc-activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--vc-cream);
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  overflow: hidden;
  box-shadow: var(--vc-shadow);
}
.vc-activity-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--vc-border);
  transition: background .12s;
}
.vc-activity-item:last-child { border-bottom: none; }
.vc-activity-item:hover { background: rgba(196,122,37,.05); }

.vc-activity-item__icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196,122,37,.1);
  border-radius: 50%;
}
.vc-activity-item__body { flex: 1; min-width: 0; }
.vc-activity-item__line {
  margin: 0 0 2px;
  font-size: .9rem;
  color: var(--vc-dark);
  line-height: 1.4;
}
.vc-activity-item__actor {
  font-weight: 700;
  color: var(--vc-dark);
  text-decoration: none;
}
a.vc-activity-item__actor:hover { color: var(--vc-amber); }
.vc-activity-item__object {
  color: var(--vc-amber);
  text-decoration: none;
  font-weight: 600;
}
.vc-activity-item__object:hover { text-decoration: underline; }
.vc-activity-item__time {
  margin: 0;
  font-size: .75rem;
  color: var(--vc-muted);
}
.vc-activity-item--toast .vc-activity-item__icon { background: rgba(245,197,24,.15); }
.vc-activity-item--comment .vc-activity-item__icon { background: rgba(122,196,37,.12); }
.vc-activity-empty {
  text-align: center;
  padding: 24px;
  color: var(--vc-muted);
  font-size: .9rem;
}

@media (max-width: 480px) {
  .vc-activity-item { padding: 10px 12px; gap: 10px; }
  .vc-activity-item__icon { width: 32px; height: 32px; font-size: 1.2rem; }
  .vc-activity-item__line { font-size: .85rem; }
}

/* ═══════════════════════════════════════════════════════════════
   Multi-select shop + sticky bulk bar (v1.7.3)
═══════════════════════════════════════════════════════════════ */

/* Card relative wrapper so the checkbox can absolute-position over it */
#vc-shop-grid .vl-product-card { position: relative; }

.vc-shop-select {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vc-shop-select__cb {
  position: absolute;
  opacity: 0;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 6;
  margin: 0;
}
.vc-shop-select__box {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,.92);
  border: 2px solid rgba(196,122,37,.4);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  transition: background .15s, border-color .15s, transform .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vc-shop-select__box::after {
  content: '';
  width: 12px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-2px);
  opacity: 0;
  transition: opacity .12s;
}
.vc-shop-select__cb:checked + .vc-shop-select__box {
  background: var(--vc-amber);
  border-color: var(--vc-amber);
  transform: scale(1.05);
}
.vc-shop-select__cb:checked + .vc-shop-select__box::after { opacity: 1; }
.vc-shop-select:hover .vc-shop-select__box { border-color: var(--vc-amber); }

/* Sticky bottom bar */
.vc-bulk-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: linear-gradient(to top, var(--vc-dark, #1a0f04), #2c1a08);
  border-top: 1px solid rgba(196,122,37,.4);
  box-shadow: 0 -8px 32px rgba(0,0,0,.35);
  padding: 14px 20px;
  animation: vc-bulk-slide-up .25s ease-out;
}
@keyframes vc-bulk-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.vc-bulk-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.vc-bulk-bar__count {
  color: var(--vc-amber-light, #e8a94d);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
}
.vc-bulk-bar__count strong {
  font-size: 1.3rem;
  color: var(--vc-amber);
  margin-right: 4px;
}
.vc-bulk-bar__list {
  flex: 1;
  min-width: 0;
  color: rgba(232,201,154,.85);
  font-size: .85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vc-bulk-bar__clear {
  background: transparent;
  color: rgba(232,201,154,.7);
  border: 1px solid rgba(232,201,154,.3);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .82rem;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  font-family: inherit;
}
.vc-bulk-bar__clear:hover { color: var(--vc-amber); border-color: var(--vc-amber); }
.vc-bulk-bar__cta {
  background: var(--vc-amber, #c47a25);
  color: #fff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.vc-bulk-bar__cta:hover { background: #e8a94d; transform: translateY(-1px); }

@media (max-width: 600px) {
  .vc-bulk-bar { padding: 12px 14px; }
  .vc-bulk-bar__inner { gap: 10px; }
  .vc-bulk-bar__list { display: none; }
  .vc-bulk-bar__cta { flex: 1; text-align: center; padding: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   THE CELLAR SHOP — shelf-style redesign (v1.8.1)
═══════════════════════════════════════════════════════════════ */

.vc-cellar-shop {
  --shop-amber:      #c47a25;
  --shop-amber-soft: #e8a94d;
  --shop-cream:      #fbf6ec;
  --shop-warm:       #f1e6d0;
  --shop-dark:       #1a0f04;
  --shop-text:       #2c1a08;
  --shop-muted:      #8a7050;
  --shop-border:     #e0c99a;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--shop-text);
  padding-bottom: 120px; /* room for sticky bar */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden; /* belt-and-braces — never let inner overflow break the page width */
}
.vc-cellar-shop *,
.vc-cellar-shop *::before,
.vc-cellar-shop *::after { box-sizing: border-box; }

/* ─── Hero ─────────────────────────────────────────────────── */
.vc-cellar-shop__hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 24px 30px;
  background: linear-gradient(135deg, #2c1a08 0%, #1a0f04 60%, #0d0702 100%);
  border-radius: 22px;
  color: #fff;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.vc-cellar-shop__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(196,122,37,.18) 0%, transparent 60%),
              radial-gradient(circle at 15% 80%, rgba(232,169,77,.10) 0%, transparent 50%);
  pointer-events: none;
}
.vc-cellar-shop__heading { position: relative; z-index: 1; }
.vc-cellar-shop__eyebrow {
  margin: 0 0 8px;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--shop-amber-soft);
  font-weight: 600;
}
.vc-cellar-shop__title {
  margin: 0;
  font-family: Georgia, "Playfair Display", serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.15;
  font-weight: 400;
  color: #fff;
}
.vc-cellar-shop__stats {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.vc-cellar-stat-pill {
  flex: 1;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(232,169,77,.25);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.vc-cellar-stat-pill__num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--shop-amber-soft);
  line-height: 1;
}
.vc-cellar-stat-pill__label {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(232,201,154,.7);
  margin-top: 6px;
}

/* ─── Category strip ───────────────────────────────────────── */
/* Desktop & tablet: wrap onto multiple rows — no scrolling needed.
   Phones (≤700px): single horizontal row that scrolls with touch. */
.vc-cellar-shop__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 4px 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--shop-border);
}
@media (max-width: 700px) {
  .vc-cellar-shop__categories {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Edge-fade hint that more is hidden to the right */
    mask-image: linear-gradient(to right, #000 0, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 92%, transparent 100%);
    padding-right: 24px;
  }
  .vc-cellar-shop__categories::-webkit-scrollbar { display: none; }
}

.vc-cellar-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--shop-border);
  background: var(--shop-cream);
  color: var(--shop-text);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: inherit;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.vc-cellar-cat-btn:hover {
  border-color: var(--shop-amber);
  background: #fff;
  transform: translateY(-1px);
}
.vc-cellar-cat-btn.is-active {
  background: var(--shop-dark);
  color: #fff;
  border-color: var(--shop-dark);
}
.vc-cellar-cat-btn__icon { font-size: 1rem; line-height: 1; }
.vc-cellar-cat-btn__label { line-height: 1; }
.vc-cellar-cat-btn__count {
  background: rgba(0,0,0,.08);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  margin-left: 2px;
}
.vc-cellar-cat-btn.is-active .vc-cellar-cat-btn__count {
  background: rgba(255,255,255,.18);
  color: #fff;
}

/* ─── Shelf section ───────────────────────────────────────── */
.vc-cellar-shelves { display: flex; flex-direction: column; gap: 36px; }

.vc-cellar-shelf {
  background: var(--shop-cream);
  border: 1px solid var(--shop-border);
  border-radius: 18px;
  padding: 24px 22px 8px;
  position: relative;
}
.vc-cellar-shelf__header {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px dashed rgba(196,122,37,.2);
}
.vc-cellar-shelf__title {
  margin: 0;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--shop-text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.vc-cellar-shelf__emoji {
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0;
}
.vc-cellar-shelf__count {
  color: var(--shop-muted);
  font-weight: 500;
  letter-spacing: .04em;
  font-size: .82rem;
}

/* ─── Bottle rack (responsive grid) ───────────────────────── */
.vc-cellar-shelf__rack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  padding-bottom: 18px;
}

/* Wood-shelf line at the bottom of each rack */
.vc-cellar-shelf::after {
  content: '';
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 12px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right,
    rgba(196,122,37,.15) 0%,
    rgba(196,122,37,.45) 30%,
    rgba(196,122,37,.45) 70%,
    rgba(196,122,37,.15) 100%
  );
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}

/* ─── Bottle card ─────────────────────────────────────────── */
.vc-cellar-bottle {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 10px 12px;
  border-radius: 12px;
  text-align: center;
  transition: background .15s, transform .15s;
}
.vc-cellar-bottle:hover {
  background: rgba(255,255,255,.7);
  transform: translateY(-3px);
}
.vc-cellar-bottle.is-selected {
  background: linear-gradient(180deg, rgba(196,122,37,.14) 0%, rgba(196,122,37,.06) 100%);
  box-shadow: inset 0 0 0 1.5px var(--shop-amber);
}
.vc-cellar-bottle__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vc-cellar-bottle__viz {
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.vc-cellar-bottle__viz img {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(26,15,4,.18));
  transition: transform .25s ease;
}
.vc-cellar-bottle:hover .vc-cellar-bottle__viz img,
.vc-cellar-bottle:hover .vc-cellar-bottle__svg svg {
  transform: translateY(-4px);
}

.vc-cellar-bottle__svg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  filter: drop-shadow(0 6px 8px rgba(26,15,4,.2));
  transition: transform .25s ease;
}
.vc-cellar-bottle__svg svg {
  width: 64px;
  height: 100px;
  stroke-width: 1.4;
}

/* Realistic bottle SVG — carries its own colours, gradients, and label.
   Subtle drop-shadow gives it depth on the cream shelf. */
.vc-cellar-bottle__svg--realistic {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 130px;
  filter: drop-shadow(0 6px 8px rgba(26,15,4,.25));
  transition: transform .25s ease;
}
.vc-cellar-bottle__svg--realistic svg {
  height: 130px;
  width: auto;
}
.vc-cellar-bottle:hover .vc-cellar-bottle__svg--realistic { transform: translateY(-4px); }

.vc-cellar-bottle__badge {
  position: absolute;
  top: -6px;
  right: 10px;
  background: var(--shop-dark);
  color: var(--shop-amber-soft);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.vc-cellar-bottle__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 56px;
  width: 100%;
}
.vc-cellar-bottle__name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--shop-text);
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.vc-cellar-bottle__distillery {
  font-size: .7rem;
  color: var(--shop-muted);
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.vc-cellar-bottle__meta {
  font-size: .68rem;
  color: var(--shop-muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

/* Override checkbox position for the new bottle layout */
.vc-cellar-bottle .vc-shop-select {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
}
.vc-cellar-bottle .vc-shop-select__box {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(255,255,255,.92);
  border: 1.5px solid rgba(196,122,37,.45);
}
.vc-cellar-bottle .vc-shop-select__cb { width: 22px; height: 22px; }
.vc-cellar-bottle .vc-shop-select__box::after {
  width: 10px; height: 5px;
  border-left-width: 2px;
  border-bottom-width: 2px;
}

/* ─── Mobile ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .vc-cellar-shop__hero { padding: 28px 18px 22px; gap: 18px; }
  .vc-cellar-stat-pill { min-width: 0; padding: 10px 12px; }
  .vc-cellar-stat-pill__num { font-size: 1.3rem; }
  .vc-cellar-shelf { padding: 18px 14px 8px; border-radius: 14px; }
  .vc-cellar-shelf__rack {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 6px;
  }
  .vc-cellar-bottle { padding: 10px 6px 8px; }
  .vc-cellar-bottle__viz { height: 92px; }
  .vc-cellar-bottle__svg svg { width: 50px; height: 80px; }
  .vc-cellar-bottle__name { font-size: .78rem; }
  .vc-cellar-bottle__distillery { font-size: .65rem; }
}
@media (max-width: 380px) {
  .vc-cellar-shelf__rack { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   Single certificate (claim) page — mobile responsive (v1.8.3)
   The template uses inline styles; these media-query overrides
   stack the 2-col grid + the city/country sub-grid on phones.
═══════════════════════════════════════════════════════════════ */
.vc-claim-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.vc-claim-section *,
.vc-claim-section *::before,
.vc-claim-section *::after { box-sizing: border-box; }

/* Tablet: tighten padding, allow content to breathe */
@media (max-width: 900px) {
  .vc-claim-section { padding: 3.5rem 2rem 2rem !important; }
  .vc-claim-grid { gap: 2.5rem !important; }
}

/* Mobile: stack columns, single-column form, full-width inputs */
@media (max-width: 700px) {
  .vc-claim-section { padding: 2.2rem 1rem 1.6rem !important; }
  .vc-claim-grid {
    grid-template-columns: 1fr !important;
    gap: 1.6rem !important;
  }
  .vc-claim-form-row {
    grid-template-columns: 1fr !important;
  }
  /* Inputs and selects: 16px font prevents iOS auto-zoom on focus */
  .vc-claim-section input[type="text"],
  .vc-claim-section input[type="email"],
  .vc-claim-section input[type="number"],
  .vc-claim-section select,
  .vc-claim-section textarea { font-size: 16px !important; }
  /* Tighter form card padding on phones */
  .vc-claim-section h1 { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; }
}

/* Small phones: even tighter */
@media (max-width: 420px) {
  .vc-claim-section { padding: 1.6rem .8rem 1.2rem !important; }
  /* The product image / icon block — give it sane mobile padding */
  .vc-claim-grid > div:first-child > div:first-child { padding: 1.5rem !important; }
  /* Stats row */
  .vc-claim-grid > div:first-child > div:last-child {
    gap: 1rem !important;
    padding: .9rem 1rem !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  /* Form card */
  .vc-claim-grid > div:nth-child(2) > div:last-child { padding: 1.2rem !important; }
}

/* ── Claim auth buttons (logged-out users) ──────────────── */
.vc-claim-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.vc-claim-auth-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px) {
  .vc-claim-auth-actions { flex-direction: column; gap: .5rem; }
  .vc-claim-auth-btn {
    width: 100% !important;
    margin: 0 !important;
    padding: .85rem 1rem !important;
    min-height: 48px;
    text-align: center;
  }
}
