.vp-stock { padding: 38px 0 54px; min-width: 0; }
.vp-stock [hidden], .vp-photo-viewer [hidden] { display: none !important; }
.vp-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
.vp-eyebrow { font-size: 10px; letter-spacing: .18em; color: #8b7148; font-weight: 600; }
.vp-title { margin-top: 12px; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -.045em; color: #22221f; font-weight: 500; }
.vp-intro { margin-top: 14px; max-width: 48em; color: #74726d; font-size: 14px; line-height: 1.8; }
.vp-heading-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 12px; }
.vp-account { font-size: 12px; color: #77736b; overflow-wrap: anywhere; }
.vp-button, .vp-primary, .vp-card-enquire { min-height: 42px; padding: 10px 18px; border: 1px solid #dfdfda; border-radius: 999px; background: #fff; color: #232321; font-size: 12px; line-height: 1.6; cursor: pointer; text-align: center; }
.vp-primary { background: #22231f; color: #fff; border-color: #22231f; }
.vp-button:hover, .vp-card-enquire:hover { border-color: #9d8c6d; background: #faf7f1; }
.vp-primary:hover { background: #3e4038; }
.vp-stock button:disabled { opacity: .45; cursor: not-allowed; }
.vp-stock :focus-visible, .vp-photo-viewer :focus-visible { outline: 2px solid #9d7d45; outline-offset: 4px; }
.vp-status { border: 1px solid #e6d8bd; background: #fff9ed; padding: 12px 16px; border-radius: 12px; color: #755b32; margin-bottom: 18px; font-size: 13px; line-height: 1.7; }
.vp-login-panel { width: min(100%, 480px); margin: 32px auto; padding: 36px; border: 1px solid #e3e0d7; border-radius: 22px; background: #fffdfa; box-shadow: 0 12px 38px #46402d06; }
.vp-lock { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 18px; border-radius: 50%; background: #f2eddf; color: #8e7548; font-size: 24px; }
.vp-login-panel h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.025em; font-weight: 500; }
.vp-login-panel > p { font-size: 13px; line-height: 1.75; color: #79746a; margin-top: 10px; }
.vp-login-form { display: grid; gap: 18px; margin-top: 25px; }
.vp-login-form label { display: grid; gap: 8px; color: #47453f; font-size: 12px; font-weight: 600; }
.vp-login-form input, .vp-search { min-width: 0; width: 100%; min-height: 46px; padding: 12px 15px; border: 1px solid #deded8; border-radius: 12px; background: #fff; color: #222; font-size: 15px; line-height: 1.5; }
.vp-login-form .vp-primary { margin-top: 5px; min-height: 46px; }
.vp-toolbar { display: flex; gap: 14px; margin-bottom: 22px; align-items: center; }
.vp-search { max-width: 580px; border-radius: 999px; padding-inline: 19px; }
.vp-results { color: #827d73; font-size: 11px; margin-bottom: 16px; }
.vp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.vp-card { min-width: 0; border: 1px solid #e2e2dc; border-radius: 17px; overflow: hidden; background: #fff; }
.vp-card-photo { display: grid; place-items: center; aspect-ratio: 4/5; width: 100%; padding: 0; margin: 0; border: 0; background: #efefeb; overflow: hidden; cursor: zoom-in; color: #928b7c; font-size: 12px; }
.vp-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.vp-card-body { padding: 17px; }
.vp-card-meta { min-height: 16px; color: #8b8374; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .07em; }
.vp-card-title { margin-top: 8px; font-size: 15px; font-weight: 500; line-height: 1.6; letter-spacing: -.015em; overflow-wrap: anywhere; }
.vp-sku { margin-top: 9px; font-size: 11px; color: #716f65; overflow-wrap: anywhere; }
.vp-stock-badge { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; border-radius: 999px; padding: 4px 10px; background: #e5f3e8; color: #357753; font-size: 10px; font-weight: 600; }
.vp-stock-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #48a66c; }
.vp-price { margin-top: 14px; font-size: 17px; color: #2c2c27; font-weight: 500; }
.vp-card-actions { display: grid; gap: 12px; margin-top: 15px; }
.vp-select { display: flex; align-items: center; gap: 8px; font-size: 11px; cursor: pointer; color: #68635b; }
.vp-select input { accent-color: #7a835f; width: 16px; height: 16px; }
.vp-card-enquire { width: 100%; min-height: 38px; font-size: 11px; }
.vp-more { display: block; margin: 24px auto; }
.vp-selection { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 27px; padding: 17px 20px; border: 1px solid #dfdccf; border-radius: 17px; background: #fcfaf4; }
.vp-selection > strong { font-size: 13px; color: #565649; font-weight: 500; }
.vp-selection-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vp-disclosure { margin-top: 17px; color: #898376; font-size: 11px; line-height: 1.7; }
.vp-empty { padding: 36px 10px; color: #807a6d; font-size: 14px; grid-column: 1/-1; line-height: 1.8; }
.vp-photo-viewer { width: min(96vw, 1300px); height: min(96dvh, 1100px); max-width: none; max-height: none; padding: 0; border: 1px solid #ddd; border-radius: 16px; background: #f6f6f3; color: #222; overflow: hidden; }
.vp-photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.vp-photo-viewer::backdrop { background: #141610de; }
.vp-photo-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; background: #fff; border-bottom: 1px solid #e4e4df; }
.vp-photo-title { font-size: 13px; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-photo-position { flex: none; font-size: 11px; color: #7e796e; }
.vp-photo-viewport { min-width: 0; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; overscroll-behavior: contain; }
.vp-photo-image { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.vp-photo-viewport.is-original { display: block; touch-action: none; cursor: grab; }
.vp-photo-viewport.is-original img { display: block; max-width: none; max-height: none; }
.vp-photo-failure { padding: 30px; font-size: 14px; color: #8b7457; }
.vp-photo-tools { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid #e3e3dc; background: #fff; }
.vp-photo-tools small { flex: 0 0 100%; text-align: center; color: #888071; font-size: 11px; line-height: 1.6; }
@media (max-width: 1050px) { .vp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 760px) {
  .vp-stock { padding-top: 25px; }
  .vp-heading { flex-direction: column; gap: 8px; }
  .vp-title { font-size: 39px; }
  .vp-intro { font-size: 12px; }
  .vp-heading-actions { padding-top: 0; }
  .vp-login-panel { padding: 25px 22px; margin-top: 24px; }
  .vp-login-panel h2 { font-size: 23px; }
  .vp-login-form input, .vp-search { font-size: 16px; }
  .vp-toolbar { gap: 8px; }
  .vp-toolbar > button { padding: 10px 12px; flex: none; font-size: 11px; }
  .vp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .vp-card-body { padding: 12px; }
  .vp-card-title { font-size: 12px; }
  .vp-card-meta, .vp-sku { font-size: 9px; }
  .vp-price { font-size: 15px; }
  .vp-card-enquire { padding-inline: 8px; font-size: 10px; }
  .vp-selection { padding: 16px; }
  .vp-selection-actions { width: 100%; }
  .vp-selection-actions > button { flex: 1; font-size: 11px; }
  .vp-photo-header { gap: 8px; padding: 9px; }
  .vp-photo-title { font-size: 11px; }
  .vp-photo-header > button { padding-inline: 12px; }
}
