
:root {
  --ink: #17211d;
  --muted: #5d6964;
  --green: #0e5a43;
  --green-dark: #0a4534;
  --green-soft: #e9f0ed;
  --line: #d7e0db;
  --surface: #f5f7f4;
  --white: #ffffff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Arial, Helvetica, sans-serif;
}
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid #1d6a52;
  outline-offset: 2px;
}

.pv-shell { min-height: 100vh; background: linear-gradient(180deg, #f8faf8 0, #fff 190px); }
.pv-header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
}
.pv-brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; font-size: 23px; font-weight: 720; letter-spacing: -.03em; }
.pv-brand-mark { position: relative; width: 31px; height: 34px; display: grid; align-content: center; gap: 3px; transform: skew(-13deg); }
.pv-brand-mark i { display: block; height: 7px; background: var(--green); border-radius: 1px 7px 1px 7px; }
.pv-brand-mark i:nth-child(1) { width: 18px; margin-left: 11px; }
.pv-brand-mark i:nth-child(2) { width: 24px; margin-left: 5px; }
.pv-brand-mark i:nth-child(3) { width: 29px; }
.pv-back-link, .pv-share-button, .pv-details-link { border: 0; background: none; color: var(--green); cursor: pointer; font-weight: 650; }
.pv-back-link { min-height: 44px; padding: 8px 0; }

.pv-workspace { width: min(1560px, calc(100% - 64px)); margin: 0 auto; padding: 24px 0 18px; }
.pv-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 18px; }
.pv-eyebrow, .pv-panel-kicker, .pv-modal-kicker { margin: 0 0 7px; color: var(--green); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 750; }
.pv-intro h1 { margin: 0; font-size: clamp(30px, 3vw, 46px); line-height: 1.02; letter-spacing: -.045em; }
.pv-intro p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.pv-share-button { min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 7px; background: #fff; white-space: nowrap; }
.pv-share-button:hover { border-color: var(--green); background: var(--green-soft); }

.pv-category-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; overflow-x: auto; }
.pv-category-tabs button { position: relative; display: grid; grid-template-columns: 112px 1fr; grid-template-rows: 1fr 1fr; min-width: 260px; min-height: 92px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #44514c; cursor: pointer; text-align: left; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.pv-category-tabs button:hover { transform: none; border-color: #9cafA5; box-shadow: 0 5px 15px rgba(0, 71, 58, .08); }
.pv-category-tabs img { grid-row: 1 / span 2; align-self: stretch; width: 102px; height: 74px; border-radius: 5px; background: #eef2ef; object-fit: cover; }
.pv-category-tabs span { align-self: end; font-size: 16px; font-weight: 700; }
.pv-category-tabs small { align-self: start; margin-top: 3px; color: #75807b; font-size: 10px; font-weight: 520; }
.pv-category-tabs button.is-active { border-color: var(--green); color: var(--green-dark); box-shadow: 0 0 0 1px var(--green), inset 4px 0 0 var(--green); }
.pv-category-tabs button.is-active small { color: #477061; }
.pv-series-tabs { display: inline-flex; max-width: 100%; margin: 16px 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow-x: auto; }
.pv-series-tabs button { min-width: 142px; min-height: 43px; padding: 7px 18px; border: 0; border-right: 1px solid #e6ece8; background: #fff; color: #4d5954; cursor: pointer; white-space: nowrap; }
.pv-series-tabs button:last-child { border-right: 0; }
.pv-series-tabs button.is-active { background: var(--green-soft); color: var(--green-dark); font-weight: 700; }

.pv-model-selector { display: flex; align-items: center; gap: 18px; margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8faf8; }
.pv-model-heading { flex: 0 0 150px; display: flex; flex-direction: column; gap: 3px; }
.pv-model-heading span { color: var(--green); font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.pv-model-heading strong { color: #314039; font-size: 13px; }
.pv-model-list { display: flex; gap: 8px; min-width: 0; overflow-x: auto; }
.pv-model-list button { display: flex; flex-direction: column; gap: 2px; min-width: 118px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; text-align: left; cursor: pointer; }
.pv-model-list button:hover { border-color: #97aaa1; }
.pv-model-list button.is-active { border-color: var(--green); background: var(--green-soft); box-shadow: inset 3px 0 0 var(--green); }
.pv-model-list strong { color: #26342e; font-size: 13px; }
.pv-model-list small { color: #707c77; font-size: 10px; }

.pv-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(430px, .96fr); gap: 26px; align-items: stretch; }
.pv-scene-column { min-width: 0; }
.pv-scene-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 8px; background: #e9eeeb; }
.pv-scene-visual, .pv-scene-visual svg { width: 100%; height: 100%; display: block; }
.pv-scene-visual svg { object-fit: cover; animation: sceneFade .26s ease; }
@keyframes sceneFade { from { opacity: .25; transform: scale(1.006); } to { opacity: 1; transform: scale(1); } }
.pv-fullscreen-button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 6px; background: rgba(16, 26, 22, .78); color: #fff; cursor: pointer; font-size: 22px; }
.pv-scene-arrows { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; overflow: hidden; border-radius: 7px; background: rgba(16, 26, 22, .82); color: #fff; backdrop-filter: blur(5px); }
.pv-scene-arrows button { width: 46px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 18px; }
.pv-scene-thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.pv-scene-thumbnails button { position: relative; min-width: 0; padding: 0; border: 2px solid transparent; border-radius: 7px; overflow: hidden; background: #fff; cursor: pointer; }
.pv-scene-thumbnails button.is-active { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.pv-scene-thumbnails img { width: 100%; aspect-ratio: 16/7; object-fit: cover; display: block; transition: transform .2s ease; }
.pv-thumb-visual { position: relative; width: 100%; aspect-ratio: 16/7; display: block; overflow: hidden; }
.pv-thumb-visual svg { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s ease; }
.pv-scene-thumbnails button:hover img { transform: scale(1.025); }
.pv-scene-thumbnails button:hover svg { transform: scale(1.025); }

.pv-control-panel { display: flex; flex-direction: column; min-width: 0; padding: 17px 18px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 10px 24px rgba(25, 50, 39, .04); }
.pv-control-panel.is-locked { justify-content: flex-start; }
.pv-model-empty { display: grid; place-items: center; min-height: 280px; margin-top: 18px; padding: 28px; border: 1px dashed #b9c9c1; border-radius: 8px; background: var(--surface); text-align: center; }
.pv-model-empty span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 18px; font-weight: 800; }
.pv-model-empty strong { margin-top: 12px; font-size: 17px; }
.pv-model-empty p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.pv-panel-heading h2 { margin: 0; font-size: clamp(21px, 1.7vw, 26px); line-height: 1.1; letter-spacing: -.03em; }
.pv-panel-heading > p:not(.pv-panel-kicker) { margin: 6px 0 0; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.pv-filter-group { margin-top: 10px; }
.pv-control-label { display: block; margin-bottom: 6px; color: #34423c; font-size: 10px; font-weight: 720; text-transform: uppercase; letter-spacing: .09em; }
.pv-filter-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.pv-filter-buttons button { min-height: 32px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; font-size: 11px; }
.pv-filter-buttons button:hover { border-color: #97aaa1; }
.pv-filter-buttons button.is-active { border-color: var(--green); background: var(--green); color: #fff; font-weight: 700; }
.pv-swatch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; margin-top: 10px; }
.pv-swatch-card { position: relative; min-width: 0; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; cursor: pointer; text-align: left; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.pv-swatch-card:hover { transform: translateY(-1px); border-color: #9cafA5; }
.pv-swatch-card.is-active { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.pv-swatch-image-wrap { position: relative; display: block; overflow: hidden; }
.pv-swatch-image-wrap img { width: 100%; height: 50px; display: block; object-fit: cover; }
.pv-check-mark { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; font-weight: 800; }
.pv-swatch-copy { display: flex; flex-direction: column; gap: 2px; padding: 5px 7px 6px; }
.pv-swatch-copy strong { min-width: 0; overflow: hidden; color: #27332e; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 650; line-height: 1.1; }
.pv-swatch-copy small { color: #77817d; font-size: 9px; line-height: 1.1; }
.pv-selection-summary { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 10px; border: 1px solid #dbe6e0; border-radius: 7px; background: linear-gradient(100deg, #edf4f1, #f7faf8); }
.pv-summary-check { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #d9ebe4; color: var(--green); font-weight: 800; }
.pv-selection-summary strong { display: block; margin-bottom: 3px; font-size: 12px; }
.pv-selection-summary p { margin: 0; color: #56635e; font-size: 11px; line-height: 1.35; }
.pv-conversion-actions { display: grid; grid-template-columns: 1.18fr 1fr; gap: 10px; margin-top: 9px; }
.pv-primary-button, .pv-secondary-button { min-height: 46px; padding: 10px 15px; border-radius: 6px; cursor: pointer; font-weight: 730; transition: background .18s ease, transform .18s ease; }
.pv-primary-button { border: 1px solid var(--green); background: var(--green); color: #fff; }
.pv-primary-button:hover { background: var(--green-dark); }
.pv-secondary-button { border: 1px solid var(--green); background: #fff; color: var(--green); }
.pv-secondary-button:hover { background: var(--green-soft); }
.pv-primary-button:active, .pv-secondary-button:active { transform: translateY(1px); }
.pv-details-link { align-self: center; margin-top: 5px; padding: 3px; text-decoration: underline; text-underline-offset: 4px; font-size: 11px; }
.pv-color-note { margin: 15px 0 0; color: #7a847f; font-size: 11px; }
.pv-mobile-sample-button { display: none; }

.pv-toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translateX(-50%); padding: 12px 17px; border-radius: 6px; background: #17211d; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.18); font-size: 13px; }
.pv-lightbox, .pv-modal-backdrop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(6, 18, 13, .86); }
.pv-lightbox > button { position: fixed; top: 22px; right: 27px; width: 48px; height: 48px; border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 42px; }
.pv-lightbox > div { width: min(1500px, 94vw); }
.pv-lightbox img, .pv-lightbox-scene, .pv-lightbox svg { width: 100%; max-height: 88vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.pv-request-modal { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; border-radius: 10px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.pv-modal-close { position: absolute; top: 14px; right: 15px; width: 38px; height: 38px; border: 0; background: transparent; color: #59635f; cursor: pointer; font-size: 30px; }
.pv-request-modal h2 { margin: 0; padding-right: 30px; font-size: 27px; letter-spacing: -.035em; }
.pv-modal-selection { display: flex; gap: 13px; align-items: center; margin: 20px 0; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.pv-modal-selection img { width: 74px; height: 58px; border-radius: 4px; object-fit: cover; }
.pv-modal-selection strong, .pv-modal-selection span { display: block; }
.pv-modal-selection strong { font-size: 14px; }
.pv-modal-selection span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.pv-request-modal form { display: grid; gap: 13px; }
.pv-request-modal label { display: grid; gap: 6px; color: #38453f; font-size: 12px; font-weight: 650; }
.pv-request-modal input { width: 100%; height: 44px; padding: 0 11px; border: 1px solid #cbd7d1; border-radius: 6px; background: #fff; }
.pv-request-modal form .pv-primary-button { margin-top: 4px; }
.pv-form-note { margin: 13px 0 0; color: #7b8580; font-size: 10px; text-align: center; }
.pv-success-state { padding: 24px 0 8px; text-align: center; }
.pv-success-state > span { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 25px; font-weight: 800; }
.pv-success-state h2 { padding: 0; }
.pv-success-state p { margin: 10px auto 22px; color: var(--muted); line-height: 1.6; }

@media (max-width: 1180px) {
  .pv-workspace { width: min(100% - 40px, 1100px); }
  .pv-grid { grid-template-columns: 1fr; }
  .pv-scene-stage { aspect-ratio: 16/9; }
  .pv-control-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0 24px; }
  .pv-panel-heading, .pv-filter-group { grid-column: 1; }
  .pv-swatch-grid { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .pv-selection-summary, .pv-conversion-actions, .pv-details-link { grid-column: 1; }
  .pv-details-link { justify-self: center; }
}

@media (max-width: 760px) {
  .pv-shell { padding-bottom: 76px; }
  .pv-header { min-height: 58px; padding: 0 18px; }
  .pv-brand { font-size: 19px; }
  .pv-brand-mark { width: 25px; height: 28px; }
  .pv-back-link { display: none; }
  .pv-workspace { width: calc(100% - 28px); padding-top: 18px; }
  .pv-intro { align-items: flex-start; }
  .pv-intro h1 { font-size: 32px; }
  .pv-intro p:last-child { font-size: 13px; line-height: 1.5; }
  .pv-share-button { display: none; }
  .pv-category-tabs { display: flex; gap: 9px; padding: 2px; }
  .pv-category-tabs button { grid-template-columns: 86px 1fr; min-width: 215px; min-height: 78px; padding: 7px 11px 7px 7px; }
  .pv-category-tabs img { width: 78px; height: 62px; }
  .pv-series-tabs { display: flex; width: 100%; margin: 12px 0; }
  .pv-series-tabs button { flex: 1 0 auto; min-width: 126px; }
  .pv-model-selector { display: block; padding: 12px; }
  .pv-model-heading { margin-bottom: 9px; }
  .pv-model-list button { min-width: 112px; }
  .pv-grid { gap: 14px; }
  .pv-scene-stage { aspect-ratio: 4/3; border-radius: 6px; }
  .pv-fullscreen-button { top: 10px; right: 10px; width: 40px; height: 40px; }
  .pv-scene-arrows { left: 10px; bottom: 10px; }
  .pv-scene-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
  .pv-scene-thumbnails button { flex: 0 0 148px; width: 148px; }
  .pv-scene-thumbnails img { aspect-ratio: 16/9; }
  .pv-control-panel { display: flex; padding: 17px; }
  .pv-panel-heading h2 { font-size: 24px; }
  .pv-panel-heading > p:not(.pv-panel-kicker) { white-space: normal; }
  .pv-swatch-grid { margin-top: 13px; gap: 8px; }
  .pv-swatch-image-wrap img { height: 58px; }
  .pv-swatch-copy { padding: 6px; }
  .pv-swatch-copy strong { font-size: 11px; }
  .pv-selection-summary { align-items: flex-start; }
  .pv-conversion-actions { grid-template-columns: 1fr; }
  .pv-conversion-actions .pv-primary-button { display: none; }
  .pv-color-note { padding-bottom: 10px; line-height: 1.45; }
  .pv-mobile-sample-button { position: fixed; left: 14px; right: 14px; bottom: 12px; z-index: 70; display: block; min-height: 52px; border: 1px solid var(--green); border-radius: 7px; background: var(--green); color: #fff; box-shadow: 0 10px 28px rgba(7,67,47,.26); font-weight: 750; }
  .pv-request-modal { padding: 24px 20px; }
}

@media (max-width: 430px) {
  .pv-eyebrow { font-size: 10px; }
  .pv-intro h1 { font-size: 29px; }
  .pv-category-tabs span { font-size: 14px; }
  .pv-swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-swatch-image-wrap img { height: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.pv-scene-image,
.pv-thumb-image,
.pv-lightbox-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
