/* ══════════════════════════════════════════════════════════════════
   PassPaper – Elementor Compatibility & Custom Widgets Styles
   ══════════════════════════════════════════════════════════════════ */

/* Full Width Wrappers & Canvas Reset */
.pp-elementor-page-content,
.pp-elementor-content,
.pp-elementor-fullwidth,
.pp-elementor-single-content,
.pp-elementor-product-content {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.elementor-template-full-width,
body.pp-elementor-fullwidth-layout {
  overflow-x: hidden;
}

body.elementor-template-full-width .pp-site-content,
body.pp-elementor-fullwidth-layout .pp-site-content,
body.elementor-page .pp-site-content,
.pp-site-content {
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure no gap between header and first section */
.elementor > .elementor-section:first-child,
.elementor-inner > .elementor-section-wrap > .elementor-section:first-child,
.elementor-section-wrap > .elementor-section:first-child,
.elementor-section.elementor-top-section:first-child,
.e-con:first-child {
  margin-top: 0 !important;
}

body.pp-elementor-canvas-body {
  margin: 0;
  padding: 0;
  background: var(--pp-bg, #FFFFFF);
  color: var(--pp-text, #1E293B);
  font-family: var(--pp-font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
}

.pp-elementor-canvas-wrapper {
  min-height: 100vh;
  width: 100%;
}

/* Typography & Reset */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--pp-font-heading, 'Sora', sans-serif);
}

.elementor-section {
  position: relative;
}

.elementor-column .pp-btn {
  display: inline-flex;
}

/* Match theme shop page container (1280px) across Elementor sections & containers */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed,
.e-con--boxed > .e-con-inner {
  max-width: 1280px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pp-space-6, 1.5rem);
  padding-right: var(--pp-space-6, 1.5rem);
  box-sizing: border-box;
}

/* Ensure widgets using .pp-container stretch to full 1280px matching shop page */
.pp-elementor-content .pp-container,
.pp-elementor-page-content .pp-container,
.pp-elementor-fullwidth .pp-container,
.elementor-widget .pp-container {
  max-width: 1280px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--pp-space-6, 24px) !important;
  padding-right: var(--pp-space-6, 24px) !important;
  box-sizing: border-box !important;
}

/* Edge-to-edge section backgrounds matching shop & front-page */
.elementor-section.elementor-section-full_width,
.e-con.e-con-full {
  width: 100% !important;
  max-width: 100% !important;
}

/* ─────────────────────────────────────────────────────────────
   HERO WIDGET
   ───────────────────────────────────────────────────────────── */
.pp-hero-elementor {
  background: var(--pp-gradient-hero, linear-gradient(135deg, #060B18 0%, #0F172A 50%, #1E293B 100%));
  transition: all 0.3s ease;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.pp-hero-elementor .pp-hero-content {
  flex: 1 0 auto;
  width: 100%;
}

.pp-hero-elementor .pp-hero-trust-bar {
  width: 100% !important;
  margin-top: auto !important;
  background: rgba(10, 16, 31, 0.9) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: none !important;
}

.pp-hero-elementor .pp-hero-trust-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.25rem !important;
  align-items: center !important;
  width: 100% !important;
}

.pp-hero-elementor .pp-hero-trust-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.625rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.pp-hero-elementor .pp-hero-trust-item i {
  color: #60A5FA !important;
  font-size: 1.125rem !important;
}

@media (max-width: 1024px) {
  .pp-hero-elementor .pp-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .pp-hero-elementor .pp-hero-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .pp-hero-elementor .pp-hero-trust-grid {
    grid-template-columns: 1fr !important;
  }
}

.elementor-widget-pp_hero_banner .pp-hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.elementor-widget-pp_hero_banner .pp-hero-hub-card,
.elementor-widget-pp_hero_banner .pp-hero-custom-img-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}

@media (max-width: 768px) {
  .elementor-widget-pp_hero_banner .pp-hero-float-chip {
    animation: none !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   PRODUCTS & CATEGORIES GRID WIDGETS
   ───────────────────────────────────────────────────────────── */
.pp-products-grid-widget .pp-products-grid {
  display: grid;
  gap: 24px;
}

.pp-categories-grid-widget .pp-categories-grid {
  display: grid;
  gap: 20px;
}

/* ─────────────────────────────────────────────────────────────
   CURRICULUMS & EXAM BOARDS WIDGET
   ───────────────────────────────────────────────────────────── */
.pp-curriculum-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--pp-border, #E2E8F0);
  border-radius: 16px;
  padding: 28px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.pp-curriculum-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(37, 99, 235, 0.15) !important;
  border-color: #93C5FD !important;
}

.pp-curriculum-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pp-curriculum-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.25s ease;
}

.pp-curriculum-card-hover:hover .pp-curriculum-card-icon {
  background: #2563EB;
  color: #FFFFFF;
  transform: scale(1.05);
}

.pp-curriculum-card-badge {
  background: #F1F5F9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
  letter-spacing: 0.3px;
}

.pp-curriculum-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pp-dark, #0F172A);
  margin: 0 0 10px 0;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.pp-curriculum-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pp-curriculum-card-title a:hover {
  color: #2563EB;
}

.pp-curriculum-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--pp-text-muted, #64748B);
  margin: 0 0 18px 0;
}

/* Sub-categories container */
.pp-curriculum-subcats {
  margin: 16px 0 20px 0;
  padding-top: 14px;
  border-top: 1px dashed #E2E8F0;
}

.pp-subcats-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748B;
  margin-bottom: 10px;
}

.pp-subcats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Sub-category Pill */
.pp-subcat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #F8FAFC;
  color: #334155;
  border: 1px solid #E2E8F0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 2;
}

.pp-subcat-pill .pp-subcat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3B82F6;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.pp-subcat-pill .pp-subcat-arrow {
  font-size: 0.62rem;
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pp-subcat-pill:hover {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border-color: #2563EB !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
  transform: translateY(-2px);
}

.pp-subcat-pill:hover .pp-subcat-dot {
  background: #FFFFFF;
  transform: scale(1.3);
}

.pp-subcat-pill:hover .pp-subcat-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* Card Footer & Explore Link */
.pp-curriculum-card-foot {
  margin-top: auto;
  padding-top: 14px;
}

.pp-curriculum-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2563EB;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  position: relative;
  z-index: 2;
}

.pp-curriculum-explore-link i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.pp-curriculum-card-hover:hover .pp-curriculum-explore-link {
  color: #1D4ED8;
}

.pp-curriculum-card-hover:hover .pp-curriculum-explore-link i {
  transform: translateX(5px);
}

/* ─────────────────────────────────────────────────────────────
   ACADEMIC FILTER BAR WIDGET
   ───────────────────────────────────────────────────────────── */
.pp-filter-card-box {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.pp-academic-filter-form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pp-academic-filter-form select:hover {
  border-color: #94A3B8;
  background-color: #FFFFFF;
}

.pp-academic-filter-form select:focus {
  outline: none;
  border-color: #2563EB !important;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.pp-filter-submit-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pp-filter-submit-btn:hover {
  background-color: #1D4ED8 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

/* ─────────────────────────────────────────────────────────────
   CONTACT & SUPPORT WIDGET
   ───────────────────────────────────────────────────────────── */
.pp-contact-elementor-widget input:focus,
.pp-contact-elementor-widget select:focus,
.pp-contact-elementor-widget textarea:focus {
  outline: none;
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: #FFFFFF !important;
}

.pp-contact-elementor-widget form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;
}

/* ─────────────────────────────────────────────────────────────
   TESTIMONIALS WIDGET
   ───────────────────────────────────────────────────────────── */
.pp-testimonials-elementor-widget [style*="border-radius:16px"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08) !important;
  border-color: #CBD5E1 !important;
}

/* ─────────────────────────────────────────────────────────────
   STATS & METRICS WIDGET
   ───────────────────────────────────────────────────────────── */
.pp-stats-elementor-widget [style*="border-radius:16px"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.1) !important;
}

/* ─────────────────────────────────────────────────────────────
   NEWSLETTER CTA WIDGET
   ───────────────────────────────────────────────────────────── */
.pp-newsletter-elementor-widget input:focus {
  background: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.pp-newsletter-elementor-widget button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45) !important;
}

/* ─────────────────────────────────────────────────────────────
   PAGE BANNER WIDGET & HERO FULL-WIDTH / ZERO-GAP
   ───────────────────────────────────────────────────────────── */
/* Ensure the section holding the banner/hero spans 100% full width and touches header with 0 gap */
.elementor-section:has(.pp-page-banner),
.elementor-section:has(.pp-page-banner-elementor),
.elementor-section:has(.pp-hero),
.elementor-section:has(.pp-hero-elementor),
.elementor-section:has([data-widget_type*="pp_page_banner"]),
.elementor-section:has([data-widget_type*="pp_hero"]),
.elementor-section.elementor-section-full_width:first-child {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.elementor-section:has(.pp-page-banner) > .elementor-container,
.elementor-section:has(.pp-page-banner-elementor) > .elementor-container,
.elementor-section:has(.pp-hero) > .elementor-container,
.elementor-section:has(.pp-hero-elementor) > .elementor-container,
.elementor-section:has([data-widget_type*="pp_page_banner"]) > .elementor-container,
.elementor-section:has([data-widget_type*="pp_hero"]) > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-section:has(.pp-page-banner) .elementor-column,
.elementor-section:has(.pp-page-banner) .elementor-element-populated,
.elementor-section:has(.pp-page-banner) .elementor-widget-wrap,
.elementor-section:has(.pp-hero) .elementor-column,
.elementor-section:has(.pp-hero) .elementor-element-populated,
.elementor-section:has(.pp-hero) .elementor-widget-wrap,
.elementor-section:has([data-widget_type*="pp_page_banner"]) .elementor-column,
.elementor-section:has([data-widget_type*="pp_page_banner"]) .elementor-element-populated,
.elementor-section:has([data-widget_type*="pp_page_banner"]) .elementor-widget-wrap,
.elementor-section:has([data-widget_type*="pp_hero"]) .elementor-column,
.elementor-section:has([data-widget_type*="pp_hero"]) .elementor-element-populated,
.elementor-section:has([data-widget_type*="pp_hero"]) .elementor-widget-wrap {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.elementor-widget-pp_page_banner,
.elementor-widget-pp_hero_banner,
.elementor-widget-pp_hero {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

.elementor-widget-pp_page_banner .elementor-widget-container,
.elementor-widget-pp_hero_banner .elementor-widget-container,
.elementor-widget-pp_hero .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Edge-to-Edge full width breakout for Page Banner */
.pp-page-banner-elementor {
  position: relative !important;
  width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  margin-top: 0 !important;
  overflow: hidden;
}

/* Edge-to-Edge full width breakout for Hero */
.pp-hero-elementor {
  position: relative !important;
  width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  margin-top: 0 !important;
}

/* Edge-to-Edge full width breakout for Filter Section */
.pp-filter-widget {
  position: relative !important;
  width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

.elementor-section:has(.pp-filter-widget),
.elementor-section:has([data-widget_type*="pp_academic_filter"]),
.elementor-section:has(.pp_academic_filter) {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.elementor-section:has(.pp-filter-widget) > .elementor-container,
.elementor-section:has([data-widget_type*="pp_academic_filter"]) > .elementor-container,
.elementor-section:has(.pp_academic_filter) > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.elementor-section:has(.pp-filter-widget) .elementor-column,
.elementor-section:has(.pp-filter-widget) .elementor-element-populated,
.elementor-section:has(.pp-filter-widget) .elementor-widget-wrap,
.elementor-section:has([data-widget_type*="pp_academic_filter"]) .elementor-column,
.elementor-section:has([data-widget_type*="pp_academic_filter"]) .elementor-element-populated,
.elementor-section:has([data-widget_type*="pp_academic_filter"]) .elementor-widget-wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.elementor-widget-pp_academic_filter,
.elementor-widget-pp_academic_filter .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.pp-page-banner-elementor .pp-breadcrumbs {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 6px 10px !important;
  padding: 6px 18px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}

.pp-page-banner-elementor .pp-breadcrumbs:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
}

.pp-page-banner-elementor .pp-breadcrumbs a {
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: color 0.2s ease, text-shadow 0.2s ease !important;
}

.pp-page-banner-elementor .pp-breadcrumbs a:hover {
  color: #FFFFFF !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
}

.pp-page-banner-elementor .pp-breadcrumbs a:first-child::before {
  content: '\f015' !important;
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
  margin-right: 6px !important;
  font-size: 0.88em !important;
  color: #93C5FD !important;
}

.pp-page-banner-elementor .pp-breadcrumbs .separator {
  color: rgba(147, 197, 253, 0.65) !important;
  font-size: 0.68rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 2px !important;
}

.pp-page-banner-elementor .pp-breadcrumbs .current,
.pp-page-banner-elementor .pp-breadcrumbs span:last-child {
  color: #93C5FD !important;
  font-weight: 700 !important;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pp-products-grid-widget .pp-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pp-categories-grid-widget .pp-categories-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .pp-curriculums-elementor-widget [style*="grid-template-columns:repeat(3"],
  .pp-curriculums-elementor-widget [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pp-stats-elementor-widget [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pp-testimonials-elementor-widget [style*="grid-template-columns:repeat(3"],
  .pp-testimonials-elementor-widget [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .pp-products-grid-widget .pp-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }
  .pp-categories-grid-widget .pp-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pp-promo-banner-widget {
    flex-direction: column;
    text-align: center;
  }
  .pp-curriculums-elementor-widget [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .pp-testimonials-elementor-widget [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .pp-stats-elementor-widget [style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pp-newsletter-elementor-widget .pp-newsletter-form {
    flex-direction: column;
  }
  .pp-newsletter-elementor-widget .pp-newsletter-form input,
  .pp-newsletter-elementor-widget .pp-newsletter-form button {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .pp-products-grid-widget .pp-products-grid {
    grid-template-columns: 1fr !important;
  }
  .pp-categories-grid-widget .pp-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pp-stats-elementor-widget [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   ACADEMIC FILTER WIDGET
   ───────────────────────────────────────────────────────────── */
.pp-filter-widget select:focus {
  outline: none;
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: #FFFFFF !important;
}

.pp-filter-widget .pp-filter-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;
  background-color: #1D4ED8 !important;
}

/* Category Filter Tabs - transparent container without background */
.pp-tabs,
.pp-product-category-tabs {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 32px !important;
}

/* ─────────────────────────────────────────────────────────────
   MODERN FEATURES / GUARANTEES GRID WIDGET
   ───────────────────────────────────────────────────────────── */
.pp-features-widget {
  width: 100%;
}

.pp-features-widget [style*="grid-template-columns"],
.pp-features-grid-wrapper {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}

.pp-features-widget .pp-feature-card,
.pp-feature-card-modern {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 16px !important;
  padding: 22px 18px !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  height: 100% !important;
  box-sizing: border-box !important;
  gap: 0 !important;
}

.pp-features-widget .pp-feature-card::before,
.pp-feature-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #0EA5E9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pp-features-widget .pp-feature-card:hover,
.pp-feature-card-modern:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 35px -8px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.25) !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
}

.pp-features-widget .pp-feature-card:hover::before,
.pp-feature-card-modern:hover::before {
  opacity: 1;
}

.pp-features-widget .pp-feature-card > div:first-child,
.pp-feature-card-modern .pp-feature-icon-box {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  margin-bottom: 14px !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease !important;
}

.pp-features-widget .pp-feature-card:hover > div:first-child,
.pp-feature-card-modern:hover .pp-feature-icon-box {
  transform: scale(1.1) rotate(-4deg);
}

.pp-features-widget .pp-feature-card h3,
.pp-feature-card-modern h3 {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.2px !important;
  width: 100% !important;
}

.pp-features-widget .pp-feature-card p,
.pp-feature-card-modern p {
  font-size: 0.85rem !important;
  color: #64748B !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  width: 100% !important;
}

@media (max-width: 1024px) {
  .pp-features-widget [style*="grid-template-columns"],
  .pp-features-grid-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .pp-features-widget .pp-feature-card,
  .pp-feature-card-modern {
    padding: 28px 22px !important;
  }
}

@media (max-width: 640px) {
  .pp-features-widget [style*="grid-template-columns"],
  .pp-features-grid-wrapper {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .pp-features-widget .pp-feature-card,
  .pp-feature-card-modern {
    padding: 24px 20px !important;
  }
}/* ─────────────────────────────────────────────────────────────
   MINI CART DROPDOWN
   ───────────────────────────────────────────────────────────── */
.pp-mini-cart {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 24px);
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.9);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.pp-mini-cart.open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.pp-mini-cart-header {
  padding: 16px 20px;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pp-mini-cart-header h4 {
  font-weight: 800;
  font-size: 1.05rem;
  color: #0F172A;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pp-mini-cart-close {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: 1px solid #E2E8F0 !important;
  background: #F1F5F9 !important;
  color: #64748B !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
}

.pp-mini-cart-close:hover {
  background: #FEE2E2 !important;
  border-color: #FECACA !important;
  color: #EF4444 !important;
  transform: rotate(90deg) !important;
}

.pp-mini-cart-empty {
  text-align: center;
  padding: 40px 24px 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pp-mini-cart-empty-icon {
  width: 68px !important;
  height: 68px !important;
  border-radius: 50% !important;
  background: rgba(37, 99, 235, 0.08) !important;
  border: 1px solid rgba(37, 99, 235, 0.16) !important;
  color: #2563EB !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 26px !important;
  margin-bottom: 16px !important;
  transition: transform 0.3s ease !important;
}

.pp-mini-cart-empty:hover .pp-mini-cart-empty-icon {
  transform: scale(1.08) rotate(-5deg) !important;
}

.pp-mini-cart-empty h5 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
}

.pp-mini-cart-empty p {
  font-size: 0.885rem !important;
  color: #64748B !important;
  line-height: 1.6 !important;
  margin: 0 0 20px 0 !important;
  max-width: 280px !important;
}

.pp-mini-cart-items {
  max-height: 300px;
  overflow-y: auto;
  padding: 12px 18px;
}

.pp-mini-cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}

.pp-mini-cart-item:last-child {
  border-bottom: none;
}

.pp-mini-cart-thumb img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
  display: block;
}

.pp-mini-cart-item-info {
  flex: 1;
  min-width: 0;
}

.pp-mini-cart-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.pp-mini-cart-item-name:hover {
  color: #2563EB;
}

.pp-mini-cart-item-meta {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pp-mini-cart-item-qty {
  color: #64748B;
  font-weight: 600;
}

.pp-mini-cart-item-price {
  color: #2563EB;
  font-weight: 800;
}

.pp-mini-cart-footer {
  padding: 18px 20px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}

.pp-mini-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pp-mini-cart-total-label {
  color: #64748B;
  font-size: 0.95rem;
  font-weight: 600;
}

.pp-mini-cart-total-amount {
  color: #0F172A;
  font-size: 1.15rem;
  font-weight: 800;
}

.pp-mini-cart-btns {
  display: flex;
  gap: 10px;
}

@media (max-width: 640px) {
  .pp-mini-cart {
    position: fixed !important;
    top: 68px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    border-radius: 18px !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.95) !important;
  }
}

@media (max-width: 768px) {
  .elementor-section.elementor-section-boxed > .elementor-container,
  .e-con.e-con-boxed,
  .e-con--boxed > .e-con-inner,
  .pp-elementor-content .pp-container,
  .pp-elementor-page-content .pp-container,
  .pp-elementor-fullwidth .pp-container,
  .elementor-widget .pp-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .elementor-section.elementor-section-boxed > .elementor-container,
  .e-con.e-con-boxed,
  .e-con--boxed > .e-con-inner,
  .pp-elementor-content .pp-container,
  .pp-elementor-page-content .pp-container,
  .pp-elementor-fullwidth .pp-container,
  .elementor-widget .pp-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   FAQ WIDGET RESPONSIVE 2-COLUMN GRID
   ───────────────────────────────────────────────────────────── */
.pp-faq-widget-section {
  padding: 64px 0 !important;
  background: var(--pp-bg-subtle, #F8FAFC);
  width: 100%;
}

.pp-faq-two-col-grid {
  display: grid !important;
  grid-template-columns: minmax(300px, 1fr) minmax(380px, 1.45fr) !important;
  gap: clamp(2rem, 4vw, 3.75rem) !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.pp-faq-col-info {
  position: sticky !important;
  top: calc(var(--pp-header-height, 70px) + 2rem) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.pp-faq-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: rgba(37, 99, 235, 0.08) !important;
  color: var(--pp-primary, #2563EB) !important;
  border: 1px solid rgba(37, 99, 235, 0.18) !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 14px !important;
}

.pp-faq-heading {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem) !important;
  font-weight: 800 !important;
  color: var(--pp-dark, #0F172A) !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.025em !important;
}

.pp-faq-desc {
  color: var(--pp-text-muted, #64748B) !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  margin: 0 0 24px 0 !important;
}

.pp-faq-btn-wrap {
  margin-bottom: 24px !important;
}

.pp-faq-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: var(--pp-primary, #2563EB) !important;
  color: #FFFFFF !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28) !important;
  transition: all 0.2s ease !important;
}

.pp-faq-btn:hover {
  background: #1D4ED8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.38) !important;
  color: #FFFFFF !important;
}

.pp-faq-trust-card {
  padding: 18px 20px !important;
  background: #FFFFFF !important;
  border: 1px solid var(--pp-border, #E2E8F0) !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

.pp-faq-trust-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.pp-faq-trust-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: #EFF6FF !important;
  color: var(--pp-primary, #2563EB) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  flex-shrink: 0 !important;
}

.pp-faq-trust-content {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.35 !important;
}

.pp-faq-trust-title {
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  color: var(--pp-dark, #0F172A) !important;
}

.pp-faq-trust-desc {
  font-size: 0.8rem !important;
  color: var(--pp-text-muted, #64748B) !important;
}

.pp-faq-col-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
}

details.pp-faq-accordion-item {
  background: #FFFFFF !important;
  border: 1px solid var(--pp-border, #E2E8F0) !important;
  border-radius: 16px !important;
  padding: 18px 22px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

details.pp-faq-accordion-item:hover {
  border-color: #CBD5E1 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-2px) !important;
}

details.pp-faq-accordion-item[open] {
  border-color: var(--pp-primary, #2563EB) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.09) !important;
}

summary.pp-faq-accordion-summary {
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  color: var(--pp-dark, #0F172A) !important;
  outline: none !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  list-style: none !important;
  cursor: pointer !important;
  user-select: none !important;
}

summary.pp-faq-accordion-summary::-webkit-details-marker {
  display: none !important;
}

summary.pp-faq-accordion-summary::marker {
  display: none !important;
  content: "" !important;
}

.pp-faq-q-text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  color: var(--pp-dark, #0F172A) !important;
  line-height: 1.45 !important;
}

details.pp-faq-accordion-item[open] .pp-faq-q-text {
  color: var(--pp-primary, #2563EB) !important;
}

.pp-faq-icon-pill {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #F1F5F9 !important;
  color: #64748B !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.82rem !important;
  flex-shrink: 0 !important;
  transition: all 0.25s ease !important;
}

details.pp-faq-accordion-item[open] .pp-faq-icon-pill {
  background: #EFF6FF !important;
  color: var(--pp-primary, #2563EB) !important;
  transform: rotate(180deg) !important;
}

.pp-faq-accordion-answer {
  margin: 14px 0 0 0 !important;
  color: var(--pp-text-muted, #64748B) !important;
  line-height: 1.7 !important;
  font-size: 0.95rem !important;
  border-top: 1px solid #F1F5F9 !important;
  padding-top: 14px !important;
}

.pp-faq-accordion-answer p {
  margin: 0 !important;
  color: var(--pp-text-muted, #64748B) !important;
  line-height: 1.7 !important;
}

@media (max-width: 991px) {
  .pp-faq-two-col-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .pp-faq-col-info {
    position: static !important;
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .pp-faq-heading {
    font-size: clamp(1.5rem, 5vw, 1.95rem) !important;
    margin-bottom: 10px !important;
  }
  .pp-faq-desc {
    font-size: 0.95rem !important;
    margin-bottom: 18px !important;
  }
  .pp-faq-accordion-item {
    padding: 14px 16px !important;
    border-radius: 12px !important;
  }
  .pp-faq-accordion-summary {
    font-size: 0.935rem !important;
  }
  .pp-faq-accordion-answer {
    font-size: 0.875rem !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   NEWSLETTER WIDGET RESPONSIVE STYLES
   ───────────────────────────────────────────────────────────── */
.pp-newsletter-elementor-widget {
  padding: 40px 0;
  width: 100%;
}

.pp-newsletter-card-box {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #2563EB 100%);
  border-radius: 24px;
  padding: 56px 36px;
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.pp-newsletter-card-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.pp-newsletter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #93C5FD;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pp-newsletter-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 14px 0;
  line-height: 1.25;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.pp-newsletter-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 32px 0;
}

.pp-newsletter-card-box .pp-newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
}

.pp-newsletter-input {
  flex: 1;
  min-width: 240px;
  height: 50px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
  color: #0F172A;
  font-size: 0.95rem;
  outline: none;
  box-sizing: border-box;
}

.pp-newsletter-btn {
  height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  background: #F59E0B;
  color: #0F172A;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
}

.pp-newsletter-btn:hover {
  background: #D97706;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.pp-newsletter-disclaimer {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin: 18px 0 0 0;
}

@media (max-width: 768px) {
  .pp-newsletter-elementor-widget {
    padding: 20px 0 !important;
  }
  .pp-newsletter-card-box {
    padding: 32px 18px !important;
    border-radius: 18px !important;
  }
  .pp-newsletter-title {
    font-size: clamp(1.4rem, 5vw, 1.85rem) !important;
    margin-bottom: 10px !important;
  }
  .pp-newsletter-desc {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 22px !important;
  }
  .pp-newsletter-card-box .pp-newsletter-form {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .pp-newsletter-input {
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
  }
  .pp-newsletter-btn {
    width: 100% !important;
    height: 48px !important;
    justify-content: center !important;
  }
}

/* Footer High-Contrast Logo */
#pp-footer .pp-logo-name,
.pp-footer-brand .pp-logo-name,
.pp-logo-footer .pp-logo-name {
  color: #FFFFFF !important;
}

#pp-footer .pp-logo-tagline,
.pp-footer-brand .pp-logo-tagline,
.pp-logo-footer .pp-logo-tagline {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* Hero Quick Search Bar */
.pp-hero-search {
  max-width: 580px;
  width: 100%;
  box-sizing: border-box;
}

.pp-hero-search-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  background: #FFFFFF !important;
  border-radius: 14px !important;
  padding: 0.375rem 0.5rem 0.375rem 1.125rem !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.pp-search-input-inner {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  width: 100% !important;
}

.pp-search-input-inner i {
  color: #64748B !important;
  font-size: 1rem !important;
  flex-shrink: 0 !important;
}

.pp-hero-search-row input,
.pp-search-input-inner input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0.625rem 0 !important;
  font-size: 0.9375rem !important;
  color: #0F172A !important;
  box-shadow: none !important;
}

.pp-hero-search-row input::placeholder,
.pp-search-input-inner input::placeholder {
  color: #94A3B8 !important;
  font-size: 0.875rem !important;
}

.pp-hero-search-row .pp-btn,
.pp-hero-search-row .pp-btn-search {
  border-radius: 10px !important;
  padding: 0.625rem 1.35rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  background: #2563EB !important;
  color: #FFFFFF !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25) !important;
  transition: all 0.2s ease !important;
}

.pp-hero-search-row .pp-btn:hover,
.pp-hero-search-row .pp-btn-search:hover {
  background: #1D4ED8 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
}

@media (max-width: 640px) {
  .pp-hero-search-row {
    flex-direction: column !important;
    padding: 0.5rem !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  .pp-search-input-inner {
    padding: 0.25rem 0.5rem !important;
    width: 100% !important;
  }
  .pp-hero-search-row input {
    padding: 0.5rem 0.25rem !important;
    font-size: 0.9rem !important;
  }
  .pp-hero-search-row .pp-btn,
  .pp-hero-search-row .pp-btn-search {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
  }
}

/* ============================================================
   WISHLIST PAGE COMPATIBILITY
   ============================================================ */
.pp-wishlist-page-section {
  padding: clamp(2rem, 4vw, 3.5rem) 0 !important;
  background: var(--pp-bg-subtle, #F8FAFC) !important;
  min-height: 50vh !important;
}

.pp-wishlist-card-wrap,
article.pp-wishlist-card-wrap {
  background: #FFFFFF !important;
  border: 1px solid var(--pp-border, #E2E8F0) !important;
  border-radius: var(--pp-radius-2xl, 20px) !important;
  box-shadow: 0 4px 24px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03) !important;
  padding: clamp(1.5rem, 3vw, 2.5rem) !important;
  width: 100% !important;
  max-width: 1280px !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

/* YITH / Generic Wishlist Header */
.wishlist-title-container,
.yith-wcwl-form .wishlist-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 1.25rem !important;
  margin-bottom: 1.75rem !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

.wishlist-title h2,
.yith-wcwl-form .wishlist-title h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem) !important;
  font-weight: 800 !important;
  color: var(--pp-dark, #0F172A) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.wishlist-title h2::before,
.yith-wcwl-form .wishlist-title h2::before {
  content: '\f004' !important;
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
  color: #EF4444 !important;
  font-size: 1.2rem !important;
}

.wishlist-title-container a.show-title-form {
  display: none !important;
}

/* Wishlist Table */
table.wishlist_table,
.woocommerce table.wishlist_table,
.yith-wcwl-form table.shop_table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid var(--pp-border, #E2E8F0) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin: 0 0 1.5rem 0 !important;
  background: #FFFFFF !important;
}

table.wishlist_table thead tr,
.yith-wcwl-form table.shop_table thead tr {
  background: #F8FAFC !important;
}

table.wishlist_table thead th,
.yith-wcwl-form table.shop_table thead th {
  padding: 14px 18px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #64748B !important;
  border-bottom: 1px solid #E2E8F0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  vertical-align: middle !important;
}

table.wishlist_table tbody td,
.yith-wcwl-form table.shop_table tbody td {
  padding: 16px 18px !important;
  vertical-align: middle !important;
  border-bottom: 1px solid #F1F5F9 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  font-size: 0.95rem !important;
}

table.wishlist_table tbody tr:last-child td,
.yith-wcwl-form table.shop_table tbody tr:last-child td {
  border-bottom: none !important;
}

table.wishlist_table tbody tr:hover td {
  background: #F8FAFC !important;
}

table.wishlist_table td.product-thumbnail {
  width: 80px !important;
}

table.wishlist_table td.product-thumbnail img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  display: block !important;
}

table.wishlist_table td.product-name a {
  font-weight: 700 !important;
  font-size: 0.98rem !important;
  color: #0F172A !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  display: inline-block !important;
  transition: color 0.2s ease !important;
}

table.wishlist_table td.product-name a:hover {
  color: #2563EB !important;
}

table.wishlist_table td.product-price,
table.wishlist_table td.product-price .amount {
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  color: #2563EB !important;
}

table.wishlist_table td.product-stock-status span.wishlist-in-stock,
table.wishlist_table td.product-stock-status .stock.in-stock {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  background: #DCFCE7 !important;
  color: #166534 !important;
  border: 1px solid #BBF7D0 !important;
  white-space: nowrap !important;
}

table.wishlist_table td.product-stock-status span.wishlist-out-of-stock,
table.wishlist_table td.product-stock-status .stock.out-of-stock {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  background: #FEE2E2 !important;
  color: #991B1B !important;
  border: 1px solid #FECACA !important;
  white-space: nowrap !important;
}

table.wishlist_table td.product-add-to-cart a,
table.wishlist_table td.product-add-to-cart button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #2563EB !important;
  color: #FFFFFF !important;
  padding: 9px 18px !important;
  border-radius: 10px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

table.wishlist_table td.product-add-to-cart a:hover,
table.wishlist_table td.product-add-to-cart button:hover {
  background: #1D4ED8 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  color: #FFFFFF !important;
}

table.wishlist_table td.product-remove a {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #F1F5F9 !important;
  color: #94A3B8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
  border: none !important;
}

table.wishlist_table td.product-remove a:hover {
  background: #FEE2E2 !important;
  color: #EF4444 !important;
  transform: scale(1.1) !important;
}

table.wishlist_table tbody td.wishlist-empty {
  text-align: center !important;
  padding: 56px 24px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #64748B !important;
  background: #FFFFFF !important;
}

.pp-wishlist-empty-box {
  text-align: center;
  padding: 32px 20px;
}

.pp-wishlist-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #EFF6FF;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin: 0 auto 18px auto;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.pp-wishlist-empty-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.pp-wishlist-empty-text {
  font-size: 0.95rem;
  color: #64748B;
  max-width: 520px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

.pp-wishlist-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563EB;
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  transition: all 0.2s ease;
}

.pp-wishlist-empty-btn:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.38);
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .pp-wishlist-card-wrap {
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }
  
  table.wishlist_table {
    border: none !important;
  }
  
  table.wishlist_table thead {
    display: none !important;
  }
  
  table.wishlist_table,
  table.wishlist_table tbody,
  table.wishlist_table tr,
  table.wishlist_table td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  table.wishlist_table tbody tr {
    margin-bottom: 16px !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 14px !important;
    position: relative !important;
    background: #FFFFFF !important;
  }
  
  table.wishlist_table td {
    padding: 6px 0 !important;
    border: none !important;
    text-align: left !important;
  }
  
  table.wishlist_table td.product-remove {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: auto !important;
  }
  
  table.wishlist_table td.product-thumbnail img {
    margin-bottom: 8px !important;
  }
  
  table.wishlist_table td.product-add-to-cart a,
  table.wishlist_table td.product-add-to-cart button {
    width: 100% !important;
    margin-top: 8px !important;
  }
}

/* Remove top bar, admin bar, and any gap above header */
#wpadminbar,
.pp-topbar,
.pp-top-bar,
.topbar,
.top-bar,
.site-top-bar,
.header-top,
.woocommerce-store-notice,
p.demo_store {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

html,
html.admin-bar,
html body,
body,
body.admin-bar {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#pp-header,
.admin-bar #pp-header {
  top: 0 !important;
}

