/*
 * Vapeivo Frontend Framework V1
 * Namespaced architecture layer. Does not redesign existing pages by itself.
 */

:root {
  --vpi-fw-primary: #6d5ef7;
  --vpi-fw-primary-dark: #4a38d3;
  --vpi-fw-primary-soft: #efedff;
  --vpi-fw-blue: #5da8ff;
  --vpi-fw-ink: #0b0d14;
  --vpi-fw-text: #151823;
  --vpi-fw-muted: #667085;
  --vpi-fw-page: #f7f8fc;
  --vpi-fw-surface: #ffffff;
  --vpi-fw-border: rgba(15, 23, 42, .10);
  --vpi-fw-glass: rgba(255, 255, 255, .72);
  --vpi-fw-glow: rgba(109, 94, 247, .25);
  --vpi-fw-shadow-card: 0 18px 50px rgba(15, 23, 42, .09);
  --vpi-fw-shadow-hover: 0 28px 76px rgba(15, 23, 42, .14);
  --vpi-fw-radius-card: 22px;
  --vpi-fw-radius-button: 999px;
  --vpi-fw-container: 1440px;
  --vpi-fw-gutter: clamp(18px, 3vw, 42px);
  --vpi-fw-section: clamp(56px, 8vw, 104px);
  --vpi-fw-fast: 180ms ease;
  --vpi-fw-base: 260ms ease;
}

.vpi-fw-page,
.vpi-fw-section,
.vpi-fw-hero,
.vpi-fw-cta {
  color: var(--vpi-fw-text);
  font-family: inherit;
}

.vpi-fw-container {
  width: min(var(--vpi-fw-container), calc(100% - (var(--vpi-fw-gutter) * 2)));
  margin-inline: auto;
}

.vpi-fw-section {
  padding-block: var(--vpi-fw-section);
  background: var(--vpi-fw-surface);
}

.vpi-fw-section--soft {
  background: var(--vpi-fw-page);
}

.vpi-fw-section--dark,
.vpi-fw-cta--dark {
  background: var(--vpi-fw-ink);
  color: #fff;
}

.vpi-fw-section-header {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.vpi-fw-eyebrow {
  margin: 0 0 10px;
  color: var(--vpi-fw-primary);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vpi-fw-section-header h2,
.vpi-fw-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.vpi-fw-section-header p,
.vpi-fw-cta p {
  margin: 14px 0 0;
  color: var(--vpi-fw-muted);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.62;
}

.vpi-fw-section--dark .vpi-fw-section-header p,
.vpi-fw-cta--dark p {
  color: rgba(255, 255, 255, .72);
}

.vpi-fw-grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}

.vpi-fw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vpi-fw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vpi-fw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vpi-fw-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vpi-fw-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.vpi-fw-card {
  display: block;
  min-width: 0;
  border: 1px solid var(--vpi-fw-border);
  border-radius: var(--vpi-fw-radius-card);
  background: var(--vpi-fw-surface);
  box-shadow: var(--vpi-fw-shadow-card);
  transition: transform var(--vpi-fw-base), box-shadow var(--vpi-fw-base), border-color var(--vpi-fw-base);
}

.vpi-fw-card:hover {
  border-color: rgba(109, 94, 247, .22);
  box-shadow: var(--vpi-fw-shadow-hover);
  transform: translateY(-4px);
}

.vpi-fw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--vpi-fw-radius-button);
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform var(--vpi-fw-fast), box-shadow var(--vpi-fw-fast), background-color var(--vpi-fw-fast);
}

.vpi-fw-btn--primary,
.vpi-fw-btn--cart {
  border: 1px solid var(--vpi-fw-primary);
  background: var(--vpi-fw-primary);
  color: #fff;
  box-shadow: 0 14px 34px var(--vpi-fw-glow);
}

.vpi-fw-btn--primary:hover,
.vpi-fw-btn--cart:hover {
  background: var(--vpi-fw-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.vpi-fw-btn--secondary,
.vpi-fw-btn--ghost {
  border: 1px solid var(--vpi-fw-border);
  background: rgba(255, 255, 255, .84);
  color: var(--vpi-fw-text);
}

.vpi-fw-actions,
.vpi-fw-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.vpi-fw-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(109, 94, 247, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: var(--vpi-fw-text);
  font-size: 12px;
  font-weight: 760;
}

.vpi-fw-smoke {
  position: relative;
  overflow: hidden;
}

.vpi-fw-smoke::before,
.vpi-fw-smoke::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(42px);
  opacity: .72;
}

.vpi-fw-smoke::before {
  width: 42vw;
  height: 42vw;
  right: -15vw;
  top: -10vw;
  background: radial-gradient(circle, rgba(109, 94, 247, .24), transparent 68%);
}

.vpi-fw-smoke::after {
  width: 38vw;
  height: 38vw;
  left: -16vw;
  bottom: -16vw;
  background: radial-gradient(circle, rgba(93, 168, 255, .18), transparent 70%);
}

.vpi-fw-hero {
  padding-block: clamp(72px, 10vw, 132px);
  background: var(--vpi-fw-ink);
  color: #fff;
}

.vpi-fw-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}

.vpi-fw-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 920;
  line-height: 1.02;
  letter-spacing: 0;
}

.vpi-fw-hero__copy > p:not(.vpi-fw-eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
}

.vpi-fw-hero__media {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 32px;
  background: var(--vpi-fw-glass);
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 110px rgba(0, 0, 0, .28);
}

.vpi-fw-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.vpi-fw-category-card,
.vpi-fw-brand-card,
.vpi-fw-trust-card,
.vpi-fw-guide-card {
  padding: clamp(18px, 2.4vw, 28px);
  color: var(--vpi-fw-text);
  text-decoration: none;
}

.vpi-fw-card__media {
  display: grid;
  min-height: 156px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #fafbff, #fff);
}

.vpi-fw-card__media img,
.vpi-fw-brand-card__mark img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.vpi-fw-card strong,
.vpi-fw-product-card__title {
  display: block;
  color: var(--vpi-fw-text);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.22;
}

.vpi-fw-card span,
.vpi-fw-card p,
.vpi-fw-card em {
  display: block;
  margin-top: 8px;
  color: var(--vpi-fw-muted);
  font-style: normal;
  line-height: 1.55;
}

.vpi-fw-card__meta,
.vpi-fw-guide-card > span {
  color: var(--vpi-fw-primary) !important;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.vpi-fw-brand-card__mark,
.vpi-fw-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 16px;
  background: var(--vpi-fw-primary-soft);
  color: var(--vpi-fw-primary-dark);
  font-weight: 900;
}

.vpi-fw-product-card {
  overflow: hidden;
  border: 1px solid var(--vpi-fw-border);
  border-radius: var(--vpi-fw-radius-card);
  background: #fff;
  box-shadow: var(--vpi-fw-shadow-card);
}

.vpi-fw-product-card__media {
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  background: linear-gradient(180deg, #fbfbff, #fff);
}

.vpi-fw-product-card__media img {
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
  transition: transform var(--vpi-fw-base);
}

.vpi-fw-product-card:hover .vpi-fw-product-card__media img {
  transform: scale(1.035);
}

.vpi-fw-product-card__body {
  padding: 18px;
}

.vpi-fw-product-card__price {
  margin-top: 10px;
  color: var(--vpi-fw-ink);
  font-size: 20px;
  font-weight: 900;
}

.vpi-fw-product-card__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.vpi-fw-product-card__trust span {
  border-radius: 999px;
  background: var(--vpi-fw-primary-soft);
  color: var(--vpi-fw-primary-dark);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 750;
}

.vpi-fw-cta {
  padding-block: clamp(58px, 8vw, 96px);
}

.vpi-fw-footer-connector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--vpi-fw-border);
  border-radius: 28px;
  background: #fff;
  padding: clamp(22px, 4vw, 42px);
}

.vpi-fw-footer-connector strong {
  display: block;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
}

.vpi-fw-footer-connector p {
  margin: 10px 0 0;
  color: var(--vpi-fw-muted);
}

@media (max-width: 900px) {
  .vpi-fw-grid--3,
  .vpi-fw-grid--4,
  .vpi-fw-grid--5,
  .vpi-fw-grid--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vpi-fw-hero__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .vpi-fw-grid,
  .vpi-fw-grid--2,
  .vpi-fw-grid--3,
  .vpi-fw-grid--4,
  .vpi-fw-grid--5,
  .vpi-fw-grid--6 {
    grid-template-columns: 1fr;
  }

  .vpi-fw-actions,
  .vpi-fw-actions .vpi-fw-btn,
  .vpi-fw-footer-connector,
  .vpi-fw-footer-connector .vpi-fw-btn {
    width: 100%;
  }

  .vpi-fw-footer-connector {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vpi-fw-card,
  .vpi-fw-btn,
  .vpi-fw-product-card__media img {
    transition: none;
  }
}

/* === VAPEIVO PHASE 40 PUBLIC CLEANUP PRODUCT FALLBACK START === */
.vpi34-trust-framework,
.vpi34-hero-trust,
.vpi34-asset-grid,
.vpi34-cert-grid,
.vpi34-timeline,
.vpi34-asset-card[data-vpi34-status="pending"],
.vpi34-cert-card[data-vpi34-status="pending"],
.vpi34-timeline-item[data-vpi34-status="pending"],
[data-vpi34-status="pending"],
.vpi34-trust-note {
  display: none !important;
}

body.single-product .product-tabs-wrapper,
body.single-product .single-product-content .woocommerce-tabs,
body.single-product .single-product-content .related.products,
body.single-product .single-product-content .related-products {
  display: block !important;
}

body.single-product .product-tabs-wrapper,
body.single-product .single-product-content .woocommerce-tabs,
body.single-product .single-product-content .related.products,
body.single-product .single-product-content .related-products {
  max-width: 1240px;
  margin: 22px auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(11, 13, 20, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 46px rgba(28, 31, 52, .07);
}

body.single-product .single-product-content .woocommerce-tabs .tabs {
  gap: 10px;
  border: 0;
}

body.single-product .single-product-content .woocommerce-tabs .tabs li a {
  border-radius: 999px;
  background: rgba(109, 94, 247, .09);
  color: #4a38d3;
  font-weight: 820;
}

body.single-product .single-product-content .woocommerce-tabs .woocommerce-Tabs-panel {
  color: #555d71;
  line-height: 1.7;
}

body.single-product .single-product-content .related.products > h2,
body.single-product .single-product-content .related-products > h2 {
  color: #0b0d14;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 840;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  body.single-product .single-product-content .product-image-summary::after {
    content: "Authentic product focus\A Secure checkout\A Fast support\A Wholesale available";
    white-space: pre-line;
    word-spacing: 0;
    text-align: left;
  }

  body.single-product .product-tabs-wrapper,
  body.single-product .single-product-content .woocommerce-tabs,
  body.single-product .single-product-content .related.products,
  body.single-product .single-product-content .related-products {
    padding: 18px;
    border-radius: 20px;
  }
}
/* === VAPEIVO PHASE 40 PUBLIC CLEANUP PRODUCT FALLBACK END === */
