/*
Theme Name: Apex Discipline
Theme URI: https://apexdiscipline.com
Author: Apex Discipline
Author URI: https://quietprogress.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: quiet-progress
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);
}


/* ================================================
   HERO / DOWNLOAD SECTION (HOMEPAGE)
   ================================================ */
.qp-hero {
  text-align: center;
  padding: 48px 24px 16px;
}

.qp-hero__title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 8px;
}


/* ================================================
   PRODUCT CARD (HOMEPAGE)
   ================================================ */
.qp-products {
  padding: 16px 24px 80px;
  max-width: 520px;
  margin: 0 auto;
}

.qp-product-card {
  background: var(--qp-white);
  border: 1px solid var(--qp-gray-border);
  border-radius: var(--qp-radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.qp-product-card:hover {
  box-shadow: var(--qp-shadow-hover);
  transform: translateY(-2px);
}

.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: '🏷️';
}

.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;
}

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

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

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

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

.qp-gallery-nav__btn:hover {
  border-color: var(--qp-black);
  background: var(--qp-gray-light);
}

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

.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: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.qp-gallery-thumbs img:hover,
.qp-gallery-thumbs img.active {
  border-color: var(--qp-black);
  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__features {
  margin-bottom: 20px;
}

.qp-product-info__features li {
  font-size: 14px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qp-product-info__features li::before {
  font-size: 14px;
}

/* Flash Sale Timer */
.qp-flash-sale {
  background: var(--qp-red);
  color: var(--qp-white);
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--qp-radius);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qp-flash-sale__timer {
  font-variant-numeric: tabular-nums;
}

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

.qp-bundle-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 2px solid var(--qp-gray-border);
  border-radius: var(--qp-radius);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease;
  position: relative;
}

.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;
}

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

.qp-popular-badge {
  position: absolute;
  top: -14px;
  right: -8px;
  background: var(--qp-red);
  color: var(--qp-white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(201, 31, 55, 0.3);
  z-index: 2;
}

/* 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-add-to-cart-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

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

/* Payment Icons Row */
.qp-payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 16px 0;
}

.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 {
  border-radius: var(--qp-radius);
  overflow: hidden;
  box-shadow: var(--qp-shadow);
  background: var(--qp-white);
}

.qp-testimonial-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.qp-testimonial-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qp-testimonial-card__quote-icon {
  position: absolute;
  bottom: -16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--qp-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--qp-white);
  font-size: 18px;
  font-weight: 800;
  z-index: 2;
}

.qp-testimonial-card__content {
  padding: 24px 20px 20px;
}

.qp-testimonial-card__stars {
  color: #FFD700;
  font-size: 16px;
  margin-bottom: 12px;
  text-align: center;
}

.qp-testimonial-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--qp-gray-text);
  text-align: center;
  margin-bottom: 16px;
}

.qp-testimonial-card__author {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid var(--qp-gray-border);
}


/* ================================================
   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-wrap: wrap;
    gap: 8px;
  }

  .qp-sticky-bar__info {
    flex: 1;
  }

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

  .qp-sticky-bar__select {
    flex: 1;
  }

  .qp-sticky-bar .qp-btn {
    flex: 1;
  }

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

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

@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;
}
