/*
Theme Name: Apex Discipline (LATEST)
Theme URI: https://apexdiscipline.com
Author: Apex Discipline
Author URI: https://ApexDiscipline.co
Description: A clean, modern e-commerce theme for digital productivity tools. Elementor and WooCommerce compatible.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apex-discipline
Tags: e-commerce, one-column, custom-menu, featured-images, theme-options
*/

/* ================================================
   RESET & BASE
   ================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --qp-black: #000000;
  --qp-white: #ffffff;
  --qp-red: #C91F37;
  --qp-red-hover: #a81a2e;
  --qp-gray-light: #f7f7f7;
  --qp-gray-border: #e5e5e5;
  --qp-gray-text: #6b6b6b;
  --qp-font-primary: 'Assistant', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --qp-radius: 8px;
  --qp-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --qp-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
  --qp-container: 1200px;
  --qp-header-height: 110px;
  --qp-marquee-height: 40px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--qp-font-primary);
  color: var(--qp-black);
  background: var(--qp-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.75;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: var(--qp-container);
  margin: 0 auto;
  padding: 0 24px;
}


/* ================================================
   ANNOUNCEMENT MARQUEE BAR
   ================================================ */
.qp-marquee {
  background: var(--qp-black);
  color: var(--qp-white);
  height: var(--qp-marquee-height);
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.qp-marquee__track {
  display: flex;
  align-items: center;
  height: 100%;
  animation: marquee-scroll 20s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.qp-marquee__item {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 48px;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* ================================================
   HEADER / NAVIGATION
   ================================================ */
.qp-header {
  background: var(--qp-white);
  height: var(--qp-header-height);
  border-bottom: 1px solid var(--qp-gray-border);
  position: sticky;
  top: 0;
  z-index: 99;
  transition: box-shadow 0.3s ease;
}

.qp-header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.qp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--qp-container);
  margin: 0 auto;
  padding: 0 24px;
}

.qp-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qp-header__nav a {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.qp-header__nav a:hover {
  opacity: 1;
  background: var(--qp-gray-light);
}

.qp-header__nav a.active {
  background: var(--qp-black);
  color: var(--qp-white);
}

.qp-header__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

.qp-header__logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

.qp-header__logo-text span {
  display: block;
}

.qp-header__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--qp-red);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--qp-white);
  font-size: 18px;
  font-weight: 800;
}

.qp-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qp-header__actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.qp-header__actions svg {
  width: 22px;
  height: 22px;
  stroke: var(--qp-black);
  stroke-width: 1.5;
  fill: none;
}

/* Mobile Menu */
.qp-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.qp-mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.qp-mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--qp-marquee-height) + var(--qp-header-height));
  left: 0;
  right: 0;
  background: var(--qp-white);
  padding: 24px;
  border-bottom: 1px solid var(--qp-gray-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 98;
}

.qp-mobile-menu.open {
  display: block;
}

.qp-mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--qp-gray-border);
}


/* ================================================
   MODERN HERO SECTION (HOMEPAGE)
   ================================================ */
.qp-modern-hero {
  background: radial-gradient(circle at top right, #1a1a1a 0%, #000000 100%);
  color: var(--qp-white);
  padding: 80px 24px;
  overflow: hidden;
  border-bottom: 1px solid #111;
}

.qp-modern-hero__inner {
  max-width: var(--qp-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.qp-modern-hero__tagline {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--qp-red);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.qp-modern-hero__title {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--qp-white);
}

.qp-modern-hero__title span {
  color: var(--qp-red);
}

.qp-modern-hero__description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 500px;
}

.qp-modern-hero__bullets {
  margin-bottom: 40px;
}

.qp-modern-hero__bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--qp-white);
}

.qp-modern-hero__bullets span {
  color: var(--qp-red);
  font-weight: 800;
}

.qp-modern-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 320px;
}

.qp-modern-hero__trust,
.qp-trust {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 40px !important;
  margin-top: 15px !important;
}

/* Extreme Fallback for Cached HTML - ONLY targeting the trust section in hero */
.qp-modern-hero__trust .qp-trust,
.qp-modern-hero__trust .qp-trust-content {
  background: url('https://codexis.studio/wp-content/uploads/2026/03/payment-methods.png?v=2') no-repeat center left !important;
  background-size: contain !important;
  height: 35px !important;
  width: 100% !important;
}

/* ATOMIC HIDE for any old icon remnants anywhere on the site */
.qp-trust span,
.qp-trust-content span,
.qp-modern-hero__trust span:not(.qp-payment-icons span),
.qp-modern-hero__actions .qp-trust span,
i.payment-icon,
[class*="fa-"],
.fa,
.fab,
.fas,
.far {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  border: none !important;
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* Ensure the NEW payment images only - NO FILTER to show original colors */
.qp-payment-icons img,
.qp-modern-hero__trust img,
.qp-footer__payment img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-height: 32px !important;
  width: auto !important;
  margin: 0 !important;
}

.qp-modern-hero__trust .qp-payment-icons {
  display: flex !important;
  gap: 12px !important;
}

/* Featured Visual Fixes */
.qp-modern-hero__visual {
  position: relative;
  width: 100%;
}

.qp-modern-hero__visual .qp-product-card {
  border: none;
  background: transparent;
  box-shadow: none;
  transform: none !important;
}

.qp-modern-hero__visual .qp-product-card__image {
  background: transparent;
  border-radius: 12px;
  overflow: visible;
}

.qp-modern-hero__visual .qp-product-card__image img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8));
  mix-blend-mode: normal;
  image-rendering: -webkit-optimize-contrast;
  opacity: 1;
  position: relative;
  z-index: 10;
  border-radius: 30px; /* Round the corners for a softer, premium look */
}

.qp-modern-hero__visual .qp-product-card:hover {
  opacity: 1 !important;
  transform: none !important;
}

.qp-modern-hero__visual .qp-product-card:hover img {
  opacity: 1 !important;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8)) !important;
}

.qp-modern-hero__visual .qp-product-card__info {
  display: none;
  /* Hero handles the info */
}

/* ================================================
   TRUST BAR (HOMEPAGE)
   ================================================ */
.qp-trust-bar {
  background: var(--qp-white);
  border-bottom: 1px solid var(--qp-gray-border);
  padding: 40px 0;
}

.qp-trust-bar__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.qp-trust-item {
  text-align: center;
}

.qp-trust-item__count {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--qp-black);
}

.qp-trust-item__label {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--qp-gray-text);
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .qp-modern-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .qp-modern-hero__description,
  .qp-modern-hero__actions {
    margin-left: auto;
    margin-right: auto;
  }

  .qp-modern-hero__bullets {
    display: inline-block;
    text-align: left;
  }

  .qp-modern-hero__title {
    font-size: 42px;
  }

  .qp-modern-hero__visual .qp-product-card__image img {
    height: 320px;
  }
}

.qp-product-card__image {
  position: relative;
  overflow: hidden;
  background: var(--qp-gray-light);
}

.qp-product-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

.qp-product-card__badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--qp-red);
  color: var(--qp-white);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qp-product-card__badge::before {
  content: none;
}

.qp-product-card__info {
  padding: 20px;
  text-align: center;
}

.qp-product-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.qp-product-card__price {
  font-size: 16px;
  font-weight: 700;
}

.qp-product-card__price .sale {
  color: var(--qp-black);
}

.qp-product-card__price .original {
  text-decoration: line-through;
  color: var(--qp-gray-text);
  font-weight: 400;
  margin-left: 8px;
}


/* ================================================
   SINGLE PRODUCT PAGE
   ================================================ */
.qp-single-product {
  padding: 40px 24px;
  max-width: var(--qp-container);
  margin: 0 auto;
}

.qp-single-product__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: var(--qp-container);
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .qp-single-product__layout {
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .qp-single-product__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.qp-single-product__gallery {
  position: sticky;
  top: calc(var(--qp-header-height) + var(--qp-marquee-height) + 20px);
}

.qp-single-product__gallery-container {
  position: relative;
  margin-bottom: 20px;
  background: var(--qp-white);
  border-radius: var(--qp-radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qp-single-product__main-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.qp-single-product__gallery img {
  width: 100%;
  border-radius: var(--qp-radius);
}

.qp-gallery-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.qp-gallery-nav__btn {
  background: var(--qp-white);
  border: 1px solid var(--qp-gray-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--qp-black);
  flex-shrink: 0;
}

.qp-gallery-nav__btn:hover {
  background: var(--qp-gray-light);
  transform: translateY(-2px);
}

.qp-gallery-nav__btn svg {
  width: 20px;
  height: 20px;
}

.qp-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex: 1;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.qp-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.qp-gallery-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.qp-gallery-thumbs img:hover {
  border-color: var(--qp-black);
  opacity: 1;
}

.qp-gallery-thumbs img.active {
  border-color: var(--qp-red);
  opacity: 1;
}

/* Product Info */
.qp-product-info__title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.qp-product-info__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.qp-stars {
  display: flex;
  gap: 2px;
  color: #FFD700;
  font-size: 16px;
}

.qp-rating-count {
  font-size: 14px;
  color: var(--qp-gray-text);
}

.qp-product-info__price-row {
  margin: 15px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.qp-product-info__price {
  font-size: 28px;
  font-weight: 800;
  color: #008a00;
  /* Green scale price matching reference */
}

.qp-product-info__original {
  text-decoration: line-through;
  color: var(--qp-gray-text);
  font-size: 18px;
}

.qp-save-badge {
  background: var(--qp-red);
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.qp-product-info__features {
  margin-bottom: 25px;
  padding-left: 0;
}

/* Flash Sale Timer */
.qp-flash-sale {
  background: #000;
  color: #fff;
  border: none;
  text-align: center;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.qp-flash-sale span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qp-flash-sale__timer {
  color: var(--qp-red);
  font-variant-numeric: tabular-nums;
}

/* Bundle Selector */
.qp-bundle-selector {
  margin-bottom: 20px;
}

.qp-bundle-option {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 20px !important;
  border: 2px solid var(--qp-gray-border);
  border-radius: var(--qp-radius);
  margin-bottom: 12px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: visible !important;
  background: var(--qp-white) !important;
}

/* Left/Right wrappers for precise alignment */
.qp-bundle-option__left {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
}

.qp-bundle-option__right {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-end !important;
  gap: 2px !important;
  text-align: right !important;
  min-width: 80px !important;
}

.qp-bundle-option:hover {
  border-color: var(--qp-black);
}

.qp-bundle-option.selected {
  border-color: var(--qp-black);
  background: var(--qp-gray-light);
}

.qp-bundle-option__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qp-bundle-option__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--qp-gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qp-bundle-option.selected .qp-bundle-option__radio {
  border-color: var(--qp-black);
}

.qp-bundle-option.selected .qp-bundle-option__radio::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--qp-black);
  border-radius: 50%;
}

.qp-bundle-option__name {
  font-weight: 600;
  font-size: 15px;
}

.qp-bundle-option__discount {
  background: var(--qp-red);
  color: var(--qp-white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

.qp-bundle-option__right {
  text-align: right;
}

.qp-bundle-option__price {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  display: block;
}

.qp-bundle-option__original {
  font-size: 13px;
  text-decoration: line-through;
  color: var(--qp-gray-text);
  line-height: 1.2;
  display: block;
}

.qp-popular-badge {
  position: absolute;
  top: -12px;
  right: 12px;
  background: var(--qp-red);
  color: var(--qp-white);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(201, 31, 55, 0.4);
  z-index: 50;
}

/* Product Buttons */
.qp-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: var(--qp-radius);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--qp-font-primary);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qp-btn--primary {
  background: var(--qp-red);
  color: var(--qp-white);
  margin-bottom: 8px;
}

.qp-btn--primary:hover {
  background: var(--qp-red-hover);
}

.qp-btn--secondary {
  background: var(--qp-black);
  color: var(--qp-white);
}

.qp-btn--secondary:hover {
  background: #222;
}

.qp-btn--outline {
  background: transparent;
  color: var(--qp-black);
  border: 2px solid var(--qp-black);
}

.qp-btn--outline:hover {
  background: var(--qp-black);
  color: var(--qp-white);
}

.qp-upsell-box {
  width: 100%;
  display: flex !important;
  flex-wrap: wrap;
  border: 1.5px dashed var(--qp-black);
  border-radius: 0;
  /* Sharp like ref */
  padding: 16px;
  margin: 20px 0;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--qp-white);
}

.qp-upsell-box:hover {
  background: var(--qp-gray-light);
}

.qp-upsell-box__checkbox {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--qp-black);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.qp-upsell-box.selected .qp-upsell-box__checkbox::after {
  content: '✓';
  font-size: 14px;
  font-weight: 800;
}

.qp-upsell-box__content {
  flex: 1;
}

.qp-upsell-box__title {
  font-weight: 700;
  font-size: 15px;
  display: block;
}

.qp-upsell-box__text {
  font-size: 12px;
  color: var(--qp-gray-text);
  line-height: 1.4;
  display: block;
}

.qp-add-to-cart-row {
  display: block;
  margin-bottom: 12px;
}

.qp-add-to-cart-row .qp-btn {
  flex: 1;
}

/* Payment Icons Row */
.qp-add-to-cart {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  padding: 22px 30px;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0 !important;
  /* Forces sharp edges */
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: 1px;
}

.qp-add-to-cart:hover {
  background: #222;
  transform: translateY(-2px);
}

.qp-payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.qp-payment-icons img {
  height: 28px;
  border-radius: 4px;
}

/* Social Proof */
.qp-social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  font-size: 15px;
  font-weight: 600;
}

.qp-social-proof__icon {
  color: var(--qp-red);
  font-size: 20px;
}

/* Inline Testimonial Slider */
.qp-inline-reviews {
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}

.qp-inline-reviews__track {
  display: flex;
  transition: transform 0.4s ease;
}

.qp-inline-review {
  min-width: 100%;
  padding: 20px;
}

.qp-inline-review__text {
  font-size: 14px;
  color: var(--qp-gray-text);
  font-style: italic;
  margin-bottom: 8px;
}

.qp-inline-review__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qp-inline-review__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.qp-inline-review__name {
  font-size: 13px;
  font-weight: 600;
}

.qp-inline-review__stars {
  color: #FFD700;
  font-size: 12px;
}

.qp-review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.qp-review-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--qp-gray-border);
  cursor: pointer;
  transition: background 0.2s ease;
}

.qp-review-dots span.active {
  background: var(--qp-black);
}

/* FAQ Accordions */
.qp-faq {
  border-top: 1px solid var(--qp-gray-border);
  margin-top: 24px;
}

.qp-faq__item {
  border-bottom: 1px solid var(--qp-gray-border);
}

.qp-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--qp-font-primary);
  cursor: pointer;
  text-align: left;
}

.qp-faq__question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.qp-faq__item.open .qp-faq__question svg {
  transform: rotate(180deg);
}

.qp-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.qp-faq__item.open .qp-faq__answer {
  max-height: 200px;
}

.qp-faq__answer p {
  padding: 0 0 16px;
  font-size: 14px;
  color: var(--qp-gray-text);
  line-height: 1.6;
}


/* ================================================
   TESTIMONIALS GRID SECTION
   ================================================ */
.qp-testimonials {
  padding: 60px 24px;
  max-width: var(--qp-container);
  margin: 0 auto;
}

.qp-testimonials__heading {
  text-align: center;
  font-size: 14px;
  color: var(--qp-gray-text);
  margin-bottom: 40px;
}

.qp-testimonials__heading strong {
  color: var(--qp-black);
}

.qp-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.qp-testimonial-card {
  background: var(--qp-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Softer, Apple-like border */
  border-radius: 18px;
  /* High radius like iOS/Mac cards */
  padding: 32px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.04);
  /* Layered smooth Apple shadow */
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.qp-testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  /* Smooth subtle lift */
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  /* Deep Apple hover shadow */
}

.qp-testimonial-card__stars {
  color: #FACC15;
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.qp-testimonial-card__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--qp-black);
  margin-bottom: 24px;
  flex: 1;
}

.qp-testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--qp-gray-light);
}

.qp-testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qp-testimonial-card__author {
  font-size: 15px;
  font-weight: 700;
  color: var(--qp-black);
}

.qp-testimonial-card__badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #16A34A;
  /* Trust green */
}

.qp-testimonial-card__badge svg {
  margin-top: -1px;
}


/* ================================================
   FEATURES SECTION
   ================================================ */
.qp-features {
  padding: 60px 24px;
  max-width: var(--qp-container);
  margin: 0 auto;
}

.qp-features__heading {
  text-align: center;
  margin-bottom: 8px;
}

.qp-features__heading h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--qp-red);
  font-style: italic;
}

.qp-features__subtext {
  text-align: center;
  font-size: 16px;
  color: var(--qp-gray-text);
  margin-bottom: 48px;
}

.qp-features__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.qp-features__left,
.qp-features__right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.qp-features__center img {
  width: 100%;
  border-radius: var(--qp-radius);
}

.qp-feature-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qp-feature-item__icon {
  font-size: 28px;
  color: var(--qp-red);
}

.qp-feature-item h3 {
  font-size: 18px;
  font-weight: 700;
}

.qp-feature-item p {
  font-size: 14px;
  color: var(--qp-gray-text);
  line-height: 1.5;
}

.qp-features__right .qp-feature-item {
  text-align: right;
  align-items: flex-end;
}


/* ================================================
   BACKED BY SCIENCE / STATS SECTION
   ================================================ */
.qp-stats {
  background: var(--qp-black);
  color: var(--qp-white);
  padding: 80px 24px;
}

.qp-stats__inner {
  max-width: var(--qp-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.qp-stats__text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.qp-stats__text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.qp-stats__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.qp-stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.qp-stat-ring {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.qp-stat-ring svg {
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
}

.qp-stat-ring circle {
  fill: none;
  stroke-width: 4;
}

.qp-stat-ring .ring-bg {
  stroke: rgba(255, 255, 255, 0.15);
}

.qp-stat-ring .ring-fill {
  stroke: var(--qp-white);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.qp-stat-ring__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 800;
}

.qp-stat-item__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}


/* ================================================
   IMAGE GALLERY SECTION
   ================================================ */
.qp-gallery {
  padding: 60px 24px;
  max-width: var(--qp-container);
  margin: 0 auto;
  text-align: center;
}

.qp-gallery h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 32px;
}

.qp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.qp-gallery__grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--qp-radius);
}


/* ================================================
   CONTACT PAGE
   ================================================ */
.qp-contact {
  padding: 60px 24px;
  max-width: 700px;
  margin: 0 auto;
}

.qp-contact h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
}

.qp-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.qp-contact__field {
  margin-bottom: 16px;
}

.qp-contact input,
.qp-contact textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--qp-gray-border);
  border-radius: var(--qp-radius);
  font-family: var(--qp-font-primary);
  font-size: 15px;
  transition: border-color 0.2s ease;
  background: var(--qp-white);
  color: var(--qp-black);
}

.qp-contact input:focus,
.qp-contact textarea:focus {
  outline: none;
  border-color: var(--qp-black);
}

.qp-contact textarea {
  min-height: 140px;
  resize: vertical;
}

.qp-contact .qp-btn {
  margin-top: 8px;
}


/* ================================================
   FOOTER
   ================================================ */
.qp-footer {
  background: #1a1a1a;
  color: var(--qp-white);
}

.qp-footer__main {
  padding: 48px 24px;
  text-align: center;
}

.qp-footer__main h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.qp-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.qp-footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.qp-footer__links a:hover {
  color: var(--qp-white);
  opacity: 1;
}

.qp-footer__bottom {
  background: var(--qp-black);
  padding: 24px;
  text-align: center;
}

.qp-footer__payment {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.qp-footer__payment img {
  height: 32px;
  border-radius: 4px;
}

.qp-footer__copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}


/* ================================================
   STICKY BOTTOM PRODUCT BAR
   ================================================ */
.qp-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--qp-black);
  color: var(--qp-white);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 97;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.qp-sticky-bar.visible {
  transform: translateY(0);
}

.qp-sticky-bar__info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qp-sticky-bar__thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
}

.qp-sticky-bar__title {
  font-size: 14px;
  font-weight: 700;
}

.qp-sticky-bar__pricing {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qp-sticky-bar__pricing .original {
  text-decoration: line-through;
  opacity: 0.5;
}

.qp-sticky-bar__badge {
  background: var(--qp-red);
  color: var(--qp-white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.qp-sticky-bar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qp-sticky-bar__select {
  background: transparent;
  border: 1px solid var(--qp-red);
  color: var(--qp-white);
  padding: 10px 16px;
  border-radius: var(--qp-radius);
  font-family: var(--qp-font-primary);
  font-size: 13px;
  cursor: pointer;
}

.qp-sticky-bar__select option {
  background: var(--qp-black);
}

.qp-sticky-bar .qp-btn {
  width: auto;
  padding: 10px 28px;
}


/* ================================================
   WOOCOMMERCE OVERRIDES
   ================================================ */
.woocommerce .quantity .qty {
  width: 60px;
  padding: 8px;
  border: 1px solid var(--qp-gray-border);
  border-radius: var(--qp-radius);
  font-family: var(--qp-font-primary);
}

.woocommerce .single_add_to_cart_button {
  background: var(--qp-black) !important;
  color: var(--qp-white) !important;
  border-radius: var(--qp-radius) !important;
  font-family: var(--qp-font-primary) !important;
  font-weight: 700 !important;
  padding: 14px 24px !important;
  text-transform: uppercase !important;
}

.woocommerce .single_add_to_cart_button:hover {
  background: #222 !important;
}

.woocommerce-message {
  border-top-color: var(--qp-red) !important;
}

.woocommerce-message::before {
  color: var(--qp-red) !important;
}


/* ================================================
   ELEMENTOR OVERRIDES
   ================================================ */
.elementor-page .qp-hero,
.elementor-page .qp-products,
.elementor-page .qp-testimonials,
.elementor-page .qp-features,
.elementor-page .qp-stats,
.elementor-page .qp-gallery,
.elementor-page .qp-contact {
  padding-left: 0;
  padding-right: 0;
}


/* ================================================
   SCROLL TO TOP BUTTON
   ================================================ */
.qp-scroll-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--qp-white);
  border: 1px solid var(--qp-gray-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 96;
  box-shadow: var(--qp-shadow);
}

.qp-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.qp-scroll-top svg {
  width: 20px;
  height: 20px;
}


/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 992px) {
  .qp-single-product__layout {
    grid-template-columns: 1fr;
  }

  .qp-single-product__gallery {
    position: static;
  }

  .qp-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qp-features__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .qp-features__center {
    order: -1;
  }

  .qp-features__right .qp-feature-item {
    text-align: left;
    align-items: flex-start;
  }

  .qp-stats__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --qp-header-height: 90px;
  }

  .qp-header__nav {
    display: none;
  }

  .qp-mobile-toggle {
    display: block;
  }

  .qp-header__logo {
    position: static;
    transform: none;
  }

  .qp-hero__title {
    font-size: 28px;
  }

  .qp-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .qp-gallery__grid {
    grid-template-columns: 1fr;
  }

  .qp-contact__row {
    grid-template-columns: 1fr;
  }

  .qp-footer__links {
    flex-direction: column;
    align-items: center;
  }

  .qp-sticky-bar {
    flex-direction: column;
    padding: 12px;
    gap: 12px;
  }

  .qp-sticky-bar__info {
    width: 100%;
    justify-content: center;
  }

  .qp-sticky-bar__actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .qp-sticky-bar__select {
    width: 100%;
  }

  .qp-sticky-bar .qp-btn {
    width: 100%;
  }

  .qp-features__heading h2 {
    font-size: 24px;
  }

  .qp-stats__text h2 {
    font-size: 28px;
  }

  /* Aggressive Mobile Resets for Horizontal Overflow */
  .container {
    padding: 0 16px !important;
    overflow-x: hidden;
  }

  .qp-modern-hero__inner,
  .qp-trust-bar__inner,
  .qp-product-single__layout,
  .qp-video-reels__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .qp-header__inner {
    flex-wrap: wrap !important;
  }

  .qp-header__logo-img {
    max-height: 50px !important;
    width: auto !important;
  }

  .qp-modern-hero__content {
    margin-bottom: 32px !important;
    padding: 0 10px;
  }

  .qp-modern-hero__title {
    font-size: 32px !important;
    line-height: 1.2 !important;
    word-break: break-word;
  }

  .qp-modern-hero__actions,
  .qp-add-to-cart-row {
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
  }

  .qp-modern-hero__actions .qp-btn {
    width: 100% !important;
  }

  .qp-trust-bar__inner {
    flex-direction: column !important;
    gap: 24px !important;
  }

  .qp-trust-item {
    width: 100% !important;
  }

  .qp-product-card,
  .qp-product-options {
    width: 100% !important;
    max-width: 100% !important;
  }

  .qp-modern-hero__visual img,
  .qp-product-card__image img,
  .qp-gallery__grid img,
  .wp-post-image {
    max-width: 100% !important;
    height: auto !important;
  }

  /* ======== ULTIMATE MOBILE OVERFLOW FIXES ======== */
  /* Force the body and main wrappers to NEVER exceed screen width */
  html,
  body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* 1. Announcement Bar Fix */
  .qp-marquee,
  .qp-announcement-bar,
  #announcement-bar {
    white-space: normal !important;
    height: auto !important;
    min-height: 40px;
    padding: 8px !important;
    text-align: center;
  }

  .qp-marquee__track {
    display: block !important;
    width: 100% !important;
    animation: none !important;
  }

  /* 2. Universal Elementor Overrides for fixed widths */
  .elementor-container,
  .elementor-row,
  .elementor-column,
  .elementor-widget-wrap {
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    left: 0 !important;
  }

  /* 3. Product Page Features Row (e.g. "Instant Download") */
  .qp-product-features,
  .qp-features-grid,
  .elementor-widget-icon-box .elementor-widget-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 24px;
  }

  /* 4. Video Reels & Mockups */
  .qp-video-section,
  .qp-mockups-container,
  .qp-video-reels__item {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 24px auto !important;
  }

  .qp-video-reels__container {
    overflow-x: hidden !important;
    padding: 0 16px !important;
  }

  /* 5. Stats / Circle Charts */
  .qp-stats-grid,
  .qp-stats-section,
  .elementor-widget-counter,
  .elementor-widget-progress {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 0 16px !important;
  }

  .qp-stat-item,
  .elementor-counter {
    width: 100% !important;
    margin-bottom: 24px !important;
  }

  /* 6. Sticky Bar Prices */
  .qp-price-container,
  .qp-add-to-cart-container {
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  /* 7. Titles that might be too long */
  .qp-product-title,
  .qp-section-title,
  h1,
  h2,
  h3 {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto;
  }

  img,
  iframe,
  video {
    max-width: 100% !important;
    height: auto !important;
  }

  /* ======== SPECIFIC PRODUCT PAGE FIXES ======== */

  /* Main Container Constraint */
  .qp-product-info-wrapper,
  .qp-main-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Product Title Overflow */
  .qp-product-title,
  .qp-section-title {
    word-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 28px !important;
  }

  /* Product Variants Option Boxes */
  .qp-variant-selector {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  .qp-bundle-option {
    display: flex !important;
    flex-wrap: wrap !important;
    /* Stack items vertically on mobile */
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px !important;
  }

  .qp-bundle-option__left {
    flex: 1 1 100% !important;
    margin-bottom: 8px !important;
  }

  .qp-bundle-option__right {
    flex: 1 1 100% !important;
    text-align: left !important;
    padding-left: 32px !important;
    /* Align perfectly under text */
  }

  .qp-popular-badge {
    right: 15px !important;
    /* Pull badge inside the screen */
  }

  /* Testimonials Grid / Slider */
  .qp-testimonials-grid,
  .qp-testimonials-slider {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .qp-testimonial-card,
  .qp-testimonials__card {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .qp-hero__title {
    font-size: 24px;
  }

  .qp-add-to-cart-row {
    flex-direction: column;
  }
}

/* ================================================
   POLICY PAGES (Refund, Terms, Privacy)
   ================================================ */
.qp-policy-page {
  padding: 80px 20px 60px;
  min-height: 60vh;
}

.qp-policy-page__container {
  max-width: 800px;
  margin: 0 auto;
}

.qp-policy-page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--qp-text);
}

.qp-policy-page__updated {
  color: var(--qp-gray-text, #888);
  font-size: 14px;
  margin-bottom: 40px;
}

.qp-policy-page section {
  margin-bottom: 32px;
}

.qp-policy-page h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--qp-text);
}

.qp-policy-page h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 16px 0 8px;
  color: var(--qp-text);
}

.qp-policy-page p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}

.qp-policy-page ul {
  padding-left: 24px;
  margin-bottom: 12px;
}

.qp-policy-page li {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 6px;
}

.qp-policy-page a {
  color: var(--qp-primary, #c0392b);
  text-decoration: underline;
}

.qp-policy-page a:hover {
  opacity: 0.8;
}

/* ================================================
   VIDEO GALLERY SECTION
   ================================================ */
.qp-gallery {
  padding: 48px 20px;
  text-align: center;
}

.qp-gallery h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--qp-text);
}

.qp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 750px;
  margin: 0 auto;
}

.qp-gallery__grid video,
.qp-gallery__grid img {
  width: 100%;
  max-height: 550px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .qp-gallery__grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    gap: 24px;
  }
}

/* ================================================
   MODERN TESTIMONIALS SECTION
   ================================================ */
.qp-testimonials {
  padding: 80px 20px;
  background: var(--qp-main-bg, #fbfbfd);
  text-align: center;
}

.qp-testimonials__heading {
  font-size: 18px;
  line-height: 1.5;
  color: var(--qp-gray-text, #6e6e73);
  margin-bottom: 56px;
  font-weight: 500;
}

.qp-testimonials__heading strong {
  font-size: 42px;
  font-weight: 800;
  color: var(--qp-text, #1d1d1f);
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.qp-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .qp-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .qp-testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.qp-testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.qp-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.08);
}

.qp-testimonial-card::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 100px;
  color: rgba(0, 0, 0, 0.02);
  font-family: Georgia, serif;
  z-index: -1;
  line-height: 1;
}

.qp-testimonial-card__stars {
  color: #F5A623;
  font-size: 16px;
  margin-bottom: 24px;
  letter-spacing: 3px;
}

.qp-testimonial-card__text {
  font-size: 16px;
  line-height: 1.6;
  color: #333336;
  margin-bottom: 32px;
  font-style: italic;
  font-weight: 400;
}

.qp-testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 24px;
}

.qp-testimonial-card__initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d1d1f, #434345);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.qp-testimonial-card__meta {
  display: flex;
  flex-direction: column;
}

.qp-testimonial-card__author {
  font-weight: 700;
  color: #1d1d1f;
  font-size: 15px;
  margin-bottom: 2px;
}

.qp-testimonial-card__badge {
  font-size: 12px;
  color: #008060;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================
   MODERN VIDEO REELS
   ======================================== */
.qp-video-reels {
  padding: 100px 0;
  background: #fafafb;
  overflow: hidden;
  position: relative;
}

/* Subtle background accent */
.qp-video-reels::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(201, 31, 55, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.qp-video-reels__title {
  text-align: center;
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -1.5px;
  color: var(--qp-black);
  text-transform: lowercase;
}

.qp-video-reels__subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--qp-gray-text);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.qp-video-reels__container {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 20px 24px 60px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}

@media (max-width: 1024px) {
  .qp-video-reels__container {
    justify-content: flex-start;
    padding-left: 40px;
  }
}

.qp-video-reels__container::-webkit-scrollbar {
  display: none;
}

.qp-video-reels__item {
  flex: 0 0 320px;
  scroll-snap-align: center;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15), 0 18px 36px -18px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.qp-video-reels__item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 45px 80px -15px rgba(0, 0, 0, 0.2);
}

/* Glassmorphism Badge inside reel */
.qp-video-reels__item::after {
  content: 'PREMIUM TRACKER';
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 100px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  white-space: nowrap;
  opacity: 0.8;
  pointer-events: none;
}

.qp-video-reels__item video {
  width: 100%;
  height: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .qp-video-reels {
    padding: 60px 0;
  }

  .qp-video-reels__title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .qp-video-reels__subtitle {
    font-size: 16px;
    padding: 0 24px;
    margin-bottom: 40px;
  }

  .qp-video-reels__item {
    flex: 0 0 280px;
    border-radius: 24px;
  }
}