:root {
  --pv-primary: #2563eb;
  --pv-accent: #f59e0b;
  --pv-ink: #0f172a;
  --pv-muted: #64748b;
  --pv-card: #ffffff;
  --pv-border: rgba(15, 23, 42, .10);
  --pv-bg: #f6f8fb;
  --pv-shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --pv-shadow2: 0 18px 50px rgba(2, 6, 23, .10);
  --pv-radius: 18px;
  --pv-ring: 0 0 0 3px rgba(37, 99, 235, .25);
  --pv-stickyTop: 96px;
  --pv-max: 1160px;
  --pv-fabRight: max(16px, calc((100vw - var(--pv-max))/2 - 10px));
  --pv-fabSize: 56px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --pv-ink: #e6edf3;
  --pv-muted: #9aa6b2;
  --pv-card: #0b1220;
  --pv-border: rgba(255, 255, 255, .12);
  --pv-bg: #070c18;
  --pv-shadow: 0 14px 34px rgba(0, 0, 0, .35);
  --pv-shadow2: 0 20px 60px rgba(0, 0, 0, .45);
  --pv-ring: 0 0 0 3px rgba(37, 99, 235, .35);
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--pv-ink);
  background: var(--pv-bg);
  overflow-x: hidden;
}

.pv-max {
  max-width: var(--pv-max);
  margin-inline: auto;
}

.pv-page {
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(37, 99, 235, .08), transparent 60%),
    radial-gradient(900px 520px at 85% 18%, rgba(245, 158, 11, .08), transparent 55%),
    var(--pv-bg);
  min-height: 70vh;
}

.pv-pad {
  padding: 18px;
}

@media (min-width:768px) {
  .pv-pad {
    padding: 22px;
  }
}

@media (min-width:1024px) {
  .pv-pad {
    padding: 26px;
  }
}

.pv-card {
  background: var(--pv-card);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius);
  box-shadow: var(--pv-shadow);
}

.pv-card .pv-in {
  padding: 18px;
}

@media (min-width:768px) {
  .pv-card .pv-in {
    padding: 22px;
  }
}

.pv-bodyGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-areas: "main right";
  gap: 16px;
  align-items: start;
}

.pv-main {
  grid-area: main;
}

.pv-right {
  grid-area: right;
}

.pv-hero {
  margin-bottom: 16px;
}

.pv-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--pv-muted);
  font-weight: 500;
  font-size: .92rem;
}

.pv-breadcrumb a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.pv-breadcrumb a:hover {
  text-decoration: underline;
}

.pv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.pv-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .82rem;
  border: 1px solid transparent;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}

.pv-b1 {
  background: rgba(37, 99, 235, .12);
  border-color: rgba(37, 99, 235, .22);
  color: var(--pv-ink);
}

.pv-b2 {
  background: rgba(147, 51, 234, .12);
  border-color: rgba(147, 51, 234, .22);
  color: var(--pv-ink);
}

.pv-b3 {
  background: rgba(16, 185, 129, .12);
  border-color: rgba(16, 185, 129, .22);
  color: var(--pv-ink);
}

.pv-city {
  background: rgba(100, 116, 139, .12);
  border-color: rgba(100, 116, 139, .22);
  color: var(--pv-ink);
}

.pv-hot {
  background: rgba(239, 68, 68, .12);
  border-color: rgba(239, 68, 68, .22);
  color: var(--pv-ink);
}

.pv-title {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 500;
}

.pv-excerpt {
  margin: 0 0 14px;
  color: var(--pv-muted);
  line-height: 1.7;
  font-size: 1.04rem;
  max-width: 80ch;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pv-rewardRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 6px 0 14px;
}

.pv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  background: transparent;
  color: var(--pv-ink);
}

.pv-btn:focus-visible {
  outline: none;
  box-shadow: var(--pv-ring);
}

.pv-btn-reward {
  background: var(--pv-accent);
  color: #111827;
  border-color: rgba(0, 0, 0, .06);
  box-shadow: 0 12px 26px rgba(245, 158, 11, .22);
}

.pv-btn-soft {
  background: transparent;
  border-color: var(--pv-border);
  color: var(--pv-ink);
}

.pv-cover {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--pv-border);
  box-shadow: var(--pv-shadow2);
  background: #e5e7eb;
  margin: 0;
}

.pv-cover img {
  width: 100%;
  height: clamp(220px, 34vw, 380px);
  display: block;
  object-fit: cover;
}

/* ✅ word-wrap for content + keep code blocks scrollable */
.pv-content {
  max-width: 80ch;
  font-size: 1.06rem;
  line-height: 1.95;
  color: var(--pv-ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pv-content pre {
  overflow: auto;
  white-space: pre;
  word-break: normal;
  overflow-wrap: normal;
}

.pv-content code {
  word-break: normal;
  overflow-wrap: normal;
}

.pv-content p {
  margin: 1rem 0;
}

.pv-content h2 {
  margin: 1.6rem 0 .7rem;
  font-size: clamp(1.22rem, 1.6vw, 1.38rem);
  font-weight: 500;
  scroll-margin-top: 90px;
}

.pv-content h3 {
  margin: 1.2rem 0 .55rem;
  font-size: clamp(1.08rem, 1.2vw, 1.18rem);
  font-weight: 500;
  scroll-margin-top: 90px;
}

.pv-content ul {
  padding-left: 1.25rem;
}

.pv-content li {
  margin: .45rem 0;
}

.pv-content a {
  color: rgba(37, 99, 235, .95);
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
  text-decoration-color: rgba(37, 99, 235, .35);
}

.pv-content a:hover {
  text-decoration-color: rgba(37, 99, 235, .8);
}

.pv-content img {
  display: block;
  width: 100%;
  border: 1px solid var(--pv-border);
  box-shadow: 0 10px 28px rgba(2, 6, 23, .10);
  background: #fff;
  cursor: zoom-in;
}

.pv-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  margin: 12px 0 18px;
  border: 1px solid var(--pv-border);
  box-shadow: 0 12px 34px rgba(2, 6, 23, .12);
}

.pv-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pv-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--pv-border);
  background: rgba(2, 6, 23, .02);
  text-decoration: none;
  color: var(--pv-ink);
  font-weight: 500;
  white-space: normal;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html[data-theme="dark"] .pv-tag {
  background: rgba(255, 255, 255, .04);
}

.pv-rightRail {
  position: sticky;
  top: var(--pv-stickyTop);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pv-sideCard {
  background: var(--pv-card);
  border: 1px solid var(--pv-border);
  border-radius: 18px;
  box-shadow: var(--pv-shadow);
  overflow: hidden;
}

.pv-sideIn {
  padding: 14px;
}

.pv-sideHd {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 0 12px;
}

.pv-sideHd i {
  opacity: .9;
}

.pv-authorCardTop {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pv-authorAv {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 3px solid rgba(37, 99, 235, .55);
  background: #111827;
}

.pv-authorAv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-authorNm {
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pv-authorRl {
  color: var(--pv-muted);
  font-weight: 500;
  margin-top: 2px;
  font-size: .92rem;
}

.pv-authorMeta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--pv-muted);
  font-weight: 500;
  font-size: .92rem;
}

.pv-authorMeta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pv-authorSocial {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pv-soc {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(2, 6, 23, .12);
  transition: transform .15s ease;
  font-size: 14px;
}

.pv-soc:hover {
  transform: translateY(-1px);
}

.pv-fb {
  background: #1877f2;
}

.pv-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.pv-li {
  background: #0077b5;
}

.pv-yt {
  background: #ff0000;
}

.pv-tg {
  background: #0088cc;
}

.pv-wa {
  background: #25d366;
}

.pv-x {
  background: #111827;
}

.pv-sideList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pv-sideCat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--pv-border);
  background: rgba(2, 6, 23, .02);
  text-decoration: none;
  color: var(--pv-ink);
}

html[data-theme="dark"] .pv-sideCat {
  background: rgba(255, 255, 255, .04);
}

.pv-sideCat:hover {
  border-color: rgba(37, 99, 235, .25);
  box-shadow: 0 12px 26px rgba(2, 6, 23, .10);
}

.pv-sideCat .t {
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pv-sideCat .m {
  color: var(--pv-muted);
  font-weight: 500;
  font-size: .84rem;
}

.pv-sidePost {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--pv-ink);
}

html[data-theme="dark"] .pv-sidePost {
  background: rgba(255, 255, 255, .04);
}

.pv-sidePost:hover {
  border-color: rgba(37, 99, 235, .25);
  box-shadow: 0 12px 26px rgba(2, 6, 23, .10);
}

.pv-sideThumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pv-border);
  background: #e5e7eb;
}

.pv-sideThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-sideTitle {
  font-weight: 500;
  line-height: 1.25;
  font-size: .95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pv-sideMeta {
  margin-top: 6px;
  color: var(--pv-muted);
  font-weight: 500;
  font-size: .84rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pv-miniBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--pv-border);
  background: rgba(245, 158, 11, .14);
  font-weight: 500;
  font-size: .78rem;
  color: var(--pv-ink);
}

/* Comments */
.pv-comments {
  margin-top: 18px;
  border-radius: 16px;
  padding: 14px;
}

html[data-theme="dark"] .pv-comments {
  background: rgba(255, 255, 255, .04);
}

.pv-comments h3 {
  margin: 0 0 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.pv-commentForm {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid var(--pv-border);
  border-radius: 14px;
  background: var(--pv-card);
}

.pv-commentForm textarea {
  flex: 1;
  min-height: 88px;
  resize: vertical;
  border-radius: 12px;
  border: 1px solid var(--pv-border);
  padding: 10px 12px;
  font: inherit;
  color: var(--pv-ink);
  background: transparent;
  outline: none;
}

.pv-commentForm textarea:focus {
  box-shadow: var(--pv-ring);
}

.pv-commentForm .pv-btn {
  padding: 10px 14px;
}

.pv-comment {
  border: 1px solid var(--pv-border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.pv-comment:last-child {
  margin-bottom: 0;
}

.pv-cav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid var(--pv-border);
  background: #e5e7eb;
}

.pv-cav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-cmeta .nm {
  font-weight: 500;
}

.pv-cmeta .tm {
  color: var(--pv-muted);
  font-size: .84rem;
  margin-top: 2px;
}

.pv-ctxt {
  margin-top: 8px;
  color: var(--pv-ink);
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#pvProgress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--pv-primary), rgba(99, 102, 241, .9));
  box-shadow: 0 0 24px rgba(37, 99, 235, .30);
  z-index: 9999;
}

.pv-toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 999;
  background: rgba(2, 6, 23, .88);
  color: #fff;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 500;
  display: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}

.pv-toast.show {
  display: block;
}

.pv-toTop {
  position: fixed;
  right: calc(var(--pv-fabRight) + 72px);
  bottom: 18px;
  border-radius: 999px;
  border: 1px solid var(--pv-border);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--pv-card);
  box-shadow: 0 14px 30px rgba(2, 6, 23, .14);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: .2s ease;
  z-index: 201;
}

.pv-toTop.show {
  opacity: 1;
  transform: none;
}

/* FAB */
.pv-fab {
  position: fixed;
  right: 20px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.pv-fab * {
  pointer-events: auto;
}

.pv-fab-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.pv-fab-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px) scale(.96);
  pointer-events: none;
  transition: .18s ease;
  transform-origin: right center;
}

.pv-fab.is-open .pv-fab-item {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.pv-fab-label {
  position: relative;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--pv-border);
  background: rgba(255, 255, 255, .92);
  color: var(--pv-ink);
  font-weight: 500;
  font-size: .92rem;
  box-shadow: 0 16px 40px rgba(2, 6, 23, .14);
  max-width: 240px;
  white-space: normal;
  line-height: 1.15;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pv-fab-label:after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  background: rgba(255, 255, 255, .92);
  border-right: 1px solid var(--pv-border);
  border-bottom: 1px solid var(--pv-border);
  border-radius: 2px;
}

html[data-theme="dark"] .pv-fab-label {
  background: rgba(11, 18, 32, .90);
}

html[data-theme="dark"] .pv-fab-label:after {
  background: rgba(11, 18, 32, .90);
}

.pv-fab-btn {
  width: var(--pv-fabSize);
  height: var(--pv-fabSize);
  border-radius: 999px;
  border: 1px solid var(--pv-border);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 50px rgba(2, 6, 23, .16);
  color: var(--pv-ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, filter .15s ease;
}

html[data-theme="dark"] .pv-fab-btn {
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .45);
}

.pv-fab-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, .28);
  box-shadow: 0 24px 70px rgba(2, 6, 23, .22);
}

.pv-fab-btn i {
  font-size: 18px;
}

.pv-fab-btn-sm {
  width: 48px;
  height: 48px;
}

.pv-fab-btn-sm i {
  font-size: 16px;
}

.pv-fab-btn[data-tone="like"] {
  background: rgba(244, 63, 94, .92);
  border-color: rgba(244, 63, 94, .35);
  color: #fff;
}

.pv-fab-btn[data-tone="claim"] {
  background: rgba(245, 158, 11, .92);
  border-color: rgba(245, 158, 11, .35);
  color: #111827;
}

.pv-fab-btn[data-tone="comment"] {
  background: rgba(147, 51, 234, .92);
  border-color: rgba(147, 51, 234, .35);
  color: #fff;
}

.pv-fab-btn[data-tone="save"] {
  background: rgba(99, 102, 241, .92);
  border-color: rgba(99, 102, 241, .35);
  color: #fff;
}

.pv-fab-btn[data-tone="x"] {
  background: rgba(17, 24, 39, .92);
  border-color: rgba(17, 24, 39, .35);
  color: #fff;
}

.pv-fab-btn[data-tone="fb"] {
  background: rgba(24, 119, 242, .92);
  border-color: rgba(24, 119, 242, .35);
  color: #fff;
}

.pv-fab-btn[data-tone="wa"] {
  background: rgba(37, 211, 102, .92);
  border-color: rgba(37, 211, 102, .35);
  color: #0b1220;
}

.pv-fab-btn[data-tone="link"] {
  background: rgba(100, 116, 139, .92);
  border-color: rgba(100, 116, 139, .35);
  color: #fff;
}

.pv-fab-toggle {
  width: calc(var(--pv-fabSize) + 6px);
  height: calc(var(--pv-fabSize) + 6px);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: linear-gradient(180deg, rgba(245, 158, 11, 1), rgba(251, 191, 36, 1));
  color: #111827;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 24px 70px rgba(245, 158, 11, .32);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  pointer-events: auto;
}

.pv-fab-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 80px rgba(245, 158, 11, .38);
  filter: saturate(1.05);
}

.pv-fab-toggle i {
  font-size: 18px;
  transition: transform .18s ease;
}

.pv-fab.is-open .pv-fab-toggle i {
  transform: rotate(45deg);
}

.pv-fab-item-share {
  position: relative;
}

.pv-fab-sub {
  position: absolute;
  right: calc(var(--pv-fabSize) + 14px);
  top: 0%;
  transform: translateY(-50%) translateX(10px) scale(.98);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: .18s ease;
}

.pv-fab-subitem {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.pv-fab.is-open.is-share-open .pv-fab-sub {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
  pointer-events: auto;
}

@media (max-width:1100px) {
  .pv-bodyGrid {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "right";
  }

  .pv-rightRail {
    position: static;
  }

  :root {
    --pv-fabRight: 16px;
  }

  .pv-toTop {
    right: 88px;
  }
}

@media (max-width:860px) {
  :root {
    --pv-fabSize: 54px;
  }

  .pv-fab {
    bottom: calc(150px + env(safe-area-inset-bottom, 0px));
    right: 14px;
  }

  .pv-toTop {
    right: 14px;
    bottom: 18px;
  }

  .pv-toast {
    bottom: 86px;
  }

  body {
    padding-bottom: 88px;
  }
}

/* ==========================
     PRODUCT REFERENCE SECTION (v2) - ONLY
     ========================== */
.pv-prodSection {
  margin-top: 18px;
  padding: 16px;
}

.pv-prodHead {
  margin-bottom: 12px;
}

.pv-prodTitle {
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
}

.pv-prodSub {
  margin: 6px 0 0;
  color: var(--pv-muted);
  font-weight: 500;
  font-size: .95rem;
}

.pv-prodGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pv-prodEmpty {
  color: var(--pv-muted);
  font-weight: 500;
  padding: 12px 14px;
  border: 1px dashed var(--pv-border);
  border-radius: 14px;
  background: rgba(2, 6, 23, .02);
}

html[data-theme="dark"] .pv-prodEmpty {
  background: rgba(255, 255, 255, .04);
}

.pv-prodCard {
  grid-column: span 12;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pv-border);
  background: linear-gradient(180deg, rgba(37, 99, 235, .06), rgba(2, 6, 23, .02));
  box-shadow: 0 14px 38px rgba(2, 6, 23, .08);
  border-radius: 18px;
}

html[data-theme="dark"] .pv-prodCard {
  background: linear-gradient(180deg, rgba(37, 99, 235, .10), rgba(255, 255, 255, .03));
}

@media (min-width:900px) {
  .pv-prodCard {
    grid-column: span 6;
  }

  .pv-prodGrid {
    grid-template-columns: 1fr 1fr;
  }
}

.pv-prodTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--pv-border);
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html[data-theme="dark"] .pv-prodTop {
  background: rgba(0, 0, 0, .10);
}

.pv-prodInfo {
  min-width: 0;
}

.pv-prodName {
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pv-prodDesc {
  margin-top: 6px;
  color: var(--pv-muted);
  line-height: 1.55;
  font-size: .94rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pv-prodMeta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.pv-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--pv-border);
  font-weight: 600;
  font-size: .82rem;
  white-space: nowrap;
  background: rgba(255, 255, 255, .70);
}

html[data-theme="dark"] .pv-pill {
  background: rgba(255, 255, 255, .06);
}

.pv-pill-offers {
  background: rgba(37, 99, 235, .12);
  border-color: rgba(37, 99, 235, .22);
}

.pv-pill-best {
  background: rgba(16, 185, 129, .14);
  border-color: rgba(16, 185, 129, .28);
}

.pv-prodOffers {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pv-recRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(245, 158, 11, .14), rgba(2, 6, 23, .02));
  box-shadow: 0 14px 34px rgba(2, 6, 23, .10);
}

html[data-theme="dark"] .pv-recRow {
  background: linear-gradient(180deg, rgba(245, 158, 11, .12), rgba(255, 255, 255, .04));
}

.pv-recLeft {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pv-recLogo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pv-border);
  background: #e5e7eb;
  flex: 0 0 auto;
}

.pv-recLogo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-recText {
  min-width: 0;
}

.pv-recTopLine {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.pv-recPill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, .18);
  border: 1px solid rgba(245, 158, 11, .35);
  font-weight: 500;
  font-size: .78rem;
}

.pv-recSite {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.pv-recCost {
  margin-top: 6px;
  font-weight: 500;
}

.pv-recMuted {
  color: var(--pv-muted);
  font-weight: 600;
}

.pv-recBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 500;
  background: rgba(245, 158, 11, .92);
  color: #111827;
  border: 1px solid rgba(0, 0, 0, .06);
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.pv-recBtn:hover {
  filter: saturate(1.05);
  transform: translateY(-1px);
}

.pv-offerRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--pv-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .70);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

html[data-theme="dark"] .pv-offerRow {
  background: rgba(255, 255, 255, .06);
}

.pv-offerRow:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, .25);
  box-shadow: 0 14px 34px rgba(2, 6, 23, .10);
}

.pv-offerRow.is-best {
  border-color: rgba(16, 185, 129, .35);
  box-shadow: 0 14px 34px rgba(2, 6, 23, .12);
}

.pv-offerLeft {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pv-offerLogo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--pv-border);
  background: #e5e7eb;
  flex: 0 0 auto;
}

.pv-offerLogo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-offerText {
  min-width: 0;
}

.pv-offerSite {
  font-weight: 500;
  font-size: .94rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.pv-offerCost {
  margin-top: 6px;
  color: var(--pv-muted);
  font-weight: 700;
  font-size: .86rem;
}

.pv-offerMiniBest {
  margin-left: 10px;
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, .14);
  border: 1px solid rgba(16, 185, 129, .28);
  font-size: .74rem;
  font-weight: 500;
}

.pv-offerBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--pv-border);
  text-decoration: none;
  font-weight: 500;
  color: var(--pv-ink);
  white-space: nowrap;
  background: rgba(2, 6, 23, .02);
}

html[data-theme="dark"] .pv-offerBtn {
  background: rgba(255, 255, 255, .04);
}

.pv-offerBtn:hover {
  border-color: rgba(37, 99, 235, .28);
  box-shadow: 0 12px 26px rgba(2, 6, 23, .10);
}

.pv-moreDetails {
  margin-top: 2px;
}

.pv-moreSummary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  width: 100%;
  padding: 11px 12px;
  border-radius: 16px;
  border: 1px dashed var(--pv-border);
  background: transparent;
  font-weight: 500;
  color: var(--pv-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pv-moreSummary::-webkit-details-marker {
  display: none;
}

.pv-moreSummary:hover {
  border-color: rgba(37, 99, 235, .35);
}

.pv-moreList {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================
     RECIPE SECTION (CLEANED) - badges + timeline
     ========================== */
.pv-recipeWrap {
  overflow: hidden;
}

.pv-recipeIn {
  padding: 16px;
}

@media (min-width:768px) {
  .pv-recipeIn {
    padding: 20px;
  }
}

.pv-recipeHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pv-recipeHeadLeft {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pv-recipeIcon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, .14);
  border: 1px solid rgba(16, 185, 129, .25);
  box-shadow: 0 14px 32px rgba(2, 6, 23, .10);
}

.pv-recipeH {
  margin: 0;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.15;
}

.pv-recipeSub {
  margin: 6px 0 0;
  color: var(--pv-muted);
  font-weight: 500;
  line-height: 1.55;
}

/* One recipe container */
.pv-recipeCard {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(37, 99, 235, .04), rgba(2, 6, 23, .02));
  box-shadow: 0 14px 38px rgba(2, 6, 23, .08);
}

html[data-theme="dark"] .pv-recipeCard {
  background: rgba(255, 255, 255, .03);
}

.pv-recipeTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pv-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, .70), rgba(255, 255, 255, .40));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html[data-theme="dark"] .pv-recipeTop {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
}

.pv-recipeName {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 500;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pv-recipeActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pv-recipeActions .pv-btn {
  padding: 10px 12px;
  border-radius: 14px;
}

/* (Optional) chips - keep if used anywhere */
.pv-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--pv-border);
  background: rgba(2, 6, 23, .02);
  font-weight: 500;
  max-width: 100%;
}

html[data-theme="dark"] .pv-chip {
  background: rgba(255, 255, 255, .04);
}

.pv-chip .k {
  color: var(--pv-muted);
  font-weight: 500;
  font-size: .76rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.pv-chip .v {
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ✅ ONE definition only (removed duplicates) */
.pv-chipRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 12px;
}

html[data-theme="dark"] .pv-chipRow {
  background: rgba(255, 255, 255, .04);
}

.pv-badgeMeta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--pv-border);
  background: rgba(255, 255, 255, .70);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

html[data-theme="dark"] .pv-badgeMeta {
  background: rgba(255, 255, 255, .06);
}

.pv-badgeMeta i {
  opacity: .9;
  font-size: 14px;
}

.pv-badgeMeta .k {
  color: var(--pv-muted);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .02em;
}

.pv-badgeMeta .v {
  font-weight: 500;
  font-size: .9rem;
}

.pv-meta-serves {
  background: rgba(37, 99, 235, .10);
  border-color: rgba(37, 99, 235, .22);
}

.pv-meta-time {
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .26);
}

.pv-meta-effort {
  background: rgba(16, 185, 129, .12);
  border-color: rgba(16, 185, 129, .26);
}

.pv-recipeGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px 16px 16px;
}

@media (max-width:900px) {
  .pv-recipeGrid {
    grid-template-columns: 1fr;
  }
}

.pv-panelHd {
  padding: 10px 12px;
  border-bottom: 1px solid var(--pv-border);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(2, 6, 23, .02);
}

html[data-theme="dark"] .pv-panelHd {
  background: rgba(255, 255, 255, .04);
}

.pv-panelBd {
  padding: 12px 12px;
}

.pv-recipeRich {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--pv-ink);
}

.pv-recipeEmpty {
  padding: 12px 14px;
  border: 1px dashed var(--pv-border);
  border-radius: 14px;
  background: rgba(2, 6, 23, .02);
  color: var(--pv-muted);
  font-weight: 700;
}

html[data-theme="dark"] .pv-recipeEmpty {
  background: rgba(255, 255, 255, .04);
}

/* ✅ Ingredients timeline */
.pv-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  position: relative;
}

.pv-timeline:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(37, 99, 235, .25);
  border-radius: 999px;
}

html[data-theme="dark"] .pv-timeline:before {
  background: rgba(37, 99, 235, .35);
}

.pv-timeline li {
  position: relative;
  padding: 7px 0 7px 10px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pv-timeline li:before {
  content: "";
  position: absolute;
  left: -18px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--pv-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
}

html[data-theme="dark"] .pv-timeline li:before {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .28);
}

/* Recipe header polish */
.pv-recipeTop {
  padding: 12px 14px;
  gap: 14px;
}

.pv-recipeHead {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.pv-recipeHeadLeft {
  min-width: 0;
  gap: 12px;
}

.pv-recipeIcon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(16, 185, 129, .18), rgba(16, 185, 129, .10));
  border: 1px solid rgba(16, 185, 129, .28);
  box-shadow: 0 14px 32px rgba(2, 6, 23, .10);
}

.pv-recipeIcon i {
  font-size: 18px;
  opacity: .95;
}

.pv-recipeHeadText {
  min-width: 0;
}

.pv-recipeTitleRow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.pv-recipeTitle {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pv-recipeBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 700;
}

/* Icon action buttons */
.pv-iconBtn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.pv-iconBtn i {
  font-size: 16px;
}

.pv-iconBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, .28);
  box-shadow: 0 12px 26px rgba(2, 6, 23, .12);
}

/* Accessible hidden text */
.pv-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pv-recipeSubRow {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--pv-muted);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.3;
}

.pv-subItem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pv-subItem i {
  font-size: 13px;
  opacity: .9;
}

.pv-subItem .t {
  font-weight: 700;
  color: var(--pv-muted);
}

.pv-subItem .v {
  font-weight: 700;
  color: var(--pv-ink);
  opacity: .92;
}

.pv-subItem .dot {
  opacity: .55;
}

.pv-subSep {
  opacity: .35;
  font-weight: 800;
}

@media (max-width: 520px) {
  .pv-subSep {
    display: none;
  }

  .pv-recipeSubRow {
    gap: 8px;
  }
}

/* =========================================================
   Custom Gallery (supports both bdo-* and mnb-* classnames)
   ========================================================= */
:root {
  --pv-gal-gap: 12px;
  --pv-gal-radius: 16px;
  --pv-gal-border: rgba(2, 6, 23, .12);
  --pv-gal-bg: rgba(2, 6, 23, .02);
  --pv-gal-shadow: 0 10px 25px rgba(2, 6, 23, .10);
}

html[data-theme="dark"] {
  --pv-gal-border: rgba(148, 163, 184, .22);
  --pv-gal-bg: rgba(148, 163, 184, .08);
  --pv-gal-shadow: 0 10px 25px rgba(0, 0, 0, .35);
}

.pv-content .bdo-custom-gallery,
.pv-content .mnb-custom-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pv-gal-gap);
  margin: 16px 0;
}

@media (min-width: 680px) {

  .pv-content .bdo-custom-gallery,
  .pv-content .mnb-custom-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {

  .pv-content .bdo-custom-gallery,
  .pv-content .mnb-custom-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pv-content a.bdo-gallery-item,
.pv-content a.mnb-gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--pv-gal-radius);
  background: var(--pv-gal-bg);
  border: 1px solid var(--pv-gal-border);
  transform: translateZ(0);
}

.pv-content a.bdo-gallery-item img,
.pv-content a.mnb-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform .25s ease, filter .25s ease;
}

.pv-content a.bdo-gallery-item:hover,
.pv-content a.mnb-gallery-item:hover {
  box-shadow: var(--pv-gal-shadow);
}

.pv-content a.bdo-gallery-item:hover img,
.pv-content a.mnb-gallery-item:hover img {
  transform: scale(1.035);
}

.pv-content a.bdo-gallery-item:focus-visible,
.pv-content a.mnb-gallery-item:focus-visible {
  outline: 2px solid rgba(37, 99, 235, .65);
  outline-offset: 3px;
}

/* ================================
   Product Reference Links (Events UI)
=================================== */

.pv-prodSection {
  margin-top: 24px;
}

.pv-prodHead {
  margin-bottom: 14px;
}

.pv-prodTitle {
  margin: 0;
}

.pv-prodSub {
  margin: 6px 0 0;
  opacity: .8;
}

.pv-prodList {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pv-prodItem {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 18px;
}

.pv-prodStamp {
  width: 118px;
  min-width: 118px;
  height: 88px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 10px;
  border: 1px solid rgba(2, 6, 23, .06);
  background: #eef2ff;
}

.pv-prodItem:nth-child(4n+2) .pv-prodStamp {
  background: #f3e8ff;
}

.pv-prodItem:nth-child(4n+3) .pv-prodStamp {
  background: #fee2e2;
}

.pv-prodItem:nth-child(4n+4) .pv-prodStamp {
  background: #dcfce7;
}

.pv-prodStamp .k {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
  color: #334155;
  opacity: .9;
}

.pv-prodStamp .v {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 950;
  color: #0f172a;
  line-height: 1.05;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv-prodStamp .s {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv-prodBody {
  flex: 1;
  min-width: 0;
}

.pv-prodName2 {
  font-size: 20px;
  font-weight: 900;
  margin: 0;
  color: #0f172a;
  line-height: 1.25;
}

.pv-prodDesc2 {
  margin: 6px 0 0;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.45;
  max-width: 72ch;
}

.pv-prodMetaRow {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pv-prodPill2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(2, 6, 23, .04);
  border: 1px solid rgba(2, 6, 23, .06);
  font-weight: 800;
  font-size: 12px;
  color: #0f172a;
}

.pv-prodAction {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.pv-prodBtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(2, 6, 23, .10);
  background: #fff;
  color: #0f172a;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(2, 6, 23, .10);
}

.pv-prodItem:nth-child(2n) .pv-prodBtn {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.pv-prodBtn:hover {
  transform: translateY(-1px);
}

.pv-prodBtn:active {
  transform: translateY(0);
}

.pv-prodDetails {
  margin-top: 12px;
  border-top: 1px dashed rgba(2, 6, 23, .12);
  padding-top: 12px;
}

.pv-prodSummary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(2, 6, 23, .08);
  background: rgba(2, 6, 23, .03);
  font-weight: 900;
  color: #0f172a;
  user-select: none;
}

.pv-prodSummary::-webkit-details-marker {
  display: none;
}

.pv-prodOffersWrap {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Make your existing offer rows fit the new list */
.pv-prodItem .pv-recRow,
.pv-prodItem .pv-offerRow {
  border-radius: 16px;
  border: 1px solid rgba(2, 6, 23, .06);
  background: #fff;
  box-shadow: none;
}

/* Responsive */
@media (max-width: 720px) {
  .pv-prodItem {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .pv-prodStamp {
    width: 100%;
    min-width: 0;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 14px;
    text-align: left;
  }

  .pv-prodStamp .v {
    margin-top: 0;
    font-size: 18px;
  }

  .pv-prodStamp .s {
    margin-top: 0;
  }

  .pv-prodAction {
    justify-content: flex-start;
  }
}

html[data-theme="dark"] .pv-prodItem {
  background: rgba(2, 6, 23, .55);
  border-color: rgba(148, 163, 184, .18);
}

html[data-theme="dark"] .pv-prodStamp {
  border-color: rgba(148, 163, 184, .18);
}

html[data-theme="dark"] .pv-prodName2 {
  color: #e2e8f0;
}

html[data-theme="dark"] .pv-prodDesc2 {
  color: #94a3b8;
}

html[data-theme="dark"] .pv-prodPill2 {
  background: rgba(148, 163, 184, .12);
  border-color: rgba(148, 163, 184, .18);
  color: #e2e8f0;
}

html[data-theme="dark"] .pv-prodBtn {
  background: rgba(148, 163, 184, .10);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, .22);
}

html[data-theme="dark"] .pv-prodItem:nth-child(2n) .pv-prodBtn {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #e2e8f0;
}


/* ================================
   Offers list polish (pv-prodOffersWrap)
   Works with your existing HTML
=================================== */

.pv-prodOffersWrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

/* shared row styles */
.pv-recRow,
.pv-offerRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 12px 12px;
  border-radius: 18px;

  background: #fff;
  border: 1px solid rgba(2, 6, 23, .08);
  box-shadow: 0 10px 22px rgba(2, 6, 23, .06);

  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.pv-recRow:hover,
.pv-offerRow:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(2, 6, 23, .10);
  border-color: rgba(2, 6, 23, .14);
}

/* Recommended row = slightly highlighted */
.pv-recRow {
  background: linear-gradient(180deg, rgba(59, 130, 246, .08), rgba(255, 255, 255, 1));
  border-color: rgba(59, 130, 246, .18);
  box-shadow: 0 12px 26px rgba(37, 99, 235, .10);
}

/* left block */
.pv-recLeft,
.pv-offerLeft {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

/* logo box */
.pv-recLogo,
.pv-offerLogo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 auto;

  background: rgba(2, 6, 23, .03);
  border: 1px solid rgba(2, 6, 23, .08);

  display: grid;
  place-items: center;
}

.pv-recLogo img,
.pv-offerLogo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* text */
.pv-recText,
.pv-offerText {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pv-recTopLine {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pv-recSite,
.pv-offerSite {
  font-weight: 950;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52ch;
}

.pv-recCost,
.pv-offerCost {
  font-size: 13px;
  font-weight: 900;
  color: #334155;
  line-height: 1.2;
}

.pv-recCost.pv-recMuted {
  color: #64748b;
  font-weight: 800;
}

/* buttons */
.pv-recBtn,
.pv-offerBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;
  border-radius: 999px;

  font-weight: 950;
  text-decoration: none;

  border: 1px solid rgba(2, 6, 23, .10);
  background: #0f172a;
  color: #fff;

  box-shadow: 0 10px 20px rgba(2, 6, 23, .12);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space: nowrap;
}

.pv-offerBtn {
  background: #fff;
  color: #0f172a;
}

.pv-recBtn:hover,
.pv-offerBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(2, 6, 23, .18);
}

.pv-recBtn:active,
.pv-offerBtn:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(2, 6, 23, .12);
}

/* "Show more" details */
.pv-moreDetails {
  margin-top: 8px;
}

.pv-moreSummary {
  list-style: none;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  border: 1px solid rgba(2, 6, 23, .10);
  background: rgba(2, 6, 23, .03);
  font-weight: 950;
  color: #0f172a;
  user-select: none;
}

.pv-moreSummary::-webkit-details-marker {
  display: none;
}

.pv-moreSummary i {
  transition: transform .15s ease;
}

.pv-moreDetails[open] .pv-moreSummary i {
  transform: rotate(180deg);
}

.pv-moreList {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* mobile stack */
@media (max-width: 560px) {

  .pv-recRow,
  .pv-offerRow {
    flex-direction: column;
    align-items: stretch;
  }

  .pv-recBtn,
  .pv-offerBtn {
    width: 100%;
    justify-content: center;
  }

  .pv-recSite,
  .pv-offerSite {
    max-width: 100%;
  }
}

/* dark mode */
html[data-theme="dark"] .pv-recRow,
html[data-theme="dark"] .pv-offerRow {
  background: rgba(2, 6, 23, .55);
  border-color: rgba(148, 163, 184, .18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .pv-recRow {
  background: linear-gradient(180deg, rgba(59, 130, 246, .14), rgba(2, 6, 23, .55));
  border-color: rgba(59, 130, 246, .28);
}

html[data-theme="dark"] .pv-recSite,
html[data-theme="dark"] .pv-offerSite {
  color: #e2e8f0;
}

html[data-theme="dark"] .pv-recCost,
html[data-theme="dark"] .pv-offerCost {
  color: #94a3b8;
}

html[data-theme="dark"] .pv-offerBtn {
  background: rgba(148, 163, 184, .10);
  border-color: rgba(148, 163, 184, .22);
  color: #e2e8f0;
}

html[data-theme="dark"] .pv-moreSummary {
  background: rgba(148, 163, 184, .10);
  border-color: rgba(148, 163, 184, .22);
  color: #e2e8f0;
}

.pv-offersPill {
  cursor: pointer;
  user-select: none;
}

.pv-prodDetails[hidden] {
  display: none !important;
}

/* =========================================
   Offers rows: 4-column grid layout
   1) logo  2) site  3) cost  4) link button
========================================= */

.pv-prodOffersWrap .pv-recRow,
.pv-prodOffersWrap .pv-offerRow {
  display: grid !important;
  grid-template-columns: 84px minmax(140px, 1fr) 160px 140px;
  align-items: center;
  padding: 0 !important;
  border-radius: 18px;
  overflow: hidden;
  /* important so link column fills nicely */
}

/* cells */
.pv-og {
  padding: 14px 14px;
  min-width: 0;
  display: flex;
  align-items: center;
}

.pv-og-logo {
  justify-content: center;
}

/* logo */
.pv-og-logo img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(2, 6, 23, .10);
  background: rgba(2, 6, 23, .03);
}

/* site */
.pv-og-site {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.pv-og-siteName {
  font-weight: 950;
  color: #0f172a;
  line-height: 1.2;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-og-siteSub {
  font-size: 12.5px;
  font-weight: 800;
  color: #64748b;
}

/* cost */
.pv-og-cost {
  justify-content: flex-start;
  font-weight: 950;
  color: #0f172a;
  white-space: nowrap;
}

/* link column */
.pv-offerGo {
  height: 100%;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  text-decoration: none;
  font-weight: 950;
  border-left: 1px solid rgba(2, 6, 23, .10);

  background: #0f172a;
  /* filled color */
  color: #fff;
  transition: transform .15s ease, filter .15s ease;
}

.pv-offerGo:hover {
  filter: brightness(1.06);
}

.pv-offerGo:active {
  transform: scale(0.99);
}

/* recommended row: slightly different color */
.pv-recRow .pv-offerGo {
  background: radial-gradient(circle at 0% 0%, rgba(59, 130, 246, .12), transparent 55%), radial-gradient(circle at 100% 0%, rgba(45, 212, 191, .12), transparent 55%), linear-gradient(to bottom, rgba(255, 255, 255, .98), rgba(248, 250, 252, .94));
  color: black !important;
}

/* remove old inner layouts if any are still there */
.pv-recLeft,
.pv-offerLeft {
  display: contents;
}

/* mobile: stack cost + link nicely */
@media (max-width: 640px) {

  .pv-prodOffersWrap .pv-recRow,
  .pv-prodOffersWrap .pv-offerRow {
    grid-template-columns: 84px 1fr;
    grid-template-rows: auto auto;
  }

  .pv-og-cost {
    grid-column: 2;
    padding-top: 0;
  }

  .pv-offerGo {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid rgba(2, 6, 23, .10);
    padding: 12px 14px;
    justify-content: center;
    border-radius: 0;
  }
}

/* dark mode */
html[data-theme="dark"] .pv-og-siteName {
  color: #e2e8f0;
}

html[data-theme="dark"] .pv-og-siteSub {
  color: #94a3b8;
}

html[data-theme="dark"] .pv-og-cost {
  color: #e2e8f0;
}

html[data-theme="dark"] .pv-offerGo {
  border-left-color: rgba(148, 163, 184, .18);
}

/* ===== Offers: 4-column layout ===== */
.pv-offerGridRow {
  display: grid !important;
  grid-template-columns: 90px minmax(160px, 1fr) 160px 140px;
  align-items: center;
  padding: 0 !important;
  border-radius: 18px;
  overflow: hidden;
  /* so link column looks full height */
}

/* column cells */
.pv-offCol {
  min-width: 0;
  display: flex;
  align-items: center;
}

/* 1) image */
.pv-offCol-logo {
  justify-content: flex-start;
}

.pv-offCol-logo img {
  width: 100px;
  height: 50px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(2, 6, 23, .10);
  background: rgba(2, 6, 23, .03);
}

/* 2) site */
.pv-offCol-site {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.pv-offSite {
  font-weight: 950;
  color: #0f172a;
  line-height: 1.2;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-offTag {
  font-size: 12px;
  font-weight: 900;
  color: #2563eb;
  background: rgba(37, 99, 235, .10);
  border: 1px solid rgba(37, 99, 235, .18);
  padding: 4px 10px;
  border-radius: 999px;
}

/* 3) cost */
.pv-offCol-cost {
  font-weight: 950;
  color: #0f172a;
  white-space: nowrap;
}

/* 4) link column filled color */
.pv-offCol-link {
  padding: 0 !important;
}

.pv-offerGo {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 950;

  background: #0f172a;
  color: #fff;

  border-left: 1px solid rgba(2, 6, 23, .10);
  transition: filter .15s ease, transform .15s ease;
}

.pv-offerGo:hover {
  filter: brightness(1.06);
}

.pv-offerGo:active {
  transform: scale(0.99);
}

/* recommended row link color */
.pv-offerGo-rec {
  background: #1d4ed8;
}

/* mobile: stack nicely */
@media (max-width: 640px) {
  .pv-offerGridRow {
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
  }

  .pv-offCol-cost {
    grid-column: 2;
    padding-top: 0;
  }

  .pv-offerGo {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid rgba(2, 6, 23, .10);
    padding: 12px 14px;
  }
}

/* dark mode */
html[data-theme="dark"] .pv-offSite,
html[data-theme="dark"] .pv-offCol-cost {
  color: #e2e8f0;
}

html[data-theme="dark"] .pv-offerGo {
  border-left-color: rgba(148, 163, 184, .18);
}

/* =========================
   Login Notice (new component)
========================= */
.pv-loginNotice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--pv-border);
  background:
    radial-gradient(700px 220px at 15% 0%, rgba(37, 99, 235, .12), transparent 60%),
    radial-gradient(700px 220px at 85% 0%, rgba(245, 158, 11, .14), transparent 60%),
    var(--pv-card);
  box-shadow: 0 12px 30px rgba(2, 6, 23, .08);
}

.pv-loginAv {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid rgba(37, 99, 235, .35);
  background: rgba(2, 6, 23, .04);
  display: grid;
  place-items: center;
}

.pv-loginAv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-loginBody {
  min-width: 0;
  flex: 1;
}

.pv-loginTitle {
  font-weight: 900;
  font-size: 1.02rem;
  line-height: 1.2;
}

.pv-loginText {
  margin-top: 4px;
  color: var(--pv-muted);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.4;
}

.pv-loginActions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pv-loginBtn {
  padding: 10px 14px;
  box-shadow: 0 14px 30px rgba(245, 158, 11, .22);
}

@media (max-width:520px) {
  .pv-loginNotice {
    align-items: flex-start;
  }

  .pv-loginActions .pv-btn {
    width: 100%;
    justify-content: center;
  }
}

/* dark mode polish */
html[data-theme="dark"] .pv-loginNotice {
  background:
    radial-gradient(700px 220px at 15% 0%, rgba(37, 99, 235, .18), transparent 60%),
    radial-gradient(700px 220px at 85% 0%, rgba(245, 158, 11, .18), transparent 60%),
    rgba(11, 18, 32, .92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .40);
}

html[data-theme="dark"] .pv-loginAv {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(37, 99, 235, .40);
}


/* =========================
   Comments UI (new classes)
========================= */
.pv-cList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* thread card (like screenshot box) */
.pv-cThread {
  position: relative;
  border: 1px solid var(--pv-border);
  border-radius: 16px;
  background: var(--pv-card);
  box-shadow: 0 12px 28px rgba(2, 6, 23, .06);
  overflow: hidden;
}

/* subtle vertical thread line */
.pv-cThread:before {
  content: "";
  position: absolute;
  left: 34px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: rgba(100, 116, 139, .22);
  border-radius: 999px;
}

html[data-theme="dark"] .pv-cThread:before {
  background: rgba(148, 163, 184, .22);
}

/* one comment row */
.pv-cItem {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 14px 16px 14px 12px;
  align-items: flex-start;
}

.pv-cItem+.pv-cItem {
  border-top: 1px solid var(--pv-border);
}

/* avatar */
.pv-cAvatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  margin-left: 8px;
  /* aligns on the vertical line */
  border: 2px solid rgba(37, 99, 235, .20);
  background: rgba(2, 6, 23, .03);
}

.pv-cAvatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* main */
.pv-cMain {
  min-width: 0;
  flex: 1;
}

.pv-cHead {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.pv-cName {
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.pv-cTime {
  color: var(--pv-muted);
  font-weight: 700;
  font-size: .92rem;
}

.pv-cText {
  margin-top: 6px;
  color: var(--pv-ink);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* actions row like screenshot */
.pv-cActions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pv-cAct {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--pv-muted);
  font-weight: 800;
  cursor: pointer;
}

.pv-cAct i {
  font-size: 15px;
  opacity: .95;
}

.pv-cNum {
  min-width: 10px;
  font-weight: 900;
  color: var(--pv-ink);
  opacity: .9;
}

.pv-cAct:hover {
  border-color: var(--pv-border);
  background: rgba(2, 6, 23, .02);
  color: var(--pv-ink);
}

html[data-theme="dark"] .pv-cAct:hover {
  background: rgba(255, 255, 255, .04);
}

/* reply + more spacing */
.pv-cActReply {
  padding-left: 10px;
  padding-right: 10px;
}

.pv-cActMore {
  margin-left: auto;
}

/* OPTIONAL reply style (thread indent) */
.pv-cItem--reply {
  padding-left: 54px;
}

.pv-cItem--reply .pv-cAvatar {
  width: 40px;
  height: 40px;
  margin-left: 0;
  border-color: rgba(147, 51, 234, .22);
}

/* empty state */
.pv-cEmpty {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px dashed var(--pv-border);
  background: rgba(2, 6, 23, .02);
}

html[data-theme="dark"] .pv-cEmpty {
  background: rgba(255, 255, 255, .04);
}

.pv-cEmptyAv {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid rgba(37, 99, 235, .18);
  background: rgba(2, 6, 23, .03);
}

.pv-cEmptyAv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-cEmptyTitle {
  font-weight: 950;
  font-size: 1.02rem;
}

.pv-cEmptyText {
  margin-top: 2px;
  color: var(--pv-muted);
  font-weight: 700;
}

.pv-cEmptyHint {
  margin-top: 6px;
  font-weight: 800;
  opacity: .9;
}

/* name + time in same row */
.pv-cRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.pv-cRow .nm {
  margin: 0;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv-cRow .tm {
  margin: 0;
  color: var(--pv-muted);
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
}


/* ===================== COMMENTS TOP (LEFT TITLE + RIGHT SORT) ===================== */
.pv-commentsTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
}

.pv-commentsTitle{
  margin:0;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:18px;
  line-height:1.2;
  letter-spacing:-.2px;
  color:var(--pv-ink, #0f172a);
  min-width:0;
}

.pv-commentsTitle > i{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(15, 23, 42, .06);
  color:inherit;
  flex:0 0 34px;
}

.pv-commentsCount{
  margin-left:6px;
  font-weight:800;
  font-size:18px;
  color:inherit;
}

/* Right side sort button */
.pv-commentsSort{
  appearance:none;
  border:1px solid rgba(15, 23, 42, .10);
  background:#fff;
  padding:8px 10px;
  border-radius:12px;
  cursor:pointer;

  display:inline-flex;
  align-items:center;
  gap:8px;

  font-weight:700;
  font-size:14px;
  color:var(--pv-ink, #0f172a);
  white-space:nowrap;
  flex:0 0 auto;
}

.pv-commentsSort > i:first-child{ opacity:.75; }
.pv-commentsSort .fa-chevron-down{ font-size:12px; opacity:.7; margin-left:2px; }

.pv-commentsSort:hover{
  background:rgba(15, 23, 42, .03);
  border-color:rgba(15, 23, 42, .16);
}

.pv-commentsSort:focus-visible{
  outline:2px solid rgba(245, 158, 11, .55);
  outline-offset:2px;
}

/* Mobile: allow wrap nicely */
@media (max-width: 520px){
  .pv-commentsTop{
    flex-wrap:wrap;
    align-items:flex-start;
  }
}

/* ===================== REWARD / ACTION ROW ===================== */
.pv-rewardRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin:12px 0 14px;
}

.pv-rewardRight{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* Claim button (premium) */
.pv-claimBtn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(245, 158, 11, .35);
  background:rgba(245, 158, 11, .12);
  color:var(--pv-ink, #0f172a);
  font-weight:800;
  box-shadow:0 10px 24px rgba(245, 158, 11, .08);
  max-width:100%;
}

.pv-claimBtn i{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(245, 158, 11, .18);
}

.pv-claimBtn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(245, 158, 11, .12);
}

.pv-claimBtn.is-claimed{
  border-color:rgba(34, 197, 94, .35);
  background:rgba(34, 197, 94, .10);
  box-shadow:0 10px 24px rgba(34, 197, 94, .08);
}

.pv-claimBtn.is-claimed i{
  background:rgba(34, 197, 94, .16);
}

/* Pills for views/toc/watch */
.pv-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15, 23, 42, .10);
  background:#fff;
  color:var(--pv-ink, #0f172a);
  font-weight:800;
  font-size:14px;
  white-space:nowrap;
}

.pv-pill i{ opacity:.8; }

.pv-linkPill{
  text-decoration:none;
}

.pv-linkPill:hover{
  background:rgba(15, 23, 42, .03);
  border-color:rgba(15, 23, 42, .16);
}

.pv-views{
  background:rgba(15, 23, 42, .04);
}

/* Mobile: stack nicely */
@media (max-width: 520px){
  .pv-rewardRow{ align-items:stretch; }
  .pv-claimBtn{ width:100%; justify-content:flex-start; }
  .pv-rewardRight{ width:100%; justify-content:flex-start; }
}

/* ===================== TOC (ON THIS PAGE) ===================== */
.pv-toc{
  margin:12px 0 16px;
  border-radius:18px;
  border:1px solid rgba(15, 23, 42, .10);
  background:rgba(15, 23, 42, .02);
  box-shadow:none;
}

.pv-tocIn{
  padding:14px;
}

.pv-tocHead{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.pv-tocIcon{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(15, 23, 42, .06);
  color:var(--pv-ink, #0f172a);
  flex:0 0 36px;
}

.pv-tocTitle{
  font-weight:900;
  font-size:15px;
  letter-spacing:-.2px;
  color:var(--pv-ink, #0f172a);
}

/* Tag list */
.pv-tocTags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* Individual TOC tag */
.pv-tocTag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:100%;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15, 23, 42, .10);
  background:#fff;
  color:var(--pv-ink, #0f172a);
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  line-height:1.1;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}

.pv-tocTag i{
  opacity:.75;
  font-size:12px;
}

.pv-tocTag span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:48ch;
}

.pv-tocTag:hover{
  background:rgba(15, 23, 42, .03);
  border-color:rgba(15, 23, 42, .18);
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}

.pv-tocTag:focus-visible{
  outline:2px solid rgba(245, 158, 11, .55);
  outline-offset:2px;
}

/* Mobile: allow longer wrap */
@media (max-width: 520px){
  .pv-tocTag span{ max-width:30ch; }
}




/* =========================================
   ✅ Improved Claim Modal (pvClaimModal)
   Uses your existing markup/classes
   ========================================= */

/* keep hidden behavior */
.pv-claimModal[hidden]{ display:none !important; }

/* modal container */
.pv-claimModal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:start center;
  padding:18px;
  overscroll-behavior:contain;
}

/* backdrop */
.pv-claimBackdrop{
  position:absolute;
  inset:0;
  background:rgba(2,6,23,.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity:0;
  animation: pvFadeIn .18s ease-out forwards;
}

/* modal box */
.pv-claimBox{
  position:relative;
  z-index:2;

  width:min(680px, 100%);
  margin-top:10vh;

  border-radius:22px;
  overflow:hidden;

  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,252,.98));
  border:1px solid rgba(2,6,23,.10);
  box-shadow:0 34px 90px rgba(2,6,23,.40);

  max-height: calc(100dvh - 20vh);
  display:flex;
  flex-direction:column;

  transform: translateY(10px) scale(.985);
  opacity:0;
  animation: pvPopIn .20s ease-out forwards;
}

/* header */
.pv-claimHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;

  padding:16px 16px 12px;

  border-bottom:1px solid rgba(2,6,23,.08);
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pv-claimTitle{
  font-weight: 500;
  font-size:18px;
  letter-spacing:-.2px;
  color:#0f172a;
  line-height:1.15;
}

.pv-claimSub{
  font-weight:400;
  font-size:13px;
  color:#64748b;
  margin-top:6px;
}

/* close button (your existing .pv-btn) */
.pv-claimHead .pv-btn{
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(2,6,23,.12);
  background: rgba(255,255,255,.9);
}
.pv-claimHead .pv-btn:hover{
  box-shadow:0 10px 22px rgba(2,6,23,.10);
  border-color: rgba(79,70,229,.22);
}

/* question box */
.pv-claimQ{
  margin:14px 16px 0;
  padding:14px;
  border-radius:16px;

  font-weight: 500;
  color:#0f172a;

  background:
    radial-gradient(circle at 0% 0%, rgba(79,70,229,.14), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(6,182,212,.12), transparent 55%),
    linear-gradient(180deg, rgba(79,70,229,.06), rgba(2,6,23,.02));

  border:1px solid rgba(79,70,229,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

/* textarea */
.pv-claimTa{
  width:calc(100% - 32px);
  margin:12px 16px 0;

  min-height:150px;
  resize: vertical;

  border-radius:16px;
  border:1px solid rgba(2,6,23,.12);
  background:#fff;

  padding:12px 12px;
  font-weight:750;
  line-height:1.55;
  color:#0f172a;

  outline:none;
}
.pv-claimTa::placeholder{
  color:rgba(100,116,139,.85);
  font-weight:700;
}
.pv-claimTa:focus{
  border-color:rgba(79,70,229,.40);
  box-shadow:0 0 0 4px rgba(79,70,229,.14);
}

/* admin note */
.pv-claimNote{
  margin:12px 16px 0;
  padding:12px 12px;
  border-radius:14px;

  background:
    radial-gradient(circle at 0% 0%, rgba(239,68,68,.18), transparent 55%),
    linear-gradient(180deg, rgba(239,68,68,.10), rgba(239,68,68,.06));

  border:1px solid rgba(239,68,68,.22);
  font-weight:900;
  color:#991b1b;
}

/* actions footer (sticky feel) */
.pv-claimActions{
  margin-top:14px;
  padding:12px 16px 16px;

  display:flex;
  justify-content:flex-end;
  gap:10px;

  border-top:1px solid rgba(2,6,23,.08);
  background: rgba(255,255,255,.75);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pv-claimActions .pv-btn{
  border-radius:14px;
  padding:10px 14px;
  font-weight:1000;
}

.pv-claimActions #pvClaimCancel{
  background:#fff;
  border:1px solid rgba(2,6,23,.12);
}

.pv-claimActions #pvClaimSubmit{
  border-color:transparent;
  color:#fff;

  background: linear-gradient(90deg, #4f46e5, #06b6d4);
  box-shadow:0 14px 30px rgba(79,70,229,.22);
}
.pv-claimActions #pvClaimSubmit:hover{ transform: translateY(-1px); }
.pv-claimActions #pvClaimSubmit:active{ transform: translateY(0); }

/* animations */
@keyframes pvFadeIn{ to{ opacity:1; } }
@keyframes pvPopIn{ to{ opacity:1; transform: translateY(0) scale(1); } }

/* mobile: bottom-sheet style */
@media (max-width: 520px){
  .pv-claimModal{ place-items:end center; padding:10px; }

  .pv-claimBox{
    margin:0;
    width:100%;
    max-height: calc(100dvh - 10px);
    border-radius:18px 18px 0 0;
    animation: pvSlideUp .20s ease-out forwards;
  }

  @keyframes pvSlideUp{ to{ opacity:1; transform: translateY(0) scale(1); } }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .pv-claimBackdrop, .pv-claimBox{
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
  }
}

/* optional: dark theme support (your site uses html[data-theme]) */
html[data-theme="dark"] .pv-claimBackdrop{ background:rgba(2,6,23,.72); }
html[data-theme="dark"] .pv-claimBox{
  background: linear-gradient(180deg, rgba(15,23,42,1), rgba(2,6,23,.98));
  border-color: rgba(148,163,184,.18);
}
html[data-theme="dark"] .pv-claimHead,
html[data-theme="dark"] .pv-claimActions{
  background: rgba(2,6,23,.68);
  border-color: rgba(148,163,184,.14);
}
html[data-theme="dark"] .pv-claimTitle{ color:#e2e8f0; }
html[data-theme="dark"] .pv-claimSub{ color:rgba(226,232,240,.72); }
html[data-theme="dark"] .pv-claimQ{ color:#e2e8f0; border-color: rgba(99,102,241,.28); }
html[data-theme="dark"] .pv-claimTa{
  background: rgba(15,23,42,.85);
  color:#e2e8f0;
  border-color: rgba(148,163,184,.20);
}
html[data-theme="dark"] .pv-claimTa::placeholder{ color:rgba(226,232,240,.55); }


/* =========================
   ✅ PREMIUM IMAGE + FOOTER CARD
   ========================= */

.bdo-image-footer-block{
  width: min(760px, 65%);
  margin: 16px auto;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(2, 6, 23, 0.10);
  box-shadow:
    0 18px 50px rgba(2, 6, 23, 0.12),
    0 2px 8px rgba(2, 6, 23, 0.06);
}

/* Image area with soft overlay for premium feel */
.bdo-image-footer-block{
  position: relative;
}

.bdo-image-footer-block > img{
  width: 100%;
  height: clamp(220px, 30vw, 420px);  /* ✅ no huge image on desktop */
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.01);            /* tiny zoom for richness */
}

/* subtle dark overlay on bottom of image (looks classy) */
.bdo-image-footer-block::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0; bottom:0;
  pointer-events:none;
}

/* =========================
   ✅ FOOTER
   ========================= */
.bdo-image-footer{
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(79,70,229,0.06));
  border-top: 1px solid rgba(2, 6, 23, 0.08);
  position: relative;
}

/* two clean rows using grid */
.bdo-image-footer-row,
.bdo-footer-meta{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.bdo-footer-meta{ margin-top: 10px; }

.bdo-footer-title{
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color: #0f172a;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bdo-footer-text{
  color: #475569;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;

  /* keep text neat */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* =========================
   ✅ BUTTONS (aligned + modern)
   ========================= */

.bdo-footer-badge,
.bdo-footer-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;           /* slightly taller = premium */
  padding: 0 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 1000;
  white-space: nowrap;
  text-decoration: none !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, filter .15s ease;
}

/* Add icons using CSS (no extra HTML needed) */
.bdo-footer-badge::before{
  content: "📞";
  font-size: 14px;
  line-height: 1;
}
.bdo-footer-link::before{
  content: "📍";
  font-size: 14px;
  line-height: 1;
}

/* Phone button */
.bdo-footer-badge{
  color: #111827;
  background: linear-gradient(90deg, #dfeefd, #fce5f4);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 12px 26px rgba(79,70,229,0.22);
}
.bdo-footer-badge:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(79,70,229,0.28);
}

/* Maps button */
.bdo-footer-link{
  color: #0f172a !important;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(2,6,23,0.12);
  box-shadow: 0 10px 22px rgba(2,6,23,0.08);
}
.bdo-footer-link:hover{
  border-color: rgba(79,70,229,0.34);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(2,6,23,0.12);
}

/* focus ring */
.bdo-footer-badge:focus-visible,
.bdo-footer-link:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(79,70,229,0.18), 0 14px 26px rgba(2,6,23,0.12);
}

/* =========================
   ✅ RESPONSIVE (mobile stack)
   ========================= */
@media (max-width: 560px){
  .bdo-image-footer-row,
  .bdo-footer-meta{
    grid-template-columns: 1fr;
  }

  .bdo-footer-title{
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .bdo-footer-badge,
  .bdo-footer-link{
    width: 100%;
  }
}

