/* ==========================================================================
   Pro Gamer BD — WordPress theme styles
   Pro Gamer BD theme stylesheet — design tokens, layout, components.
   No Tailwind dependency — all utility classes used on pages are defined here.
   ========================================================================== */

/* ---- Design tokens (mirrors src/styles.css :root) ---- */
:root {
  --radius: 0.625rem;
  --background: oklch(0.985 0.005 250);
  --foreground: oklch(0.18 0.04 265);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.18 0.04 265);
  --primary: oklch(0.55 0.22 280);
  --primary-foreground: oklch(0.99 0 0);
  --secondary: oklch(0.95 0.03 280);
  --secondary-foreground: oklch(0.25 0.08 280);
  --muted: oklch(0.96 0.01 250);
  --muted-foreground: oklch(0.5 0.03 250);
  --accent: oklch(0.7 0.2 30);
  --accent-foreground: oklch(0.99 0 0);
  --destructive: oklch(0.6 0.25 25);
  --border: oklch(0.9 0.02 260);
  --input: oklch(0.92 0.02 260);
  --ring: oklch(0.55 0.22 280);
  --success: oklch(0.65 0.18 150);
  --notice: oklch(0.55 0.25 25);
  --gradient-hero: linear-gradient(135deg, oklch(0.55 0.22 280), oklch(0.7 0.2 30));
  --shadow-card: 0 10px 30px -10px oklch(0.55 0.22 280 / 0.25);
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--background); color: var(--foreground);
  font-family: 'Hind Siliguri', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px;
}
@media (min-width: 768px){ body { padding-bottom: 0; } }
h1,h2,h3,h4,h5,h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800; line-height: 1.15; margin: 0 0 .5em;
}
a { color: var(--primary); text-decoration: none; }
a:hover { opacity: .9; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
ul, ol { padding-left: 1.25rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.pgbd-hidden-md { display: block; }
@media (min-width: 768px){ .pgbd-hidden-md { display: none; } }
.pgbd-show-md { display: none; }
@media (min-width: 768px){ .pgbd-show-md { display: block; } }

/* ============== Marquee notice ============== */
.pgbd-marquee { width: 100%; background: var(--notice); color:#fff; overflow:hidden; border-bottom:1px solid rgba(255,255,255,.1); }
.pgbd-marquee__track {
  display: inline-block; white-space: nowrap; padding: .5rem 0;
  font-size: .875rem; font-weight: 500;
  animation: pgbd-marquee 45s linear infinite;
}
@keyframes pgbd-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============== Header ============== */
.pgbd-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.pgbd-header__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem .75rem; gap: .5rem;
}
@media (min-width: 768px){ .pgbd-header__inner { padding: .75rem 1rem; gap: 1rem; } }
.pgbd-logo { display: flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; min-width: 0; flex: 0 1 auto; }
.pgbd-logo__mark {
  height: 36px; width: 36px; flex-shrink: 0; border-radius: .6rem;
  background: var(--gradient-hero); color:#fff; font-weight: 900; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px -4px color-mix(in oklab, var(--primary) 55%, transparent);
}
.pgbd-logo__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.pgbd-logo__name {
  font-weight: 800; font-size: 1rem; color: var(--foreground);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pgbd-logo__tag  { font-size: 10px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pgbd-logo__img  {
  display: block; height: 36px; width: auto; max-width: 150px;
  object-fit: contain; object-position: left center;
}
@media (min-width: 480px){ .pgbd-logo__img { height: 40px; max-width: 190px; } }
@media (min-width: 768px){
  .pgbd-logo__img { height: 46px; max-width: 240px; }
  .pgbd-logo__mark { height: 40px; width: 40px; font-size: 1.1rem; }
  .pgbd-logo__name { font-size: 1.125rem; }
  .pgbd-logo__tag { font-size: 11px; }
}
@media (max-width: 329px){
  .pgbd-logo__tag { display: none; }
  .pgbd-logo__name { font-size: .9rem; }
  .pgbd-logo__img { max-width: 120px; height: 32px; }
}
.pgbd-nav { display: none; gap: 1.5rem; font-size: .875rem; font-weight: 500; }
@media (min-width: 768px){ .pgbd-nav { display: flex; } }
.pgbd-nav a { color: var(--foreground); }
.pgbd-nav a:hover, .pgbd-nav a.is-active { color: var(--primary); }
.pgbd-header__actions { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.pgbd-header__cta {
  display: inline-flex; align-items: center; white-space: nowrap;
  background: var(--success); color:#fff;
  padding: .45rem .7rem; border-radius: 9999px;
  font-size: .85rem; font-weight: 600; line-height: 1;
}
.pgbd-header__cta-txt { display: none; }
@media (min-width: 420px){ .pgbd-header__cta-txt { display: inline; } }
@media (min-width: 768px){ .pgbd-header__cta { padding: .5rem 1rem; font-size: .875rem; } }
.pgbd-header .pgbd-ctry__btn { padding: .3rem .45rem; }
.pgbd-header__cta:hover { color:#fff; opacity: .9; }

/* ============== Hero ============== */
.pgbd-hero { position: relative; overflow: hidden; }
.pgbd-hero::before {
  content:""; position: absolute; inset: 0;
  background: var(--gradient-hero); opacity: .1; pointer-events: none;
}
.pgbd-hero__inner { max-width: 1200px; margin: 0 auto; padding: 4rem 1rem; position: relative; }
@media (min-width: 768px){ .pgbd-hero__inner { padding: 6rem 1rem; } }
.pgbd-hero__chip {
  display: inline-block; padding: .25rem .75rem;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary); border-radius: 9999px;
  font-size: .75rem; font-weight: 600;
}
.pgbd-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900; margin-top: 1rem; line-height: 1.1; max-width: 900px;
}
.pgbd-hero__title em {
  font-style: normal;
  background: var(--gradient-hero);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pgbd-hero__sub { margin-top: 1rem; font-size: 1.125rem; color: var(--muted-foreground); max-width: 720px; }
.pgbd-hero__cta { margin-top: 1.5rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.pgbd-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: 9999px;
  font-weight: 700; border: 0; cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.pgbd-btn:hover { opacity: .9; }
.pgbd-btn--primary { background: var(--gradient-hero); color:#fff; }
.pgbd-btn--secondary { background: var(--card); border:1px solid var(--border); color: var(--foreground); }
.pgbd-btn--success { background: var(--success); color:#fff; }
.pgbd-btn--success:hover { color:#fff; }
.pgbd-btn--ghost { background: transparent; color: var(--foreground); }
.pgbd-btn[disabled], .pgbd-btn.is-disabled { opacity: .4; pointer-events: none; }

.pgbd-hero__stats { margin-top: 2rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.pgbd-stat__n { font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.pgbd-stat__l { font-size: .75rem; color: var(--muted-foreground); }

/* ============== Filter / sort / search ============== */
.pgbd-section-head {
  display: flex; flex-wrap: wrap; gap: .75rem;
  align-items: center; justify-content: space-between; padding-top: 1rem;
}
.pgbd-section-head h2 { font-size: 1.5rem; font-weight: 800; margin: 0; }
.pgbd-search {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 9999px; padding: .5rem 1rem; font-size: .875rem;
  width: 100%;
}
@media (min-width: 768px){ .pgbd-search { width: 16rem; } }
.pgbd-filter {
  margin-top: .75rem; display: grid; gap: .5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px){ .pgbd-filter { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pgbd-filter select, .pgbd-filter input {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 9999px; padding: .5rem 1rem; font-size: .875rem;
  font: inherit; color: var(--foreground);
}
.pgbd-jump { margin-top: 1rem; display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; }
.pgbd-jump a {
  white-space: nowrap; border: 1px solid var(--border); background: var(--card);
  color: var(--foreground); padding: .375rem 1rem; border-radius: 9999px;
  font-size: .875rem; font-weight: 500;
}
.pgbd-jump a:hover { border-color: color-mix(in oklab, var(--primary) 50%, transparent); color: var(--primary); }

/* ============== Sections / product grid ============== */
.pgbd-sections { padding: 1.5rem 1rem; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; }
.pgbd-section { scroll-margin-top: 6rem; }
.pgbd-section--hot {
  border: 2px solid color-mix(in oklab, oklch(0.7 0.2 30) 30%, transparent);
  background: color-mix(in oklab, oklch(0.7 0.2 30) 5%, transparent);
  border-radius: 1.5rem; padding: 1.5rem;
}
.pgbd-section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.pgbd-section__title { display: flex; align-items: center; gap: .5rem; font-size: 1.5rem; font-weight: 800; margin: 0; }
.pgbd-section__sub { font-size: .875rem; color: var(--muted-foreground); margin: 2px 0 0; }
.pgbd-badge-hot {
  font-size: 10px; font-weight: 900; background: oklch(0.65 0.25 25); color:#fff;
  padding: 2px .5rem; border-radius: 9999px; letter-spacing: .04em;
}
.pgbd-section__count { font-size: .75rem; color: var(--muted-foreground); }

.pgbd-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px){ .pgbd-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px){ .pgbd-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px){ .pgbd-grid { grid-template-columns: repeat(5, 1fr); } }

.pgbd-card {
  position: relative; display: block; padding: .75rem;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 1rem; color: inherit; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.pgbd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pgbd-card__media {
  aspect-ratio: 1/1; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color:#fff;
  background: var(--gradient-hero);
  transition: transform .2s;
  overflow: hidden;
}
.pgbd-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pgbd-card:hover .pgbd-card__media { transform: scale(1.05); }
.pgbd-card__title {
  font-weight: 700; font-size: .875rem; margin: .75rem 0 .25rem; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pgbd-card__price { font-size: .75rem; color: var(--muted-foreground); }
.pgbd-card__priceline { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; margin-top: .15rem; }
.pgbd-card__price-now { font-size: 1rem; font-weight: 800; color: var(--primary, oklch(0.55 0.22 265)); }
.pgbd-card__price-old { font-size: .75rem; color: var(--muted-foreground); text-decoration: line-through; }
.pgbd-card__save { font-size: .7rem; font-weight: 700; color: oklch(0.55 0.18 145); margin-top: 2px; }
.pgbd-card__discount {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-size: 11px; font-weight: 900; background: oklch(0.55 0.22 145); color:#fff;
  padding: 3px .5rem; border-radius: 9999px; box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.pgbd-card__buy {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: .55rem; width: 100%;
  background: var(--primary, oklch(0.55 0.22 265)); color: #fff;
  font-size: .78rem; font-weight: 700; padding: .45rem .6rem; border-radius: .55rem;
  transition: filter .15s, transform .15s;
}
.pgbd-card:hover .pgbd-card__buy { filter: brightness(1.08); }
.pgbd-card__hot {
  position: absolute; top: -8px; right: -8px; z-index: 1;
  font-size: 10px; font-weight: 900; background: oklch(0.65 0.25 25); color:#fff;
  padding: 2px .5rem; border-radius: 9999px; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* ============== Tutorial card on home ============== */
.pgbd-tutorial {
  margin: 3rem 1rem 0; max-width: 1200px;
  background: color-mix(in oklab, var(--secondary) 60%, transparent);
  border-radius: 1.5rem; padding: 1.5rem;
}
@media (min-width: 1232px){ .pgbd-tutorial { margin-left: auto; margin-right: auto; } }
@media (min-width: 768px){
  .pgbd-tutorial { padding: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
}
.pgbd-tutorial h3 { font-size: 1.5rem; font-weight: 800; margin: 0 0 .5rem; }
.pgbd-tutorial p  { color: var(--muted-foreground); margin: 0 0 1rem; }
.pgbd-tutorial ol { padding-left: 1.25rem; }
.pgbd-tutorial ol li { margin-bottom: .25rem; font-size: .875rem; }
.pgbd-tutorial__video { aspect-ratio: 16/9; border-radius: 1rem; overflow: hidden; background: #000; margin-top: 1rem; }
.pgbd-tutorial__video iframe { width: 100%; height: 100%; border: 0; }

/* ============== Disclaimer ============== */
.pgbd-disclaimer {
  display: block; margin: 2rem 1rem; max-width: 1200px;
  border: 2px dashed color-mix(in oklab, oklch(0.6 0.25 25) 40%, transparent);
  background: color-mix(in oklab, oklch(0.6 0.25 25) 5%, transparent);
  padding: 1.25rem; border-radius: 1rem; color: inherit;
  transition: background .15s;
}
@media (min-width: 1232px){ .pgbd-disclaimer { margin-left: auto; margin-right: auto; } }
.pgbd-disclaimer:hover { background: color-mix(in oklab, oklch(0.6 0.25 25) 10%, transparent); }
.pgbd-disclaimer__title { font-weight: 700; color: oklch(0.55 0.25 25); }
.pgbd-disclaimer p { margin: .25rem 0 0; font-size: .875rem; color: var(--muted-foreground); }

/* ============== Single product ============== */
.pgbd-single { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1rem; }
.pgbd-breadcrumb { font-size: .875rem; }
.pgbd-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted-foreground); }
.pgbd-breadcrumb a { color: inherit; }
.pgbd-breadcrumb a:hover { color: var(--primary); }
.pgbd-breadcrumb [aria-current="page"] { color: var(--foreground); font-weight: 600; }

.pgbd-single__grid { margin-top: 1rem; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px){ .pgbd-single__grid { grid-template-columns: 280px 1fr; } }

.pgbd-single__cover {
  aspect-ratio: 1/1; border-radius: 1.5rem;
  background: var(--gradient-hero); color:#fff;
  display: flex; align-items: center; justify-content: center; font-size: 6rem;
  box-shadow: var(--shadow-card); overflow: hidden;
}
.pgbd-single__cover img { width: 100%; height: 100%; object-fit: cover; }
.pgbd-single__cat   { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--muted-foreground); margin-top: 1rem; }
.pgbd-single__name  { font-size: 1.875rem; font-weight: 800; margin: .25rem 0; }
.pgbd-single__desc  { color: var(--muted-foreground); margin: .25rem 0; }

/* Live stats */
.pgbd-livestats { margin-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.pgbd-livestat {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border); background: var(--card);
  border-radius: .75rem; padding: .5rem .75rem; font-size: .75rem;
}
.pgbd-livestat__dot { position: relative; display: inline-block; width: 8px; height: 8px; }
.pgbd-livestat__dot::before, .pgbd-livestat__dot::after {
  content:""; position: absolute; inset: 0; border-radius: 9999px; background: oklch(0.65 0.18 150);
}
.pgbd-livestat__dot::before { animation: pgbd-ping 1.4s cubic-bezier(0,0,.2,1) infinite; opacity: .75; }
@keyframes pgbd-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.pgbd-livestat--trend {
  color: oklch(0.45 0.25 25); font-weight: 600;
  border-color: color-mix(in oklab, oklch(0.65 0.25 25) 40%, transparent);
  background: color-mix(in oklab, oklch(0.65 0.25 25) 5%, transparent);
}

/* Tutorial video on product page */
.pgbd-tutorial-block {
  margin-top: 1.5rem; padding: 1rem;
  background: color-mix(in oklab, var(--secondary) 60%, transparent);
  border-radius: .75rem;
}
.pgbd-tutorial-block__title { font-size: .875rem; font-weight: 600; margin-bottom: .5rem; }
.pgbd-tutorial-block__frame {
  aspect-ratio: 16/9; border-radius: .5rem; background: rgba(0,0,0,.8); color:#fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  flex-direction: column; padding: 1rem;
}
.pgbd-tutorial-block__frame iframe { width: 100%; height: 100%; border: 0; border-radius: .5rem; }

/* Packages */
.pgbd-packages-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.pgbd-packages { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 640px){ .pgbd-packages { grid-template-columns: 1fr 1fr; } }
.pgbd-pkg {
  text-align: left; padding: 1rem; border-radius: .75rem;
  border: 2px solid var(--border); background: var(--card);
  transition: border-color .15s, box-shadow .15s, background .15s;
  display: flex; flex-direction: column; gap: .25rem;
  cursor: pointer;
}
.pgbd-pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pgbd-pkg:hover { border-color: color-mix(in oklab, var(--primary) 50%, transparent); }
.pgbd-pkg.is-active {
  border-color: var(--primary);
  background: color-mix(in oklab, var(--primary) 5%, transparent);
  box-shadow: var(--shadow-card);
}
.pgbd-pkg__label { font-weight: 600; }
.pgbd-pkg__price { color: var(--primary); font-weight: 700; margin-top: .25rem; }

/* Sticky buy bar */
.pgbd-buybar { position: sticky; bottom: 1rem; margin-top: 2rem; padding: 4px; border-radius: 1rem; background: var(--gradient-hero); }
.pgbd-buybar__inner {
  border-radius: 14px; background: var(--card); padding: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.pgbd-buybar__lbl { font-size: .75rem; color: var(--muted-foreground); }
.pgbd-buybar__sel { font-weight: 700; }
.pgbd-buybar__btns { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Floating WhatsApp CTA */
.pgbd-fwa {
  position: fixed; right: 1.25rem; bottom: 5rem; z-index: 50;
  background: var(--success); color:#fff;
  padding: .75rem 1.25rem; border-radius: 9999px; font-weight: 700;
  display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: var(--shadow-card);
  animation: pgbd-pulse 2.4s infinite;
}
@keyframes pgbd-pulse { 0%,100% {opacity:1} 50% {opacity:.7} }
@media (min-width: 768px){ .pgbd-fwa { right: 1.5rem; bottom: 1.5rem; } }
.pgbd-fwa__lbl { display: none; }
@media (min-width: 640px){ .pgbd-fwa__lbl { display: inline; } }

/* ============== Fake order toast ============== */
.pgbd-fake { position: fixed; bottom: 5rem; left: 1rem; z-index: 50; }
@media (min-width: 768px){ .pgbd-fake { bottom: 1rem; } }
.pgbd-fake__toast {
  display: flex; align-items: center; gap: .75rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: .75rem; padding: .75rem 1rem; max-width: 320px;
  box-shadow: var(--shadow-card);
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s ease, transform .4s ease;
}
.pgbd-fake__toast.show { opacity: 1; transform: translateY(0); }
.pgbd-fake__avatar {
  height: 40px; width: 40px; border-radius: 9999px;
  background: var(--gradient-hero); color:#fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.pgbd-fake__title { font-size: .875rem; font-weight: 600; }
.pgbd-fake__meta  { font-size: .75rem; color: var(--muted-foreground); }

/* ============== Mobile bottom nav ============== */
.pgbd-mobnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: color-mix(in oklab, var(--background) 95%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
}
@media (min-width: 768px){ .pgbd-mobnav { display: none; } }
.pgbd-mobnav__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: .5rem 0; font-size: 10px; font-weight: 500;
  color: var(--muted-foreground); text-align: center;
}
.pgbd-mobnav__item.is-active { color: var(--primary); }
.pgbd-mobnav__item--wa { color: var(--success); }
.pgbd-mobnav__icon { font-size: 18px; line-height: 1; }

/* ============== Footer ============== */
.pgbd-footer {
  margin-top: 5rem; border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--secondary) 40%, transparent);
  padding-bottom: 5rem;
}
@media (min-width: 768px){ .pgbd-footer { padding-bottom: 0; } }
.pgbd-footer__inner {
  max-width: 1200px; margin: 0 auto; padding: 2.5rem 1rem;
  display: grid; gap: 2rem; font-size: .875rem; grid-template-columns: 1fr;
}
@media (min-width: 768px){ .pgbd-footer__inner { grid-template-columns: repeat(4, 1fr); } }
.pgbd-footer__title { font-weight: 800; font-size: 1.125rem; }
.pgbd-footer__group h4 { font-weight: 600; margin: 0 0 .5rem; font-family: inherit; font-size: .875rem; }
.pgbd-footer__group ul { list-style: none; padding: 0; margin: 0; color: var(--muted-foreground); }
.pgbd-footer__group li { margin-bottom: 4px; }
.pgbd-footer__group a:hover { color: var(--primary); }
.pgbd-footer__copy { border-top: 1px solid var(--border); padding: 1rem; text-align: center; font-size: .75rem; color: var(--muted-foreground); }

/* ============== Pages (about / faq / terms / refund / disclaimer / thank-you) ============== */
.pgbd-page { max-width: 768px; margin: 0 auto; padding: 3rem 1rem; }
.pgbd-page h1 { font-size: 2.25rem; font-weight: 900; margin-bottom: 1.5rem; }
.pgbd-page h2 { font-size: 1.25rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.pgbd-page p, .pgbd-page li { color: var(--foreground); }
.pgbd-page ul { padding-left: 1.5rem; }
.pgbd-page ul li { margin-bottom: .25rem; }

.pgbd-faq { display: flex; flex-direction: column; gap: 1rem; }
.pgbd-faq details {
  border: 1px solid var(--border); background: var(--card);
  border-radius: .75rem; padding: 1rem;
}
.pgbd-faq summary {
  list-style: none; cursor: pointer; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
}
.pgbd-faq summary::-webkit-details-marker { display: none; }
.pgbd-faq summary::after {
  content: "＋"; color: var(--primary); transition: transform .15s;
}
.pgbd-faq details[open] summary::after { transform: rotate(45deg); }
.pgbd-faq p { margin: .75rem 0 0; color: var(--muted-foreground); }

/* ============== Checkout ============== */
.pgbd-checkout { max-width: 1024px; margin: 0 auto; padding: 2.5rem 1rem; }
.pgbd-checkout h1 { font-size: 1.875rem; font-weight: 900; margin-bottom: 1.5rem; }
.pgbd-checkout__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px){ .pgbd-checkout__grid { grid-template-columns: 1fr 320px; } }

.pgbd-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 1rem; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.pgbd-field { display: block; }
.pgbd-field__label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .25rem; }
.pgbd-field__error { color: var(--destructive); font-size: .75rem; margin-top: .25rem; }
.pgbd-field input, .pgbd-field select, .pgbd-field textarea, .pgbd-input {
  width: 100%; border: 1px solid var(--border); border-radius: .6rem;
  padding: .6rem .8rem; background: var(--background); color: var(--foreground);
  font: inherit; font-size: .95rem;
}
.pgbd-input:focus, .pgbd-field input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.pgbd-pay-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.pgbd-pay-options button {
  border: 2px solid var(--border); background: var(--card);
  padding: .5rem; border-radius: .5rem; font-weight: 600; font-size: .875rem;
  color: var(--foreground);
}
.pgbd-pay-options button.is-active {
  border-color: var(--primary);
  background: color-mix(in oklab, var(--primary) 5%, transparent);
}
.pgbd-pay-info {
  margin-top: .75rem; padding: .75rem; border-radius: .5rem;
  background: var(--secondary); font-size: .875rem;
}
.pgbd-pay-info span.num { font-family: ui-monospace, monospace; font-weight: 600; }

.pgbd-summary {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 1rem; padding: 1.25rem; height: fit-content;
}
.pgbd-summary__label { text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; color: var(--muted-foreground); }
.pgbd-summary__cover {
  margin-top: .75rem; aspect-ratio: 16/9; border-radius: .75rem;
  background: var(--gradient-hero); color:#fff; font-size: 3rem;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pgbd-summary__cover img { width: 100%; height: 100%; object-fit: cover; }
.pgbd-summary__total {
  margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; font-weight: 700; font-size: 1.125rem;
}
.pgbd-summary__total span:last-child { color: var(--primary); }

/* ============== Thank you ============== */
.pgbd-thankyou { max-width: 480px; margin: 0 auto; padding: 4rem 1rem; text-align: center; }
.pgbd-thankyou__check {
  margin: 0 auto; height: 80px; width: 80px; border-radius: 9999px;
  background: var(--success); color:#fff;
  display: flex; align-items: center; justify-content: center; font-size: 2.25rem;
}
.pgbd-thankyou h1 { margin-top: 1.5rem; font-size: 2.25rem; font-weight: 900; }
.pgbd-thankyou__card {
  margin-top: 1.5rem; text-align: left;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 1rem; padding: 1.25rem;
}

/* ============== Utility helpers (small subset for parity) ============== */
.muted { color: var(--muted-foreground); }
.text-center { text-align: center; }
.mt-2 { margin-top: .5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: .5rem; } .mb-4 { margin-bottom: 1rem; }
.font-bold { font-weight: 700; } .font-extrabold { font-weight: 800; }

/* Verified seller badge */
.pgbd-card__verified { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: .68rem; font-weight: 700; color: oklch(0.6 0.18 240); }
.pgbd-card__verified-tick { display: inline-flex; align-items: center; justify-content: center; width: 13px; height: 13px; border-radius: 50%; background: oklch(0.6 0.18 240); color: #fff; font-size: 9px; line-height: 1; }
.pgbd-single__verified { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 4px 10px; border-radius: 999px; background: color-mix(in oklab, oklch(0.6 0.18 240) 12%, transparent); color: oklch(0.6 0.18 240); font-size: .8rem; font-weight: 700; }
.pgbd-single__verified .tick { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: oklch(0.6 0.18 240); color: #fff; font-size: 11px; }

.pgbd-card__icon{width:62%;height:62%;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(0,0,0,.25));}

/* ===== v3.8 — Product page: details, tags, FAQ, reviews, related ===== */
.pgbd-sec { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--card); }
.pgbd-sec--tight { padding: 1rem 1.25rem; margin-top: 1.25rem; }
.pgbd-sec__title { font-size: 1.35rem; font-weight: 800; margin: 0 0 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.pgbd-prose { line-height: 1.75; color: var(--foreground); }
.pgbd-prose h2 { font-size: 1.25rem; font-weight: 800; margin: 1.25rem 0 .5rem; }
.pgbd-prose h3 { font-size: 1.05rem; font-weight: 700; margin: 1.25rem 0 .5rem; }
.pgbd-prose ul, .pgbd-prose ol { padding-left: 1.25rem; margin: .5rem 0; }
.pgbd-prose li { margin: .25rem 0; }
.pgbd-prose strong { color: var(--primary); }
.pgbd-tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pgbd-tags__lbl { font-weight: 700; font-size: .875rem; margin-right: .25rem; }
.pgbd-tag { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: var(--muted); color: var(--foreground); font-size: .8rem; text-decoration: none; border: 1px solid var(--border); transition: all .15s; }
.pgbd-tag:hover { border-color: var(--primary); color: var(--primary); }
.pgbd-tag--cat small { opacity: .6; }
.pgbd-faq { display: grid; gap: .6rem; }
.pgbd-faq__item { border: 1px solid var(--border); border-radius: .85rem; background: var(--background); overflow: hidden; }
.pgbd-faq__item summary { cursor: pointer; padding: .9rem 1rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.pgbd-faq__item summary::-webkit-details-marker { display: none; }
.pgbd-faq__item summary::after { content: '+'; font-size: 1.25rem; line-height: 1; color: var(--primary); }
.pgbd-faq__item[open] summary::after { content: '−'; }
.pgbd-faq__a { padding: 0 1rem 1rem; color: var(--muted-foreground); line-height: 1.7; }
.pgbd-rev__avg { font-size: .85rem; font-weight: 700; color: var(--primary); background: var(--muted); padding: .2rem .7rem; border-radius: 999px; }
.pgbd-rev__list { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pgbd-rev { border: 1px solid var(--border); border-radius: .9rem; padding: 1rem; background: var(--background); }
.pgbd-rev p { margin: .6rem 0 0; font-size: .9rem; line-height: 1.6; }
.pgbd-rev__head { display: flex; gap: .6rem; align-items: center; }
.pgbd-rev__avatar { width: 38px; height: 38px; border-radius: 999px; background: var(--gradient-hero, var(--primary)); color: var(--primary-foreground, #fff); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.pgbd-rev__name { font-weight: 700; font-size: .9rem; }
.pgbd-rev__stars { color: #f59e0b; font-size: .85rem; letter-spacing: 1px; }
.pgbd-rev__formwrap { margin-top: 1rem; }
.pgbd-rev__formwrap > summary { list-style: none; display: inline-flex; cursor: pointer; }
.pgbd-rev__formwrap > summary::-webkit-details-marker { display: none; }
.pgbd-rev__form { margin-top: 1rem; display: grid; gap: .75rem; max-width: 520px; }
.pgbd-rev__form label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; }
.pgbd-rev__form input, .pgbd-rev__form select, .pgbd-rev__form textarea { padding: .65rem .8rem; border: 1px solid var(--border); border-radius: .6rem; font: inherit; background: var(--background); color: var(--foreground); }
.pgbd-notice { padding: .75rem 1rem; border-radius: .75rem; margin-bottom: 1rem; font-size: .9rem; }
.pgbd-notice--ok { background: #dcfce7; color: #166534; }
.pgbd-notice--err { background: #fee2e2; color: #991b1b; }
.pgbd-related { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pgbd-related__card { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: inherit; border: 1px solid var(--border); border-radius: 1rem; padding: .6rem; background: var(--background); transition: transform .15s, box-shadow .15s; }
.pgbd-related__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card, 0 8px 24px rgba(0,0,0,.08)); }
.pgbd-related__img { aspect-ratio: 1; border-radius: .75rem; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; overflow: hidden; }
.pgbd-related__img img { max-width: 55%; max-height: 55%; object-fit: contain; }
.pgbd-related__name { font-weight: 700; font-size: .85rem; line-height: 1.3; }
.pgbd-related__price { color: var(--primary); font-weight: 800; font-size: .85rem; }
.pgbd-thankyou__meta { display: grid; grid-template-columns: auto 1fr; gap: .3rem .75rem; margin: .75rem 0 0; font-size: .85rem; text-align: left; }
.pgbd-thankyou__meta dt { color: var(--muted-foreground); }
.pgbd-thankyou__meta dd { margin: 0; font-weight: 600; word-break: break-word; }
.pgbd-thankyou__auto { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: 1rem; border: 2px dashed var(--primary); background: var(--muted); text-align: left; }
.pgbd-thankyou__auto-title { font-weight: 800; margin-bottom: .4rem; color: var(--primary); }
@media (max-width: 640px) { .pgbd-sec { padding: 1rem; border-radius: 1rem; } .pgbd-sec__title { font-size: 1.15rem; } }

/* v3.9 — pinned TikTok section */
.pgbd-section--top { border: 1px solid color-mix(in oklab, var(--primary) 35%, transparent); border-radius: 1rem; padding: 1rem; background: color-mix(in oklab, var(--primary) 6%, var(--background)); }
.pgbd-section--top .pgbd-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px){ .pgbd-section--top .pgbd-grid { grid-template-columns: repeat(4, 1fr); } }
